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

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 (539) hide show
  1. package/dist/.config/bindings.angular.js +4 -0
  2. package/dist/cjs/{attribute-observer-10f08c04.js → attribute-observer-6d8b886b.js} +4 -4
  3. package/dist/cjs/breakpoints-c6247c71.js +54 -0
  4. package/dist/cjs/check-non-empty-bd99d236.js +15 -0
  5. package/dist/cjs/check-one-of-75d270b5.js +13 -0
  6. package/dist/cjs/check-type-cdbf6d29.js +21 -0
  7. package/dist/cjs/check-url-220a286c.js +19 -0
  8. package/dist/cjs/debounce-158fd76f.js +13 -0
  9. package/dist/cjs/fade-72d5ef55.js +14 -0
  10. package/dist/cjs/get-root-7a3498ef.js +11 -0
  11. package/dist/cjs/index-23e36ff7.js +37 -0
  12. package/dist/cjs/{index-e1f32cce.js → index-d6bf2c66.js} +30 -18
  13. package/dist/cjs/index.browser-2f65f583.js +15 -0
  14. package/dist/cjs/index.cjs.js +56 -30
  15. package/dist/cjs/loader.cjs.js +2 -2
  16. package/dist/cjs/{package-ef26e62c.js → package-c3dbd35b.js} +1 -1
  17. package/dist/cjs/{post-accordion-3878bf43.js → post-accordion-2108bc31.js} +9 -8
  18. package/dist/cjs/post-accordion-item-64051590.js +64 -0
  19. package/dist/cjs/post-accordion-item.cjs.entry.js +8 -5
  20. package/dist/cjs/post-accordion.cjs.entry.js +4 -4
  21. package/dist/cjs/{post-avatar-2bcfc016.js → post-avatar-2db58753.js} +10 -14
  22. package/dist/cjs/post-avatar.cjs.entry.js +4 -4
  23. package/dist/cjs/post-back-to-top-e64d70c8.js +76 -0
  24. package/dist/cjs/post-back-to-top.cjs.entry.js +15 -0
  25. package/dist/cjs/post-banner-caa5e06d.js +96 -0
  26. package/dist/cjs/post-banner.cjs.entry.js +19 -0
  27. package/dist/cjs/post-breadcrumb-acb6890e.js +112 -0
  28. package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +17 -0
  29. package/dist/cjs/post-breadcrumb.cjs.entry.js +13 -0
  30. package/dist/cjs/post-card-control-e2421427.js +283 -0
  31. package/dist/cjs/post-card-control.cjs.entry.js +5 -5
  32. package/dist/cjs/post-closebutton_15.cjs.entry.js +35 -0
  33. package/dist/cjs/{post-collapsible-trigger-6ae59c64.js → post-collapsible-trigger-13b87403.js} +50 -56
  34. package/dist/cjs/post-collapsible_2.cjs.entry.js +10 -6
  35. package/dist/cjs/post-components.cjs.js +2 -2
  36. package/dist/cjs/post-footer-057ce0a8.js +38 -0
  37. package/dist/cjs/post-footer.cjs.entry.js +12 -0
  38. package/dist/cjs/post-linkarea-e2b39f1a.js +30 -0
  39. package/dist/cjs/post-linkarea.cjs.entry.js +11 -0
  40. package/dist/cjs/post-menu-item-3f6c1fcb.js +68 -0
  41. package/dist/cjs/post-popover-dccede57.js +106 -0
  42. package/dist/cjs/post-popover.cjs.entry.js +4 -4
  43. package/dist/cjs/{post-rating-1d2c59b7.js → post-rating-bec67143.js} +16 -6
  44. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  45. package/dist/cjs/post-tab-header-d32947dc.js +33 -0
  46. package/dist/cjs/post-tab-header.cjs.entry.js +5 -4
  47. package/dist/cjs/{post-tab-panel-80b1f3ee.js → post-tab-panel-07d462ac.js} +6 -5
  48. package/dist/cjs/post-tab-panel.cjs.entry.js +4 -3
  49. package/dist/cjs/{post-tabs-c2d42035.js → post-tabs-e5e71053.js} +23 -16
  50. package/dist/cjs/post-tabs.cjs.entry.js +4 -4
  51. package/dist/cjs/post-tag-380a1bf0.js +47 -0
  52. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  53. package/dist/cjs/post-togglebutton-553316f3.js +3965 -0
  54. package/dist/cjs/{post-tooltip-9a120b2e.js → post-tooltip-40812a6b.js} +38 -25
  55. package/dist/cjs/post-tooltip.cjs.entry.js +8 -6
  56. package/dist/cjs/slide-cd1f09b3.js +28 -0
  57. package/dist/collection/animations/collapse.js +5 -5
  58. package/dist/collection/animations/fade.js +6 -2
  59. package/dist/collection/animations/slide.js +23 -0
  60. package/dist/collection/collection-manifest.json +20 -3
  61. package/dist/collection/components/post-accordion/post-accordion.css +1 -1
  62. package/dist/collection/components/post-accordion/post-accordion.js +5 -3
  63. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
  64. package/dist/collection/components/post-accordion-item/post-accordion-item.js +26 -9
  65. package/dist/collection/components/post-avatar/post-avatar.js +8 -11
  66. package/dist/collection/components/post-back-to-top/post-back-to-top.css +1 -0
  67. package/dist/collection/components/post-back-to-top/post-back-to-top.js +109 -0
  68. package/dist/collection/components/post-banner/banner-types.js +1 -0
  69. package/dist/collection/components/post-banner/post-banner.css +3 -0
  70. package/dist/collection/components/{post-alert/post-alert.js → post-banner/post-banner.js} +50 -72
  71. package/dist/collection/components/post-breadcrumb/post-breadcrumb.css +3 -0
  72. package/dist/collection/components/post-breadcrumb/post-breadcrumb.js +163 -0
  73. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -0
  74. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +98 -0
  75. package/dist/collection/components/post-card-control/post-card-control.css +1 -1
  76. package/dist/collection/components/post-card-control/post-card-control.js +55 -43
  77. package/dist/collection/components/post-closebutton/post-closebutton.js +13 -0
  78. package/dist/collection/components/post-collapsible/post-collapsible.css +1 -1
  79. package/dist/collection/components/post-collapsible/post-collapsible.js +15 -6
  80. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +21 -20
  81. package/dist/collection/components/post-footer/post-footer.css +1 -0
  82. package/dist/collection/components/post-footer/post-footer.js +76 -0
  83. package/dist/collection/components/post-header/post-header.css +1 -0
  84. package/dist/collection/components/post-header/post-header.js +323 -0
  85. package/dist/collection/components/post-icon/post-icon.js +79 -46
  86. package/dist/collection/components/post-language-option/post-language-option.css +1 -1
  87. package/dist/collection/components/post-language-option/post-language-option.js +65 -10
  88. package/dist/collection/components/post-language-switch/post-language-switch.css +1 -0
  89. package/dist/collection/components/post-language-switch/post-language-switch.js +192 -0
  90. package/dist/collection/components/post-language-switch/switch-variants.js +1 -0
  91. package/dist/collection/components/post-linkarea/post-linkarea.css +1 -0
  92. package/dist/collection/components/post-linkarea/post-linkarea.js +30 -0
  93. package/dist/collection/components/post-list/post-list.css +3 -0
  94. package/dist/collection/components/post-list/post-list.js +90 -0
  95. package/dist/collection/components/post-list-item/post-list-item.css +1 -0
  96. package/dist/collection/components/post-list-item/post-list-item.js +26 -0
  97. package/dist/collection/components/post-logo/post-logo.css +1 -1
  98. package/dist/collection/components/post-logo/post-logo.js +3 -2
  99. package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -0
  100. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +267 -0
  101. package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -0
  102. package/dist/collection/components/post-megadropdown/post-megadropdown.js +284 -0
  103. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -0
  104. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +127 -0
  105. package/dist/collection/components/post-menu/post-menu.css +3 -0
  106. package/dist/collection/components/post-menu/post-menu.js +297 -0
  107. package/dist/collection/components/post-menu-item/post-menu-item.js +8 -0
  108. package/dist/collection/components/post-menu-trigger/post-menu-trigger.css +1 -0
  109. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +122 -0
  110. package/dist/collection/components/post-popover/post-popover.css +1 -1
  111. package/dist/collection/components/post-popover/post-popover.js +6 -3
  112. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  113. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +203 -39
  114. package/dist/collection/components/post-rating/post-rating.css +1 -1
  115. package/dist/collection/components/post-rating/post-rating.js +13 -2
  116. package/dist/collection/components/post-tab-header/post-tab-header.css +2 -2
  117. package/dist/collection/components/post-tab-header/post-tab-header.js +6 -4
  118. package/dist/collection/components/post-tab-panel/post-tab-panel.js +4 -2
  119. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  120. package/dist/collection/components/post-tabs/post-tabs.js +17 -14
  121. package/dist/collection/components/post-tag/post-tag.css +1 -1
  122. package/dist/collection/components/post-tag/post-tag.js +3 -2
  123. package/dist/collection/components/post-togglebutton/post-togglebutton.css +1 -0
  124. package/dist/collection/components/post-togglebutton/post-togglebutton.js +75 -0
  125. package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
  126. package/dist/collection/components/post-tooltip/post-tooltip.js +35 -17
  127. package/dist/collection/index.js +19 -2
  128. package/dist/collection/utils/attribute-observer.js +4 -4
  129. package/dist/collection/utils/breakpoints.js +50 -0
  130. package/dist/collection/utils/component-on-ready.js +4 -4
  131. package/dist/collection/utils/debounce.js +2 -1
  132. package/dist/collection/utils/get-focusable-children.js +33 -0
  133. package/dist/collection/utils/property-checkers/check-non-empty.js +6 -2
  134. package/dist/collection/utils/property-checkers/check-one-of.js +8 -3
  135. package/dist/collection/utils/property-checkers/check-pattern.js +8 -3
  136. package/dist/collection/utils/property-checkers/check-type.js +11 -6
  137. package/dist/collection/utils/property-checkers/check-url.js +11 -6
  138. package/dist/collection/utils/property-checkers/empty-or.js +5 -2
  139. package/dist/collection/utils/sass-export.js +8 -5
  140. package/dist/components/attribute-observer.js +4 -4
  141. package/dist/components/breakpoints.js +52 -0
  142. package/dist/components/check-non-empty.js +6 -2
  143. package/dist/components/check-one-of.js +8 -3
  144. package/dist/components/check-type.js +11 -6
  145. package/dist/components/debounce.js +11 -0
  146. package/dist/components/fade.js +6 -2
  147. package/dist/components/get-focusable-children.js +35 -0
  148. package/dist/components/get-root.js +9 -0
  149. package/dist/components/index.browser.js +13 -0
  150. package/dist/components/index.js +19 -2
  151. package/dist/components/index2.js +25 -12
  152. package/dist/components/package.js +1 -1
  153. package/dist/components/post-accordion-item2.js +33 -14
  154. package/dist/components/post-accordion2.js +6 -5
  155. package/dist/components/post-avatar2.js +7 -11
  156. package/dist/components/post-back-to-top.d.ts +11 -0
  157. package/dist/components/post-back-to-top.js +6 -0
  158. package/dist/components/post-back-to-top2.js +101 -0
  159. package/dist/components/post-banner.d.ts +11 -0
  160. package/dist/components/post-banner.js +6 -0
  161. package/dist/components/post-banner2.js +131 -0
  162. package/dist/components/post-breadcrumb-item.d.ts +11 -0
  163. package/dist/components/post-breadcrumb-item.js +6 -0
  164. package/dist/components/post-breadcrumb-item2.js +82 -0
  165. package/dist/components/post-breadcrumb.d.ts +11 -0
  166. package/dist/components/post-breadcrumb.js +6 -0
  167. package/dist/components/post-breadcrumb2.js +169 -0
  168. package/dist/components/post-card-control2.js +50 -39
  169. package/dist/components/post-closebutton.d.ts +11 -0
  170. package/dist/components/post-closebutton.js +6 -0
  171. package/dist/components/post-closebutton2.js +34 -0
  172. package/dist/components/post-collapsible-trigger2.js +23 -38
  173. package/dist/components/post-collapsible2.js +22 -14
  174. package/dist/components/post-footer.d.ts +11 -0
  175. package/dist/components/post-footer.js +6 -0
  176. package/dist/components/post-footer2.js +78 -0
  177. package/dist/components/post-header.d.ts +11 -0
  178. package/dist/components/post-header.js +6 -0
  179. package/dist/components/post-header2.js +401 -0
  180. package/dist/components/post-icon2.js +81 -45
  181. package/dist/components/post-language-option2.js +32 -14
  182. package/dist/components/post-language-switch.d.ts +11 -0
  183. package/dist/components/post-language-switch.js +6 -0
  184. package/dist/components/post-language-switch2.js +148 -0
  185. package/dist/components/post-linkarea.d.ts +11 -0
  186. package/dist/components/post-linkarea.js +6 -0
  187. package/dist/components/post-linkarea2.js +42 -0
  188. package/dist/components/post-list-item.d.ts +11 -0
  189. package/dist/components/post-list-item.js +6 -0
  190. package/dist/components/post-list-item2.js +35 -0
  191. package/dist/components/{post-alert.d.ts → post-list.d.ts} +4 -4
  192. package/dist/components/post-list.js +6 -0
  193. package/dist/components/post-list2.js +55 -0
  194. package/dist/components/post-logo2.js +4 -4
  195. package/dist/components/post-mainnavigation.d.ts +11 -0
  196. package/dist/components/post-mainnavigation.js +6 -0
  197. package/dist/components/post-mainnavigation2.js +270 -0
  198. package/dist/components/post-megadropdown-trigger.d.ts +11 -0
  199. package/dist/components/post-megadropdown-trigger.js +6 -0
  200. package/dist/components/post-megadropdown-trigger2.js +113 -0
  201. package/dist/components/post-megadropdown.d.ts +11 -0
  202. package/dist/components/post-megadropdown.js +6 -0
  203. package/dist/components/post-megadropdown2.js +198 -0
  204. package/dist/components/post-menu-item.d.ts +11 -0
  205. package/dist/components/post-menu-item.js +6 -0
  206. package/dist/components/post-menu-item2.js +27 -0
  207. package/dist/components/post-menu-trigger.d.ts +11 -0
  208. package/dist/components/post-menu-trigger.js +6 -0
  209. package/dist/components/post-menu-trigger2.js +109 -0
  210. package/dist/components/post-menu.d.ts +11 -0
  211. package/dist/components/post-menu.js +6 -0
  212. package/dist/components/post-menu2.js +193 -0
  213. package/dist/components/post-popover2.js +6 -4
  214. package/dist/components/post-popovercontainer2.js +249 -72
  215. package/dist/components/post-rating2.js +14 -4
  216. package/dist/components/post-tab-header2.js +7 -6
  217. package/dist/components/post-tab-panel2.js +4 -3
  218. package/dist/components/post-tabs2.js +20 -13
  219. package/dist/components/post-tag2.js +3 -3
  220. package/dist/components/post-togglebutton.d.ts +11 -0
  221. package/dist/components/post-togglebutton.js +6 -0
  222. package/dist/components/post-togglebutton2.js +61 -0
  223. package/dist/components/post-tooltip2.js +35 -22
  224. package/dist/components/slide.js +25 -0
  225. package/dist/docs.json +1653 -186
  226. package/dist/esm/{attribute-observer-37fa950a.js → attribute-observer-2f203993.js} +4 -4
  227. package/dist/esm/breakpoints-bbe0c54e.js +52 -0
  228. package/dist/esm/check-non-empty-258a56b3.js +13 -0
  229. package/dist/esm/check-one-of-0bee20f5.js +11 -0
  230. package/dist/esm/check-type-37d5d307.js +19 -0
  231. package/dist/esm/check-url-17962bc8.js +17 -0
  232. package/dist/esm/debounce-e54c7131.js +11 -0
  233. package/dist/esm/fade-1f3cacf4.js +11 -0
  234. package/dist/esm/get-root-7af2e0d1.js +9 -0
  235. package/dist/esm/{index-e1b64755.js → index-3419e46d.js} +30 -18
  236. package/dist/esm/index-8f8fe5b0.js +32 -0
  237. package/dist/esm/index.browser-51485f85.js +13 -0
  238. package/dist/esm/index.js +33 -24
  239. package/dist/esm/loader.js +3 -3
  240. package/dist/esm/package-da1ccbc7.js +3 -0
  241. package/dist/esm/{post-accordion-01d49d83.js → post-accordion-f5e449c0.js} +9 -8
  242. package/dist/esm/post-accordion-item-1195d94a.js +62 -0
  243. package/dist/esm/post-accordion-item.entry.js +8 -5
  244. package/dist/esm/post-accordion.entry.js +4 -4
  245. package/dist/esm/{post-avatar-6f24d1ab.js → post-avatar-9b85c11c.js} +10 -14
  246. package/dist/esm/post-avatar.entry.js +4 -4
  247. package/dist/esm/post-back-to-top-335075d4.js +74 -0
  248. package/dist/esm/post-back-to-top.entry.js +7 -0
  249. package/dist/esm/post-banner-6b939740.js +94 -0
  250. package/dist/esm/post-banner.entry.js +11 -0
  251. package/dist/esm/post-breadcrumb-5a61269c.js +110 -0
  252. package/dist/esm/post-breadcrumb-item_2.entry.js +8 -0
  253. package/dist/esm/post-breadcrumb.entry.js +5 -0
  254. package/dist/esm/post-card-control-7fe3804c.js +281 -0
  255. package/dist/esm/post-card-control.entry.js +5 -5
  256. package/dist/esm/post-closebutton_15.entry.js +13 -0
  257. package/dist/esm/{post-collapsible-trigger-654bf2b0.js → post-collapsible-trigger-e3ef47ff.js} +49 -55
  258. package/dist/esm/post-collapsible_2.entry.js +10 -6
  259. package/dist/esm/post-components.js +3 -3
  260. package/dist/esm/post-footer-e68c21a1.js +36 -0
  261. package/dist/esm/post-footer.entry.js +4 -0
  262. package/dist/esm/post-linkarea-bc607c52.js +28 -0
  263. package/dist/esm/post-linkarea.entry.js +3 -0
  264. package/dist/esm/post-menu-item-ab01683c.js +65 -0
  265. package/dist/esm/{post-popover-7d44a85c.js → post-popover-7427bb6d.js} +9 -7
  266. package/dist/esm/post-popover.entry.js +4 -4
  267. package/dist/esm/{post-rating-3cd3e97b.js → post-rating-16c9ada8.js} +16 -6
  268. package/dist/esm/post-rating.entry.js +3 -3
  269. package/dist/esm/post-tab-header-e0f39999.js +31 -0
  270. package/dist/esm/post-tab-header.entry.js +5 -4
  271. package/dist/esm/{post-tab-panel-163e6c99.js → post-tab-panel-9a8b852c.js} +6 -5
  272. package/dist/esm/post-tab-panel.entry.js +4 -3
  273. package/dist/esm/{post-tabs-8cb1bce9.js → post-tabs-34f70c88.js} +23 -16
  274. package/dist/esm/post-tabs.entry.js +4 -4
  275. package/dist/esm/post-tag-ec5578c2.js +45 -0
  276. package/dist/esm/post-tag.entry.js +3 -3
  277. package/dist/esm/post-togglebutton-5fb5e500.js +3949 -0
  278. package/dist/esm/{post-tooltip-dc7e1a21.js → post-tooltip-c201c4db.js} +38 -25
  279. package/dist/esm/post-tooltip.entry.js +8 -6
  280. package/dist/esm/slide-cd2850ee.js +25 -0
  281. package/dist/post-components/index.esm.js +1 -1
  282. package/dist/post-components/p-02f1cb03.js +1 -0
  283. package/dist/post-components/p-037755f5.js +1 -0
  284. package/dist/post-components/p-11cac89a.js +1 -0
  285. package/dist/post-components/p-181c73d5.js +1 -0
  286. package/dist/post-components/p-2995938c.entry.js +1 -0
  287. package/dist/post-components/p-2adbc7bf.js +1 -0
  288. package/dist/post-components/p-2ea2ced2.js +1 -0
  289. package/dist/post-components/p-2ff7f948.js +1 -0
  290. package/dist/post-components/p-32815e91.js +1 -0
  291. package/dist/post-components/{p-0ad93d89.js → p-33a5eac4.js} +3 -3
  292. package/dist/post-components/p-38c39936.js +1 -0
  293. package/dist/post-components/p-3a9ddb5a.entry.js +1 -0
  294. package/dist/post-components/p-3dbda892.entry.js +1 -0
  295. package/dist/post-components/p-3ea156c8.js +1 -0
  296. package/dist/post-components/p-4620784a.entry.js +1 -0
  297. package/dist/post-components/p-52231570.entry.js +1 -0
  298. package/dist/post-components/p-54ecbfaf.entry.js +1 -0
  299. package/dist/post-components/p-5959f2bd.js +1 -0
  300. package/dist/post-components/p-5aeb3656.js +1 -0
  301. package/dist/post-components/{p-3eab790d.js → p-5c758f41.js} +1 -1
  302. package/dist/post-components/p-61946a7e.js +1 -0
  303. package/dist/post-components/p-64e3de38.js +1 -0
  304. package/dist/post-components/p-66f2e7cb.js +1 -0
  305. package/dist/post-components/p-6912bf0f.entry.js +1 -0
  306. package/dist/post-components/p-691c07e3.entry.js +1 -0
  307. package/dist/post-components/p-6ed2e162.js +1 -0
  308. package/dist/post-components/p-712670a6.js +1 -0
  309. package/dist/post-components/p-7709c14a.js +1 -0
  310. package/dist/post-components/p-7f695ad8.js +1 -0
  311. package/dist/post-components/p-804c1f5f.entry.js +1 -0
  312. package/dist/post-components/p-85fdc2d3.js +1 -0
  313. package/dist/post-components/p-8779d765.entry.js +1 -0
  314. package/dist/post-components/p-8d625b78.entry.js +1 -0
  315. package/dist/post-components/p-9748a355.js +1 -0
  316. package/dist/post-components/p-9b052461.js +1 -0
  317. package/dist/post-components/p-a205b34d.entry.js +1 -0
  318. package/dist/post-components/p-b21729d2.entry.js +1 -0
  319. package/dist/post-components/p-b240727d.js +1 -0
  320. package/dist/post-components/p-b5318286.js +1 -0
  321. package/dist/post-components/p-be16b84d.entry.js +1 -0
  322. package/dist/post-components/p-c222539e.js +1 -0
  323. package/dist/post-components/p-c8afafa1.js +1 -0
  324. package/dist/post-components/p-d295b769.entry.js +1 -0
  325. package/dist/post-components/p-d45df336.js +1 -0
  326. package/dist/post-components/p-d58f5eaf.js +1 -0
  327. package/dist/post-components/p-e1baac59.js +1 -0
  328. package/dist/post-components/p-e585c6fe.js +1 -0
  329. package/dist/post-components/p-e644a698.entry.js +1 -0
  330. package/dist/post-components/p-e689bfbb.entry.js +1 -0
  331. package/dist/post-components/p-f17be52c.entry.js +1 -0
  332. package/dist/post-components/p-f4850dea.entry.js +1 -0
  333. package/dist/post-components/p-fc91cbc2.js +1 -0
  334. package/dist/post-components/post-components.esm.js +1 -1
  335. package/dist/types/animations/collapse.d.ts +2 -2
  336. package/dist/types/animations/fade.d.ts +2 -2
  337. package/dist/types/animations/slide.d.ts +2 -0
  338. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +8 -2
  339. package/dist/types/components/post-avatar/post-avatar.d.ts +1 -1
  340. package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +19 -0
  341. package/dist/types/components/post-banner/banner-types.d.ts +2 -0
  342. package/dist/types/components/post-banner/post-banner.d.ts +49 -0
  343. package/dist/types/components/post-breadcrumb/post-breadcrumb.d.ts +30 -0
  344. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +20 -0
  345. package/dist/types/components/post-card-control/post-card-control.d.ts +9 -9
  346. package/dist/types/components/post-closebutton/post-closebutton.d.ts +7 -0
  347. package/dist/types/components/post-footer/post-footer.d.ts +23 -0
  348. package/dist/types/components/post-header/post-header.d.ts +51 -0
  349. package/dist/types/components/post-icon/post-icon.d.ts +13 -11
  350. package/dist/types/components/post-language-option/post-language-option.d.ts +13 -4
  351. package/dist/types/components/post-language-switch/post-language-switch.d.ts +39 -0
  352. package/dist/types/components/post-language-switch/switch-variants.d.ts +2 -0
  353. package/dist/types/components/post-linkarea/post-linkarea.d.ts +5 -0
  354. package/dist/types/components/post-list/post-list.d.ts +24 -0
  355. package/dist/types/components/post-list-item/post-list-item.d.ts +8 -0
  356. package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +71 -0
  357. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +59 -0
  358. package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +31 -0
  359. package/dist/types/components/post-menu/post-menu.d.ts +48 -0
  360. package/dist/types/components/post-menu-item/post-menu-item.d.ts +3 -0
  361. package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +28 -0
  362. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +27 -1
  363. package/dist/types/components/post-tab-header/post-tab-header.d.ts +1 -1
  364. package/dist/types/components/post-tabs/post-tabs.d.ts +1 -1
  365. package/dist/types/components/post-tag/post-tag.d.ts +1 -1
  366. package/dist/types/components/post-togglebutton/post-togglebutton.d.ts +15 -0
  367. package/dist/types/components.d.ts +532 -76
  368. package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/.config/bindings.angular.d.ts +2 -0
  369. package/dist/types/index.d.ts +20 -3
  370. package/dist/types/utils/attribute-observer.d.ts +1 -1
  371. package/dist/types/utils/breakpoints.d.ts +12 -0
  372. package/dist/types/utils/component-on-ready.d.ts +1 -1
  373. package/dist/types/utils/get-focusable-children.d.ts +1 -0
  374. package/dist/types/utils/get-root.d.ts +1 -1
  375. package/dist/types/utils/property-checkers/check-non-empty.d.ts +3 -1
  376. package/dist/types/utils/property-checkers/check-one-of.d.ts +3 -1
  377. package/dist/types/utils/property-checkers/check-pattern.d.ts +3 -1
  378. package/dist/types/utils/property-checkers/check-type.d.ts +3 -1
  379. package/dist/types/utils/property-checkers/check-url.d.ts +3 -1
  380. package/dist/types/utils/property-checkers/index.d.ts +12 -4
  381. package/dist/types/utils/sass-export.d.ts +5 -1
  382. package/loaders/attribute-observer.js +4 -4
  383. package/loaders/breakpoints.js +52 -0
  384. package/loaders/check-non-empty.js +6 -2
  385. package/loaders/check-one-of.js +8 -3
  386. package/loaders/check-type.js +11 -6
  387. package/loaders/debounce.js +11 -0
  388. package/loaders/fade.js +6 -2
  389. package/loaders/get-focusable-children.js +35 -0
  390. package/loaders/get-root.js +9 -0
  391. package/loaders/index.browser.js +13 -0
  392. package/loaders/index.d.ts +36 -2
  393. package/loaders/index.js +20 -2
  394. package/loaders/index2.js +25 -12
  395. package/loaders/package.js +1 -1
  396. package/loaders/post-accordion-item.js +1 -82
  397. package/loaders/post-accordion-item2.js +103 -0
  398. package/loaders/post-accordion.js +6 -5
  399. package/loaders/post-avatar.js +7 -11
  400. package/loaders/post-back-to-top.d.ts +11 -0
  401. package/loaders/post-back-to-top.js +104 -0
  402. package/loaders/post-banner.d.ts +11 -0
  403. package/loaders/post-banner.js +134 -0
  404. package/loaders/post-breadcrumb-item.d.ts +11 -0
  405. package/loaders/post-breadcrumb-item.js +6 -0
  406. package/loaders/post-breadcrumb-item2.js +82 -0
  407. package/loaders/post-breadcrumb.d.ts +11 -0
  408. package/loaders/post-breadcrumb.js +172 -0
  409. package/loaders/post-card-control.js +50 -39
  410. package/loaders/post-closebutton.d.ts +11 -0
  411. package/loaders/post-closebutton.js +37 -0
  412. package/loaders/post-collapsible-trigger2.js +23 -38
  413. package/loaders/post-collapsible2.js +21 -13
  414. package/loaders/post-footer.d.ts +11 -0
  415. package/loaders/post-footer.js +81 -0
  416. package/loaders/post-header.d.ts +11 -0
  417. package/loaders/post-header.js +404 -0
  418. package/loaders/post-icon2.js +81 -45
  419. package/loaders/post-language-option.js +31 -13
  420. package/loaders/post-language-switch.d.ts +11 -0
  421. package/loaders/post-language-switch.js +151 -0
  422. package/loaders/post-linkarea.d.ts +11 -0
  423. package/loaders/post-linkarea.js +45 -0
  424. package/loaders/post-list-item.d.ts +11 -0
  425. package/loaders/post-list-item.js +38 -0
  426. package/loaders/{post-alert.d.ts → post-list.d.ts} +4 -4
  427. package/loaders/post-list.js +58 -0
  428. package/loaders/post-logo.js +5 -5
  429. package/loaders/post-mainnavigation.d.ts +11 -0
  430. package/loaders/post-mainnavigation.js +273 -0
  431. package/loaders/post-megadropdown-trigger.d.ts +11 -0
  432. package/loaders/post-megadropdown-trigger.js +116 -0
  433. package/loaders/post-megadropdown.d.ts +11 -0
  434. package/loaders/post-megadropdown.js +201 -0
  435. package/loaders/post-menu-item.d.ts +11 -0
  436. package/loaders/post-menu-item.js +6 -0
  437. package/loaders/post-menu-item2.js +27 -0
  438. package/loaders/post-menu-trigger.d.ts +11 -0
  439. package/loaders/post-menu-trigger.js +6 -0
  440. package/loaders/post-menu-trigger2.js +109 -0
  441. package/loaders/post-menu.d.ts +11 -0
  442. package/loaders/post-menu.js +6 -0
  443. package/loaders/post-menu2.js +193 -0
  444. package/loaders/post-popover.js +6 -4
  445. package/loaders/post-popovercontainer2.js +249 -72
  446. package/loaders/post-rating.js +14 -4
  447. package/loaders/post-tab-header.js +7 -6
  448. package/loaders/post-tab-panel.js +4 -3
  449. package/loaders/post-tabs.js +20 -13
  450. package/loaders/post-tag.js +3 -3
  451. package/loaders/post-togglebutton.d.ts +11 -0
  452. package/loaders/post-togglebutton.js +64 -0
  453. package/loaders/post-tooltip.js +34 -21
  454. package/loaders/slide.js +25 -0
  455. package/package.json +26 -20
  456. package/dist/cjs/check-non-empty-eeaa8f77.js +0 -11
  457. package/dist/cjs/check-one-of-f4f5d0c0.js +0 -8
  458. package/dist/cjs/fade-35a3633a.js +0 -10
  459. package/dist/cjs/index-01f30442.js +0 -52
  460. package/dist/cjs/post-accordion-item-0278e6e2.js +0 -52
  461. package/dist/cjs/post-alert-5f795d9c.js +0 -98
  462. package/dist/cjs/post-alert.cjs.entry.js +0 -16
  463. package/dist/cjs/post-card-control-5ffcd201.js +0 -272
  464. package/dist/cjs/post-icon-1f71aa0f.js +0 -104
  465. package/dist/cjs/post-icon.cjs.entry.js +0 -15
  466. package/dist/cjs/post-language-option-4a3ecaeb.js +0 -67
  467. package/dist/cjs/post-language-option.cjs.entry.js +0 -14
  468. package/dist/cjs/post-logo-7070d727.js +0 -39
  469. package/dist/cjs/post-logo.cjs.entry.js +0 -14
  470. package/dist/cjs/post-popover-de1b8d95.js +0 -104
  471. package/dist/cjs/post-popovercontainer-6a25713a.js +0 -2186
  472. package/dist/cjs/post-popovercontainer.cjs.entry.js +0 -11
  473. package/dist/cjs/post-tab-header-877676bf.js +0 -32
  474. package/dist/cjs/post-tag-5e2c7798.js +0 -47
  475. package/dist/collection/components/post-alert/alert-types.js +0 -1
  476. package/dist/collection/components/post-alert/post-alert.css +0 -7
  477. package/dist/components/post-alert.js +0 -6
  478. package/dist/components/post-alert2.js +0 -136
  479. package/dist/esm/check-non-empty-58bd6b17.js +0 -9
  480. package/dist/esm/check-one-of-6b3ef8eb.js +0 -6
  481. package/dist/esm/fade-7fd71785.js +0 -7
  482. package/dist/esm/index-f41b763f.js +0 -46
  483. package/dist/esm/package-0311770e.js +0 -3
  484. package/dist/esm/post-accordion-item-366f385b.js +0 -50
  485. package/dist/esm/post-alert-5a69f40d.js +0 -96
  486. package/dist/esm/post-alert.entry.js +0 -8
  487. package/dist/esm/post-card-control-2a7939c3.js +0 -270
  488. package/dist/esm/post-icon-885f17e9.js +0 -102
  489. package/dist/esm/post-icon.entry.js +0 -7
  490. package/dist/esm/post-language-option-0c2818aa.js +0 -65
  491. package/dist/esm/post-language-option.entry.js +0 -6
  492. package/dist/esm/post-logo-dd425f2e.js +0 -37
  493. package/dist/esm/post-logo.entry.js +0 -6
  494. package/dist/esm/post-popovercontainer-e6d11d81.js +0 -2184
  495. package/dist/esm/post-popovercontainer.entry.js +0 -3
  496. package/dist/esm/post-tab-header-776a991a.js +0 -30
  497. package/dist/esm/post-tag-deefcc86.js +0 -45
  498. package/dist/post-components/p-048538ea.js +0 -1
  499. package/dist/post-components/p-0a1f5e13.entry.js +0 -1
  500. package/dist/post-components/p-0a4318ff.js +0 -1
  501. package/dist/post-components/p-0d64ef0c.entry.js +0 -1
  502. package/dist/post-components/p-1198a5f2.entry.js +0 -1
  503. package/dist/post-components/p-13d1bef7.entry.js +0 -1
  504. package/dist/post-components/p-16d057a6.js +0 -1
  505. package/dist/post-components/p-1a091fca.entry.js +0 -1
  506. package/dist/post-components/p-1f35b0ba.entry.js +0 -1
  507. package/dist/post-components/p-246a6d28.js +0 -1
  508. package/dist/post-components/p-2737eaf5.js +0 -1
  509. package/dist/post-components/p-3aa5e1e5.js +0 -1
  510. package/dist/post-components/p-3d3795f9.js +0 -1
  511. package/dist/post-components/p-3fabf6e4.entry.js +0 -1
  512. package/dist/post-components/p-4f0617e6.js +0 -1
  513. package/dist/post-components/p-53bacbbc.js +0 -1
  514. package/dist/post-components/p-5c8cb76f.entry.js +0 -1
  515. package/dist/post-components/p-5eee8d31.entry.js +0 -1
  516. package/dist/post-components/p-60e72b25.js +0 -1
  517. package/dist/post-components/p-611b3c41.js +0 -1
  518. package/dist/post-components/p-66ed33a9.js +0 -1
  519. package/dist/post-components/p-681b751d.entry.js +0 -1
  520. package/dist/post-components/p-6adeaa6c.js +0 -1
  521. package/dist/post-components/p-6b6a1e82.entry.js +0 -1
  522. package/dist/post-components/p-752e6a98.entry.js +0 -1
  523. package/dist/post-components/p-8734876e.js +0 -1
  524. package/dist/post-components/p-9ac2a947.js +0 -1
  525. package/dist/post-components/p-9d211a45.js +0 -1
  526. package/dist/post-components/p-b095519d.js +0 -1
  527. package/dist/post-components/p-b38eaabf.js +0 -1
  528. package/dist/post-components/p-cdfcc758.entry.js +0 -1
  529. package/dist/post-components/p-d50d4ec1.entry.js +0 -1
  530. package/dist/post-components/p-d785856c.js +0 -1
  531. package/dist/post-components/p-deb4131c.js +0 -1
  532. package/dist/post-components/p-e18f3639.js +0 -1
  533. package/dist/post-components/p-f1b7797f.entry.js +0 -1
  534. package/dist/post-components/p-f6efc76b.entry.js +0 -1
  535. package/dist/post-components/p-f825d681.js +0 -1
  536. package/dist/post-components/p-fff1c2ee.entry.js +0 -1
  537. package/dist/types/components/post-alert/alert-types.d.ts +0 -2
  538. package/dist/types/components/post-alert/post-alert.d.ts +0 -54
  539. package/loaders/post-alert.js +0 -139
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-10-28T16:52:45",
2
+ "timestamp": "2025-03-10T12:51:34",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.19.2",
@@ -198,6 +198,18 @@
198
198
  "readme": "# post-accordion-item\n\n\n",
