@swisspost/design-system-components 9.0.0-next.4 → 9.0.0-next.6

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 (336) hide show
  1. package/dist/cjs/check-type-64af82a9.js +16 -0
  2. package/dist/cjs/get-root-7a3498ef.js +11 -0
  3. package/dist/cjs/{index-01f30442.js → index-824d2b71.js} +2 -15
  4. package/dist/cjs/index-e1f32cce.js +14 -22
  5. package/dist/cjs/index.cjs.js +37 -30
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{package-3f706795.js → package-81d89808.js} +1 -1
  8. package/dist/cjs/{post-accordion-0391f4c5.js → post-accordion-7d2805f4.js} +1 -1
  9. package/dist/cjs/{post-accordion-item-19ce78d0.js → post-accordion-item-0d8b65b1.js} +2 -2
  10. package/dist/cjs/post-accordion-item.cjs.entry.js +4 -3
  11. package/dist/cjs/post-accordion.cjs.entry.js +2 -2
  12. package/dist/cjs/{post-avatar-ffba1d23.js → post-avatar-0b87e44f.js} +1 -1
  13. package/dist/cjs/post-avatar.cjs.entry.js +2 -2
  14. package/dist/cjs/post-banner-e42f02bd.js +90 -0
  15. package/dist/cjs/{post-alert.cjs.entry.js → post-banner.cjs.entry.js} +5 -4
  16. package/dist/cjs/{post-breadcrumb-item-42466f8a.js → post-breadcrumb-item-46a8e876.js} +2 -2
  17. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +4 -3
  18. package/dist/cjs/post-card-control-7d3c5545.js +272 -0
  19. package/dist/cjs/post-card-control.cjs.entry.js +2 -2
  20. package/dist/cjs/post-closebutton_10.cjs.entry.js +25 -0
  21. package/dist/cjs/{post-collapsible-trigger-c843f028.js → post-collapsible-trigger-ae50d0d4.js} +6 -12
  22. package/dist/cjs/post-collapsible_2.cjs.entry.js +5 -3
  23. package/dist/cjs/post-components.cjs.js +1 -1
  24. package/dist/cjs/{post-language-option-dab6d431.js → post-language-option-c6049337.js} +4 -3
  25. package/dist/cjs/post-language-option.cjs.entry.js +4 -3
  26. package/dist/cjs/{post-popovercontainer-1e6be8ad.js → post-megadropdown-trigger-97472602.js} +516 -15
  27. package/dist/cjs/post-menu-61c31423.js +176 -0
  28. package/dist/cjs/post-menu-item-4f393cde.js +20 -0
  29. package/dist/cjs/post-menu-item.cjs.entry.js +11 -0
  30. package/dist/cjs/post-menu-trigger-44a5f8e9.js +75 -0
  31. package/dist/cjs/post-menu-trigger.cjs.entry.js +13 -0
  32. package/dist/cjs/post-menu.cjs.entry.js +11 -0
  33. package/dist/cjs/{post-popover-4457dd58.js → post-popover-44fdb733.js} +3 -3
  34. package/dist/cjs/post-popover.cjs.entry.js +2 -2
  35. package/dist/cjs/{post-rating-236273be.js → post-rating-4d5e7c8e.js} +2 -2
  36. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  37. package/dist/cjs/post-tab-header-3fcb40fa.js +32 -0
  38. package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
  39. package/dist/cjs/{post-tab-panel-e25974be.js → post-tab-panel-b1a41181.js} +2 -2
  40. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  41. package/dist/cjs/{post-tabs-dc99bddf.js → post-tabs-092790e4.js} +3 -3
  42. package/dist/cjs/post-tabs.cjs.entry.js +2 -2
  43. package/dist/cjs/{post-tag-a28852a8.js → post-tag-389a43f7.js} +2 -2
  44. package/dist/cjs/post-tag.cjs.entry.js +2 -2
  45. package/dist/cjs/{post-tooltip-78e4129b.js → post-tooltip-c42d6853.js} +3 -3
  46. package/dist/cjs/post-tooltip.cjs.entry.js +4 -3
  47. package/dist/collection/collection-manifest.json +9 -2
  48. package/dist/collection/components/post-avatar/post-avatar.js +1 -1
  49. package/dist/collection/components/post-banner/banner-types.js +1 -0
  50. package/dist/collection/components/post-banner/post-banner.css +3 -0
  51. package/dist/collection/components/{post-alert/post-alert.js → post-banner/post-banner.js} +39 -68
  52. package/dist/collection/components/post-card-control/post-card-control.css +1 -1
  53. package/dist/collection/components/post-card-control/post-card-control.js +8 -8
  54. package/dist/collection/components/post-header/post-header.css +1 -0
  55. package/dist/collection/components/post-header/post-header.js +103 -0
  56. package/dist/collection/components/post-list/post-list.js +2 -2
  57. package/dist/collection/components/post-list-item/post-list-item.js +1 -1
  58. package/dist/collection/components/post-logo/post-logo.js +1 -1
  59. package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -0
  60. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +61 -0
  61. package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -0
  62. package/dist/collection/components/post-megadropdown/post-megadropdown.js +137 -0
  63. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -0
  64. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +48 -0
  65. package/dist/collection/components/post-menu/post-menu.css +3 -0
  66. package/dist/collection/components/post-menu/post-menu.js +278 -0
  67. package/dist/collection/components/post-menu-item/post-menu-item.css +1 -0
  68. package/dist/collection/components/post-menu-item/post-menu-item.js +20 -0
  69. package/dist/collection/components/post-menu-trigger/post-menu-trigger.css +1 -0
  70. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +104 -0
  71. package/dist/collection/components/post-popover/post-popover.css +1 -1
  72. package/dist/collection/components/post-popover/post-popover.js +1 -1
  73. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
  74. package/dist/collection/components/post-rating/post-rating.js +1 -1
  75. package/dist/collection/components/post-tab-header/post-tab-header.css +1 -1
  76. package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
  77. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  78. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  79. package/dist/collection/components/post-tabs/post-tabs.js +1 -1
  80. package/dist/collection/components/post-tag/post-tag.js +2 -2
  81. package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
  82. package/dist/collection/index.js +8 -1
  83. package/dist/collection/utils/is-focusable.js +26 -0
  84. package/dist/components/get-root.js +9 -0
  85. package/dist/components/index.js +8 -1
  86. package/dist/components/package.js +1 -1
  87. package/dist/components/post-banner.d.ts +11 -0
  88. package/dist/components/post-banner.js +6 -0
  89. package/dist/components/post-banner2.js +125 -0
  90. package/dist/components/post-card-control2.js +3 -3
  91. package/dist/components/post-collapsible-trigger2.js +1 -8
  92. package/dist/components/post-header.d.ts +11 -0
  93. package/dist/components/post-header.js +6 -0
  94. package/dist/components/post-header2.js +235 -0
  95. package/dist/components/post-list-item2.js +1 -1
  96. package/dist/components/post-list2.js +2 -2
  97. package/dist/components/post-logo2.js +1 -1
  98. package/dist/components/post-mainnavigation.d.ts +11 -0
  99. package/dist/components/post-mainnavigation.js +6 -0
  100. package/dist/components/post-mainnavigation2.js +48 -0
  101. package/dist/components/post-megadropdown-trigger.d.ts +11 -0
  102. package/dist/components/post-megadropdown-trigger.js +6 -0
  103. package/dist/components/post-megadropdown-trigger2.js +39 -0
  104. package/dist/components/post-megadropdown.d.ts +11 -0
  105. package/dist/components/post-megadropdown.js +6 -0
  106. package/dist/components/post-megadropdown2.js +67 -0
  107. package/dist/components/post-menu-item.d.ts +11 -0
  108. package/dist/components/post-menu-item.js +6 -0
  109. package/dist/components/post-menu-item2.js +33 -0
  110. package/dist/components/post-menu-trigger.d.ts +11 -0
  111. package/dist/components/post-menu-trigger.js +6 -0
  112. package/dist/components/post-menu-trigger2.js +92 -0
  113. package/dist/components/{post-alert.d.ts → post-menu.d.ts} +4 -4
  114. package/dist/components/post-menu.js +6 -0
  115. package/dist/components/post-menu2.js +201 -0
  116. package/dist/components/post-popover2.js +2 -2
  117. package/dist/components/post-popovercontainer2.js +2 -2
  118. package/dist/components/post-rating2.js +1 -1
  119. package/dist/components/post-tab-header2.js +2 -2
  120. package/dist/components/post-tab-panel2.js +1 -1
  121. package/dist/components/post-tabs2.js +2 -2
  122. package/dist/components/post-tag2.js +1 -1
  123. package/dist/components/post-tooltip2.js +1 -1
  124. package/dist/docs.json +707 -187
  125. package/dist/esm/check-type-8828dbe4.js +14 -0
  126. package/dist/esm/get-root-7af2e0d1.js +9 -0
  127. package/dist/esm/index-e1b64755.js +14 -22
  128. package/dist/esm/{index-642cd1f2.js → index-f8a00dc0.js} +2 -14
  129. package/dist/esm/index.js +23 -23
  130. package/dist/esm/loader.js +1 -1
  131. package/dist/esm/package-c65b0409.js +3 -0
  132. package/dist/esm/{post-accordion-7ef6d6bf.js → post-accordion-c833c272.js} +1 -1
  133. package/dist/esm/{post-accordion-item-d98c612f.js → post-accordion-item-19fb4776.js} +2 -2
  134. package/dist/esm/post-accordion-item.entry.js +4 -3
  135. package/dist/esm/post-accordion.entry.js +2 -2
  136. package/dist/esm/{post-avatar-f743d28e.js → post-avatar-f43ebc89.js} +1 -1
  137. package/dist/esm/post-avatar.entry.js +2 -2
  138. package/dist/esm/post-banner-cf6f756b.js +88 -0
  139. package/dist/esm/{post-alert.entry.js → post-banner.entry.js} +4 -3
  140. package/dist/esm/{post-breadcrumb-item-e287afe1.js → post-breadcrumb-item-a93b91a7.js} +2 -2
  141. package/dist/esm/post-breadcrumb-item.entry.js +4 -3
  142. package/dist/esm/post-card-control-017fb9b2.js +270 -0
  143. package/dist/esm/post-card-control.entry.js +2 -2
  144. package/dist/esm/post-closebutton_10.entry.js +8 -0
  145. package/dist/esm/{post-collapsible-trigger-1eca7350.js → post-collapsible-trigger-7b3d0fd3.js} +4 -10
  146. package/dist/esm/post-collapsible_2.entry.js +5 -3
  147. package/dist/esm/post-components.js +1 -1
  148. package/dist/esm/{post-language-option-92ce480f.js → post-language-option-05f53f6f.js} +3 -2
  149. package/dist/esm/post-language-option.entry.js +4 -3
  150. package/dist/esm/{post-popovercontainer-409abba0.js → post-megadropdown-trigger-3112a42b.js} +509 -17
  151. package/dist/esm/post-menu-05396ff7.js +174 -0
  152. package/dist/esm/post-menu-item-bbbb6a7e.js +18 -0
  153. package/dist/esm/post-menu-item.entry.js +3 -0
  154. package/dist/esm/post-menu-trigger-f9f4d299.js +73 -0
  155. package/dist/esm/post-menu-trigger.entry.js +5 -0
  156. package/dist/esm/post-menu.entry.js +3 -0
  157. package/dist/esm/{post-popover-a82bae79.js → post-popover-1ae328eb.js} +3 -3
  158. package/dist/esm/post-popover.entry.js +2 -2
  159. package/dist/esm/{post-rating-a6513fc9.js → post-rating-75171e3a.js} +2 -2
  160. package/dist/esm/post-rating.entry.js +2 -2
  161. package/dist/esm/post-tab-header-d4d40b0e.js +30 -0
  162. package/dist/esm/post-tab-header.entry.js +2 -2
  163. package/dist/esm/{post-tab-panel-56ad2836.js → post-tab-panel-79b42d3e.js} +2 -2
  164. package/dist/esm/post-tab-panel.entry.js +2 -2
  165. package/dist/esm/{post-tabs-895b4e96.js → post-tabs-4d880ed8.js} +3 -3
  166. package/dist/esm/post-tabs.entry.js +2 -2
  167. package/dist/esm/{post-tag-ee91d6a9.js → post-tag-bf91d0a7.js} +2 -2
  168. package/dist/esm/post-tag.entry.js +2 -2
  169. package/dist/esm/{post-tooltip-a4d93fd2.js → post-tooltip-7aa14f94.js} +3 -3
  170. package/dist/esm/post-tooltip.entry.js +4 -3
  171. package/dist/post-components/index.esm.js +1 -1
  172. package/dist/post-components/p-0338f9da.js +1 -0
  173. package/dist/post-components/p-314c1090.js +1 -0
  174. package/dist/post-components/p-34e5b9da.entry.js +1 -0
  175. package/dist/post-components/p-3899ed87.js +1 -0
  176. package/dist/post-components/p-3b3b57d0.entry.js +1 -0
  177. package/dist/post-components/p-4221fd16.js +1 -0
  178. package/dist/post-components/p-470eb29c.js +1 -0
  179. package/dist/post-components/{p-bc7cfb53.js → p-476a6342.js} +1 -1
  180. package/dist/post-components/p-499f3c12.entry.js +1 -0
  181. package/dist/post-components/p-4a3f67ab.js +1 -0
  182. package/dist/post-components/{p-7b0616c6.js → p-4ac02dc1.js} +1 -1
  183. package/dist/post-components/p-4cb59994.js +1 -0
  184. package/dist/post-components/{p-47279ac4.js → p-4cca12fe.js} +2 -2
  185. package/dist/post-components/p-56bd7eb7.entry.js +1 -0
  186. package/dist/post-components/p-61b27b51.entry.js +1 -0
  187. package/dist/post-components/p-6e37b9bf.entry.js +1 -0
  188. package/dist/post-components/p-7175208c.entry.js +1 -0
  189. package/dist/post-components/p-71eb2dc7.js +1 -0
  190. package/dist/post-components/p-7391daa3.entry.js +1 -0
  191. package/dist/post-components/p-73a5b344.js +1 -0
  192. package/dist/post-components/{p-5957a7fa.js → p-7a887455.js} +1 -1
  193. package/dist/post-components/p-7a995b7e.entry.js +1 -0
  194. package/dist/post-components/p-888ab913.entry.js +1 -0
  195. package/dist/post-components/p-8927a8e4.entry.js +1 -0
  196. package/dist/post-components/p-8fb11b22.entry.js +1 -0
  197. package/dist/post-components/p-916ec6d5.entry.js +1 -0
  198. package/dist/post-components/p-98d8ba01.js +1 -0
  199. package/dist/post-components/p-9d94bf34.js +1 -0
  200. package/dist/post-components/p-a1a1b679.entry.js +1 -0
  201. package/dist/post-components/p-a87d8337.entry.js +1 -0
  202. package/dist/post-components/p-ab0556af.entry.js +1 -0
  203. package/dist/post-components/{p-6ecb14d1.js → p-b8d230eb.js} +1 -1
  204. package/dist/post-components/p-c6ac2e45.js +1 -0
  205. package/dist/post-components/p-c94a2ae1.entry.js +1 -0
  206. package/dist/post-components/{p-2caf9469.js → p-cd06fab9.js} +1 -1
  207. package/dist/post-components/p-cf298c46.js +1 -0
  208. package/dist/post-components/p-d2938e9a.entry.js +1 -0
  209. package/dist/post-components/p-d6ac46af.js +1 -0
  210. package/dist/post-components/{p-1a53bc7d.js → p-d7c37aca.js} +1 -1
  211. package/dist/post-components/p-dddc70f6.entry.js +1 -0
  212. package/dist/post-components/{p-fb7a5867.js → p-ed12b51d.js} +1 -1
  213. package/dist/post-components/p-fc91cbc2.js +1 -0
  214. package/dist/post-components/post-components.esm.js +1 -1
  215. package/dist/types/components/post-avatar/post-avatar.d.ts +1 -1
  216. package/dist/types/components/post-banner/banner-types.d.ts +2 -0
  217. package/dist/types/components/post-banner/post-banner.d.ts +49 -0
  218. package/dist/types/components/post-card-control/post-card-control.d.ts +7 -7
  219. package/dist/types/components/post-header/post-header.d.ts +16 -0
  220. package/dist/types/components/post-list/post-list.d.ts +1 -1
  221. package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +10 -0
  222. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +23 -0
  223. package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +10 -0
  224. package/dist/types/components/post-menu/post-menu.d.ts +47 -0
  225. package/dist/types/components/post-menu-item/post-menu-item.d.ts +4 -0
  226. package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +27 -0
  227. package/dist/types/components/post-tag/post-tag.d.ts +1 -1
  228. package/dist/types/components.d.ts +266 -79
  229. package/dist/types/index.d.ts +8 -1
  230. package/dist/types/utils/is-focusable.d.ts +1 -0
  231. package/loaders/get-root.js +9 -0
  232. package/loaders/index.d.ts +16 -2
  233. package/loaders/index.js +9 -2
  234. package/loaders/package.js +1 -1
  235. package/loaders/post-banner.d.ts +11 -0
  236. package/loaders/post-banner.js +128 -0
  237. package/loaders/post-card-control.js +3 -3
  238. package/loaders/post-collapsible-trigger2.js +1 -8
  239. package/loaders/post-header.d.ts +11 -0
  240. package/loaders/post-header.js +238 -0
  241. package/loaders/post-list-item.js +1 -1
  242. package/loaders/post-list.js +2 -2
  243. package/loaders/post-logo.js +1 -1
  244. package/loaders/post-mainnavigation.d.ts +11 -0
  245. package/loaders/post-mainnavigation.js +51 -0
  246. package/loaders/post-megadropdown-trigger.d.ts +11 -0
  247. package/loaders/post-megadropdown-trigger.js +42 -0
  248. package/loaders/post-megadropdown.d.ts +11 -0
  249. package/loaders/post-megadropdown.js +70 -0
  250. package/loaders/post-menu-item.d.ts +11 -0
  251. package/loaders/post-menu-item.js +36 -0
  252. package/loaders/post-menu-trigger.d.ts +11 -0
  253. package/loaders/post-menu-trigger.js +95 -0
  254. package/loaders/{post-alert.d.ts → post-menu.d.ts} +4 -4
  255. package/loaders/post-menu.js +204 -0
  256. package/loaders/post-popover.js +2 -2
  257. package/loaders/post-popovercontainer2.js +2 -2
  258. package/loaders/post-rating.js +1 -1
  259. package/loaders/post-tab-header.js +2 -2
  260. package/loaders/post-tab-panel.js +1 -1
  261. package/loaders/post-tabs.js +2 -2
  262. package/loaders/post-tag.js +1 -1
  263. package/loaders/post-tooltip.js +1 -1
  264. package/package.json +5 -4
  265. package/dist/cjs/post-alert-278229ad.js +0 -98
  266. package/dist/cjs/post-card-control-37d6a65a.js +0 -272
  267. package/dist/cjs/post-closebutton-372c1276.js +0 -16
  268. package/dist/cjs/post-closebutton.cjs.entry.js +0 -11
  269. package/dist/cjs/post-icon-ca80afce.js +0 -104
  270. package/dist/cjs/post-icon.cjs.entry.js +0 -15
  271. package/dist/cjs/post-list-f2c673ef.js +0 -37
  272. package/dist/cjs/post-list-item-1b6ce0d0.js +0 -22
  273. package/dist/cjs/post-list-item.cjs.entry.js +0 -10
  274. package/dist/cjs/post-list.cjs.entry.js +0 -11
  275. package/dist/cjs/post-logo-ed8e99c0.js +0 -39
  276. package/dist/cjs/post-logo.cjs.entry.js +0 -14
  277. package/dist/cjs/post-popovercontainer.cjs.entry.js +0 -11
  278. package/dist/cjs/post-tab-header-bce47e34.js +0 -32
  279. package/dist/collection/components/post-alert/alert-types.js +0 -1
  280. package/dist/collection/components/post-alert/post-alert.css +0 -7
  281. package/dist/components/post-alert.js +0 -6
  282. package/dist/components/post-alert2.js +0 -136
  283. package/dist/esm/package-aaf62247.js +0 -3
  284. package/dist/esm/post-alert-2aee0a88.js +0 -96
  285. package/dist/esm/post-card-control-685ca60d.js +0 -270
  286. package/dist/esm/post-closebutton-a951a0ba.js +0 -14
  287. package/dist/esm/post-closebutton.entry.js +0 -3
  288. package/dist/esm/post-icon-29b33e6a.js +0 -102
  289. package/dist/esm/post-icon.entry.js +0 -7
  290. package/dist/esm/post-list-5a17eff9.js +0 -35
  291. package/dist/esm/post-list-item-12ff4b9c.js +0 -20
  292. package/dist/esm/post-list-item.entry.js +0 -2
  293. package/dist/esm/post-list.entry.js +0 -3
  294. package/dist/esm/post-logo-0a072d4b.js +0 -37
  295. package/dist/esm/post-logo.entry.js +0 -6
  296. package/dist/esm/post-popovercontainer.entry.js +0 -3
  297. package/dist/esm/post-tab-header-2bf36bae.js +0 -30
  298. package/dist/post-components/p-065de04e.entry.js +0 -1
  299. package/dist/post-components/p-0af20b10.entry.js +0 -1
  300. package/dist/post-components/p-13e6577d.js +0 -1
  301. package/dist/post-components/p-16ff4451.entry.js +0 -1
  302. package/dist/post-components/p-2b777f74.js +0 -1
  303. package/dist/post-components/p-3a272de8.entry.js +0 -1
  304. package/dist/post-components/p-3cc61960.js +0 -1
  305. package/dist/post-components/p-49445ef1.entry.js +0 -1
  306. package/dist/post-components/p-5a8157b4.js +0 -1
  307. package/dist/post-components/p-7986d834.js +0 -1
  308. package/dist/post-components/p-80e5d228.entry.js +0 -1
  309. package/dist/post-components/p-8618ccea.entry.js +0 -1
  310. package/dist/post-components/p-8bd32536.js +0 -1
  311. package/dist/post-components/p-8f36ccda.entry.js +0 -1
  312. package/dist/post-components/p-9753c9c7.entry.js +0 -1
  313. package/dist/post-components/p-9cd82521.js +0 -1
  314. package/dist/post-components/p-a3cc34a3.js +0 -1
  315. package/dist/post-components/p-a514b746.entry.js +0 -1
  316. package/dist/post-components/p-a9efdea5.entry.js +0 -1
  317. package/dist/post-components/p-aae80acd.entry.js +0 -1
  318. package/dist/post-components/p-b60d2ab7.entry.js +0 -1
  319. package/dist/post-components/p-b63a3fc2.entry.js +0 -1
  320. package/dist/post-components/p-ba14d022.js +0 -1
  321. package/dist/post-components/p-be5b0cdb.entry.js +0 -1
  322. package/dist/post-components/p-c79c7d00.entry.js +0 -1
  323. package/dist/post-components/p-cd91c467.entry.js +0 -1
  324. package/dist/post-components/p-d176f664.js +0 -1
  325. package/dist/post-components/p-d37c6cc3.js +0 -1
  326. package/dist/post-components/p-d528afb2.entry.js +0 -1
  327. package/dist/post-components/p-d793c76b.js +0 -1
  328. package/dist/post-components/p-dd871b55.js +0 -1
  329. package/dist/post-components/p-e1925cd1.entry.js +0 -1
  330. package/dist/post-components/p-fb62c672.js +0 -1
  331. package/dist/post-components/p-fda6ce34.js +0 -1
  332. package/dist/post-components/p-fe602d19.entry.js +0 -1
  333. package/dist/post-components/p-ffb26d24.entry.js +0 -1
  334. package/dist/types/components/post-alert/alert-types.d.ts +0 -2
  335. package/dist/types/components/post-alert/post-alert.d.ts +0 -54
  336. package/loaders/post-alert.js +0 -139
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-11-11T15:45:35",
2
+ "timestamp": "2024-11-25T17:07:51",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.19.2",
@@ -360,29 +360,21 @@
360
360
  }
