@swisspost/design-system-components 9.0.0-next.2 → 9.0.0-next.3

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 (226) hide show
  1. package/dist/cjs/{index-c15bd800.js → index-e1f32cce.js} +25 -4
  2. package/dist/cjs/index.cjs.js +21 -17
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{package-a7150f64.js → package-ef26e62c.js} +1 -1
  5. package/dist/cjs/{post-accordion-62d2fd79.js → post-accordion-3878bf43.js} +2 -2
  6. package/dist/cjs/post-accordion-item-0278e6e2.js +52 -0
  7. package/dist/cjs/post-accordion-item.cjs.entry.js +3 -3
  8. package/dist/cjs/post-accordion.cjs.entry.js +3 -3
  9. package/dist/cjs/post-alert-5f795d9c.js +98 -0
  10. package/dist/cjs/post-alert.cjs.entry.js +3 -3
  11. package/dist/cjs/post-avatar-2bcfc016.js +148 -0
  12. package/dist/cjs/post-avatar.cjs.entry.js +13 -0
  13. package/dist/cjs/post-card-control-5ffcd201.js +272 -0
  14. package/dist/cjs/post-card-control.cjs.entry.js +3 -3
  15. package/dist/cjs/{post-collapsible-trigger-9dca8493.js → post-collapsible-trigger-6ae59c64.js} +2 -2
  16. package/dist/cjs/post-collapsible_2.cjs.entry.js +3 -3
  17. package/dist/cjs/post-components.cjs.js +2 -2
  18. package/dist/cjs/{post-icon-3934be0b.js → post-icon-1f71aa0f.js} +4 -4
  19. package/dist/cjs/post-icon.cjs.entry.js +3 -3
  20. package/dist/cjs/post-language-option-4a3ecaeb.js +67 -0
  21. package/dist/cjs/post-language-option.cjs.entry.js +14 -0
  22. package/dist/cjs/{post-logo-c3603fc7.js → post-logo-7070d727.js} +4 -4
  23. package/dist/cjs/post-logo.cjs.entry.js +3 -3
  24. package/dist/cjs/{post-popover-15f9620a.js → post-popover-de1b8d95.js} +4 -4
  25. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  26. package/dist/cjs/{post-popovercontainer-7d536276.js → post-popovercontainer-6a25713a.js} +5 -5
  27. package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
  28. package/dist/cjs/{post-rating-db5a397a.js → post-rating-1d2c59b7.js} +3 -3
  29. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  30. package/dist/cjs/post-tab-header-877676bf.js +32 -0
  31. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  32. package/dist/cjs/{post-tab-panel-d59cf1ec.js → post-tab-panel-80b1f3ee.js} +3 -3
  33. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  34. package/dist/cjs/{post-tabs-7afae61a.js → post-tabs-c2d42035.js} +4 -4
  35. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  36. package/dist/cjs/{post-tag-b7d0bbff.js → post-tag-5e2c7798.js} +3 -3
  37. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  38. package/dist/cjs/{post-tooltip-432852c7.js → post-tooltip-9a120b2e.js} +3 -3
  39. package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
  40. package/dist/collection/collection-manifest.json +2 -0
  41. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
  42. package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -3
  43. package/dist/collection/components/post-alert/post-alert.css +2 -2
  44. package/dist/collection/components/post-alert/post-alert.js +4 -4
  45. package/dist/collection/components/post-avatar/post-avatar.css +3 -0
  46. package/dist/collection/components/post-avatar/post-avatar.js +237 -0
  47. package/dist/collection/components/post-card-control/post-card-control.css +1 -1
  48. package/dist/collection/components/post-card-control/post-card-control.js +1 -1
  49. package/dist/collection/components/post-icon/post-icon.js +2 -2
  50. package/dist/collection/components/post-language-option/post-language-option.css +3 -0
  51. package/dist/collection/components/post-language-option/post-language-option.js +191 -0
  52. package/dist/collection/components/post-logo/post-logo.js +2 -2
  53. package/dist/collection/components/post-popover/post-popover.css +1 -1
  54. package/dist/collection/components/post-popover/post-popover.js +1 -1
  55. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  56. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
  57. package/dist/collection/components/post-rating/post-rating.js +1 -1
  58. package/dist/collection/components/post-tab-header/post-tab-header.css +1 -1
  59. package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
  60. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  61. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  62. package/dist/collection/components/post-tabs/post-tabs.js +1 -1
  63. package/dist/collection/components/post-tag/post-tag.js +1 -1
  64. package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
  65. package/dist/collection/index.js +2 -0
  66. package/dist/components/index.js +2 -0
  67. package/dist/components/package.js +1 -1
  68. package/dist/components/post-accordion-item2.js +5 -4
  69. package/dist/components/post-alert2.js +5 -5
  70. package/dist/components/post-avatar.d.ts +11 -0
  71. package/dist/components/post-avatar.js +6 -0
  72. package/dist/components/post-avatar2.js +173 -0
  73. package/dist/components/post-card-control2.js +2 -2
  74. package/dist/components/post-icon2.js +2 -2
  75. package/dist/components/post-language-option.d.ts +11 -0
  76. package/dist/components/post-language-option.js +6 -0
  77. package/dist/components/post-language-option2.js +92 -0
  78. package/dist/components/post-logo2.js +2 -2
  79. package/dist/components/post-popover2.js +2 -2
  80. package/dist/components/post-popovercontainer2.js +3 -3
  81. package/dist/components/post-rating2.js +1 -1
  82. package/dist/components/post-tab-header2.js +2 -2
  83. package/dist/components/post-tab-panel2.js +1 -1
  84. package/dist/components/post-tabs2.js +2 -2
  85. package/dist/components/post-tag2.js +1 -1
  86. package/dist/components/post-tooltip2.js +1 -1
  87. package/dist/docs.json +267 -1
  88. package/dist/esm/{index-0b56fc28.js → index-e1b64755.js} +25 -4
  89. package/dist/esm/index.js +19 -17
  90. package/dist/esm/loader.js +3 -3
  91. package/dist/esm/package-0311770e.js +3 -0
  92. package/dist/esm/{post-accordion-6f4d2b9a.js → post-accordion-01d49d83.js} +2 -2
  93. package/dist/esm/post-accordion-item-366f385b.js +50 -0
  94. package/dist/esm/post-accordion-item.entry.js +3 -3
  95. package/dist/esm/post-accordion.entry.js +3 -3
  96. package/dist/esm/post-alert-5a69f40d.js +96 -0
  97. package/dist/esm/post-alert.entry.js +3 -3
  98. package/dist/esm/post-avatar-6f24d1ab.js +146 -0
  99. package/dist/esm/post-avatar.entry.js +5 -0
  100. package/dist/esm/post-card-control-2a7939c3.js +270 -0
  101. package/dist/esm/post-card-control.entry.js +3 -3
  102. package/dist/esm/{post-collapsible-trigger-85c2064a.js → post-collapsible-trigger-654bf2b0.js} +2 -2
  103. package/dist/esm/post-collapsible_2.entry.js +3 -3
  104. package/dist/esm/post-components.js +3 -3
  105. package/dist/esm/{post-icon-40929043.js → post-icon-885f17e9.js} +4 -4
  106. package/dist/esm/post-icon.entry.js +3 -3
  107. package/dist/esm/post-language-option-0c2818aa.js +65 -0
  108. package/dist/esm/post-language-option.entry.js +6 -0
  109. package/dist/esm/{post-logo-c6351ba8.js → post-logo-dd425f2e.js} +4 -4
  110. package/dist/esm/post-logo.entry.js +3 -3
  111. package/dist/esm/{post-popover-58149de7.js → post-popover-7d44a85c.js} +4 -4
  112. package/dist/esm/post-popover.entry.js +3 -3
  113. package/dist/esm/{post-popovercontainer-8bde9fc3.js → post-popovercontainer-e6d11d81.js} +5 -5
  114. package/dist/esm/post-popovercontainer.entry.js +3 -3
  115. package/dist/esm/{post-rating-d9fc0b40.js → post-rating-3cd3e97b.js} +3 -3
  116. package/dist/esm/post-rating.entry.js +3 -3
  117. package/dist/esm/post-tab-header-776a991a.js +30 -0
  118. package/dist/esm/post-tab-header.entry.js +3 -3
  119. package/dist/esm/{post-tab-panel-926439f4.js → post-tab-panel-163e6c99.js} +3 -3
  120. package/dist/esm/post-tab-panel.entry.js +3 -3
  121. package/dist/esm/{post-tabs-13b2d9a6.js → post-tabs-8cb1bce9.js} +4 -4
  122. package/dist/esm/post-tabs.entry.js +3 -3
  123. package/dist/esm/{post-tag-887d5fbe.js → post-tag-deefcc86.js} +3 -3
  124. package/dist/esm/post-tag.entry.js +3 -3
  125. package/dist/esm/{post-tooltip-3cde6b53.js → post-tooltip-dc7e1a21.js} +3 -3
  126. package/dist/esm/post-tooltip.entry.js +3 -3
  127. package/dist/post-components/index.esm.js +1 -1
  128. package/dist/post-components/{p-5f231c2c.js → p-048538ea.js} +1 -1
  129. package/dist/post-components/p-0a1f5e13.entry.js +1 -0
  130. package/dist/post-components/p-0a4318ff.js +1 -0
  131. package/dist/post-components/{p-82dcf8c6.js → p-0ad93d89.js} +2 -2
  132. package/dist/post-components/p-0d64ef0c.entry.js +1 -0
  133. package/dist/post-components/p-1198a5f2.entry.js +1 -0
  134. package/dist/post-components/{p-ba40b28a.entry.js → p-13d1bef7.entry.js} +1 -1
  135. package/dist/post-components/{p-1e8f0f36.js → p-16d057a6.js} +1 -1
  136. package/dist/post-components/p-1a091fca.entry.js +1 -0
  137. package/dist/post-components/p-1f35b0ba.entry.js +1 -0
  138. package/dist/post-components/p-246a6d28.js +1 -0
  139. package/dist/post-components/p-3aa5e1e5.js +1 -0
  140. package/dist/post-components/{p-0e09dc41.js → p-3d3795f9.js} +1 -1
  141. package/dist/post-components/p-3eab790d.js +2 -0
  142. package/dist/post-components/p-3fabf6e4.entry.js +1 -0
  143. package/dist/post-components/p-4f0617e6.js +1 -0
  144. package/dist/post-components/p-53bacbbc.js +1 -0
  145. package/dist/post-components/p-5c8cb76f.entry.js +1 -0
  146. package/dist/post-components/p-5eee8d31.entry.js +1 -0
  147. package/dist/post-components/p-60e72b25.js +1 -0
  148. package/dist/post-components/{p-6a28f8b9.js → p-66ed33a9.js} +1 -1
  149. package/dist/post-components/p-681b751d.entry.js +1 -0
  150. package/dist/post-components/p-6b6a1e82.entry.js +1 -0
  151. package/dist/post-components/p-752e6a98.entry.js +1 -0
  152. package/dist/post-components/{p-2b10e265.js → p-8734876e.js} +1 -1
  153. package/dist/post-components/p-9ac2a947.js +1 -0
  154. package/dist/post-components/p-9d211a45.js +1 -0
  155. package/dist/post-components/p-b38eaabf.js +1 -0
  156. package/dist/post-components/p-cdfcc758.entry.js +1 -0
  157. package/dist/post-components/p-d50d4ec1.entry.js +1 -0
  158. package/dist/post-components/p-d785856c.js +1 -0
  159. package/dist/post-components/p-e18f3639.js +1 -0
  160. package/dist/post-components/p-f1b7797f.entry.js +1 -0
  161. package/dist/post-components/p-f6efc76b.entry.js +1 -0
  162. package/dist/post-components/{p-92aeec3c.js → p-f825d681.js} +1 -1
  163. package/dist/post-components/p-fff1c2ee.entry.js +1 -0
  164. package/dist/post-components/post-components.esm.js +1 -1
  165. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +1 -1
  166. package/dist/types/components/post-alert/post-alert.d.ts +1 -1
  167. package/dist/types/components/post-avatar/post-avatar.d.ts +51 -0
  168. package/dist/types/components/post-icon/post-icon.d.ts +1 -1
  169. package/dist/types/components/post-language-option/post-language-option.d.ts +40 -0
  170. package/dist/types/components/post-logo/post-logo.d.ts +1 -1
  171. package/dist/types/components.d.ts +113 -0
  172. package/dist/types/index.d.ts +2 -0
  173. package/loaders/index.d.ts +4 -0
  174. package/loaders/index.js +2 -0
  175. package/loaders/package.js +1 -1
  176. package/loaders/post-accordion-item.js +5 -4
  177. package/loaders/post-alert.js +5 -5
  178. package/loaders/post-avatar.d.ts +11 -0
  179. package/loaders/post-avatar.js +176 -0
  180. package/loaders/post-card-control.js +2 -2
  181. package/loaders/post-icon2.js +2 -2
  182. package/loaders/post-language-option.d.ts +11 -0
  183. package/loaders/post-language-option.js +95 -0
  184. package/loaders/post-logo.js +2 -2
  185. package/loaders/post-popover.js +2 -2
  186. package/loaders/post-popovercontainer2.js +3 -3
  187. package/loaders/post-rating.js +1 -1
  188. package/loaders/post-tab-header.js +2 -2
  189. package/loaders/post-tab-panel.js +1 -1
  190. package/loaders/post-tabs.js +2 -2
  191. package/loaders/post-tag.js +1 -1
  192. package/loaders/post-tooltip.js +1 -1
  193. package/package.json +2 -2
  194. package/dist/cjs/post-accordion-item-7b348fa5.js +0 -51
  195. package/dist/cjs/post-alert-fca3a4a3.js +0 -98
  196. package/dist/cjs/post-card-control-b4e4b4d5.js +0 -272
  197. package/dist/cjs/post-tab-header-29b8d4e1.js +0 -32
  198. package/dist/esm/package-3d758f77.js +0 -3
  199. package/dist/esm/post-accordion-item-6b5a65ad.js +0 -49
  200. package/dist/esm/post-alert-f19db551.js +0 -96
  201. package/dist/esm/post-card-control-1b5df6cb.js +0 -270
  202. package/dist/esm/post-tab-header-ae8feb19.js +0 -30
  203. package/dist/post-components/p-0b71bf5a.js +0 -1
  204. package/dist/post-components/p-19e54be9.js +0 -1
  205. package/dist/post-components/p-22257eff.entry.js +0 -1
  206. package/dist/post-components/p-249ac168.entry.js +0 -1
  207. package/dist/post-components/p-3325086e.js +0 -1
  208. package/dist/post-components/p-3b823fee.entry.js +0 -1
  209. package/dist/post-components/p-45f4c803.entry.js +0 -1
  210. package/dist/post-components/p-47935dbb.js +0 -1
  211. package/dist/post-components/p-486fbbce.entry.js +0 -1
  212. package/dist/post-components/p-4a7fb0f3.entry.js +0 -1
  213. package/dist/post-components/p-6ed3497a.entry.js +0 -1
  214. package/dist/post-components/p-820c5c19.entry.js +0 -1
  215. package/dist/post-components/p-8aeb549f.entry.js +0 -1
  216. package/dist/post-components/p-9a99cfc7.js +0 -1
  217. package/dist/post-components/p-aa8a08dc.entry.js +0 -1
  218. package/dist/post-components/p-b99fdec3.js +0 -1
  219. package/dist/post-components/p-c62de925.js +0 -1
  220. package/dist/post-components/p-d2101b8a.entry.js +0 -1
  221. package/dist/post-components/p-d2f9de94.js +0 -2
  222. package/dist/post-components/p-d7a44f45.js +0 -1
  223. package/dist/post-components/p-db4b8ea1.entry.js +0 -1
  224. package/dist/post-components/p-eedc6ae8.entry.js +0 -1
  225. package/dist/post-components/p-f217f420.js +0 -1
  226. package/dist/post-components/p-f707d163.entry.js +0 -1