199
199
  "docs": "",
200
200
  "docsTags": [
201
+ {
202
+ "name": "part",
203
+ "text": "button - The pseudo-element, used to override styles on the components internal header `button` element."
204
+ },
205
+ {
206
+ "name": "part",
207
+ "text": "body - The pseudo-element, used to override styles on the components internal `body` element."
208
+ },
209
+ {
210
+ "name": "slot",
211
+ "text": "logo - Slot for the placing a logo before the header."
212
+ },
201
213
  {
202
214
  "name": "slot",
203
215
  "text": "header - Slot for placing custom content within the accordion item's header."
@@ -339,50 +351,170 @@
339
351
  {
340
352
  "name": "header",
341
353
  "docs": "Slot for placing custom content within the accordion item's header."
354
+ },
355
+ {
356
+ "name": "logo",
357
+ "docs": "Slot for the placing a logo before the header."
342
358
  }
343
359
  ],
344
360
  "parts": [
345
361
  {
346
362
  "name": "accordion-item",
347
363
  "docs": ""
364
+ },
365
+ {
366
+ "name": "body",
367
+ "docs": "The pseudo-element, used to override styles on the components internal `body` element."
368
+ },
369
+ {
370
+ "name": "button",
371
+ "docs": "The pseudo-element, used to override styles on the components internal header `button` element."
348
372
  }
349
373
  ],
350
- "dependents": [],
374
+ "dependents": [
375
+ "post-footer"
376
+ ],
351
377
  "dependencies": [
352
378
  "post-collapsible-trigger",
379
+ "post-icon",
353
380
  "post-collapsible"
354
381
  ],
355
382
  "dependencyGraph": {
356
383
  "post-accordion-item": [
357
384
  "post-collapsible-trigger",
385
+ "post-icon",
358
386
  "post-collapsible"
387
+ ],
388
+ "post-footer": [
389
+ "post-accordion-item"
359
390
  ]
360
391
  }
361
392
  },
