@swisspost/design-system-components 9.0.0-next.15 → 9.0.0-next.16

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 (368) hide show
  1. package/dist/cjs/{check-url-1cf6fb0d.js → check-url-1ff4cf75.js} +2 -2
  2. package/dist/cjs/{index-0ee3ab4a.js → index-5acef487.js} +151 -325
  3. package/dist/cjs/{index-bea4ac42.js → index-f2eedfeb.js} +1 -1
  4. package/dist/cjs/index.cjs.js +23 -23
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{package-da5224f8.js → package-df497c3c.js} +1 -1
  7. package/dist/cjs/{post-accordion-412a5841.js → post-accordion-6f5ddd51.js} +4 -10
  8. package/dist/cjs/{post-accordion-item-0bcc2d1d.js → post-accordion-item-ff9179d7.js} +7 -14
  9. package/dist/cjs/post-accordion-item.cjs.entry.js +5 -5
  10. package/dist/cjs/post-accordion.cjs.entry.js +3 -3
  11. package/dist/cjs/{post-avatar-8c349298.js → post-avatar-7fde1cbe.js} +11 -23
  12. package/dist/cjs/post-avatar.cjs.entry.js +3 -3
  13. package/dist/cjs/{post-back-to-top-56f1cc8e.js → post-back-to-top-5aeed9be.js} +4 -8
  14. package/dist/cjs/post-back-to-top.cjs.entry.js +3 -3
  15. package/dist/cjs/{post-banner-6295a2a0.js → post-banner-c09c7292.js} +12 -26
  16. package/dist/cjs/post-banner.cjs.entry.js +5 -5
  17. package/dist/cjs/{post-breadcrumb-507266b2.js → post-breadcrumb-f661fea8.js} +8 -14
  18. package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +5 -5
  19. package/dist/cjs/post-breadcrumb.cjs.entry.js +4 -4
  20. package/dist/cjs/{post-card-control-d7eabec9.js → post-card-control-d2b3647f.js} +12 -43
  21. package/dist/cjs/post-card-control.cjs.entry.js +3 -3
  22. package/dist/cjs/post-closebutton_15.cjs.entry.js +5 -5
  23. package/dist/cjs/{post-collapsible-trigger-0ee4d82a.js → post-collapsible-trigger-d9b42b81.js} +5 -11
  24. package/dist/cjs/post-collapsible_2.cjs.entry.js +5 -5
  25. package/dist/cjs/post-components.cjs.js +2 -2
  26. package/dist/cjs/{post-footer-2bac2420.js → post-footer-1c85ec39.js} +4 -7
  27. package/dist/cjs/post-footer.cjs.entry.js +3 -3
  28. package/dist/cjs/{post-linkarea-fc2f9c72.js → post-linkarea-d10a7588.js} +2 -2
  29. package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
  30. package/dist/cjs/{post-menu-item-709448cc.js → post-menu-item-ed70f804.js} +4 -7
  31. package/dist/cjs/{post-popover-0a247c47.js → post-popover-73033a78.js} +5 -17
  32. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  33. package/dist/cjs/{post-rating-e09b9243.js → post-rating-5d7d52a2.js} +7 -20
  34. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  35. package/dist/cjs/{post-tab-header-7fb08fb1.js → post-tab-header-ae6a3dcd.js} +4 -7
  36. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  37. package/dist/cjs/{post-tab-panel-e35b6f6d.js → post-tab-panel-f6127d6a.js} +4 -7
  38. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  39. package/dist/cjs/{post-tabs-3967f88b.js → post-tabs-977e62c3.js} +3 -9
  40. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  41. package/dist/cjs/{post-tag-07461a94.js → post-tag-a7684644.js} +6 -17
  42. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  43. package/dist/cjs/{post-togglebutton-675dccb0.js → post-togglebutton-2fdebbc7.js} +70 -159
  44. package/dist/cjs/{post-tooltip-1c754653.js → post-tooltip-261f3348.js} +6 -17
  45. package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
  46. package/dist/collection/collection-manifest.json +2 -2
  47. package/dist/collection/components/post-accordion/post-accordion.js +4 -12
  48. package/dist/collection/components/post-accordion-item/post-accordion-item.js +6 -15
  49. package/dist/collection/components/post-avatar/post-avatar.js +11 -29
  50. package/dist/collection/components/post-back-to-top/post-back-to-top.js +4 -8
  51. package/dist/collection/components/post-banner/post-banner.js +11 -31
  52. package/dist/collection/components/post-breadcrumb/post-breadcrumb.js +7 -15
  53. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +3 -6
  54. package/dist/collection/components/post-card-control/post-card-control.js +10 -59
  55. package/dist/collection/components/post-collapsible/post-collapsible.js +3 -6
  56. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +3 -6
  57. package/dist/collection/components/post-footer/post-footer.js +4 -7
  58. package/dist/collection/components/post-header/post-header.css +1 -1
  59. package/dist/collection/components/post-header/post-header.js +15 -5
  60. package/dist/collection/components/post-icon/post-icon.js +9 -42
  61. package/dist/collection/components/post-language-option/post-language-option.css +1 -1
  62. package/dist/collection/components/post-language-option/post-language-option.js +7 -31
  63. package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
  64. package/dist/collection/components/post-language-switch/post-language-switch.js +8 -24
  65. package/dist/collection/components/post-list/post-list.js +5 -16
  66. package/dist/collection/components/post-logo/post-logo.js +3 -6
  67. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +5 -3
  68. package/dist/collection/components/post-megadropdown/post-megadropdown.js +10 -11
  69. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +4 -10
  70. package/dist/collection/components/post-menu/post-menu.js +4 -14
  71. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +4 -10
  72. package/dist/collection/components/post-popover/post-popover.js +3 -21
  73. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +6 -26
  74. package/dist/collection/components/post-rating/post-rating.js +5 -26
  75. package/dist/collection/components/post-tab-header/post-tab-header.js +4 -7
  76. package/dist/collection/components/post-tab-panel/post-tab-panel.js +4 -7
  77. package/dist/collection/components/post-tabs/post-tabs.js +3 -9
  78. package/dist/collection/components/post-tag/post-tag.js +4 -21
  79. package/dist/collection/components/post-togglebutton/post-togglebutton.js +3 -6
  80. package/dist/collection/components/post-tooltip/post-tooltip.js +5 -20
  81. package/dist/collection/utils/get-focusable-children.js +7 -1
  82. package/dist/collection/utils/property-checkers/check-url.js +2 -2
  83. package/{loaders/p-b095519d.js → dist/components/check-non-empty.js} +1 -1
  84. package/{loaders/p-3aba7629.js → dist/components/get-focusable-children.js} +7 -1
  85. package/dist/components/index.js +36 -36
  86. package/dist/components/{p-eabb09ad.js → index2.js} +5 -5
  87. package/dist/components/package.js +3 -0
  88. package/dist/components/post-accordion-item.js +1 -1
  89. package/dist/components/{p-f60c925d.js → post-accordion-item2.js} +13 -20
  90. package/dist/components/post-accordion.js +1 -1
  91. package/dist/components/{p-cf4cb17f.js → post-accordion2.js} +7 -13
  92. package/dist/components/post-avatar.js +1 -1
  93. package/dist/components/{p-4f60823b.js → post-avatar2.js} +13 -25
  94. package/dist/components/post-back-to-top.js +1 -1
  95. package/dist/components/{p-8b750ccb.js → post-back-to-top2.js} +9 -13
  96. package/dist/components/post-banner.js +1 -1
  97. package/dist/components/{p-f566dbe4.js → post-banner2.js} +18 -32
  98. package/dist/components/post-breadcrumb-item.js +1 -1
  99. package/{loaders/p-9e7120c3.js → dist/components/post-breadcrumb-item2.js} +6 -9
  100. package/dist/components/post-breadcrumb.js +1 -1
  101. package/dist/components/{p-23b12eda.js → post-breadcrumb2.js} +18 -24
  102. package/dist/components/post-card-control.js +1 -1
  103. package/dist/components/{p-6d591e1c.js → post-card-control2.js} +16 -47
  104. package/dist/components/post-closebutton.js +1 -1
  105. package/dist/components/{p-f5433ff7.js → post-closebutton2.js} +4 -4
  106. package/dist/components/post-collapsible-trigger.js +1 -1
  107. package/dist/components/{p-5366ff92.js → post-collapsible-trigger2.js} +8 -11
  108. package/dist/components/post-collapsible.js +1 -1
  109. package/{loaders/p-c2033fcd.js → dist/components/post-collapsible2.js} +5 -8
  110. package/dist/components/post-footer.js +1 -1
  111. package/dist/components/{p-d428a69c.js → post-footer2.js} +9 -12
  112. package/dist/components/post-header.js +1 -1
  113. package/dist/components/{p-54e097c7.js → post-header2.js} +21 -13
  114. package/dist/components/post-icon.js +1 -1
  115. package/dist/components/{p-fcec301c.js → post-icon2.js} +13 -34
  116. package/dist/components/post-language-option.js +1 -1
  117. package/dist/components/{p-a07e1562.js → post-language-option2.js} +11 -27
  118. package/dist/components/post-language-switch.js +1 -1
  119. package/dist/components/{p-61419ecc.js → post-language-switch2.js} +17 -29
  120. package/dist/components/post-linkarea.js +1 -1
  121. package/dist/components/{p-9a726750.js → post-linkarea2.js} +3 -3
  122. package/dist/components/post-list-item.js +1 -1
  123. package/dist/components/{p-9e4b1f10.js → post-list-item2.js} +2 -2
  124. package/dist/components/post-list.js +1 -1
  125. package/dist/components/{p-a3711af3.js → post-list2.js} +7 -16
  126. package/dist/components/post-logo.js +1 -1
  127. package/dist/components/{p-70e8b74f.js → post-logo2.js} +5 -8
  128. package/dist/components/post-mainnavigation.js +1 -1
  129. package/dist/components/{p-2e509a60.js → post-mainnavigation2.js} +7 -7
  130. package/dist/components/post-megadropdown-trigger.js +1 -1
  131. package/dist/components/{p-4b60e5f8.js → post-megadropdown-trigger2.js} +6 -12
  132. package/dist/components/post-megadropdown.js +1 -1
  133. package/dist/components/{p-46a6c5ec.js → post-megadropdown2.js} +12 -15
  134. package/dist/components/post-menu-item.js +1 -1
  135. package/{loaders/p-4bbdde2b.js → dist/components/post-menu-item2.js} +3 -3
  136. package/dist/components/post-menu-trigger.js +1 -1
  137. package/{loaders/p-15877641.js → dist/components/post-menu-trigger2.js} +7 -13
  138. package/dist/components/post-menu.js +1 -1
  139. package/{loaders/p-7202d5d4.js → dist/components/post-menu2.js} +8 -18
  140. package/dist/components/post-popover.js +1 -1
  141. package/dist/components/{p-621f6dce.js → post-popover2.js} +8 -20
  142. package/dist/components/post-popovercontainer.js +1 -1
  143. package/dist/components/{p-f59c8544.js → post-popovercontainer2.js} +7 -21
  144. package/dist/components/post-rating.js +1 -1
  145. package/dist/components/{p-d343757a.js → post-rating2.js} +9 -22
  146. package/dist/components/post-tab-header.js +1 -1
  147. package/dist/components/{p-32b7a0a8.js → post-tab-header2.js} +7 -10
  148. package/dist/components/post-tab-panel.js +1 -1
  149. package/dist/components/{p-db9fa77d.js → post-tab-panel2.js} +6 -9
  150. package/dist/components/post-tabs.js +1 -1
  151. package/dist/components/{p-efc1bc9c.js → post-tabs2.js} +5 -11
  152. package/dist/components/post-tag.js +1 -1
  153. package/dist/components/{p-e482b539.js → post-tag2.js} +8 -19
  154. package/dist/components/post-togglebutton.js +1 -1
  155. package/dist/components/{p-3385af29.js → post-togglebutton2.js} +5 -8
  156. package/dist/components/post-tooltip.js +1 -1
  157. package/dist/components/{p-477784a7.js → post-tooltip2.js} +9 -20
  158. package/dist/docs.d.ts +0 -8
  159. package/dist/docs.json +73 -213
  160. package/dist/esm/{check-url-0bd876f7.js → check-url-8ab230de.js} +2 -2
  161. package/dist/esm/{index-d1bbbd88.js → index-0aec278f.js} +1 -1
  162. package/dist/esm/{index-2c232bf2.js → index-40846676.js} +151 -325
  163. package/dist/esm/index.js +23 -23
  164. package/dist/esm/loader.js +2 -2
  165. package/dist/esm/package-2d498679.js +3 -0
  166. package/dist/esm/{post-accordion-27faacb3.js → post-accordion-58353f4e.js} +4 -10
  167. package/dist/esm/{post-accordion-item-518d7bd0.js → post-accordion-item-d5de3401.js} +7 -14
  168. package/dist/esm/post-accordion-item.entry.js +5 -5
  169. package/dist/esm/post-accordion.entry.js +3 -3
  170. package/dist/esm/{post-avatar-80b061df.js → post-avatar-15f11d92.js} +11 -23
  171. package/dist/esm/post-avatar.entry.js +3 -3
  172. package/dist/esm/{post-back-to-top-531e1376.js → post-back-to-top-9d976592.js} +4 -8
  173. package/dist/esm/post-back-to-top.entry.js +3 -3
  174. package/dist/esm/{post-banner-e10a3101.js → post-banner-26fce014.js} +12 -26
  175. package/dist/esm/post-banner.entry.js +5 -5
  176. package/dist/esm/{post-breadcrumb-54bac634.js → post-breadcrumb-de7e3ac6.js} +8 -14
  177. package/dist/esm/post-breadcrumb-item_2.entry.js +5 -5
  178. package/dist/esm/post-breadcrumb.entry.js +4 -4
  179. package/dist/esm/{post-card-control-ba354a50.js → post-card-control-6b0100b5.js} +12 -43
  180. package/dist/esm/post-card-control.entry.js +3 -3
  181. package/dist/esm/post-closebutton_15.entry.js +5 -5
  182. package/dist/esm/{post-collapsible-trigger-3dbedd6e.js → post-collapsible-trigger-97fd8cb0.js} +5 -11
  183. package/dist/esm/post-collapsible_2.entry.js +5 -5
  184. package/dist/esm/post-components.js +3 -3
  185. package/dist/esm/{post-footer-c73c4669.js → post-footer-82cbe9e1.js} +4 -7
  186. package/dist/esm/post-footer.entry.js +3 -3
  187. package/dist/esm/{post-linkarea-65638949.js → post-linkarea-43614f09.js} +2 -2
  188. package/dist/esm/post-linkarea.entry.js +3 -3
  189. package/dist/esm/{post-menu-item-fb5afbfe.js → post-menu-item-c5b1cd29.js} +4 -7
  190. package/dist/esm/{post-popover-50930237.js → post-popover-21dea796.js} +5 -17
  191. package/dist/esm/post-popover.entry.js +3 -3
  192. package/dist/esm/{post-rating-3077bc2d.js → post-rating-907e5175.js} +7 -20
  193. package/dist/esm/post-rating.entry.js +3 -3
  194. package/dist/esm/{post-tab-header-359fe858.js → post-tab-header-0f5fd7d0.js} +4 -7
  195. package/dist/esm/post-tab-header.entry.js +3 -3
  196. package/dist/esm/{post-tab-panel-1209fd6f.js → post-tab-panel-2bf324ae.js} +4 -7
  197. package/dist/esm/post-tab-panel.entry.js +3 -3
  198. package/dist/esm/{post-tabs-3a9acd87.js → post-tabs-52cf8ed7.js} +3 -9
  199. package/dist/esm/post-tabs.entry.js +3 -3
  200. package/dist/esm/{post-tag-c8c9b213.js → post-tag-d53f4bc7.js} +6 -17
  201. package/dist/esm/post-tag.entry.js +3 -3
  202. package/dist/esm/{post-togglebutton-1e02ab7c.js → post-togglebutton-6cf6dae6.js} +70 -159
  203. package/dist/esm/{post-tooltip-65892d5f.js → post-tooltip-f1f56486.js} +6 -17
  204. package/dist/esm/post-tooltip.entry.js +5 -5
  205. package/dist/post-components/index.esm.js +1 -1
  206. package/dist/post-components/p-100dc10a.js +1 -0
  207. package/dist/post-components/p-14738957.entry.js +1 -0
  208. package/dist/post-components/{p-a680d8b0.entry.js → p-19e8b653.entry.js} +1 -1
  209. package/dist/post-components/p-1e737ab3.entry.js +1 -0
  210. package/dist/post-components/p-26e5d866.js +1 -0
  211. package/dist/post-components/p-29d56d5f.js +1 -0
  212. package/dist/post-components/p-3f79a7fa.entry.js +1 -0
  213. package/dist/post-components/p-4f9b0504.entry.js +1 -0
  214. package/dist/post-components/p-5753ae1e.entry.js +1 -0
  215. package/dist/post-components/p-59373941.js +1 -0
  216. package/dist/post-components/p-5a8f34ff.entry.js +1 -0
  217. package/dist/post-components/{p-68defca9.js → p-5d05f008.js} +1 -1
  218. package/dist/post-components/p-5ecb67d4.entry.js +1 -0
  219. package/dist/post-components/p-62e62248.js +1 -0
  220. package/dist/post-components/p-6a251a96.entry.js +1 -0
  221. package/dist/post-components/p-6a7ee274.js +1 -0
  222. package/dist/post-components/p-6af43aa2.js +1 -0
  223. package/dist/post-components/p-771e6deb.entry.js +1 -0
  224. package/dist/post-components/p-78d39bb1.entry.js +1 -0
  225. package/dist/post-components/p-7d9f4529.js +1 -0
  226. package/dist/post-components/p-816de06e.entry.js +1 -0
  227. package/dist/post-components/p-870920c5.js +1 -0
  228. package/dist/post-components/p-8bd50210.entry.js +1 -0
  229. package/dist/post-components/p-91ffc428.js +1 -0
  230. package/dist/post-components/p-9c8b4442.js +1 -0
  231. package/dist/post-components/p-a6476cb6.js +1 -0
  232. package/dist/post-components/p-a98c64e1.js +1 -0
  233. package/dist/post-components/p-ac04c807.js +1 -0
  234. package/dist/post-components/p-b19a9362.js +1 -0
  235. package/dist/post-components/p-b34d8f5f.entry.js +1 -0
  236. package/dist/post-components/p-b753fc35.entry.js +1 -0
  237. package/dist/post-components/p-cc9d8272.js +1 -0
  238. package/dist/post-components/p-d7cba03a.entry.js +1 -0
  239. package/dist/post-components/p-da85b951.entry.js +1 -0
  240. package/dist/post-components/{p-458d4560.js → p-e7865717.js} +3 -3
  241. package/dist/post-components/p-f57363d3.entry.js +1 -0
  242. package/dist/post-components/{p-a7199df3.js → p-f5d73dcc.js} +1 -1
  243. package/dist/post-components/p-f6e86d70.js +1 -0
  244. package/dist/post-components/p-f8e7cdec.js +1 -0
  245. package/dist/post-components/p-fb8f5195.js +1 -0
  246. package/dist/post-components/p-ff1fd4d8.entry.js +1 -0
  247. package/dist/post-components/p-ff95dcd3.js +2 -0
  248. package/dist/post-components/post-components.esm.js +1 -1
  249. package/dist/types/components/post-header/post-header.d.ts +2 -0
  250. package/dist/types/stencil-public-runtime.d.ts +0 -6
  251. package/dist/types/utils/get-focusable-children.d.ts +1 -1
  252. package/dist/types/utils/property-checkers/check-url.d.ts +1 -1
  253. package/dist/types/utils/property-checkers/index.d.ts +1 -1
  254. package/{dist/components/p-b095519d.js → loaders/check-non-empty.js} +1 -1
  255. package/{dist/components/p-3aba7629.js → loaders/get-focusable-children.js} +7 -1
  256. package/loaders/index.js +2 -2
  257. package/loaders/{p-56ad4838.js → index2.js} +5 -5
  258. package/loaders/package.js +3 -0
  259. package/loaders/post-accordion-item.js +1 -1
  260. package/loaders/{p-e57c041b.js → post-accordion-item2.js} +13 -20
  261. package/loaders/post-accordion.js +7 -13
  262. package/loaders/post-avatar.js +13 -25
  263. package/loaders/post-back-to-top.js +9 -13
  264. package/loaders/post-banner.js +18 -32
  265. package/loaders/post-breadcrumb-item.js +1 -1
  266. package/{dist/components/p-80478535.js → loaders/post-breadcrumb-item2.js} +6 -9
  267. package/loaders/post-breadcrumb.js +18 -24
  268. package/loaders/post-card-control.js +16 -47
  269. package/loaders/post-closebutton.js +4 -4
  270. package/loaders/post-collapsible-trigger.js +1 -1
  271. package/loaders/{p-5366ff92.js → post-collapsible-trigger2.js} +8 -11
  272. package/loaders/post-collapsible.js +1 -1
  273. package/{dist/components/p-10c1a15a.js → loaders/post-collapsible2.js} +5 -8
  274. package/loaders/post-footer.js +9 -12
  275. package/loaders/post-header.js +21 -13
  276. package/loaders/post-icon.js +1 -1
  277. package/loaders/{p-51b50ca3.js → post-icon2.js} +13 -34
  278. package/loaders/post-language-option.js +11 -27
  279. package/loaders/post-language-switch.js +17 -29
  280. package/loaders/post-linkarea.js +3 -3
  281. package/loaders/post-list-item.js +2 -2
  282. package/loaders/post-list.js +7 -16
  283. package/loaders/post-logo.js +5 -8
  284. package/loaders/post-mainnavigation.js +7 -7
  285. package/loaders/post-megadropdown-trigger.js +6 -12
  286. package/loaders/post-megadropdown.js +12 -15
  287. package/loaders/post-menu-item.js +1 -1
  288. package/{dist/components/p-4bbdde2b.js → loaders/post-menu-item2.js} +3 -3
  289. package/loaders/post-menu-trigger.js +1 -1
  290. package/{dist/components/p-15877641.js → loaders/post-menu-trigger2.js} +7 -13
  291. package/loaders/post-menu.js +1 -1
  292. package/{dist/components/p-7202d5d4.js → loaders/post-menu2.js} +8 -18
  293. package/loaders/post-popover.js +8 -20
  294. package/loaders/post-popovercontainer.js +1 -1
  295. package/loaders/{p-f59c8544.js → post-popovercontainer2.js} +7 -21
  296. package/loaders/post-rating.js +9 -22
  297. package/loaders/post-tab-header.js +7 -10
  298. package/loaders/post-tab-panel.js +6 -9
  299. package/loaders/post-tabs.js +5 -11
  300. package/loaders/post-tag.js +8 -19
  301. package/loaders/post-togglebutton.js +5 -8
  302. package/loaders/post-tooltip.js +9 -20
  303. package/package.json +6 -6
  304. package/dist/components/p-3e8554e7.js +0 -1646
  305. package/dist/components/p-74e13cb1.js +0 -3
  306. package/dist/esm/package-fe605ce2.js +0 -3
  307. package/dist/post-components/p-05d809f2.entry.js +0 -1
  308. package/dist/post-components/p-122f969e.js +0 -1
  309. package/dist/post-components/p-16c08e07.entry.js +0 -1
  310. package/dist/post-components/p-16f883f9.entry.js +0 -1
  311. package/dist/post-components/p-1fda117c.js +0 -1
  312. package/dist/post-components/p-23a94c36.entry.js +0 -1
  313. package/dist/post-components/p-2ea6e06e.js +0 -1
  314. package/dist/post-components/p-36527185.js +0 -1
  315. package/dist/post-components/p-368cee4c.js +0 -1
  316. package/dist/post-components/p-3a408d41.entry.js +0 -1
  317. package/dist/post-components/p-43caa6b0.js +0 -1
  318. package/dist/post-components/p-52508346.entry.js +0 -1
  319. package/dist/post-components/p-54ae1f02.js +0 -1
  320. package/dist/post-components/p-55139ed4.js +0 -1
  321. package/dist/post-components/p-5a051654.entry.js +0 -1
  322. package/dist/post-components/p-5b058c27.entry.js +0 -1
  323. package/dist/post-components/p-5be385f2.js +0 -1
  324. package/dist/post-components/p-5cc36eb9.entry.js +0 -1
  325. package/dist/post-components/p-61ebfb27.js +0 -1
  326. package/dist/post-components/p-66552bf5.entry.js +0 -1
  327. package/dist/post-components/p-74dbfcd3.js +0 -1
  328. package/dist/post-components/p-74e13cb1.js +0 -1
  329. package/dist/post-components/p-8abc347f.js +0 -1
  330. package/dist/post-components/p-8fe69fae.js +0 -1
  331. package/dist/post-components/p-902e52fb.entry.js +0 -1
  332. package/dist/post-components/p-9bf305da.entry.js +0 -1
  333. package/dist/post-components/p-a7683dcd.entry.js +0 -1
  334. package/dist/post-components/p-aaef3917.js +0 -1
  335. package/dist/post-components/p-ad2a716a.entry.js +0 -1
  336. package/dist/post-components/p-b5758f64.js +0 -1
  337. package/dist/post-components/p-b64f5ba4.entry.js +0 -1
  338. package/dist/post-components/p-cb9ab938.js +0 -1
  339. package/dist/post-components/p-ce4a94d4.entry.js +0 -1
  340. package/dist/post-components/p-d9833667.js +0 -2
  341. package/dist/post-components/p-dc8a4c6f.js +0 -1
  342. package/dist/post-components/p-e725b6f4.js +0 -1
  343. package/dist/post-components/p-ecc6a8fa.entry.js +0 -1
  344. package/dist/post-components/p-fed91ff7.entry.js +0 -1
  345. package/loaders/p-3e8554e7.js +0 -1646
  346. package/loaders/p-74e13cb1.js +0 -3
  347. /package/dist/components/{p-9748a355.js → attribute-observer.js} +0 -0
  348. /package/dist/components/{p-bacd3e2c.js → check-one-of.js} +0 -0
  349. /package/dist/components/{p-8562c7dc.js → check-type.js} +0 -0
  350. /package/dist/components/{p-440193f4.js → constants.js} +0 -0
  351. /package/dist/components/{p-e1baac59.js → debounce.js} +0 -0
  352. /package/dist/components/{p-64e3de38.js → fade.js} +0 -0
  353. /package/dist/components/{p-fc91cbc2.js → get-root.js} +0 -0
  354. /package/dist/components/{p-247a1668.js → heading-levels.js} +0 -0
  355. /package/dist/components/{p-5959f2bd.js → index.browser.js} +0 -0
  356. /package/dist/components/{p-f7b9f90a.js → index3.js} +0 -0
  357. /package/dist/components/{p-4af6dbed.js → slide.js} +0 -0
  358. /package/loaders/{p-9748a355.js → attribute-observer.js} +0 -0
  359. /package/loaders/{p-bacd3e2c.js → check-one-of.js} +0 -0
  360. /package/loaders/{p-8562c7dc.js → check-type.js} +0 -0
  361. /package/loaders/{p-440193f4.js → constants.js} +0 -0
  362. /package/loaders/{p-e1baac59.js → debounce.js} +0 -0
  363. /package/loaders/{p-64e3de38.js → fade.js} +0 -0
  364. /package/loaders/{p-fc91cbc2.js → get-root.js} +0 -0
  365. /package/loaders/{p-247a1668.js → heading-levels.js} +0 -0
  366. /package/loaders/{p-5959f2bd.js → index.browser.js} +0 -0
  367. /package/loaders/{p-f7b9f90a.js → index3.js} +0 -0
  368. /package/loaders/{p-4af6dbed.js → slide.js} +0 -0
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, g as getElement, h, H as Host, c as createEvent } from './index-2c232bf2.js';
2
- import { v as version } from './package-fe605ce2.js';
1
+ import { r as registerInstance, g as getElement, h, H as Host, c as createEvent } from './index-40846676.js';
2
+ import { v as version } from './package-2d498679.js';
3
3
  import { s as slideUp, a as slideDown } from './slide-62768431.js';
