@swisspost/design-system-components 10.0.0-next.40 → 10.0.0-next.41

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 (436) hide show
  1. package/dist/cjs/breakpoints-DIH5Oaz7.js +186 -0
  2. package/dist/cjs/event-from-AKK8RQrn.js +107 -0
  3. package/dist/cjs/{get-root-8102fecd.js → get-root-DmyBVSJ_.js} +1 -1
  4. package/dist/cjs/{index-b60129c4.js → index-CRMt-jq2.js} +1172 -309
  5. package/dist/cjs/index.cjs.js +0 -70
  6. package/dist/cjs/loader.cjs.js +3 -6
  7. package/dist/cjs/{package-b731881e.js → package-C2pR6Vs2.js} +1 -1
  8. package/dist/cjs/post-accordion_2.cjs.entry.js +177 -10
  9. package/dist/cjs/post-avatar.cjs.entry.js +151 -8
  10. package/dist/cjs/post-back-to-top.cjs.entry.js +86 -9
  11. package/dist/cjs/post-banner.cjs.entry.js +81 -9
  12. package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +62 -8
  13. package/dist/cjs/post-breadcrumbs.cjs.entry.js +119 -7
  14. package/dist/cjs/post-card-control.cjs.entry.js +283 -8
  15. package/dist/cjs/post-closebutton_15.cjs.entry.js +4376 -30
  16. package/dist/cjs/post-collapsible_2.cjs.entry.js +196 -10
  17. package/dist/cjs/post-components.cjs.js +7 -8
  18. package/dist/cjs/post-footer.cjs.entry.js +59 -8
  19. package/dist/cjs/post-linkarea.cjs.entry.js +24 -6
  20. package/dist/cjs/post-popover.cjs.entry.js +151 -8
  21. package/dist/cjs/post-rating.cjs.entry.js +115 -8
  22. package/dist/cjs/post-tab-header.cjs.entry.js +26 -9
  23. package/dist/cjs/post-tab-panel.cjs.entry.js +28 -9
  24. package/dist/cjs/post-tabs.cjs.entry.js +165 -7
  25. package/dist/cjs/post-tag.cjs.entry.js +50 -8
  26. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +5195 -7
  27. package/dist/cjs/post-tooltip.cjs.entry.js +78 -9
  28. package/dist/collection/collection-manifest.json +4 -4
  29. package/dist/collection/components/post-accordion/post-accordion.js +39 -23
  30. package/dist/collection/components/post-accordion-item/post-accordion-item.js +26 -11
  31. package/dist/collection/components/post-avatar/post-avatar.js +12 -9
  32. package/dist/collection/components/post-back-to-top/post-back-to-top.js +4 -3
  33. package/dist/collection/components/post-banner/post-banner.js +18 -9
  34. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +4 -6
  35. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
  36. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +13 -9
  37. package/dist/collection/components/post-card-control/post-card-control.js +33 -16
  38. package/dist/collection/components/post-collapsible/post-collapsible.js +6 -1
  39. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +21 -9
  40. package/dist/collection/components/post-footer/post-footer.js +8 -7
  41. package/dist/collection/components/post-header/post-header.css +1 -1
  42. package/dist/collection/components/post-header/post-header.js +28 -16
  43. package/dist/collection/components/post-icon/post-icon.js +66 -54
  44. package/dist/collection/components/post-language-option/post-language-option.css +1 -1
  45. package/dist/collection/components/post-language-option/post-language-option.js +17 -13
  46. package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
  47. package/dist/collection/components/post-language-switch/post-language-switch.js +43 -24
  48. package/dist/collection/components/post-list/post-list.js +12 -3
  49. package/dist/collection/components/post-logo/post-logo.js +3 -4
  50. package/dist/collection/components/post-megadropdown/post-megadropdown.js +12 -6
  51. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +34 -20
  52. package/dist/collection/components/post-menu/post-menu.css +1 -1
  53. package/dist/collection/components/post-menu/post-menu.js +43 -21
  54. package/dist/collection/components/post-menu-item/post-menu-item.css +1 -0
  55. package/dist/collection/components/post-menu-item/post-menu-item.js +11 -1
  56. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +9 -5
  57. package/dist/collection/components/post-popover/post-popover.js +19 -5
  58. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  59. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +44 -16
  60. package/dist/collection/components/post-rating/post-rating.js +25 -5
  61. package/dist/collection/components/post-tab-header/post-tab-header.js +4 -6
  62. package/dist/collection/components/post-tab-panel/post-tab-panel.js +4 -6
  63. package/dist/collection/components/post-tabs/post-tabs.js +4 -3
  64. package/dist/collection/components/post-tag/post-tag.js +11 -9
  65. package/dist/collection/components/post-togglebutton/post-togglebutton.js +7 -2
  66. package/dist/collection/components/post-tooltip/post-tooltip.js +24 -6
  67. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +20 -12
  68. package/dist/collection/index.js +1 -37
  69. package/dist/collection/utils/breakpoints.js +38 -45
  70. package/dist/collection/utils/event-from.js +103 -0
  71. package/dist/collection/utils/index.js +1 -1
  72. package/dist/components/index.js +2315 -37
  73. package/dist/components/p-1KLiMO0w.js +3 -0
  74. package/dist/components/p-8U5GFtQP.js +105 -0
  75. package/dist/components/{post-menu2.js → p-BLhBouGz.js} +51 -30
  76. package/dist/{esm/index-ffccd040.js → components/p-CV7fm1rW.js} +1 -1
  77. package/dist/components/{post-menu-trigger2.js → p-CaPj3whI.js} +14 -12
  78. package/{loaders/post-breadcrumb-item2.js → dist/components/p-Cpaqct04.js} +9 -11
  79. package/dist/components/{post-accordion-item2.js → p-CtNCtg2z.js} +32 -21
  80. package/dist/components/p-Cx0AiN2A.js +182 -0
  81. package/dist/components/{post-collapsible-trigger2.js → p-D3LhzIrC.js} +25 -14
  82. package/dist/components/{get-root.js → p-DBHo9yGF.js} +1 -1
  83. package/dist/components/p-DQuPPEca.js +31 -0
  84. package/dist/components/{post-accordion2.js → p-DlEtlaNu.js} +41 -28
  85. package/{loaders/post-collapsible2.js → dist/components/p-DphlfQse.js} +11 -8
  86. package/dist/components/{post-popovercontainer2.js → p-elg4VvHg.js} +246 -278
  87. package/{loaders/post-icon2.js → dist/components/p-fmA57Ivd.js} +52 -54
  88. package/dist/components/post-accordion-item.js +1 -1
  89. package/dist/components/post-accordion.js +1 -1
  90. package/dist/components/post-avatar.js +183 -1
  91. package/dist/components/post-back-to-top.js +115 -1
  92. package/dist/components/post-banner.js +120 -1
  93. package/dist/components/post-breadcrumb-item.js +1 -1
  94. package/dist/components/post-breadcrumbs.js +182 -1
  95. package/dist/components/post-card-control.js +322 -1
  96. package/dist/components/post-closebutton.js +37 -1
  97. package/dist/components/post-collapsible-trigger.js +1 -1
  98. package/dist/components/post-collapsible.js +1 -1
  99. package/dist/components/post-footer.js +112 -1
  100. package/dist/components/post-header.js +273 -1
  101. package/dist/components/post-icon.js +1 -1
  102. package/dist/components/post-language-option.js +96 -1
  103. package/dist/components/post-language-switch.js +154 -1
  104. package/dist/components/post-linkarea.js +41 -1
  105. package/dist/components/post-list-item.js +34 -1
  106. package/dist/components/post-list.js +57 -1
  107. package/dist/components/post-logo.js +54 -1
  108. package/dist/components/post-mainnavigation.js +181 -1
  109. package/dist/components/post-megadropdown-trigger.js +132 -1
  110. package/dist/components/post-megadropdown.js +194 -1
  111. package/dist/components/post-menu-item.js +1 -1
  112. package/dist/components/post-menu-trigger.js +1 -1
  113. package/dist/components/post-menu.js +1 -1
  114. package/dist/components/post-popover.js +184 -1
  115. package/dist/components/post-popovercontainer.js +1 -1
  116. package/dist/components/post-rating.js +148 -1
  117. package/dist/components/post-tab-header.js +48 -1
  118. package/dist/components/post-tab-panel.js +50 -1
  119. package/dist/components/post-tabs.js +186 -1
  120. package/dist/components/post-tag.js +82 -1
  121. package/dist/components/post-togglebutton.js +52 -1
  122. package/dist/components/post-tooltip-trigger.js +5218 -1
  123. package/dist/components/post-tooltip.js +110 -1
  124. package/dist/docs.d.ts +8 -0
  125. package/dist/docs.json +416 -116
  126. package/dist/esm/breakpoints-DyVir0ex.js +182 -0
  127. package/dist/esm/event-from-8U5GFtQP.js +105 -0
  128. package/{loaders/get-root.js → dist/esm/get-root-D9QC9-TY.js} +1 -1
  129. package/{loaders/index2.js → dist/esm/index-BWC0gtGU.js} +1 -1
  130. package/dist/esm/{index-f4d19816.js → index-CVhzhVv0.js} +1169 -305
  131. package/dist/esm/index.js +1 -29
  132. package/dist/esm/loader.js +3 -4
  133. package/dist/esm/package-1KLiMO0w.js +3 -0
  134. package/dist/esm/post-accordion_2.entry.js +180 -7
  135. package/dist/esm/post-avatar.entry.js +154 -5
  136. package/dist/esm/post-back-to-top.entry.js +89 -6
  137. package/dist/esm/post-banner.entry.js +85 -7
  138. package/dist/esm/post-breadcrumb-item_2.entry.js +65 -5
  139. package/dist/esm/post-breadcrumbs.entry.js +123 -5
  140. package/dist/esm/post-card-control.entry.js +286 -5
  141. package/dist/esm/post-closebutton_15.entry.js +4362 -10
  142. package/dist/esm/post-collapsible_2.entry.js +199 -7
  143. package/dist/esm/post-components.js +5 -5
  144. package/dist/esm/post-footer.entry.js +62 -5
  145. package/dist/esm/post-linkarea.entry.js +27 -3
  146. package/dist/esm/post-popover.entry.js +155 -6
  147. package/dist/esm/post-rating.entry.js +118 -5
  148. package/dist/esm/post-tab-header.entry.js +29 -6
  149. package/dist/esm/post-tab-panel.entry.js +31 -6
  150. package/dist/esm/post-tabs.entry.js +169 -5
  151. package/dist/esm/post-tag.entry.js +53 -5
  152. package/dist/esm/post-tooltip-trigger.entry.js +5199 -5
  153. package/dist/esm/post-tooltip.entry.js +81 -6
  154. package/dist/post-components/index.esm.js +0 -1
  155. package/dist/post-components/p-0d08ab13.entry.js +1 -0
  156. package/dist/post-components/p-1KLiMO0w.js +1 -0
  157. package/dist/post-components/p-1e006e29.entry.js +1 -0
  158. package/dist/post-components/p-3a5bdb7f.entry.js +1 -0
  159. package/dist/post-components/p-4214b85e.entry.js +1 -0
  160. package/dist/post-components/p-50916d48.entry.js +1 -0
  161. package/dist/post-components/p-5f4126d8.entry.js +1 -0
  162. package/dist/post-components/p-62982420.entry.js +1 -0
  163. package/dist/post-components/p-78f4dd12.entry.js +1 -0
  164. package/dist/post-components/p-7a7d237b.entry.js +1 -0
  165. package/dist/post-components/p-80174475.entry.js +1 -0
  166. package/dist/post-components/p-8U5GFtQP.js +1 -0
  167. package/dist/post-components/p-8d5a4218.entry.js +1 -0
  168. package/dist/post-components/p-8e89ccc1.entry.js +1 -0
  169. package/dist/post-components/p-9003674b.entry.js +1 -0
  170. package/dist/post-components/p-925aee3d.entry.js +1 -0
  171. package/dist/post-components/p-9b446561.entry.js +1 -0
  172. package/dist/post-components/p-9ec29527.entry.js +1 -0
  173. package/dist/post-components/{p-b176309b.js → p-BWC0gtGU.js} +1 -1
  174. package/dist/post-components/{p-6b31a76a.js → p-Bkp2QDth.js} +1 -1
  175. package/dist/post-components/p-CVhzhVv0.js +2 -0
  176. package/dist/post-components/p-DyVir0ex.js +1 -0
  177. package/dist/post-components/p-ec764922.entry.js +1 -0
  178. package/dist/post-components/p-fa550b4a.entry.js +1 -0
  179. package/dist/post-components/p-fb46e260.entry.js +1 -0
  180. package/dist/post-components/post-components.esm.js +1 -1
  181. package/dist/types/components/post-header/post-header.d.ts +1 -0
  182. package/dist/types/components/post-icon/post-icon.d.ts +0 -4
  183. package/dist/types/components/post-language-switch/post-language-switch.d.ts +1 -0
  184. package/dist/types/components/post-tag/post-tag.d.ts +1 -1
  185. package/dist/types/components.d.ts +61 -1
  186. package/dist/types/index.d.ts +10 -37
  187. package/dist/types/stencil-public-runtime.d.ts +29 -1
  188. package/dist/types/utils/breakpoints.d.ts +12 -7
  189. package/dist/types/utils/event-from.d.ts +9 -0
  190. package/dist/types/utils/index.d.ts +1 -1
  191. package/hydrate/index.d.ts +273 -0
  192. package/hydrate/index.js +32002 -0
  193. package/hydrate/index.mjs +31994 -0
  194. package/hydrate/package.json +12 -0
  195. package/package.json +45 -17
  196. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  197. package/dist/cjs/breakpoints-cdf1b747.js +0 -59
  198. package/dist/cjs/event-guard-efabc84f.js +0 -47
  199. package/dist/cjs/post-accordion-item-5c879102.js +0 -161
  200. package/dist/cjs/post-avatar-4f1681df.js +0 -162
  201. package/dist/cjs/post-back-to-top-abbb4ac4.js +0 -93
  202. package/dist/cjs/post-banner-4d99c51c.js +0 -87
  203. package/dist/cjs/post-breadcrumbs-5ceabb10.js +0 -126
  204. package/dist/cjs/post-card-control-b657aeaa.js +0 -290
  205. package/dist/cjs/post-collapsible-trigger-33f09d6c.js +0 -190
  206. package/dist/cjs/post-footer-022cf408.js +0 -66
  207. package/dist/cjs/post-linkarea-5fbb2e25.js +0 -30
  208. package/dist/cjs/post-menu-item-d4cc4742.js +0 -68
  209. package/dist/cjs/post-popover-b7cd0091.js +0 -150
  210. package/dist/cjs/post-rating-c81d1ac3.js +0 -109
  211. package/dist/cjs/post-tab-header-1db15093.js +0 -34
  212. package/dist/cjs/post-tab-panel-698981b8.js +0 -36
  213. package/dist/cjs/post-tabs-79eab811.js +0 -173
  214. package/dist/cjs/post-tag-66a52727.js +0 -60
  215. package/dist/cjs/post-togglebutton-a6b8b75d.js +0 -4491
  216. package/dist/cjs/post-tooltip-560cf42c.js +0 -74
  217. package/dist/cjs/post-tooltip-trigger-2a54e3e4.js +0 -4685
  218. package/dist/collection/utils/event-guard.js +0 -43
  219. package/dist/components/breakpoints.js +0 -56
  220. package/dist/components/event-guard.js +0 -45
  221. package/dist/components/index2.js +0 -88
  222. package/dist/components/package.js +0 -3
  223. package/dist/components/post-avatar2.js +0 -190
  224. package/dist/components/post-back-to-top2.js +0 -118
  225. package/dist/components/post-banner2.js +0 -121
  226. package/dist/components/post-breadcrumb-item2.js +0 -82
  227. package/dist/components/post-breadcrumbs2.js +0 -184
  228. package/dist/components/post-card-control2.js +0 -325
  229. package/dist/components/post-closebutton2.js +0 -39
  230. package/dist/components/post-collapsible2.js +0 -108
  231. package/dist/components/post-footer2.js +0 -115
  232. package/dist/components/post-header2.js +0 -397
  233. package/dist/components/post-icon2.js +0 -156
  234. package/dist/components/post-language-option2.js +0 -102
  235. package/dist/components/post-language-switch2.js +0 -143
  236. package/dist/components/post-linkarea2.js +0 -43
  237. package/dist/components/post-list-item2.js +0 -36
  238. package/dist/components/post-list2.js +0 -54
  239. package/dist/components/post-logo2.js +0 -57
  240. package/dist/components/post-mainnavigation2.js +0 -183
  241. package/dist/components/post-megadropdown-trigger2.js +0 -121
  242. package/dist/components/post-megadropdown2.js +0 -190
  243. package/dist/components/post-menu-item2.js +0 -27
  244. package/dist/components/post-popover2.js +0 -178
  245. package/dist/components/post-rating2.js +0 -138
  246. package/dist/components/post-tab-header2.js +0 -52
  247. package/dist/components/post-tab-panel2.js +0 -54
  248. package/dist/components/post-tabs2.js +0 -189
  249. package/dist/components/post-tag2.js +0 -88
  250. package/dist/components/post-togglebutton2.js +0 -51
  251. package/dist/components/post-tooltip-trigger2.js +0 -4703
  252. package/dist/components/post-tooltip2.js +0 -102
  253. package/dist/esm/app-globals-0f993ce5.js +0 -3
  254. package/dist/esm/breakpoints-7812702e.js +0 -56
  255. package/dist/esm/event-guard-538ee077.js +0 -45
  256. package/dist/esm/get-root-1b1af46f.js +0 -15
  257. package/dist/esm/package-9374eb90.js +0 -3
  258. package/dist/esm/post-accordion-item-f416bd95.js +0 -158
  259. package/dist/esm/post-avatar-2cb5190b.js +0 -160
  260. package/dist/esm/post-back-to-top-f877d4c6.js +0 -91
  261. package/dist/esm/post-banner-576a5adb.js +0 -85
  262. package/dist/esm/post-breadcrumbs-63223336.js +0 -124
  263. package/dist/esm/post-card-control-2eebe7b4.js +0 -288
  264. package/dist/esm/post-collapsible-trigger-561df34e.js +0 -187
  265. package/dist/esm/post-footer-a270f67b.js +0 -64
  266. package/dist/esm/post-linkarea-456ce63d.js +0 -28
  267. package/dist/esm/post-menu-item-e051284c.js +0 -65
  268. package/dist/esm/post-popover-7c3c9072.js +0 -148
  269. package/dist/esm/post-rating-2c9dd11f.js +0 -107
  270. package/dist/esm/post-tab-header-f90b2f93.js +0 -32
  271. package/dist/esm/post-tab-panel-c19b5e30.js +0 -34
  272. package/dist/esm/post-tabs-0dadedf2.js +0 -171
  273. package/dist/esm/post-tag-b8be3b0c.js +0 -58
  274. package/dist/esm/post-togglebutton-83339cc9.js +0 -4475
  275. package/dist/esm/post-tooltip-3cc82984.js +0 -72
  276. package/dist/esm/post-tooltip-trigger-898c3dbc.js +0 -4683
  277. package/dist/post-components/p-0889c759.js +0 -1
  278. package/dist/post-components/p-104ddc50.js +0 -1
  279. package/dist/post-components/p-13b41e32.entry.js +0 -1
  280. package/dist/post-components/p-1906d77c.js +0 -1
  281. package/dist/post-components/p-19d0e6ea.entry.js +0 -1
  282. package/dist/post-components/p-1b9afb34.entry.js +0 -1
  283. package/dist/post-components/p-1fbffc90.js +0 -1
  284. package/dist/post-components/p-234925fa.js +0 -1
  285. package/dist/post-components/p-23fb976f.entry.js +0 -1
  286. package/dist/post-components/p-24c42ebe.entry.js +0 -1
  287. package/dist/post-components/p-28c19671.js +0 -8
  288. package/dist/post-components/p-37aaa30f.js +0 -1
  289. package/dist/post-components/p-3baf0b40.entry.js +0 -1
  290. package/dist/post-components/p-4390192f.js +0 -1
  291. package/dist/post-components/p-4a071696.js +0 -1
  292. package/dist/post-components/p-4c2d5072.js +0 -1
  293. package/dist/post-components/p-51b6114c.entry.js +0 -1
  294. package/dist/post-components/p-5fb4fc65.js +0 -1
  295. package/dist/post-components/p-64c13aaf.entry.js +0 -1
  296. package/dist/post-components/p-66679f9d.entry.js +0 -1
  297. package/dist/post-components/p-68a98f0b.js +0 -1
  298. package/dist/post-components/p-6a4dc55e.js +0 -1
  299. package/dist/post-components/p-722ffaae.js +0 -1
  300. package/dist/post-components/p-789f9a23.entry.js +0 -1
  301. package/dist/post-components/p-7e6eae42.js +0 -1
  302. package/dist/post-components/p-8117dd0c.js +0 -1
  303. package/dist/post-components/p-814c0c4d.entry.js +0 -1
  304. package/dist/post-components/p-87e0d6fa.js +0 -1
  305. package/dist/post-components/p-988d20f4.js +0 -1
  306. package/dist/post-components/p-9b1e4e52.entry.js +0 -1
  307. package/dist/post-components/p-9e461613.js +0 -2
  308. package/dist/post-components/p-ab44a18c.entry.js +0 -1
  309. package/dist/post-components/p-b2952b0e.entry.js +0 -1
  310. package/dist/post-components/p-c10b2a2f.js +0 -1
  311. package/dist/post-components/p-c80cb846.js +0 -1
  312. package/dist/post-components/p-da4704c1.js +0 -1
  313. package/dist/post-components/p-dc4de84a.entry.js +0 -1
  314. package/dist/post-components/p-e1255160.js +0 -1
  315. package/dist/post-components/p-f1f0ace3.entry.js +0 -1
  316. package/dist/post-components/p-f34fb6c4.entry.js +0 -1
  317. package/dist/post-components/p-f6f914bb.js +0 -1
  318. package/dist/post-components/p-fe7e64cf.entry.js +0 -1
  319. package/dist/post-components/p-fee94252.entry.js +0 -1
  320. package/dist/types/popover-fn.d.ts +0 -11
  321. package/dist/types/utils/event-guard.d.ts +0 -4
  322. package/loader/package.json +0 -11
  323. package/loaders/breakpoints.js +0 -56
  324. package/loaders/event-guard.js +0 -45
  325. package/loaders/fade.js +0 -11
  326. package/loaders/get-focusable-children.js +0 -35
  327. package/loaders/heading-levels.js +0 -3
  328. package/loaders/index.browser.js +0 -14
  329. package/loaders/index.d.ts +0 -108
  330. package/loaders/index.js +0 -39
  331. package/loaders/long-press-event.js +0 -264
  332. package/loaders/package.js +0 -3
  333. package/loaders/post-accordion-item.d.ts +0 -11
  334. package/loaders/post-accordion-item.js +0 -6
  335. package/loaders/post-accordion-item2.js +0 -103
  336. package/loaders/post-accordion.d.ts +0 -11
  337. package/loaders/post-accordion.js +0 -6
  338. package/loaders/post-accordion2.js +0 -126
  339. package/loaders/post-avatar.d.ts +0 -11
  340. package/loaders/post-avatar.js +0 -193
  341. package/loaders/post-back-to-top.d.ts +0 -11
  342. package/loaders/post-back-to-top.js +0 -121
  343. package/loaders/post-banner.d.ts +0 -11
  344. package/loaders/post-banner.js +0 -124
  345. package/loaders/post-breadcrumb-item.d.ts +0 -11
  346. package/loaders/post-breadcrumb-item.js +0 -6
  347. package/loaders/post-breadcrumbs.d.ts +0 -11
  348. package/loaders/post-breadcrumbs.js +0 -187
  349. package/loaders/post-card-control.d.ts +0 -11
  350. package/loaders/post-card-control.js +0 -328
  351. package/loaders/post-closebutton.d.ts +0 -11
  352. package/loaders/post-closebutton.js +0 -42
  353. package/loaders/post-collapsible-trigger.d.ts +0 -11
  354. package/loaders/post-collapsible-trigger.js +0 -6
  355. package/loaders/post-collapsible-trigger2.js +0 -125
  356. package/loaders/post-collapsible.d.ts +0 -11
  357. package/loaders/post-collapsible.js +0 -6
  358. package/loaders/post-footer.d.ts +0 -11
  359. package/loaders/post-footer.js +0 -118
  360. package/loaders/post-header.d.ts +0 -11
  361. package/loaders/post-header.js +0 -400
  362. package/loaders/post-icon.d.ts +0 -11
  363. package/loaders/post-icon.js +0 -6
  364. package/loaders/post-language-option.d.ts +0 -11
  365. package/loaders/post-language-option.js +0 -105
  366. package/loaders/post-language-switch.d.ts +0 -11
  367. package/loaders/post-language-switch.js +0 -146
  368. package/loaders/post-linkarea.d.ts +0 -11
  369. package/loaders/post-linkarea.js +0 -46
  370. package/loaders/post-list-item.d.ts +0 -11
  371. package/loaders/post-list-item.js +0 -39
  372. package/loaders/post-list.d.ts +0 -11
  373. package/loaders/post-list.js +0 -57
  374. package/loaders/post-logo.d.ts +0 -11
  375. package/loaders/post-logo.js +0 -60
  376. package/loaders/post-mainnavigation.d.ts +0 -11
  377. package/loaders/post-mainnavigation.js +0 -186
  378. package/loaders/post-megadropdown-trigger.d.ts +0 -11
  379. package/loaders/post-megadropdown-trigger.js +0 -124
  380. package/loaders/post-megadropdown.d.ts +0 -11
  381. package/loaders/post-megadropdown.js +0 -193
  382. package/loaders/post-menu-item.d.ts +0 -11
  383. package/loaders/post-menu-item.js +0 -6
  384. package/loaders/post-menu-item2.js +0 -27
  385. package/loaders/post-menu-trigger.d.ts +0 -11
  386. package/loaders/post-menu-trigger.js +0 -6
  387. package/loaders/post-menu-trigger2.js +0 -109
  388. package/loaders/post-menu.d.ts +0 -11
  389. package/loaders/post-menu.js +0 -6
  390. package/loaders/post-menu2.js +0 -202
  391. package/loaders/post-popover.d.ts +0 -11
  392. package/loaders/post-popover.js +0 -181
  393. package/loaders/post-popovercontainer.d.ts +0 -11
  394. package/loaders/post-popovercontainer.js +0 -6
  395. package/loaders/post-popovercontainer2.js +0 -3051
  396. package/loaders/post-rating.d.ts +0 -11
  397. package/loaders/post-rating.js +0 -141
  398. package/loaders/post-tab-header.d.ts +0 -11
  399. package/loaders/post-tab-header.js +0 -55
  400. package/loaders/post-tab-panel.d.ts +0 -11
  401. package/loaders/post-tab-panel.js +0 -57
  402. package/loaders/post-tabs.d.ts +0 -11
  403. package/loaders/post-tabs.js +0 -192
  404. package/loaders/post-tag.d.ts +0 -11
  405. package/loaders/post-tag.js +0 -91
  406. package/loaders/post-togglebutton.d.ts +0 -11
  407. package/loaders/post-togglebutton.js +0 -54
  408. package/loaders/post-tooltip-trigger.d.ts +0 -11
  409. package/loaders/post-tooltip-trigger.js +0 -4706
  410. package/loaders/post-tooltip.d.ts +0 -11
  411. package/loaders/post-tooltip.js +0 -105
  412. package/loaders/slide.js +0 -25
  413. package/loaders/switch-variants.js +0 -3
  414. /package/dist/cjs/{fade-72d5ef55.js → fade-nS5zzDQS.js} +0 -0
  415. /package/dist/cjs/{index-2b2b85e5.js → index-DtvYdwe1.js} +0 -0
  416. /package/dist/cjs/{index.browser-4af21c17.js → index.browser-Doj636JV.js} +0 -0
  417. /package/dist/cjs/{long-press-event-6e62d113.js → long-press-event-Q8jMUNXD.js} +0 -0
  418. /package/dist/cjs/{placement-b2bb6ec4.js → placement-qEFR9hmI.js} +0 -0
  419. /package/dist/cjs/{slide-cd1f09b3.js → slide-CbBL7A8w.js} +0 -0
  420. /package/dist/components/{index.browser.js → p-BLchVpF6.js} +0 -0
  421. /package/dist/components/{slide.js → p-BuLMaH5t.js} +0 -0
  422. /package/dist/components/{get-focusable-children.js → p-C35MCWIp.js} +0 -0
  423. /package/dist/components/{long-press-event.js → p-C_2k3G1c.js} +0 -0
  424. /package/dist/components/{switch-variants.js → p-DjIHLduJ.js} +0 -0
  425. /package/dist/components/{fade.js → p-SbIC4aZX.js} +0 -0
  426. /package/dist/components/{heading-levels.js → p-r4txK0AC.js} +0 -0
  427. /package/dist/esm/{fade-1f3cacf4.js → fade-SbIC4aZX.js} +0 -0
  428. /package/dist/esm/{index.browser-ff103197.js → index.browser-BLchVpF6.js} +0 -0
  429. /package/dist/esm/{long-press-event-04d24397.js → long-press-event-C_2k3G1c.js} +0 -0
  430. /package/dist/esm/{placement-8d56605d.js → placement-DRiVosES.js} +0 -0
  431. /package/dist/esm/{slide-cd2850ee.js → slide-BuLMaH5t.js} +0 -0
  432. /package/dist/post-components/{p-c65f32b0.js → p-BLchVpF6.js} +0 -0
  433. /package/dist/post-components/{p-9b052461.js → p-BuLMaH5t.js} +0 -0
  434. /package/dist/post-components/{p-8db32dab.js → p-C_2k3G1c.js} +0 -0
  435. /package/dist/post-components/{p-59a38c23.js → p-DRiVosES.js} +0 -0
  436. /package/dist/post-components/{p-64e3de38.js → p-SbIC4aZX.js} +0 -0