362
393
  {
363
- "filePath": "src/components/post-alert/post-alert.tsx",
394
+ "filePath": "src/components/post-avatar/post-avatar.tsx",
364
395
  "encapsulation": "shadow",
365
- "tag": "post-alert",
366
- "readme": "# post-alert\n\n\n",
396
+ "tag": "post-avatar",
397
+ "readme": "# post-avatar\n\n\n",
367
398
  "docs": "",
368
399
  "docsTags": [
369
400
  {
370
401
  "name": "slot",
371
- "text": "heading - Slot for placing custom content within the alert's heading."
402
+ "text": "default - Slot for inserting a custom image as avatar."
403
+ }
404
+ ],
405
+ "usage": {},
406
+ "props": [
407
+ {
408
+ "name": "email",
409
+ "type": "string",
410
+ "complexType": {
411
+ "original": "string",
412
+ "resolved": "string",
413
+ "references": {}
414
+ },
415
+ "mutable": false,
416
+ "attr": "email",
417
+ "reflectToAttr": false,
418
+ "docs": "Defines the users email address associated with a gravatar profile picture.",
419
+ "docsTags": [],
420
+ "values": [
421
+ {
422
+ "type": "string"
423
+ }
424
+ ],
425
+ "optional": true,
426
+ "required": false
372
427
  },
373
428
  {
374
- "name": "slot",
375
- "text": "actions - Slot for placing custom actions (buttons, links, etc.) within the alert."
429
+ "name": "firstname",
430
+ "type": "string",
431
+ "complexType": {
432
+ "original": "string",
433
+ "resolved": "string",
434
+ "references": {}
435
+ },
436
+ "mutable": false,
437
+ "attr": "firstname",
438
+ "reflectToAttr": false,
439
+ "docs": "Defines the users firstname.",
440
+ "docsTags": [],
441
+ "values": [
442
+ {
443
+ "type": "string"
444
+ }
445
+ ],
446
+ "optional": false,
447
+ "required": true
376
448
  },
377
449
  {
378
- "name": "slot",
379
- "text": "default - Slot for placing the main content/message of the alert."
450
+ "name": "lastname",
451
+ "type": "string",
452
+ "complexType": {
453
+ "original": "string",
454
+ "resolved": "string",
455
+ "references": {}
456
+ },
457
+ "mutable": false,
458
+ "attr": "lastname",
459
+ "reflectToAttr": false,
460
+ "docs": "Defines the users lastname.",
461
+ "docsTags": [],
462
+ "values": [
463
+ {
464
+ "type": "string"
465
+ }
466
+ ],
467
+ "optional": true,
468
+ "required": false
469
+ },
470
+ {
471
+ "name": "userid",
472
+ "type": "string",
473
+ "complexType": {
474
+ "original": "string",
475
+ "resolved": "string",
476
+ "references": {}
477
+ },
478
+ "mutable": false,
479
+ "attr": "userid",
480
+ "reflectToAttr": false,
481
+ "docs": "Defines the company internal userId.<div className=\"mb-1 banner banner-warning banner-sm\">Can only be used on post.ch domains!</div>",
482
+ "docsTags": [],
483
+ "values": [
484
+ {
485
+ "type": "string"
486
+ }
487
+ ],
488
+ "optional": true,
489
+ "required": false
490
+ }
491
+ ],
492
+ "methods": [],
493
+ "events": [],
494
+ "listeners": [],
495
+ "styles": [],
496
+ "slots": [
497
+ {
498
+ "name": "default",
499
+ "docs": "Slot for inserting a custom image as avatar."
380
500
  }
381
501
  ],
502
+ "parts": [],
503
+ "dependents": [],
504
+ "dependencies": [],
505
+ "dependencyGraph": {}
506
+ },
507
+ {
508
+ "filePath": "src/components/post-back-to-top/post-back-to-top.tsx",
509
+ "encapsulation": "shadow",
510
+ "tag": "post-back-to-top",
511
+ "readme": "# post-back-to-top\n\n\n",
512
+ "docs": "",
513
+ "docsTags": [],
382
514
  "usage": {},
383
515
  "props": [
384
516
  {
385
- "name": "dismissLabel",
517
+ "name": "label",
386
518
  "type": "string",
387
519
  "complexType": {
388
520
  "original": "string",
@@ -390,9 +522,9 @@
390
522
  "references": {}
391
523
  },
392
524
  "mutable": false,
393
- "attr": "dismiss-label",
525
+ "attr": "label",
394
526
  "reflectToAttr": false,
395
- "docs": "The label to use for the close button of a dismissible alert.",
527
+ "docs": "The label of the back-to-top button, intended solely for accessibility purposes.\nThis label is always hidden from view.",
396
528
  "docsTags": [],
397
529
  "values": [
398
530
  {
@@ -400,32 +532,70 @@
400
532
  }
401
533
  ],
402
534
  "optional": false,
403
- "required": false
535
+ "required": true
536
+ }
537
+ ],
538
+ "methods": [],
539
+ "events": [],
540
+ "listeners": [],
541
+ "styles": [],
542
+ "slots": [],
543
+ "parts": [],
544
+ "dependents": [],
545
+ "dependencies": [
546
+ "post-icon"
547
+ ],
548
+ "dependencyGraph": {
549
+ "post-back-to-top": [
550
+ "post-icon"
551
+ ]
552
+ }
553
+ },
554
+ {
555
+ "filePath": "src/components/post-banner/post-banner.tsx",
556
+ "encapsulation": "shadow",
557
+ "tag": "post-banner",
558
+ "readme": "# post-alert\n\n\n",
559
+ "docs": "",
560
+ "docsTags": [
561
+ {
562
+ "name": "slot",
563
+ "text": "heading - Slot for placing custom content within the banner's heading."
404
564
  },
405
565
  {
406
- "name": "dismissible",
407
- "type": "boolean",
566
+ "name": "slot",
567
+ "text": "actions - Slot for placing custom actions (buttons, links, etc.) within the banner."
568
+ },
569
+ {
570
+ "name": "slot",
571
+ "text": "default - Slot for placing the main content/message of the banner."
572
+ }
573
+ ],
574
+ "usage": {},
575
+ "props": [
576
+ {
577
+ "name": "dismissLabel",
578
+ "type": "string",
408
579
  "complexType": {
409
- "original": "boolean",
410
- "resolved": "boolean",
580
+ "original": "string",
581
+ "resolved": "string",
411
582
  "references": {}
412
583
  },
413
584
  "mutable": false,
414
- "attr": "dismissible",
585
+ "attr": "dismiss-label",
415
586
  "reflectToAttr": false,
416
- "docs": "If `true`, a close button (×) is displayed and the alert can be dismissed by the user.",
587
+ "docs": "The label to use for the close button of a dismissible banner.",
417
588
  "docsTags": [],
418
- "default": "false",
419
589
  "values": [
420
590
  {
421
- "type": "boolean"
591
+ "type": "string"
422
592
  }
423
593
  ],
424
594
  "optional": false,
425
595
  "required": false
426
596
  },
427
597
  {
428
- "name": "fixed",
598
+ "name": "dismissible",
429
599
  "type": "boolean",
430
600
  "complexType": {
431
601
  "original": "boolean",
@@ -433,9 +603,9 @@
433
603
  "references": {}
434
604
  },
435
605
  "mutable": false,
436
- "attr": "fixed",
606
+ "attr": "dismissible",
437
607
  "reflectToAttr": false,
438
- "docs": "If `true`, the alert is positioned at the bottom of the window, from edge to edge.",
608
+ "docs": "If `true`, a close button (×) is displayed and the banner can be dismissed by the user.",
439
609
  "docsTags": [],
440
610
  "default": "false",
441
611
  "values": [
@@ -457,7 +627,7 @@
457
627
  "mutable": false,
458
628
  "attr": "icon",
459
629
  "reflectToAttr": false,
460
- "docs": "The icon to display in the alert. By default, the icon depends on the alert type.\n\nIf `none`, no icon is displayed.",
630
+ "docs": "The icon to display in the banner. By default, the icon depends on the banner type.\n\nIf `none`, no icon is displayed.",
461
631
  "docsTags": [],
462
632
  "values": [
463
633
  {
@@ -469,39 +639,35 @@
469
639
  },
470
640
  {
471
641
  "name": "type",
472
- "type": "\"danger\" | \"gray\" | \"info\" | \"primary\" | \"success\" | \"warning\"",
642
+ "type": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
473
643
  "complexType": {
474
- "original": "AlertType",
475
- "resolved": "\"danger\" | \"gray\" | \"info\" | \"primary\" | \"success\" | \"warning\"",
644
+ "original": "BannerType",
645
+ "resolved": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
476
646
  "references": {
477
- "AlertType": {
647
+ "BannerType": {
478
648
  "location": "import",
479
- "path": "./alert-types",
480
- "id": "src/components/post-alert/alert-types.ts::AlertType"
649
+ "path": "./banner-types",
650
+ "id": "src/components/post-banner/banner-types.ts::BannerType"
481
651
  }
482
652
  }
483
653
  },
484
654
  "mutable": false,
485
655
  "attr": "type",
486
656
  "reflectToAttr": false,
487
- "docs": "The type of the alert.",
657
+ "docs": "The type of the banner.",
488
658
  "docsTags": [],
489
- "default": "'primary'",
659
+ "default": "'neutral'",
490
660
  "values": [
491
661
  {
492
662
  "value": "danger",
493
663
  "type": "string"
494
664
  },
495
- {
496
- "value": "gray",
497
- "type": "string"
498
- },
499
665
  {
500
666
  "value": "info",
501
667
  "type": "string"
502
668
  },
503
669
  {
504
- "value": "primary",
670
+ "value": "neutral",
505
671
  "type": "string"
506
672
  },
507
673
  {
@@ -537,7 +703,7 @@
537
703
  },
538
704
  "signature": "dismiss() => Promise<void>",
539
705
  "parameters": [],
540
- "docs": "Triggers alert dismissal programmatically (same as clicking on the close button (×)).",
706
+ "docs": "Triggers banner dismissal programmatically (same as clicking on the close button (×)).",
541
707
  "docsTags": []
542
708
  }
543
709
  ],
@@ -553,7 +719,7 @@
553
719
  },
554
720
  "cancelable": true,
555
721
  "composed": true,
556
- "docs": "An event emitted when the alert element is dismissed, after the transition.\nIt has no payload and only relevant for dismissible alerts.",
722
+ "docs": "An event emitted when the banner element is dismissed, after the transition.\nIt has no payload and only relevant for dismissible banners.",
557
723
  "docsTags": []
558
724
  }
559
725
  ],
@@ -562,15 +728,15 @@
562
728
  "slots": [
563
729
  {
564
730
  "name": "actions",
565
- "docs": "Slot for placing custom actions (buttons, links, etc.) within the alert."
731
+ "docs": "Slot for placing custom actions (buttons, links, etc.) within the banner."
566
732
  },
567
733
  {
568
734
  "name": "default",
569
- "docs": "Slot for placing the main content/message of the alert."
735
+ "docs": "Slot for placing the main content/message of the banner."
570
736
  },
571
737
  {
572
738
  "name": "heading",
573
- "docs": "Slot for placing custom content within the alert's heading."
739
+ "docs": "Slot for placing custom content within the banner's heading."
574
740
  }
575
741
  ],
576
742
  "parts": [],
@@ -579,27 +745,22 @@
579
745
  "post-icon"
580
746
  ],
581
747
  "dependencyGraph": {
582
- "post-alert": [
748
+ "post-banner": [
583
749
  "post-icon"
584
750
  ]
585
751
  }
586
752
  },
587
753
  {
588
- "filePath": "src/components/post-avatar/post-avatar.tsx",
754
+ "filePath": "src/components/post-breadcrumb/post-breadcrumb.tsx",
589
755
  "encapsulation": "shadow",
590
- "tag": "post-avatar",
591
- "readme": "# post-avatar\n\n\n",
756
+ "tag": "post-breadcrumb",
757
+ "readme": "# post-breadcrumbs-new\n\n\n",
592
758
  "docs": "",
593
- "docsTags": [
594
- {
595
- "name": "slot",
596
- "text": "default - Slot for inserting a custom image as avatar."
597
- }
598
- ],
759
+ "docsTags": [],
599
760
  "usage": {},
600
761
  "props": [
601
762
  {
602
- "name": "email",
763
+ "name": "homeText",
603
764
  "type": "string",
604
765
  "complexType": {
605
766
  "original": "string",
@@ -607,20 +768,21 @@
607
768
  "references": {}
608
769
  },
609
770
  "mutable": false,
610
- "attr": "email",
771
+ "attr": "home-text",
611
772
  "reflectToAttr": false,
612
- "docs": "Defines the users email address associated with a gravatar profile picture.",
773
+ "docs": "The text label for the home breadcrumb item.",
613
774
  "docsTags": [],
775
+ "default": "'Home'",
614
776
  "values": [
615
777
  {
616
778
  "type": "string"
617
779
  }
618
780
  ],
619
- "optional": true,
781
+ "optional": false,
620
782
  "required": false
621
783
  },
622
784
  {
623
- "name": "firstname",
785
+ "name": "homeUrl",
624
786
  "type": "string",
625
787
  "complexType": {
626
788
  "original": "string",
@@ -628,9 +790,9 @@
628
790
  "references": {}
629
791
  },
630
792
  "mutable": false,
631
- "attr": "firstname",
793
+ "attr": "home-url",
632
794
  "reflectToAttr": false,
633
- "docs": "Defines the users firstname.",
795
+ "docs": "The URL for the home breadcrumb item.",
634
796
  "docsTags": [],
635
797
  "values": [
636
798
  {
@@ -638,43 +800,75 @@
638
800
  }
639
801
  ],
640
802
  "optional": false,
641
- "required": true
642
- },
803
+ "required": false
804
+ }
805
+ ],
806
+ "methods": [],
807
+ "events": [],
808
+ "listeners": [],
809
+ "styles": [],
810
+ "slots": [],
811
+ "parts": [],
812
+ "dependents": [],
813
+ "dependencies": [
814
+ "post-icon",
815
+ "post-menu-trigger",
816
+ "post-menu",
817
+ "post-menu-item",
818
+ "post-breadcrumb-item"
819
+ ],
820
+ "dependencyGraph": {
821
+ "post-breadcrumb": [
822
+ "post-icon",
823
+ "post-menu-trigger",
824
+ "post-menu",
825
+ "post-menu-item",
826
+ "post-breadcrumb-item"
827
+ ],
828
+ "post-menu": [
829
+ "post-popovercontainer"
830
+ ],
831
+ "post-breadcrumb-item": [
832
+ "post-icon"
833
+ ]
834
+ }
835
+ },
836
+ {
837
+ "filePath": "src/components/post-breadcrumb-item/post-breadcrumb-item.tsx",
838
+ "encapsulation": "shadow",
839
+ "tag": "post-breadcrumb-item",
840
+ "readme": "# post-breadcrumb-item\n\n\n",
841
+ "docs": "",
842
+ "docsTags": [
643
843
  {
644
- "name": "lastname",
645
- "type": "string",
844
+ "name": "slot",
845
+ "text": "default - Slot for placing the text inside the breadcrumb item."
846
+ }
847
+ ],
848
+ "usage": {},
849
+ "props": [
850
+ {
851
+ "name": "url",
852
+ "type": "URL | string",
646
853
  "complexType": {
647
- "original": "string",
648
- "resolved": "string",
649
- "references": {}
854
+ "original": "string | URL",
855
+ "resolved": "URL | string",
856
+ "references": {
857
+ "URL": {
858
+ "location": "global",
859
+ "id": "global::URL"
860
+ }
861
+ }
650
862
  },
651
863
  "mutable": false,
652
- "attr": "lastname",
864
+ "attr": "url",
653
865
  "reflectToAttr": false,
654
- "docs": "Defines the users lastname.",
655
- "docsTags": [],
656
- "values": [
657
- {
658
- "type": "string"
659
- }
660
- ],
661
- "optional": true,
662
- "required": false
663
- },
664
- {
665
- "name": "userid",
666
- "type": "string",
667
- "complexType": {
668
- "original": "string",
669
- "resolved": "string",
670
- "references": {}
671
- },
672
- "mutable": false,
673
- "attr": "userid",
674
- "reflectToAttr": false,
675
- "docs": "Defines the company internal userId.<div className=\"mb-1 alert alert-warning alert-sm\">Can only be used on post.ch domains!</div>",
866
+ "docs": "The optional URL to which the breadcrumb item will link.",
676
867
  "docsTags": [],
677
868
  "values": [
869
+ {
870
+ "type": "URL"
871
+ },
678
872
  {
679
873
  "type": "string"
680
874
  }
@@ -690,13 +884,24 @@
690
884
  "slots": [
691
885
  {
692
886
  "name": "default",
693
- "docs": "Slot for inserting a custom image as avatar."
887
+ "docs": "Slot for placing the text inside the breadcrumb item."
694
888
  }
695
889
  ],
696
890
  "parts": [],
697
- "dependents": [],
698
- "dependencies": [],
699
- "dependencyGraph": {}
891
+ "dependents": [
892
+ "post-breadcrumb"
893
+ ],
894
+ "dependencies": [
895
+ "post-icon"
896
+ ],
897
+ "dependencyGraph": {
898
+ "post-breadcrumb-item": [
899
+ "post-icon"
900
+ ],
901
+ "post-breadcrumb": [
902
+ "post-breadcrumb-item"
903
+ ]
904
+ }
700
905
  },
701
906
  {
702
907
  "filePath": "src/components/post-card-control/post-card-control.tsx",
@@ -711,11 +916,11 @@
711
916
  },
712
917
  {
713
918
  "name": "slot",
714
- "text": "default - Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"alert alert-sm alert-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
919
+ "text": "default - Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"banner banner-sm banner-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
715
920
  },
716
921
  {
717
922
  "name": "slot",
718
- "text": "icon - To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"alert alert-sm alert-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
923
+ "text": "icon - To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"banner banner-sm banner-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
719
924
  }
720
925
  ],
721
926
  "usage": {},
@@ -797,7 +1002,7 @@
797
1002
  "mutable": false,
798
1003
  "attr": "icon",
799
1004
  "reflectToAttr": false,
800
- "docs": "Defines the icon `name` inside the card.\n<span className=\"alert alert-sm alert-info\">If not set the icon will not show up.</span>",
1005
+ "docs": "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>",
801
1006
  "docsTags": [],
802
1007
  "default": "null",
803
1008
  "values": [
@@ -840,7 +1045,7 @@
840
1045
  "mutable": false,
841
1046
  "attr": "name",
842
1047
  "reflectToAttr": false,
843
- "docs": "Defines the `name` attribute of the control.\n<span className=\"alert alert-sm alert-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=\"alert alert-sm alert-info\">This is a required property, when the control is used with type `radio`.</span>",
1048
+ "docs": "Defines the `name` attribute of the control.\n<span className=\"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>",
844
1049
  "docsTags": [],
845
1050
  "default": "null",
846
1051
  "values": [
@@ -915,7 +1120,7 @@
915
1120
  "mutable": false,
916
1121
  "attr": "value",
917
1122
  "reflectToAttr": false,
918
- "docs": "Defines the `value` attribute of the control. <span className=\"alert alert-sm alert-info\">This is a required property, when the control is used with type `radio`.</span>",
1123
+ "docs": "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>",
919
1124
  "docsTags": [],
920
1125
  "default": "null",
921
1126
  "values": [
@@ -985,7 +1190,7 @@
985
1190
  },
986
1191
  "cancelable": true,
987
1192
  "composed": true,
988
- "docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.\n<span className=\"alert alert-sm alert-info\">If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</span>",
1193
+ "docs": "An event emitted whenever the components checked state is toggled.\nThe event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.\n<span className=\"banner banner-sm banner-info\">If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</span>",
989
1194
  "docsTags": []
990
1195
  },
991
1196
  {
@@ -1008,11 +1213,11 @@
1008
1213
  "slots": [
1009
1214
  {
1010
1215
  "name": "default",
1011
- "docs": "Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"alert alert-sm alert-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
1216
+ "docs": "Content to place into the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Block-level_contentt\">block content</a>.<p className=\"banner banner-sm banner-warning\">Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.<br/>This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.<br/>More info: <a href=\"https://accessibilityinsights.io/info-examples/web/nested-interactive/\">https://accessibilityinsights.io/info-examples/web/nested-interactive/</a></p>"
1012
1217
  },
1013
1218
  {
1014
1219
  "name": "icon",
1015
- "docs": "To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"alert alert-sm alert-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
1220
+ "docs": "To insert a custom icon into the named `icon` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.<p className=\"banner banner-sm banner-info\">It is only meant for <code>img</code> or <code>svg</code> elements and overrides the `icon` property.</p>"
1016
1221
  }
1017
1222
  ],
1018
1223
  "parts": [],
@@ -1026,6 +1231,41 @@
1026
1231
  ]
1027
1232
  }
1028
1233
  },
1234
+ {
1235
+ "filePath": "src/components/post-closebutton/post-closebutton.tsx",
1236
+ "encapsulation": "none",
1237
+ "tag": "post-closebutton",
1238
+ "readme": "# post-closebutton\n\n\n",
1239
+ "docs": "",
1240
+ "docsTags": [
1241
+ {
1242
+ "name": "slot",
1243
+ "text": "default - Slot for placing visually hidden label in the close button."
1244
+ }
1245
+ ],
1246
+ "usage": {},
1247
+ "props": [],
1248
+ "methods": [],
1249
+ "events": [],
1250
+ "listeners": [],
1251
+ "styles": [],
1252
+ "slots": [
1253
+ {
1254
+ "name": "default",
1255
+ "docs": "Slot for placing visually hidden label in the close button."
1256
+ }
1257
+ ],
1258
+ "parts": [],
1259
+ "dependents": [],
1260
+ "dependencies": [
1261
+ "post-icon"
1262
+ ],
1263
+ "dependencyGraph": {
1264
+ "post-closebutton": [
1265
+ "post-icon"
1266
+ ]
1267
+ }
1268
+ },
1029
1269
  {
1030
1270
  "filePath": "src/components/post-collapsible/post-collapsible.tsx",
1031
1271
  "encapsulation": "shadow",
@@ -1204,6 +1444,253 @@
1204
1444
  ]
1205
1445
  }
1206
1446
  },
