@swisspost/design-system-components 10.1.0 → 10.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/dist/cjs/{create-validator-decorator-86dxH9IC.js → create-validator-decorator-BchTP-YG.js} +1 -1
  2. package/dist/cjs/{index-B_88IIiS.js → index-BDBlw92l.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{one-of-D2-HNvlh.js → one-of-IgKJFMA_.js} +1 -1
  5. package/dist/cjs/{package-MGiZpKVI.js → package-uiAqYqcY.js} +1 -1
  6. package/dist/cjs/{pattern-74wTAOem.js → pattern-BCnL1qK3.js} +1 -1
  7. package/dist/cjs/post-accordion_2.cjs.entry.js +5 -5
  8. package/dist/cjs/post-autocomplete.cjs.entry.js +15 -6
  9. package/dist/cjs/post-avatar.cjs.entry.js +6 -6
  10. package/dist/cjs/post-back-to-top.cjs.entry.js +5 -5
  11. package/dist/cjs/post-banner.cjs.entry.js +4 -4
  12. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +8 -8
  13. package/dist/cjs/post-breadcrumbs.cjs.entry.js +6 -6
  14. package/dist/cjs/post-closebutton_14.cjs.entry.js +36 -27
  15. package/dist/cjs/post-collapsible_2.cjs.entry.js +4 -4
  16. package/dist/cjs/post-components.cjs.js +2 -2
  17. package/dist/cjs/post-date-picker.cjs.entry.js +5 -5
  18. package/dist/cjs/post-footer.cjs.entry.js +35 -17
  19. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  20. package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
  21. package/dist/cjs/post-listbox.cjs.entry.js +4 -4
  22. package/dist/cjs/post-number-input.cjs.entry.js +4 -4
  23. package/dist/cjs/post-pagination.cjs.entry.js +80 -30
  24. package/dist/cjs/post-popover-trigger.cjs.entry.js +5 -5
  25. package/dist/cjs/post-popover.cjs.entry.js +8 -8
  26. package/dist/cjs/post-progressbar.cjs.entry.js +4 -4
  27. package/dist/cjs/post-rating.cjs.entry.js +6 -6
  28. package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +6 -6
  29. package/dist/cjs/post-side-navigation.cjs.entry.js +7 -7
  30. package/dist/cjs/post-stepper-item.cjs.entry.js +4 -4
  31. package/dist/cjs/post-stepper.cjs.entry.js +7 -7
  32. package/dist/cjs/post-tab-item.cjs.entry.js +6 -6
  33. package/dist/cjs/post-tab-panel.cjs.entry.js +6 -6
  34. package/dist/cjs/post-tabs.cjs.entry.js +8 -8
  35. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +6 -6
  36. package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
  37. package/dist/cjs/{required-BfGxoBch.js → required-BXiinq5t.js} +1 -1
  38. package/dist/cjs/{type-DPQ_KdZx.js → type-l3fnHs_E.js} +1 -1
  39. package/dist/cjs/{url-BokbLhZt.js → url-Dmn5zP5b.js} +1 -1
  40. package/dist/collection/components/post-autocomplete/post-autocomplete.js +10 -1
  41. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
  42. package/dist/collection/components/post-footer/post-footer.css +1 -1
  43. package/dist/collection/components/post-footer/post-footer.js +32 -14
  44. package/dist/collection/components/post-header/post-header.js +12 -3
  45. package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +2 -2
  46. package/dist/collection/components/post-listbox/post-listbox.css +1 -1
  47. package/dist/collection/components/post-listbox/post-listbox.js +1 -1
  48. package/dist/collection/components/post-listbox-option/post-listbox-option.js +2 -2
  49. package/dist/collection/components/post-logo/post-logo.js +1 -1
  50. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
  51. package/dist/collection/components/post-megadropdown/post-megadropdown.js +7 -7
  52. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +1 -1
  53. package/dist/collection/components/post-menu/post-menu.js +1 -1
  54. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
  55. package/dist/collection/components/post-number-input/post-number-input.js +2 -2
  56. package/dist/collection/components/post-pagination/post-pagination.js +75 -25
  57. package/dist/collection/components/post-popover/post-popover.js +2 -2
  58. package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +1 -1
  59. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
  60. package/dist/collection/components/post-progressbar/post-progressbar.js +1 -1
  61. package/dist/collection/components/post-rating/post-rating.js +1 -1
  62. package/dist/collection/components/post-side-navigation/post-side-navigation.js +1 -1
  63. package/dist/collection/components/post-side-navigation-trigger/post-side-navigation-trigger.js +2 -2
  64. package/dist/collection/components/post-stepper/post-stepper.js +1 -1
  65. package/dist/collection/components/post-stepper-item/post-stepper-item.css +1 -1
  66. package/dist/collection/components/post-stepper-item/post-stepper-item.js +1 -1
  67. package/dist/collection/components/post-tab-item/post-tab-item.js +2 -2
  68. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  69. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  70. package/dist/collection/components/post-tabs/post-tabs.js +2 -2
  71. package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
  72. package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
  73. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +1 -1
  74. package/dist/components/package.js +1 -1
  75. package/dist/components/post-autocomplete.js +1 -1
  76. package/dist/components/post-breadcrumb-item.js +1 -1
  77. package/dist/components/post-footer.js +1 -1
  78. package/dist/components/post-header.js +1 -1
  79. package/dist/components/post-language-menu-item.js +1 -1
  80. package/dist/components/post-listbox-option.js +1 -1
  81. package/dist/components/post-listbox.js +1 -1
  82. package/dist/components/post-logo.js +1 -1
  83. package/dist/components/post-mainnavigation.js +1 -1
  84. package/dist/components/post-megadropdown-trigger.js +1 -1
  85. package/dist/components/post-megadropdown.js +1 -1
  86. package/dist/components/post-menu-trigger2.js +1 -1
  87. package/dist/components/post-menu2.js +1 -1
  88. package/dist/components/post-number-input.js +1 -1
  89. package/dist/components/post-pagination.js +1 -1
  90. package/dist/components/post-popover-trigger.js +1 -1
  91. package/dist/components/post-popover.js +1 -1
  92. package/dist/components/post-popovercontainer2.js +1 -1
  93. package/dist/components/post-progressbar.js +1 -1
  94. package/dist/components/post-rating.js +1 -1
  95. package/dist/components/post-side-navigation-trigger.js +1 -1
  96. package/dist/components/post-side-navigation.js +1 -1
  97. package/dist/components/post-stepper-item.js +1 -1
  98. package/dist/components/post-stepper.js +1 -1
  99. package/dist/components/post-tab-item.js +1 -1
  100. package/dist/components/post-tab-panel.js +1 -1
  101. package/dist/components/post-tabs.js +1 -1
  102. package/dist/components/post-togglebutton2.js +1 -1
  103. package/dist/components/post-tooltip-trigger.js +1 -1
  104. package/dist/components/post-tooltip.js +1 -1
  105. package/dist/components/react/index.js +1 -1
  106. package/dist/components/react/{p-so3hr8A9.js → p-B-mnuUce.js} +1 -1
  107. package/dist/components/react/{p-BHWrp-Gm.js → p-B4APzGUz.js} +1 -1
  108. package/dist/components/react/{p-T15Cu71x.js → p-BUtt9Sij.js} +1 -1
  109. package/dist/components/react/{p-Y40GC4D4.js → p-BYoBZKC_.js} +1 -1
  110. package/dist/components/react/{p-Ce54Fm7b.js → p-Bj1LK-jg.js} +1 -1
  111. package/dist/components/react/p-C4D-C0Qi.js +1 -0
  112. package/dist/components/react/{p-BIPy5bUN.js → p-CRQE_mDo.js} +1 -1
  113. package/dist/components/react/{p-BaIVE0ki.js → p-CWFoQ-cx.js} +1 -1
  114. package/dist/components/react/p-D9jUbrFT.js +1 -0
  115. package/dist/components/react/{p-CC_Rb5Kj.js → p-DRQB0V8-.js} +1 -1
  116. package/dist/components/react/{p-CHYjGt8k.js → p-DmN8JwRm.js} +1 -1
  117. package/dist/components/react/{p-DPoCmx6A.js → p-Dr0r5iBG.js} +1 -1
  118. package/dist/components/react/post-accordion-item.js +1 -1
  119. package/dist/components/react/post-accordion.js +1 -1
  120. package/dist/components/react/post-autocomplete.js +1 -1
  121. package/dist/components/react/post-avatar.js +1 -1
  122. package/dist/components/react/post-back-to-top.js +1 -1
  123. package/dist/components/react/post-banner.js +1 -1
  124. package/dist/components/react/post-breadcrumb-item.js +1 -1
  125. package/dist/components/react/post-breadcrumbs.js +1 -1
  126. package/dist/components/react/post-closebutton.js +1 -1
  127. package/dist/components/react/post-collapsible-trigger.js +1 -1
  128. package/dist/components/react/post-collapsible.js +1 -1
  129. package/dist/components/react/post-date-picker.js +1 -1
  130. package/dist/components/react/post-footer.js +1 -1
  131. package/dist/components/react/post-header.js +1 -1
  132. package/dist/components/react/post-icon.js +1 -1
  133. package/dist/components/react/post-language-menu-item.js +1 -1
  134. package/dist/components/react/post-language-menu.js +1 -1
  135. package/dist/components/react/post-linkarea.js +1 -1
  136. package/dist/components/react/post-listbox-option.js +1 -1
  137. package/dist/components/react/post-listbox.js +1 -1
  138. package/dist/components/react/post-logo.js +1 -1
  139. package/dist/components/react/post-mainnavigation.js +1 -1
  140. package/dist/components/react/post-megadropdown-trigger.js +1 -1
  141. package/dist/components/react/post-megadropdown.js +1 -1
  142. package/dist/components/react/post-menu-item.js +1 -1
  143. package/dist/components/react/post-menu-trigger.js +1 -1
  144. package/dist/components/react/post-menu.js +1 -1
  145. package/dist/components/react/post-number-input.js +1 -1
  146. package/dist/components/react/post-pagination.js +1 -1
  147. package/dist/components/react/post-popover-trigger.js +1 -1
  148. package/dist/components/react/post-popover.js +1 -1
  149. package/dist/components/react/post-popovercontainer.js +1 -1
  150. package/dist/components/react/post-progressbar.js +1 -1
  151. package/dist/components/react/post-rating.js +1 -1
  152. package/dist/components/react/post-side-navigation-trigger.js +1 -1
  153. package/dist/components/react/post-side-navigation.js +1 -1
  154. package/dist/components/react/post-stepper-item.js +1 -1
  155. package/dist/components/react/post-stepper.js +1 -1
  156. package/dist/components/react/post-tab-item.js +1 -1
  157. package/dist/components/react/post-tab-panel.js +1 -1
  158. package/dist/components/react/post-tabs.js +1 -1
  159. package/dist/components/react/post-togglebutton.js +1 -1
  160. package/dist/components/react/post-tooltip-trigger.js +1 -1
  161. package/dist/components/react/post-tooltip.js +1 -1
  162. package/dist/docs.json +7 -7
  163. package/dist/esm/{create-validator-decorator-BURbkkYl.js → create-validator-decorator-BzX_jW0Z.js} +1 -1
  164. package/dist/esm/{index-CsEmPq6P.js → index-BAtz9iuv.js} +1 -1
  165. package/dist/esm/loader.js +3 -3
  166. package/dist/esm/{one-of-C-rie7lV.js → one-of-D5QwMlvb.js} +1 -1
  167. package/dist/esm/{package-jK9tFtoG.js → package-D9jUbrFT.js} +1 -1
  168. package/dist/esm/{pattern-D_JfUaW0.js → pattern-CrL4IkfA.js} +1 -1
  169. package/dist/esm/post-accordion_2.entry.js +5 -5
  170. package/dist/esm/post-autocomplete.entry.js +15 -6
  171. package/dist/esm/post-avatar.entry.js +6 -6
  172. package/dist/esm/post-back-to-top.entry.js +5 -5
  173. package/dist/esm/post-banner.entry.js +4 -4
  174. package/dist/esm/post-breadcrumb-item.entry.js +8 -8
  175. package/dist/esm/post-breadcrumbs.entry.js +6 -6
  176. package/dist/esm/post-closebutton_14.entry.js +36 -27
  177. package/dist/esm/post-collapsible_2.entry.js +4 -4
  178. package/dist/esm/post-components.js +3 -3
  179. package/dist/esm/post-date-picker.entry.js +5 -5
  180. package/dist/esm/post-footer.entry.js +35 -17
  181. package/dist/esm/post-linkarea.entry.js +2 -2
  182. package/dist/esm/post-listbox-option.entry.js +4 -4
  183. package/dist/esm/post-listbox.entry.js +4 -4
  184. package/dist/esm/post-number-input.entry.js +4 -4
  185. package/dist/esm/post-pagination.entry.js +80 -30
  186. package/dist/esm/post-popover-trigger.entry.js +5 -5
  187. package/dist/esm/post-popover.entry.js +8 -8
  188. package/dist/esm/post-progressbar.entry.js +4 -4
  189. package/dist/esm/post-rating.entry.js +6 -6
  190. package/dist/esm/post-side-navigation-trigger.entry.js +6 -6
  191. package/dist/esm/post-side-navigation.entry.js +7 -7
  192. package/dist/esm/post-stepper-item.entry.js +4 -4
  193. package/dist/esm/post-stepper.entry.js +7 -7
  194. package/dist/esm/post-tab-item.entry.js +6 -6
  195. package/dist/esm/post-tab-panel.entry.js +6 -6
  196. package/dist/esm/post-tabs.entry.js +8 -8
  197. package/dist/esm/post-tooltip-trigger.entry.js +6 -6
  198. package/dist/esm/post-tooltip.entry.js +5 -5
  199. package/dist/esm/{required-CE6lKrV1.js → required-BX_AhSO0.js} +1 -1
  200. package/dist/esm/{type-BXIcop4C.js → type-BYIjiHKr.js} +1 -1
  201. package/dist/esm/{url-BYWsovGo.js → url-CZMYpchD.js} +1 -1
  202. package/dist/post-components/p-02585fe8.entry.js +1 -0
  203. package/dist/post-components/{p-9454c025.entry.js → p-07d50011.entry.js} +1 -1
  204. package/dist/post-components/p-0b762d2b.entry.js +1 -0
  205. package/dist/post-components/p-0sQVSOjO.js +1 -0
  206. package/dist/post-components/{p-32df61b4.entry.js → p-143014ef.entry.js} +1 -1
  207. package/dist/post-components/{p-aa952f99.entry.js → p-15f0cdf5.entry.js} +1 -1
  208. package/dist/post-components/{p-65480bb4.entry.js → p-1ff7ddef.entry.js} +1 -1
  209. package/dist/post-components/{p-5ab73bfa.entry.js → p-32c266ba.entry.js} +1 -1
  210. package/dist/post-components/{p-16f6729f.entry.js → p-33649303.entry.js} +1 -1
  211. package/dist/post-components/{p-d12584be.entry.js → p-3ed757a7.entry.js} +1 -1
  212. package/dist/post-components/{p-dc1b91df.entry.js → p-4df63f7d.entry.js} +1 -1
  213. package/dist/post-components/{p-7d02d657.entry.js → p-6258e611.entry.js} +1 -1
  214. package/dist/post-components/{p-6c5cbda6.entry.js → p-675f62bc.entry.js} +1 -1
  215. package/dist/post-components/{p-01d60c90.entry.js → p-6a146ec8.entry.js} +1 -1
  216. package/dist/post-components/{p-5070241f.entry.js → p-6ed71ab9.entry.js} +1 -1
  217. package/dist/post-components/{p-b312510d.entry.js → p-7492d34d.entry.js} +1 -1
  218. package/dist/post-components/{p-efb45d93.entry.js → p-8ace2b57.entry.js} +1 -1
  219. package/dist/post-components/p-8f52881d.entry.js +1 -0
  220. package/dist/post-components/p-950ba0a1.entry.js +1 -0
  221. package/dist/post-components/p-BAtz9iuv.js +2 -0
  222. package/dist/post-components/{p-llOQ9Bhx.js → p-BzmELz-M.js} +1 -1
  223. package/dist/post-components/{p-CzwheJVI.js → p-C0Z-E_YL.js} +1 -1
  224. package/dist/post-components/{p-B9Ec0mux.js → p-CveORA5D.js} +1 -1
  225. package/dist/post-components/p-D9jUbrFT.js +1 -0
  226. package/dist/post-components/p-DsgIP6Dq.js +1 -0
  227. package/dist/post-components/{p-7085c7e7.entry.js → p-a5ae59ba.entry.js} +1 -1
  228. package/dist/post-components/{p-c74a900f.entry.js → p-ac7120cb.entry.js} +1 -1
  229. package/dist/post-components/{p-898d4ef5.entry.js → p-b079f36d.entry.js} +1 -1
  230. package/dist/post-components/{p-28e89c2c.entry.js → p-b3a9309d.entry.js} +1 -1
  231. package/dist/post-components/{p-eae56000.entry.js → p-c72c3bff.entry.js} +1 -1
  232. package/dist/post-components/{p-3c1f1c7d.entry.js → p-d99f4d9d.entry.js} +1 -1
  233. package/dist/post-components/{p-4c8212e9.entry.js → p-da7178e5.entry.js} +1 -1
  234. package/dist/post-components/{p-f5d0ada2.entry.js → p-dd4a07ca.entry.js} +1 -1
  235. package/dist/post-components/p-ed64b31f.entry.js +1 -0
  236. package/dist/post-components/p-f1598c80.entry.js +1 -0
  237. package/dist/post-components/p-fOjbWhb_.js +1 -0
  238. package/dist/post-components/{p-c01c4158.entry.js → p-fed3e568.entry.js} +1 -1
  239. package/dist/post-components/post-components.css +1 -1
  240. package/dist/post-components/post-components.esm.js +1 -1
  241. package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +1 -0
  242. package/dist/types/components/post-footer/post-footer.d.ts +5 -4
  243. package/dist/types/components/post-header/post-header.d.ts +1 -0
  244. package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +1 -1
  245. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -1
  246. package/dist/types/components/post-pagination/post-pagination.d.ts +14 -2
  247. package/dist/types/components/post-side-navigation-trigger/post-side-navigation-trigger.d.ts +3 -0
  248. package/dist/types/components.d.ts +8 -2
  249. package/hydrate/index.js +172 -86
  250. package/hydrate/index.mjs +172 -86
  251. package/package.json +6 -6
  252. package/dist/components/react/p-DUKHlJSz.js +0 -1
  253. package/dist/components/react/p-jK9tFtoG.js +0 -1
  254. package/dist/post-components/p-2e35b425.entry.js +0 -1
  255. package/dist/post-components/p-59858cd1.entry.js +0 -1
  256. package/dist/post-components/p-698a0e26.entry.js +0 -1
  257. package/dist/post-components/p-98a346f3.entry.js +0 -1
  258. package/dist/post-components/p-Bgt5RZOY.js +0 -1
  259. package/dist/post-components/p-BtHmKxxb.js +0 -1
  260. package/dist/post-components/p-CsEmPq6P.js +0 -2
  261. package/dist/post-components/p-DZQPpPV5.js +0 -1
  262. package/dist/post-components/p-a8b5c08a.entry.js +0 -1
  263. package/dist/post-components/p-fd95b5a2.entry.js +0 -1
  264. package/dist/post-components/p-jK9tFtoG.js +0 -1
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B_88IIiS.js');
3
+ var index = require('./index-BDBlw92l.js');
4
4
  var fade = require('./fade-CPQhl1fP.js');
5
5
  require('./breakpoints-B0Olgvgc.js');
6
6
  var componentOnReady = require('./component-on-ready-CifOTqw1.js');
7
- var _package = require('./package-MGiZpKVI.js');
8
- var oneOf = require('./one-of-D2-HNvlh.js');
9
- var type = require('./type-DPQ_KdZx.js');
7
+ var _package = require('./package-uiAqYqcY.js');
8
+ var oneOf = require('./one-of-IgKJFMA_.js');
9
+ var type = require('./type-l3fnHs_E.js');
10
10
  require('./utils-s05L2ulk.js');
11
- require('./create-validator-decorator-86dxH9IC.js');
11
+ require('./create-validator-decorator-BchTP-YG.js');
12
12
 
13
- const postTabsCss = () => `:host{display:block}:host .tabs-wrapper{position:relative;display:flex;align-items:center}:host .tabs-wrapper button.scroll-btn{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;align-items:center;justify-content:center;transition:background-color 100ms,border-color 100ms,color 100ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn{background-color:ButtonFace !important}:host .tabs-wrapper button.scroll-btn:hover{background-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn post-icon{color:currentColor}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn post-icon{color:Highlight}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:hover post-icon{color:canvas}}:host .tabs-wrapper button.scroll-btn[hidden]{display:none}:host .tabs-wrapper button.scroll-btn{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}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .tabs-wrapper .tabs{overflow-x:hidden;background-color:rgba(0,0,0,0) !important;display:flex;flex-wrap:nowrap;align-items:end;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}:host(.page-tabs){overflow:visible !important}:host(.page-tabs) .tabs-wrapper{margin-inline:calc(-1*(var(--post-container-offset)))}:host(.page-tabs) .tabs-wrapper button.scroll-btn{color:var(--post-scheme-color-interactive-primary-enabled-fg5);background-color:var(--post-scheme-color-interactive-primary-enabled-bg5);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke);position:absolute;z-index:2;box-shadow:var(--post-device-elevation-200);border-radius:var(--post-device-border-radius-2)}:host(.page-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-primary-hover-fg4);background-color:var(--post-scheme-color-interactive-primary-hover-bg8)}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-left{inset-inline-start:0;border-inline-start:none;border-radius:0 var(--post-device-border-radius-2) var(--post-device-border-radius-2) 0}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-right{inset-inline-end:0;border-inline-end:none;border-radius:var(--post-device-border-radius-2) 0 0 var(--post-device-border-radius-2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn{background-color:Highlight;color:HighlightText}}:host(.page-tabs) .tabs-wrapper::after{content:"";position:absolute;inset-block-end:0;inset-inline-start:0;width:100%;height:var(--post-device-border-width-default);background-color:var(--post-palette-color-nested-tabs-page-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper::after{background-color:LinkText}}:host(.page-tabs) .tabs-wrapper .tabs{padding-inline:calc(var(--post-container-offset));gap:var(--post-device-spacing-gap-inline-5);scrollbar-width:none}:host(.page-tabs) .tabs-wrapper .tabs::-webkit-scrollbar{display:none}:host(.page-tabs:not([size=small])) button.scroll-btn{top:var(--post-device-spacing-padding-block-35)}:host(.page-tabs[size=small]) button.scroll-btn{top:var(--post-device-spacing-padding-block-8)}:host(.content-tabs) .tabs-wrapper button.scroll-btn{flex-shrink:0;color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{color:HighlightText}}:host(.page-tabs:not([size=small])) .tabs-wrapper button.scroll-btn{height:var(--post-device-sizing-interactive-button-height-10);width:var(--post-device-sizing-interactive-button-width-1)}:host(.page-tabs:not([size=small])) .tabs-wrapper button.scroll-btn.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-38) var(--post-device-spacing-padding-39)}:host(.page-tabs:not([size=small])) .tabs-wrapper button.scroll-btn.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-39) var(--post-device-spacing-padding-38)}:host([size=small]) .tabs-wrapper button.scroll-btn{height:var(--post-device-sizing-interactive-button-size-1);width:var(--post-device-sizing-interactive-button-size-1)}:host([size=small]) .tabs-wrapper button.scroll-btn.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-41) var(--post-device-spacing-padding-42)}:host([size=small]) .tabs-wrapper button.scroll-btn.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-42) var(--post-device-spacing-padding-41)}:host([size=small]) .tabs-wrapper button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4)}`;
13
+ const postTabsCss = () => `:host{display:block}:host .tabs-wrapper{position:relative;display:flex;align-items:center}:host .tabs-wrapper button.scroll-btn{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;align-items:center;justify-content:center;transition:background-color 100ms,border-color 100ms,color 100ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn{background-color:ButtonFace !important}:host .tabs-wrapper button.scroll-btn:hover{background-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn post-icon{color:currentColor}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn post-icon{color:Highlight}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:hover post-icon{color:canvas}}:host .tabs-wrapper button.scroll-btn[hidden]{display:none}:host .tabs-wrapper button.scroll-btn{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}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .tabs-wrapper .tabs{overflow-x:hidden;background-color:rgba(0,0,0,0) !important;display:flex;flex-wrap:nowrap;align-items:end;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}:host(.page-tabs){overflow:visible !important}:host(.page-tabs) .tabs-wrapper{margin-inline:calc(-1*(var(--post-container-offset)))}:host(.page-tabs) .tabs-wrapper button.scroll-btn{color:var(--post-scheme-color-interactive-primary-enabled-fg5);background-color:var(--post-scheme-color-interactive-primary-enabled-bg5);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke);position:absolute;z-index:2;box-shadow:var(--post-device-elevation-200);border-radius:var(--post-device-border-radius-2)}:host(.page-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-primary-hover-fg4);background-color:var(--post-scheme-color-interactive-primary-hover-bg8)}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-left{inset-inline-start:0;border-inline-start:none;border-radius:0 var(--post-device-border-radius-2) var(--post-device-border-radius-2) 0}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-right{inset-inline-end:0;border-inline-end:none;border-radius:var(--post-device-border-radius-2) 0 0 var(--post-device-border-radius-2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn{background-color:Highlight;color:HighlightText}}:host(.page-tabs) .tabs-wrapper::after{content:"";position:absolute;inset-block-end:0;inset-inline-start:0;width:100%;height:var(--post-device-border-width-default);background-color:var(--post-palette-color-nested-tabs-page-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper::after{background-color:LinkText}}:host(.page-tabs) .tabs-wrapper .tabs{padding-inline:calc(var(--post-container-offset));gap:var(--post-device-spacing-gap-inline-5);scrollbar-width:none}:host(.page-tabs) .tabs-wrapper .tabs::-webkit-scrollbar{display:none}:host(.page-tabs:not([size=small])) button.scroll-btn{top:var(--post-device-spacing-padding-block-35)}:host(.page-tabs[size=small]) button.scroll-btn{top:var(--post-device-spacing-padding-block-8)}:host(.content-tabs) .tabs-wrapper button.scroll-btn{flex-shrink:0;color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{color:HighlightText}}:host(post-tabs:not([size=small])) button.scroll-btn{height:var(--post-device-sizing-interactive-button-height-10);width:var(--post-device-sizing-interactive-button-width-1);border-radius:var(--post-device-border-radius-2)}:host(post-tabs:not([size=small])) button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size5);width:var(--post-device-sizing-interactive-icon-size5)}:host(.page-tabs:not([size=small])) button.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-38) var(--post-device-spacing-padding-39)}:host(.page-tabs:not([size=small])) button.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-39) var(--post-device-spacing-padding-38)}:host([size=small]) button.scroll-btn{height:var(--post-device-sizing-interactive-button-size-1);width:var(--post-device-sizing-interactive-button-size-1);border-radius:var(--post-device-border-radius-2)}:host([size=small]) button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4)}:host(.page-tabs[size=small]) button.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-41) var(--post-device-spacing-padding-42)}:host(.page-tabs[size=small]) button.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-42) var(--post-device-spacing-padding-41)}`;
14
14
 
15
15
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
16
16
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -425,10 +425,10 @@ const PostTabs = class {
425
425
  render() {
426
426
  const TabsContainer = this.isPagesVariant ? 'nav' : 'div';
427
427
  const style = undefined;
428
- return (index.h(index.Host, { key: '685ce8af8c27a1a7c3c23c6e5707f0f7e5360125', "data-version": _package.version, style: style }, index.h("div", { key: 'ddec1765d392d963a9741c83fa54d6a0426c9823', class: "tabs-wrapper", part: "post-tabs" }, index.h("button", { key: '5b7dc5ad5a64d99aa60ab578fc17b5acc0434fa4', ref: el => (this.leftScrollButton = el), class: "scroll-btn scroll-btn-left", type: "button", "aria-label": this.textPrevTabItems, tabindex: this.showLeftScrollButton ? 0 : -1, hidden: !this.showLeftScrollButton, onClick: () => this.scrollTabs('prev') }, index.h("post-icon", { key: 'f3f9ffb11294eb35a77cf2dd59f13e80475c5c16', name: "chevronleft" })), index.h(TabsContainer, { key: '1fadf185970129cbc1d7173b9060ceb3fc433e28', ref: el => (this.tabsContainer = el), class: "tabs", role: this.isPagesVariant ? undefined : 'tablist', "aria-label": this.isPagesVariant ? this.label : undefined }, index.h("slot", { key: '398729181e4d8927cafc7b61fb9a048bbcbfd3d9', onSlotchange: () => {
428
+ return (index.h(index.Host, { key: '0520b7aba909495feef9358b2e572f767e42dce2', "data-version": _package.version, style: style }, index.h("div", { key: '779d35686ab406d8b60b595aea6ca67eb5b7d82a', class: "tabs-wrapper", part: "post-tabs" }, index.h("button", { key: '2be9734aa1389baf48901e1eafe759f887ed9490', ref: el => (this.leftScrollButton = el), class: "scroll-btn scroll-btn-left", type: "button", "aria-label": this.textPrevTabItems, tabindex: this.showLeftScrollButton ? 0 : -1, hidden: !this.showLeftScrollButton, onClick: () => this.scrollTabs('prev') }, index.h("post-icon", { key: 'ca6b0acaef9179468737d3669acbc61dfb709657', name: "chevronleft" })), index.h(TabsContainer, { key: 'df8d1f5ca66b86baeb13123459059f1f399f5383', ref: el => (this.tabsContainer = el), class: "tabs", role: this.isPagesVariant ? undefined : 'tablist', "aria-label": this.isPagesVariant ? this.label : undefined }, index.h("slot", { key: 'e9c618d1f018381f37c0b46aea741abe797d7e37', onSlotchange: () => {
429
429
  this.moveMisplacedTabs();
430
430
  this.enableTabs();
431
- } })), index.h("button", { key: 'd188e222a038215cd13d4f1e60f5b0fbba2a5c7e', ref: el => (this.rightScrollButton = el), class: "scroll-btn scroll-btn-right", type: "button", "aria-label": this.textNextTabItems, tabindex: this.showRightScrollButton ? 0 : -1, hidden: !this.showRightScrollButton, onClick: () => this.scrollTabs('next') }, index.h("post-icon", { key: '9ab04bf862f7fe65383027102d81be5f82cabe6d', name: "chevronright" }))), !this.isPagesVariant && (index.h("div", { key: '28e9af0092a31cece1cb7d47f9e32dcfed92517d', class: "tab-content", part: "post-tabs-content" }, index.h("slot", { key: '2ba72280f745ef1d1d36703a5675de1ac7fb1bea', name: "panels", onSlotchange: () => this.moveMisplacedPanels() })))));
431
+ } })), index.h("button", { key: '79e0ad08c240f251e5805d71319d6ce32d843367', ref: el => (this.rightScrollButton = el), class: "scroll-btn scroll-btn-right", type: "button", "aria-label": this.textNextTabItems, tabindex: this.showRightScrollButton ? 0 : -1, hidden: !this.showRightScrollButton, onClick: () => this.scrollTabs('next') }, index.h("post-icon", { key: '491fc9c7746896d9a140fa6cbb97a432ff174ca3', name: "chevronright" }))), !this.isPagesVariant && (index.h("div", { key: '04839eb63e75923e733ec4eea84cd345ae480e70', class: "tab-content", part: "post-tabs-content" }, index.h("slot", { key: '64483606952f79810e7a24105f5c9f822180b6ca', name: "panels", onSlotchange: () => this.moveMisplacedPanels() })))));
432
432
  }
433
433
  get host() { return index.getElement(this); }
434
434
  static get watchers() { return {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B_88IIiS.js');
3
+ var index = require('./index-BDBlw92l.js');
4
4
  require('./breakpoints-B0Olgvgc.js');
5
- var _package = require('./package-MGiZpKVI.js');
6
- var required = require('./required-BfGxoBch.js');
7
- var type = require('./type-DPQ_KdZx.js');
8
- require('./create-validator-decorator-86dxH9IC.js');
5
+ var _package = require('./package-uiAqYqcY.js');
6
+ var required = require('./required-BXiinq5t.js');
7
+ var type = require('./type-l3fnHs_E.js');
8
+ require('./create-validator-decorator-BchTP-YG.js');
9
9
 
10
10
  const postTooltipTriggerCss = () => `post-tooltip-trigger{vertical-align:top}:host{cursor:pointer}`;
11
11
 
@@ -184,7 +184,7 @@ const PostTooltipTrigger = class {
184
184
  this.tooltip?.hide();
185
185
  }
186
186
  render() {
187
- return (index.h(index.Host, { key: '22d8664844f7f00e9c4757d170820bc85624afa8', "data-version": _package.version }, index.h("slot", { key: 'ed601e23b13850a774d4a08fcab93197ed75537a', onSlotchange: () => this.handleSlotChange() })));
187
+ return (index.h(index.Host, { key: '37f835a46c96f1f97019b611da8b6be2d6e1a8d7', "data-version": _package.version }, index.h("slot", { key: 'c2fc3d9080948fdcfbd8b2866730e76b770b87ba', onSlotchange: () => this.handleSlotChange() })));
188
188
  }
189
189
  get host() { return index.getElement(this); }
190
190
  };
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B_88IIiS.js');
3
+ var index = require('./index-BDBlw92l.js');
4
4
  var placement = require('./placement-qEFR9hmI.js');
5
5
  require('./breakpoints-B0Olgvgc.js');
6
- var _package = require('./package-MGiZpKVI.js');
7
- var oneOf = require('./one-of-D2-HNvlh.js');
8
- require('./create-validator-decorator-86dxH9IC.js');
6
+ var _package = require('./package-uiAqYqcY.js');
7
+ var oneOf = require('./one-of-IgKJFMA_.js');
8
+ require('./create-validator-decorator-BchTP-YG.js');
9
9
 
10
10
  const postTooltipCss = () => `:host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:"";inset:-13px;z-index:-1}post-popovercontainer{--post-current-bg:var(--post-scheme-color-surface-accent-bg);--post-current-fg:var(--post-scheme-color-surface-accent-fg);--post-popovercontainer-arrow-border-width:var(--post-device-border-width-alternative1);--post-popovercontainer-arrow-border-color:var(--post-scheme-color-surface-accent-fg)}post-popovercontainer::part(post-popovercontainer-border-mask){display:block;box-shadow:inset 0 0 0 var(--post-device-spacing-padding-14) var(--post-scheme-color-surface-accent-bg)}post-popovercontainer::part(post-popovercontainer-content){border:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-surface-accent-fg);border-radius:var(--post-device-border-radius-1);padding:var(--post-device-spacing-padding-14) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-9);max-width:var(--post-tooltip-max-width, 280px);width:inherit;word-wrap:break-word;white-space:normal}`;
11
11
 
@@ -75,7 +75,7 @@ const PostTooltip = class {
75
75
  }
76
76
  render() {
77
77
  const popoverClass = `${this.arrow ? 'has-arrow' : ''}`;
78
- return (index.h(index.Host, { key: '4d49f652cee9039089db214dbd07a3b15da19062', "data-version": _package.version }, index.h("post-popovercontainer", { key: '7c03e446ef3f4daedd7ed35c2982a37a4a092fb7', safeSpace: "trapezoid", class: popoverClass, role: "tooltip", arrow: this.arrow, placement: this.placement, onPostBeforeToggle: e => this.handleBeforeToggle(e), ref: (el) => (this.popoverRef = el) }, index.h("slot", { key: 'bf4ee006d7df69c14b22011b19aa48131d275563' }))));
78
+ return (index.h(index.Host, { key: 'd49731becbb7395ec68cfae34d316a6248977b53', "data-version": _package.version }, index.h("post-popovercontainer", { key: '12da18a58c2143ef4c2ddff207d081d091e6a40e', safeSpace: "trapezoid", class: popoverClass, role: "tooltip", arrow: this.arrow, placement: this.placement, onPostBeforeToggle: e => this.handleBeforeToggle(e), ref: (el) => (this.popoverRef = el) }, index.h("slot", { key: '5f941c0311eff468be1c6abe7cbcdab8ba272e15' }))));
79
79
  }
80
80
  get host() { return index.getElement(this); }
81
81
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var createValidatorDecorator = require('./create-validator-decorator-86dxH9IC.js');
3
+ var createValidatorDecorator = require('./create-validator-decorator-BchTP-YG.js');
4
4
 
5
5
  /**
6
6
  * Property decorator that validates the property is not empty.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var createValidatorDecorator = require('./create-validator-decorator-86dxH9IC.js');
3
+ var createValidatorDecorator = require('./create-validator-decorator-BchTP-YG.js');
4
4
 
5
5
  /**
6
6
  * Property decorator that validates the property value is of the specified type.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var createValidatorDecorator = require('./create-validator-decorator-86dxH9IC.js');
3
+ var createValidatorDecorator = require('./create-validator-decorator-BchTP-YG.js');
4
4
 
5
5
  /**
6
6
  * Property decorator that validates the property value is a valid URL.
@@ -24,6 +24,13 @@ export class PostAutocomplete {
24
24
  /** Show or hide the clear button */
25
25
  this.clearable = false;
26
26
  this.inputValue = '';
27
+ this.handleFocus = () => {
28
+ if (this.filterThreshold !== 0)
29
+ return;
30
+ if (this.inputElement && this.inputElement.value.trim() !== '')
31
+ return;
32
+ this.postFilteringEvent.emit('');
33
+ };
27
34
  this.handleOnBlur = () => {
28
35
  this.inputElement.value = this.inputValue;
29
36
  this.listBoxElement.filter('');
@@ -166,6 +173,7 @@ export class PostAutocomplete {
166
173
  this.inputElement.addEventListener('keydown', this.handleKeyDown);
167
174
  this.inputElement.addEventListener('blur', this.handleOnBlur);
168
175
  this.inputElement.addEventListener('click', this.showListBox);
176
+ this.inputElement.addEventListener('focus', this.handleFocus);
169
177
  }
170
178
  }
171
179
  detachInputListeners() {
@@ -174,6 +182,7 @@ export class PostAutocomplete {
174
182
  this.inputElement.removeEventListener('keydown', this.handleKeyDown);
175
183
  this.inputElement.removeEventListener('blur', this.handleOnBlur);
176
184
  this.inputElement.removeEventListener('click', this.showListBox);
185
+ this.inputElement.removeEventListener('focus', this.handleFocus);
177
186
  }
178
187
  }
179
188
  attachListboxListeners() {
@@ -199,7 +208,7 @@ export class PostAutocomplete {
199
208
  this.outputElement.textContent = this.textAvailableSuggestions.replace('{count}', String(count));
200
209
  }
201
210
  render() {
202
- return (h(Host, { key: 'a88d1a65adcbe0603dc2c7ccf5900ae49dbe8edc', "data-version": version }, h("slot", { key: 'ff4724e2e298a38020c4eb93b2b9a38d811274b8' }), this.clearable && this.inputValue && (h("button", { key: '6a5f67d5376bdb0d261fd687ad29dd32d4f3be36', type: "button", class: "autocomplete-clear", onClick: this.clearInput }, h("post-icon", { key: '5b123fa4dbd581ebbba96f820b30d9d266b69b7d', "aria-hidden": "true", name: "closex" }))), h("post-icon", { key: '9d3fcaf73cfff3e17d440e7add858482e48a12a7', "aria-hidden": "true", class: "autocomplete-icon", name: "chevronDown" }), h("output", { key: '9c894f8ea34ffcc8b8c741216679ffbbd7b866bf', class: "visually-hidden", ref: el => (this.outputElement = el) })));
211
+ return (h(Host, { key: 'ef5b821b235c6e6a19e9da612a7c3fbc33408e44', "data-version": version }, h("slot", { key: 'a7855fd0e992be6c4fd737e9b7f29c77c1ec8e7f' }), this.clearable && this.inputValue && (h("button", { key: '16a690d24deb1ac1cd50c85cea857ad3e5736fac', type: "button", class: "autocomplete-clear", onClick: this.clearInput }, h("post-icon", { key: 'f254bd331fb15ca6cb5a32ac2a5f5a25cb8e81ea', "aria-hidden": "true", name: "closex" }))), h("post-icon", { key: '87faa8280bb58683262ec40dbec383478c5999f5', "aria-hidden": "true", class: "autocomplete-icon", name: "chevronDown" }), h("output", { key: '9f8ad0d40d1e12f611f4f2e9e14058dbcca3892e', class: "visually-hidden", ref: el => (this.outputElement = el) })));
203
212
  }
204
213
  static get is() { return "post-autocomplete"; }
205
214
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- a{-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline);border-radius:var(--post-device-border-radius-focus);color:var(--post-current-fg)}a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}a{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}a: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){a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){a: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){a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a,a:focus{color:LinkText !important}a:hover{text-decoration-thickness:2px}a:visited{color:VisitedText}a.btn:not(.btn-link){border-color:ButtonBorder !important}a.btn.btn-tertiary.px-0{border:0 !important;text-decoration:underline}}:host(:not([variant=menuitem])){display:flex;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host(:not([variant=menuitem])) :is(button,a){display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);text-decoration:var(--post-core-text-decoration-none)}:host(:not([variant=menuitem])) :is(button,a):not(:disabled):hover{text-decoration:none}:host(:not([variant=menuitem])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host(:not([variant=menuitem])) :is(button,a){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}:host(:not([variant=menuitem])) :is(button,a):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){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host(:not([variant=menuitem])) :is(button,a):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){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a):is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}:host(:not([variant=menuitem])) :is(button,a):not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}:host(:not([variant=menuitem])) :is(button,a):not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}:host(:not([variant=menuitem])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}:host(:not([variant=menuitem]))::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;flex:0 0 auto;content:"";display:block;height:16px;width:16px;margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDAgMSAwLTEuMDZMOS41NyA4IDQuODUgMy4yOGMtLjI5LS4yOS0uMjktLjc3IDAtMS4wNnMuNzctLjI5IDEuMDYgMEwxMS42OSA4bC01Ljc4IDUuNzhjLS4xNS4xNS0uMzQuMjItLjUzLjIyIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik04LjA3IDIwLjcyYy0uMjIgMC0uNDUtLjA4LS42Mi0uMjZhLjg4Ljg4IDAgMCAxIDAtMS4yNGw3LjI2LTcuMjZMNy40NSA0LjdhLjg4Ljg4IDAgMCAxIDAtMS4yNGMuMzQtLjM0LjktLjM0IDEuMjQgMGw4LjUgOC41LTguNDkgOC40OWMtLjE3LjE3LS40LjI2LS42Mi4yNloiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTEwLjc2IDI3LjVjLS4yNiAwLS41MS0uMS0uNzEtLjI5YS45OTYuOTk2IDAgMCAxIDAtMS40MWw5Ljc5LTkuNzktOS43OS05LjgxYS45OTYuOTk2IDAgMSAxIDEuNDEtMS40MUwyMi42NyAxNiAxMS40NiAyNy4yMW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zIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:is(a,span){white-space:var(--post-breadcrumb-item-wrap, normal) !important;word-break:break-word;hyphens:auto}:host([selected]:not([selected=false])){display:flex;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host([selected]:not([selected=false])) :is(button,a){display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);text-decoration:var(--post-core-text-decoration-none)}:host([selected]:not([selected=false])) :is(button,a):not(:disabled):hover{text-decoration:none}:host([selected]:not([selected=false])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host([selected]:not([selected=false])) :is(button,a){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}:host([selected]:not([selected=false])) :is(button,a):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){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host([selected]:not([selected=false])) :is(button,a):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){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a):is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}:host([selected]:not([selected=false])) :is(button,a):not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}:host([selected]:not([selected=false])) :is(button,a):not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}:host([selected]:not([selected=false])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}:host([selected]:not([selected=false]))::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;flex:0 0 auto;content:"";display:block;height:16px;width:16px;margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDAgMSAwLTEuMDZMOS41NyA4IDQuODUgMy4yOGMtLjI5LS4yOS0uMjktLjc3IDAtMS4wNnMuNzctLjI5IDEuMDYgMEwxMS42OSA4bC01Ljc4IDUuNzhjLS4xNS4xNS0uMzQuMjItLjUzLjIyIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik04LjA3IDIwLjcyYy0uMjIgMC0uNDUtLjA4LS42Mi0uMjZhLjg4Ljg4IDAgMCAxIDAtMS4yNGw3LjI2LTcuMjZMNy40NSA0LjdhLjg4Ljg4IDAgMCAxIDAtMS4yNGMuMzQtLjM0LjktLjM0IDEuMjQgMGw4LjUgOC41LTguNDkgOC40OWMtLjE3LjE3LS40LjI2LS42Mi4yNloiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTEwLjc2IDI3LjVjLS4yNiAwLS41MS0uMS0uNzEtLjI5YS45OTYuOTk2IDAgMCAxIDAtMS40MWw5Ljc5LTkuNzktOS43OS05LjgxYS45OTYuOTk2IDAgMSAxIDEuNDEtMS40MUwyMi42NyAxNiAxMS40NiAyNy4yMWMtLjIuMi0u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pIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:host([selected]:not([selected=false])) :is(a,span){color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);text-decoration:var(--post-core-text-decoration-none)}
1
+ a{-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline);border-radius:var(--post-device-border-radius-focus);color:var(--post-current-fg)}a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}a{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}a: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){a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){a: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){a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a,a:focus{color:LinkText !important}a:hover{text-decoration-thickness:2px}a:visited{color:VisitedText}a.btn:not(.btn-link){border-color:ButtonBorder !important}a.btn.btn-tertiary.px-0{border:0 !important;text-decoration:underline}}:host(:not([variant=menuitem])){display:flex;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host(:not([variant=menuitem])) :is(button,a){display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);text-decoration:var(--post-core-text-decoration-none)}:host(:not([variant=menuitem])) :is(button,a):not(:disabled):hover{text-decoration:none}:host(:not([variant=menuitem])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host(:not([variant=menuitem])) :is(button,a){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}:host(:not([variant=menuitem])) :is(button,a):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){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host(:not([variant=menuitem])) :is(button,a):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){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a):is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}:host(:not([variant=menuitem])) :is(button,a):not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}:host(:not([variant=menuitem])) :is(button,a):not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}:host(:not([variant=menuitem])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}:host(:not([variant=menuitem]))::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;flex:0 0 auto;content:"";display:block;height:16px;width:16px;margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDA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0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:is(a,span){white-space:var(--post-breadcrumb-item-wrap, normal) !important;overflow-wrap:anywhere;hyphens:auto;line-break:strict}:host([selected]:not([selected=false])){display:flex;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host([selected]:not([selected=false])) :is(button,a){display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);text-decoration:var(--post-core-text-decoration-none)}:host([selected]:not([selected=false])) :is(button,a):not(:disabled):hover{text-decoration:none}:host([selected]:not([selected=false])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host([selected]:not([selected=false])) :is(button,a){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}:host([selected]:not([selected=false])) :is(button,a):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){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host([selected]:not([selected=false])) :is(button,a):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){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a):is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}:host([selected]:not([selected=false])) :is(button,a):not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}:host([selected]:not([selected=false])) :is(button,a):not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}:host([selected]:not([selected=false])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}:host([selected]:not([selected=false]))::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;flex:0 0 auto;content:"";display:block;height:16px;width:16px;margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwI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czI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:host([selected]:not([selected=false])) :is(a,span){color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);text-decoration:var(--post-core-text-decoration-none)}
@@ -1 +1 @@
1
- :host{display:block}footer{border-block-start:1px solid #373632;--post-footer-container-padding-block: 32px;--post-footer-container-padding-inline: 16px;--post-footer-container-max-width: 1200px;--post-footer-prefooter-padding-block: 16px;--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-list-flex-direction: column;--post-footer-list-gap: 8px;--post-footer-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-prefooter-padding-block: 32px;--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-list-flex-direction: row;--post-footer-list-gap: 16px;--post-footer-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-list-gap: 24px;--post-footer-businesssectors-margin-block-end: 24px;--post-footer-meta-font-size: 16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.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)}.prefooter{background-color:#fafafa}.prefooter .footer-container{padding-block:0}.prefooter ::slotted([slot=prefooter]){padding-block:var(--post-footer-prefooter-padding-block)}.footer-main{background-color:#fc0}.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:has(>.d-none+.d-none+.d-none+.d-none){margin-block-end:0;padding-block-end:0;row-gap:0;column-gap:0}.footer-grid post-accordion:has(>.d-none+.d-none+.d-none+.d-none){display:none}.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(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:flex !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !important;align-items:var(--post-footer-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)}.prefooter ::slotted(div),.footer-businesssectors ::slotted(div){display:flex;flex-wrap:wrap;align-items:center;gap:var(--post-footer-list-gap) !important}.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)}.d-none{display:none}
1
+ :host{display:block}footer{border-block-start:1px solid #373632;--post-footer-container-padding-block: 32px;--post-footer-container-padding-inline: 16px;--post-footer-container-max-width: 1200px;--post-footer-prefooter-padding-block: 16px;--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-list-flex-direction: column;--post-footer-list-gap: 8px;--post-footer-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-prefooter-padding-block: 32px;--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-list-flex-direction: row;--post-footer-list-gap: 16px;--post-footer-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-list-gap: 24px;--post-footer-businesssectors-margin-block-end: 24px;--post-footer-meta-font-size: 16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.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)}.prefooter{background-color:#fafafa}.prefooter .footer-container{padding-block:0}.prefooter ::slotted([slot=prefooter]){padding-block:var(--post-footer-prefooter-padding-block)}.footer-main{background-color:#fc0}.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(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:flex !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !important;align-items:var(--post-footer-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)}.prefooter ::slotted(div),.footer-businesssectors ::slotted(div){display:flex;flex-wrap:wrap;align-items:center;gap:var(--post-footer-list-gap) !important}.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)}.d-none{display:none}
@@ -12,6 +12,7 @@ import { breakpoint, Required, Type } from "../../utils/index";
12
12
  import { version } from "../../../../package";
13
13
  import { h, Host } from "@stencil/core";
14
14
  const GRID_SLOTS = ['grid-1', 'grid-2', 'grid-3', 'grid-4'];
15
+ const SECTION_SLOTS = ['socialmedia', 'app', 'businesssectors', 'meta', 'copyright'];
15
16
  /**
16
17
  * @slot prefooter - Slot for the pre-footer.
17
18
  * @slot grid-{1|2|3|4}-title - Slot for the accordion headers (mobile).
@@ -19,26 +20,27 @@ const GRID_SLOTS = ['grid-1', 'grid-2', 'grid-3', 'grid-4'];
19
20
  * @slot socialmedia - Slot for the social media links.
20
21
  * @slot app - Slot for the app links.
21
22
  * @slot businesssectors - Slot for the business sectors links.
22
- * @slot meta - Slot for the meta links.
23
- * @slot copyright - Slot for the copyright text.
23
+ * @slot meta - **Required.** Slot for the meta links.
24
+ * @slot copyright - **Required.** Slot for the copyright text.
24
25
  */
25
26
  export class PostFooter {
26
27
  constructor() {
27
28
  this.device = breakpoint.get('device');
28
- this.gridSlotDisplayed = {};
29
+ this.slotDisplayed = {};
29
30
  this.breakpointChange = (e) => {
30
31
  this.device = e.detail;
31
32
  };
32
33
  this.handleGridSlotChange = this.handleGridSlotChange.bind(this);
34
+ this.handleSlotChange = this.handleSlotChange.bind(this);
33
35
  }
34
36
  connectedCallback() {
35
37
  globalThis.addEventListener('postBreakpoint:device', this.breakpointChange);
36
38
  }
37
39
  componentWillLoad() {
38
- // initialize grid visibility by checking the content of each slot
39
- GRID_SLOTS.forEach(slotName => {
40
+ // initialize slot visibility by checking the content of each slot
41
+ [...GRID_SLOTS, ...SECTION_SLOTS].forEach(slotName => {
40
42
  const assignedElements = this.host.querySelectorAll(`[slot="${slotName}"]`);
41
- this.updateGridSlotDisplay(slotName, assignedElements.length > 0);
43
+ this.updateSlotDisplay(slotName, assignedElements.length > 0);
42
44
  });
43
45
  }
44
46
  disconnectedCallback() {
@@ -47,23 +49,39 @@ export class PostFooter {
47
49
  handleGridSlotChange(...devices) {
48
50
  return (e) => {
49
51
  if (devices.includes(this.device) && e.target instanceof HTMLSlotElement) {
50
- this.updateGridSlotDisplay(e.target.name, e.target.assignedElements().length > 0);
52
+ this.updateSlotDisplay(e.target.name, e.target.assignedElements().length > 0);
51
53
  }
52
54
  };
53
55
  }
54
- updateGridSlotDisplay(slotName, hasContent) {
55
- if (this.gridSlotDisplayed[slotName] !== hasContent) {
56
- this.gridSlotDisplayed = { ...this.gridSlotDisplayed, [slotName]: hasContent };
56
+ handleSlotChange(e) {
57
+ if (e.target instanceof HTMLSlotElement) {
58
+ this.updateSlotDisplay(e.target.name, e.target.assignedElements().length > 0);
59
+ }
60
+ }
61
+ updateSlotDisplay(slotName, hasContent) {
62
+ if (this.slotDisplayed[slotName] !== hasContent) {
63
+ // @State only re-renders when this.slotDisplayed itself is replaced,
64
+ // not when one of its properties is changed directly
65
+ this.slotDisplayed = { ...this.slotDisplayed, [slotName]: hasContent };
57
66
  }
58
67
  }
59
68
  renderAccordion() {
60
- return (h("post-accordion", { headingLevel: 3, multiple: true }, GRID_SLOTS.map(slotName => (h("post-accordion-item", { key: slotName, class: { 'd-none': !this.gridSlotDisplayed[slotName] }, collapsed: true }, h("span", { slot: "header" }, h("slot", { name: slotName + '-title' })), h("slot", { onSlotchange: this.handleGridSlotChange('mobile'), name: slotName }))))));
69
+ return (h("post-accordion", { headingLevel: 3, multiple: true }, GRID_SLOTS.map(slotName => (h("post-accordion-item", { key: slotName, class: { 'd-none': !this.slotDisplayed[slotName] }, collapsed: true }, h("span", { slot: "header" }, h("slot", { name: slotName + '-title' })), h("slot", { onSlotchange: this.handleGridSlotChange('mobile'), name: slotName }))))));
61
70
  }
62
71
  renderColumns() {
63
- return GRID_SLOTS.map(slotName => (h("div", { key: slotName, class: { 'd-none': !this.gridSlotDisplayed[slotName] } }, h("h3", null, h("slot", { name: slotName + '-title' })), h("slot", { onSlotchange: this.handleGridSlotChange('tablet', 'desktop'), name: slotName }))));
72
+ return GRID_SLOTS.map(slotName => (h("div", { key: slotName, class: { 'd-none': !this.slotDisplayed[slotName] } }, h("h3", null, h("slot", { name: slotName + '-title' })), h("slot", { onSlotchange: this.handleGridSlotChange('tablet', 'desktop'), name: slotName }))));
64
73
  }
65
74
  render() {
66
- return (h(Host, { key: 'a418a8149b54b81dd054d02b5a13158a3592f80e', "data-version": version, "data-color-scheme": "light" }, h("footer", { key: '15e5706569dcae6f0b0c607384c93cc79b42dfb4' }, h("h2", { key: '031af06c7b0f81324117be0ff79acecde5067c6c', class: "visually-hidden" }, this.textFooter), h("div", { key: 'ddb24e0e3165b0dc486979f65756de522690a5ea', class: "prefooter" }, h("div", { key: '33420f69408f368b52199a56258fa6c342b47fd4', class: "footer-container" }, h("slot", { key: '9fbbb2958d4623374333a32988e676cc29e9c432', name: "prefooter" }))), h("div", { key: '22cf7438001c496fc1b0480b53aab827c2e43d60', class: "footer-main" }, h("div", { key: '861cc3613a0a29610e1bd0f0bc0b85ebb8278e11', class: "footer-container" }, h("div", { key: 'b3d8aa82cbc11b6a1bc66673812d081fcc60dadd', class: "footer-grid" }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), h("div", { key: '37024ff8c65037877e2daa41a91c7f7c731cfdcf', class: "footer-column" }, h("div", { key: '45f35d77042709c3b487887d255cf060aae066be', class: "footer-socialmedia" }, h("slot", { key: 'f24f0f3e03267c22de4df84d57e64627939b2ec5', name: "socialmedia" })), h("div", { key: '32f122287278c21b588267c6d4a8f3e8e0f2e2cd', class: "footer-app" }, h("slot", { key: '2b2baaa778418bda6e5d50b9dd661dc6f7a13d15', name: "app" }))), h("div", { key: 'f3926f93aaac9040313052bab0d08155f4862b8a', class: "footer-businesssectors" }, h("slot", { key: 'f8aa5a777ddbf58dd47b305d2cbbbaa534795552', name: "businesssectors" })), h("div", { key: '1215c8e0a20a0ec6d1fe69da0bb793a533c9dd06', class: "footer-meta" }, h("slot", { key: '939483f25bdf8c1ef9593b58962b11b1ecc4c3a2', name: "meta" })), h("div", { key: '4601f4b358e02319f2011d64c80778eb49732914', class: "footer-copyright" }, h("slot", { key: '20ce9532ee14223e75ece29d951599c1a702f15d', name: "copyright" })))))));
75
+ const renderSocialmedia = this.slotDisplayed['socialmedia'];
76
+ const renderApp = this.slotDisplayed['app'];
77
+ const renderBusinesssectors = this.slotDisplayed['businesssectors'];
78
+ const renderMeta = this.slotDisplayed['meta'];
79
+ const renderCopyright = this.slotDisplayed['copyright'];
80
+ const allGridSlotsEmpty = GRID_SLOTS.every(slotName => !this.slotDisplayed[slotName]);
81
+ return (h(Host, { key: 'd34606bcddf871bcf82c64dd710a1e7d1d1dcbb5', "data-version": version, "data-color-scheme": "light" }, h("footer", { key: 'a82c77c34e1308ed02445a221776f37ebe26d7f9' }, h("h2", { key: '3d6bd7b10494661506a1bd60323e3e3205b1a400', class: "visually-hidden" }, this.textFooter), h("div", { key: '6497d40d70757426194142d8b597101d4f0f5ce6', class: "prefooter" }, h("div", { key: '7d352f9029fe397f0ada15de8dacb9d8a0b2a831', class: "footer-container" }, h("slot", { key: 'bbe3c744a1ea06544ccfda3b1f9a7e52666b69c3', name: "prefooter" }))), h("div", { key: '4bdd7e6f0507bbbc9ccb7a9b3a5f1dad2f1c6936', class: "footer-main" }, h("div", { key: '3b141f824900b9dccb6746bb4b11678f2b90ef53', class: "footer-container" }, h("div", { key: '46ef9417bb0aced5506e8adbeb6001dbcfe119a5', class: { 'footer-grid': true, 'd-none': allGridSlotsEmpty } }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), h("div", { key: 'd25f9b4b8e8bf8ce7d090c41c8b9de0c1454c566', class: {
82
+ 'footer-column': true,
83
+ 'd-none': !renderSocialmedia && !renderApp,
84
+ } }, h("div", { key: '43888182ec9db5d001ff724648f02a43acddb198', class: { 'footer-socialmedia': true, 'd-none': !renderSocialmedia } }, h("slot", { key: 'd96fe2e61b69ead95ba6235bdd63951ff177377a', onSlotchange: this.handleSlotChange, name: "socialmedia" })), h("div", { key: '0eb5c0c55f6d86ef4a179fa55bfb2b37311e1563', class: { 'footer-app': true, 'd-none': !renderApp } }, h("slot", { key: 'dcc9d0121b0febc2b2d4d183ca0aa979dd27b35c', onSlotchange: this.handleSlotChange, name: "app" }))), h("div", { key: '85a47b73374144b13fd40d3f25582e4375873647', class: { 'footer-businesssectors': true, 'd-none': !renderBusinesssectors } }, h("slot", { key: '1cbd28be1c5b8d52df6139db49e1e3b31db03a5a', onSlotchange: this.handleSlotChange, name: "businesssectors" })), h("div", { key: '1877c5230c17196d647f9ed145a21bcfed36321a', class: { 'footer-meta': true, 'd-none': !renderMeta } }, h("slot", { key: '12ca6c0a79db19365daddf3c14b4a395f664d3e1', onSlotchange: this.handleSlotChange, name: "meta" })), h("div", { key: '3dd50edca20df5bd258b1b01da2a88d556d5ea04', class: { 'footer-copyright': true, 'd-none': !renderCopyright } }, h("slot", { key: '058326a07ee00caea0cbac3843ba8190cf68abde', onSlotchange: this.handleSlotChange, name: "copyright" })))))));
67
85
  }
68
86
  static get is() { return "post-footer"; }
69
87
  static get encapsulation() { return "shadow"; }
@@ -103,7 +121,7 @@ export class PostFooter {
103
121
  static get states() {
104
122
  return {
105
123
  "device": {},
106
- "gridSlotDisplayed": {}
124
+ "slotDisplayed": {}
107
125
  };
108
126
  }
109
127
  static get elementRef() { return "host"; }
@@ -292,7 +292,7 @@ export class PostHeader {
292
292
  });
293
293
  }
294
294
  onFocusChange() {
295
- const isFocusVisible = document.activeElement?.matches(':focus-visible');
295
+ const isFocusVisible = this.getDeepActiveElement()?.matches(':focus-visible');
296
296
  const isFocusedInHeader = this.host.matches(':focus-within');
297
297
  const mustRemainCollapsed = this.device === 'desktop'
298
298
  ? !!this.host.querySelector('post-mainnavigation:focus-within')
@@ -300,6 +300,15 @@ export class PostHeader {
300
300
  const isHeaderExpanded = isFocusVisible && isFocusedInHeader && !mustRemainCollapsed;
301
301
  this.host.toggleAttribute('data-expanded', isHeaderExpanded);
302
302
  }
303
+ // document.activeElement stops at the outermost shadow host (e.g. post-language-menu)
304
+ // when focus is nested inside its own shadow root, walk down to find the real target
305
+ getDeepActiveElement() {
306
+ let activeElement = document.activeElement;
307
+ while (activeElement?.shadowRoot?.activeElement) {
308
+ activeElement = activeElement.shadowRoot.activeElement;
309
+ }
310
+ return activeElement;
311
+ }
303
312
  renderBurgerMenu() {
304
313
  return (h("div", { class: {
305
314
  'burger-menu': true,
@@ -310,10 +319,10 @@ export class PostHeader {
310
319
  render() {
311
320
  const onDesktop = Build.isServer || this.device === 'desktop';
312
321
  const onTabletAndMobile = Build.isServer || this.device !== 'desktop';
313
- return (h(Host, { key: '27f2b45fb1462bab63be02bbdcb57ad9a2598bde', "data-version": version, "data-color-scheme": "light", "data-burger-menu": this.hasBurgerMenu, "data-menu-extended": this.burgerMenuExtended }, h("header", { key: '294bef701f378a96b06379806edae087d9211270' }, h("div", { key: '2df4d34bd7d5b714cac70b7201f2a17f7bf64517', class: "global-header" }, h("div", { key: 'd7902c1b10177b3790fb61035c527acf36fc0c3d', class: "section" }, h("div", { key: '952fed12ff5c717750a50ac32872f728ddabb113', class: "logo" }, h("slot", { key: 'a0a824677325c8a68fe483c8f6f7ef49378d5f4e', name: "post-logo" })), h("div", { key: '0dd5218658a03ebfcf049f47a1efa7197ca4e8cc', class: "sliding-controls" }, onDesktop && (h("div", { key: '9911f969b099b26d5e84d37d36aa7fd0ba44969f', class: "audience" }, h("slot", { key: '57b09b2030b7812990a915691fad10fb6d5bb474', name: "audience" }))), h("slot", { key: 'b6ba1ee1d5371504d3b4b9f12ca6d8ff2b5c36fa', name: "global-nav-primary" }), (onDesktop || !this.hasMainNav) && [
322
+ return (h(Host, { key: '008aaa5914544cf97a4cff310af87b03d9649254', "data-version": version, "data-color-scheme": "light", "data-burger-menu": this.hasBurgerMenu, "data-menu-extended": this.burgerMenuExtended }, h("header", { key: '6d5586b528a18933a8a9aa8beac35c2fed9cfcc1' }, h("div", { key: '53710a339b1beca2599e9340b48297424a55bc6a', class: "global-header" }, h("div", { key: '79d3204148ee92926842b5ed709c46dc7aedb28f', class: "section" }, h("div", { key: 'cb66ff436b27d81ea67e3e7390511560a3641091', class: "logo" }, h("slot", { key: '6d5c42047e42aeb4ee1d84ee3e364793a3f7d2b8', name: "post-logo" })), h("div", { key: '2adf5cb3398b9fba3eccbe412232c2228f519eaa', class: "sliding-controls" }, onDesktop && (h("div", { key: 'e4d27d57c46647c11a2db0f1ba382086dbb0e2ea', class: "audience" }, h("slot", { key: 'e60dee56e764bf07ff84116fe4befd39b6fd78a5', name: "audience" }))), h("slot", { key: '305371426ba6a8c8d70b14d281d4999441a10c02', name: "global-nav-primary" }), (onDesktop || !this.hasMainNav) && [
314
323
  h("slot", { key: "global-nav-secondary", name: "global-nav-secondary" }),
315
324
  h("slot", { key: "language-menu", name: "language-menu" }),
316
- ], h("slot", { key: '669cebef2ce5905fee07abec99b0acced7ef42e5', name: "post-login" }), onTabletAndMobile && this.hasMainNav && (h("post-togglebutton", { key: '9268220b8e838053d86abacc9e8334463a23350c', class: "burger-button", ref: el => (this.burgerMenuButton = el), onClick: () => this.toggleBurgerMenu() }, h("span", { key: '6706c34956268e049dd35fe12992b7b746aa394a' }, this.textMenu), h("post-icon", { key: '6578bc195b018c1202bda1732253f71e27df6244', "aria-hidden": "true", name: "burger", "data-showwhen": "untoggled" }), h("post-icon", { key: '506087286c148dbb55b963288add6935001c1feb', "aria-hidden": "true", name: "closex", "data-showwhen": "toggled" })))))), h("div", { key: 'c645c82f3a71151a16bda3802a69228c1be048e9', ref: el => (this.localHeader = el), class: { 'local-header': true, 'megadropdown-open': this.megadropdownOpen } }, h("div", { key: 'ae30584b05570d62323a2d32f90653b38297b869', class: "section" }, h("slot", { key: '70b60e0d71a2f9c1e6a48d664ceb3778f5a3067a', name: "side-nav" }), h("slot", { key: 'cc356649c53e46b758916a44d4d7fb889e031172', name: "title" }), this.hasTitle && h("slot", { key: 'fbbd76c5c2cce8991c0cfcc740fe9231c1677f79', name: "local-nav" }), onDesktop && h("slot", { key: 'fd7e94fac20a263960e7ebbc66ddfac23bd954e8', name: "main-nav" }), onDesktop && !this.hasTitle && h("slot", { key: '38ac26fb18f85f1c42b4a7bdd97dc0e1b25ca940', name: "local-nav" }))), this.hasBurgerMenu && this.renderBurgerMenu())));
325
+ ], h("slot", { key: '07d4adae4ee957a3b110e9658a463c40aee2b8c0', name: "post-login" }), onTabletAndMobile && this.hasMainNav && (h("post-togglebutton", { key: '7e0278082a427a706879b12613529d63846a061e', class: "burger-button", ref: el => (this.burgerMenuButton = el), onClick: () => this.toggleBurgerMenu() }, h("span", { key: '5ed5054ef64342a84559c9a3a1b997a9a880f231' }, this.textMenu), h("post-icon", { key: 'c1de7b7bcea2a786dbb68fc68dfc7c0430f8e17a', "aria-hidden": "true", name: "burger", "data-showwhen": "untoggled" }), h("post-icon", { key: 'd52846ecee10d618f71d5f50ecef5d0f2c5e5656', "aria-hidden": "true", name: "closex", "data-showwhen": "toggled" })))))), h("div", { key: '06c1e47adaf1d9be4d1f1ea363baff03fe6545ea', ref: el => (this.localHeader = el), class: { 'local-header': true, 'megadropdown-open': this.megadropdownOpen } }, h("div", { key: '34fa9463ad6e4d2839e3f8878fd954fcf01951f4', class: "section" }, h("slot", { key: 'f81d3e0b9e4ccb715a61748b5d7178e034a3b976', name: "side-nav" }), h("slot", { key: 'b21c7536e99f236b2fccc01d5b9e221d753b2e45', name: "title" }), this.hasTitle && h("slot", { key: '0a30328b689ee68555cf2a7a44069b8d72b307b0', name: "local-nav" }), onDesktop && h("slot", { key: 'fb8f22510cc509240a99ad3f2511648df1f9cd04', name: "main-nav" }), onDesktop && !this.hasTitle && h("slot", { key: '49d121722ffa10894e2d5322bb5afe25b17bce5f', name: "local-nav" }))), this.hasBurgerMenu && this.renderBurgerMenu())));
317
326
  }
318
327
  static get is() { return "post-header"; }
319
328
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class PostLanguageMenuItem {
44
44
  this.emitChange();
45
45
  }
46
46
  };
47
- const interactiveElement = this.url ? (h("a", { "aria-current": this.active ? 'page' : undefined, href: this.url, hrefLang: lang, lang: lang, "aria-description": this.description, onClick: () => this.emitChange(), onKeyDown: emitOnKeyDown }, h("slot", null), h("span", { class: "visually-hidden" }, this.name))) : (h("button", { "aria-current": this.active ? 'true' : undefined, lang: lang, "aria-description": this.description, onClick: () => this.emitChange(), onKeyDown: emitOnKeyDown }, h("slot", null), h("span", { class: "visually-hidden" }, this.name)));
47
+ const interactiveElement = this.url ? (h("a", { "aria-current": this.active ? 'page' : undefined, href: this.url, hreflang: lang, lang: lang, "aria-description": this.description, onClick: () => this.emitChange(), onKeyDown: emitOnKeyDown }, h("slot", null), h("span", { class: "visually-hidden" }, this.name))) : (h("button", { "aria-current": this.active ? 'true' : undefined, lang: lang, "aria-description": this.description, onClick: () => this.emitChange(), onKeyDown: emitOnKeyDown }, h("slot", null), h("span", { class: "visually-hidden" }, this.name)));
48
48
  return this.variant === 'list' ? (h(Host, { "data-version": version, role: "listitem" }, interactiveElement)) : (h(Host, { "data-version": version }, h("post-menu-item", null, interactiveElement)));
49
49
  }
50
50
  static get is() { return "post-language-menu-item"; }
@@ -72,7 +72,7 @@ export class PostLanguageMenuItem {
72
72
  "optional": false,
73
73
  "docs": {
74
74
  "tags": [],
75
- "text": "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\"."
75
+ "text": "The ISO 639-1 language code, formatted according to [RFC 5646 (also known as BCP 47)](https://datatracker.ietf.org/doc/html/rfc5646). For example, \"de\"."
76
76
  },
77
77
  "getter": false,
78
78
  "setter": false,
@@ -1 +1 @@
1
- post-popovercontainer{border-radius:4px;overflow:hidden;box-shadow:var(--post-device-elevation-300)}div[role=listbox]{max-height:384px;overflow:auto;display:flex;flex-direction:column}::slotted([slot=blank-slate]){display:block;padding:.75rem;color:#666}
1
+ post-popovercontainer{border-radius:4px;overflow:hidden;box-shadow:var(--post-device-elevation-300)}div[role=listbox]{max-height:384px;overflow:auto;display:flex;flex-direction:column}
@@ -129,7 +129,7 @@ export class PostListbox {
129
129
  this.updateSelection(event.detail);
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: 'd9008aa55aca4e0a65fdffd67485d74ddc4069f6', "data-version": version, role: "listbox" }, h("post-popovercontainer", { key: '5ba4d68483581101ca4bf6fea04102fa883b71d1', placement: "bottom-start", ref: el => (this.popoverContainer = el) }, this.visibleOptions.length === 0 ? h("slot", { name: "blank-slate" }) : h("slot", null))));
132
+ return (h(Host, { key: 'd9008aa55aca4e0a65fdffd67485d74ddc4069f6', "data-version": version, role: "listbox" }, h("post-popovercontainer", { key: '5ba4d68483581101ca4bf6fea04102fa883b71d1', placement: "bottom-start", ref: el => (this.popoverContainer = el) }, h("slot", { key: '286a31eff1b70ec35efcfa745103933598589f2a', name: "blank-slate" }), h("slot", { key: '4cebce7de3143c3eb1deafa57209f7295aa6ec44' }))));
133
133
  }
134
134
  static get is() { return "post-listbox"; }
135
135
  static get encapsulation() { return "shadow"; }
@@ -9,9 +9,9 @@ export class PostListboxOption {
9
9
  this.highlighted = false;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '083077341f74f3d6f7baad7599aef968a9f07582', "data-version": version, role: "option", "aria-selected": `${this.selected}`, "data-active": this.highlighted ? 'true' : null,
12
+ return (h(Host, { key: 'ff0e773f8a89f9df3996a83cd2be6247c1ab5475', "data-version": version, role: "option", "aria-selected": `${this.selected}`, "data-active": this.highlighted ? 'true' : null,
13
13
  /* Prevent focus change from triggering onblur event in post-autocomplete */
14
- onPointerDown: (e) => e.preventDefault(), onClick: () => this.postOptionSelected.emit(this.value), id: `post-listbox-option-${this.optionId}` }, h("span", { key: '7d844e51e7f90ea77075f83b663b2b77049f04df', class: "option-content" }, this.value, h("span", { key: 'b7b19312ebaf634292076425725434d18a8a6532', class: "option-description" }, h("slot", { key: '69db5aad7cbe41419398ca32c7ca2b955fbcaefe' }))), this.selected && h("post-icon", { key: '8969fc083fb669a4c5e9d8dbb1c12e1fcde053d5', "aria-hidden": "true", name: "checkmark" })));
14
+ onPointerDown: (e) => e.preventDefault(), onClick: () => this.postOptionSelected.emit(this.value), id: `post-listbox-option-${this.optionId}` }, h("span", { key: 'cb43e8bec5f262ae25ddfdcae1b7f9979bdd6858', class: "option-content" }, this.value, h("span", { key: '5b314c41073a357185613a04a07d2020e4eab300', class: "option-description" }, h("slot", { key: 'ac1ed1be98f9a348952c0169d7ec89f8aaa99474' }))), this.selected && h("post-icon", { key: '7691085df732c0c2c5db9824587d54047017adf5', "aria-hidden": "true", name: "checkmark" })));
15
15
  }
16
16
  static get is() { return "post-listbox-option"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -26,7 +26,7 @@ export class PostLogo {
26
26
  render() {
27
27
  const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
28
28
  const LogoTag = logoLink ? 'a' : 'span';
29
- return (h(Host, { key: '473c845bef6d123628bf52b7848475b50172e3c0', "data-version": version }, h(LogoTag, { key: '47503ff9c22b613c5041d51a48cfc158d0edebcd', class: `logo ${logoLink ? 'logo-link' : ''}`, ...(logoLink ? { href: logoLink } : {}) }, h("span", { key: '52953139bad89e236fc922574a881b7f4b79aee5', class: "description" }, h("slot", { key: '554c681236c4d158d967f97754134af774ec791e', onSlotchange: () => this.checkDescription() })), h("svg", { key: '3d65f3a44c46f8ba3810d0cd3c344577fb43a61e', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: '03f88fbf5710da7f0bbccafdb95c4faa93e2636a', id: "Logo" }, h("rect", { key: '33f39db4fb799744d25fae33f0b6a921c331531a', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: '93c248b53c7493a831d7b1ddf8b3e3d14d804779', 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: 'dbdfa4a5f215e578c9f9cfc65f0cfb5d26b02848', 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" }))))));
29
+ return (h(Host, { key: '84ece8e71d7dec66aa634d9a8a37d6bf3197c1b6', "data-version": version }, h(LogoTag, { key: '1531c6e8f32d42e63f5482d2983f18e4c9a23b1a', class: `logo ${logoLink ? 'logo-link' : ''}`, ...(logoLink ? { href: logoLink } : {}) }, h("span", { key: 'd45d33329e30de0de9de56f2d588995a7f97d01e', class: "description" }, h("slot", { key: 'e8665c8d739dc2a2968bf1193c26ba1d1e731b38', onSlotchange: () => this.checkDescription() })), h("svg", { key: 'bb3f534952e29e2e43816c5a5dd55541d05bee26', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: '9ca05c263f6c9f41cc5406ccfd030a713ffe0254', id: "Logo" }, h("rect", { key: '30a59adc0eec11af2d90180da1f5a95b03175d21', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: 'b1cbe7c575d36cf26a1cc41c9124625c2d1e5ef1', 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: '398027f23c8c9a4cf2bc7f8d7c8aa4ec0466f0be', 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
30
  }
31
31
  static get is() { return "post-logo"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -129,7 +129,7 @@ export class PostMainnavigation {
129
129
  }, NAVBAR_DISABLE_DURATION);
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: '057f526f5b0e931fcb8642e6fa034f441df43020', version: version, class: this.canScroll ? 'scrollable' : '' }, h("div", { key: 'c8ce70f6cbeec58c77709c1736b013ffe09ead6f', "aria-hidden": "true", class: { 'scroll-control scroll-left': true, 'd-none': !this.canScrollLeft }, onMouseDown: e => this.handleScrollButtonClick(e, 'left') }, h("post-icon", { key: '8281914d3380920a5562b468e87c87ca196a4830', "aria-hidden": "true", name: "chevronleft" })), h("nav", { key: '7720c24a70339ea1c984dedf2faba0de8a6cfc86', ref: el => (this.navbar = el), "aria-label": this.textMain }, h("slot", { key: '3812be77ea739aac2be90cf8e7ac9a7e32bf5fce' })), h("div", { key: 'eda43d3b2e1d8f916275773d9ef93d364e9c1948', "aria-hidden": "true", class: { 'scroll-control scroll-right': true, 'd-none': !this.canScrollRight }, onMouseDown: e => this.handleScrollButtonClick(e, 'right') }, h("post-icon", { key: '914d94f91fe1764cf64e73fc22e4f7c5a0e08c2a', "aria-hidden": "true", name: "chevronright" }))));
132
+ return (h(Host, { key: '2e9f2361426298f620411b1d064e166992ba326e', version: version, class: this.canScroll ? 'scrollable' : '' }, h("div", { key: '10103d153e37fd591c2ce062ef7455228adbf5b9', "aria-hidden": "true", class: { 'scroll-control scroll-left': true, 'd-none': !this.canScrollLeft }, onMouseDown: e => this.handleScrollButtonClick(e, 'left') }, h("post-icon", { key: '8bb9b82626d05c1fe8f4fd1bb9f8e6d6be59ad8a', "aria-hidden": "true", name: "chevronleft" })), h("nav", { key: '6905afe8c2dfcf0f2411b45237b52d63f187d2c9', ref: el => (this.navbar = el), "aria-label": this.textMain }, h("slot", { key: '2db905e52b1604d9c6097734d055100a58625f09' })), h("div", { key: 'f8ec4f906f1c99fec2198bb350ac1735c2de8469', "aria-hidden": "true", class: { 'scroll-control scroll-right': true, 'd-none': !this.canScrollRight }, onMouseDown: e => this.handleScrollButtonClick(e, 'right') }, h("post-icon", { key: 'afed8c1778691ca5b849d78ee20d51a4b8c02fe6', "aria-hidden": "true", name: "chevronright" }))));
133
133
  }
134
134
  static get is() { return "post-mainnavigation"; }
135
135
  static get encapsulation() { return "shadow"; }
@@ -38,6 +38,10 @@ export class PostMegadropdown {
38
38
  this.trigger = false;
39
39
  /** Holds the current animation class. */
40
40
  this.animationClass = null;
41
+ this.breakpointChange = (e) => {
42
+ this.device = e.detail;
43
+ this.cancelAnimation();
44
+ };
41
45
  this.handleClickOutside = async (event) => {
42
46
  if (this.device !== 'desktop')
43
47
  return;
@@ -65,7 +69,7 @@ export class PostMegadropdown {
65
69
  this.handleClickOutside = this.handleClickOutside.bind(this);
66
70
  }
67
71
  connectedCallback() {
68
- globalThis.addEventListener('postBreakpoint:device', this.breakpointChange.bind(this));
72
+ globalThis.addEventListener('postBreakpoint:device', this.breakpointChange);
69
73
  }
70
74
  componentDidRender() {
71
75
  this.getFocusableElements();
@@ -76,7 +80,7 @@ export class PostMegadropdown {
76
80
  this.handleAriaCurrentChange([]);
77
81
  }
78
82
  disconnectedCallback() {
79
- globalThis.removeEventListener('postBreakpoint:device', this.breakpointChange.bind(this));
83
+ globalThis.removeEventListener('postBreakpoint:device', this.breakpointChange);
80
84
  if (PostMegadropdown.activeDropdown === this)
81
85
  PostMegadropdown.activeDropdown = null;
82
86
  this.removeListeners();
@@ -204,10 +208,6 @@ export class PostMegadropdown {
204
208
  this.currentAnimation?.cancel();
205
209
  this.currentAnimation = null;
206
210
  }
207
- breakpointChange(e) {
208
- this.device = e.detail;
209
- this.cancelAnimation();
210
- }
211
211
  addListeners() {
212
212
  this.host.addEventListener('keydown', this.keyboardHandler);
213
213
  document.addEventListener('keyup', this.handleTabOutside);
@@ -295,7 +295,7 @@ export class PostMegadropdown {
295
295
  }
296
296
  render() {
297
297
  const containerStyle = this.isVisible ? {} : { display: 'none' };
298
- return (h(Host, { key: '8c6cd70082c2cdd9c208ad1ef138a21463919547', version: version }, h("div", { key: 'ff9466a7e28e894f56c9ab22d3999f68366a4aee', ref: el => (this.animatedContainer = el), class: "megadropdown", style: containerStyle }, h("div", { key: '13a7b44deceb6a83842d324b012f34adc6606de6', class: "section" }, this.device !== 'desktop' && this.megadropdownTitle && (h("p", { key: '78cfcb708ad60f12203bc34b58915665b4b5b3ef', class: "megadropdown-title" }, this.megadropdownTitle)), h("div", { key: 'e78eb79d9806d23fa75184f1ad9f2f7eef318297', class: "megadropdown-content" }, h("slot", { key: 'e7008833f9700059a189665a19371f52b7ab9ed6' })), this.device === 'desktop' ? (h("post-closebutton", { onClick: () => this.hide(true), class: "close-button", size: "small", placement: "manual" }, this.textClose)) : (h("button", { onClick: () => this.hide(true), class: "back-button" }, h("post-icon", { name: "arrowleft" }), this.textBack))))));
298
+ return (h(Host, { key: '355f69ea10cd4c3c058e4c1e6818f1c9da7d4102', version: version }, h("div", { key: '9c2b9b31aa450c1e1b4257066a38bd3660e834ef', ref: el => (this.animatedContainer = el), class: "megadropdown", style: containerStyle }, h("div", { key: '7fe7f257bb41b43b72cda39f1614c5ba4726b940', class: "section" }, this.device !== 'desktop' && this.megadropdownTitle && (h("p", { key: '09ffb0ce4a56453d33d4366ce30c0bce09395f93', class: "megadropdown-title" }, this.megadropdownTitle)), h("div", { key: 'd88fb0218c8788981dd7f3213979eba5ab7ff333', class: "megadropdown-content" }, h("slot", { key: 'ab64e771770bd42c4f077ebe5e05685cb285134f' })), this.device === 'desktop' ? (h("post-closebutton", { onClick: () => this.hide(true), class: "close-button", size: "small", placement: "manual" }, this.textClose)) : (h("button", { onClick: () => this.hide(true), class: "back-button" }, h("post-icon", { name: "arrowleft" }), this.textBack))))));
299
299
  }
300
300
  static get is() { return "post-megadropdown"; }
301
301
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class PostMegadropdownTrigger {
71
71
  this.megadropdown.toggle();
72
72
  }
73
73
  render() {
74
- return (h(Host, { key: '96f2859be8fab445dab5c62619537777db0bfa44', "data-version": version }, h("button", { key: '0ff54f82520a40978cac57af2adeb23beff3545d', ref: el => (this.interactiveButton = el), type: "button", "aria-haspopup": "menu", "aria-expanded": this.isMegadropdownExpanded.toString(), onClick: this.onClick.bind(this), onKeyDown: this.onKeyDown.bind(this), class: { active: this.active } }, h("span", { key: '327b760b66b35e0b4442bc950b202e73842b131e' }, h("span", { key: '265a6fb86a3bf12357ac58cc1887a32738b40710', innerHTML: this.slottedContent }), h("span", { key: '0ddcb317aed396d305b00d6e61a10b98f40ed78b', "aria-hidden": "true" }, h("slot", { key: '458df53ef32b64de8c4e6cb78263423ad59fa18b' }))), h("post-icon", { key: '2da566858b7ffa965da9cac2436dfd38a818eb47', name: "chevrondown" }))));
74
+ return (h(Host, { key: '40d8afcb6b0ec482c0a13f7b78493a66243e03a5', "data-version": version }, h("button", { key: '6c1362cd4e1af22d26cf9ae74af4092cd083360c', ref: el => (this.interactiveButton = el), type: "button", "aria-haspopup": "menu", "aria-expanded": this.isMegadropdownExpanded.toString(), onClick: this.onClick.bind(this), onKeyDown: this.onKeyDown.bind(this), class: { active: this.active } }, h("span", { key: '6bd7d94da2055c1c6fb933402f2478a3cee12cc7' }, h("span", { key: '8109bdcc23c4a0f8c0861b774a974dde75b464f3', innerHTML: this.slottedContent }), h("span", { key: 'edd54adde0d7af4eb9cf7796183d01705d217500', "aria-hidden": "true" }, h("slot", { key: 'dbcc08bb882273f1074dd8963a4b86f67deb0c0a' }))), h("post-icon", { key: '7437573a492181cc3e5ddd59ac3695dc94d43e09', name: "chevrondown" }))));
75
75
  }
76
76
  static get is() { return "post-megadropdown-trigger"; }
77
77
  static get encapsulation() { return "shadow"; }