4
- import { c as checkEmptyOrOneOf, d as checkEmptyOrType, b as checkEmptyOrUrl } from './index-d1bbbd88.js';
4
+ import { c as checkEmptyOrOneOf, d as checkEmptyOrType, b as checkEmptyOrUrl } from './index-0aec278f.js';
5
5
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
6
6
  import { c as checkType } from './check-type-a6ccc9a3.js';
7
7
  import { n as nanoid } from './index.browser-51485f85.js';
@@ -174,18 +174,26 @@ const focusDisablingSelector = `:where(${[
174
174
  'details:not([open]) > *:not(details > summary:first-of-type)',
175
175
  'details:not([open]) > *:not(details > summary:first-of-type) *',
176
176
  '[tabindex^="-"]',
177
+ '[hidden]:not([hidden="false"])',
177
178
  ].join(',')})`;
178
179
  function getFocusableChildren(element) {
179
- return element.querySelectorAll(`& > ${focusableSelector}:not(${focusDisablingSelector})`);
180
+ const focusableChildren = element.querySelectorAll(`${focusableSelector}:not(${focusDisablingSelector})`);
181
+ const visibleFocusableChildren = Array.from(focusableChildren).filter(child => {
182
+ const style = window.getComputedStyle(child.parentElement);
183
+ return style.display !== 'none' && style.visibility !== 'hidden';
184
+ });
185
+ return visibleFocusableChildren;
180
186
  }