1447
+ {
1448
+ "filePath": "src/components/post-footer/post-footer.tsx",
1449
+ "encapsulation": "shadow",
1450
+ "tag": "post-footer",
1451
+ "readme": "# post-footer\n\n\n",
1452
+ "docs": "",
1453
+ "docsTags": [
1454
+ {
1455
+ "name": "slot",
1456
+ "text": "grid-{1|2|3|4}-title - Slot for the accordion headers (mobile)."
1457
+ },
1458
+ {
1459
+ "name": "slot",
1460
+ "text": "grid-{1|2|3|4} - Slot for the accordion bodies (mobile) and the grid cells (tablet, desktop)."
1461
+ },
1462
+ {
1463
+ "name": "slot",
1464
+ "text": "socialmedia - Slot for the social media links."
1465
+ },
1466
+ {
1467
+ "name": "slot",
1468
+ "text": "app - Slot for the app links."
1469
+ },
1470
+ {
1471
+ "name": "slot",
1472
+ "text": "businesssectors - Slot for the business sectors links."
1473
+ },
1474
+ {
1475
+ "name": "slot",
1476
+ "text": "meta - Slot for the meta links."
1477
+ },
1478
+ {
1479
+ "name": "slot",
1480
+ "text": "copyright - Slot for the copyright text."
1481
+ }
1482
+ ],
1483
+ "usage": {},
1484
+ "props": [
1485
+ {
1486
+ "name": "label",
1487
+ "type": "string",
1488
+ "complexType": {
1489
+ "original": "string",
1490
+ "resolved": "string",
1491
+ "references": {}
1492
+ },
1493
+ "mutable": false,
1494
+ "attr": "label",
1495
+ "reflectToAttr": false,
1496
+ "docs": "The label to add to the footer (visually hidden).",
1497
+ "docsTags": [],
1498
+ "values": [
1499
+ {
1500
+ "type": "string"
1501
+ }
1502
+ ],
1503
+ "optional": false,
1504
+ "required": true
1505
+ }
1506
+ ],
1507
+ "methods": [],
1508
+ "events": [],
1509
+ "listeners": [],
1510
+ "styles": [],
1511
+ "slots": [
1512
+ {
1513
+ "name": "app",
1514
+ "docs": "Slot for the app links."
1515
+ },
1516
+ {
1517
+ "name": "businesssectors",
1518
+ "docs": "Slot for the business sectors links."
1519
+ },
1520
+ {
1521
+ "name": "copyright",
1522
+ "docs": "Slot for the copyright text."
1523
+ },
1524
+ {
1525
+ "name": "grid-{1|2|3|4}",
1526
+ "docs": "Slot for the accordion bodies (mobile) and the grid cells (tablet, desktop)."
1527
+ },
1528
+ {
1529
+ "name": "grid-{1|2|3|4}-title",
1530
+ "docs": "Slot for the accordion headers (mobile)."
1531
+ },
1532
+ {
1533
+ "name": "meta",
1534
+ "docs": "Slot for the meta links."
1535
+ },
1536
+ {
1537
+ "name": "socialmedia",
1538
+ "docs": "Slot for the social media links."
1539
+ }
1540
+ ],
1541
+ "parts": [],
1542
+ "dependents": [],
1543
+ "dependencies": [
1544
+ "post-accordion-item"
1545
+ ],
1546
+ "dependencyGraph": {
1547
+ "post-footer": [
1548
+ "post-accordion-item"
1549
+ ],
1550
+ "post-accordion-item": [
1551
+ "post-collapsible-trigger",
1552
+ "post-icon",
1553
+ "post-collapsible"
1554
+ ]
1555
+ }
1556
+ },
1557
+ {
1558
+ "filePath": "src/components/post-header/post-header.tsx",
1559
+ "encapsulation": "shadow",
1560
+ "tag": "post-header",
1561
+ "readme": "# post-header\n\n\n",
1562
+ "docs": "",
1563
+ "docsTags": [
1564
+ {
1565
+ "name": "slot",
1566
+ "text": "post-logo - Should be used together with the `<post-logo>` component."
1567
+ },
1568
+ {
1569
+ "name": "slot",
1570
+ "text": "meta-navigation - Holds an `<ul>` with meta navigation links."
1571
+ },
1572
+ {
1573
+ "name": "slot",
1574
+ "text": "post-togglebutton - Holds the mobile menu toggler."
1575
+ },
1576
+ {
1577
+ "name": "slot",
1578
+ "text": "post-language-switch - Should be used with the `<post-language-switch>` component."
1579
+ },
1580
+ {
1581
+ "name": "slot",
1582
+ "text": "title - Holds the application title."
1583
+ },
1584
+ {
1585
+ "name": "slot",
1586
+ "text": "default - Custom controls or content, right aligned in the local header."
1587
+ },
1588
+ {
1589
+ "name": "slot",
1590
+ "text": "post-mainnavigation - Has a default slot because it's only meant to be used in the `<post-header>`."
1591
+ }
1592
+ ],
1593
+ "usage": {},
1594
+ "props": [],
1595
+ "methods": [
1596
+ {
1597
+ "name": "toggleMobileMenu",
1598
+ "returns": {
1599
+ "type": "Promise<void>",
1600
+ "docs": ""
1601
+ },
1602
+ "complexType": {
1603
+ "signature": "(force?: boolean) => Promise<void>",
1604
+ "parameters": [
1605
+ {
1606
+ "name": "force",
1607
+ "type": "boolean",
1608
+ "docs": ""
1609
+ }
1610
+ ],
1611
+ "references": {
1612
+ "Promise": {
1613
+ "location": "global",
1614
+ "id": "global::Promise"
1615
+ },
1616
+ "HTMLPostTogglebuttonElement": {
1617
+ "location": "global",
1618
+ "id": "global::HTMLPostTogglebuttonElement"
1619
+ }
1620
+ },
1621
+ "return": "Promise<void>"
1622
+ },
1623
+ "signature": "toggleMobileMenu(force?: boolean) => Promise<void>",
1624
+ "parameters": [
1625
+ {
1626
+ "name": "force",
1627
+ "type": "boolean",
1628
+ "docs": ""
1629
+ }
1630
+ ],
1631
+ "docs": "Toggles the mobile navigation.",
1632
+ "docsTags": []
1633
+ }
1634
+ ],
1635
+ "events": [
1636
+ {
1637
+ "event": "postUpdateDevice",
1638
+ "detail": "\"desktop\" | \"mobile\" | \"tablet\"",
1639
+ "bubbles": true,
1640
+ "complexType": {
1641
+ "original": "DEVICE_SIZE",
1642
+ "resolved": "\"desktop\" | \"mobile\" | \"tablet\"",
1643
+ "references": {
1644
+ "DEVICE_SIZE": {
1645
+ "location": "local",
1646
+ "path": "/home/runner/work/design-system/design-system/packages/components/src/components/post-header/post-header.tsx",
1647
+ "id": "src/components/post-header/post-header.tsx::DEVICE_SIZE"
1648
+ }
1649
+ }
1650
+ },
1651
+ "cancelable": true,
1652
+ "composed": true,
1653
+ "docs": "An event emitted when the device has changed",
1654
+ "docsTags": []
1655
+ }
1656
+ ],
1657
+ "listeners": [],
1658
+ "styles": [],
1659
+ "slots": [
1660
+ {
1661
+ "name": "default",
1662
+ "docs": "Custom controls or content, right aligned in the local header."
1663
+ },
1664
+ {
1665
+ "name": "meta-navigation",
1666
+ "docs": "Holds an `<ul>` with meta navigation links."
1667
+ },
1668
+ {
1669
+ "name": "post-language-switch",
1670
+ "docs": "Should be used with the `<post-language-switch>` component."
1671
+ },
1672
+ {
1673
+ "name": "post-logo",
1674
+ "docs": "Should be used together with the `<post-logo>` component."
1675
+ },
1676
+ {
1677
+ "name": "post-mainnavigation",
1678
+ "docs": "Has a default slot because it's only meant to be used in the `<post-header>`."
1679
+ },
1680
+ {
1681
+ "name": "post-togglebutton",
1682
+ "docs": "Holds the mobile menu toggler."
1683
+ },
1684
+ {
1685
+ "name": "title",
1686
+ "docs": "Holds the application title."
1687
+ }
1688
+ ],
1689
+ "parts": [],
1690
+ "dependents": [],
1691
+ "dependencies": [],
1692
+ "dependencyGraph": {}
1693
+ },
1207
1694
  {
1208
1695
  "filePath": "src/components/post-icon/post-icon.tsx",
1209
1696
  "encapsulation": "shadow",
@@ -1405,19 +1892,47 @@
1405
1892
  "slots": [],
1406
1893
  "parts": [],
1407
1894
  "dependents": [
1408
- "post-alert",
1895
+ "post-accordion-item",
1896
+ "post-back-to-top",
1897
+ "post-banner",
1898
+ "post-breadcrumb",
1899
+ "post-breadcrumb-item",
1409
1900
  "post-card-control",
1901
+ "post-closebutton",
1902
+ "post-language-switch",
1903
+ "post-mainnavigation",
1410
1904
  "post-rating",
1411
1905
  "post-tag"
1412
1906
  ],
1413
1907
  "dependencies": [],
1414
1908
  "dependencyGraph": {
1415
- "post-alert": [
1909
+ "post-accordion-item": [
1910
+ "post-icon"
1911
+ ],
1912
+ "post-back-to-top": [
1913
+ "post-icon"
1914
+ ],
1915
+ "post-banner": [
1916
+ "post-icon"
1917
+ ],
1918
+ "post-breadcrumb": [
1919
+ "post-icon"
1920
+ ],
1921
+ "post-breadcrumb-item": [
1416
1922
  "post-icon"
1417
1923
  ],
1418
1924
  "post-card-control": [
1419
1925
  "post-icon"
1420
1926
  ],
1927
+ "post-closebutton": [
1928
+ "post-icon"
1929
+ ],
1930
+ "post-language-switch": [
1931
+ "post-icon"
1932
+ ],
1933
+ "post-mainnavigation": [
1934
+ "post-icon"
1935
+ ],
1421
1936
  "post-rating": [
1422
1937
  "post-icon"
1423
1938
  ],
@@ -1428,7 +1943,7 @@
1428
1943
  },
1429
1944
  {
1430
1945
  "filePath": "src/components/post-language-option/post-language-option.tsx",
1431
- "encapsulation": "shadow",
1946
+ "encapsulation": "none",
1432
1947
  "tag": "post-language-option",
1433
1948
  "readme": "# post-language-option\n\n\n",
1434
1949
  "docs": "",
@@ -1511,131 +2026,952 @@
1511
2026
  "resolved": "string",
1512
2027
  "references": {}
1513
2028
  },
1514
- "mutable": false,
1515
- "attr": "url",
1516
- "reflectToAttr": false,
1517
- "docs": "The URL used for the href attribute of the internal anchor.\nThis field is optional; if not provided, a button will be used internally instead of an anchor.",
1518
- "docsTags": [],
1519
- "values": [
2029
+ "mutable": false,
2030
+ "attr": "url",
2031
+ "reflectToAttr": false,
2032
+ "docs": "The URL used for the href attribute of the internal anchor.\nThis field is optional; if not provided, a button will be used internally instead of an anchor.",
2033
+ "docsTags": [],
2034
+ "values": [
2035
+ {
2036
+ "type": "string"
2037
+ }
2038
+ ],
2039
+ "optional": false,
2040
+ "required": false
2041
+ },
2042
+ {
2043
+ "name": "variant",
2044
+ "type": "\"list\" | \"menu\"",
2045
+ "complexType": {
2046
+ "original": "SwitchVariant | null",
2047
+ "resolved": "\"list\" | \"menu\"",
2048
+ "references": {
2049
+ "SwitchVariant": {
2050
+ "location": "import",
2051
+ "path": "../post-language-switch/switch-variants",
2052
+ "id": "src/components/post-language-switch/switch-variants.ts::SwitchVariant"
2053
+ }
2054
+ }
2055
+ },
2056
+ "mutable": false,
2057
+ "attr": "variant",
2058
+ "reflectToAttr": false,
2059
+ "docs": "To communicate the variant prop from the parent (post-language-switch) component to the child (post-language-option) component. See parent docs for a description about the property itself.",
2060
+ "docsTags": [],
2061
+ "values": [
2062
+ {
2063
+ "value": "list",
2064
+ "type": "string"
2065
+ },
2066
+ {
2067
+ "value": "menu",
2068
+ "type": "string"
2069
+ }
2070
+ ],
2071
+ "optional": true,
2072
+ "required": false
2073
+ }
2074
+ ],
2075
+ "methods": [
2076
+ {
2077
+ "name": "select",
2078
+ "returns": {
2079
+ "type": "Promise<void>",
2080
+ "docs": ""
2081
+ },
2082
+ "complexType": {
2083
+ "signature": "() => Promise<void>",
2084
+ "parameters": [],
2085
+ "references": {
2086
+ "Promise": {
2087
+ "location": "global",
2088
+ "id": "global::Promise"
2089
+ }
2090
+ },
2091
+ "return": "Promise<void>"
2092
+ },
2093
+ "signature": "select() => Promise<void>",
2094
+ "parameters": [],
2095
+ "docs": "Selects the language option programmatically.",
2096
+ "docsTags": []
2097
+ }
2098
+ ],
2099
+ "events": [
2100
+ {
2101
+ "event": "postChange",
2102
+ "detail": "string",
2103
+ "bubbles": true,
2104
+ "complexType": {
2105
+ "original": "string",
2106
+ "resolved": "string",
2107
+ "references": {}
2108
+ },
2109
+ "cancelable": true,
2110
+ "composed": true,
2111
+ "docs": "An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.",
2112
+ "docsTags": []
2113
+ },
2114
+ {
2115
+ "event": "postLanguageOptionInitiallyActive",
2116
+ "detail": "string",
2117
+ "bubbles": true,
2118
+ "complexType": {
2119
+ "original": "string",
2120
+ "resolved": "string",
2121
+ "references": {}
2122
+ },
2123
+ "cancelable": true,
2124
+ "composed": true,
2125
+ "docs": "An event emitted when the language option is initially active. The payload is the ISO 639 code of the language.",
2126
+ "docsTags": []
2127
+ }
2128
+ ],
2129
+ "listeners": [],
2130
+ "styles": [],
2131
+ "slots": [
2132
+ {
2133
+ "name": "default",
2134
+ "docs": "Slot for placing the content inside the anchor or button."
2135
+ }
2136
+ ],
2137
+ "parts": [],
2138
+ "dependents": [],
2139
+ "dependencies": [],
2140
+ "dependencyGraph": {}
2141
+ },
2142
+ {
2143
+ "filePath": "src/components/post-language-switch/post-language-switch.tsx",
2144
+ "encapsulation": "shadow",
2145
+ "tag": "post-language-switch",
2146
+ "readme": "# post-language-switch\n",
2147
+ "docs": "",
2148
+ "docsTags": [],
2149
+ "usage": {},
2150
+ "props": [
2151
+ {
2152
+ "name": "caption",
2153
+ "type": "string",
2154
+ "complexType": {
2155
+ "original": "string",
2156
+ "resolved": "string",
2157
+ "references": {}
2158
+ },
2159
+ "mutable": false,
2160
+ "attr": "caption",
2161
+ "reflectToAttr": false,
2162
+ "docs": "A title for the list of language options",
2163
+ "docsTags": [],
2164
+ "values": [
2165
+ {
2166
+ "type": "string"
2167
+ }
2168
+ ],
2169
+ "optional": false,
2170
+ "required": false
2171
+ },
2172
+ {
2173
+ "name": "description",
2174
+ "type": "string",
2175
+ "complexType": {
2176
+ "original": "string",
2177
+ "resolved": "string",
2178
+ "references": {}
2179
+ },
2180
+ "mutable": false,
2181
+ "attr": "description",
2182
+ "reflectToAttr": false,
2183
+ "docs": "A descriptive text for the list of language options",
2184
+ "docsTags": [],
2185
+ "values": [
2186
+ {
2187
+ "type": "string"
2188
+ }
2189
+ ],
2190
+ "optional": false,
2191
+ "required": false
2192
+ },
2193
+ {
2194
+ "name": "variant",
2195
+ "type": "\"list\" | \"menu\"",
2196
+ "complexType": {
2197
+ "original": "SwitchVariant",
2198
+ "resolved": "\"list\" | \"menu\"",
2199
+ "references": {
2200
+ "SwitchVariant": {
2201
+ "location": "import",
2202
+ "path": "./switch-variants",
2203
+ "id": "src/components/post-language-switch/switch-variants.ts::SwitchVariant"
2204
+ }
2205
+ }
2206
+ },
2207
+ "mutable": false,
2208
+ "attr": "variant",
2209
+ "reflectToAttr": false,
2210
+ "docs": "Whether the component is rendered as a list or a menu",
2211
+ "docsTags": [],
2212
+ "default": "'list'",
2213
+ "values": [
2214
+ {
2215
+ "value": "list",
2216
+ "type": "string"
2217
+ },
2218
+ {
2219
+ "value": "menu",
2220
+ "type": "string"
2221
+ }
2222
+ ],
2223
+ "optional": false,
2224
+ "required": false
2225
+ }
2226
+ ],
2227
+ "methods": [],
2228
+ "events": [],
2229
+ "listeners": [
2230
+ {
2231
+ "event": "postChange",
2232
+ "capture": false,
2233
+ "passive": false
2234
+ },
2235
+ {
2236
+ "event": "postLanguageOptionInitiallyActive",
2237
+ "capture": false,
2238
+ "passive": false
2239
+ }
2240
+ ],
2241
+ "styles": [],
2242
+ "slots": [],
2243
+ "parts": [],
2244
+ "dependents": [],
2245
+ "dependencies": [
2246
+ "post-menu-trigger",
2247
+ "post-icon",
2248
+ "post-menu"
2249
+ ],
2250
+ "dependencyGraph": {
2251
+ "post-language-switch": [
2252
+ "post-menu-trigger",
2253
+ "post-icon",
2254
+ "post-menu"
2255
+ ],
2256
+ "post-menu": [
2257
+ "post-popovercontainer"
2258
+ ]
2259
+ }
2260
+ },
2261
+ {
2262
+ "filePath": "src/components/post-linkarea/post-linkarea.tsx",
2263
+ "encapsulation": "none",
2264
+ "tag": "post-linkarea",
2265
+ "readme": "# post-linkarea\n\n\n",
2266
+ "docs": "",
2267
+ "docsTags": [],
2268
+ "usage": {},
2269
+ "props": [],
2270
+ "methods": [],
2271
+ "events": [],
2272
+ "listeners": [],
2273
+ "styles": [],
2274
+ "slots": [],
2275
+ "parts": [],
2276
+ "dependents": [],
2277
+ "dependencies": [],
2278
+ "dependencyGraph": {}
2279
+ },
2280
+ {
2281
+ "filePath": "src/components/post-list/post-list.tsx",
2282
+ "encapsulation": "none",
2283
+ "tag": "post-list",
2284
+ "readme": "# post-list\n\n\n",
2285
+ "docs": "",
2286
+ "docsTags": [
2287
+ {
2288
+ "name": "slot",
2289
+ "text": "default - Slot for placing the list title."
2290
+ },
2291
+ {
2292
+ "name": "slot",
2293
+ "text": "post-list-item - Slot for placing post-list-item components."
2294
+ }
2295
+ ],
2296
+ "usage": {},
2297
+ "props": [
2298
+ {
2299
+ "name": "horizontal",
2300
+ "type": "boolean",
2301
+ "complexType": {
2302
+ "original": "boolean",
2303
+ "resolved": "boolean",
2304
+ "references": {}
2305
+ },
2306
+ "mutable": false,
2307
+ "attr": "horizontal",
2308
+ "reflectToAttr": true,
2309
+ "docs": "The list can become horizontal by setting `horizontal=\"true\"` or just `horizontal`",
2310
+ "docsTags": [],
2311
+ "default": "false",
2312
+ "values": [
2313
+ {
2314
+ "type": "boolean"
2315
+ }
2316
+ ],
2317
+ "optional": false,
2318
+ "required": false
2319
+ },
2320
+ {
2321
+ "name": "titleHidden",
2322
+ "type": "boolean",
2323
+ "complexType": {
2324
+ "original": "boolean",
2325
+ "resolved": "boolean",
2326
+ "references": {}
2327
+ },
2328
+ "mutable": false,
2329
+ "attr": "title-hidden",
2330
+ "reflectToAttr": false,
2331
+ "docs": "If `true`, the list title will be hidden. Otherwise, it will be displayed.`",
2332
+ "docsTags": [],
2333
+ "default": "false",
2334
+ "values": [
2335
+ {
2336
+ "type": "boolean"
2337
+ }
2338
+ ],
2339
+ "optional": false,
2340
+ "required": false
2341
+ }
2342
+ ],
2343
+ "methods": [],
2344
+ "events": [],
2345
+ "listeners": [],
2346
+ "styles": [],
2347
+ "slots": [
2348
+ {
2349
+ "name": "default",
2350
+ "docs": "Slot for placing the list title."
2351
+ },
2352
+ {
2353
+ "name": "post-list-item",
2354
+ "docs": "Slot for placing post-list-item components."
2355
+ }
2356
+ ],
2357
+ "parts": [],
2358
+ "dependents": [],
2359
+ "dependencies": [],
2360
+ "dependencyGraph": {}
2361
+ },
2362
+ {
2363
+ "filePath": "src/components/post-list-item/post-list-item.tsx",
2364
+ "encapsulation": "shadow",
2365
+ "tag": "post-list-item",
2366
+ "readme": "# post-list-item\n\n\n",
2367
+ "docs": "",
2368
+ "docsTags": [
2369
+ {
2370
+ "name": "slot",
2371
+ "text": "default- Slot for placing the content of the list item."
2372
+ }
2373
+ ],
2374
+ "usage": {},
2375
+ "props": [],
2376
+ "methods": [],
2377
+ "events": [],
2378
+ "listeners": [],
2379
+ "styles": [],
2380
+ "slots": [
2381
+ {
2382
+ "name": "default- Slot for placing the content of the list item.",
2383
+ "docs": ""
2384
+ }
2385
+ ],
2386
+ "parts": [],
2387
+ "dependents": [],
2388
+ "dependencies": [],
2389
+ "dependencyGraph": {}
2390
+ },
2391
+ {
2392
+ "filePath": "src/components/post-logo/post-logo.tsx",
2393
+ "encapsulation": "shadow",
2394
+ "tag": "post-logo",
2395
+ "readme": "# post-logo\n\n\n",
2396
+ "docs": "",
2397
+ "docsTags": [
2398
+ {
2399
+ "name": "slot",
2400
+ "text": "default - Slot for placing hidden descriptive text. If `url` is set, this text will serve as the accessible name of the link; otherwise, it will be used as the title of the SVG."
2401
+ }
2402
+ ],
2403
+ "usage": {},
2404
+ "props": [
2405
+ {
2406
+ "name": "url",
2407
+ "type": "URL | string",
2408
+ "complexType": {
2409
+ "original": "string | URL",
2410
+ "resolved": "URL | string",
2411
+ "references": {
2412
+ "URL": {
2413
+ "location": "global",
2414
+ "id": "global::URL"
2415
+ }
2416
+ }
2417
+ },
2418
+ "mutable": false,
2419
+ "attr": "url",
2420
+ "reflectToAttr": false,
2421
+ "docs": "The URL to which the user is redirected upon clicking the logo.",
2422
+ "docsTags": [],
2423
+ "values": [
2424
+ {
2425
+ "type": "URL"
2426
+ },
2427
+ {
2428
+ "type": "string"
2429
+ }
2430
+ ],
2431
+ "optional": false,
2432
+ "required": false
2433
+ }
2434
+ ],
2435
+ "methods": [],
2436
+ "events": [],
2437
+ "listeners": [],
2438
+ "styles": [],
2439
+ "slots": [
2440
+ {
2441
+ "name": "default",
2442
+ "docs": "Slot for placing hidden descriptive text. If `url` is set, this text will serve as the accessible name of the link; otherwise, it will be used as the title of the SVG."
2443
+ }
2444
+ ],
2445
+ "parts": [],
2446
+ "dependents": [],
2447
+ "dependencies": [],
2448
+ "dependencyGraph": {}
2449
+ },
2450
+ {
2451
+ "filePath": "src/components/post-mainnavigation/post-mainnavigation.tsx",
2452
+ "encapsulation": "none",
2453
+ "tag": "post-mainnavigation",
2454
+ "readme": "# post-mainnavigation\n\n\n",
2455
+ "docs": "",
2456
+ "docsTags": [],
2457
+ "usage": {},
2458
+ "props": [],
2459
+ "methods": [],
2460
+ "events": [],
2461
+ "listeners": [
2462
+ {
2463
+ "event": "mouseup",
2464
+ "target": "window",
2465
+ "capture": false,
2466
+ "passive": true
2467
+ }
2468
+ ],
2469
+ "styles": [],
2470
+ "slots": [],
2471
+ "parts": [],
2472
+ "dependents": [],
2473
+ "dependencies": [
2474
+ "post-icon"
2475
+ ],
2476
+ "dependencyGraph": {
2477
+ "post-mainnavigation": [
2478
+ "post-icon"
2479
+ ]
2480
+ }
2481
+ },
2482
+ {
2483
+ "filePath": "src/components/post-megadropdown/post-megadropdown.tsx",
2484
+ "encapsulation": "none",
2485
+ "tag": "post-megadropdown",
2486
+ "readme": "# post-megadropdown\n\n\n",
2487
+ "docs": "",
2488
+ "docsTags": [],
2489
+ "usage": {},
2490
+ "props": [],
2491
+ "methods": [
2492
+ {
2493
+ "name": "focusFirst",
2494
+ "returns": {
2495
+ "type": "Promise<void>",
2496
+ "docs": ""
2497
+ },
2498
+ "complexType": {
2499
+ "signature": "() => Promise<void>",
2500
+ "parameters": [],
2501
+ "references": {
2502
+ "Promise": {
2503
+ "location": "global",
2504
+ "id": "global::Promise"
2505
+ }
2506
+ },
2507
+ "return": "Promise<void>"
2508
+ },
2509
+ "signature": "focusFirst() => Promise<void>",
2510
+ "parameters": [],
2511
+ "docs": "Sets focus to the first focusable element within the component.",
2512
+ "docsTags": []
2513
+ },
2514
+ {
2515
+ "name": "hide",
2516
+ "returns": {
2517
+ "type": "Promise<void>",
2518
+ "docs": ""
2519
+ },
2520
+ "complexType": {
2521
+ "signature": "(focusParent?: boolean, forceClose?: boolean) => Promise<void>",
2522
+ "parameters": [
2523
+ {
2524
+ "name": "focusParent",
2525
+ "type": "boolean",
2526
+ "docs": ""
2527
+ },
2528
+ {
2529
+ "name": "forceClose",
2530
+ "type": "boolean",
2531
+ "docs": ""
2532
+ }
2533
+ ],
2534
+ "references": {
2535
+ "Promise": {
2536
+ "location": "global",
2537
+ "id": "global::Promise"
2538
+ }
2539
+ },
2540
+ "return": "Promise<void>"
2541
+ },
2542
+ "signature": "hide(focusParent?: boolean, forceClose?: boolean) => Promise<void>",
2543
+ "parameters": [
2544
+ {
2545
+ "name": "focusParent",
2546
+ "type": "boolean",
2547
+ "docs": ""
2548
+ },
2549
+ {
2550
+ "name": "forceClose",
2551
+ "type": "boolean",
2552
+ "docs": ""
2553
+ }
2554
+ ],
2555
+ "docs": "Hides the dropdown with an animation.",
2556
+ "docsTags": []
2557
+ },
2558
+ {
2559
+ "name": "show",
2560
+ "returns": {
2561
+ "type": "Promise<void>",
2562
+ "docs": ""
2563
+ },
2564
+ "complexType": {
2565
+ "signature": "() => Promise<void>",
2566
+ "parameters": [],
2567
+ "references": {
2568
+ "Promise": {
2569
+ "location": "global",
2570
+ "id": "global::Promise"
2571
+ }
2572
+ },
2573
+ "return": "Promise<void>"
2574
+ },
2575
+ "signature": "show() => Promise<void>",
2576
+ "parameters": [],
2577
+ "docs": "Displays the dropdown.",
2578
+ "docsTags": []
2579
+ },
2580
+ {
2581
+ "name": "toggle",
2582
+ "returns": {
2583
+ "type": "Promise<void>",
2584
+ "docs": ""
2585
+ },
2586
+ "complexType": {
2587
+ "signature": "() => Promise<void>",
2588
+ "parameters": [],
2589
+ "references": {
2590
+ "Promise": {
2591
+ "location": "global",
2592
+ "id": "global::Promise"
2593
+ }
2594
+ },
2595
+ "return": "Promise<void>"
2596
+ },
2597
+ "signature": "toggle() => Promise<void>",
2598
+ "parameters": [],
2599
+ "docs": "Toggles the dropdown visibility based on its current state.",
2600
+ "docsTags": []
2601
+ }
2602
+ ],
2603
+ "events": [
2604
+ {
2605
+ "event": "postToggleMegadropdown",
2606
+ "detail": "{ isVisible: boolean; focusParent?: boolean; }",
2607
+ "bubbles": true,
2608
+ "complexType": {
2609
+ "original": "{ isVisible: boolean; focusParent?: boolean }",
2610
+ "resolved": "{ isVisible: boolean; focusParent?: boolean; }",
2611
+ "references": {}
2612
+ },
2613
+ "cancelable": true,
2614
+ "composed": true,
2615
+ "docs": "Emits when the dropdown is shown or hidden.\nThe event payload is an object.\n`isVisible` is true when the dropdown gets opened and false when it gets closed\n`focusParent` determines whether after the closing of the mega dropdown, the focus should go back to the trigger parent or naturally go to the next focusable element in the page",
2616
+ "docsTags": []
2617
+ }
2618
+ ],
2619
+ "listeners": [],
2620
+ "styles": [],
2621
+ "slots": [],
2622
+ "parts": [],
2623
+ "dependents": [],
2624
+ "dependencies": [],
2625
+ "dependencyGraph": {}
2626
+ },
2627
+ {
2628
+ "filePath": "src/components/post-megadropdown-trigger/post-megadropdown-trigger.tsx",
2629
+ "encapsulation": "none",
2630
+ "tag": "post-megadropdown-trigger",
2631
+ "readme": "# post-megadropdown-toggle\n\n\n",
2632
+ "docs": "",
2633
+ "docsTags": [],
2634
+ "usage": {},
2635
+ "props": [
2636
+ {
2637
+ "name": "for",
2638
+ "type": "string",
2639
+ "complexType": {
2640
+ "original": "string",
2641
+ "resolved": "string",
2642
+ "references": {}
2643
+ },
2644
+ "mutable": false,
2645
+ "attr": "for",
2646
+ "reflectToAttr": false,
2647
+ "docs": "ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.",
2648
+ "docsTags": [],
2649
+ "values": [
2650
+ {
2651
+ "type": "string"
2652
+ }
2653
+ ],
2654
+ "optional": false,
2655
+ "required": true
2656
+ }
2657
+ ],
2658
+ "methods": [],
2659
+ "events": [],
2660
+ "listeners": [],
2661
+ "styles": [],
2662
+ "slots": [],
2663
+ "parts": [],
2664
+ "dependents": [],
2665
+ "dependencies": [],
2666
+ "dependencyGraph": {}
2667
+ },
2668
+ {
2669
+ "filePath": "src/components/post-menu/post-menu.tsx",
2670
+ "encapsulation": "shadow",
2671
+ "tag": "post-menu",
2672
+ "readme": "# post-menu\n\n\n",
2673
+ "docs": "",
2674
+ "docsTags": [],
2675
+ "usage": {},
2676
+ "props": [
2677
+ {
2678
+ "name": "placement",
2679
+ "type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
2680
+ "complexType": {
2681
+ "original": "Placement",
2682
+ "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
2683
+ "references": {
2684
+ "Placement": {
2685
+ "location": "import",
2686
+ "path": "@floating-ui/dom",
2687
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
2688
+ }
2689
+ }
2690
+ },
2691
+ "mutable": false,
2692
+ "attr": "placement",
2693
+ "reflectToAttr": false,
2694
+ "docs": "Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.\nTooltips are automatically flipped to the opposite side if there is not enough available space and are shifted\ntowards the viewport if they would overlap edge boundaries.",
2695
+ "docsTags": [],
2696
+ "default": "'bottom'",
2697
+ "values": [
2698
+ {
2699
+ "value": "bottom",
2700
+ "type": "string"
2701
+ },
2702
+ {
2703
+ "value": "bottom-end",
2704
+ "type": "string"
2705
+ },
2706
+ {
2707
+ "value": "bottom-start",
2708
+ "type": "string"
2709
+ },
2710
+ {
2711
+ "value": "left",
2712
+ "type": "string"
2713
+ },
2714
+ {
2715
+ "value": "left-end",
2716
+ "type": "string"
2717
+ },
2718
+ {
2719
+ "value": "left-start",
2720
+ "type": "string"
2721
+ },
2722
+ {
2723
+ "value": "right",
2724
+ "type": "string"
2725
+ },
2726
+ {
2727
+ "value": "right-end",
2728
+ "type": "string"
2729
+ },
2730
+ {
2731
+ "value": "right-start",
2732
+ "type": "string"
2733
+ },
2734
+ {
2735
+ "value": "top",
2736
+ "type": "string"
2737
+ },
2738
+ {
2739
+ "value": "top-end",
2740
+ "type": "string"
2741
+ },
2742
+ {
2743
+ "value": "top-start",
2744
+ "type": "string"
2745
+ }
2746
+ ],
2747
+ "optional": true,
2748
+ "required": false
2749
+ }
2750
+ ],
2751
+ "methods": [
2752
+ {
2753
+ "name": "hide",
2754
+ "returns": {
2755
+ "type": "Promise<void>",
2756
+ "docs": ""
2757
+ },
2758
+ "complexType": {
2759
+ "signature": "() => Promise<void>",
2760
+ "parameters": [],
2761
+ "references": {
2762
+ "Promise": {
2763
+ "location": "global",
2764
+ "id": "global::Promise"
2765
+ }
2766
+ },
2767
+ "return": "Promise<void>"
2768
+ },
2769
+ "signature": "hide() => Promise<void>",
2770
+ "parameters": [],
2771
+ "docs": "Hides the popover menu and restores focus to the previously focused element.",
2772
+ "docsTags": []
2773
+ },
2774
+ {
2775
+ "name": "show",
2776
+ "returns": {
2777
+ "type": "Promise<void>",
2778
+ "docs": ""
2779
+ },
2780
+ "complexType": {
2781
+ "signature": "(target: HTMLElement) => Promise<void>",
2782
+ "parameters": [
2783
+ {
2784
+ "name": "target",
2785
+ "type": "HTMLElement",
2786
+ "docs": "- The HTML element relative to which the popover menu should be displayed."
2787
+ }
2788
+ ],
2789
+ "references": {
2790
+ "Promise": {
2791
+ "location": "global",
2792
+ "id": "global::Promise"
2793
+ },
2794
+ "HTMLElement": {
2795
+ "location": "global",
2796
+ "id": "global::HTMLElement"
2797
+ }
2798
+ },
2799
+ "return": "Promise<void>"
2800
+ },
2801
+ "signature": "show(target: HTMLElement) => Promise<void>",
2802
+ "parameters": [
1520
2803
  {
1521
- "type": "string"
2804
+ "name": "target",
2805
+ "type": "HTMLElement",
2806
+ "docs": "- The HTML element relative to which the popover menu should be displayed."
1522
2807
  }
1523
2808
  ],
1524
- "optional": false,
1525
- "required": false
1526
- }
1527
- ],
1528
- "methods": [
2809
+ "docs": "Displays the popover menu, focusing the first menu item.",
2810
+ "docsTags": [
2811
+ {
2812
+ "name": "param",
2813
+ "text": "target - The HTML element relative to which the popover menu should be displayed."
2814
+ }
2815
+ ]
2816
+ },
1529
2817
  {
1530
- "name": "select",
2818
+ "name": "toggle",
1531
2819
  "returns": {
1532
2820
  "type": "Promise<void>",
1533
2821
  "docs": ""
1534
2822
  },
1535
2823
  "complexType": {
1536
- "signature": "() => Promise<void>",
1537
- "parameters": [],
2824
+ "signature": "(target: HTMLElement) => Promise<void>",
2825
+ "parameters": [
2826
+ {
2827
+ "name": "target",
2828
+ "type": "HTMLElement",
2829
+ "docs": ""
2830
+ }
2831
+ ],
1538
2832
  "references": {
1539
2833
  "Promise": {
1540
2834
  "location": "global",
1541
2835
  "id": "global::Promise"
2836
+ },
2837
+ "HTMLElement": {
2838
+ "location": "global",
2839
+ "id": "global::HTMLElement"
1542
2840
  }
1543
2841
  },
1544
2842
  "return": "Promise<void>"
1545
2843
  },
1546
- "signature": "select() => Promise<void>",
1547
- "parameters": [],
1548
- "docs": "Selects the language option programmatically.",
2844
+ "signature": "toggle(target: HTMLElement) => Promise<void>",
2845
+ "parameters": [
2846
+ {
2847
+ "name": "target",
2848
+ "type": "HTMLElement",
2849
+ "docs": ""
2850
+ }
2851
+ ],
2852
+ "docs": "Toggles the menu visibility based on its current state.",
1549
2853
  "docsTags": []
1550
2854
  }
1551
2855
  ],
