@swisspost/design-system-components 9.0.0-next.9 → 9.0.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 (466) hide show
  1. package/dist/cjs/{index-5d4e0aed.js → index-824d2b71.js} +12 -2
  2. package/dist/cjs/{index-010dc207.js → index-e1f32cce.js} +17 -30
  3. package/dist/cjs/index.cjs.js +26 -50
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{package-8e810a59.js → package-3ed88bb9.js} +1 -1
  6. package/dist/cjs/{post-accordion-b9df8522.js → post-accordion-9ef382e8.js} +3 -3
  7. package/dist/cjs/post-accordion-item-5f685bee.js +52 -0
  8. package/dist/cjs/post-accordion-item.cjs.entry.js +4 -5
  9. package/dist/cjs/post-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/post-alert-88adc668.js +99 -0
  11. package/dist/cjs/{post-banner.cjs.entry.js → post-alert.cjs.entry.js} +5 -6
  12. package/dist/cjs/post-card-control-c6e5c427.js +272 -0
  13. package/dist/cjs/post-card-control.cjs.entry.js +3 -3
  14. package/dist/cjs/{post-collapsible-trigger-143cf84a.js → post-collapsible-trigger-1764e6dc.js} +24 -11
  15. package/dist/cjs/post-collapsible_2.cjs.entry.js +4 -7
  16. package/dist/cjs/post-components.cjs.js +2 -2
  17. package/dist/cjs/post-icon-f735da00.js +139 -0
  18. package/dist/cjs/post-icon.cjs.entry.js +16 -0
  19. package/dist/cjs/post-logo-2cd8ae98.js +39 -0
  20. package/dist/cjs/post-logo.cjs.entry.js +15 -0
  21. package/dist/cjs/post-popover-36c854a4.js +131 -0
  22. package/dist/cjs/post-popover.cjs.entry.js +3 -4
  23. package/dist/cjs/{post-togglebutton-0984a694.js → post-popovercontainer-cb4793c1.js} +148 -1106
  24. package/dist/cjs/post-popovercontainer.cjs.entry.js +11 -0
  25. package/dist/cjs/post-rating-d5073d8d.js +88 -0
  26. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  27. package/dist/cjs/post-tab-header-b756d9b1.js +32 -0
  28. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  29. package/dist/cjs/{post-tab-panel-60f211a5.js → post-tab-panel-97b79ecd.js} +3 -3
  30. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  31. package/dist/cjs/{post-tabs-1f797ce4.js → post-tabs-834497f2.js} +5 -5
  32. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  33. package/dist/cjs/post-tag-c70fb945.js +47 -0
  34. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  35. package/dist/cjs/post-tooltip-20ebe011.js +69 -0
  36. package/dist/cjs/{post-tooltip-38c839a4.js → post-tooltip-trigger-6f4c9748.js} +507 -557
  37. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +12 -0
  38. package/dist/cjs/post-tooltip.cjs.entry.js +3 -8
  39. package/dist/collection/collection-manifest.json +4 -21
  40. package/dist/collection/components/post-accordion/post-accordion.css +1 -1
  41. package/dist/collection/components/post-accordion/post-accordion.js +2 -2
  42. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
  43. package/dist/collection/components/post-accordion-item/post-accordion-item.js +10 -24
  44. package/dist/collection/components/post-alert/alert-types.js +1 -0
  45. package/dist/collection/components/post-alert/post-alert.css +35 -0
  46. package/dist/collection/components/{post-banner/post-banner.js → post-alert/post-alert.js} +68 -39
  47. package/dist/collection/components/post-card-control/post-card-control.css +30 -2
  48. package/dist/collection/components/post-card-control/post-card-control.js +8 -8
  49. package/dist/collection/components/post-collapsible/post-collapsible.js +2 -4
  50. package/dist/collection/components/post-icon/post-icon.css +1 -1
  51. package/dist/collection/components/post-icon/post-icon.js +52 -13
  52. package/dist/collection/components/post-logo/post-logo.js +1 -1
  53. package/dist/collection/components/post-popover/post-popover.css +30 -2
  54. package/dist/collection/components/post-popover/post-popover.js +10 -6
  55. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +31 -1
  56. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +180 -52
  57. package/dist/collection/components/post-rating/post-rating.css +29 -1
  58. package/dist/collection/components/post-rating/post-rating.js +1 -1
  59. package/dist/collection/components/post-tab-header/post-tab-header.css +29 -1
  60. package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
  61. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  62. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  63. package/dist/collection/components/post-tabs/post-tabs.js +2 -2
  64. package/dist/collection/components/post-tag/post-tag.css +29 -1
  65. package/dist/collection/components/post-tag/post-tag.js +2 -2
  66. package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
  67. package/dist/collection/components/post-tooltip/post-tooltip.js +60 -213
  68. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.css +1 -0
  69. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +230 -0
  70. package/dist/collection/index.js +3 -20
  71. package/dist/components/index.js +3 -20
  72. package/dist/components/index2.js +1 -1
  73. package/dist/components/package.js +1 -1
  74. package/dist/components/post-accordion-item2.js +12 -30
  75. package/dist/components/post-accordion2.js +1 -1
  76. package/dist/components/{post-list.d.ts → post-alert.d.ts} +4 -4
  77. package/dist/components/post-alert.js +6 -0
  78. package/dist/components/post-alert2.js +136 -0
  79. package/dist/components/post-card-control2.js +3 -3
  80. package/dist/components/post-collapsible-trigger2.js +17 -2
  81. package/dist/components/post-collapsible2.js +3 -5
  82. package/dist/components/post-icon2.js +54 -15
  83. package/dist/components/post-logo2.js +1 -1
  84. package/dist/components/post-popover2.js +35 -8
  85. package/dist/components/post-popovercontainer2.js +136 -41
  86. package/dist/components/post-rating2.js +2 -2
  87. package/dist/components/post-tab-header2.js +2 -2
  88. package/dist/components/post-tab-panel2.js +1 -1
  89. package/dist/components/post-tabs2.js +3 -3
  90. package/dist/components/post-tag2.js +2 -2
  91. package/dist/components/{post-breadcrumb-item.d.ts → post-tooltip-trigger.d.ts} +4 -4
  92. package/dist/components/post-tooltip-trigger.js +6 -0
  93. package/dist/components/post-tooltip-trigger2.js +4968 -0
  94. package/dist/components/post-tooltip2.js +32 -4962
  95. package/dist/docs.json +401 -1776
  96. package/dist/esm/{index-b49c9904.js → index-69587a51.js} +12 -2
  97. package/dist/esm/{index-fb8d6be7.js → index-e1b64755.js} +17 -30
  98. package/dist/esm/index.js +20 -27
  99. package/dist/esm/loader.js +3 -3
  100. package/dist/esm/package-983f957d.js +3 -0
  101. package/dist/esm/{post-accordion-ee54a3ef.js → post-accordion-ad570427.js} +3 -3
  102. package/dist/esm/post-accordion-item-4db0aa2a.js +50 -0
  103. package/dist/esm/post-accordion-item.entry.js +4 -5
  104. package/dist/esm/post-accordion.entry.js +3 -3
  105. package/dist/esm/post-alert-1e9fbdfa.js +97 -0
  106. package/dist/esm/post-alert.entry.js +9 -0
  107. package/dist/esm/post-card-control-ccb189a8.js +270 -0
  108. package/dist/esm/post-card-control.entry.js +3 -3
  109. package/dist/esm/{post-collapsible-trigger-1c7833f8.js → post-collapsible-trigger-45fe328a.js} +22 -9
  110. package/dist/esm/post-collapsible_2.entry.js +4 -7
  111. package/dist/esm/post-components.js +3 -3
  112. package/dist/esm/post-icon-3fc4dd7d.js +137 -0
  113. package/dist/esm/post-icon.entry.js +8 -0
  114. package/dist/esm/post-logo-e6cdea13.js +37 -0
  115. package/dist/esm/post-logo.entry.js +7 -0
  116. package/dist/esm/post-popover-afdf4906.js +129 -0
  117. package/dist/esm/post-popover.entry.js +3 -4
  118. package/dist/esm/{post-togglebutton-395bf3f0.js → post-popovercontainer-b19b7606.js} +149 -1093
  119. package/dist/esm/post-popovercontainer.entry.js +3 -0
  120. package/dist/esm/post-rating-f60024fa.js +86 -0
  121. package/dist/esm/post-rating.entry.js +3 -3
  122. package/dist/esm/post-tab-header-333e15d5.js +30 -0
  123. package/dist/esm/post-tab-header.entry.js +3 -3
  124. package/dist/esm/{post-tab-panel-cafd9e04.js → post-tab-panel-0ddb05a2.js} +3 -3
  125. package/dist/esm/post-tab-panel.entry.js +3 -3
  126. package/dist/esm/{post-tabs-beef8eae.js → post-tabs-ab7853cf.js} +5 -5
  127. package/dist/esm/post-tabs.entry.js +3 -3
  128. package/dist/esm/post-tag-4a7d14b9.js +45 -0
  129. package/dist/esm/post-tag.entry.js +3 -3
  130. package/dist/esm/post-tooltip-c03cd719.js +67 -0
  131. package/dist/esm/{post-tooltip-b298039a.js → post-tooltip-trigger-1fefc8ad.js} +507 -557
  132. package/dist/esm/post-tooltip-trigger.entry.js +4 -0
  133. package/dist/esm/post-tooltip.entry.js +3 -8
  134. package/dist/post-components/index.esm.js +1 -1
  135. package/dist/post-components/p-0a45da5e.entry.js +1 -0
  136. package/dist/post-components/p-12e82863.entry.js +1 -0
  137. package/dist/post-components/p-1386b77d.js +1 -0
  138. package/dist/post-components/p-1528b798.js +1 -0
  139. package/dist/post-components/p-18dc1299.entry.js +1 -0
  140. package/dist/post-components/p-1a8f6c84.entry.js +1 -0
  141. package/dist/post-components/p-256453ca.js +1 -0
  142. package/dist/post-components/p-3272ebad.js +1 -0
  143. package/dist/post-components/p-3596035e.js +1 -0
  144. package/dist/post-components/p-3668f4fa.entry.js +1 -0
  145. package/dist/post-components/p-375845d4.js +1 -0
  146. package/dist/post-components/p-381de59d.entry.js +1 -0
  147. package/dist/post-components/{p-c0ae9886.js → p-3eab790d.js} +1 -1
  148. package/dist/post-components/p-4e68c514.js +1 -0
  149. package/dist/post-components/p-4eb5d9a1.entry.js +1 -0
  150. package/dist/post-components/p-61a7d216.js +1 -0
  151. package/dist/post-components/p-788e64fb.js +1 -0
  152. package/dist/post-components/p-7d5b41d1.js +1 -0
  153. package/dist/post-components/p-82ea24e7.js +1 -0
  154. package/dist/post-components/p-85c4d04f.js +1 -0
  155. package/dist/post-components/p-85c6d001.entry.js +1 -0
  156. package/dist/post-components/p-8e555dda.js +15 -0
  157. package/dist/post-components/p-962a6f36.entry.js +1 -0
  158. package/dist/post-components/p-a76c71bc.js +1 -0
  159. package/dist/post-components/p-a7e8fd41.entry.js +1 -0
  160. package/dist/post-components/p-ac216bd0.entry.js +1 -0
  161. package/dist/post-components/p-b17ecbee.entry.js +1 -0
  162. package/dist/post-components/p-bb4227ad.entry.js +1 -0
  163. package/dist/post-components/p-bc294d0b.js +1 -0
  164. package/dist/post-components/p-d0b3c5d3.entry.js +1 -0
  165. package/dist/post-components/p-d4e148d8.entry.js +1 -0
  166. package/dist/post-components/p-d9809281.js +1 -0
  167. package/dist/post-components/p-eb1e7a49.js +1 -0
  168. package/dist/post-components/p-f35291d5.entry.js +1 -0
  169. package/dist/post-components/p-fc3bfe08.js +1 -0
  170. package/dist/post-components/post-components.esm.js +1 -1
  171. package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
  172. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +1 -7
  173. package/dist/types/components/post-alert/alert-types.d.ts +2 -0
  174. package/dist/types/components/post-alert/post-alert.d.ts +54 -0
  175. package/dist/types/components/post-card-control/post-card-control.d.ts +7 -7
  176. package/dist/types/components/post-icon/post-icon.d.ts +1 -1
  177. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +31 -13
  178. package/dist/types/components/post-tag/post-tag.d.ts +1 -1
  179. package/dist/types/components/post-tooltip/post-tooltip.d.ts +20 -34
  180. package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +47 -0
  181. package/dist/types/components.d.ts +124 -590
  182. package/dist/types/index.d.ts +3 -20
  183. package/loaders/index.d.ts +4 -38
  184. package/loaders/index.js +4 -21
  185. package/loaders/index2.js +1 -1
  186. package/loaders/package.js +1 -1
  187. package/loaders/post-accordion-item.js +82 -1
  188. package/loaders/post-accordion.js +1 -1
  189. package/loaders/{post-list.d.ts → post-alert.d.ts} +4 -4
  190. package/loaders/post-alert.js +139 -0
  191. package/loaders/post-card-control.js +3 -3
  192. package/loaders/post-collapsible-trigger2.js +17 -2
  193. package/loaders/post-collapsible2.js +3 -5
  194. package/loaders/post-icon2.js +54 -15
  195. package/loaders/post-logo.js +2 -2
  196. package/loaders/post-popover.js +35 -8
  197. package/loaders/post-popovercontainer2.js +136 -41
  198. package/loaders/post-rating.js +2 -2
  199. package/loaders/post-tab-header.js +2 -2
  200. package/loaders/post-tab-panel.js +1 -1
  201. package/loaders/post-tabs.js +3 -3
  202. package/loaders/post-tag.js +2 -2
  203. package/loaders/{post-avatar.d.ts → post-tooltip-trigger.d.ts} +4 -4
  204. package/loaders/post-tooltip-trigger.js +4971 -0
  205. package/loaders/post-tooltip.js +32 -4962
  206. package/package.json +6 -9
  207. package/dist/cjs/attribute-observer-10f08c04.js +0 -27
  208. package/dist/cjs/check-url-3ffdd2fb.js +0 -14
  209. package/dist/cjs/debounce-1151afe3.js +0 -12
  210. package/dist/cjs/get-root-7a3498ef.js +0 -11
  211. package/dist/cjs/post-accordion-item-ecc6749f.js +0 -63
  212. package/dist/cjs/post-avatar-f7236084.js +0 -148
  213. package/dist/cjs/post-avatar.cjs.entry.js +0 -13
  214. package/dist/cjs/post-back-to-top-60762f8e.js +0 -75
  215. package/dist/cjs/post-back-to-top.cjs.entry.js +0 -15
  216. package/dist/cjs/post-banner-9662f22c.js +0 -90
  217. package/dist/cjs/post-breadcrumb-b40732fc.js +0 -111
  218. package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +0 -17
  219. package/dist/cjs/post-breadcrumb.cjs.entry.js +0 -13
  220. package/dist/cjs/post-card-control-039c9a4b.js +0 -272
  221. package/dist/cjs/post-closebutton_15.cjs.entry.js +0 -33
  222. package/dist/cjs/post-footer-5f7fdf96.js +0 -84
  223. package/dist/cjs/post-footer.cjs.entry.js +0 -11
  224. package/dist/cjs/post-menu-item-bb0b0b9e.js +0 -74
  225. package/dist/cjs/post-popover-d0ce9dc6.js +0 -104
  226. package/dist/cjs/post-rating-1082197c.js +0 -88
  227. package/dist/cjs/post-tab-header-4b6d8d54.js +0 -32
  228. package/dist/cjs/post-tag-ddaaaedc.js +0 -47
  229. package/dist/cjs/slide-5d51abe8.js +0 -28
  230. package/dist/collection/animations/slide.js +0 -23
  231. package/dist/collection/components/post-avatar/post-avatar.css +0 -3
  232. package/dist/collection/components/post-avatar/post-avatar.js +0 -237
  233. package/dist/collection/components/post-back-to-top/post-back-to-top.css +0 -1
  234. package/dist/collection/components/post-back-to-top/post-back-to-top.js +0 -107
  235. package/dist/collection/components/post-banner/banner-types.js +0 -1
  236. package/dist/collection/components/post-banner/post-banner.css +0 -3
  237. package/dist/collection/components/post-breadcrumb/post-breadcrumb.css +0 -3
  238. package/dist/collection/components/post-breadcrumb/post-breadcrumb.js +0 -161
  239. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +0 -1
  240. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +0 -93
  241. package/dist/collection/components/post-closebutton/post-closebutton.js +0 -12
  242. package/dist/collection/components/post-footer/post-footer.css +0 -1
  243. package/dist/collection/components/post-footer/post-footer.js +0 -75
  244. package/dist/collection/components/post-header/post-header.css +0 -1
  245. package/dist/collection/components/post-header/post-header.js +0 -160
  246. package/dist/collection/components/post-language-option/post-language-option.css +0 -3
  247. package/dist/collection/components/post-language-option/post-language-option.js +0 -215
  248. package/dist/collection/components/post-language-switch/post-language-switch.css +0 -1
  249. package/dist/collection/components/post-language-switch/post-language-switch.js +0 -163
  250. package/dist/collection/components/post-language-switch/switch-variants.js +0 -1
  251. package/dist/collection/components/post-list/post-list.css +0 -3
  252. package/dist/collection/components/post-list/post-list.js +0 -87
  253. package/dist/collection/components/post-list-item/post-list-item.css +0 -1
  254. package/dist/collection/components/post-list-item/post-list-item.js +0 -25
  255. package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +0 -1
  256. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +0 -52
  257. package/dist/collection/components/post-megadropdown/post-megadropdown.css +0 -1
  258. package/dist/collection/components/post-megadropdown/post-megadropdown.js +0 -151
  259. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +0 -1
  260. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +0 -104
  261. package/dist/collection/components/post-menu/post-menu.css +0 -3
  262. package/dist/collection/components/post-menu/post-menu.js +0 -280
  263. package/dist/collection/components/post-menu-item/post-menu-item.css +0 -1
  264. package/dist/collection/components/post-menu-item/post-menu-item.js +0 -20
  265. package/dist/collection/components/post-menu-trigger/post-menu-trigger.css +0 -1
  266. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +0 -114
  267. package/dist/collection/components/post-togglebutton/post-togglebutton.css +0 -1
  268. package/dist/collection/components/post-togglebutton/post-togglebutton.js +0 -74
  269. package/dist/collection/utils/breakpoints.js +0 -46
  270. package/dist/collection/utils/is-focusable.js +0 -26
  271. package/dist/components/attribute-observer.js +0 -25
  272. package/dist/components/debounce.js +0 -10
  273. package/dist/components/get-root.js +0 -9
  274. package/dist/components/post-avatar.d.ts +0 -11
  275. package/dist/components/post-avatar.js +0 -6
  276. package/dist/components/post-avatar2.js +0 -173
  277. package/dist/components/post-back-to-top.d.ts +0 -11
  278. package/dist/components/post-back-to-top.js +0 -6
  279. package/dist/components/post-back-to-top2.js +0 -100
  280. package/dist/components/post-banner.d.ts +0 -11
  281. package/dist/components/post-banner.js +0 -6
  282. package/dist/components/post-banner2.js +0 -125
  283. package/dist/components/post-breadcrumb-item.js +0 -6
  284. package/dist/components/post-breadcrumb-item2.js +0 -82
  285. package/dist/components/post-breadcrumb.d.ts +0 -11
  286. package/dist/components/post-breadcrumb.js +0 -6
  287. package/dist/components/post-breadcrumb2.js +0 -168
  288. package/dist/components/post-closebutton.d.ts +0 -11
  289. package/dist/components/post-closebutton.js +0 -6
  290. package/dist/components/post-closebutton2.js +0 -34
  291. package/dist/components/post-footer.d.ts +0 -11
  292. package/dist/components/post-footer.js +0 -6
  293. package/dist/components/post-footer2.js +0 -124
  294. package/dist/components/post-header.d.ts +0 -11
  295. package/dist/components/post-header.js +0 -6
  296. package/dist/components/post-header2.js +0 -276
  297. package/dist/components/post-language-option.d.ts +0 -11
  298. package/dist/components/post-language-option.js +0 -6
  299. package/dist/components/post-language-option2.js +0 -94
  300. package/dist/components/post-language-switch.d.ts +0 -11
  301. package/dist/components/post-language-switch.js +0 -6
  302. package/dist/components/post-language-switch2.js +0 -146
  303. package/dist/components/post-list-item.d.ts +0 -11
  304. package/dist/components/post-list-item.js +0 -6
  305. package/dist/components/post-list-item2.js +0 -35
  306. package/dist/components/post-list.js +0 -6
  307. package/dist/components/post-list2.js +0 -53
  308. package/dist/components/post-mainnavigation.d.ts +0 -11
  309. package/dist/components/post-mainnavigation.js +0 -6
  310. package/dist/components/post-mainnavigation2.js +0 -48
  311. package/dist/components/post-megadropdown-trigger.d.ts +0 -11
  312. package/dist/components/post-megadropdown-trigger.js +0 -6
  313. package/dist/components/post-megadropdown-trigger2.js +0 -91
  314. package/dist/components/post-megadropdown.d.ts +0 -11
  315. package/dist/components/post-megadropdown.js +0 -6
  316. package/dist/components/post-megadropdown2.js +0 -93
  317. package/dist/components/post-menu-item.d.ts +0 -11
  318. package/dist/components/post-menu-item.js +0 -6
  319. package/dist/components/post-menu-item2.js +0 -33
  320. package/dist/components/post-menu-trigger.d.ts +0 -11
  321. package/dist/components/post-menu-trigger.js +0 -6
  322. package/dist/components/post-menu-trigger2.js +0 -102
  323. package/dist/components/post-menu.d.ts +0 -11
  324. package/dist/components/post-menu.js +0 -6
  325. package/dist/components/post-menu2.js +0 -203
  326. package/dist/components/post-togglebutton.d.ts +0 -11
  327. package/dist/components/post-togglebutton.js +0 -6
  328. package/dist/components/post-togglebutton2.js +0 -61
  329. package/dist/components/slide.js +0 -25
  330. package/dist/esm/attribute-observer-37fa950a.js +0 -25
  331. package/dist/esm/check-url-a974431e.js +0 -12
  332. package/dist/esm/debounce-abe98cc2.js +0 -10
  333. package/dist/esm/get-root-7af2e0d1.js +0 -9
  334. package/dist/esm/package-4d81f3c2.js +0 -3
  335. package/dist/esm/post-accordion-item-e10452dc.js +0 -61
  336. package/dist/esm/post-avatar-5572fa73.js +0 -146
  337. package/dist/esm/post-avatar.entry.js +0 -5
  338. package/dist/esm/post-back-to-top-1d823c43.js +0 -73
  339. package/dist/esm/post-back-to-top.entry.js +0 -7
  340. package/dist/esm/post-banner-78480475.js +0 -88
  341. package/dist/esm/post-banner.entry.js +0 -10
  342. package/dist/esm/post-breadcrumb-aaa77f74.js +0 -109
  343. package/dist/esm/post-breadcrumb-item_2.entry.js +0 -8
  344. package/dist/esm/post-breadcrumb.entry.js +0 -5
  345. package/dist/esm/post-card-control-862aa961.js +0 -270
  346. package/dist/esm/post-closebutton_15.entry.js +0 -11
  347. package/dist/esm/post-footer-b18875e7.js +0 -82
  348. package/dist/esm/post-footer.entry.js +0 -3
  349. package/dist/esm/post-menu-item-2906384b.js +0 -71
  350. package/dist/esm/post-popover-2432bb3f.js +0 -102
  351. package/dist/esm/post-rating-95cbdbb8.js +0 -86
  352. package/dist/esm/post-tab-header-dfea00ea.js +0 -30
  353. package/dist/esm/post-tag-a77e7af6.js +0 -45
  354. package/dist/esm/slide-3422b8a3.js +0 -25
  355. package/dist/post-components/p-0711f76d.entry.js +0 -1
  356. package/dist/post-components/p-095a06f6.entry.js +0 -1
  357. package/dist/post-components/p-0b5a5f32.js +0 -1
  358. package/dist/post-components/p-135fa60f.js +0 -1
  359. package/dist/post-components/p-18e38d8a.js +0 -1
  360. package/dist/post-components/p-2e1ec074.entry.js +0 -1
  361. package/dist/post-components/p-4202b433.entry.js +0 -1
  362. package/dist/post-components/p-45773f59.js +0 -1
  363. package/dist/post-components/p-4953de7e.js +0 -1
  364. package/dist/post-components/p-4f67c5f5.entry.js +0 -1
  365. package/dist/post-components/p-4f9746f6.js +0 -15
  366. package/dist/post-components/p-5075c672.entry.js +0 -1
  367. package/dist/post-components/p-515e0f96.js +0 -1
  368. package/dist/post-components/p-5467b223.js +0 -1
  369. package/dist/post-components/p-67036798.entry.js +0 -1
  370. package/dist/post-components/p-6adeaa6c.js +0 -1
  371. package/dist/post-components/p-6d953fb2.js +0 -1
  372. package/dist/post-components/p-6edb0ac5.js +0 -1
  373. package/dist/post-components/p-6f8f39ca.js +0 -1
  374. package/dist/post-components/p-7503a623.js +0 -1
  375. package/dist/post-components/p-761b24c7.entry.js +0 -1
  376. package/dist/post-components/p-77c4c1d2.js +0 -1
  377. package/dist/post-components/p-7cf0c2ad.js +0 -1
  378. package/dist/post-components/p-856c14d6.entry.js +0 -1
  379. package/dist/post-components/p-866bf50a.entry.js +0 -1
  380. package/dist/post-components/p-8d621781.js +0 -1
  381. package/dist/post-components/p-8fe2d72c.entry.js +0 -1
  382. package/dist/post-components/p-9ad5088f.entry.js +0 -1
  383. package/dist/post-components/p-a1d2b90e.js +0 -1
  384. package/dist/post-components/p-a521419d.entry.js +0 -1
  385. package/dist/post-components/p-aa538648.js +0 -1
  386. package/dist/post-components/p-afdbee2f.js +0 -1
  387. package/dist/post-components/p-b02817f2.entry.js +0 -1
  388. package/dist/post-components/p-b157dcba.entry.js +0 -1
  389. package/dist/post-components/p-b22656b1.js +0 -1
  390. package/dist/post-components/p-bdbd11cb.js +0 -1
  391. package/dist/post-components/p-c537e196.entry.js +0 -1
  392. package/dist/post-components/p-d4f93f2b.js +0 -1
  393. package/dist/post-components/p-dca4246a.entry.js +0 -1
  394. package/dist/post-components/p-f319b026.js +0 -1
  395. package/dist/post-components/p-f4b7b379.js +0 -1
  396. package/dist/post-components/p-fac66087.entry.js +0 -1
  397. package/dist/post-components/p-fc91cbc2.js +0 -1
  398. package/dist/types/animations/slide.d.ts +0 -2
  399. package/dist/types/components/post-avatar/post-avatar.d.ts +0 -51
  400. package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +0 -19
  401. package/dist/types/components/post-banner/banner-types.d.ts +0 -2
  402. package/dist/types/components/post-banner/post-banner.d.ts +0 -49
  403. package/dist/types/components/post-breadcrumb/post-breadcrumb.d.ts +0 -30
  404. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +0 -16
  405. package/dist/types/components/post-closebutton/post-closebutton.d.ts +0 -7
  406. package/dist/types/components/post-footer/post-footer.d.ts +0 -23
  407. package/dist/types/components/post-header/post-header.d.ts +0 -24
  408. package/dist/types/components/post-language-option/post-language-option.d.ts +0 -45
  409. package/dist/types/components/post-language-switch/post-language-switch.d.ts +0 -31
  410. package/dist/types/components/post-language-switch/switch-variants.d.ts +0 -2
  411. package/dist/types/components/post-list/post-list.d.ts +0 -24
  412. package/dist/types/components/post-list-item/post-list-item.d.ts +0 -8
  413. package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -19
  414. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +0 -35
  415. package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +0 -25
  416. package/dist/types/components/post-menu/post-menu.d.ts +0 -48
  417. package/dist/types/components/post-menu-item/post-menu-item.d.ts +0 -4
  418. package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +0 -27
  419. package/dist/types/components/post-togglebutton/post-togglebutton.d.ts +0 -15
  420. package/dist/types/utils/breakpoints.d.ts +0 -11
  421. package/dist/types/utils/is-focusable.d.ts +0 -1
  422. package/loaders/attribute-observer.js +0 -25
  423. package/loaders/debounce.js +0 -10
  424. package/loaders/get-root.js +0 -9
  425. package/loaders/post-accordion-item2.js +0 -102
  426. package/loaders/post-avatar.js +0 -176
  427. package/loaders/post-back-to-top.d.ts +0 -11
  428. package/loaders/post-back-to-top.js +0 -103
  429. package/loaders/post-banner.d.ts +0 -11
  430. package/loaders/post-banner.js +0 -128
  431. package/loaders/post-breadcrumb-item.d.ts +0 -11
  432. package/loaders/post-breadcrumb-item.js +0 -6
  433. package/loaders/post-breadcrumb-item2.js +0 -82
  434. package/loaders/post-breadcrumb.d.ts +0 -11
  435. package/loaders/post-breadcrumb.js +0 -171
  436. package/loaders/post-closebutton.d.ts +0 -11
  437. package/loaders/post-closebutton.js +0 -37
  438. package/loaders/post-footer.d.ts +0 -11
  439. package/loaders/post-footer.js +0 -127
  440. package/loaders/post-header.d.ts +0 -11
  441. package/loaders/post-header.js +0 -279
  442. package/loaders/post-language-option.d.ts +0 -11
  443. package/loaders/post-language-option.js +0 -97
  444. package/loaders/post-language-switch.d.ts +0 -11
  445. package/loaders/post-language-switch.js +0 -149
  446. package/loaders/post-list-item.d.ts +0 -11
  447. package/loaders/post-list-item.js +0 -38
  448. package/loaders/post-list.js +0 -56
  449. package/loaders/post-mainnavigation.d.ts +0 -11
  450. package/loaders/post-mainnavigation.js +0 -51
  451. package/loaders/post-megadropdown-trigger.d.ts +0 -11
  452. package/loaders/post-megadropdown-trigger.js +0 -94
  453. package/loaders/post-megadropdown.d.ts +0 -11
  454. package/loaders/post-megadropdown.js +0 -96
  455. package/loaders/post-menu-item.d.ts +0 -11
  456. package/loaders/post-menu-item.js +0 -6
  457. package/loaders/post-menu-item2.js +0 -33
  458. package/loaders/post-menu-trigger.d.ts +0 -11
  459. package/loaders/post-menu-trigger.js +0 -6
  460. package/loaders/post-menu-trigger2.js +0 -102
  461. package/loaders/post-menu.d.ts +0 -11
  462. package/loaders/post-menu.js +0 -6
  463. package/loaders/post-menu2.js +0 -203
  464. package/loaders/post-togglebutton.d.ts +0 -11
  465. package/loaders/post-togglebutton.js +0 -64
  466. package/loaders/slide.js +0 -25