@@ -0,0 +1,92 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { b as checkEmptyOrType } from './index2.js';
3
+ import { v as version } from './package.js';
4
+ import { c as checkType } from './check-type.js';
5
+
6
+ const postLanguageOptionCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:inline-block;width:fit-content}button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}a{color:inherit;text-decoration:none}:is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;height:100%;width:100%;padding:var(--post-language-option-padding)}";
7
+ const PostLanguageOptionStyle0 = postLanguageOptionCss;
8
+
9
+ const PostLanguageOption = /*@__PURE__*/ proxyCustomElement(class PostLanguageOption extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ this.__attachShadow();
14
+ this.postChange = createEvent(this, "postChange", 7);
15
+ this.code = undefined;
16
+ this.active = undefined;
17
+ this.name = undefined;
18
+ this.url = undefined;
19
+ }
20
+ validateCode(value = this.code) {
21
+ checkType(value, 'string', 'The "code" property of the post-language-option component must be a string.');
22
+ }
23
+ validateActiveProp(value = this.active) {
24
+ checkEmptyOrType(value, 'boolean', 'The "active" property of the post-language-option component must be a boolean value.');
25
+ }
26
+ validateName(value = this.name) {
27
+ checkEmptyOrType(value, 'string', 'The "name" property of the post-language-option component must be a string.');
28
+ }
29
+ validateUrl(value = this.url) {
30
+ checkEmptyOrType(value, 'string', 'The "url" property of the post-language-option component must be a valid URL.');
31
+ }
32
+ componentDidLoad() {
33
+ this.validateCode();
34
+ this.validateActiveProp();
35
+ this.validateName();
36
+ this.validateUrl();
37
+ if (!this.name && this.isNameRequired()) {
38
+ throw new Error('The "name" property of the post-language-option component is required when the full language name is not displayed.');
39
+ }
40
+ }
41
+ /**
42
+ * Selects the language option programmatically.
43
+ */
44
+ async select() {
45
+ this.active = true;
46
+ this.emitChange();
47
+ }
48
+ emitChange() {
49
+ this.postChange.emit(this.code);
50
+ }
51
+ isNameRequired() {
52
+ return this.host.textContent.toLowerCase() === this.code.toLowerCase();
53
+ }
54
+ render() {
55
+ const lang = this.code.toLowerCase();
56
+ return (h(Host, { key: '2ee12b880402e7bd994185d86931aec2d7421bd8', "data-version": version, role: "listitem" }, this.url ? (h("a", { "aria-current": this.active ? 'page' : undefined, "aria-label": this.name, href: this.url, hrefLang: lang, lang: lang, onClick: () => this.emitChange() }, h("slot", null))) : (h("button", { "aria-current": this.active ? 'true' : undefined, "aria-label": this.name, lang: lang, onClick: () => this.emitChange() }, h("slot", null)))));
57
+ }
58
+ get host() { return this; }
59
+ static get watchers() { return {
60
+ "code": ["validateCode"],
61
+ "active": ["validateActiveProp"],
62
+ "name": ["validateName"],
63
+ "url": ["validateUrl"]
64
+ }; }
65
+ static get style() { return PostLanguageOptionStyle0; }
66
+ }, [1, "post-language-option", {
67
+ "code": [1],
68
+ "active": [1540],
69
+ "name": [1],
70
+ "url": [1],
71
+ "select": [64]
72
+ }, undefined, {
73
+ "code": ["validateCode"],
74
+ "active": ["validateActiveProp"],
75
+ "name": ["validateName"],
76
+ "url": ["validateUrl"]
77
+ }]);
78
+ function defineCustomElement() {
79
+ if (typeof customElements === "undefined") {
80
+ return;
81
+ }
82
+ const components = ["post-language-option"];
83
+ components.forEach(tagName => { switch (tagName) {
84
+ case "post-language-option":
85
+ if (!customElements.get(tagName)) {
86
+ customElements.define(tagName, PostLanguageOption);
87
+ }
88
+ break;
89
+ } });
90
+ }
91
+
92
+ export { PostLanguageOption as P, defineCustomElement as d };
@@ -15,7 +15,7 @@ const PostLogo = /*@__PURE__*/ proxyCustomElement(class PostLogo extends HTMLEle
15
15
  validateUrl() {
16
16
  checkEmptyOrUrl(this.url, 'The "url" property of the post-logo is invalid');
17
17
  }
18
- connectedCallback() {
18
+ componentDidLoad() {
19
19
  this.validateUrl();
20
20
  this.checkDescription();
21
21
  }
@@ -27,7 +27,7 @@ const PostLogo = /*@__PURE__*/ proxyCustomElement(class PostLogo extends HTMLEle
27
27
  render() {
28
28
  const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
29
29
  const LogoTag = logoLink ? 'a' : 'span';
30
- return (h(Host, { key: 'c1d583f828a1f35ed482f1d1894354a503d8010e', "data-version": version }, h(LogoTag, Object.assign({ key: '61886ad3e388a6286e86b49a8ab150774e9e3d19', class: "logo" }, (logoLink ? { href: logoLink } : {})), h("span", { key: '88c01bbd0e146157ff2897300199717e8da1b2f0', class: "description" }, h("slot", { key: 'dccdd781dd6b6c78d9c8775a3f91765c6c4a8449', onSlotchange: () => this.checkDescription() })), h("svg", { key: '3f66dab4ca898d245759249828508adfa0ac92ea', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: 'bb5bb34aa56362a8805f6f97562825448d4ffac7', id: "Logo" }, h("rect", { key: '8bbee198611c558653cac3b31683beb9bc17c196', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: '2ca797bd9ad0861b81b953e04626abb2d5cb7323', fill: "#ff0000", points: "34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3" }), h("path", { key: 'eefa701f5f04ba0f0c04eb51748e62209e33ff06', d: "M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z" }))))));
30
+ return (h(Host, { key: '484cc83fcf8886fb627ac047717bc9ef8f0dbcba', "data-version": version }, h(LogoTag, Object.assign({ key: '3c9eb2f917cf4d1c6492cc8956e3d82bb946eff6', class: "logo" }, (logoLink ? { href: logoLink } : {})), h("span", { key: '2c588b6a52942c5b450162884754050d87f0f316', class: "description" }, h("slot", { key: '145e9f0ae716f854a5ece73d5948d7f9dc6864f3', onSlotchange: () => this.checkDescription() })), h("svg", { key: 'd92dcb207c5a3e9b46b54bd0a7a3ca56677cf57f', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: 'e3101e8162385d4087feb1d6d5b7f7095fa7d625', id: "Logo" }, h("rect", { key: '742a55467004c6cb01f16d10594a8ab29d1c6df9', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: '9ace2708a4f7bf72bda2b8cb1760bcd9ed74b9e6', fill: "#ff0000", points: "34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3" }), h("path", { key: '2b9e87466faf9457b093e4a76d8a68bec66bb729', d: "M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z" }))))));
31
31
  }
32
32
  get host() { return this; }
33
33
  static get watchers() { return {
@@ -3,7 +3,7 @@ import { v as version } from './package.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer.js';
4
4
  import { d as defineCustomElement$1 } from './post-popovercontainer2.js';
5
5
 
6
- const postPopoverCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius: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}";
6
+ const postPopoverCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius: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,.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}";
7
7
  const PostPopoverStyle0 = postPopoverCss;
8
8
 
9
9
  /**
@@ -96,7 +96,7 @@ const PostPopover = /*@__PURE__*/ proxyCustomElement(class PostPopover extends H
96
96
  this.triggers.forEach(trigger => trigger.setAttribute('aria-expanded', 'false'));
97
97
  }
98
98
  render() {
99
- return (h(Host, { key: '6fe379d071ec88a76f99cc10f0fdce0b2f079fbd', "data-version": version }, h("post-popovercontainer", { key: '3a5e2896e87e3f2d32c0ad9b1d80327cc585f289', arrow: this.arrow, placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: '46834ef6a3893fe8823776d8feb20a2fb328e3bc', class: "popover-container" }, h("div", { key: '9d61b678c2613e84efc0df805cbb67fbe3d06991', class: "popover-content" }, h("slot", { key: '1cfef5daaea3f6370869a3ae648ff36e2dddd82a' })), h("button", { key: 'c7a2e12ece46ee63d8004d99427c8c6febc2dc17', class: "btn-close", onClick: () => this.hide() }, h("span", { key: '1aee8ffe06b5c4c9bade0185a8832328410fbe4a', class: "visually-hidden" }, this.closeButtonCaption))))));
99
+ return (h(Host, { key: '6b67868c1156eef8a56185282a3a7deb0244134e', "data-version": version }, h("post-popovercontainer", { key: 'ece27b60be001b3c22c92d060ed5f173141d9ab3', arrow: this.arrow, placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: 'bd6ed5b021f6e5b6704009c8b97a77797603a2b2', class: "popover-container" }, h("div", { key: '352f7c368bbf0c3f8835a93478fd93228a1f95d9', class: "popover-content" }, h("slot", { key: 'dcc97fac19ab3dcdaa00c59ab2de6eb17662a5cf' })), h("button", { key: '0e1d2f250d3519181459638957eb6056535325e6', class: "btn-close", onClick: () => this.hide() }, h("span", { key: '55dc6800e309eede4adb8705b41bc1a23e824e11', class: "visually-hidden" }, this.closeButtonCaption))))));
100
100
  }