1552
2856
  "events": [
1553
2857
  {
1554
- "event": "postChange",
1555
- "detail": "string",
2858
+ "event": "toggleMenu",
2859
+ "detail": "boolean",
1556
2860
  "bubbles": true,
1557
2861
  "complexType": {
1558
- "original": "string",
1559
- "resolved": "string",
2862
+ "original": "boolean",
2863
+ "resolved": "boolean",
1560
2864
  "references": {}
1561
2865
  },
1562
2866
  "cancelable": true,
1563
2867
  "composed": true,
1564
- "docs": "An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.",
2868
+ "docs": "Emits when the menu is shown or hidden.\nThe event payload is a boolean: `true` when the menu was opened, `false` when it was closed.",
1565
2869
  "docsTags": []
1566
2870
  }
1567
2871
  ],
1568
2872
  "listeners": [],
1569
2873
  "styles": [],
1570
- "slots": [
2874
+ "slots": [],
2875
+ "parts": [
1571
2876
  {
1572
- "name": "default",
1573
- "docs": "Slot for placing the content inside the anchor or button."
2877
+ "name": "popover-container",
2878
+ "docs": ""
1574
2879
  }
1575
2880
  ],
2881
+ "dependents": [
2882
+ "post-breadcrumb",
2883
+ "post-language-switch"
2884
+ ],
2885
+ "dependencies": [
2886
+ "post-popovercontainer"
2887
+ ],
2888
+ "dependencyGraph": {
2889
+ "post-menu": [
2890
+ "post-popovercontainer"
2891
+ ],
2892
+ "post-breadcrumb": [
2893
+ "post-menu"
2894
+ ],
2895
+ "post-language-switch": [
2896
+ "post-menu"
2897
+ ]
2898
+ }
2899
+ },
2900
+ {
2901
+ "filePath": "src/components/post-menu-item/post-menu-item.tsx",
2902
+ "encapsulation": "none",
2903
+ "tag": "post-menu-item",
2904
+ "readme": "# post-menu-item\n\n\n",
2905
+ "docs": "",
2906
+ "docsTags": [],
2907
+ "usage": {},
2908
+ "props": [],
2909
+ "methods": [],
2910
+ "events": [],
2911
+ "listeners": [],
2912
+ "styles": [],
2913
+ "slots": [],
1576
2914
  "parts": [],
1577
- "dependents": [],
2915
+ "dependents": [
2916
+ "post-breadcrumb"
2917
+ ],
1578
2918
  "dependencies": [],
1579
- "dependencyGraph": {}
2919
+ "dependencyGraph": {
2920
+ "post-breadcrumb": [
2921
+ "post-menu-item"
2922
+ ]
2923
+ }
1580
2924
  },
