@swisspost/design-system-components 8.1.0 → 8.2.0

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 (221) hide show
  1. package/dist/cjs/{index-a1440961.js → index-01f30442.js} +13 -0
  2. package/dist/cjs/{index-baad16da.js → index-c15bd800.js} +43 -5
  3. package/dist/cjs/index.cjs.js +19 -17
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{package-fd539ea9.js → package-f9a656fd.js} +1 -1
  6. package/dist/cjs/{post-accordion-bebb0498.js → post-accordion-30216884.js} +2 -2
  7. package/dist/cjs/{post-accordion-item-b15bcbb9.js → post-accordion-item-4eba14e6.js} +3 -3
  8. package/dist/cjs/post-accordion-item.cjs.entry.js +4 -4
  9. package/dist/cjs/post-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/{post-alert-4a1ab7e3.js → post-alert-e305480e.js} +3 -3
  11. package/dist/cjs/post-alert.cjs.entry.js +4 -4
  12. package/dist/cjs/post-card-control-e63582f3.js +272 -0
  13. package/dist/cjs/post-card-control.cjs.entry.js +3 -3
  14. package/dist/cjs/{post-collapsible-trigger-b82b368e.js → post-collapsible-trigger-5d8b9047.js} +3 -3
  15. package/dist/cjs/post-collapsible_2.cjs.entry.js +4 -4
  16. package/dist/cjs/post-components.cjs.js +2 -2
  17. package/dist/cjs/{post-icon-36f7a65e.js → post-icon-8ab009d4.js} +3 -3
  18. package/dist/cjs/post-icon.cjs.entry.js +4 -4
  19. package/dist/cjs/post-logo-9f4c551c.js +39 -0
  20. package/dist/cjs/post-logo.cjs.entry.js +14 -0
  21. package/dist/cjs/{post-popover-eb936464.js → post-popover-3f14dab4.js} +3 -3
  22. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  23. package/dist/cjs/{post-popovercontainer-ba97a4b4.js → post-popovercontainer-5f1717be.js} +4 -4
  24. package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
  25. package/dist/cjs/{post-rating-1df2edf5.js → post-rating-b6ebb2d7.js} +3 -3
  26. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  27. package/dist/cjs/{post-tab-header-52ce1af4.js → post-tab-header-ebd691dd.js} +3 -3
  28. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  29. package/dist/cjs/{post-tab-panel-e94c9c58.js → post-tab-panel-a15af8bb.js} +3 -3
  30. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  31. package/dist/cjs/{post-tabs-af38f271.js → post-tabs-d3233bc8.js} +28 -7
  32. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  33. package/dist/cjs/{post-tag-1dcddcae.js → post-tag-534251e7.js} +4 -4
  34. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  35. package/dist/cjs/{post-tooltip-1e8d5f4e.js → post-tooltip-a8399659.js} +4 -4
  36. package/dist/cjs/post-tooltip.cjs.entry.js +4 -4
  37. package/dist/collection/collection-manifest.json +1 -0
  38. package/dist/collection/components/post-card-control/post-card-control.css +1 -1
  39. package/dist/collection/components/post-card-control/post-card-control.js +23 -25
  40. package/dist/collection/components/post-logo/post-logo.css +1 -0
  41. package/dist/collection/components/post-logo/post-logo.js +73 -0
  42. package/dist/collection/components/post-popover/post-popover.js +1 -1
  43. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
  44. package/dist/collection/components/post-rating/post-rating.js +1 -1
  45. package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
  46. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  47. package/dist/collection/components/post-tabs/post-tabs.js +6 -5
  48. package/dist/collection/components/post-tag/post-tag.css +1 -1
  49. package/dist/collection/components/post-tag/post-tag.js +1 -1
  50. package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
  51. package/dist/collection/index.js +1 -0
  52. package/dist/collection/utils/component-on-ready.js +20 -0
  53. package/dist/collection/utils/index.js +1 -0
  54. package/dist/collection/utils/property-checkers/check-url.js +10 -0
  55. package/dist/collection/utils/property-checkers/index.js +3 -0
  56. package/dist/components/index.js +1 -0
  57. package/dist/components/index2.js +13 -1
  58. package/dist/components/package.js +1 -1
  59. package/dist/components/post-card-control2.js +21 -64
  60. package/dist/components/post-logo.d.ts +11 -0
  61. package/dist/components/post-logo.js +6 -0
  62. package/dist/components/post-logo2.js +56 -0
  63. package/dist/components/post-popover2.js +1 -1
  64. package/dist/components/post-popovercontainer2.js +2 -2
  65. package/dist/components/post-rating2.js +1 -1
  66. package/dist/components/post-tab-header2.js +1 -1
  67. package/dist/components/post-tab-panel2.js +1 -1
  68. package/dist/components/post-tabs2.js +26 -5
  69. package/dist/components/post-tag2.js +2 -2
  70. package/dist/components/post-tooltip2.js +1 -1
  71. package/dist/docs.json +64 -5
  72. package/dist/esm/{index-189d3985.js → index-0b56fc28.js} +43 -5
  73. package/dist/esm/{index-d1eba94c.js → index-f41b763f.js} +13 -1
  74. package/dist/esm/index.js +18 -17
  75. package/dist/esm/loader.js +3 -3
  76. package/dist/esm/{package-8c58ace7.js → package-f02beabb.js} +1 -1
  77. package/dist/esm/{post-accordion-6b2f2b73.js → post-accordion-f850422a.js} +2 -2
  78. package/dist/esm/{post-accordion-item-c8614cda.js → post-accordion-item-c2eaeaa7.js} +3 -3
  79. package/dist/esm/post-accordion-item.entry.js +4 -4
  80. package/dist/esm/post-accordion.entry.js +3 -3
  81. package/dist/esm/{post-alert-de5e60d3.js → post-alert-f17886df.js} +3 -3
  82. package/dist/esm/post-alert.entry.js +4 -4
  83. package/dist/esm/post-card-control-25bbcb80.js +270 -0
  84. package/dist/esm/post-card-control.entry.js +3 -3
  85. package/dist/esm/{post-collapsible-trigger-221d58c1.js → post-collapsible-trigger-49da97d7.js} +3 -3
  86. package/dist/esm/post-collapsible_2.entry.js +4 -4
  87. package/dist/esm/post-components.js +3 -3
  88. package/dist/esm/{post-icon-0f2f4f9b.js → post-icon-168d95b5.js} +3 -3
  89. package/dist/esm/post-icon.entry.js +4 -4
  90. package/dist/esm/post-logo-47744c24.js +37 -0
  91. package/dist/esm/post-logo.entry.js +6 -0
  92. package/dist/esm/{post-popover-2e6ada87.js → post-popover-594e9965.js} +3 -3
  93. package/dist/esm/post-popover.entry.js +3 -3
  94. package/dist/esm/{post-popovercontainer-0c396235.js → post-popovercontainer-89cee0fe.js} +4 -4
  95. package/dist/esm/post-popovercontainer.entry.js +3 -3
  96. package/dist/esm/{post-rating-fcf19507.js → post-rating-b87dfbdc.js} +3 -3
  97. package/dist/esm/post-rating.entry.js +3 -3
  98. package/dist/esm/{post-tab-header-75337bbc.js → post-tab-header-2c59fd6e.js} +3 -3
  99. package/dist/esm/post-tab-header.entry.js +3 -3
  100. package/dist/esm/{post-tab-panel-1ca4f5c9.js → post-tab-panel-40bf9d2d.js} +3 -3
  101. package/dist/esm/post-tab-panel.entry.js +3 -3
  102. package/dist/esm/{post-tabs-77ac9eee.js → post-tabs-264e5871.js} +28 -7
  103. package/dist/esm/post-tabs.entry.js +3 -3
  104. package/dist/esm/{post-tag-9741c642.js → post-tag-a7c63782.js} +4 -4
  105. package/dist/esm/post-tag.entry.js +3 -3
  106. package/dist/esm/{post-tooltip-c69b7162.js → post-tooltip-5d2d9e1f.js} +4 -4
  107. package/dist/esm/post-tooltip.entry.js +4 -4
  108. package/dist/post-components/index.esm.js +1 -1
  109. package/dist/post-components/p-04cb82f1.entry.js +1 -0
  110. package/dist/post-components/{p-ed2b2d33.js → p-057d7d3a.js} +1 -1
  111. package/dist/post-components/{p-38abadc5.js → p-0cca56a8.js} +2 -2
  112. package/dist/post-components/p-12f3ce0c.entry.js +1 -0
  113. package/dist/post-components/p-176b59a8.entry.js +1 -0
  114. package/dist/post-components/p-1800787b.js +1 -0
  115. package/dist/post-components/{p-d2753c4a.js → p-300eb394.js} +1 -1
  116. package/dist/post-components/{p-88fc0fa3.js → p-517f2648.js} +1 -1
  117. package/dist/post-components/p-53eb6ca5.entry.js +1 -0
  118. package/dist/post-components/p-5607b941.js +1 -0
  119. package/dist/post-components/p-5b918e0f.entry.js +1 -0
  120. package/dist/post-components/p-6069d96e.entry.js +1 -0
  121. package/dist/post-components/p-6b8378bf.js +1 -0
  122. package/dist/post-components/p-71b8ba91.entry.js +1 -0
  123. package/dist/post-components/p-78806458.entry.js +1 -0
  124. package/dist/post-components/p-851ef572.entry.js +1 -0
  125. package/dist/post-components/{p-2c424cd4.js → p-8b28c907.js} +1 -1
  126. package/dist/post-components/{p-e4acf838.js → p-90eec417.js} +1 -1
  127. package/dist/post-components/p-9f2fc85c.js +1 -0
  128. package/dist/post-components/{p-1e374a42.js → p-ac5a88be.js} +1 -1
  129. package/dist/post-components/{p-8a781b6e.js → p-aca6ea02.js} +1 -1
  130. package/dist/post-components/p-b08e169f.entry.js +1 -0
  131. package/dist/post-components/p-b6b61f13.js +1 -0
  132. package/dist/post-components/{p-32713474.js → p-b8c5020d.js} +1 -1
  133. package/dist/post-components/p-be553212.entry.js +1 -0
  134. package/dist/post-components/p-bf357eb3.entry.js +1 -0
  135. package/dist/post-components/{p-d36a5db5.js → p-c76880ff.js} +1 -1
  136. package/dist/post-components/p-d2f9de94.js +2 -0
  137. package/dist/post-components/p-d4163064.js +1 -0
  138. package/dist/post-components/p-ddab4c09.entry.js +1 -0
  139. package/dist/post-components/p-deb4131c.js +1 -0
  140. package/dist/post-components/p-e597a879.entry.js +1 -0
  141. package/dist/post-components/p-eafc65f6.entry.js +1 -0
  142. package/dist/post-components/post-components.esm.js +1 -1
  143. package/dist/types/components/post-card-control/post-card-control.d.ts +5 -7
  144. package/dist/types/components/post-logo/post-logo.d.ts +14 -0
  145. package/dist/types/components.d.ts +29 -8
  146. package/dist/types/index.d.ts +1 -0
  147. package/dist/types/utils/component-on-ready.d.ts +6 -0
  148. package/dist/types/utils/index.d.ts +1 -0
  149. package/dist/types/utils/property-checkers/check-url.d.ts +1 -0
  150. package/dist/types/utils/property-checkers/index.d.ts +2 -0
  151. package/loaders/attribute-observer.js +25 -0
  152. package/loaders/check-non-empty.js +9 -0
  153. package/loaders/check-one-of.js +6 -0
  154. package/loaders/check-type.js +14 -0
  155. package/loaders/constants.js +3 -0
  156. package/loaders/fade.js +7 -0
  157. package/loaders/heading-levels.js +3 -0
  158. package/loaders/index.d.ts +68 -0
  159. package/loaders/index.js +18 -0
  160. package/loaders/index2.js +34 -0
  161. package/loaders/package.js +3 -0
  162. package/loaders/post-accordion-item.d.ts +11 -0
  163. package/loaders/post-accordion-item.js +86 -0
  164. package/loaders/post-accordion.d.ts +11 -0
  165. package/loaders/post-accordion.js +128 -0
  166. package/loaders/post-alert.d.ts +11 -0
  167. package/loaders/post-alert.js +139 -0
  168. package/loaders/post-card-control.d.ts +11 -0
  169. package/loaders/post-card-control.js +306 -0
  170. package/loaders/post-collapsible-trigger.d.ts +11 -0
  171. package/loaders/post-collapsible-trigger.js +6 -0
  172. package/loaders/post-collapsible-trigger2.js +144 -0
  173. package/loaders/post-collapsible.d.ts +11 -0
  174. package/loaders/post-collapsible.js +6 -0
  175. package/loaders/post-collapsible2.js +103 -0
  176. package/loaders/post-icon.d.ts +11 -0
  177. package/loaders/post-icon.js +6 -0
  178. package/loaders/post-icon2.js +136 -0
  179. package/loaders/post-logo.d.ts +11 -0
  180. package/loaders/post-logo.js +59 -0
  181. package/loaders/post-popover.d.ts +11 -0
  182. package/loaders/post-popover.js +133 -0
  183. package/loaders/post-popovercontainer.d.ts +11 -0
  184. package/loaders/post-popovercontainer.js +6 -0
  185. package/loaders/post-popovercontainer2.js +2204 -0
  186. package/loaders/post-rating.d.ts +11 -0
  187. package/loaders/post-rating.js +116 -0
  188. package/loaders/post-tab-header.d.ts +11 -0
  189. package/loaders/post-tab-header.js +53 -0
  190. package/loaders/post-tab-panel.d.ts +11 -0
  191. package/loaders/post-tab-panel.js +45 -0
  192. package/loaders/post-tabs.d.ts +11 -0
  193. package/loaders/post-tabs.js +192 -0
  194. package/loaders/post-tag.d.ts +11 -0
  195. package/loaders/post-tag.js +77 -0
  196. package/loaders/post-tooltip.d.ts +11 -0
  197. package/loaders/post-tooltip.js +5000 -0
  198. package/package.json +12 -11
  199. package/dist/cjs/post-card-control-c363c793.js +0 -315
  200. package/dist/esm/post-card-control-38a302fe.js +0 -313
  201. package/dist/post-components/p-02d1f275.js +0 -1
  202. package/dist/post-components/p-28e17fd1.entry.js +0 -1
  203. package/dist/post-components/p-6dd5d5ba.entry.js +0 -1
  204. package/dist/post-components/p-726fec57.js +0 -1
  205. package/dist/post-components/p-7301b124.entry.js +0 -1
  206. package/dist/post-components/p-7bdec425.js +0 -1
  207. package/dist/post-components/p-7fc15b07.entry.js +0 -1
  208. package/dist/post-components/p-80f33a98.js +0 -1
  209. package/dist/post-components/p-8126cca3.entry.js +0 -1
  210. package/dist/post-components/p-8b86cde6.entry.js +0 -1
  211. package/dist/post-components/p-95b7403d.entry.js +0 -1
  212. package/dist/post-components/p-a0187d40.entry.js +0 -1
  213. package/dist/post-components/p-a5c8a3de.js +0 -1
  214. package/dist/post-components/p-a931e3c6.entry.js +0 -1
  215. package/dist/post-components/p-b5f7d9e5.entry.js +0 -1
  216. package/dist/post-components/p-b9176139.entry.js +0 -1
  217. package/dist/post-components/p-c0f265c8.js +0 -2
  218. package/dist/post-components/p-c88f169d.entry.js +0 -1
  219. package/dist/post-components/p-e6bc1a0c.entry.js +0 -1
  220. package/dist/post-components/p-ea2954f3.entry.js +0 -1
  221. package/dist/post-components/p-f91c0e1b.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-baad16da.js');