@@ -1,49 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- import { BannerType } from './banner-types';
3
- /**
4
- * @slot heading - Slot for placing custom content within the banner's heading.
5
- * @slot actions - Slot for placing custom actions (buttons, links, etc.) within the banner.
6
- * @slot default - Slot for placing the main content/message of the banner.
7
- */
8
- export declare class PostBanner {
9
- host: HTMLPostBannerElement;
10
- bannerId: `${string}-${string}-${string}-${string}-${string}`;
11
- classes: string;
12
- hasActions: boolean;
13
- hasHeading: boolean;
14
- onDismissButtonClick: () => Promise<void>;
15
- /**
16
- * If `true`, a close button (×) is displayed and the banner can be dismissed by the user.
17
- */
18
- readonly dismissible: boolean;
19
- validateDismissible(isDismissible?: boolean): void;
20
- /**
21
- * The label to use for the close button of a dismissible banner.
22
- */
23
- readonly dismissLabel: string;
24
- validateDismissLabel(dismissLabel?: string): void;
25
- /**
26
- * The icon to display in the banner. By default, the icon depends on the banner type.
27
- *
28
- * If `none`, no icon is displayed.
29
- */
30
- readonly icon: string;
31
- validateIcon(icon?: string): void;
32
- /**
33
- * The type of the banner.
34
- */
35
- readonly type: BannerType;
36
- validateType(type?: "neutral" | "success" | "warning" | "danger" | "info"): void;
37
- /**
38
- * An event emitted when the banner element is dismissed, after the transition.
39
- * It has no payload and only relevant for dismissible banners.
40
- */
41
- postDismissed: EventEmitter<void>;
42
- componentDidLoad(): void;
43
- componentWillRender(): void;
44
- /**
45
- * Triggers banner dismissal programmatically (same as clicking on the close button (×)).
46
- */
47
- dismiss(): Promise<void>;
48
- render(): any;
49
- }
@@ -1,30 +0,0 @@
1
- export declare class PostBreadcrumb {
2
- host: HTMLPostBreadcrumbElement;
3
- /**
4
- * The URL for the home breadcrumb item.
5
- */
6
- homeUrl: string;
7
- /**
8
- * The text label for the home breadcrumb item.
9
- */
10
- homeText: string;
11
- breadcrumbItems: {
12
- url: string;
13
- text: string;
14
- }[];
15
- isConcatenated: boolean;
16
- lastWindowWidth: number;
17
- private breadcrumbNavRef?;
18
- private lastItem;
19
- validateUrl(): void;
20
- componentWillLoad(): void;
21
- componentDidLoad(): void;
22
- disconnectedCallback(): void;
23
- private waitForBreadcrumbRef;
24
- private updateBreadcrumbItems;
25
- private handleResize;
26
- private getParentWidth;
27
- private checkConcatenation;
28
- private handleBreadcrumbItemClick;
29
- render(): any;
30
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * @slot default - Slot for placing the text inside the breadcrumb item.
3
- */
4
- export declare class PostBreadcrumbItem {
5
- host: HTMLPostBreadcrumbItemElement;
6
- /**
7
- * The optional URL to which the breadcrumb item will link.
8
- */
9
- url?: string | URL;
10
- private validUrl?;
11
- validateUrl(): void;
12
- private constructUrl;
13
- connectedCallback(): void;
14
- private handleKeyDown;
15
- render(): any;
16
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * @slot default - Slot for placing visually hidden label in the close button.
3
- */
4
- export declare class PostClosebutton {
5
- host: HTMLPostClosebuttonElement;
6
- render(): any;
7
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @slot grid-{1|2|3|4}-title - Slot for the accordion headers (mobile).
3
- * @slot grid-{1|2|3|4} - Slot for the accordion bodies (mobile) and the grid cells (tablet, desktop).
4
- * @slot socialmedia - Slot for the social media links.
5
- * @slot app - Slot for the app links.
6
- * @slot businesssectors - Slot for the business sectors links.
7
- * @slot meta - Slot for the meta links.
8
- * @slot copyright - Slot for the copyright text.
9
- */
10
- export declare class PostFooter {
11
- host: HTMLPostFooterElement;
12
- /**
13
- * The label to add to the footer (visually hidden).
14
- */
15
- readonly label: string;
16
- isMobile: boolean;
17
- connectedCallback(): void;
18
- private breakpointChange;
19
- private renderAccordion;
20
- private renderGrid;
21
- render(): any;
22
- disconnectedCallback(): void;
23
- }
@@ -1,24 +0,0 @@
1
- type DEVICE_SIZE = 'mobile' | 'tablet' | 'desktop' | null;
2
- export declare class PostHeader {
3
- private scrollParent;
4
- private mobileMenu;
5
- private mobileMenuAnimation;
6
- private throttledScroll;
7
- private throttledResize;
8
- componentWillRender(): void;
9
- host: HTMLPostHeaderElement;
10
- device: DEVICE_SIZE;
11
- mobileMenuExtended: boolean;
12
- frozeBody(isMobileMenuExtended: boolean): void;
13
- /**
14
- * Toggles the mobile navigation.
15
- */
16
- toggleMobileMenu(): Promise<void>;
17
- private handleScrollEvent;
18
- private getScrollParent;
19
- private isScrollable;
20
- private handleResize;
21
- private switchLanguageSwitchMode;
22
- render(): any;
23
- }
24
- export {};
@@ -1,45 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- import { SwitchVariant } from '../post-language-switch/switch-variants';
3
- /**
4
- * @slot default - Slot for placing the content inside the anchor or button.
5
- */
6
- export declare class PostLanguageOption {
7
- host: HTMLPostLanguageOptionElement;
8
- /**
9
- * 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".
10
- */
11
- code: string;
12
- validateCode(value?: string): void;
13
- /**
14
- * If set to `true`, the language option is considered the current language for the page.
15
- */
16
- active: boolean;
17
- validateActiveProp(value?: boolean): void;
18
- /**
19
- * The variant of the post-language-switch parent (dynamically set by the parent)
20
- */
21
- variant?: SwitchVariant | null;
22
- /**
23
- * The full name of the language. For example, "Deutsch".
24
- */
25
- name: string;
26
- validateName(value?: string): void;
27
- /**
28
- * The URL used for the href attribute of the internal anchor.
29
- * This field is optional; if not provided, a button will be used internally instead of an anchor.
30
- */
31
- url: string;
32
- validateUrl(value?: string): void;
33
- componentDidLoad(): void;
34
- /**
35
- * An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.
36
- */
37
- postChange: EventEmitter<string>;
38
- /**
39
- * Selects the language option programmatically.
40
- */
41
- select(): Promise<void>;
42
- private emitChange;
43
- private isNameRequired;
44
- render(): any;
45
- }
@@ -1,31 +0,0 @@
1
- import { SwitchVariant } from './switch-variants';
2
- export declare class PostLanguageSwitch {
3
- host: HTMLPostLanguageSwitchElement;
4
- /**
5
- * A title for the list of language options
6
- */
7
- caption: string;
8
- validateCaption(value?: string): void;
9
- /**
10
- * A descriptive text for the list of language options
11
- */
12
- description: string;
13
- validateDescription(value?: string): void;
14
- /**
15
- * Variant that determines the rendering of the language switch either as a list (used on mobile in the header) or a dropdown (used on desktop in the header)
16
- */
17
- variant: SwitchVariant;
18
- validateVariant(value?: "list" | "dropdown"): void;
19
- /**
20
- * The active language of the language switch
21
- */
22
- activeLang: string;
23
- connectedCallback(): void;
24
- private updateChildrenVariant;
25
- componentShouldUpdate(): void;
26
- componentDidLoad(): void;
27
- private menuId;
28
- private renderList;
29
- private renderDropdown;
30
- render(): any;
31
- }
@@ -1,2 +0,0 @@
1
- export declare const SWITCH_VARIANTS: readonly ["list", "dropdown"];
2
- export type SwitchVariant = (typeof SWITCH_VARIANTS)[number];
@@ -1,24 +0,0 @@
1
- /**
2
- * @slot default - Slot for placing the list title.
3
- * @slot post-list-item - Slot for placing post-list-item components.
4
- */
5
- export declare class PostList {
6
- host: HTMLPostListElement;
7
- /**
8
- * The unique title of the list that is also referenced in the labelledby
9
- */
10
- titleId: string;
11
- /**
12
- * If `true`, the list title will be hidden. Otherwise, it will be displayed.`
13
- */
14
- readonly titleHidden: boolean;
15
- /**
16
- * The list can become horizontal by setting `horizontal="true"` or just `horizontal`
17
- */
18
- readonly horizontal: boolean;
19
- private titleEl;
20
- componentWillLoad(): void;
21
- componentDidLoad(): void;
22
- private checkTitle;
23
- render(): any;
24
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * @slot default- Slot for placing the content of the list item.
3
- */
4
- export declare class PostListItem {
5
- host: HTMLPostListItemElement;
6
- connectedCallback(): void;
7
- render(): any;
8
- }
@@ -1,19 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- export declare class PostMainnavigation {
3
- private header;
4
- host: HTMLPostMainnavigationElement;
5
- /**
6
- * Gets emitted when a user closes the main navigation on mobile
7
- */
8
- postToggle: EventEmitter;
9
- /**
10
- * Retrieves a reference to the closest 'post-header' element when the main navigation is added to the DOM.
11
- */
12
- connectedCallback(): void;
13
- /**
14
- * Cleans up references and disconnects the MutationObserver when the main navigation is removed from the DOM.
15
- */
16
- disconnectedCallback(): void;
17
- private handleBackButtonClick;
18
- render(): any;
19
- }
@@ -1,35 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- export declare class PostMegadropdown {
3
- private popoverRef;
4
- host: HTMLPostMegadropdownElement;
5
- /**
6
- * Holds the current visibility state of the dropdown.
7
- * This state is internally managed to track whether the dropdown is open (`true`) or closed (`false`),
8
- * and updates automatically when the dropdown is toggled.
9
- */
10
- isVisible: boolean;
11
- animationClass: string | null;
12
- /**
13
- * Emits when the dropdown is shown or hidden.
14
- * The event payload is a boolean: `true` when the dropdown was opened, `false` when it was closed.
15
- **/
16
- postToggleMegadropdown: EventEmitter<boolean>;
17
- componentDidLoad(): void;
18
- /**
19
- * Toggles the dropdown visibility based on its current state.
20
- */
21
- toggle(target: HTMLElement): Promise<void>;
22
- /**
23
- * Displays the popover dropdown
24
- *
25
- * @param target - The HTML element relative to which the popover dropdown should be displayed.
26
- */
27
- show(target: HTMLElement): Promise<void>;
28
- /**
29
- * Hides the popover dropdown
30
- */
31
- private hide;
32
- private handleBackButtonClick;
33
- private handleCloseButtonClick;
34
- render(): any;
35
- }
@@ -1,25 +0,0 @@
1
- export declare class PostMegadropdownTrigger {
2
- /**
3
- * ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
4
- */
5
- for: string;
6
- host: HTMLPostMegadropdownTriggerElement;
7
- /**
8
- * Manages the accessibility attribute `aria-expanded` to indicate whether the associated mega dropdown is expanded or collapsed.
9
- */
10
- ariaExpanded: boolean;
11
- /**
12
- * Reference to the slotted button within the trigger, if present.
13
- * Used to manage click and key events for mega dropdown control.
14
- */
15
- private slottedButton;
16
- /**
17
- * Watch for changes to the `for` property to validate its type and ensure it is a string.
18
- * @param forValue - The new value of the `for` property.
19
- */
20
- validateControlFor(forValue?: string): void;
21
- private get megadropdown();
22
- private handleToggle;
23
- componentDidLoad(): void;
24
- render(): any;
25
- }
@@ -1,48 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- import { Placement } from '@floating-ui/dom';
3
- export declare class PostMenu {
4
- private popoverRef;
5
- private lastFocusedElement;
6
- private readonly KEYCODES;
7
- host: HTMLPostMenuElement;
8
- /**
9
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
10
- * Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
11
- * towards the viewport if they would overlap edge boundaries.
12
- */
13
- readonly placement?: Placement;
14
- /**
15
- * Holds the current visibility state of the menu.
16
- * This state is internally managed to track whether the menu is open (`true`) or closed (`false`),
17
- * and updates automatically when the menu is toggled.
18
- */
19
- isVisible: boolean;
20
- /**
21
- * Emits when the menu is shown or hidden.
22
- * The event payload is a boolean: `true` when the menu was opened, `false` when it was closed.
23
- **/
24
- toggleMenu: EventEmitter<boolean>;
25
- private root?;
26
- connectedCallback(): void;
27
- disconnectedCallback(): void;
28
- componentDidLoad(): void;
29
- /**
30
- * Toggles the menu visibility based on its current state.
31
- */
32
- toggle(target: HTMLElement): Promise<void>;
33
- /**
34
- * Displays the popover menu, focusing the first menu item.
35
- *
36
- * @param target - The HTML element relative to which the popover menu should be displayed.
37
- */
38
- show(target: HTMLElement): Promise<void>;
39
- /**
40
- * Hides the popover menu and restores focus to the previously focused element.
41
- */
42
- hide(): Promise<void>;
43
- private handleKeyDown;
44
- private handleClick;
45
- private controlKeyDownHandler;
46
- private getSlottedItems;
47
- render(): any;
48
- }
@@ -1,4 +0,0 @@
1
- export declare class PostMenuItem {
2
- host: HTMLPostMenuItemElement;
3
- render(): any;
4
- }
@@ -1,27 +0,0 @@
1
- export declare class PostMenuTrigger {
2
- /**
3
- * ID of the menu element that this trigger is linked to. Used to open and close the specified menu.
4
- */
5
- for: string;
6
- host: HTMLPostMenuTriggerElement;
7
- /**
8
- * Manages the accessibility attribute `aria-expanded` to indicate whether the associated menu is expanded or collapsed.
9
- */
10
- ariaExpanded: boolean;
11
- /**
12
- * Reference to the slotted button within the trigger, if present.
13
- * Used to manage click and key events for menu control.
14
- */
15
- private slottedButton;
16
- private root?;
17
- /**
18
- * Watch for changes to the `for` property to validate its type and ensure it is a string.
19
- * @param forValue - The new value of the `for` property.
20
- */
21
- validateControlFor(forValue?: string): void;
22
- private get menu();
23
- private handleToggle;
24
- private handleKeyDown;
25
- componentDidLoad(): void;
26
- render(): any;
27
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * @slot default - Slot for the content of the button.
3
- */
4
- export declare class PostTogglebutton {
5
- host: HTMLPostTogglebuttonElement;
6
- /**
7
- * If `true`, the button is in the "on" state, otherwise it is in the "off" state.
8
- */
9
- toggled: boolean;
10
- validateToggled(value?: boolean): void;
11
- componentWillLoad(): void;
12
- private handleClick;
13
- private handleKeydown;
14
- render(): any;
15
- }
@@ -1,11 +0,0 @@
1
- type ListenerType = 'key' | 'name';
2
- export declare class Breakpoint {
3
- private readonly breakpointMap;
4
- private readonly current;
5
- constructor();
6
- private updateHandler;
7
- private dispatchEvent;
8
- get(type: ListenerType): string;
9
- }
10
- export declare const breakpoint: Breakpoint;
11
- export {};
@@ -1 +0,0 @@
1
- export declare const isFocusable: (element: Element) => boolean;
@@ -1,25 +0,0 @@
1
- const getAttributeObserver = (attribute, handler) => {
2
- /**
3
- * Handle attribute changes and childList changes from the observer
4
- * @param {MutationRecord[]} mutationList
5
- */
6
- const observerHandler = (mutationList) => {
7
- mutationList.forEach(mutation => {
8
- if (mutation.type === 'attributes' && mutation.attributeName === attribute) {
9
- handler(mutation.target);
10
- }
11
- if (mutation.type === 'childList') {
12
- mutation.addedNodes.forEach(node => {
13
- if (node.nodeType === Node.ELEMENT_NODE &&
14
- node.hasAttribute(attribute)) {
15
- handler(node);
16
- }
17
- });
18
- }
19
- });
20
- };
21
- // Initialize a mutation observer for patching accessibility features
22
- return new MutationObserver(observerHandler);
23
- };
24
-
25
- export { getAttributeObserver as g };
@@ -1,10 +0,0 @@
1
- function debounce(callback, timeout = 200) {
2
- let id;
3
- return (...args) => {
4
- if (id)
5
- clearTimeout(id);
6
- id = setTimeout(callback, timeout, ...args);
7
- };
8
- }
9
-
10
- export { debounce as d };
@@ -1,9 +0,0 @@
1
- function getRoot(element) {
2
- const root = element.getRootNode();
3
- if (root instanceof Document || root instanceof ShadowRoot) {
4
- return root;
5
- }
6
- throw new Error('Attempting to access root node before the element is attached to the document or shadow tree.');
7
- }
8
-
9
- export { getRoot as g };
@@ -1,102 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { v as version } from './package.js';
3
- import { H as HEADING_LEVELS } from './heading-levels.js';
4
- import { b as checkEmptyOrOneOf } from './index2.js';
5
- import { d as defineCustomElement$3 } from './post-collapsible2.js';
6
- import { d as defineCustomElement$2 } from './post-collapsible-trigger2.js';
7
- import { d as defineCustomElement$1 } from './post-icon2.js';
8
-
9
- const postAccordionItemCss = ":host::after{display:block;content:\"\";margin-top:calc(var(--post-device-border-width-default)*-1);border-bottom:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}:host:has(.accordion-button:hover)::after{border-color:var(--post-scheme-color-interactive-primary-hover-stroke)}.accordion-header{color:var(--post-scheme-color-interactive-primary-enabled-fg1);font-size:var(--post-device-font-size-5);margin:0;line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-black)}.accordion-button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;position:relative;width:100%;align-items:center;text-align:start;gap:var(--post-device-spacing-gap-7);padding:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default)) calc(var(--post-device-spacing-padding-5) + var(--post-device-border-width-default));transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.accordion-button::before{display:block;position:absolute;content:\"\";inset:0;bottom:auto;border-top:var(--post-accordion-button-border-top)}.accordion-button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.accordion-button slot::slotted(span[slot=header]){flex-grow:1}.accordion-button post-icon{flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.accordion-button.collapsed{padding-block-start:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default));padding-block-end:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default))}.accordion-button.collapsed post-icon{transform:rotate(-180deg)}.accordion-button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}.accordion-button>::slotted(.text-truncate){display:block}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover:not(:disabled),.accordion-button:focus-visible:not(:disabled){outline:var(--post-device-border-width-default) solid Highlight}.accordion-button:disabled{opacity:1 !important}}.accordion-body{padding-block-start:var(--post-device-spacing-padding-15);padding-block-end:calc(var(--post-device-spacing-padding-block-25) + var(--post-device-border-width-default));padding-inline:var(--post-device-spacing-padding-5)}.logo-container{display:none;width:var(--post-device-sizing-logo-1);aspect-ratio:1}.logo-container.has-image{display:block}.logo-container slot::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){margin-block-end:0 !important}";
10
- const PostAccordionItemStyle0 = postAccordionItemCss;
11
-
12
- const PostAccordionItem = /*@__PURE__*/ proxyCustomElement(class PostAccordionItem extends HTMLElement {
13
- constructor() {
14
- super();
15
- this.__registerHost();
16
- this.__attachShadow();
17
- this.id = undefined;
18
- this.slottedLogo = undefined;
19
- this.collapsed = false;
20
- this.headingLevel = undefined;
21
- }
22
- validateHeadingLevel(newValue = this.headingLevel) {
23
- checkEmptyOrOneOf(newValue, HEADING_LEVELS, 'The `heading-level` property of the `post-accordion-item` must be a number between 1 and 6.');
24
- }
25
- componentWillLoad() {
26
- this.id = this.host.id || `a${crypto.randomUUID()}`;
27
- }
28
- componentDidLoad() {
29
- this.validateHeadingLevel();
30
- }
31
- // capture to make sure the "collapsed" property is updated before the event is consumed
32
- onCollapseToggle(event) {
33
- if (event.target === this.host &&
34
- event.target.localName === 'post-accordion-item') {
35
- this.collapsed = !event.detail;
36
- }
37
- }
38
- /**
39
- * Triggers the collapse programmatically.
40
- */
41
- async toggle(force) {
42
- return this.collapsible.toggle(force);
43
- }
44
- onSlotLogoChange() {
45
- this.slottedLogo = this.host.querySelector('img[slot="logo"]');
46
- }
47
- componentWillRender() {
48
- this.slottedLogo = this.host.querySelector('img[slot="logo"]');
49
- }
50
- render() {
51
- var _a, _b;
52
- const headingLevel = (_a = this.host.closest('post-accorddion')) === null || _a === void 0 ? void 0 : _a.getAttribute('heading-level');
53
- const HeadingTag = `h${(_b = headingLevel !== null && headingLevel !== void 0 ? headingLevel : this.headingLevel) !== null && _b !== void 0 ? _b : 2}`;
54
- return (h(Host, { key: 'e11a8ce9df85f6813f152433d0b5526668415953', id: this.id, "data-version": version }, h("div", { key: 'd62b7f758fca1ffbcef7c6f29b3a0ce48ded9749', part: "accordion-item", class: "accordion-item" }, h("post-collapsible-trigger", { key: '492458d3cda61325d931a83be1f1be1f98f63301', for: `${this.id}--collapse` }, h(HeadingTag, { key: '1a4bc90415504cd00a65922ff5e61221c8368eea', class: "accordion-header", id: `${this.id}--header` }, h("button", { key: 'c14154955c74a4482cc197aca95297ae29ef066f', type: "button", class: `accordion-button${this.collapsed ? ' collapsed' : ''}`, part: "button" }, h("span", { key: '112810b9df4a73bc02a46a98ba2d0ce069168c7c', class: {
55
- 'logo-container': true,
56
- 'has-image': !!this.slottedLogo,
57
- } }, h("slot", { key: '67e72b84363597fc0e239baccb533b9083251a6b', name: "logo", onSlotchange: this.onSlotLogoChange.bind(this) })), h("slot", { key: '3e9a2b38f621990cabfa84431ca8a7fd39087c88', name: "header" }), h("post-icon", { key: 'e8337b48394b9357b62e517c3b066dfa1bb5f5d7', name: "2051" })))), h("post-collapsible", { key: 'ca23a5a9a8b1615dc4352223a3135514ea5f279a', id: `${this.id}--collapse`, collapsed: this.collapsed, ref: el => (this.collapsible = el) }, h("div", { key: '668805a03a3ee2facee60ecba0fa549edf0cecba', class: "accordion-body", part: "body" }, h("slot", { key: '3ddf282a59dad61dcd093c11a23f33635c9162d1' }))))));
58
- }
59
- get host() { return this; }
60
- static get watchers() { return {
61
- "headingLevel": ["validateHeadingLevel"]
62
- }; }
63
- static get style() { return PostAccordionItemStyle0; }
64
- }, [1, "post-accordion-item", {
65
- "collapsed": [1028],
66
- "headingLevel": [2, "heading-level"],
67
- "id": [32],
68
- "slottedLogo": [32],
69
- "toggle": [64]
70
- }, [[2, "postToggle", "onCollapseToggle"]], {
71
- "headingLevel": ["validateHeadingLevel"]
72
- }]);
73
- function defineCustomElement() {
74
- if (typeof customElements === "undefined") {
75
- return;
76
- }
77
- const components = ["post-accordion-item", "post-collapsible", "post-collapsible-trigger", "post-icon"];
78
- components.forEach(tagName => { switch (tagName) {
79
- case "post-accordion-item":
80
- if (!customElements.get(tagName)) {
81
- customElements.define(tagName, PostAccordionItem);
82
- }
83
- break;
84
- case "post-collapsible":
85
- if (!customElements.get(tagName)) {
86
- defineCustomElement$3();
87
- }
88
- break;
89
- case "post-collapsible-trigger":
90
- if (!customElements.get(tagName)) {
91
- defineCustomElement$2();
92
- }
93
- break;
94
- case "post-icon":
95
- if (!customElements.get(tagName)) {
96
- defineCustomElement$1();
97
- }
98
- break;
99
- } });
100
- }
101
-
102
- export { PostAccordionItem as P, defineCustomElement as d };