361
361
  },
362
362
  {
363
- "filePath": "src/components/post-alert/post-alert.tsx",
363
+ "filePath": "src/components/post-avatar/post-avatar.tsx",
364
364
  "encapsulation": "shadow",
365
- "tag": "post-alert",
366
- "readme": "# post-alert\n\n\n",
365
+ "tag": "post-avatar",
366
+ "readme": "# post-avatar\n\n\n",
367
367
  "docs": "",
368
368
  "docsTags": [
369
369
  {
370
370
  "name": "slot",
371
- "text": "heading - Slot for placing custom content within the alert's heading."
372
- },
373
- {
374
- "name": "slot",
375
- "text": "actions - Slot for placing custom actions (buttons, links, etc.) within the alert."
376
- },
377
- {
378
- "name": "slot",
379
- "text": "default - Slot for placing the main content/message of the alert."
371
+ "text": "default - Slot for inserting a custom image as avatar."
380
372
  }
381
373
  ],
382
374
  "usage": {},
383
375
  "props": [
384
376
  {
385
- "name": "dismissLabel",
377
+ "name": "email",
386
378
  "type": "string",
387
379
  "complexType": {
388
380
  "original": "string",
@@ -390,9 +382,30 @@
390
382
  "references": {}
391
383
  },
392
384
  "mutable": false,
393
- "attr": "dismiss-label",
385
+ "attr": "email",
386
+ "reflectToAttr": false,
387
+ "docs": "Defines the users email address associated with a gravatar profile picture.",
388
+ "docsTags": [],
389
+ "values": [
390
+ {
391
+ "type": "string"
392
+ }
393
+ ],
394
+ "optional": true,
395
+ "required": false
396
+ },
397
+ {
398
+ "name": "firstname",
399
+ "type": "string",
400
+ "complexType": {
401
+ "original": "string",
402
+ "resolved": "string",
403
+ "references": {}
404
+ },
405
+ "mutable": false,
406
+ "attr": "firstname",
394
407
  "reflectToAttr": false,
395
- "docs": "The label to use for the close button of a dismissible alert.",
408
+ "docs": "Defines the users firstname.",
396
409
  "docsTags": [],
397
410
  "values": [
398
411
  {
@@ -400,32 +413,111 @@
400
413
  }
401
414
  ],
402
415
  "optional": false,
416
+ "required": true
417
+ },
418
+ {
419
+ "name": "lastname",
420
+ "type": "string",
421
+ "complexType": {
422
+ "original": "string",
423
+ "resolved": "string",
424
+ "references": {}
425
+ },
426
+ "mutable": false,
427
+ "attr": "lastname",
428
+ "reflectToAttr": false,
429
+ "docs": "Defines the users lastname.",
430
+ "docsTags": [],
431
+ "values": [
432
+ {
433
+ "type": "string"
434
+ }
435
+ ],
436
+ "optional": true,
403
437
  "required": false
404
438
  },
405
439
  {
406
- "name": "dismissible",
407
- "type": "boolean",
440
+ "name": "userid",
441
+ "type": "string",
408
442
  "complexType": {
409
- "original": "boolean",
410
- "resolved": "boolean",
443
+ "original": "string",
444
+ "resolved": "string",
411
445
  "references": {}
412
446
  },
413
447
  "mutable": false,
414
- "attr": "dismissible",
448
+ "attr": "userid",
415
449
  "reflectToAttr": false,
416
- "docs": "If `true`, a close button (×) is displayed and the alert can be dismissed by the user.",
450
+ "docs": "Defines the company internal userId.<div className=\"mb-1 banner banner-warning banner-sm\">Can only be used on post.ch domains!</div>",
417
451
  "docsTags": [],
418
- "default": "false",
419
452
  "values": [
420
453
  {
421
- "type": "boolean"
454
+ "type": "string"
455
+ }
456
+ ],
457
+ "optional": true,
458
+ "required": false
459
+ }
460
+ ],
461
+ "methods": [],
462
+ "events": [],
463
+ "listeners": [],
464
+ "styles": [],
465
+ "slots": [
466
+ {
467
+ "name": "default",
468
+ "docs": "Slot for inserting a custom image as avatar."
469
+ }
470
+ ],
471
+ "parts": [],
472
+ "dependents": [],
473
+ "dependencies": [],
474
+ "dependencyGraph": {}
475
+ },
476
+ {
477
+ "filePath": "src/components/post-banner/post-banner.tsx",
478
+ "encapsulation": "shadow",
479
+ "tag": "post-banner",
480
+ "readme": "# post-alert\n\n\n",
481
+ "docs": "",
482
+ "docsTags": [
483
+ {
484
+ "name": "slot",
485
+ "text": "heading - Slot for placing custom content within the banner's heading."
486
+ },
487
+ {
488
+ "name": "slot",
489
+ "text": "actions - Slot for placing custom actions (buttons, links, etc.) within the banner."
490
+ },
491
+ {
492
+ "name": "slot",
493
+ "text": "default - Slot for placing the main content/message of the banner."
494
+ }
495
+ ],
496
+ "usage": {},
497
+ "props": [
498
+ {
499
+ "name": "dismissLabel",
500
+ "type": "string",
501
+ "complexType": {
502
+ "original": "string",
503
+ "resolved": "string",
504
+ "references": {}
505
+ },
506
+ "mutable": false,
507
+ "attr": "dismiss-label",
508
+ "reflectToAttr": false,
509
+ "docs": "The label to use for the close button of a dismissible banner.",
510
+ "docsTags": [],
511
+ "values": [
512
+ {
513
+ "type": "string"
422
514
  }
423
515
  ],
424
516
  "optional": false,
425
517
  "required": false
426
518
  },
427
519
  {
428
- "name": "fixed",
520
+ "name": "dismissible",
429
521
  "type": "boolean",
430
522
  "complexType": {
431
523
  "original": "boolean",
@@ -433,9 +525,9 @@
433
525
  "references": {}
434
526
  },
435
527
  "mutable": false,
436
- "attr": "fixed",
528
+ "attr": "dismissible",
437
529
  "reflectToAttr": false,
438
- "docs": "If `true`, the alert is positioned at the bottom of the window, from edge to edge.",
530
+ "docs": "If `true`, a close button (×) is displayed and the banner can be dismissed by the user.",
439
531
  "docsTags": [],
440
532
  "default": "false",
441
533
  "values": [
@@ -457,7 +549,7 @@
457
549
  "mutable": false,
458
550
  "attr": "icon",
459
551
  "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.",
552
+ "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
553
  "docsTags": [],
462
554
  "values": [
463
555
  {
@@ -469,39 +561,35 @@
469
561
  },
470
562
  {
471
563
  "name": "type",
472
- "type": "\"danger\" | \"gray\" | \"info\" | \"primary\" | \"success\" | \"warning\"",
564
+ "type": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
473
565
  "complexType": {
474
- "original": "AlertType",
475
- "resolved": "\"danger\" | \"gray\" | \"info\" | \"primary\" | \"success\" | \"warning\"",
566
+ "original": "BannerType",
567
+ "resolved": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
476
568
  "references": {
477
- "AlertType": {
569
+ "BannerType": {
478
570
  "location": "import",
479
- "path": "./alert-types",
480
- "id": "src/components/post-alert/alert-types.ts::AlertType"
571
+ "path": "./banner-types",
572
+ "id": "src/components/post-banner/banner-types.ts::BannerType"
481
573
  }
482
574
  }
483
575
  },
484
576
  "mutable": false,
485
577
  "attr": "type",
486
578
  "reflectToAttr": false,
487
- "docs": "The type of the alert.",
579
+ "docs": "The type of the banner.",
488
580
  "docsTags": [],
489
- "default": "'primary'",
581
+ "default": "'neutral'",
490
582
  "values": [
491
583
  {
492
584
  "value": "danger",
493
585
  "type": "string"
494
586
  },
495
- {
496
- "value": "gray",
497
- "type": "string"
498
- },
499
587
  {
500
588
  "value": "info",
501
589
  "type": "string"
502
590
  },
503
591
  {
504
- "value": "primary",
592
+ "value": "neutral",
505
593
  "type": "string"
506
594
  },
507
595
  {
@@ -537,7 +625,7 @@
537
625
  },
538
626
  "signature": "dismiss() => Promise<void>",
539
627
  "parameters": [],
540
- "docs": "Triggers alert dismissal programmatically (same as clicking on the close button (×)).",
628
+ "docs": "Triggers banner dismissal programmatically (same as clicking on the close button (×)).",
541
629
  "docsTags": []
542
630
  }
543
631
  ],
@@ -553,7 +641,7 @@
553
641
  },
554
642
  "cancelable": true,
555
643
  "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.",
644
+ "docs": "An event emitted when the banner element is dismissed, after the transition.\nIt has no payload and only relevant for dismissible banners.",
557
645
  "docsTags": []
558
646
  }
559
647
  ],
@@ -562,15 +650,15 @@
562
650
  "slots": [
563
651
  {
564
652
  "name": "actions",
565
- "docs": "Slot for placing custom actions (buttons, links, etc.) within the alert."
653
+ "docs": "Slot for placing custom actions (buttons, links, etc.) within the banner."
566
654
  },
567
655
  {
568
656
  "name": "default",
569
- "docs": "Slot for placing the main content/message of the alert."
657
+ "docs": "Slot for placing the main content/message of the banner."
570
658
  },
571
659
  {
572
660
  "name": "heading",
573
- "docs": "Slot for placing custom content within the alert's heading."
661
+ "docs": "Slot for placing custom content within the banner's heading."
574
662
  }
575
663
  ],
576
664
  "parts": [],
@@ -579,125 +667,11 @@
579
667
  "post-icon"
580
668
  ],
581
669
  "dependencyGraph": {
582
- "post-alert": [
670
+ "post-banner": [
583
671
  "post-icon"
584
672
  ]
585
673
  }
586
674
  },
587
- {
588
- "filePath": "src/components/post-avatar/post-avatar.tsx",
589
- "encapsulation": "shadow",
590
- "tag": "post-avatar",
591
- "readme": "# post-avatar\n\n\n",
592
- "docs": "",
593
- "docsTags": [
594
- {
595
- "name": "slot",
596
- "text": "default - Slot for inserting a custom image as avatar."
597
- }
598
- ],
599
- "usage": {},
600
- "props": [
601
- {
602
- "name": "email",
603
- "type": "string",
604
- "complexType": {
605
- "original": "string",
606
- "resolved": "string",
607
- "references": {}
608
- },
609
- "mutable": false,
610
- "attr": "email",
611
- "reflectToAttr": false,
612
- "docs": "Defines the users email address associated with a gravatar profile picture.",
613
- "docsTags": [],
614
- "values": [
615
- {
616
- "type": "string"
617
- }
618
- ],
619
- "optional": true,
620
- "required": false
621
- },
622
- {
623
- "name": "firstname",
624
- "type": "string",
625
- "complexType": {
626
- "original": "string",
627
- "resolved": "string",
628
- "references": {}
629
- },
630
- "mutable": false,
631
- "attr": "firstname",
632
- "reflectToAttr": false,
633
- "docs": "Defines the users firstname.",
634
- "docsTags": [],
635
- "values": [
636
- {
637
- "type": "string"
638
- }
639
- ],
640
- "optional": false,
641
- "required": true
642
- },
643
- {
644
- "name": "lastname",
645
- "type": "string",
646
- "complexType": {
647
- "original": "string",
648
- "resolved": "string",
649
- "references": {}
650
- },
651
- "mutable": false,
652
- "attr": "lastname",
653
- "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>",
676
- "docsTags": [],
677
- "values": [
678
- {
679
- "type": "string"
680
- }
681
- ],
682
- "optional": true,
683
- "required": false
684
- }
685
- ],
686
- "methods": [],
687
- "events": [],
688
- "listeners": [],
689
- "styles": [],
690
- "slots": [
691
- {
692
- "name": "default",
693
- "docs": "Slot for inserting a custom image as avatar."
694
- }
695
- ],
696
- "parts": [],
697
- "dependents": [],
698
- "dependencies": [],
699
- "dependencyGraph": {}
700
- },
701
675
  {
702
676
  "filePath": "src/components/post-breadcrumb-item/post-breadcrumb-item.tsx",
703
677
  "encapsulation": "shadow",
@@ -776,11 +750,11 @@
776
750
  },
777
751
  {
778
752
  "name": "slot",
779
- "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>"
753
+ "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>"
780
754
  },
781
755
  {
782
756
  "name": "slot",
783
- "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>"
757
+ "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>"
784
758
  }
785
759
  ],
786
760
  "usage": {},
@@ -862,7 +836,7 @@
862
836
  "mutable": false,
863
837
  "attr": "icon",
864
838
  "reflectToAttr": false,
865
- "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>",
839
+ "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>",
866
840
  "docsTags": [],
867
841
  "default": "null",
868
842
  "values": [
@@ -905,7 +879,7 @@
905
879
  "mutable": false,
906
880
  "attr": "name",
907
881
  "reflectToAttr": false,
908
- "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>",
882
+ "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>",
909
883
  "docsTags": [],
910
884
  "default": "null",
911
885
  "values": [
@@ -980,7 +954,7 @@
980
954
  "mutable": false,
981
955
  "attr": "value",
982
956
  "reflectToAttr": false,
983
- "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>",
957
+ "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>",
984
958
  "docsTags": [],
985
959
  "default": "null",
986
960
  "values": [
@@ -1050,7 +1024,7 @@
1050
1024
  },
1051
1025
  "cancelable": true,
1052
1026
  "composed": true,
1053
- "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>",
1027
+ "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>",
1054
1028
  "docsTags": []
1055
1029
  },
1056
1030
  {
@@ -1073,11 +1047,11 @@
1073
1047
  "slots": [
1074
1048
  {
1075
1049
  "name": "default",
1076
- "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>"
1050
+ "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>"
1077
1051
  },
1078
1052
  {
1079
1053
  "name": "icon",
1080
- "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>"
1054
+ "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>"
1081
1055
  }
1082
1056
  ],
1083
1057
  "parts": [],
@@ -1305,20 +1279,45 @@
1305
1279
  }
1306
1280
  },
1307
1281
  {
1308
- "filePath": "src/components/post-icon/post-icon.tsx",
1282
+ "filePath": "src/components/post-header/post-header.tsx",
1309
1283
  "encapsulation": "shadow",
1310
- "tag": "post-icon",
1311
- "readme": "# post-icon\n\nsome content\n",
1312
- "docs": "some content",
1313
- "docsTags": [
1314
- {
1315
- "name": "class",
1316
- "text": "PostIcon - representing a stencil component"
1317
- }
1318
- ],
1284
+ "tag": "post-header",
1285
+ "readme": "# post-header\n\n\n",
1286
+ "docs": "",
1287
+ "docsTags": [],
1319
1288
  "usage": {},
1320
- "props": [
1321
- {
1289
+ "props": [],
1290
+ "methods": [],
1291
+ "events": [],
1292
+ "listeners": [
1293
+ {
1294
+ "event": "postMainNavigationClosed",
1295
+ "capture": false,
1296
+ "passive": false
1297
+ }
1298
+ ],
1299
+ "styles": [],
1300
+ "slots": [],
1301
+ "parts": [],
1302
+ "dependents": [],
1303
+ "dependencies": [],
1304
+ "dependencyGraph": {}
1305
+ },
1306
+ {
1307
+ "filePath": "src/components/post-icon/post-icon.tsx",
1308
+ "encapsulation": "shadow",
1309
+ "tag": "post-icon",
1310
+ "readme": "# post-icon\n\nsome content\n",
1311
+ "docs": "some content",
1312
+ "docsTags": [
1313
+ {
1314
+ "name": "class",
1315
+ "text": "PostIcon - representing a stencil component"
1316
+ }
1317
+ ],
1318
+ "usage": {},
1319
+ "props": [
1320
+ {
1322
1321
  "name": "animation",
1323
1322
  "type": "\"cylon\" | \"cylon-vertical\" | \"fade\" | \"spin\" | \"spin-reverse\" | \"throb\"",
1324
1323
  "complexType": {
@@ -1505,7 +1504,7 @@
1505
1504
  "slots": [],
1506
1505
  "parts": [],
1507
1506
  "dependents": [
1508
- "post-alert",
1507
+ "post-banner",
1509
1508
  "post-breadcrumb-item",
1510
1509
  "post-card-control",
1511
1510
  "post-closebutton",
@@ -1514,7 +1513,7 @@
1514
1513
  ],
1515
1514
  "dependencies": [],
1516
1515
  "dependencyGraph": {
1517
- "post-alert": [
1516
+ "post-banner": [
1518
1517
  "post-icon"
1519
1518
  ],
1520
1519
  "post-breadcrumb-item": [
@@ -1856,6 +1855,519 @@
1856
1855
  "dependencies": [],
1857
1856
  "dependencyGraph": {}
1858
1857
  },
1858
+ {
1859
+ "filePath": "src/components/post-mainnavigation/post-mainnavigation.tsx",
1860
+ "encapsulation": "none",
1861
+ "tag": "post-mainnavigation",
1862
+ "readme": "# post-mainnavigation\n\n\n",
1863
+ "docs": "",
1864
+ "docsTags": [],
1865
+ "usage": {},
1866
+ "props": [],
1867
+ "methods": [],
1868
+ "events": [
1869
+ {
1870
+ "event": "postToggle",
1871
+ "detail": "any",
1872
+ "bubbles": true,
1873
+ "complexType": {
1874
+ "original": "any",
1875
+ "resolved": "any",
1876
+ "references": {}
1877
+ },
1878
+ "cancelable": true,
1879
+ "composed": true,
1880
+ "docs": "Gets emitted when a user closes the main navigation on mobile",
1881
+ "docsTags": []
1882
+ }
1883
+ ],
1884
+ "listeners": [
1885
+ {
1886
+ "event": "postToggle",
1887
+ "capture": false,
1888
+ "passive": false
1889
+ }
1890
+ ],
1891
+ "styles": [],
1892
+ "slots": [],
1893
+ "parts": [],
1894
+ "dependents": [],
1895
+ "dependencies": [],
1896
+ "dependencyGraph": {}
1897
+ },
1898
+ {
1899
+ "filePath": "src/components/post-megadropdown/post-megadropdown.tsx",
1900
+ "encapsulation": "none",
1901
+ "tag": "post-megadropdown",
1902
+ "readme": "# post-megadropdown\n\n\n",
1903
+ "docs": "",
1904
+ "docsTags": [],
1905
+ "usage": {},
1906
+ "props": [],
1907
+ "methods": [
1908
+ {
1909
+ "name": "hide",
1910
+ "returns": {
1911
+ "type": "Promise<void>",
1912
+ "docs": "boolean"
1913
+ },
1914
+ "complexType": {
1915
+ "signature": "() => Promise<void>",
1916
+ "parameters": [],
1917
+ "references": {
1918
+ "Promise": {
1919
+ "location": "global",
1920
+ "id": "global::Promise"
1921
+ }
1922
+ },
1923
+ "return": "Promise<void>"
1924
+ },
1925
+ "signature": "hide() => Promise<void>",
1926
+ "parameters": [],
1927
+ "docs": "Hide megadropdown",
1928
+ "docsTags": [
1929
+ {
1930
+ "name": "returns",
1931
+ "text": "boolean"
1932
+ }
1933
+ ]
1934
+ },
1935
+ {
1936
+ "name": "show",
1937
+ "returns": {
1938
+ "type": "Promise<void>",
1939
+ "docs": "boolean"
1940
+ },
1941
+ "complexType": {
1942
+ "signature": "(element: HTMLElement) => Promise<void>",
1943
+ "parameters": [
1944
+ {
1945
+ "name": "element",
1946
+ "type": "HTMLElement",
1947
+ "docs": "HTMLElement"
1948
+ }
1949
+ ],
1950
+ "references": {
1951
+ "Promise": {
1952
+ "location": "global",
1953
+ "id": "global::Promise"
1954
+ },
1955
+ "HTMLElement": {
1956
+ "location": "global",
1957
+ "id": "global::HTMLElement"
1958
+ }
1959
+ },
1960
+ "return": "Promise<void>"
1961
+ },
1962
+ "signature": "show(element: HTMLElement) => Promise<void>",
1963
+ "parameters": [
1964
+ {
1965
+ "name": "element",
1966
+ "type": "HTMLElement",
1967
+ "docs": "HTMLElement"
1968
+ }
1969
+ ],
1970
+ "docs": "Show megadropdown",
1971
+ "docsTags": [
1972
+ {
1973
+ "name": "param",
1974
+ "text": "element HTMLElement"
1975
+ },
1976
+ {
1977
+ "name": "returns",
1978
+ "text": "boolean"
1979
+ }
1980
+ ]
1981
+ },
1982
+ {
1983
+ "name": "toggle",
1984
+ "returns": {
1985
+ "type": "Promise<boolean>",
1986
+ "docs": "boolean"
1987
+ },
1988
+ "complexType": {
1989
+ "signature": "(element: HTMLElement, force?: boolean) => Promise<boolean>",
1990
+ "parameters": [
1991
+ {
1992
+ "name": "element",
1993
+ "type": "HTMLElement",
1994
+ "docs": "HTMLElement"
1995
+ },
1996
+ {
1997
+ "name": "force",
1998
+ "type": "boolean",
1999
+ "docs": "boolean"
2000
+ }
2001
+ ],
2002
+ "references": {
2003
+ "Promise": {
2004
+ "location": "global",
2005
+ "id": "global::Promise"
2006
+ },
2007
+ "HTMLElement": {
2008
+ "location": "global",
2009
+ "id": "global::HTMLElement"
2010
+ }
2011
+ },
2012
+ "return": "Promise<boolean>"
2013
+ },
2014
+ "signature": "toggle(element: HTMLElement, force?: boolean) => Promise<boolean>",
2015
+ "parameters": [
2016
+ {
2017
+ "name": "element",
2018
+ "type": "HTMLElement",
2019
+ "docs": "HTMLElement"
2020
+ },
2021
+ {
2022
+ "name": "force",
2023
+ "type": "boolean",
2024
+ "docs": "boolean"
2025
+ }
2026
+ ],
2027
+ "docs": "Toggle megadropdown",
2028
+ "docsTags": [
2029
+ {
2030
+ "name": "param",
2031
+ "text": "element HTMLElement"
2032
+ },
2033
+ {
2034
+ "name": "param",
2035
+ "text": "force boolean"
2036
+ },
2037
+ {
2038
+ "name": "returns",
2039
+ "text": "boolean"
2040
+ }
2041
+ ]
2042
+ }
2043
+ ],
2044
+ "events": [],
2045
+ "listeners": [],
2046
+ "styles": [],
2047
+ "slots": [],
2048
+ "parts": [],
2049
+ "dependents": [],
2050
+ "dependencies": [
2051
+ "post-popovercontainer"
2052
+ ],
2053
+ "dependencyGraph": {
2054
+ "post-megadropdown": [
2055
+ "post-popovercontainer"
2056
+ ]
2057
+ }
2058
+ },
2059
+ {
2060
+ "filePath": "src/components/post-megadropdown-trigger/post-megadropdown-trigger.tsx",
2061
+ "encapsulation": "shadow",
2062
+ "tag": "post-megadropdown-trigger",
2063
+ "readme": "# post-megadropdown-toggle\n\n\n",
2064
+ "docs": "",
2065
+ "docsTags": [],
2066
+ "usage": {},
2067
+ "props": [],
2068
+ "methods": [],
2069
+ "events": [
2070
+ {
2071
+ "event": "postToggle",
2072
+ "detail": "any",
2073
+ "bubbles": true,
2074
+ "complexType": {
2075
+ "original": "any",
2076
+ "resolved": "any",
2077
+ "references": {}
2078
+ },
2079
+ "cancelable": true,
2080
+ "composed": true,
2081
+ "docs": "Emits after each toggle",
2082
+ "docsTags": []
2083
+ }
2084
+ ],
2085
+ "listeners": [],
2086
+ "styles": [],
2087
+ "slots": [],
2088
+ "parts": [],
2089
+ "dependents": [],
2090
+ "dependencies": [],
2091
+ "dependencyGraph": {}
2092
+ },
2093
+ {
2094
+ "filePath": "src/components/post-menu/post-menu.tsx",
2095
+ "encapsulation": "shadow",
2096
+ "tag": "post-menu",
2097
+ "readme": "# post-menu\n\n\n",
2098
+ "docs": "",
2099
+ "docsTags": [],
2100
+ "usage": {},
2101
+ "props": [
2102
+ {
2103
+ "name": "placement",
2104
+ "type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
2105
+ "complexType": {
2106
+ "original": "Placement",
2107
+ "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
2108
+ "references": {
2109
+ "Placement": {
2110
+ "location": "import",
2111
+ "path": "@floating-ui/dom",
2112
+ "id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
2113
+ }
2114
+ }
2115
+ },
2116
+ "mutable": false,
2117
+ "attr": "placement",
2118
+ "reflectToAttr": false,
2119
+ "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.",
2120
+ "docsTags": [],
2121
+ "default": "'bottom'",
2122
+ "values": [
2123
+ {
2124
+ "value": "bottom",
2125
+ "type": "string"
2126
+ },
2127
+ {
2128
+ "value": "bottom-end",
2129
+ "type": "string"
2130
+ },
2131
+ {
2132
+ "value": "bottom-start",
2133
+ "type": "string"
2134
+ },
2135
+ {
2136
+ "value": "left",
2137
+ "type": "string"
2138
+ },
2139
+ {
2140
+ "value": "left-end",
2141
+ "type": "string"
2142
+ },
2143
+ {
2144
+ "value": "left-start",
2145
+ "type": "string"
2146
+ },
2147
+ {
2148
+ "value": "right",
2149
+ "type": "string"
2150
+ },
2151
+ {
2152
+ "value": "right-end",
2153
+ "type": "string"
2154
+ },
2155
+ {
2156
+ "value": "right-start",
2157
+ "type": "string"
2158
+ },
2159
+ {
2160
+ "value": "top",
2161
+ "type": "string"
2162
+ },
2163
+ {
2164
+ "value": "top-end",
2165
+ "type": "string"
2166
+ },
2167
+ {
2168
+ "value": "top-start",
2169
+ "type": "string"
2170
+ }
2171
+ ],
2172
+ "optional": true,
2173
+ "required": false
2174
+ }
2175
+ ],
2176
+ "methods": [
2177
+ {
2178
+ "name": "hide",
2179
+ "returns": {
2180
+ "type": "Promise<void>",
2181
+ "docs": ""
2182
+ },
2183
+ "complexType": {
2184
+ "signature": "() => Promise<void>",
2185
+ "parameters": [],
2186
+ "references": {
2187
+ "Promise": {
2188
+ "location": "global",
2189
+ "id": "global::Promise"
2190
+ }
2191
+ },
2192
+ "return": "Promise<void>"
2193
+ },
2194
+ "signature": "hide() => Promise<void>",
2195
+ "parameters": [],
2196
+ "docs": "Hides the popover menu and restores focus to the previously focused element.",
2197
+ "docsTags": []
2198
+ },
2199
+ {
2200
+ "name": "show",
2201
+ "returns": {
2202
+ "type": "Promise<void>",
2203
+ "docs": ""
2204
+ },
2205
+ "complexType": {
2206
+ "signature": "(target: HTMLElement) => Promise<void>",
2207
+ "parameters": [
2208
+ {
2209
+ "name": "target",
2210
+ "type": "HTMLElement",
2211
+ "docs": "- The HTML element relative to which the popover menu should be displayed."
2212
+ }
2213
+ ],
2214
+ "references": {
2215
+ "Promise": {
2216
+ "location": "global",
2217
+ "id": "global::Promise"
2218
+ },
2219
+ "HTMLElement": {
2220
+ "location": "global",
2221
+ "id": "global::HTMLElement"
2222
+ }
2223
+ },
2224
+ "return": "Promise<void>"
2225
+ },
2226
+ "signature": "show(target: HTMLElement) => Promise<void>",
2227
+ "parameters": [
2228
+ {
2229
+ "name": "target",
2230
+ "type": "HTMLElement",
2231
+ "docs": "- The HTML element relative to which the popover menu should be displayed."
2232
+ }
2233
+ ],
2234
+ "docs": "Displays the popover menu, focusing the first menu item.",
2235
+ "docsTags": [
2236
+ {
2237
+ "name": "param",
2238
+ "text": "target - The HTML element relative to which the popover menu should be displayed."
2239
+ }
2240
+ ]
2241
+ },
2242
+ {
2243
+ "name": "toggle",
2244
+ "returns": {
2245
+ "type": "Promise<void>",
2246
+ "docs": ""
2247
+ },
2248
+ "complexType": {
2249
+ "signature": "(target: HTMLElement) => Promise<void>",
2250
+ "parameters": [
2251
+ {
2252
+ "name": "target",
2253
+ "type": "HTMLElement",
2254
+ "docs": ""
2255
+ }
2256
+ ],
2257
+ "references": {
2258
+ "Promise": {
2259
+ "location": "global",
2260
+ "id": "global::Promise"
2261
+ },
2262
+ "HTMLElement": {
2263
+ "location": "global",
2264
+ "id": "global::HTMLElement"
2265
+ }
2266
+ },
2267
+ "return": "Promise<void>"
2268
+ },
2269
+ "signature": "toggle(target: HTMLElement) => Promise<void>",
2270
+ "parameters": [
2271
+ {
2272
+ "name": "target",
2273
+ "type": "HTMLElement",
2274
+ "docs": ""
2275
+ }
2276
+ ],
2277
+ "docs": "Toggles the menu visibility based on its current state.",
2278
+ "docsTags": []
2279
+ }
2280
+ ],
2281
+ "events": [
2282
+ {
2283
+ "event": "toggleMenu",
2284
+ "detail": "boolean",
2285
+ "bubbles": true,
2286
+ "complexType": {
2287
+ "original": "boolean",
2288
+ "resolved": "boolean",
2289
+ "references": {}
2290
+ },
2291
+ "cancelable": true,
2292
+ "composed": true,
2293
+ "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.",
2294
+ "docsTags": []
2295
+ }
2296
+ ],
2297
+ "listeners": [],
2298
+ "styles": [],
2299
+ "slots": [],
2300
+ "parts": [],
2301
+ "dependents": [],
2302
+ "dependencies": [
2303
+ "post-popovercontainer"
2304
+ ],
2305
+ "dependencyGraph": {
2306
+ "post-menu": [
2307
+ "post-popovercontainer"
2308
+ ]
2309
+ }
2310
+ },
2311
+ {
2312
+ "filePath": "src/components/post-menu-item/post-menu-item.tsx",
2313
+ "encapsulation": "shadow",
2314
+ "tag": "post-menu-item",
2315
+ "readme": "# post-menu-item\n\n\n",
2316
+ "docs": "",
2317
+ "docsTags": [],
2318
+ "usage": {},
2319
+ "props": [],
2320
+ "methods": [],
2321
+ "events": [],
2322
+ "listeners": [],
2323
+ "styles": [],
2324
+ "slots": [],
2325
+ "parts": [],
2326
+ "dependents": [],
2327
+ "dependencies": [],
2328
+ "dependencyGraph": {}
2329
+ },
2330
+ {
2331
+ "filePath": "src/components/post-menu-trigger/post-menu-trigger.tsx",
2332
+ "encapsulation": "none",
2333
+ "tag": "post-menu-trigger",
2334
+ "readme": "# post-menu-trigger\n\n\n",
2335
+ "docs": "",
2336
+ "docsTags": [],
2337
+ "usage": {},
2338
+ "props": [
2339
+ {
2340
+ "name": "for",
2341
+ "type": "string",
2342
+ "complexType": {
2343
+ "original": "string",
2344
+ "resolved": "string",
2345
+ "references": {}
2346
+ },
2347
+ "mutable": false,
2348
+ "attr": "for",
2349
+ "reflectToAttr": false,
2350
+ "docs": "ID of the menu element that this trigger is linked to. Used to open and close the specified menu.",
2351
+ "docsTags": [],
2352
+ "values": [
2353
+ {
2354
+ "type": "string"
2355
+ }
2356
+ ],
2357
+ "optional": false,
2358
+ "required": true
2359
+ }
2360
+ ],
2361
+ "methods": [],
2362
+ "events": [],
2363
+ "listeners": [],
2364
+ "styles": [],
2365
+ "slots": [],
2366
+ "parts": [],
2367
+ "dependents": [],
2368
+ "dependencies": [],
2369
+ "dependencyGraph": {}
2370
+ },
1859
2371
  {
1860
2372
  "filePath": "src/components/post-popover/post-popover.tsx",
1861
2373
  "encapsulation": "shadow",
@@ -2403,11 +2915,19 @@
2403
2915
  ],
2404
2916
  "parts": [],
2405
2917
  "dependents": [
2918
+ "post-megadropdown",
2919
+ "post-menu",
2406
2920
  "post-popover",
2407
2921
  "post-tooltip"
2408
2922
  ],
2409
2923
  "dependencies": [],
2410
2924
  "dependencyGraph": {
2925
+ "post-megadropdown": [
2926
+ "post-popovercontainer"
2927
+ ],
2928
+ "post-menu": [
2929
+ "post-popovercontainer"
2930
+ ],
2411
2931
  "post-popover": [
2412
2932
  "post-popovercontainer"
2413
2933
  ],
@@ -2831,7 +3351,7 @@
2831
3351
  "mutable": false,
2832
3352
  "attr": "icon",
2833
3353
  "reflectToAttr": false,
2834
- "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>.",
3354
+ "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>.",
2835
3355
  "docsTags": [],
2836
3356
  "default": "null",
2837
3357
  "values": [
@@ -3216,10 +3736,10 @@
3216
3736
  "docstring": "",
3217
3737
  "path": "src/types/index.ts"
3218
3738
  },
3219
- "src/components/post-alert/alert-types.ts::AlertType": {
3220
- "declaration": "\"primary\" | \"success\" | \"warning\" | \"danger\" | \"info\" | \"gray\"",
3739
+ "src/components/post-banner/banner-types.ts::BannerType": {
3740
+ "declaration": "\"neutral\" | \"success\" | \"warning\" | \"danger\" | \"info\"",
3221
3741
  "docstring": "",
3222
- "path": "src/components/post-alert/alert-types.ts"
3742
+ "path": "src/components/post-banner/banner-types.ts"
3223
3743
  },
3224
3744
  "../../node_modules/.pnpm/@floating-ui+dom@1.6.8/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
3225
3745
  "declaration": "any",