1581
2925
  {
1582
- "filePath": "src/components/post-logo/post-logo.tsx",
1583
- "encapsulation": "shadow",
1584
- "tag": "post-logo",
1585
- "readme": "# post-logo\n\n\n",
2926
+ "filePath": "src/components/post-menu-trigger/post-menu-trigger.tsx",
2927
+ "encapsulation": "none",
2928
+ "tag": "post-menu-trigger",
2929
+ "readme": "# post-menu-trigger\n\n\n",
1586
2930
  "docs": "",
1587
- "docsTags": [
1588
- {
1589
- "name": "slot",
1590
- "text": "default - Slot for placing hidden descriptive text. If `url` is set, this text will serve as the accessible name of the link; otherwise, it will be used as the title of the SVG."
1591
- }
1592
- ],
2931
+ "docsTags": [],
1593
2932
  "usage": {},
1594
2933
  "props": [
1595
2934
  {
1596
- "name": "url",
1597
- "type": "URL | string",
2935
+ "name": "for",
2936
+ "type": "string",
1598
2937
  "complexType": {
1599
- "original": "string | URL",
1600
- "resolved": "URL | string",
1601
- "references": {
1602
- "URL": {
1603
- "location": "global",
1604
- "id": "global::URL"
1605
- }
1606
- }
2938
+ "original": "string",
2939
+ "resolved": "string",
2940
+ "references": {}
1607
2941
  },
1608
2942
  "mutable": false,
1609
- "attr": "url",
2943
+ "attr": "for",
1610
2944
  "reflectToAttr": false,
1611
- "docs": "The URL to which the user is redirected upon clicking the logo.",
2945
+ "docs": "ID of the menu element that this trigger is linked to. Used to open and close the specified menu.",
1612
2946
  "docsTags": [],
1613
2947
  "values": [
1614
- {
1615
- "type": "URL"
1616
- },
1617
2948
  {
1618
2949
  "type": "string"
1619
2950
  }
1620
2951
  ],
1621
2952
  "optional": false,
1622
- "required": false
2953
+ "required": true
1623
2954
  }
1624
2955
  ],
1625
2956
  "methods": [],
1626
2957
  "events": [],
1627
2958
  "listeners": [],
1628
2959
  "styles": [],
1629
- "slots": [
1630
- {
1631
- "name": "default",
1632
- "docs": "Slot for placing hidden descriptive text. If `url` is set, this text will serve as the accessible name of the link; otherwise, it will be used as the title of the SVG."
1633
- }
1634
- ],
2960
+ "slots": [],
1635
2961
  "parts": [],
1636
- "dependents": [],
2962
+ "dependents": [
2963
+ "post-breadcrumb",
2964
+ "post-language-switch"
2965
+ ],
1637
2966
  "dependencies": [],
1638
- "dependencyGraph": {}
2967
+ "dependencyGraph": {
2968
+ "post-breadcrumb": [
2969
+ "post-menu-trigger"
2970
+ ],
2971
+ "post-language-switch": [
2972
+ "post-menu-trigger"
2973
+ ]
2974
+ }
1639
2975
  },