@@ -3,6 +3,11 @@ import { version } from "../../../../package";
3
3
  import { checkRequiredAndUrl, checkEmptyOrType, debounce } from "../../utils/index";
4
4
  export class PostBreadcrumbs {
5
5
  constructor() {
6
+ /**
7
+ * The text label for the home breadcrumb item.
8
+ */
9
+ this.homeText = 'Home';
10
+ this.breadcrumbItems = [];
6
11
  // Waits for breadcrumbs navigation reference to be available
7
12
  this.waitForBreadcrumbsRef = debounce(() => {
8
13
  if (this.breadcrumbsNavRef?.clientWidth > 0) {
@@ -19,11 +24,6 @@ export class PostBreadcrumbs {
19
24
  this.lastWindowWidth = window.innerWidth;
20
25
  this.checkConcatenation();
21
26
  };
22
- this.homeUrl = undefined;
23
- this.homeText = 'Home';
24
- this.breadcrumbItems = [];
25
- this.isConcatenated = undefined;
26
- this.lastWindowWidth = undefined;
27
27
  }
28
28
  validateHomeUrl() {
29
29
  checkRequiredAndUrl(this, 'homeUrl');
@@ -84,7 +84,7 @@ export class PostBreadcrumbs {
84
84
  }
85
85
  render() {
86
86
  const visibleItems = this.breadcrumbItems.slice(0, -1);
87
- return (h(Host, { key: '6498bbfb52739937fc8043a78fa66d922ce740ef', "data-version": version }, h("nav", { key: '421e51bdf79856ba2feb6c23f1b5bb4f5a87f975', "aria-label": "Breadcrumbs", class: "breadcrumbs-nav", ref: el => (this.breadcrumbsNavRef = el) }, h("ol", { key: '191140970a37312b486b594b065fcc6ef580f1ae', class: "no-list breadcrumbs-list" }, h("li", { key: '37e0da2803814556bac7102e4e27b13cfd268472' }, h("a", { key: 'b11a8dba7b19dac336dc5905dd74b84a9b83da58', href: this.homeUrl, class: "breadcrumb-link" }, h("span", { key: '147009734e9174d7b9541c3f5325d914ef5d35c0', class: "visually-hidden" }, this.homeText), h("post-icon", { key: '56dd5647116c03c11506fb1e2957edeb389c5718', name: "home", class: "home-icon" }))), this.isConcatenated ? (h("div", { class: "menu-trigger-wrapper", "aria-label": "More breadcrumbs", onKeyDown: e => {
87
+ return (h(Host, { key: 'bfb41c03aa8e4eb1b756386759a22cea673f8e58', "data-version": version }, h("nav", { key: '8ec1727edb8ace33cfb6aeff9694276a241400d2', "aria-label": "Breadcrumbs", class: "breadcrumbs-nav", ref: el => (this.breadcrumbsNavRef = el) }, h("ol", { key: '7069c0b8affb3a0ae02fcbb8b4b141ec86560cba', class: "no-list breadcrumbs-list" }, h("li", { key: '258f6a1b228f6695f6d28019da495ac2d7d6abe0' }, h("a", { key: '223c58d20df9943972b36195f9a7401bfdba528b', href: this.homeUrl, class: "breadcrumb-link" }, h("span", { key: '830865dbd6f0d0f01976e48866b4e85fb988070a', class: "visually-hidden" }, this.homeText), h("post-icon", { key: '82ba4bcfbca701d0d5a96c1312c7f91540003b2b', name: "home", class: "home-icon" }))), this.isConcatenated ? (h("div", { class: "menu-trigger-wrapper", "aria-label": "More breadcrumbs", onKeyDown: e => {
88
88
  if (e.key === 'Enter' || e.key === ' ') {
89
89
  e.preventDefault();
90
90
  this.handleBreadcrumbItemClick();
@@ -95,7 +95,7 @@ export class PostBreadcrumbs {
95
95
  linkElement?.click();
96
96
  e.preventDefault();
97
97
  }
98
- } }, item.url ? h("a", { href: item.url }, item.text) : h("span", null, item.text)))))))) : (visibleItems.map(item => (h("post-breadcrumb-item", { url: item.url, key: item.url || item.text }, item.text)))), this.lastItem && (h("post-breadcrumb-item", { key: 'ca1fe70041a11fa14e04e3e3d4fce699f23a127f', url: this.lastItem.url, "aria-current": "page", tabindex: -1 }, this.lastItem.text))), h("div", { key: '360825da69d23943a55ceb7095fabcccbf65795b', class: "hidden-items" }, h("a", { key: '9c5dedc65e639c853bc537a93971a45c6d801d00', href: this.homeUrl, class: "hidden-breadcrumb-item" }, h("span", { key: '2e6961ca93e24ba8042cf15f2f8cc14511c3d374', class: "visually-hidden" }, this.homeText), h("post-icon", { key: 'ea61643af1b2384e931ecbf5b9ff48950b69719e', name: "home", class: "home-icon" })), this.breadcrumbItems.map(item => (h("post-breadcrumb-item", { url: item.url, key: `hidden-${item.url || item.text}`, class: "hidden-breadcrumb-item" }, item.text)))))));
98
+ } }, item.url ? h("a", { href: item.url }, item.text) : h("span", null, item.text)))))))) : (visibleItems.map(item => (h("post-breadcrumb-item", { url: item.url, key: item.url || item.text }, item.text)))), this.lastItem && (h("post-breadcrumb-item", { key: 'cfa5c9753eaaf330b5568501521b3706b16aa8e3', url: this.lastItem.url, "aria-current": "page", tabindex: -1 }, this.lastItem.text))), h("div", { key: '19ea40941aa73eeafde12372efbda93bc513e6d2', class: "hidden-items" }, h("a", { key: '52ab7559148d3a897e0c4b2ab328f8e47f497353', href: this.homeUrl, class: "hidden-breadcrumb-item" }, h("span", { key: '1d5eb01bb09c841199727c6f5a365976535819f1', class: "visually-hidden" }, this.homeText), h("post-icon", { key: 'b4e670439f527af22e6fd3a09685f4817b62ec94', name: "home", class: "home-icon" })), this.breadcrumbItems.map(item => (h("post-breadcrumb-item", { url: item.url, key: `hidden-${item.url || item.text}`, class: "hidden-breadcrumb-item" }, item.text)))))));
99
99
  }