4
- const _package = require('./package-fd539ea9.js');
3
+ const index = require('./index-c15bd800.js');
4
+ const _package = require('./package-f9a656fd.js');
5
5
 
6
6
  /**
7
7
  * Custom positioning reference element.
@@ -2175,9 +2175,9 @@ const PostPopovercontainer = class {
2175
2175
  }
2176
2176
  }
2177
2177
  render() {
2178
- return (index.h(index.Host, { key: 'd157ffbb6acb382add7b003f7865eb7c7d77a2b5', "data-version": _package.version }, this.arrow && (index.h("span", { key: 'cc47843bc00d401c0679474e41661b6b1dcbae01', class: "arrow", ref: el => {
2178
+ return (index.h(index.Host, { key: 'daf21d119057a14c2c2f68b8068901ab698beae3', "data-version": _package.version }, this.arrow && (index.h("span", { key: '4f5cfb1422217f9ef71732cdfc0c97b6b29e4809', class: "arrow", ref: el => {
2179
2179
  this.arrowRef = el;
2180
- } })), index.h("slot", { key: '75eb62cf77965fa96fbb3dabcf264c2daff3e2f4' })));
2180
+ } })), index.h("slot", { key: 'f6e4beefb8e365dbf20a0a5019cceaac4ecb73a4' })));
2181
2181
  }
2182
2182
  get host() { return index.getElement(this); }
2183
2183
  };
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postPopovercontainer = require('./post-popovercontainer-ba97a4b4.js');
6
- require('./index-baad16da.js');
7
- require('./package-fd539ea9.js');
5
+ const postPopovercontainer = require('./post-popovercontainer-5f1717be.js');
6
+ require('./index-c15bd800.js');
7
+ require('./package-f9a656fd.js');
8
8
 
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-baad16da.js');
4
- const _package = require('./package-fd539ea9.js');
3
+ const index = require('./index-c15bd800.js');
4
+ const _package = require('./package-f9a656fd.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;
@@ -73,7 +73,7 @@ const PostRating = class {
73
73
  }
74
74
  }
75
75
  render() {
76
- return (index.h(index.Host, { key: 'ae0484c022555a4a5ed0343cc060b7076a1c581e', "data-version": _package.version }, index.h("div", { key: '3765eaaccec1dd709b28d8a63b54fc0ed69b4c15', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} out of ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (index.h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
76
+ return (index.h(index.Host, { key: '0a4972eeedcda4d4f772db0407ba2a6279f5d797', "data-version": _package.version }, index.h("div", { key: 'a9ab9daaa3f9e1e421f28267057b99a1a2e235ee', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} out of ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (index.h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
77
77
  'star': true,
78
78
  'before-hover': i < this.hoveredIndex,
79
79
  'active': i < Math.round(this.currentRating),
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postRating = require('./post-rating-1df2edf5.js');
6
- require('./index-baad16da.js');
7
- require('./package-fd539ea9.js');
5
+ const postRating = require('./post-rating-b6ebb2d7.js');
6
+ require('./index-c15bd800.js');
7
+ require('./package-f9a656fd.js');
8
8
 
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-baad16da.js');
4
- const _package = require('./package-fd539ea9.js');
3
+ const index = require('./index-c15bd800.js');
4
+ const _package = require('./package-f9a656fd.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}";
@@ -20,7 +20,7 @@ const PostTabHeader = class {
20
20
  this.tabId = `tab-${this.host.id || crypto.randomUUID()}`;
21
21
  }
22
22
  render() {
23
- return (index.h(index.Host, { key: 'ba101bdcdf05591293e07ab35aadb812862d8cc0', id: this.tabId, role: "tab", "data-version": _package.version, "aria-selected": "false", tabindex: "-1", class: "tab-title", slot: "tabs" }, index.h("slot", { key: '276d95c72fc7014f8002f249f2bbab591ee8754d' })));
23
+ return (index.h(index.Host, { key: '35077e5514ffd19a4fb27bc3a4c1d9d19072768b', id: this.tabId, role: "tab", "data-version": _package.version, "aria-selected": "false", tabindex: "-1", class: "tab-title", slot: "tabs" }, index.h("slot", { key: '67b09864a209c00c677e1c279240d9b4ca289faa' })));
24
24
  }
25
25
  get host() { return index.getElement(this); }
26
26
  static get watchers() { return {
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postTabHeader = require('./post-tab-header-52ce1af4.js');
6
- require('./index-baad16da.js');
7
- require('./package-fd539ea9.js');
5
+ const postTabHeader = require('./post-tab-header-ebd691dd.js');
6
+ require('./index-c15bd800.js');
7
+ require('./package-f9a656fd.js');
8
8
  require('./check-non-empty-eeaa8f77.js');
9
9
  require('./constants-238701d3.js');
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-baad16da.js');
4
- const _package = require('./package-fd539ea9.js');
3
+ const index = require('./index-c15bd800.js');
4
+ const _package = require('./package-f9a656fd.js');
5
5
 
6
6
  const postTabPanelCss = ":host{display:none}";
7
7
  const PostTabPanelStyle0 = postTabPanelCss;
@@ -17,7 +17,7 @@ const PostTabPanel = class {
17
17
  this.panelId = `panel-${this.host.id || crypto.randomUUID()}`;
18
18
  }
19
19
  render() {
20
- return (index.h(index.Host, { key: 'bd31fce17f303414e7d077fbc001b543d05e362c', "data-version": _package.version, id: this.panelId, role: "tabpanel" }, index.h("slot", { key: '746b85fa6378312abb2f1e92cb4fffceafac1fc7' })));
20
+ return (index.h(index.Host, { key: '2d01a8e7f06e45b4750e63584a3c52232dee4dd5', "data-version": _package.version, id: this.panelId, role: "tabpanel" }, index.h("slot", { key: 'b51e2f112791ac22df43ebb537208c65aebe3d03' })));
21
21
  }
22
22
  get host() { return index.getElement(this); }
23
23
  };
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postTabPanel = require('./post-tab-panel-e94c9c58.js');
6
- require('./index-baad16da.js');
7
- require('./package-fd539ea9.js');
5
+ const postTabPanel = require('./post-tab-panel-a15af8bb.js');
6
+ require('./index-c15bd800.js');
7
+ require('./package-f9a656fd.js');
8
8
 
9
9
 
10
10
 
@@ -1,9 +1,30 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-baad16da.js');
4
- const _package = require('./package-fd539ea9.js');
3
+ const index = require('./index-c15bd800.js');
4
+ const _package = require('./package-f9a656fd.js');
5
5
  const fade = require('./fade-35a3633a.js');
6
6
 
7
+ /**
8
+ * Invoke the `componentOnReady` method if it is available, simulate it otherwise
9
+ * @see https://stenciljs.com/docs/api#componentonready
10
+ */
11
+ const componentOnReady = (el) => {
12
+ if (typeof el.componentOnReady === 'function') {
13
+ return el.componentOnReady();
14
+ }
15
+ else {
16
+ return new Promise(resolve => customOnReady(() => {
17
+ resolve(el);
18
+ }));
19
+ }
20
+ };
21
+ const customOnReady = (callback) => {
22
+ if (typeof requestAnimationFrame === 'function') {
23
+ return requestAnimationFrame(callback);
24
+ }
25
+ return setTimeout(callback);
26
+ };
27
+
7
28
  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}";