1640
2976
  {
1641
2977
  "filePath": "src/components/post-popover/post-popover.tsx",
@@ -1699,7 +3035,7 @@
1699
3035
  "Placement": {
1700
3036
  "location": "import",
1701
3037
  "path": "@floating-ui/dom",
1702
- "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
3038
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
1703
3039
  }
1704
3040
  }
1705
3041
  },
@@ -1906,7 +3242,7 @@
1906
3242
  "filePath": "src/components/post-popovercontainer/post-popovercontainer.tsx",
1907
3243
  "encapsulation": "none",
1908
3244
  "tag": "post-popovercontainer",
1909
- "readme": "# post-popover\n\n\n",
3245
+ "readme": "# post-popover\n",
1910
3246
  "docs": "",
1911
3247
  "docsTags": [
1912
3248
  {
@@ -1927,7 +3263,7 @@
1927
3263
  "mutable": false,
1928
3264
  "attr": "arrow",
1929
3265
  "reflectToAttr": false,
1930
- "docs": "Wheter or not to display a little pointer arrow",
3266
+ "docs": "Whether or not to display a little pointer arrow",
1931
3267
  "docsTags": [],
1932
3268
  "default": "false",
1933
3269
  "values": [
@@ -1938,6 +3274,50 @@
1938
3274
  "optional": true,
1939
3275
  "required": false
1940
3276
  },
3277
+ {
3278
+ "name": "edgeGap",
3279
+ "type": "number",
3280
+ "complexType": {
3281
+ "original": "number",
3282
+ "resolved": "number",
3283
+ "references": {}
3284
+ },
3285
+ "mutable": false,
3286
+ "attr": "edge-gap",
3287
+ "reflectToAttr": false,
3288
+ "docs": "Gap between the edge of the page and the popover",
3289
+ "docsTags": [],
3290
+ "default": "8",
3291
+ "values": [
3292
+ {
3293
+ "type": "number"
3294
+ }
3295
+ ],
3296
+ "optional": true,
3297
+ "required": false
3298
+ },
3299
+ {
3300
+ "name": "manualClose",
3301
+ "type": "boolean",
3302
+ "complexType": {
3303
+ "original": "boolean",
3304
+ "resolved": "boolean",
3305
+ "references": {}
3306
+ },
3307
+ "mutable": false,
3308
+ "attr": "manual-close",
3309
+ "reflectToAttr": false,
3310
+ "docs": "Whether or not the popover should close when user clicks outside of it",
3311
+ "docsTags": [],
3312
+ "default": "false",
3313
+ "values": [
3314
+ {
3315
+ "type": "boolean"
3316
+ }
3317
+ ],
3318
+ "optional": false,
3319
+ "required": false
3320
+ },
1941
3321
  {
1942
3322
  "name": "placement",
1943
3323
  "type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
@@ -1948,7 +3328,7 @@
1948
3328
  "Placement": {
1949
3329
  "location": "import",
1950
3330
  "path": "@floating-ui/dom",
1951
- "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
3331
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
1952
3332
  }
1953
3333
  }
1954
3334
  },
@@ -2010,6 +3390,32 @@
2010
3390
  ],