181
187
 
182
- const postHeaderCss = "*,::before,::after{box-sizing:border-box}:host{z-index:1090;--global-header-height:72px;--global-header-minimal-height:24px;--local-header-height:112px;--local-header-min-height:56px;--header-height:calc(var(--global-header-height) + var(--local-header-height));z-index:1020;position:relative}@media screen and (min-width: 1024px){:host{--global-header-reduced-height:24px;--main-navigation-height:56px}}@media screen and (max-width: 1023.98px){:host{--global-header-height:64px;--local-header-height:48px;--local-header-min-height:48px;--main-navigation-height:0px}}:host(:not(:has([slot=title]))){--local-header-height:var(--main-navigation-height)}:host(:not(:has([slot=title]))) .local-header{padding-block-start:0}:host(:not(:has([slot=title]))) .local-sub{display:none}.d-flex{display:flex}.space-between{justify-content:space-between}.global-header{background-color:#fc0;display:flex;justify-content:space-between;align-items:center;position:sticky;padding-inline:var(--post-core-dimension-4);height:var(--global-header-height)}@media screen and (max-width: 1023.98px){.global-header{z-index:3;inset-block-start:0}}@media screen and (min-width: 1024px){.global-header{z-index:5;padding-inline-end:var(--post-core-dimension-12);inset-block-start:calc((var(--global-header-height) - var(--global-header-reduced-height))*-1)}}slot[name=post-logo]{align-self:flex-end}.global-sub{display:flex;align-items:center;gap:var(--post-core-dimension-24)}.align-end{align-items:flex-end}.logo{flex:1 0 auto;height:var(--global-header-height);width:var(--global-header-height);min-height:var(--global-header-reduced-height);align-self:flex-end}@media screen and (min-width: 1024px){.logo{height:calc(var(--global-header-height) - var(--header-scroll-top))}}::slotted(ul){margin-block:0 !important;list-style:none;display:flex;padding-left:0;gap:1rem;flex-shrink:0 !important}.local-header{display:flex;position:sticky;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--post-core-dimension-8);min-height:var(--local-header-min-height);background:var(--post-core-color-brand-white);transition:box-shadow .2s ease-in-out}@media screen and (min-width: 1024px){.local-header{z-index:3;inset-block-start:calc(-1*(var(--local-header-height) - var(--main-navigation-height)) + var(--global-header-reduced-height));padding-block-start:var(--post-core-dimension-18);box-shadow:var(--post-core-elevation-3)}}@media screen and (max-width: 1023.98px){.local-header{z-index:2;inset-block-start:var(--global-header-height);padding-block:var(--post-core-dimension-9);flex-wrap:wrap}.local-header.local-header-mobile-extended{border-bottom:1px solid var(--post-core-color-sandgrey-012)}.local-header:not(.title-header-mobile-extended){box-shadow:var(--post-core-elevation-3)}}.local-sub{margin-inline-end:var(--post-core-dimension-16)}::slotted(.list-inline){margin:-8px 0 !important;z-index:3 !important;position:relative !important}::slotted(h1){margin:0 !important;flex-shrink:10;z-index:3}@media screen and (min-width: 600px){::slotted(h1){margin-inline-start:var(--post-core-dimension-12) !important}}@media screen and (max-width: 599.98px){::slotted(h1){margin-inline-start:var(--post-core-dimension-8) !important}}@media screen and (min-width: 1024px){::slotted(h1){font-size:var(--post-core-font-size-28) !important}}@media screen and (max-width: 1023.98px){::slotted(h1){font-size:var(--post-core-font-size-20) !important;max-width:calc(100vw - var(--post-core-dimension-8) - var(--post-core-dimension-16))}}@media screen and (min-width: 1024px){.mobile-toggle{display:none}}.navigation{width:100%}@media screen and (min-width: 1024px){.navigation{inset-block-start:var(--global-header-minimal-height)}.navigation::before{display:block;content:\"\";position:absolute;inset:0;z-index:2;background:var(--post-core-color-brand-white)}}@media screen and (max-width: 1023.98px){.navigation{position:fixed;z-index:1;inset-inline:0;background:var(--post-core-color-brand-white);inset-block-end:calc(100vh - var(--header-height))}::slotted(post-mainnavigation),.navigation-footer{display:none;flex-direction:column;padding-block:var(--post-core-dimension-16) var(--post-core-dimension-24);padding-inline:var(--post-core-dimension-32)}.navigation.extended ::slotted(post-mainnavigation),.navigation.extended .navigation-footer{display:flex}.navigation.extended{height:calc(100vh - var(--header-height));display:flex;flex-direction:column}.navigation.extended ::slotted(post-mainnavigation){flex-grow:1 !important}::slotted(post-mainnavigation){background-color:var(--post-core-color-sandgrey-002);gap:var(--post-core-dimension-32)}.navigation-footer{background-color:var(--post-core-color-sandgrey-006);gap:var(--post-core-dimension-24)}}@media screen and (max-width: 599.98px){::slotted(post-mainnavigation),.navigation-footer{padding-inline:var(--post-core-dimension-16)}}";
188
+ const postHeaderCss = "*,::before,::after{box-sizing:border-box}:host{z-index:1090;--global-header-height:72px;--global-header-minimal-height:24px;--local-header-height:112px;--local-header-min-height:56px;--header-height:calc(var(--global-header-height) + var(--local-header-height));z-index:1020;position:relative}@media screen and (min-width: 1024px){:host{--global-header-reduced-height:24px;--main-navigation-height:56px}}@media screen and (max-width: 1023.98px){:host{--global-header-height:64px;--local-header-height:48px;--local-header-min-height:48px;--main-navigation-height:0px}}:host(:not(:has([slot=title]))){--local-header-height:var(--main-navigation-height)}:host(:not(:has([slot=title]))) .local-header{padding-block-start:0}:host(:not(:has([slot=title]))) .local-sub{display:none}.d-flex{display:flex}.space-between{justify-content:space-between}.global-header{background-color:#fc0;display:flex;justify-content:space-between;position:sticky;padding-inline:var(--post-core-dimension-4);height:var(--global-header-height)}@media screen and (max-width: 1023.98px){.global-header{z-index:3;inset-block-start:0}}@media screen and (min-width: 1024px){.global-header{z-index:5;padding-inline-end:var(--post-core-dimension-12);inset-block-start:calc((var(--global-header-height) - var(--global-header-reduced-height))*-1)}}.global-sub{display:flex;align-items:center;gap:var(--post-core-dimension-24)}.align-end{align-items:flex-end}.logo{flex:1 0 auto;height:var(--global-header-height);width:var(--global-header-height);min-height:var(--global-header-reduced-height);align-self:flex-end}@media screen and (min-width: 1024px){.logo{height:calc(var(--global-header-height) - var(--header-scroll-top))}}::slotted(ul){margin-block:0 !important;list-style:none;display:flex;padding-left:0;gap:1rem;flex-shrink:0 !important}.local-header{display:flex;position:sticky;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--post-core-dimension-8);min-height:var(--local-header-min-height);background:var(--post-core-color-brand-white);transition:box-shadow .2s ease-in-out}@media screen and (min-width: 1024px){.local-header{z-index:3;inset-block-start:calc(-1*(var(--local-header-height) - var(--main-navigation-height)) + var(--global-header-reduced-height));padding-block-start:var(--post-core-dimension-18);box-shadow:var(--post-core-elevation-3)}}@media screen and (max-width: 1023.98px){.local-header{z-index:2;inset-block-start:var(--global-header-height);padding-block:var(--post-core-dimension-9);flex-wrap:wrap}.local-header.local-header-mobile-extended{border-bottom:1px solid var(--post-core-color-sandgrey-012)}.local-header:not(.title-header-mobile-extended){box-shadow:var(--post-core-elevation-3)}}.local-sub{margin-inline-end:var(--post-core-dimension-16)}::slotted(.list-inline){margin:-8px 0 !important;z-index:3 !important;position:relative !important}::slotted(h1){margin:0 !important;flex-shrink:10;z-index:3}@media screen and (min-width: 600px){::slotted(h1){margin-inline-start:var(--post-core-dimension-12) !important}}@media screen and (max-width: 599.98px){::slotted(h1){margin-inline-start:var(--post-core-dimension-8) !important}}@media screen and (min-width: 1024px){::slotted(h1){font-size:var(--post-core-font-size-28) !important}}@media screen and (max-width: 1023.98px){::slotted(h1){font-size:var(--post-core-font-size-20) !important;max-width:calc(100vw - var(--post-core-dimension-8) - var(--post-core-dimension-16))}}@media screen and (min-width: 1024px){.mobile-toggle{display:none}}.navigation{width:100%}@media screen and (min-width: 1024px){.navigation{inset-block-start:var(--global-header-minimal-height)}.navigation::before{display:block;content:\"\";position:absolute;inset:0;z-index:2;background:var(--post-core-color-brand-white)}}@media screen and (max-width: 1023.98px){.navigation{position:fixed;z-index:1;inset-inline:0;background:var(--post-core-color-brand-white);inset-block-end:calc(100vh - var(--header-height))}::slotted(post-mainnavigation),.navigation-footer{display:none;flex-direction:column;padding-block:var(--post-core-dimension-16) var(--post-core-dimension-24);padding-inline:var(--post-core-dimension-32)}.navigation.extended ::slotted(post-mainnavigation),.navigation.extended .navigation-footer{display:flex}.navigation.extended{height:calc(100vh - var(--header-height));display:flex;flex-direction:column}.navigation.extended ::slotted(post-mainnavigation){flex-grow:1 !important}::slotted(post-mainnavigation){background-color:var(--post-core-color-sandgrey-002);gap:var(--post-core-dimension-32)}.navigation-footer{background-color:var(--post-core-color-sandgrey-006);gap:var(--post-core-dimension-24)}}@media screen and (max-width: 599.98px){::slotted(post-mainnavigation),.navigation-footer{padding-inline:var(--post-core-dimension-16)}}";
183
189
  const PostHeaderStyle0 = postHeaderCss;