101
101
  get host() { return this; }
102
102
  static get style() { return PostPopoverStyle0; }
@@ -2039,7 +2039,7 @@ const computePosition = (reference, floating, options) => {
2039
2039
  }
2040
2040
  `,E=null;function I(e){if(E===null)try{E=new CSSStyleSheet,E.replaceSync(C);}catch{E=!1;}if(E===!1){let t=document.createElement("style");t.textContent=C,e instanceof Document?e.head.prepend(t):e.prepend(t);}else e.adoptedStyleSheets=[E,...e.adoptedStyleSheets];}function K(){window.ToggleEvent=window.ToggleEvent||c;function e(n){return n?.includes(":popover-open")&&(n=n.replace(J,"$1.\\:popover-open")),n}f(Document.prototype,"querySelector",e),f(Document.prototype,"querySelectorAll",e),f(Element.prototype,"querySelector",e),f(Element.prototype,"querySelectorAll",e),f(Element.prototype,"matches",e),f(Element.prototype,"closest",e),f(DocumentFragment.prototype,"querySelectorAll",e),f(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let n=(this.getAttribute("popover")||"").toLowerCase();return n===""||n=="auto"?"auto":"manual"},set(n){this.setAttribute("popover",n);}},showPopover:{enumerable:!0,configurable:!0,value(){S(this);}},hidePopover:{enumerable:!0,configurable:!0,value(){m(this,!0,!0);}},togglePopover:{enumerable:!0,configurable:!0,value(n){h.get(this)==="showing"&&n===void 0||n===!1?m(this,!0,!0):(n===void 0||n===!0)&&S(this);}}});let t=Element.prototype.attachShadow;t&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(n){let s=t.call(this,n);return I(s),s}}});let o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let n=o.call(this);return n.shadowRoot&&I(n.shadowRoot),n}}});let r=new WeakMap;function i(n){Object.defineProperties(n.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(s){if(s===null)this.removeAttribute("popovertarget"),r.delete(this);else if(s instanceof Element)this.setAttribute("popovertarget",""),r.set(this,s);else throw new TypeError("popoverTargetElement must be an element or null")},get(){if(this.localName!=="button"&&this.localName!=="input"||this.localName==="input"&&this.type!=="reset"&&this.type!=="image"&&this.type!=="button"||this.disabled||this.form&&this.type==="submit")return null;let s=r.get(this);if(s&&s.isConnected)return s;if(s&&!s.isConnected)return r.delete(this),null;let u=v(this),w=this.getAttribute("popovertarget");return (u instanceof Document||u instanceof B)&&w&&u.getElementById(w)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let s=(this.getAttribute("popovertargetaction")||"").toLowerCase();return s==="show"||s==="hide"?s:"toggle"},set(s){this.setAttribute("popovertargetaction",s);}}});}i(HTMLButtonElement),i(HTMLInputElement);let l=n=>{if(!n.isTrusted)return;let s=n.composedPath()[0];if(!(s instanceof Element)||s?.shadowRoot)return;let u=v(s);if(!(u instanceof B||u instanceof Document))return;let w=s.closest("[popovertargetaction],[popovertarget]");if(w){O(w),n.preventDefault();return}},a=n=>{let s=n.key,u=n.target;!n.defaultPrevented&&u&&(s==="Escape"||s==="Esc")&&T(u.ownerDocument,!0,!0);};(n=>{n.addEventListener("click",l),n.addEventListener("keydown",a),n.addEventListener("pointerdown",x),n.addEventListener("pointerup",x);})(document),I(document);}j()||K();})();
2041
2041
 
2042
- const postPopovercontainerCss = "@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}:where(post-popovercontainer){box-shadow:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);position:fixed;z-index:1060;width:max-content;margin:0;padding:0;box-sizing:border-box;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));border:2px solid rgba(0,0,0,0);border-radius:4px;overflow:visible}:where(post-popovercontainer) .arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:where(post-popovercontainer) .arrow.top{border-left:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.right{border-right:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.left{border-left:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.bottom{border-right:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}";
2042
+ const postPopovercontainerCss = "@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}:where(post-popovercontainer){box-shadow:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);position:fixed;z-index:1060;width:max-content;margin:0;padding:0;box-sizing:border-box;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));border:2px solid rgba(0,0,0,0);border-radius:4px;overflow:visible}:where(post-popovercontainer)[tooltip]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:where(post-popovercontainer) .arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:where(post-popovercontainer) .arrow.top{border-left:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.right{border-right:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.left{border-left:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.bottom{border-right:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}";
2043
2043
  const PostPopovercontainerStyle0 = postPopovercontainerCss;
2044
2044
 
2045
2045
  const SIDE_MAP = {
@@ -2174,9 +2174,9 @@ const PostPopovercontainer = /*@__PURE__*/ proxyCustomElement(class PostPopoverc
2174
2174
  }
2175
2175
  }
2176
2176
  render() {
2177
- return (h(Host, { key: 'daf21d119057a14c2c2f68b8068901ab698beae3', "data-version": version }, this.arrow && (h("span", { key: '4f5cfb1422217f9ef71732cdfc0c97b6b29e4809', class: "arrow", ref: el => {
2177
+ return (h(Host, { key: 'b12ea12dd1224cb0562f65c4e38899886041ce06', "data-version": version }, this.arrow && (h("span", { key: '0273018a157873711de698ed2cdcde2c9de68573', class: "arrow", ref: el => {
2178
2178
  this.arrowRef = el;
2179
- } })), h("slot", { key: 'f6e4beefb8e365dbf20a0a5019cceaac4ecb73a4' })));
2179
+ } })), h("slot", { key: 'cf6b2a9a8cb9d04d01ab9d5d99afd52740c3520c' })));
2180
2180
  }
2181
2181
  get host() { return this; }
2182
2182
  static get style() { return PostPopovercontainerStyle0; }
@@ -74,7 +74,7 @@ const PostRating = /*@__PURE__*/ proxyCustomElement(class PostRating extends HTM
74
74
  }
75
75
  }
76
76
  render() {
77
- return (h(Host, { key: '0a4972eeedcda4d4f772db0407ba2a6279f5d797', "data-version": version }, 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) => (h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
77
+ return (h(Host, { key: '442c936d6e9337d04b16edc62e56996139e86262', "data-version": version }, h("div", { key: '280ea877721676ba137c91d9be00007bcc5caf4f', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} out of ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
78
78
  'star': true,
79
79
  'before-hover': i < this.hoveredIndex,
80
80
  'active': i < Math.round(this.currentRating),
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { v as version } from './package.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty.js';
4
4
 
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 * 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}";
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,.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,.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}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}";
6
6
  const PostTabHeaderStyle0 = postTabHeaderCss;
7
7
 
8
8
  const PostTabHeader = /*@__PURE__*/ proxyCustomElement(class PostTabHeader extends HTMLElement {
@@ -20,7 +20,7 @@ const PostTabHeader = /*@__PURE__*/ proxyCustomElement(class PostTabHeader exten
20
20
  this.tabId = `tab-${this.host.id || crypto.randomUUID()}`;
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: '35077e5514ffd19a4fb27bc3a4c1d9d19072768b', id: this.tabId, role: "tab", "data-version": version, "aria-selected": "false", tabindex: "-1", class: "tab-title", slot: "tabs" }, h("slot", { key: '67b09864a209c00c677e1c279240d9b4ca289faa' })));
23
+ return (h(Host, { key: '5912b0379fbde496a165cc18bd8025e02858dd20', id: this.tabId, role: "tab", "data-version": version, "aria-selected": "false", tabindex: "-1", class: "tab-title", slot: "tabs" }, h("slot", { key: '14d7d226e09a018139570ded2acef36ade7ad501' })));
24
24
  }
25
25
  get host() { return this; }
26
26
  static get watchers() { return {
@@ -17,7 +17,7 @@ const PostTabPanel = /*@__PURE__*/ proxyCustomElement(class PostTabPanel extends
17
17
  this.panelId = `panel-${this.host.id || crypto.randomUUID()}`;
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '2d01a8e7f06e45b4750e63584a3c52232dee4dd5', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: 'b51e2f112791ac22df43ebb537208c65aebe3d03' })));
20
+ return (h(Host, { key: 'b3cf3aa9d4a89fc1f561ba7ecd62ff456e3392eb', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: '63be1c4ea7c1c57a1438eeb164b446d39613f926' })));
21
21
  }
22
22
  get host() { return this; }
23
23
  static get style() { return PostTabPanelStyle0; }
@@ -23,7 +23,7 @@ const customOnReady = (callback) => {
23
23
  return setTimeout(callback);
24
24
  };
25
25
 
26
- 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}";
26
+ 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}:host{display:block}";
27
27
  const PostTabsStyle0 = postTabsCss;
28
28
 
29
29
  const PostTabs = /*@__PURE__*/ proxyCustomElement(class PostTabs extends HTMLElement {
@@ -164,7 +164,7 @@ const PostTabs = /*@__PURE__*/ proxyCustomElement(class PostTabs extends HTMLEle
164
164
  nextTab.focus();
165
165
  }
166
166
  render() {
167
- return (h(Host, { key: '6a3e84a92b03d462dbff1b8fc638f7ebf8ea9d23', "data-version": version }, h("div", { key: 'e73b58f1524e70401089830b1b9b47a2c85b828a', class: "tabs-wrapper", part: "tabs" }, h("div", { key: '9da5ce2d30d37c74dee92f2e871e56e96d07d429', class: "tabs", role: "tablist" }, h("slot", { key: '944e209f2f23b9a3469bc6b5167a0939da4c9631', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: '93caabfd1a0be19df3e8be64f0965de488159526', class: "tab-content", part: "content" }, h("slot", { key: '92465fa749afad52130631cb3957fefeb40b8e9a', onSlotchange: () => this.moveMisplacedTabs() }))));
167
+ return (h(Host, { key: '443b79a70c7e0128a01094a8d06e8846225a534f', "data-version": version }, h("div", { key: '0f7ce12730170ec5197a458f7d8c995a30400260', class: "tabs-wrapper", part: "tabs" }, h("div", { key: '0f97c05226414525b18f74cf39eba9dd724b2ae7', class: "tabs", role: "tablist" }, h("slot", { key: '63b83a89e4fa49508c2a5885bf0ab0c895c1d6bc', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: '234bfca1c275439f15b38b5b0953f5875c071436', class: "tab-content", part: "content" }, h("slot", { key: '77ef898a040b7f59d90afab6a9a0fd47c00e0ab5', onSlotchange: () => this.moveMisplacedTabs() }))));
168
168
  }
169
169
  get host() { return this; }
170
170
  static get style() { return PostTabsStyle0; }
@@ -35,7 +35,7 @@ const PostTag = /*@__PURE__*/ proxyCustomElement(class PostTag extends HTMLEleme
35
35
  this.setClasses();
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '7426002d3008de53e92edc8ec2fc759569b191bf', "data-version": version }, h("div", { key: '1cde8f5c3d2db66f45aaa64091a1b76f1d1468ee', class: this.classes }, this.icon ? h("post-icon", { name: this.icon }) : null, h("div", { key: 'cc63b7277ba4f4076a46f5038b24699f6818c81b', class: "tag-text" }, h("slot", { key: '37b57632add7f7c093e42302e44defef63ccc29f' })))));
38
+ return (h(Host, { key: '0696ad0df9ebe7a349090d8a7ed8fd9f60194e46', "data-version": version }, h("div", { key: 'a656792f0bea60ffb006ea52a53c72200e67cb52', class: this.classes }, this.icon ? h("post-icon", { name: this.icon }) : null, h("div", { key: 'f8886d0eca17458e71649584bb3d3d082272dc03', class: "tag-text" }, h("slot", { key: 'fa66eef13f726a169f62fdbdd2f914932bfde61d' })))));
39
39
  }
40
40
  get host() { return this; }
41
41
  static get watchers() { return {
@@ -4977,7 +4977,7 @@ const PostTooltip = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends H
4977
4977
  }
4978
4978
  render() {
4979
4979
  const popoverClass = `${this.arrow ? ' has-arrow' : ''}`;
4980
- return (h(Host, { key: '6d5e454da6fb46fb4446d8ed1deb8c6a9f2f2e0f', "data-version": version$1, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, h("post-popovercontainer", { key: '7b626cd4699e4178fbd8506b88fae64c94ab1631', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, h("slot", { key: 'ae5721af16313dc3737947d2ae130e0514ef2dd8' }))));
4980
+ return (h(Host, { key: '95188177d36478c25892238d67427b250a5d0978', "data-version": version$1, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, h("post-popovercontainer", { key: 'feb6016cb20946f5578aecc693c2813382580562', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, h("slot", { key: '6d7b69f543c0f550952dfa985e9ca3222af8ac18' }))));
4981
4981
  }
4982
4982
  get host() { return this; }
4983
4983
  static get watchers() { return {
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-10-14T18:09:02",
2
+ "timestamp": "2024-10-28T16:52:45",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.19.2",
@@ -584,6 +584,120 @@
584
584
  ]
585
585
  }
586
586
  },
587
+ {
588
+ "filePath": "src/components/post-avatar/post-avatar.tsx",
589
+ "encapsulation": "shadow",
590
+ "tag": "post-avatar",
591
+ "readme": "# post-avatar\n\n\n",
592
+ "docs": "",
593
+ "docsTags": [
594
+ {
595
+ "name": "slot",
596
+ "text": "default - Slot for inserting a custom image as avatar."
597
+ }
598
+ ],
599
+ "usage": {},
600
+ "props": [
601
+ {
602
+ "name": "email",
603
+ "type": "string",
604
+ "complexType": {
605
+ "original": "string",
606
+ "resolved": "string",
607
+ "references": {}
608
+ },
609
+ "mutable": false,
610
+ "attr": "email",
611
+ "reflectToAttr": false,
612
+ "docs": "Defines the users email address associated with a gravatar profile picture.",
613
+ "docsTags": [],
614
+ "values": [
615
+ {
616
+ "type": "string"
617
+ }
618
+ ],
619
+ "optional": true,
620
+ "required": false
621
+ },
622
+ {
623
+ "name": "firstname",
624
+ "type": "string",
625
+ "complexType": {
626
+ "original": "string",
627
+ "resolved": "string",
628
+ "references": {}
629
+ },
630
+ "mutable": false,
631
+ "attr": "firstname",
632
+ "reflectToAttr": false,
633
+ "docs": "Defines the users firstname.",
634
+ "docsTags": [],
635
+ "values": [
636
+ {
637
+ "type": "string"
638
+ }
639
+ ],
640
+ "optional": false,
641
+ "required": true
642
+ },
643
+ {
644
+ "name": "lastname",
645
+ "type": "string",
646
+ "complexType": {
647
+ "original": "string",
648
+ "resolved": "string",
649
+ "references": {}
650
+ },
651
+ "mutable": false,
652
+ "attr": "lastname",
653
+ "reflectToAttr": false,
654
+ "docs": "Defines the users lastname.",
655
+ "docsTags": [],
656
+ "values": [
657
+ {
658
+ "type": "string"
659
+ }
660
+ ],
661
+ "optional": true,
662
+ "required": false
663
+ },
664
+ {
665
+ "name": "userid",
666
+ "type": "string",
667
+ "complexType": {
668
+ "original": "string",
669
+ "resolved": "string",
670
+ "references": {}
671
+ },
672
+ "mutable": false,
673
+ "attr": "userid",
674
+ "reflectToAttr": false,
675
+ "docs": "Defines the company internal userId.<div className=\"mb-1 alert alert-warning alert-sm\">Can only be used on post.ch domains!</div>",
676
+ "docsTags": [],
677
+ "values": [
678
+ {
679
+ "type": "string"
680
+ }
681
+ ],
682
+ "optional": true,
683
+ "required": false
684
+ }
685
+ ],
686
+ "methods": [],
687
+ "events": [],
688
+ "listeners": [],
689
+ "styles": [],
690
+ "slots": [
691
+ {
692
+ "name": "default",
693
+ "docs": "Slot for inserting a custom image as avatar."
694
+ }
695
+ ],
696
+ "parts": [],
697
+ "dependents": [],
698
+ "dependencies": [],
699
+ "dependencyGraph": {}
700
+ },
587
701
  {
588
702
  "filePath": "src/components/post-card-control/post-card-control.tsx",
589
703
  "encapsulation": "shadow",
@@ -1312,6 +1426,158 @@
1312
1426
  ]
1313
1427
  }
1314
1428
  },
1429
+ {
1430
+ "filePath": "src/components/post-language-option/post-language-option.tsx",
1431
+ "encapsulation": "shadow",
1432
+ "tag": "post-language-option",
1433
+ "readme": "# post-language-option\n\n\n",
1434
+ "docs": "",
1435
+ "docsTags": [
1436
+ {
1437
+ "name": "slot",
1438
+ "text": "default - Slot for placing the content inside the anchor or button."
1439
+ }
1440
+ ],
1441
+ "usage": {},
1442
+ "props": [
1443
+ {
1444
+ "name": "active",
1445
+ "type": "boolean",
1446
+ "complexType": {
1447
+ "original": "boolean",
1448
+ "resolved": "boolean",
1449
+ "references": {}
1450
+ },
1451
+ "mutable": true,
1452
+ "attr": "active",
1453
+ "reflectToAttr": true,
1454
+ "docs": "If set to `true`, the language option is considered the current language for the page.",
1455
+ "docsTags": [],
1456
+ "values": [
1457
+ {
1458
+ "type": "boolean"
1459
+ }
1460
+ ],
1461
+ "optional": false,
1462
+ "required": false
1463
+ },
1464
+ {
1465
+ "name": "code",
1466
+ "type": "string",
1467
+ "complexType": {
1468
+ "original": "string",
1469
+ "resolved": "string",
1470
+ "references": {}
1471
+ },
1472
+ "mutable": false,
1473
+ "attr": "code",
1474
+ "reflectToAttr": false,
1475
+ "docs": "The ISO 639 language code, formatted according to [RFC 5646 (also known as BCP 47)](https://datatracker.ietf.org/doc/html/rfc5646). For example, \"de\".",
1476
+ "docsTags": [],
1477
+ "values": [
1478
+ {
1479
+ "type": "string"
1480
+ }
1481
+ ],
1482
+ "optional": false,
1483
+ "required": true
1484
+ },
1485
+ {
1486
+ "name": "name",
1487
+ "type": "string",
1488
+ "complexType": {
1489
+ "original": "string",
1490
+ "resolved": "string",
1491
+ "references": {}
1492
+ },
1493
+ "mutable": false,
1494
+ "attr": "name",
1495
+ "reflectToAttr": false,
1496
+ "docs": "The full name of the language. For example, \"Deutsch\".",
1497
+ "docsTags": [],
1498
+ "values": [
1499
+ {
1500
+ "type": "string"
1501
+ }
1502
+ ],
1503
+ "optional": false,
1504
+ "required": false
1505
+ },
1506
+ {
1507
+ "name": "url",
1508
+ "type": "string",
1509
+ "complexType": {
1510
+ "original": "string",
1511
+ "resolved": "string",
1512
+ "references": {}
1513
+ },
1514
+ "mutable": false,
1515
+ "attr": "url",
1516
+ "reflectToAttr": false,
1517
+ "docs": "The URL used for the href attribute of the internal anchor.\nThis field is optional; if not provided, a button will be used internally instead of an anchor.",
1518
+ "docsTags": [],
1519
+ "values": [
1520
+ {
1521
+ "type": "string"
1522
+ }
1523
+ ],
1524
+ "optional": false,
1525
+ "required": false
1526
+ }
1527
+ ],
1528
+ "methods": [
1529
+ {
1530
+ "name": "select",
1531
+ "returns": {
1532
+ "type": "Promise<void>",
1533
+ "docs": ""
1534
+ },
1535
+ "complexType": {
1536
+ "signature": "() => Promise<void>",
1537
+ "parameters": [],
1538
+ "references": {
1539
+ "Promise": {
1540
+ "location": "global",
1541
+ "id": "global::Promise"
1542
+ }
1543
+ },
1544
+ "return": "Promise<void>"
1545
+ },
1546
+ "signature": "select() => Promise<void>",
1547
+ "parameters": [],
1548
+ "docs": "Selects the language option programmatically.",
1549
+ "docsTags": []
1550
+ }
1551
+ ],
1552
+ "events": [
1553
+ {
1554
+ "event": "postChange",
1555
+ "detail": "string",
1556
+ "bubbles": true,
1557
+ "complexType": {
1558
+ "original": "string",
1559
+ "resolved": "string",
1560
+ "references": {}
1561
+ },
1562
+ "cancelable": true,
1563
+ "composed": true,
1564
+ "docs": "An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.",
1565
+ "docsTags": []
1566
+ }
1567
+ ],
1568
+ "listeners": [],
1569
+ "styles": [],
1570
+ "slots": [
1571
+ {
1572
+ "name": "default",
1573
+ "docs": "Slot for placing the content inside the anchor or button."
1574
+ }
1575
+ ],
1576
+ "parts": [],
1577
+ "dependents": [],
1578
+ "dependencies": [],
1579
+ "dependencyGraph": {}
1580
+ },
1315
1581
  {
1316
1582
  "filePath": "src/components/post-logo/post-logo.tsx",
1317
1583
  "encapsulation": "shadow",