2011
3391
  "optional": true,
2012
3392
  "required": false
3393
+ },
3394
+ {
3395
+ "name": "safeSpace",
3396
+ "type": "\"trapezoid\" | \"triangle\"",
3397
+ "complexType": {
3398
+ "original": "'triangle' | 'trapezoid'",
3399
+ "resolved": "\"trapezoid\" | \"triangle\"",
3400
+ "references": {}
3401
+ },
3402
+ "mutable": false,
3403
+ "attr": "safe-space",
3404
+ "reflectToAttr": true,
3405
+ "docs": "Enables a safespace through which the cursor can be moved without the popover being disabled",
3406
+ "docsTags": [],
3407
+ "values": [
3408
+ {
3409
+ "value": "trapezoid",
3410
+ "type": "string"
3411
+ },
3412
+ {
3413
+ "value": "triangle",
3414
+ "type": "string"
3415
+ }
3416
+ ],
3417
+ "optional": true,
3418
+ "required": false
2013
3419
  }
2014
3420
  ],
2015
3421
  "methods": [
@@ -2162,11 +3568,15 @@
2162
3568
  ],
2163
3569
  "parts": [],
2164
3570
  "dependents": [
3571
+ "post-menu",
2165
3572
  "post-popover",
2166
3573
  "post-tooltip"
2167
3574
  ],
2168
3575
  "dependencies": [],
2169
3576
  "dependencyGraph": {
3577
+ "post-menu": [
3578
+ "post-popovercontainer"
3579
+ ],
2170
3580
  "post-popover": [
2171
3581
  "post-popovercontainer"
2172
3582
  ],
@@ -2524,14 +3934,9 @@
2524
3934
  "detail": "string",
2525
3935
  "bubbles": true,
2526
3936
  "complexType": {
2527
- "original": "HTMLPostTabPanelElement['name']",
3937
+ "original": "string",
2528
3938
  "resolved": "string",
2529
- "references": {
2530
- "HTMLPostTabPanelElement": {
2531
- "location": "global",
2532
- "id": "global::HTMLPostTabPanelElement"
2533
- }
2534
- }
3939
+ "references": {}
2535
3940
  },
2536
3941
  "cancelable": true,
2537
3942
  "composed": true,
@@ -2590,7 +3995,7 @@
2590
3995
  "mutable": false,
2591
3996
  "attr": "icon",
2592
3997
  "reflectToAttr": false,
2593
- "docs": "Defines the icon `name` inside of the component.\n<span className=\"alert alert-sm alert-info\">If not set the icon will not show up.</span>\nTo learn which icons are available, please visit our <a href=\"/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs\">icon library</a>.",
3998
+ "docs": "Defines the icon `name` inside of the component.\n<span className=\"banner banner-sm banner-info\">If not set the icon will not show up.</span>\nTo learn which icons are available, please visit our <a href=\"/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs\">icon library</a>.",
2594
3999
  "docsTags": [],
2595
4000
  "default": "null",
2596
4001
  "values": [
@@ -2688,6 +4093,58 @@
2688
4093
  ]
2689
4094
  }
2690
4095
  },
4096
+ {
4097
+ "filePath": "src/components/post-togglebutton/post-togglebutton.tsx",
4098
+ "encapsulation": "shadow",
4099
+ "tag": "post-togglebutton",
4100
+ "readme": "# post-togglebutton\n\n\n",
4101
+ "docs": "",
4102
+ "docsTags": [
4103
+ {
4104
+ "name": "slot",
4105
+ "text": "default - Slot for the content of the button."
4106
+ }
4107
+ ],
4108
+ "usage": {},
4109
+ "props": [
4110
+ {
4111
+ "name": "toggled",
4112
+ "type": "boolean",
4113
+ "complexType": {
4114
+ "original": "boolean",
4115
+ "resolved": "boolean",
4116
+ "references": {}
4117
+ },
4118
+ "mutable": true,
4119
+ "attr": "toggled",
4120
+ "reflectToAttr": false,
4121
+ "docs": "If `true`, the button is in the \"on\" state, otherwise it is in the \"off\" state.",
4122
+ "docsTags": [],
4123
+ "default": "false",
4124
+ "values": [
4125
+ {
4126
+ "type": "boolean"
4127
+ }
4128
+ ],
4129
+ "optional": false,
4130
+ "required": false
4131
+ }
4132
+ ],
4133
+ "methods": [],
4134
+ "events": [],
4135
+ "listeners": [],
4136
+ "styles": [],
4137
+ "slots": [
4138
+ {
4139
+ "name": "default",
4140
+ "docs": "Slot for the content of the button."
4141
+ }
4142
+ ],
4143
+ "parts": [],
4144
+ "dependents": [],
4145
+ "dependencies": [],
4146
+ "dependencyGraph": {}
4147
+ },
2691
4148
  {
2692
4149
  "filePath": "src/components/post-tooltip/post-tooltip.tsx",
2693
4150
  "encapsulation": "shadow",
@@ -2751,7 +4208,7 @@
2751
4208
  "Placement": {
2752
4209
  "location": "import",
2753
4210
  "path": "@floating-ui/dom",
2754
- "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
4211
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
2755
4212
  }
2756
4213
  }
2757
4214
  },
@@ -2970,20 +4427,30 @@
2970
4427
  }
2971
4428
  ],
2972
4429
  "typeLibrary": {
4430
+ "src/components/post-header/post-header.tsx::DEVICE_SIZE": {
4431
+ "declaration": "export type DEVICE_SIZE = 'mobile' | 'tablet' | 'desktop' | null;",
4432
+ "docstring": "",
4433
+ "path": "src/components/post-header/post-header.tsx"
4434
+ },
2973
4435
  "src/types/index.ts::HeadingLevel": {
2974
4436
  "declaration": "any",
2975
4437
  "docstring": "",
2976
4438
  "path": "src/types/index.ts"
2977
4439
  },
2978
- "src/components/post-alert/alert-types.ts::AlertType": {
2979
- "declaration": "\"primary\" | \"success\" | \"warning\" | \"danger\" | \"info\" | \"gray\"",
4440
+ "src/components/post-banner/banner-types.ts::BannerType": {
4441
+ "declaration": "\"neutral\" | \"success\" | \"warning\" | \"danger\" | \"info\"",
4442
+ "docstring": "",
4443
+ "path": "src/components/post-banner/banner-types.ts"
4444
+ },
4445
+ "src/components/post-language-switch/switch-variants.ts::SwitchVariant": {
4446
+ "declaration": "\"menu\" | \"list\"",
2980
4447
  "docstring": "",
2981
- "path": "src/components/post-alert/alert-types.ts"
4448
+ "path": "src/components/post-language-switch/switch-variants.ts"
2982
4449
  },
2983
- "../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
4450
+ "../../node_modules/.pnpm/@floating-ui+dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
2984
4451
  "declaration": "any",
2985
4452
  "docstring": "",
2986
- "path": "../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts"
4453
+ "path": "../../node_modules/.pnpm/@floating-ui+dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts"
2987
4454
  }
2988
4455
  }
2989
4456
  }