184
190
 
185
191
  const PostHeader = class {
186
192
  constructor(hostRef) {
187
193
  registerInstance(this, hostRef);
188
194
  this.postUpdateDevice = createEvent(this, "postUpdateDevice", 7);
195
+ this.device = null;
196
+ this.mobileMenuExtended = false;
189
197
  }
190
198
  firstFocusableEl;
191
199
  lastFocusableEl;
@@ -202,9 +210,10 @@ const PostHeader = class {
202
210
  this.handleScrollEvent();
203
211
  this.getFocusableElements();
204
212
  }
213
+ componentDidLoad() {
214
+ this.updateLocalHeaderHeight();
215
+ }
205
216
  get host() { return getElement(this); }
206
- device = null;
207
- mobileMenuExtended = false;
208
217
  frozeBody(isMobileMenuExtended) {
209
218
  document.body.style.overflow = isMobileMenuExtended ? 'hidden' : '';
210
219
  if (isMobileMenuExtended) {
@@ -301,6 +310,12 @@ const PostHeader = class {
301
310
  return value === 'auto' || value === 'scroll';
302
311
  });
303
312
  }
313
+ updateLocalHeaderHeight() {
314
+ requestAnimationFrame(() => {
315
+ const mhh = this.host.shadowRoot.querySelector('.local-header')?.clientHeight || 0;
316
+ this.host.style.setProperty('--main-header-height', `${mhh}px`);
317
+ });
318
+ }
304
319
  handleResize() {
305
320
  const previousDevice = this.device;
306
321
  let newDevice;
@@ -319,8 +334,7 @@ const PostHeader = class {
319
334
  this.toggleMobileMenu();
320
335
  this.mobileMenuAnimation.finish(); // no animation
321
336
  }
322
- const mhh = this.host.shadowRoot.querySelector('.local-header')?.clientHeight;
323
- this.host.style.setProperty('--main-header-height', `${mhh}px`);
337
+ this.updateLocalHeaderHeight();
324
338
  // Apply only on change for doing work only when necessary
325
339
  if (newDevice !== previousDevice) {
326
340
  this.device = newDevice;
@@ -342,7 +356,7 @@ const PostHeader = class {
342
356
  return (h("div", { ref: el => (this.mobileMenu = el), class: navigationClasses.join(' ') }, h("slot", { name: "post-mainnavigation" }), (this.device === 'mobile' || this.device === 'tablet') && (h("div", { class: "navigation-footer" }, h("slot", { name: "meta-navigation" }), h("slot", { name: "post-language-switch" })))));
343
357
  }
344
358
  render() {
345
- return (h(Host, { key: 'efbf8028f2abf376f497081996dba759f5885630', version: version }, h("div", { key: 'ecaaea274045453ce869f36e8a1155626b1818ba', class: "global-header" }, h("div", { key: '2fda0d65321ad1cbbc47b731f095e0d9b6694d99', class: "global-sub" }, h("div", { key: '24864d5f18c9d923717cc2e996395cff3bd6ce8b', class: "logo" }, h("slot", { key: 'ba82d7f62bb845732fe6066bcdc7eef15913c9e6', name: "post-logo" }))), h("div", { key: 'a0ddea4e564fca1e286998c73fea75eb8c228428', class: "global-sub" }, this.device === 'desktop' && h("slot", { key: '0d7aa11452eb69fe28914ff7787c6dc206fd4009', name: "meta-navigation" }), h("slot", { key: 'e92b7b9db6e16e8fcecb1ca74efa63942dd542c5', name: "global-controls" }), this.device === 'desktop' && h("slot", { key: 'c68984037a71d5ac54828f6cf2367c3b07e428fc', name: "post-language-switch" }), h("div", { key: '70fb5040dc2f000c2afa286bb673ae9cf88521cf', onClick: () => this.toggleMobileMenu(), class: "mobile-toggle" }, h("slot", { key: '509fb81812262cd9efdb3a562e48f72b0d29e376', name: "post-togglebutton" })))), h("div", { key: '393d1040bad2f85caced5b4a8ff02e30fa5fd5f1', class: 'local-header ' + (this.mobileMenuExtended ? 'local-header-mobile-extended' : '') }, h("slot", { key: '786cc114aae985a0612d3cb044684290e3026462', name: "title" }), h("div", { key: 'd4f68653a09bbf0b222873ed5d23fec6ba9d8f6f', class: "local-sub" }, h("slot", { key: '0ad7dda5490964e9a8eae5e0bf66a117882f7a06', name: "local-controls" }), h("slot", { key: 'bddc01c7696f456c38c200b330767a0f1b353d88' })), this.device === 'desktop' && this.renderNavigation()), this.device !== 'desktop' && this.renderNavigation()));
359
+ return (h(Host, { key: '18b9e47312a3896f1c68a9270332b2bf21ea2518', version: version }, h("div", { key: '6b30ae3fc22471a7d1f29f19da944a3c4eac009c', class: "global-header" }, h("div", { key: '943cd0d6a4fa9e0b15196b54fe1f5e765b6270c5', class: "global-sub" }, h("div", { key: '7c34ab9cd2a5fb380b0201673364a275d74ca1e3', class: "logo" }, h("slot", { key: '13b6bb1b42951d4982fd0cca9f65f3cba9a361df', name: "post-logo" }))), h("div", { key: '1955153864e1825e2fd56d58b9966982bc4aeb7f', class: "global-sub" }, this.device === 'desktop' && h("slot", { key: 'f33af5becab53114e886c288feabafd4a589dab6', name: "meta-navigation" }), h("slot", { key: 'e33c827d5e0101a6fc9ccaf3f9e3b9ea1a689626', name: "global-controls" }), this.device === 'desktop' && h("slot", { key: 'bbc08ab621b41858f6f4c0fa03796c1800d3ef2b', name: "post-language-switch" }), h("div", { key: '352681a469b8dd46271ffe6b36002d174a5586c3', onClick: () => this.toggleMobileMenu(), class: "mobile-toggle" }, h("slot", { key: 'a6c79f674e94a2046f47d8fc7a6ce7722a7e5125', name: "post-togglebutton" })))), h("div", { key: '8b1219759b44feaf230a366a39ea8cc211893b9c', class: 'local-header ' + (this.mobileMenuExtended ? 'local-header-mobile-extended' : '') }, h("slot", { key: '070092f87eceb4a4ca2c19394a80ffb20833c0c9', name: "title" }), h("div", { key: '5044efdcf0a9b341eb9f168762f86dd516236ad1', class: "local-sub" }, h("slot", { key: '48e38669ec64444c48f8b84f95590d36cd090ff7', name: "local-controls" }), h("slot", { key: 'cbf9652dfc5008322459b6dcb0623135f7984e61' })), this.device === 'desktop' && this.renderNavigation()), this.device !== 'desktop' && this.renderNavigation()));
346
360
  }
347
361
  static get watchers() { return {
348
362
  "mobileMenuExtended": ["frozeBody"]
@@ -366,56 +380,35 @@ const ANIMATION_KEYS = [...ANIMATION_NAMES];
366
380
  const PostIcon = class {
367
381
  constructor(hostRef) {
368
382
  registerInstance(this, hostRef);
383
+ this.animation = null;
384
+ this.base = null;
385
+ this.flipH = false;
386
+ this.flipV = false;
387
+ this.name = undefined;
388
+ this.rotate = null;
389
+ this.scale = null;
369
390
  }
370
391
  get host() { return getElement(this); }
371
- /**
372
- * The name of the animation.
373
- */
374
- animation = null;
375
392
  validateAnimation(newValue = this.animation) {
376
393
  if (newValue !== undefined)
377
394
  checkEmptyOrOneOf(newValue, ANIMATION_KEYS, `The post-icon "animation" prop requires one of the following values: ${ANIMATION_KEYS.join(', ')}.`);
378
395
  }
379
- /**
380
- * The base path, where the icons are located (must be a public url).<br/>Leave this field empty to use the default cdn url.
381
- */
382
- base = null;
383
396
  validateBase(newValue = this.base) {
384
397
  checkEmptyOrType(newValue, 'string', 'The post-icon "base" prop should be a string.');
385
398
  }
386
- /**
387
- * When set to `true`, the icon will be flipped horizontally.
388
- */
389
- flipH = false;
390
399
  validateFlipH(newValue = this.flipH) {
391
400
  checkEmptyOrType(newValue, 'boolean', 'The post-icon "flipH" prop should be a boolean.');
392
401
  }
393
- /**
394
- * When set to `true`, the icon will be flipped vertically.
395
- */
396
- flipV = false;
397
402
  validateFlipV(newValue = this.flipV) {
398
403
  checkEmptyOrType(newValue, 'boolean', 'The post-icon "flipV" prop should be a boolean.');
399
404
  }
400
- /**
401
- * The name/id of the icon (e.g. 1000, 1001, ...).
402
- */
403
- name;
404
405
  validateName(newValue = this.name) {
405
406
  checkNonEmpty(newValue, 'The post-icon "name" prop is required!.');
406
407
  checkType(newValue, 'string', 'The post-icon "name" prop should be a string.');
407
408
  }
408
- /**
409
- * The number of degree for the css rotate transformation.
410
- */
411
- rotate = null;
412
409
  validateRotate(newValue = this.rotate) {
413
410
  checkEmptyOrType(newValue, 'number', 'The post-icon "rotate" prop should be a number.');
414
411
  }
415
- /**
416
- * The number for the css scale transformation.
417
- */
418
- scale = null;
419
412
  validateScale(newValue = this.scale) {
420
413
  checkEmptyOrType(newValue, 'number', 'The post-icon "scale" prop should be a number.');
421
414
  }
@@ -501,45 +494,29 @@ const PostIcon = class {
501
494
  };
502
495
  PostIcon.style = PostIconStyle0;
503
496
 
504
- const postLanguageOptionCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */post-language-option{display:inline-block}post-language-option button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}post-language-option a{color:inherit;text-decoration:none}post-language-option :is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;height:100%;width:100%;padding:var(--post-language-option-padding);border-radius:2px}post-language-option :is(a,button){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}post-language-option:where([variant=list]) :is(a,button){width:40px;height:40px}post-language-option:where([variant=list]) :is(a,button):hover{color:#504f4b}post-language-option:where([variant=list]) :is(a,button)[aria-current=true],post-language-option:where([variant=list]) :is(a,button)[aria-current=page]{background-color:#050400;color:#fff}post-language-option:where([variant=list]) :is(a,button)[aria-current=true]:hover,post-language-option:where([variant=list]) :is(a,button)[aria-current=page]:hover{background-color:#504f4b}post-language-option:where([variant=menu]){width:100%}post-language-option:where([variant=menu]) :is(a,button){padding-block:13px;padding-inline:24px;box-sizing:border-box;position:relative;left:-1px;width:calc(100% + 2px)}post-language-option:where([variant=menu]) :is(a,button)[aria-current=true]::after,post-language-option:where([variant=menu]) :is(a,button)[aria-current=page]::after{content:\"\";left:0;height:3px;background-color:#050400;width:100%;display:block;position:absolute;bottom:3px}post-language-option:where([variant=menu]) :is(a,button)[aria-current=true]:hover::after,post-language-option:where([variant=menu]) :is(a,button)[aria-current=page]:hover::after{background-color:#504f4b}post-language-option:where([variant=menu]) :is(a,button):hover{color:#504f4b}";
497
+ const postLanguageOptionCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */post-language-option{display:inline-block}post-language-option button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}post-language-option a{color:inherit;text-decoration:none}post-language-option :is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;height:100%;width:100%;border-radius:2px}post-language-option :is(a,button){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}post-language-option:has([aria-current]):not([aria-current=false]){display:none}post-language-option:where([variant=list]) :is(a,button){width:40px;height:40px;border-radius:2px}post-language-option:where([variant=list]) :is(a,button):hover{color:#504f4b}post-language-option:where([variant=menu]){width:100%}post-language-option:where([variant=menu]) :is(a,button){padding-block:13px;padding-inline:24px;box-sizing:border-box;position:relative;left:-1px;width:calc(100% + 2px)}";
505
498
  const PostLanguageOptionStyle0 = postLanguageOptionCss;
506
499
 
507
500
  const PostLanguageOption = class {
508
501
  constructor(hostRef) {
509
502
  registerInstance(this, hostRef);
510
503
  this.postChange = createEvent(this, "postChange", 7);
504
+ this.code = undefined;
505
+ this.active = undefined;
506
+ this.variant = undefined;
507
+ this.name = undefined;
508
+ this.url = undefined;
511
509
  }
512
510
  get host() { return getElement(this); }
513
- /**
514
- * 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".
515
- */
516
- code;
517
511
  validateCode(value = this.code) {
518
512
  checkType(value, 'string', 'The "code" property of the post-language-option component must be a string.');
519
513
  }
520
- /**
521
- * If set to `true`, the language option is considered the current language for the page.
522
- */
523
- active;
524
514
  validateActiveProp(value = this.active) {
525
515
  checkEmptyOrType(value, 'boolean', 'The "active" property of the post-language-option component must be a boolean value.');
526
516
  }
527
- /**
528
- * The variant of the post-language-switch parent (dynamically set by the parent)
529
- */
530
- variant;
531
- /**
532
- * The full name of the language. For example, "Deutsch".
533
- */
534
- name;
535
517
  validateName(value = this.name) {
536
518
  checkEmptyOrType(value, 'string', 'The "name" property of the post-language-option component must be a string.');
537
519
  }
538
- /**
539
- * The URL used for the href attribute of the internal anchor.
540
- * This field is optional; if not provided, a button will be used internally instead of an anchor.
541
- */
542
- url;
543
520
  validateUrl(value = this.url) {
544
521
  checkEmptyOrType(value, 'string', 'The "url" property of the post-language-option component must be a valid URL.');
545
522
  }
@@ -589,39 +566,27 @@ PostLanguageOption.style = PostLanguageOptionStyle0;
589
566
 
590
567
  const SWITCH_VARIANTS = ['list', 'menu'];
591
568
 
592
- const postLanguageSwitchCss = ":host{display:block}@media screen and (max-width: 1023.98px){:host{display:flex !important;gap:.5rem}}.post-language-switch-dropdown-container{display:flex;flex-direction:column}.post-language-switch-dropdown-container>*{width:100%}.post-language-switch-trigger{cursor:pointer;padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;text-decoration:none;display:inline-flex;align-items:center;gap:var(--post-core-dimension-6);border-radius:var(--post-core-dimension-24);font-size:var(--post-core-font-size-16);padding:var(--post-core-dimension-3) var(--post-core-dimension-10)}.post-language-switch-trigger{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-language-switch-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-switch-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-language-switch-trigger:not(:disabled):hover,.post-language-switch-trigger.pretend-hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}.post-language-switch-trigger post-icon{height:var(--post-core-dimension-16);width:var(--post-core-dimension-16)}";
569
+ const postLanguageSwitchCss = ":host{display:flex}:host>span{display:flex;flex-shrink:0;width:40px;height:40px;align-items:center;justify-content:center;background-color:#050400;color:#fff;border-radius:2px}:host(:where([variant=list])){column-gap:.5rem}.post-language-switch-dropdown-container{display:flex;flex-direction:column}.post-language-switch-dropdown-container>*{width:100%}.post-language-switch-trigger{cursor:pointer;padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;text-decoration:none;display:inline-flex;align-items:center;gap:var(--post-core-dimension-6);border-radius:var(--post-core-dimension-24);font-size:var(--post-core-font-size-16);padding:var(--post-core-dimension-3) var(--post-core-dimension-10)}.post-language-switch-trigger{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-language-switch-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-switch-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-language-switch-trigger:not(:disabled):hover,.post-language-switch-trigger.pretend-hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}.post-language-switch-trigger post-icon{height:var(--post-core-dimension-16);width:var(--post-core-dimension-16)}";
593
570
  const PostLanguageSwitchStyle0 = postLanguageSwitchCss;
594
571
 
595
572
  const PostLanguageSwitch = class {
596
573
  constructor(hostRef) {
597
574
  registerInstance(this, hostRef);
575
+ this.caption = undefined;
576
+ this.description = undefined;
577
+ this.variant = 'list';
578
+ this.activeLang = undefined;
598
579
  }
599
580
  get host() { return getElement(this); }
600
- /**
601
- * A title for the list of language options
602
- */
603
- caption;
604
581
  validateCaption(value = this.caption) {
605
582
  checkType(value, 'string', 'The "caption" property of the post-language-switch component must be a string.');
606
583
  }
607
- /**
608
- * A descriptive text for the list of language options
609
- */
610
- description;
611
584
  validateDescription(value = this.description) {
612
585
  checkType(value, 'string', 'The "description" property of the post-language-switch component must be a string.');
613
586
  }
614
- /**
615
- * Variant that determines the rendering of the language switch either as a list (used on mobile in the header) or a dropdown (used on desktop in the header)
616
- */
617
- variant = 'list';
618
587
  validateVariant(value = this.variant) {
619
588
  checkEmptyOrOneOf(value, SWITCH_VARIANTS, `The "variant" property of the post-language-switch component must be: ${SWITCH_VARIANTS.join(', ')}`);
620
589
  }
621
- /**
622
- * The active language of the language switch
623
- */
624
- activeLang;
625
590
  connectedCallback() {
626
591
  this.updateChildrenVariant();
627
592
  // Get the active language based on children's active state
@@ -663,10 +628,10 @@ const PostLanguageSwitch = class {
663
628
  }
664
629
  menuId = `p${nanoid(11)}`;
665
630
  renderList() {
666
- return (h(Host, { "data-version": version, "aria-label": `${this.caption}, ${this.description}`, role: "list" }, h("slot", null)));
631
+ return (h(Host, { "data-version": version, role: "list", "aria-label": this.caption }, h("span", { "aria-label": this.description, role: "listitem" }, this.activeLang.toUpperCase()), h("slot", null)));
667
632
  }
668
633
  renderDropdown() {
669
- return (h(Host, { "data-version": version }, h("post-menu-trigger", { for: this.menuId }, h("button", { class: "post-language-switch-trigger", "aria-label": `${this.caption}, ${this.description}` }, this.activeLang.toUpperCase(), h("post-icon", { "aria-hidden": "true", name: "chevrondown" }))), h("post-menu", { id: this.menuId, class: "post-language-switch-dropdown-container" }, h("slot", null))));
634
+ return (h(Host, { "data-version": version }, h("post-menu-trigger", { for: this.menuId }, h("button", { class: "post-language-switch-trigger", "aria-label": this.description }, this.activeLang.toUpperCase(), h("post-icon", { "aria-hidden": "true", name: "chevrondown" }))), h("post-menu", { id: this.menuId, class: "post-language-switch-dropdown-container", "aria-label": this.caption }, h("slot", null))));
670
635
  }
671
636
  render() {
672
637
  return this.variant === 'list' ? this.renderList() : this.renderDropdown();
@@ -685,20 +650,11 @@ const PostListStyle0 = postListCss;
685
650
  const PostList = class {
686
651
  constructor(hostRef) {
687
652
  registerInstance(this, hostRef);
653
+ this.titleId = undefined;
654
+ this.titleHidden = false;
655
+ this.horizontal = false;
688
656
  }
689
657
  get host() { return getElement(this); }
690
- /**
691
- * The unique title of the list that is also referenced in the labelledby
692
- */
693
- titleId;
694
- /**
695
- * If `true`, the list title will be hidden. Otherwise, it will be displayed.`
696
- */
697
- titleHidden = false;
698
- /**
699
- * The list can become horizontal by setting `horizontal="true"` or just `horizontal`
700
- */
701
- horizontal = false;
702
658
  titleEl;
703
659
  componentWillLoad() {
704
660
  /**
@@ -743,12 +699,9 @@ const PostLogoStyle0 = postLogoCss;
743
699
  const PostLogo = class {
744
700
  constructor(hostRef) {
745
701
  registerInstance(this, hostRef);
702
+ this.url = undefined;
746
703
  }
747
704
  get host() { return getElement(this); }
748
- /**
749
- * The URL to which the user is redirected upon clicking the logo.
750
- */
751
- url;
752
705
  validateUrl() {
753
706
  checkEmptyOrUrl(this.url, 'The "url" property of the post-logo is invalid');
754
707
  }
@@ -782,6 +735,9 @@ const NAVIGATION_ITEM_SELECTOR = ':is(post-list-item > a, post-list-item > post-
782
735
  const PostMainnavigation = class {
783
736
  constructor(hostRef) {
784
737
  registerInstance(this, hostRef);
738
+ this.canScrollLeft = false;
739
+ this.canScrollRight = false;
740
+ this.translateAmount = 0;
785
741
  }
786
742
  header;
787
743
  navbar;
@@ -798,9 +754,6 @@ const PostMainnavigation = class {
798
754
  this.checkScrollability();
799
755
  });
800
756
  get host() { return getElement(this); }
801
- canScrollLeft = false;
802
- canScrollRight = false;
803
- translateAmount = 0;
804
757
  /**
805
758
  * Update navbar translation when 'translateAmount' changes and recalculate scrollability
806
759
  */
@@ -986,22 +939,16 @@ const PostMegadropdown = class {
986
939
  constructor(hostRef) {
987
940
  registerInstance(this, hostRef);
988
941
  this.postToggleMegadropdown = createEvent(this, "postToggleMegadropdown", 7);
942
+ this.device = undefined;
943
+ this.isVisible = false;
944
+ this.animationClass = null;
989
945
  }
990
946
  header;
991
947
  firstFocusableEl;
992
948
  lastFocusableEl;
993
- device;
994
949
  get host() { return getElement(this); }
995
950
  /** Tracks the currently active dropdown instance. */
996
951
  static activeDropdown = null;
997
- /**
998
- * Holds the current visibility state of the dropdown.
999
- * This state is internally managed to track whether the dropdown is open (`true`) or closed (`false`),
1000
- * and updates automatically when the dropdown is toggled.
1001
- */
1002
- isVisible = false;
1003
- /** Holds the current animation class. */
1004
- animationClass = null;
1005
952
  /**
1006
953
  * Emits when the dropdown is shown or hidden.
1007
954
  * The event payload is a boolean: `true` when the dropdown was opened, `false` when it was closed.
@@ -1035,9 +982,11 @@ const PostMegadropdown = class {
1035
982
  // Close the previously active dropdown without animation
1036
983
  PostMegadropdown.activeDropdown.forceClose();
1037
984
  }
985
+ else {
986
+ this.animationClass = 'slide-in';
987
+ }
1038
988
  this.isVisible = true;
1039
989
  this.host.addEventListener('keydown', e => this.keyboardHandler(e));
1040
- this.animationClass = 'slide-in';
1041
990
  PostMegadropdown.activeDropdown = this;
1042
991
  this.postToggleMegadropdown.emit(this.isVisible);
1043
992
  this.addOutsideClickListener();
@@ -1047,6 +996,7 @@ const PostMegadropdown = class {
1047
996
  */
1048
997
  async hide() {
1049
998
  this.animationClass = 'slide-out';
999
+ PostMegadropdown.activeDropdown = null;
1050
1000
  this.host.removeEventListener('keydown', e => this.keyboardHandler(e));
1051
1001
  }
1052
1002
  connectedCallback() {
@@ -1117,7 +1067,7 @@ const PostMegadropdown = class {
1117
1067
  }
1118
1068
  render() {
1119
1069
  const containerStyle = this.isVisible ? {} : { display: 'none' };
1120
- return (h(Host, { key: '5aa08b01be715325182c245e1b0ae2456bcc5df6' }, h("div", { key: '0737c9368ecbffac59bbdf47fabac3f3b94ae7bb', class: `megadropdown-container ${this.animationClass || ''}`, style: containerStyle, onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { key: 'efe49f3f9cdcd99e2feca78b772c944405e19f21', class: "megadropdown" }, h("div", { key: '14dd7ff2f7e7b1eb91f2673a25d7ccafffe4f9d0', onClick: () => this.hide(), class: "back-button" }, h("slot", { key: '554e30e6408c0bef0549f5e2c31dcd8b90ceee40', name: "back-button" })), h("div", { key: '4e7335152d7b6649918adf075213ebbf8b8ddeaa', onClick: () => this.hide(), class: "close-button" }, h("slot", { key: 'db90f3a5334ce723c0ee672a96167197ca25b545', name: "close-button" })), h("slot", { key: 'b11b1d16147f88103f2eb24c8dd21394de53f69c', name: "megadropdown-title" }), h("div", { key: '6d837c1a70f66f00097fb531058750fbac6fd41a', class: "megadropdown-content" }, h("slot", { key: 'be685185f04e44d867167f918494d086856b5928' }))))));
1070
+ return (h(Host, { key: '11be74da0c6d35e1a50c954735a6b1f079cd0eb6' }, h("div", { key: '202023b2495012f78ba761f20aef1ba0325a98f0', class: `megadropdown-container ${this.animationClass || ''}`, style: containerStyle, onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { key: '87ac87a83de7ce798f5d9057b992893bfc00f2e1', class: "megadropdown" }, h("div", { key: '650738a55e5007b9ae0c3ee30fb2f1ae53152744', onClick: () => this.hide(), class: "back-button" }, h("slot", { key: 'a7b70ce1fbc7090807b8d60efce6cb83eb06674e', name: "back-button" })), h("div", { key: '812d3458649669e867d7d761079299b64d9e4e4d', onClick: () => this.hide(), class: "close-button" }, h("slot", { key: '2ee2df463dfd6667b729fd1b47987ea40e8d9d5f', name: "close-button" })), h("slot", { key: 'a5d0029319e34b652923d07fcddd5cb647912b03', name: "megadropdown-title" }), h("div", { key: 'c563cf50e3d9a1a466b9aec386982c80569ac094', class: "megadropdown-content" }, h("slot", { key: 'a05eeceb8fdbfc4373ee7d42d4f583475b44b4dc' }))))));
1121
1071
  }
1122
1072
  };
1123
1073
  PostMegadropdown.style = PostMegadropdownStyle0;
@@ -1128,16 +1078,10 @@ const PostMegadropdownTriggerStyle0 = postMegadropdownTriggerCss;
1128
1078
  const PostMegadropdownTrigger = class {
1129
1079
  constructor(hostRef) {
1130
1080
  registerInstance(this, hostRef);
1081
+ this.for = undefined;
1082
+ this.ariaExpanded = false;
1131
1083
  }
1132
- /**
1133
- * ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
1134
- */
1135
- for;
1136
1084
  get host() { return getElement(this); }
1137
- /**
1138
- * Manages the accessibility attribute `aria-expanded` to indicate whether the associated mega dropdown is expanded or collapsed.
1139
- */
1140
- ariaExpanded = false;
1141
1085
  /**
1142
1086
  * Reference to the slotted button within the trigger, if present.
1143
1087
  * Used to manage click and key events for mega dropdown control.
@@ -1202,6 +1146,8 @@ const PostMenu = class {
1202
1146
  constructor(hostRef) {
1203
1147
  registerInstance(this, hostRef);
1204
1148
  this.toggleMenu = createEvent(this, "toggleMenu", 7);
1149
+ this.placement = 'bottom';
1150
+ this.isVisible = false;
1205
1151
  }
1206
1152
  popoverRef;
1207
1153
  lastFocusedElement = null;
@@ -1216,18 +1162,6 @@ const PostMenu = class {
1216
1162
  ESCAPE: 'Escape',
1217
1163
  };
1218
1164
  get host() { return getElement(this); }
1219
- /**
1220
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
1221
- * Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
1222
- * towards the viewport if they would overlap edge boundaries.
1223
- */
1224
- placement = 'bottom';
1225
- /**
1226
- * Holds the current visibility state of the menu.
1227
- * This state is internally managed to track whether the menu is open (`true`) or closed (`false`),
1228
- * and updates automatically when the menu is toggled.
1229
- */
1230
- isVisible = false;
1231
1165
  /**
1232
1166
  * Emits when the menu is shown or hidden.
1233
1167
  * The event payload is a boolean: `true` when the menu was opened, `false` when it was closed.
@@ -1367,16 +1301,10 @@ const PostMenuTriggerStyle0 = postMenuTriggerCss;
1367
1301
  const PostMenuTrigger = class {
1368
1302
  constructor(hostRef) {
1369
1303
  registerInstance(this, hostRef);
1304
+ this.for = undefined;
1305
+ this.ariaExpanded = false;
1370
1306
  }
1371
- /**
1372
- * ID of the menu element that this trigger is linked to. Used to open and close the specified menu.
1373
- */
1374
- for;
1375
1307
  get host() { return getElement(this); }
1376
- /**
1377
- * Manages the accessibility attribute `aria-expanded` to indicate whether the associated menu is expanded or collapsed.
1378
- */
1379
- ariaExpanded = false;
1380
1308
  /**
1381
1309
  * Reference to the slotted button within the trigger, if present.
1382
1310
  * Used to manage click and key events for menu control.
@@ -3560,6 +3488,10 @@ const PostPopovercontainer = class {
3560
3488
  constructor(hostRef) {
3561
3489
  registerInstance(this, hostRef);
3562
3490
  this.postToggle = createEvent(this, "postToggle", 7);
3491
+ this.manualClose = false;
3492
+ this.placement = 'top';
3493
+ this.edgeGap = 8;
3494
+ this.arrow = false;
3563
3495
  }
3564
3496
  get host() { return getElement(this); }
3565
3497
  arrowRef;
@@ -3570,24 +3502,6 @@ const PostPopovercontainer = class {
3570
3502
  * Fires whenever the popover gets shown or hidden, passing the new state in event.details as a boolean
3571
3503
  */
3572
3504
  postToggle;
3573
- /**
3574
- * Whether or not the popover should close when user clicks outside of it
3575
- */
3576
- manualClose = false;
3577
- /**
3578
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
3579
- * Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
3580
- * towards the viewport if they would overlap edge boundaries.
3581
- */
3582
- placement = 'top';
3583
- /**
3584
- * Gap between the edge of the page and the popover
3585
- */
3586
- edgeGap = 8;
3587
- /**
3588
- * Wheter or not to display a little pointer arrow
3589
- */
3590
- arrow = false;
3591
3505
  componentDidLoad() {
3592
3506
  this.host.addEventListener('beforetoggle', this.handleToggle.bind(this));
3593
3507
  }
@@ -3719,12 +3633,9 @@ const PostTogglebuttonStyle0 = postTogglebuttonCss;
3719
3633
  const PostTogglebutton = class {
3720
3634
  constructor(hostRef) {
3721
3635
  registerInstance(this, hostRef);
3636
+ this.toggled = false;
3722
3637
  }
3723
3638
  get host() { return getElement(this); }
3724
- /**
3725
- * If `true`, the button is in the "on" state, otherwise it is in the "off" state.
3726
- */
3727
- toggled = false;
3728
3639
  validateToggled(value = this.toggled) {
3729
3640
  checkType(value, 'boolean', 'The "toggled" property of the post-togglebutton must be a boolean.');
3730
3641
  }
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, g as getElement, h, H as Host } from './index-2c232bf2.js';
2
- import { v as version$1 } from './package-fe605ce2.js';
1
+ import { r as registerInstance, g as getElement, h, H as Host } from './index-40846676.js';
2
+ import { v as version$1 } from './package-2d498679.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer-2f203993.js';
4
- import { d as checkEmptyOrType } from './index-d1bbbd88.js';
4
+ import { d as checkEmptyOrType } from './index-0aec278f.js';
5
5
 
6
6
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
7
7
 
@@ -4866,24 +4866,13 @@ const triggerObserver = getAttributeObserver(tooltipTargetAttribute, patchAccess
4866
4866
  const PostTooltip = class {
4867
4867
  constructor(hostRef) {
4868
4868
  registerInstance(this, hostRef);
4869
+ this.placement = 'top';
4870
+ this.arrow = true;
4871
+ this.delayed = false;
4869
4872
  }
4870
4873
  popoverRef;
4871
4874
  wasOpenedByFocus = false;
4872
4875
  get host() { return getElement(this); }
4873
- /**
4874
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
4875
- * Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
4876
- * towards the viewport if they would overlap edge boundaries.
4877
- */
4878
- placement = 'top';
4879
- /**
4880
- * Wheter or not to display a little pointer arrow
4881
- */
4882
- arrow = true;
4883
- /**
4884
- * If `true`, the tooltip is displayed a few milliseconds after it is triggered
4885
- */
4886
- delayed = false;
4887
4876
  validateDelayed() {
4888
4877
  checkEmptyOrType(this.delayed, 'boolean', 'The post-tooltip "delayed" property should be a boolean.');
4889
4878
  }
@@ -1,9 +1,9 @@
1
- export { P as post_tooltip } from './post-tooltip-65892d5f.js';
2
- import './index-2c232bf2.js';
3
- import './package-fe605ce2.js';
1
+ export { P as post_tooltip } from './post-tooltip-f1f56486.js';
2
+ import './index-40846676.js';
3
+ import './package-2d498679.js';
4
4
  import './attribute-observer-2f203993.js';
5
- import './index-d1bbbd88.js';
5
+ import './index-0aec278f.js';
6
6
  import './constants-8d548297.js';
7
7
  import './check-one-of-0d5858c0.js';
8
8
  import './check-type-a6ccc9a3.js';
9
- import './check-url-0bd876f7.js';
9
+ import './check-url-8ab230de.js';
@@ -1 +1 @@
1
- export{P as PostAccordion}from"./p-36527185.js";export{P as PostAccordionItem}from"./p-122f969e.js";export{P as PostAvatar}from"./p-b5758f64.js";export{P as PostBackToTop}from"./p-e725b6f4.js";export{P as PostBanner}from"./p-aaef3917.js";export{P as PostBreadcrumb}from"./p-43caa6b0.js";export{P as PostBreadcrumbItem,a as PostMenuItem}from"./p-74dbfcd3.js";export{P as PostCardControl}from"./p-68defca9.js";export{P as PostClosebutton,a as PostHeader,b as PostIcon,c as PostLanguageOption,d as PostLanguageSwitch,e as PostList,f as PostListItem,g as PostLogo,h as PostMainnavigation,i as PostMegadropdown,j as PostMegadropdownTrigger,k as PostMenu,l as PostMenuTrigger,m as PostPopovercontainer,n as PostTogglebutton}from"./p-54ae1f02.js";export{P as PostCollapsible,a as PostCollapsibleTrigger}from"./p-8abc347f.js";export{P as PostFooter}from"./p-61ebfb27.js";export{P as PostLinkarea}from"./p-a7199df3.js";export{P as PostPopover}from"./p-dc8a4c6f.js";export{P as PostRating}from"./p-2ea6e06e.js";export{P as PostTabs}from"./p-368cee4c.js";export{P as PostTabHeader}from"./p-8fe69fae.js";export{P as PostTabPanel}from"./p-55139ed4.js";export{P as PostTag}from"./p-5be385f2.js";export{P as PostTooltip}from"./p-458d4560.js";import"./p-d9833667.js";import"./p-74e13cb1.js";import"./p-247a1668.js";import"./p-bacd3e2c.js";import"./p-1fda117c.js";import"./p-440193f4.js";import"./p-8562c7dc.js";import"./p-cb9ab938.js";import"./p-5959f2bd.js";import"./p-b095519d.js";import"./p-4af6dbed.js";import"./p-64e3de38.js";import"./p-e1baac59.js";import"./p-fc91cbc2.js";import"./p-9748a355.js";
1
+ export{P as PostAccordion}from"./p-b19a9362.js";export{P as PostAccordionItem}from"./p-7d9f4529.js";export{P as PostAvatar}from"./p-62e62248.js";export{P as PostBackToTop}from"./p-91ffc428.js";export{P as PostBanner}from"./p-ac04c807.js";export{P as PostBreadcrumb}from"./p-a98c64e1.js";export{P as PostBreadcrumbItem,a as PostMenuItem}from"./p-cc9d8272.js";export{P as PostCardControl}from"./p-5d05f008.js";export{P as PostClosebutton,a as PostHeader,b as PostIcon,c as PostLanguageOption,d as PostLanguageSwitch,e as PostList,f as PostListItem,g as PostLogo,h as PostMainnavigation,i as PostMegadropdown,j as PostMegadropdownTrigger,k as PostMenu,l as PostMenuTrigger,m as PostPopovercontainer,n as PostTogglebutton}from"./p-9c8b4442.js";export{P as PostCollapsible,a as PostCollapsibleTrigger}from"./p-870920c5.js";export{P as PostFooter}from"./p-26e5d866.js";export{P as PostLinkarea}from"./p-f5d73dcc.js";export{P as PostPopover}from"./p-f8e7cdec.js";export{P as PostRating}from"./p-6af43aa2.js";export{P as PostTabs}from"./p-29d56d5f.js";export{P as PostTabHeader}from"./p-6a7ee274.js";export{P as PostTabPanel}from"./p-100dc10a.js";export{P as PostTag}from"./p-a6476cb6.js";export{P as PostTooltip}from"./p-e7865717.js";import"./p-ff95dcd3.js";import"./p-f6e86d70.js";import"./p-247a1668.js";import"./p-bacd3e2c.js";import"./p-fb8f5195.js";import"./p-440193f4.js";import"./p-8562c7dc.js";import"./p-59373941.js";import"./p-5959f2bd.js";import"./p-b095519d.js";import"./p-4af6dbed.js";import"./p-64e3de38.js";import"./p-e1baac59.js";import"./p-fc91cbc2.js";import"./p-9748a355.js";
@@ -0,0 +1 @@
1
+ import{r as s,g as t,h as a,H as o}from"./p-ff95dcd3.js";import{v as e}from"./p-f6e86d70.js";import{n as r}from"./p-5959f2bd.js";const i=class{constructor(t){s(this,t),this.panelId=void 0,this.name=void 0}get host(){return t(this)}componentWillLoad(){this.panelId=`panel-${this.host.id||r(6)}`}render(){return a(o,{key:"9d35c9ceec54f1c2983600342e5e63a49ca93aef","data-version":e,id:this.panelId,role:"tabpanel"},a("slot",{key:"8db185ca7a2030343df512962126a91f64840a64"}))}};i.style=":host{display:none}";export{i as P}
@@ -0,0 +1 @@
1
+ export{P as post_tab_panel}from"./p-100dc10a.js";import"./p-ff95dcd3.js";import"./p-f6e86d70.js";import"./p-5959f2bd.js";
@@ -1 +1 @@
1
- export{P as post_closebutton,a as post_header,b as post_icon,c as post_language_option,d as post_language_switch,e as post_list,f as post_list_item,g as post_logo,h as post_mainnavigation,i as post_megadropdown,j as post_megadropdown_trigger,k as post_menu,l as post_menu_trigger,m as post_popovercontainer,n as post_togglebutton}from"./p-54ae1f02.js";import"./p-d9833667.js";import"./p-74e13cb1.js";import"./p-4af6dbed.js";import"./p-1fda117c.js";import"./p-440193f4.js";import"./p-bacd3e2c.js";import"./p-8562c7dc.js";import"./p-cb9ab938.js";import"./p-b095519d.js";import"./p-5959f2bd.js";import"./p-fc91cbc2.js";
1
+ export{P as post_closebutton,a as post_header,b as post_icon,c as post_language_option,d as post_language_switch,e as post_list,f as post_list_item,g as post_logo,h as post_mainnavigation,i as post_megadropdown,j as post_megadropdown_trigger,k as post_menu,l as post_menu_trigger,m as post_popovercontainer,n as post_togglebutton}from"./p-9c8b4442.js";import"./p-ff95dcd3.js";import"./p-f6e86d70.js";import"./p-4af6dbed.js";import"./p-fb8f5195.js";import"./p-440193f4.js";import"./p-bacd3e2c.js";import"./p-8562c7dc.js";import"./p-59373941.js";import"./p-b095519d.js";import"./p-5959f2bd.js";import"./p-fc91cbc2.js";
@@ -0,0 +1 @@
1
+ export{P as post_accordion_item}from"./p-7d9f4529.js";import"./p-ff95dcd3.js";import"./p-f6e86d70.js";import"./p-247a1668.js";import"./p-fb8f5195.js";import"./p-440193f4.js";import"./p-bacd3e2c.js";import"./p-8562c7dc.js";import"./p-59373941.js";import"./p-5959f2bd.js";
@@ -0,0 +1 @@
1
+ import{r as o,g as t,h as e,H as r}from"./p-ff95dcd3.js";import{v as i}from"./p-f6e86d70.js";const a=new class{breakpointMap;current={key:"",name:""};constructor(){if(!this.breakpointMap){const o=getComputedStyle(document.documentElement),t=o.getPropertyValue("--post-breakpoint-keys").split(", "),e=o.getPropertyValue("--post-breakpoint-names").split(", ");this.breakpointMap=o.getPropertyValue("--post-breakpoint-widths").split(", ").map(((o,r)=>({minWidth:Number(o),key:t[r],name:e[r]}))).reverse(),window.addEventListener("resize",(()=>this.updateHandler()),{passive:!0})}}updateHandler(o=!0){const t=this.breakpointMap.find((({minWidth:o})=>innerWidth>=o));this.current.key!==t.key&&(this.current.key=t.key,o&&this.dispatchEvent("key")),this.current.name!==t.name&&(this.current.name=t.name,o&&this.dispatchEvent("name"))}dispatchEvent(o){window.dispatchEvent(new CustomEvent(`postBreakpoint:${o}`,{detail:this.current[o]}))}get(o){return this.updateHandler(!1),this.current[o]}},s=class{constructor(t){o(this,t),this.label=void 0,this.isMobile="mobile"===a.get("name")}get host(){return t(this)}connectedCallback(){window.addEventListener("postBreakpoint:name",this.breakpointChange.bind(this))}breakpointChange(o){this.isMobile="mobile"===o.detail}renderAccordion(){return e("div",{class:"footer-grid"},e("post-accorddion",{"heading-level":"3",multiple:!0},e("post-accordion-item",{collapsed:!0},e("span",{slot:"header"},e("slot",{name:"grid-1-title"})),e("slot",{name:"grid-1"})),e("post-accordion-item",{collapsed:!0},e("span",{slot:"header"},e("slot",{name:"grid-2-title"})),e("slot",{name:"grid-2"})),e("post-accordion-item",{collapsed:!0},e("span",{slot:"header"},e("slot",{name:"grid-3-title"})),e("slot",{name:"grid-3"})),e("post-accordion-item",{collapsed:!0},e("span",{slot:"header"},e("slot",{name:"grid-4-title"})),e("slot",{name:"grid-4"}))))}renderGrid(){return e("div",{class:"footer-grid"},e("div",null,e("slot",{name:"grid-1"})),e("div",null,e("slot",{name:"grid-2"})),e("div",null,e("slot",{name:"grid-3"})),e("div",null,e("slot",{name:"grid-4"})))}render(){return e(r,{key:"14370a1cfd730a0b0353c88c95f265aefb57c480","data-version":i},e("footer",{key:"7208e9d465eb0b469887e7cfae66674db2092dbd"},e("h2",{key:"b392c866326374ae27704baaba0dd28c3001ee62",class:"visually-hidden"},this.label),e("div",{key:"13411ad6e0b55ee17cf9bf77b155aa1c2810f057",class:"footer-container"},this.isMobile?this.renderAccordion():this.renderGrid(),e("div",{key:"4815ae94cd43eca92482ad3c93f107243b26890e",class:"footer-column"},e("div",{key:"edc787dc5fc96169c323f15254b6088024a6f19d",class:"footer-socialmedia"},e("slot",{key:"0971e342ac6f3913c408a535ce0746080e3f57af",name:"socialmedia"})),e("div",{key:"da583c9ed819181bf2732277f4e6ee22df2e3022",class:"footer-app"},e("slot",{key:"b6dab5cfa1f4dc9c049f24d3e08416ef5a27e0aa",name:"app"}))),e("div",{key:"53a5c04129d24dfb64eedd46e95b5c78142a3fd7",class:"footer-businesssectors"},e("slot",{key:"470f4294778b8978bf6eb168e2b47ff29ef43d07",name:"businesssectors"})),e("div",{key:"45d734ded794352b951f2891bbdba081e05a99d5",class:"footer-meta"},e("slot",{key:"4d0da53c2eb79e111f0f05278a0972f046eebfa9",name:"meta"})),e("div",{key:"f95fb7ed3cc09218a3d4a554c619b6f379d5135d",class:"footer-copyright"},e("slot",{key:"9cdcec805152413693dced0f0d55ac1b1121c70e",name:"copyright"})))))}disconnectedCallback(){window.removeEventListener("postBreakpoint:name",this.breakpointChange.bind(this))}};s.style=":host{display:block}footer{background-color:#fc0;--post-footer-container-padding-block:32px;--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-grid-template:auto / auto;--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:0;--post-footer-grid-margin-block-end:24px;--post-footer-grid-padding-block-end:0;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-post-list-flex-direction:column;--post-footer-post-list-gap:8px;--post-footer-post-list-align-items:start;--post-footer-socialmedia-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-app-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-businesssectors-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-meta-margin-block-end:16px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-container-padding-block:40px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-grid-row-gap:32px;--post-footer-grid-column-gap:16px;--post-footer-grid-margin-block-end:32px;--post-footer-grid-padding-block-end:32px;--post-footer-post-list-flex-direction:row;--post-footer-post-list-gap:16px;--post-footer-post-list-align-items:center;--post-footer-meta-margin-block-end:8px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px}}@media screen and (min-width: 1024px){footer{--post-footer-container-padding-block:56px;--post-footer-grid-template:auto / repeat(4, auto);--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:24px;--post-footer-grid-margin-block-end:40px;--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-post-list-gap:24px;--post-footer-businesssectors-margin-block-end:24px;--post-footer-meta-font-size:16px}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{box-sizing:content-box;margin:0 auto;padding:var(--post-footer-container-padding-block) var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);row-gap:var(--post-footer-grid-row-gap);column-gap:var(--post-footer-grid-column-gap);margin-block-end:var(--post-footer-grid-margin-block-end);padding-block-end:var(--post-footer-grid-padding-block-end)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(post-list),.footer-app ::slotted(post-list),.footer-businesssectors ::slotted(post-list),.footer-meta ::slotted(post-list){display:flex !important;flex-direction:var(--post-footer-post-list-flex-direction) !important;gap:var(--post-footer-post-list-gap) !important;align-items:var(--post-footer-post-list-align-items) !important}.footer-socialmedia{margin-block-end:var(--post-footer-socialmedia-margin-block-end)}.footer-app{margin-block-end:var(--post-footer-app-margin-block-end)}.footer-businesssectors{margin-block-end:var(--post-footer-businesssectors-margin-block-end)}.footer-meta{margin-block-end:var(--post-footer-meta-margin-block-end);font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:flex;flex-wrap:wrap;column-gap:.5rem;font-size:var(--post-footer-copyright-font-size)}";export{s as P}