8
29
  const PostTabsStyle0 = postTabsCss;
9
30
 
@@ -68,7 +89,7 @@ const PostTabs = class {
68
89
  if (!this.tabs)
69
90
  return;
70
91
  this.tabs.forEach(async (tab) => {
71
- await tab.componentOnReady();
92
+ await componentOnReady(tab);
72
93
  // if the tab has an "aria-controls" attribute it was already linked to its panel: do nothing
73
94
  if (tab.getAttribute('aria-controls'))
74
95
  return;
@@ -84,9 +105,9 @@ const PostTabs = class {
84
105
  void this.show(tab.panel);
85
106
  }
86
107
  });
87
- tab.addEventListener('keydown', ({ key }) => {
88
- if (key === 'ArrowRight' || key === 'ArrowLeft')
89
- this.navigateTabs(tab, key);
108
+ tab.addEventListener('keydown', (e) => {
109
+ if (e.key === 'ArrowRight' || e.key === 'ArrowLeft')
110
+ this.navigateTabs(tab, e.key);
90
111
  });
91
112
  });
92
113
  // if the currently active tab was removed from the DOM then select the first one
@@ -143,7 +164,7 @@ const PostTabs = class {
143
164
  nextTab.focus();
144
165
  }
145
166
  render() {
146
- return (index.h(index.Host, { key: 'd0f37718e538b9dd4b5e0eed0dde161576725e25', "data-version": _package.version }, index.h("div", { key: '1d3380b6317cad0bde525136854e93ee20e3bfbf', class: "tabs-wrapper", part: "tabs" }, index.h("div", { key: 'bc5cf13c94629e2938eb4ea85deb5ebd6c2b2dac', class: "tabs", role: "tablist" }, index.h("slot", { key: '4fde604e204df192946080b652d60c27d7ff6cee', name: "tabs", onSlotchange: () => this.enableTabs() }))), index.h("div", { key: '755b7153a2a8c683abf15d33a0d9180e8aa29db0', class: "tab-content", part: "content" }, index.h("slot", { key: '23263344474597c54a7d8cc355d22919cb8685f1', onSlotchange: () => this.moveMisplacedTabs() }))));
167
+ return (index.h(index.Host, { key: '6a3e84a92b03d462dbff1b8fc638f7ebf8ea9d23', "data-version": _package.version }, index.h("div", { key: 'e73b58f1524e70401089830b1b9b47a2c85b828a', class: "tabs-wrapper", part: "tabs" }, index.h("div", { key: '9da5ce2d30d37c74dee92f2e871e56e96d07d429', class: "tabs", role: "tablist" }, index.h("slot", { key: '944e209f2f23b9a3469bc6b5167a0939da4c9631', name: "tabs", onSlotchange: () => this.enableTabs() }))), index.h("div", { key: '93caabfd1a0be19df3e8be64f0965de488159526', class: "tab-content", part: "content" }, index.h("slot", { key: '92465fa749afad52130631cb3957fefeb40b8e9a', onSlotchange: () => this.moveMisplacedTabs() }))));
147
168
  }
148
169
  get host() { return index.getElement(this); }
149
170
  };
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postTabs = require('./post-tabs-af38f271.js');
6
- require('./index-baad16da.js');
7
- require('./package-fd539ea9.js');
5
+ const postTabs = require('./post-tabs-d3233bc8.js');
6
+ require('./index-c15bd800.js');
7
+ require('./package-f9a656fd.js');
8
8
  require('./fade-35a3633a.js');