100
100
  static get is() { return "post-breadcrumbs"; }
101
101
  static get encapsulation() { return "shadow"; }
@@ -113,6 +113,7 @@ export class PostBreadcrumbs {
113
113
  return {
114
114
  "homeUrl": {
115
115
  "type": "string",
116
+ "attribute": "home-url",
116
117
  "mutable": false,
117
118
  "complexType": {
118
119
  "original": "string",
@@ -125,11 +126,13 @@ export class PostBreadcrumbs {
125
126
  "tags": [],
126
127
  "text": "The URL for the home breadcrumb item."
127
128
  },
128
- "attribute": "home-url",
129
+ "getter": false,
130
+ "setter": false,
129
131
  "reflect": false
130
132
  },
131
133
  "homeText": {
132
134
  "type": "string",
135
+ "attribute": "home-text",
133
136
  "mutable": false,
134
137
  "complexType": {
135
138
  "original": "string",
@@ -142,7 +145,8 @@ export class PostBreadcrumbs {
142
145
  "tags": [],
143
146
  "text": "The text label for the home breadcrumb item."
144
147
  },
145
- "attribute": "home-text",
148
+ "getter": false,
149
+ "setter": false,
146
150
  "reflect": false,
147
151
  "defaultValue": "'Home'"
148
152
  }
@@ -73,15 +73,14 @@ export class PostCardControl {
73
73
  };
74
74
  this.controlId = `PostCardControl_${cardControlIds++}`;
75
75
  this.focused = false;
76
- this.label = undefined;
77
- this.description = undefined;
78
- this.type = undefined;
79
- this.name = undefined;
80
- this.value = undefined;
76
+ /**
77
+ * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data.
78
+ */
81
79
  this.checked = false;
80
+ /**
81
+ * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data.
82
+ */
82
83
  this.disabled = false;
83
- this.validity = undefined;
84
- this.icon = undefined;
85
84
  this.cardClickHandler = this.cardClickHandler.bind(this);
86
85
  this.controlClickHandler = this.controlClickHandler.bind(this);
87
86
  this.controlChangeHandler = this.controlChangeHandler.bind(this);
@@ -280,6 +279,7 @@ export class PostCardControl {
280
279
  return {
281
280
  "label": {
282
281
  "type": "string",
282
+ "attribute": "label",
283
283
  "mutable": false,
284
284
  "complexType": {
285
285
  "original": "string",
@@ -292,11 +292,13 @@ export class PostCardControl {
292
292
  "tags": [],
293
293
  "text": "Defines the text in the control-label."
294
294
  },
295
- "attribute": "label",
295
+ "getter": false,
296
+ "setter": false,
296
297
  "reflect": true
297
298
  },
298
299
  "description": {
299
300
  "type": "string",
301
+ "attribute": "description",
300
302
  "mutable": false,
301
303
  "complexType": {
302
304
  "original": "string",
@@ -309,11 +311,13 @@ export class PostCardControl {
309
311
  "tags": [],
310
312
  "text": "Defines the description in the control-label."
311
313
  },
312
- "attribute": "description",
314
+ "getter": false,
315
+ "setter": false,
313
316
  "reflect": false
314
317
  },
315
318
  "type": {
316
319
  "type": "string",
320
+ "attribute": "type",
317
321
  "mutable": false,
318
322
  "complexType": {
319
323
  "original": "'checkbox' | 'radio'",
@@ -326,11 +330,13 @@ export class PostCardControl {
326
330
  "tags": [],
327
331
  "text": "Defines the `type` attribute of the control."
328
332
  },
329
- "attribute": "type",
333
+ "getter": false,
334
+ "setter": false,
330
335
  "reflect": false
331
336
  },
332
337
  "name": {
333
338
  "type": "string",
339
+ "attribute": "name",
334
340
  "mutable": false,
335
341
  "complexType": {
336
342
  "original": "string",
@@ -343,11 +349,13 @@ export class PostCardControl {
343
349
  "tags": [],
344
350
  "text": "Defines the `name` attribute of the control.\n<span className=\"mb-4 banner banner-sm banner-info\">This is a required property, when the control should participate in a native `form`. If not specified, a native `form` will never contain this controls value.</span>\n<span className=\"banner banner-sm banner-info\">This is a required property, when the control is used with type `radio`.</span>"
345
351
  },
346
- "attribute": "name",
352
+ "getter": false,
353
+ "setter": false,
347
354
  "reflect": false
348
355
  },
349
356
  "value": {
350
357
  "type": "string",
358
+ "attribute": "value",
351
359
  "mutable": false,
352
360
  "complexType": {
353
361
  "original": "string",
@@ -360,11 +368,13 @@ export class PostCardControl {
360
368
  "tags": [],
361
369
  "text": "Defines the `value` attribute of the control. <span className=\"banner banner-sm banner-info\">This is a required property, when the control is used with type `radio`.</span>"
362
370
  },
363
- "attribute": "value",
371
+ "getter": false,
372
+ "setter": false,
364
373
  "reflect": false
365
374
  },
366
375
  "checked": {
367
376
  "type": "boolean",
377
+ "attribute": "checked",
368
378
  "mutable": true,
369
379
  "complexType": {
370
380
  "original": "boolean",
@@ -377,12 +387,14 @@ export class PostCardControl {
377
387
  "tags": [],
378
388
  "text": "Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data."
379
389
  },
380
- "attribute": "checked",
390
+ "getter": false,
391
+ "setter": false,
381
392
  "reflect": false,
382
393
  "defaultValue": "false"
383
394
  },
384
395
  "disabled": {
385
396
  "type": "boolean",
397
+ "attribute": "disabled",
386
398
  "mutable": true,
387
399
  "complexType": {
388
400
  "original": "boolean",
@@ -395,12 +407,14 @@ export class PostCardControl {
395
407
  "tags": [],
396
408
  "text": "Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data."
397
409
  },
398
- "attribute": "disabled",
410
+ "getter": false,
411
+ "setter": false,
399
412
  "reflect": false,
400
413
  "defaultValue": "false"
401
414
  },
402
415
  "validity": {
403
416
  "type": "boolean",
417
+ "attribute": "validity",
404
418
  "mutable": true,
405
419
  "complexType": {
406
420
  "original": "boolean",
@@ -413,11 +427,13 @@ export class PostCardControl {
413
427
  "tags": [],
414
428
  "text": "Defines the validation `validity` of the control.\nTo reset validity to an undefined state, simply remove the attribute from the control."
415
429
  },
416
- "attribute": "validity",
430
+ "getter": false,
431
+ "setter": false,
417
432
  "reflect": false
418
433
  },
419
434
  "icon": {
420
435
  "type": "string",
436
+ "attribute": "icon",
421
437
  "mutable": false,
422
438
  "complexType": {
423
439
  "original": "string",
@@ -430,7 +446,8 @@ export class PostCardControl {
430
446
  "tags": [],
431
447
  "text": "Defines the icon `name` inside the card.\n<span className=\"banner banner-sm banner-info\">If not set the icon will not show up.</span>"
432
448
  },
433
- "attribute": "icon",
449
+ "getter": false,
450
+ "setter": false,
434
451
  "reflect": false
435
452
  }
436
453
  };
@@ -9,6 +9,9 @@ export class PostCollapsible {
9
9
  constructor() {
10
10
  this.isLoaded = false;
11
11
  this.isOpen = true;
12
+ /**
13
+ * If `true`, the element is collapsed otherwise it is displayed.
14
+ */
12
15
  this.collapsed = false;
13
16
  }
14
17
  collapsedChange() {
@@ -68,6 +71,7 @@ export class PostCollapsible {
68
71
  return {
69
72
  "collapsed": {
70
73
  "type": "boolean",
74
+ "attribute": "collapsed",
71
75
  "mutable": true,
72
76
  "complexType": {
73
77
  "original": "boolean",
@@ -80,7 +84,8 @@ export class PostCollapsible {
80
84
  "tags": [],
81
85
  "text": "If `true`, the element is collapsed otherwise it is displayed."
82
86
  },
83
- "attribute": "collapsed",
87
+ "getter": false,
88
+ "setter": false,
84
89
  "reflect": false,
85
90
  "defaultValue": "false"
86
91
  }
@@ -1,10 +1,19 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1; i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
1
11
  import { h, Host } from "@stencil/core";
2
12
  import { version } from "../../../../package";
3
- import { checkRequiredAndType, eventGuard, getRoot } from "../../utils/index";
13
+ import { checkRequiredAndType, EventFrom, getRoot } from "../../utils/index";
4
14
  export class PostCollapsibleTrigger {
5
15
  constructor() {
6
16
  this.observer = new MutationObserver(() => this.setTrigger());
7
- this.for = undefined;
8
17
  }
9
18
  /**
10
19
  * Set the "aria-controls" and "aria-expanded" attributes on the trigger to match the state of the controlled post-collapsible
@@ -41,11 +50,9 @@ export class PostCollapsibleTrigger {
41
50
  * This updates the trigger's "aria-expanded" attribute based on the event detail.
42
51
  */
43
52
  handlePostToggle(e) {
44
- eventGuard(this.host, e, { targetLocalName: 'post-collapsible' }, () => {
45
- if (this.trigger) {
46
- this.trigger.setAttribute('aria-expanded', `${e.detail}`);
47
- }
48
- });
53
+ if (this.trigger) {
54
+ this.trigger.setAttribute('aria-expanded', `${e.detail}`);
55
+ }
49
56
  }
50
57
  updateAriaAttributes() {
51
58
  if (!this.trigger)
@@ -89,7 +96,7 @@ export class PostCollapsibleTrigger {
89
96
  this.updateAriaAttributes();
90
97
  }
91
98
  render() {
92
- return (h(Host, { key: '8c835c780604b1138262489ca7d3313288e5ee86', "data-version": version }, h("slot", { key: 'ef354c2ca5e699a4e2c8940959f75a69918f388c' })));
99
+ return (h(Host, { key: '7fdf4338861df3ed4a61e2de68a0623f7f43df19', "data-version": version }, h("slot", { key: '4efa3ed29778dc162c4e8628f32d447d8b0b9ece' })));
93
100
  }
94
101
  static get is() { return "post-collapsible-trigger"; }
95
102
  static get encapsulation() { return "shadow"; }
@@ -97,6 +104,7 @@ export class PostCollapsibleTrigger {
97
104
  return {
98
105
  "for": {
99
106
  "type": "string",
107
+ "attribute": "for",
100
108
  "mutable": false,
101
109
  "complexType": {
102
110
  "original": "string",
@@ -109,7 +117,8 @@ export class PostCollapsibleTrigger {
109
117
  "tags": [],
110
118
  "text": "Link the trigger to a post-collapsible with this id"
111
119
  },
112
- "attribute": "for",
120
+ "getter": false,
121
+ "setter": false,
113
122
  "reflect": true
114
123
  }
115
124
  };
@@ -143,3 +152,6 @@ export class PostCollapsibleTrigger {
143
152
  }];
144
153
  }
145
154
  }
155
+ __decorate([
156
+ EventFrom('post-collapsible')
157
+ ], PostCollapsibleTrigger.prototype, "handlePostToggle", null);
@@ -16,6 +16,8 @@ export class PostFooter {
16
16
  checkRequiredAndType(this, 'label', 'string');
17
17
  }
18
18
  constructor() {
19
+ this.device = breakpoint.get('device');
20
+ this.gridSlotDisplayed = {};
19
21
  this.breakpointChange = (e) => {
20
22
  this.device = e.detail;
21
23
  };
@@ -24,13 +26,10 @@ export class PostFooter {
24
26
  this.updateGridSlotDisplay(e.target.name, e.target.assignedElements().length > 0);
25
27
  }
26
28
  };
27
- this.label = undefined;
28
- this.device = breakpoint.get('name');
29
- this.gridSlotDisplayed = {};
30
29
  this.handleGridSlotChange = this.handleGridSlotChange.bind(this);
31
30
  }
32
31
  connectedCallback() {
33
- window.addEventListener('postBreakpoint:name', this.breakpointChange);
32
+ window.addEventListener('postBreakpoint:device', this.breakpointChange);
34
33
  }
35
34
  componentWillLoad() {
36
35
  this.validateLabel();
@@ -41,7 +40,7 @@ export class PostFooter {
41
40
  });
42
41
  }
43
42
  disconnectedCallback() {
44
- window.removeEventListener('postBreakpoint:name', this.breakpointChange);
43
+ window.removeEventListener('postBreakpoint:device', this.breakpointChange);
45
44
  }
46
45
  updateGridSlotDisplay(slotName, hasContent) {
47
46
  if (this.gridSlotDisplayed[slotName] !== hasContent) {
@@ -55,7 +54,7 @@ export class PostFooter {
55
54
  return GRID_SLOTS.map(slotName => (h("div", { class: { 'd-none': !this.gridSlotDisplayed[slotName] } }, h("slot", { onSlotchange: this.handleGridSlotChange('tablet', 'desktop'), name: slotName }))));
56
55
  }
57
56
  render() {
58
- return (h(Host, { key: '1cb83edcb5ab2e5582a48fd9c95a60a8411567ee', "data-version": version }, h("footer", { key: '4f507a514bdb6ad3f3579737ae72ae6a40168715' }, h("h2", { key: 'e99aeaef9a9f2e9e060d3f5d0fbad650360a7128', class: "visually-hidden" }, this.label), h("div", { key: 'f4cedb3f564577c0a5a91ea3ca84587c7af5818a', class: "footer-container" }, h("div", { key: '05ffad19533d49c91d5be570f5af52779a33d2df', class: "footer-grid" }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), h("div", { key: '6110e4382e43f63a83630538a0329e1f4b1d8590', class: "footer-column" }, h("div", { key: '5ac7115be86fc40f267c4d279574ad03eff66f39', class: "footer-socialmedia" }, h("slot", { key: '9c83318f3c4cc2d0cfa20087bb592f80a392cfb9', name: "socialmedia" })), h("div", { key: '5c3000bcdeea9a0952f67e6f09b38f476eb5380d', class: "footer-app" }, h("slot", { key: 'dd81ee8ba0e3d4ea42e60aebb4ce6daa30a1fe3d', name: "app" }))), h("div", { key: '242a9a86330f68888943cf2aa83ed0e24649a1a5', class: "footer-businesssectors" }, h("slot", { key: '9c2a860f2c0d89aa0a291ccd1f00dedccda64c71', name: "businesssectors" })), h("div", { key: '84269c90a5027029c6cf17f24d3dfe7cd3e70b06', class: "footer-meta" }, h("slot", { key: '4fef37edc54a6b0f6a52760eb8330ff98efa33bc', name: "meta" })), h("div", { key: '38bba9bd55e6d9025b6e4b95565594a484351a57', class: "footer-copyright" }, h("slot", { key: '4ecc0141a1489463b92ed44e7b02bf72b7f41fc5', name: "copyright" }))))));
57
+ return (h(Host, { key: 'a8e9b31b6397a0714dbf04344ab8b14a6557de33', "data-version": version }, h("footer", { key: 'ff7b4b44e16615386c5d12e22cede352f1713771' }, h("h2", { key: '3c9e6bb2abc6c8d780d2d8add008a6429d2e56c5', class: "visually-hidden" }, this.label), h("div", { key: 'ed1081328cc99f3a35fca694bcb46a06a0722e0c', class: "footer-container" }, h("div", { key: 'd251ed5c1cd48a58ffa13fcb3783c20ca0324f62', class: "footer-grid" }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), h("div", { key: '470c1bb6d26ba07b5aad802c7c4a857a4b677a33', class: "footer-column" }, h("div", { key: '1f5aa5b055e5843dbcd2b54e9f3e07f854131bdf', class: "footer-socialmedia" }, h("slot", { key: 'a0a4017352ff569ccda7f0f51192bf2e6ab5bf76', name: "socialmedia" })), h("div", { key: '52adfc1753529270eb3484581dac57978af5f447', class: "footer-app" }, h("slot", { key: '790891de631670fbca5460e3b1a118c22c707180', name: "app" }))), h("div", { key: 'a28cecfec455f31af7d098bf305c2b6382c85d8c', class: "footer-businesssectors" }, h("slot", { key: '14d504b9356313a3e631a9eca247bc3137ab22d5', name: "businesssectors" })), h("div", { key: '81a7114a63ac70c5e3fdf93c72c4f92ff93f8d14', class: "footer-meta" }, h("slot", { key: '346445c8df4d4ca575dff3a78408593b3fde805d', name: "meta" })), h("div", { key: '971e837c1c1553a5223c6a547bcc818baa252d1e', class: "footer-copyright" }, h("slot", { key: '7c22cadabaa8f1845226bccdbe3caf191e39e28e', name: "copyright" }))))));
59
58
  }
60
59
  static get is() { return "post-footer"; }
61
60
  static get encapsulation() { return "shadow"; }
@@ -73,6 +72,7 @@ export class PostFooter {
73
72
  return {
74
73
  "label": {
75
74
  "type": "string",
75
+ "attribute": "label",
76
76
  "mutable": false,
77
77
  "complexType": {
78
78
  "original": "string",
@@ -85,7 +85,8 @@ export class PostFooter {
85
85
  "tags": [],
86
86
  "text": "The label to add to the footer (visually hidden)."
87
87
  },
88
- "attribute": "label",
88
+ "getter": false,
89
+ "setter": false,
89
90
  "reflect": false
90
91
  }
91
92
  };
@@ -1 +1 @@
1
- *,::before,::after{box-sizing:border-box}:host{z-index:1020;position:relative;--post-global-header-top: calc( (var(--post-global-header-height) - var(--post-global-header-reduced-height)) * -1 );--post-local-header-top: calc( -1 * (var(--post-local-header-height) - var(--post-main-navigation-height)) + var(--post-global-header-reduced-height) );--post-logo-height: calc(var(--post-global-header-height) - var(--post-header-scroll-top, 0px));--post-global-controls-top: calc(min((var(--post-header-scroll-top) / 4), 20px) * -1)}:host:has(.global-sub>*:not(.logo):focus-within),:host:has(.local-sub:focus-within){--post-global-header-top: 0;--post-local-header-top: var(--post-global-header-height);--post-logo-height: var(--post-global-header-height);--post-global-controls-top: 0}@media screen and (max-width: 1023.98px){:host{position:fixed;inset:0;bottom:auto}}:host(:not(:has([slot=title]))) .local-header{padding-block-start:0}:host(:not(:has([slot=title]))) .local-sub{display:none}.d-flex{display:flex}.space-between{justify-content:space-between}.global-header{background-color:#fc0;display:flex;justify-content:space-between;position:sticky;padding-inline:4px;height:var(--post-global-header-height)}@media screen and (max-width: 1023.98px){.global-header{z-index:4;inset-block-start:0;position:relative}}@media screen and (min-width: 1024px){.global-header{z-index:5;padding-inline-end:12px;inset-block-start:var(--post-global-header-top);transition:inset-block-start .2s ease-in-out}}.global-sub{display:flex;align-items:center;gap:24px}@media screen and (min-width: 1024px){.global-sub:not(:has(.logo)){position:relative;transition:inset-block-start .2s ease-in-out;inset-block-start:var(--post-global-controls-top)}}.align-end{align-items:flex-end}.logo{flex:1 0 auto;height:var(--post-global-header-height);width:var(--post-global-header-height);min-height:var(--post-global-header-reduced-height);align-self:flex-end}@media screen and (min-width: 1024px){.logo{transition:height .2 ease-in-out;height:var(--post-logo-height)}}::slotted(ul){margin-block:0 !important;list-style:none;display:flex;padding-inline-start:0;gap:1rem;flex-shrink:0 !important}.local-header{display:flex;position:sticky;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;min-height:var(--post-local-header-min-height);background:#fff;transition:box-shadow .2s ease-in-out}.local-header::after{content:"";position:absolute;width:100%;height:1px;background-color:#e1e0dc;inset-block-end:-1px;z-index:1}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.local-header::after{background-color:Highlight}}@media screen and (min-width: 1024px){.local-header{z-index:3;inset-block-start:var(--post-local-header-top);padding-block-start:18px;box-shadow:var(--post-device-elevation-300);transition:box-shadow .2s ease-in-out,inset-block-start .2s ease-in-out}}@media screen and (max-width: 1023.98px){.local-header{z-index:3;position:relative;padding-block:8px;flex-wrap:wrap;gap:12px}.local-header.local-header-mobile-extended::after{inset-block-end:0}.local-header:not(.local-header-mobile-extended){box-shadow:var(--post-device-elevation-300)}}.local-sub{margin-inline-end:8px}@media screen and (max-width: 1023.98px){.local-sub{margin-inline-end:4px}}::slotted(.list-inline){margin:0 !important;z-index:3 !important;position:relative !important}@media screen and (min-width: 1024px){.mobile-toggle{display:none}}.navigation{width:100%}@media screen and (min-width: 1024px){.navigation{inset-block-start:var(--post-global-header-reduced-height)}.navigation::before{display:block;content:"";position:absolute;inset:0;z-index:2;background:#fff}}@media screen and (max-width: 1023.98px){.navigation{position:sticky;z-index:2;inset-inline:0;inset-block-start:var(--post-header-height)}.mobile-menu{background-color:#fafafa}::slotted(post-mainnavigation),.navigation-footer{display:none;flex-direction:column;padding-block:16px 24px;padding-inline:32px}.navigation.extended ::slotted(post-mainnavigation),.navigation.extended .navigation-footer{display:flex}.navigation.extended>div{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height))}.navigation.extended.megadropdown-open>div{overflow-y:hidden}.navigation.extended ::slotted(post-mainnavigation){flex-grow:1 !important}::slotted(post-mainnavigation){gap:32px}.navigation-footer{background-color:#f0efed;gap:24px}}@media screen and (max-width: 599.98px){::slotted(post-mainnavigation),.navigation-footer{padding-inline:16px}}
1
+ *,::before,::after{box-sizing:border-box}:host{z-index:1020;position:relative;--post-global-header-top: calc( (var(--post-global-header-height) - var(--post-global-header-reduced-height)) * -1 );--post-local-header-top: calc( -1 * (var(--post-local-header-height) - var(--post-main-navigation-height)) + var(--post-global-header-reduced-height) );--post-logo-height: calc(var(--post-global-header-height) - var(--post-header-scroll-top, 0px));--post-global-controls-top: calc(min((var(--post-header-scroll-top) / 4), 20px) * -1)}:host:has(.global-sub>*:not(.logo):focus-within),:host:has(.local-sub:focus-within){--post-global-header-top: 0;--post-local-header-top: var(--post-global-header-height);--post-logo-height: var(--post-global-header-height);--post-global-controls-top: 0}:host(:not(:has([slot=title]))) .local-header{padding-block-start:0}:host(:not(:has([slot=title]))) .local-sub{display:none}.d-flex{display:flex}.space-between{justify-content:space-between}.global-header{background-color:#fc0;display:flex;justify-content:space-between;position:sticky;padding-inline:4px;height:var(--post-global-header-height)}@media screen and (max-width: 1023.98px){.global-header{z-index:4;inset-block-start:0}}@media screen and (min-width: 1024px){.global-header{z-index:5;padding-inline-end:12px;inset-block-start:var(--post-global-header-top);transition:inset-block-start .2s ease-in-out}}.global-sub{display:flex;align-items:center;gap:24px}@media screen and (min-width: 1024px){.global-sub:not(:has(.logo)){position:relative;transition:inset-block-start .2s ease-in-out;inset-block-start:var(--post-global-controls-top)}}.align-end{align-items:flex-end}.logo{flex:1 0 auto;height:var(--post-global-header-height);width:var(--post-global-header-height);min-height:var(--post-global-header-reduced-height);align-self:flex-end}@media screen and (min-width: 1024px){.logo{transition:height .2 ease-in-out;height:var(--post-logo-height)}}::slotted(ul){margin-block:0 !important;list-style:none;display:flex;padding-inline-start:0;gap:1rem;flex-shrink:0 !important}.local-header{display:flex;position:sticky;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;min-height:var(--post-local-header-min-height);background:#fff;transition:box-shadow .2s ease-in-out}.local-header::after{content:"";position:absolute;width:100%;height:1px;background-color:#e1e0dc;inset-block-end:-1px;z-index:1}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.local-header::after{background-color:Highlight}}@media screen and (min-width: 1024px){.local-header{z-index:3;inset-block-start:var(--post-local-header-top);padding-block-start:18px;box-shadow:var(--post-device-elevation-300);transition:box-shadow .2s ease-in-out,inset-block-start .2s ease-in-out}}@media screen and (max-width: 1023.98px){.local-header{z-index:3;inset-block-start:var(--post-global-header-height);padding-block:8px;flex-wrap:wrap;gap:12px}.local-header.local-header-mobile-extended::after{inset-block-end:0}.local-header:not(.local-header-mobile-extended){box-shadow:var(--post-device-elevation-300)}}.local-sub{margin-inline-end:8px}@media screen and (max-width: 1023.98px){.local-sub{margin-inline-end:4px}}::slotted(.list-inline){margin:0 !important;z-index:3 !important;position:relative !important}@media screen and (min-width: 1024px){.mobile-toggle{display:none}}.navigation{width:100%}@media screen and (min-width: 1024px){.navigation{inset-block-start:var(--post-global-header-reduced-height)}.navigation::before{display:block;content:"";position:absolute;inset:0;z-index:2;background:#fff}}@media screen and (max-width: 1023.98px){.navigation{position:sticky;z-index:2;inset-inline:0;inset-block-start:var(--post-header-height)}.mobile-menu{background-color:#fafafa}::slotted(post-mainnavigation),.navigation-footer{display:none;flex-direction:column;padding-block:16px 24px;padding-inline:32px}.navigation.extended ::slotted(post-mainnavigation),.navigation.extended .navigation-footer{display:flex}.navigation.extended>div{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height))}.navigation.extended.megadropdown-open>div{overflow-y:hidden}.navigation.extended ::slotted(post-mainnavigation){flex-grow:1 !important}::slotted(post-mainnavigation){gap:32px}.navigation-footer{background-color:#f0efed;gap:24px}}@media screen and (max-width: 599.98px){::slotted(post-mainnavigation),.navigation-footer{padding-inline:16px}}
@@ -1,10 +1,20 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1; i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
1
11
  import { h, Host, } from "@stencil/core";
2
12
  import { throttle } from "throttle-debounce";
3
13
  import { version } from "../../../../package";
4
14
  import { breakpoint } from "../../utils/breakpoints";
5
15
  import { slideDown, slideUp } from "../../animations/slide";
6
16
  import { getFocusableChildren } from "../../utils/get-focusable-children";
7
- import { eventGuard } from "../../utils/event-gua";
17
+ import { EventFrom } from "../../utils/event-from";
8
18
  /**
9
19
  * @slot post-logo - Should be used together with the `<post-logo>` component.
10
20
  * @slot meta-navigation - Holds an `<ul>` with meta navigation links.
@@ -43,6 +53,9 @@ export class PostHeader {
43
53
  }
44
54
  constructor() {
45
55
  this.throttledResize = throttle(50, () => this.updateLocalHeaderHeight());
56
+ this.device = breakpoint.get('device');
57
+ this.mobileMenuExtended = false;
58
+ this.megadropdownOpen = false;
46
59
  this.breakpointChange = (e) => {
47
60
  this.device = e.detail;
48
61
  this.switchLanguageSwitchMode();
@@ -51,16 +64,8 @@ export class PostHeader {
51
64
  }
52
65
  };
53
66
  this.megadropdownStateHandler = (event) => {
54
- eventGuard(this.host, event, {
55
- targetLocalName: 'post-megadropdown',
56
- delegatorSelector: 'post-header',
57
- }, () => {
58
- this.megadropdownOpen = event.detail.isVisible;
59
- });
67
+ this.megadropdownOpen = event.detail.isVisible;
60
68
  };
61
- this.device = breakpoint.get('name');
62
- this.mobileMenuExtended = false;
63
- this.megadropdownOpen = false;
64
69
  this.handleScrollEvent = this.handleScrollEvent.bind(this);
65
70
  this.updateScrollParentHeight = this.updateScrollParentHeight.bind(this);
66
71
  this.updateLocalHeaderHeight = this.updateLocalHeaderHeight.bind(this);
@@ -77,9 +82,8 @@ export class PostHeader {
77
82
  });
78
83
  document.addEventListener('postToggleMegadropdown', this.megadropdownStateHandler);
79
84
  this.host.addEventListener('click', this.handleLinkClick);
80
- window.addEventListener('postBreakpoint:name', this.breakpointChange);
85
+ window.addEventListener('postBreakpoint:device', this.breakpointChange);
81
86
  this.switchLanguageSwitchMode();
82
- this.updateLocalHeaderHeight();
83
87
  this.handleScrollParentResize();
84
88
  this.lockBody(false, this.mobileMenuExtended, 'mobileMenuExtended');
85
89
  }
@@ -90,10 +94,13 @@ export class PostHeader {
90
94
  this.getFocusableElements();
91
95
  this.handleLocalHeaderResize();
92
96
  }
97
+ componentDidLoad() {
98
+ this.updateLocalHeaderHeight();
99
+ }
93
100
  // Clean up possible side effects when post-header is disconnected
94
101
  disconnectedCallback() {
95
102
  const scrollParent = this.scrollParent;
96
- window.removeEventListener('postBreakpoint:name', this.breakpointChange);
103
+ window.removeEventListener('postBreakpoint:device', this.breakpointChange);
97
104
  window.removeEventListener('resize', this.throttledResize);
98
105
  window.removeEventListener('scroll', this.handleScrollEvent);
99
106
  scrollParent.removeEventListener('scroll', this.handleScrollEvent);
@@ -178,8 +185,10 @@ export class PostHeader {
178
185
  document.documentElement.style.setProperty('--post-header-scroll-top', `${scrollTop}px`);
179
186
  }
180
187
  updateLocalHeaderHeight() {
181
- const localHeaderHeight = this.host.shadowRoot.querySelector('.local-header')?.clientHeight || 0;
182
- document.documentElement.style.setProperty('--post-local-header-height', `${localHeaderHeight}px`);
188
+ const localHeaderElement = this.host.shadowRoot.querySelector('.local-header');
189
+ if (localHeaderElement) {
190
+ document.documentElement.style.setProperty('--post-local-header-height', `${localHeaderElement.clientHeight}px`);
191
+ }
183
192
  }
184
193
  updateScrollParentHeight() {
185
194
  this.host.style.setProperty('--post-header-scroll-parent-height', `${this.scrollParent.clientHeight}px`);
@@ -232,7 +241,7 @@ export class PostHeader {
232
241
  return (h("div", { class: navigationClasses.join(' '), style: { '--post-header-navigation-current-inset': `${mobileMenuScrollTop}px` } }, h("div", { class: "mobile-menu", ref: el => (this.mobileMenu = el) }, h("slot", { name: "post-mainnavigation" }), (this.device === 'mobile' || this.device === 'tablet') && (h("div", { class: "navigation-footer" }, h("slot", { name: "meta-navigation" }), h("slot", { name: "post-language-switch" }))))));
233
242
  }
234
243
  render() {
235
- return (h(Host, { key: 'b552e09d25f9d69217f47b31931553edabcb3b5b', "data-version": version }, h("div", { key: 'b7bb569991b4c50101b80a907aff823ed64f93c3', class: "global-header" }, h("div", { key: 'bd88a1b5cc75cbb9832da4082fc6bc2405342421', class: "global-sub" }, h("div", { key: '0f338f37c57cdad900f0b9654ef16a26e60385d9', class: "logo" }, h("slot", { key: '8f5faf2470aee5a7c3d5ebb4157009f32e679085', name: "post-logo" }))), h("div", { key: 'f97a893b1dd7bce09f57e8199bd584fd6e28b71c', class: "global-sub" }, this.device === 'desktop' && h("slot", { key: '5edf8a7834d42b89a5c0bb5e4b53ff75cef78fd7', name: "meta-navigation" }), h("slot", { key: '196cf8c24e02cac8fc8215f9ab2e9efed46dced3', name: "global-controls" }), this.device === 'desktop' && h("slot", { key: 'bce4b98e5ac9f7afba6b88a9da3fbe91b69aadf3', name: "post-language-switch" }), h("div", { key: '1c4b51f44882f55a5fe5386ed33b696c81289d14', onClick: () => this.toggleMobileMenu(), class: "mobile-toggle" }, h("slot", { key: '56625102ad896e624e6a879f203e6b2cac4455a3', name: "post-togglebutton" })))), h("div", { key: 'd1a3961046902fa6026b065b9a013a341188d0e5', class: 'local-header ' + (this.mobileMenuExtended ? 'local-header-mobile-extended' : '') }, h("slot", { key: '28d1be43cae56c53468e51e9b62cf92652431dcd', name: "title" }), h("div", { key: '09729387f1de16c4052c87956112b2aa64148f9a', class: "local-sub" }, h("slot", { key: 'fa0f247d960522d617dfadcfb0576f875eca45c6', name: "local-controls" }), h("slot", { key: 'b49e7647e428efbe3adea6f4302f023a1d6fe2bd' })), this.device === 'desktop' && this.renderNavigation()), this.device !== 'desktop' && this.renderNavigation()));
244
+ return (h(Host, { key: '90a8c0bedc440a7242167267a62772939c3e92bc', "data-version": version }, h("div", { key: '605d0dd51867f6748cc1148d6336c3e42943a4cb', class: "global-header" }, h("div", { key: '12ea812d7aca78f86cea0494029b92d7e7e5c4e7', class: "global-sub" }, h("div", { key: 'e6e2e92bedc2b2abd84546ed7bbf8d54b4cb6f79', class: "logo" }, h("slot", { key: '52b5fa88095656878d81b5bfae5d9e2d4e154d6d', name: "post-logo" }))), h("div", { key: '428c5a10001e44fb0fc0f4806bca223697de874f', class: "global-sub" }, this.device === 'desktop' && h("slot", { key: '806129b790ec2e92a2229c4c83b390604bf7402f', name: "meta-navigation" }), h("slot", { key: 'd1b8d1967dc6847999040f7d6be49ccdb9888c73', name: "global-controls" }), this.device === 'desktop' && h("slot", { key: 'c9dec95d646e20493efde8648e0962782844d218', name: "post-language-switch" }), h("div", { key: 'ce6105955665c13392a38968cea359c431e002a4', onClick: () => this.toggleMobileMenu(), class: "mobile-toggle" }, h("slot", { key: '0dadceedde6aa20e0e2255c49b8b56995a2131b2', name: "post-togglebutton" })))), h("div", { key: 'cffb43a5b2c1843f42b73288c713f633949879db', class: 'local-header ' + (this.mobileMenuExtended ? 'local-header-mobile-extended' : '') }, h("slot", { key: 'd36e0dda59b4a6d5fe61b3ac48fcdc1868fd0a4b', name: "title" }), h("div", { key: '998114aff9f726b3d9edf256756d399efd2e0751', class: "local-sub" }, h("slot", { key: '222017a680af7bbeca73d7414801fd3ce3a55099', name: "local-controls" }), h("slot", { key: '760849a61ffea59dc184c4ae31b254f7c53aaaa3' })), this.device === 'desktop' && this.renderNavigation()), this.device !== 'desktop' && this.renderNavigation()));
236
245
  }
237
246
  static get is() { return "post-header"; }
238
247
  static get encapsulation() { return "shadow"; }
@@ -293,3 +302,6 @@ export class PostHeader {
293
302
  }];
294
303
  }
295
304
  }
305
+ __decorate([
306
+ EventFrom('post-megadropdown')
307
+ ], PostHeader.prototype, "megadropdownStateHandler", void 0);