9
9
 
10
10
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-baad16da.js');
4
- const _package = require('./package-fd539ea9.js');
3
+ const index = require('./index-c15bd800.js');
4
+ const _package = require('./package-f9a656fd.js');
5
5
 
6
- const postTagCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;max-width:18.5rem;background-color:var(--post-tag-bg);border:1px solid rgba(0,0,0,0);border-radius:.25rem;font-size:1rem;line-height:1.875rem;white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:1.5rem}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:var(--post-contrast-color)}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}";
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;
8
8
 
9
9
  const PostTag = class {
@@ -34,7 +34,7 @@ const PostTag = class {
34
34
  this.setClasses();
35
35
  }
36
36
  render() {
37
- return (index.h(index.Host, { key: '5b29f617d1f9dbba914664263ccace77e18fdd10', "data-version": _package.version }, index.h("div", { key: '25d9431e746f0d677704c97dc9bd27023a502efb', class: this.classes }, this.icon ? index.h("post-icon", { name: this.icon }) : null, index.h("div", { key: 'e13004f14169d4abccd3df8d0245bc2f361f0b81', class: "tag-text" }, index.h("slot", { key: '567d61fae24d649c64c9ea53685a627f7e45fde1' })))));
37
+ return (index.h(index.Host, { key: '7426002d3008de53e92edc8ec2fc759569b191bf', "data-version": _package.version }, index.h("div", { key: '1cde8f5c3d2db66f45aaa64091a1b76f1d1468ee', class: this.classes }, this.icon ? index.h("post-icon", { name: this.icon }) : null, index.h("div", { key: 'cc63b7277ba4f4076a46f5038b24699f6818c81b', class: "tag-text" }, index.h("slot", { key: '37b57632add7f7c093e42302e44defef63ccc29f' })))));
38
38
  }
39
39
  get host() { return index.getElement(this); }
40
40
  static get watchers() { return {
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postTag = require('./post-tag-1dcddcae.js');
6
- require('./index-baad16da.js');
7
- require('./package-fd539ea9.js');
5
+ const postTag = require('./post-tag-534251e7.js');
6
+ require('./index-c15bd800.js');
7
+ require('./package-f9a656fd.js');
8
8
 
9
9
 
10
10
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-baad16da.js');
4
- const _package = require('./package-fd539ea9.js');
3
+ const index = require('./index-c15bd800.js');
4
+ const _package = require('./package-f9a656fd.js');
5
5
  const attributeObserver = require('./attribute-observer-10f08c04.js');
6
- const index$1 = require('./index-a1440961.js');
6
+ const index$1 = require('./index-01f30442.js');
7
7
 
8
8
  function timeout(delay) {
9
9
  return new Promise(resolve => setTimeout(resolve, delay));
@@ -4957,7 +4957,7 @@ const PostTooltip = class {
4957
4957
  }
4958
4958
  render() {
4959
4959
  const popoverClass = `${this.arrow ? ' has-arrow' : ''}`;
4960
- return (index.h(index.Host, { key: '939e17d222f1102dbfe3532d1cfe11b2777e4373', "data-version": _package.version, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, index.h("post-popovercontainer", { key: 'fe5388550554ebb39c8f5b59668b86483b5cb141', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, index.h("slot", { key: '90275f38a63f5d6f18b915718b738f29246b2843' }))));
4960
+ return (index.h(index.Host, { key: 'f543fa8f63cc6b65e1a86e34b1a59b4ca0bb9e47', "data-version": _package.version, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, index.h("post-popovercontainer", { key: 'e920d62462d209ff25593f7989ca16f6177b7292', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, index.h("slot", { key: '607d7357cb201c7e6e62f9a241392bd5ef1f156e' }))));
4961
4961
  }
4962
4962
  get host() { return index.getElement(this); }
4963
4963
  static get watchers() { return {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postTooltip = require('./post-tooltip-1e8d5f4e.js');
6
- require('./index-baad16da.js');
7
- require('./package-fd539ea9.js');
5
+ const postTooltip = require('./post-tooltip-a8399659.js');
6
+ require('./index-c15bd800.js');
7
+ require('./package-f9a656fd.js');
8
8
  require('./attribute-observer-10f08c04.js');
9
- require('./index-a1440961.js');
9
+ require('./index-01f30442.js');
10
10
  require('./constants-238701d3.js');
11
11
  require('./check-one-of-f4f5d0c0.js');
12
12
 
@@ -7,6 +7,7 @@
7
7
  "components/post-collapsible/post-collapsible.js",
8
8
  "components/post-collapsible-trigger/post-collapsible-trigger.js",
9
9
  "components/post-icon/post-icon.js",
10
+ "components/post-logo/post-logo.js",
10
11
  "components/post-popover/post-popover.js",
11
12
  "components/post-popovercontainer/post-popovercontainer.js",
12
13
  "components/post-rating/post-rating.js",