@swisspost/design-system-components 10.4.0 → 10.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/breakpoints-Kruvy8Dm.js +47 -0
  3. package/dist/cjs/{create-validator-decorator-BtgLWaMJ.js → create-validator-decorator-Cy5yN6u9.js} +1 -1
  4. package/dist/cjs/{event-from-CwMw19f8.js → event-from-CTcQxB9-.js} +19 -13
  5. package/dist/cjs/{index-CW10QvjR.js → index-B3PXzvDk.js} +1 -1
  6. package/dist/cjs/{breakpoints-B0Olgvgc.js → index-CggFmZ8n.js} +0 -42
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/{one-of-vJeW7S4_.js → one-of-CRFrfihj.js} +1 -1
  9. package/dist/cjs/{package-CL8OSAS4.js → package-pKyFPwiA.js} +1 -1
  10. package/dist/cjs/{pattern-Zmn3wpyp.js → pattern-D329DFcf.js} +1 -1
  11. package/dist/cjs/post-accordion_2.cjs.entry.js +7 -7
  12. package/dist/cjs/post-autocomplete.cjs.entry.js +70 -55
  13. package/dist/cjs/post-avatar.cjs.entry.js +7 -7
  14. package/dist/cjs/post-back-to-top.cjs.entry.js +25 -13
  15. package/dist/cjs/post-banner.cjs.entry.js +6 -13
  16. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +42 -12
  17. package/dist/cjs/post-breadcrumbs.cjs.entry.js +222 -71
  18. package/dist/cjs/post-closebutton_14.cjs.entry.js +431 -233
  19. package/dist/cjs/post-collapsible_2.cjs.entry.js +9 -9
  20. package/dist/cjs/post-components.cjs.js +2 -2
  21. package/dist/cjs/post-date-picker.cjs.entry.js +18 -16
  22. package/dist/cjs/post-footer.cjs.entry.js +8 -8
  23. package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
  24. package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
  25. package/dist/cjs/post-listbox.cjs.entry.js +6 -6
  26. package/dist/cjs/post-number-input.cjs.entry.js +7 -6
  27. package/dist/cjs/post-pagination.cjs.entry.js +6 -6
  28. package/dist/cjs/post-popover-trigger.cjs.entry.js +8 -8
  29. package/dist/cjs/post-popover.cjs.entry.js +11 -11
  30. package/dist/cjs/post-progressbar.cjs.entry.js +5 -5
  31. package/dist/cjs/post-rating.cjs.entry.js +7 -7
  32. package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +8 -8
  33. package/dist/cjs/post-side-navigation.cjs.entry.js +9 -9
  34. package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
  35. package/dist/cjs/post-stepper.cjs.entry.js +8 -8
  36. package/dist/cjs/post-tab-item.cjs.entry.js +7 -7
  37. package/dist/cjs/post-tab-panel.cjs.entry.js +7 -7
  38. package/dist/cjs/post-tabs.cjs.entry.js +9 -9
  39. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +8 -8
  40. package/dist/cjs/post-tooltip.cjs.entry.js +6 -6
  41. package/dist/cjs/{required-DRnPokVn.js → required-DhAEd0c7.js} +1 -1
  42. package/dist/cjs/{type-CNcU_-B2.js → type-2Ma9dvHs.js} +1 -1
  43. package/dist/cjs/{url-DgJ3lXQz.js → url-DePscsTj.js} +1 -1
  44. package/dist/collection/components/post-autocomplete/post-autocomplete.js +65 -50
  45. package/dist/collection/components/post-back-to-top/post-back-to-top.js +19 -7
  46. package/dist/collection/components/post-banner/post-banner.js +2 -17
  47. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
  48. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +59 -4
  49. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
  50. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +249 -71
  51. package/dist/collection/components/post-closebutton/post-closebutton.js +7 -8
  52. package/dist/collection/components/post-collapsible/post-collapsible.js +1 -1
  53. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +2 -2
  54. package/dist/collection/components/post-date-picker/native-mask-element.js +1 -1
  55. package/dist/collection/components/post-date-picker/post-date-picker.js +11 -9
  56. package/dist/collection/components/post-footer/post-footer.js +2 -2
  57. package/dist/collection/components/post-header/post-header.js +2 -2
  58. package/dist/collection/components/post-icon/post-icon.js +1 -1
  59. package/dist/collection/components/post-language-menu/post-language-menu.js +1 -1
  60. package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
  61. package/dist/collection/components/post-listbox/post-listbox.js +2 -2
  62. package/dist/collection/components/post-listbox-option/post-listbox-option.js +2 -2
  63. package/dist/collection/components/post-logo/post-logo.js +1 -1
  64. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
  65. package/dist/collection/components/post-megadropdown/post-megadropdown.js +3 -3
  66. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +1 -1
  67. package/dist/collection/components/post-menu/post-menu.js +23 -8
  68. package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
  69. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
  70. package/dist/collection/components/post-number-input/post-number-input.js +2 -2
  71. package/dist/collection/components/post-popover/post-popover.css +1 -1
  72. package/dist/collection/components/post-popover/post-popover.js +4 -4
  73. package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +3 -3
  74. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +71 -43
  75. package/dist/collection/components/post-progressbar/post-progressbar.js +1 -1
  76. package/dist/collection/components/post-rating/post-rating.js +1 -1
  77. package/dist/collection/components/post-side-navigation/post-side-navigation.css +1 -1
  78. package/dist/collection/components/post-side-navigation/post-side-navigation.js +1 -1
  79. package/dist/collection/components/post-side-navigation-trigger/post-side-navigation-trigger.js +1 -1
  80. package/dist/collection/components/post-stepper/post-stepper.js +1 -1
  81. package/dist/collection/components/post-stepper-item/post-stepper-item.js +1 -1
  82. package/dist/collection/components/post-tab-item/post-tab-item.js +2 -2
  83. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  84. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  85. package/dist/collection/components/post-tabs/post-tabs.js +2 -2
  86. package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
  87. package/dist/collection/components/post-tooltip/post-tooltip.js +2 -2
  88. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +2 -2
  89. package/dist/collection/utils/breakpoints.js +11 -9
  90. package/dist/collection/utils/closable-target.js +38 -0
  91. package/dist/collection/utils/event-from.js +18 -13
  92. package/dist/collection/utils/floating-ui.js +72 -0
  93. package/dist/collection/utils/index.js +1 -0
  94. package/dist/components/breakpoints.js +1 -1
  95. package/dist/components/event-from.js +1 -1
  96. package/dist/components/index2.js +1 -0
  97. package/dist/components/package.js +1 -1
  98. package/dist/components/post-autocomplete.js +1 -1
  99. package/dist/components/post-back-to-top.js +1 -1
  100. package/dist/components/post-banner.js +1 -1
  101. package/dist/components/post-breadcrumb-item.js +1 -1
  102. package/dist/components/post-breadcrumbs.js +1 -1
  103. package/dist/components/post-closebutton2.js +1 -1
  104. package/dist/components/post-collapsible-trigger2.js +1 -1
  105. package/dist/components/post-collapsible2.js +1 -1
  106. package/dist/components/post-date-picker.js +1 -1
  107. package/dist/components/post-footer.js +1 -1
  108. package/dist/components/post-header.js +1 -1
  109. package/dist/components/post-icon2.js +1 -1
  110. package/dist/components/post-linkarea.js +1 -1
  111. package/dist/components/post-listbox-option.js +1 -1
  112. package/dist/components/post-listbox.js +1 -1
  113. package/dist/components/post-logo.js +1 -1
  114. package/dist/components/post-mainnavigation.js +1 -1
  115. package/dist/components/post-megadropdown-trigger.js +1 -1
  116. package/dist/components/post-megadropdown.js +1 -1
  117. package/dist/components/post-menu-item2.js +1 -1
  118. package/dist/components/post-menu-trigger2.js +1 -1
  119. package/dist/components/post-menu2.js +1 -1
  120. package/dist/components/post-number-input.js +1 -1
  121. package/dist/components/post-popover-trigger.js +1 -1
  122. package/dist/components/post-popover.js +1 -1
  123. package/dist/components/post-popovercontainer2.js +1 -1
  124. package/dist/components/post-progressbar.js +1 -1
  125. package/dist/components/post-rating.js +1 -1
  126. package/dist/components/post-side-navigation-trigger.js +1 -1
  127. package/dist/components/post-side-navigation.js +1 -1
  128. package/dist/components/post-stepper-item.js +1 -1
  129. package/dist/components/post-stepper.js +1 -1
  130. package/dist/components/post-tab-item.js +1 -1
  131. package/dist/components/post-tab-panel.js +1 -1
  132. package/dist/components/post-tabs.js +1 -1
  133. package/dist/components/post-togglebutton2.js +1 -1
  134. package/dist/components/post-tooltip-trigger.js +1 -1
  135. package/dist/components/post-tooltip.js +1 -1
  136. package/dist/components/react/index.js +1 -1
  137. package/dist/components/react/{p-Bwko4UKh.js → p-3RU9XwVO.js} +1 -1
  138. package/dist/components/react/p-5LuCes5o.js +1 -0
  139. package/dist/components/react/p-B1TcktiB.js +1 -0
  140. package/dist/components/react/{p-4wtxqxXu.js → p-B2jsM_Ov.js} +1 -1
  141. package/dist/components/react/p-BEcxHjuM.js +1 -0
  142. package/dist/components/react/p-BN2dfUQ0.js +1 -0
  143. package/dist/components/react/p-BPUhha1U.js +1 -0
  144. package/dist/{post-components/p-C-lLRsYC.js → components/react/p-BdLRXQqY.js} +1 -1
  145. package/dist/components/react/{p-BSb74xQy.js → p-Bnb_TyDh.js} +1 -1
  146. package/dist/components/react/p-CVVXnYLU.js +1 -0
  147. package/dist/components/react/{p-9RCG8BWM.js → p-CcDLIogT.js} +1 -1
  148. package/dist/components/react/{p-CSmrQ__L.js → p-CdggfEzz.js} +1 -1
  149. package/dist/components/react/p-CnN4Jdtv.js +1 -0
  150. package/dist/components/react/{p-D-imniYA.js → p-CzsG0uCA.js} +1 -1
  151. package/dist/components/react/p-DeO0rZ1T.js +1 -0
  152. package/dist/components/react/p-DffT6evQ.js +1 -0
  153. package/dist/components/react/p-T8T3po4z.js +1 -0
  154. package/dist/components/react/p-WXzzOdnl.js +1 -0
  155. package/dist/components/react/p-bR8vy6-s.js +1 -0
  156. package/dist/components/react/{p-B1kYo1K9.js → p-m1-sOx5T.js} +1 -1
  157. package/dist/components/react/post-accordion-item.js +1 -1
  158. package/dist/components/react/post-accordion.js +1 -1
  159. package/dist/components/react/post-autocomplete.js +1 -1
  160. package/dist/components/react/post-avatar.js +1 -1
  161. package/dist/components/react/post-back-to-top.js +1 -1
  162. package/dist/components/react/post-banner.js +1 -1
  163. package/dist/components/react/post-breadcrumb-item.js +1 -1
  164. package/dist/components/react/post-breadcrumbs.js +1 -1
  165. package/dist/components/react/post-closebutton.js +1 -1
  166. package/dist/components/react/post-collapsible-trigger.js +1 -1
  167. package/dist/components/react/post-collapsible.js +1 -1
  168. package/dist/components/react/post-date-picker.js +1 -1
  169. package/dist/components/react/post-footer.js +1 -1
  170. package/dist/components/react/post-header.js +1 -1
  171. package/dist/components/react/post-icon.js +1 -1
  172. package/dist/components/react/post-language-menu-item.js +1 -1
  173. package/dist/components/react/post-language-menu.js +1 -1
  174. package/dist/components/react/post-linkarea.js +1 -1
  175. package/dist/components/react/post-listbox-option.js +1 -1
  176. package/dist/components/react/post-listbox.js +1 -1
  177. package/dist/components/react/post-logo.js +1 -1
  178. package/dist/components/react/post-mainnavigation.js +1 -1
  179. package/dist/components/react/post-megadropdown-trigger.js +1 -1
  180. package/dist/components/react/post-megadropdown.js +1 -1
  181. package/dist/components/react/post-menu-item.js +1 -1
  182. package/dist/components/react/post-menu-trigger.js +1 -1
  183. package/dist/components/react/post-menu.js +1 -1
  184. package/dist/components/react/post-number-input.js +1 -1
  185. package/dist/components/react/post-pagination.js +1 -1
  186. package/dist/components/react/post-popover-trigger.js +1 -1
  187. package/dist/components/react/post-popover.js +1 -1
  188. package/dist/components/react/post-popovercontainer.js +1 -1
  189. package/dist/components/react/post-progressbar.js +1 -1
  190. package/dist/components/react/post-rating.js +1 -1
  191. package/dist/components/react/post-side-navigation-trigger.js +1 -1
  192. package/dist/components/react/post-side-navigation.js +1 -1
  193. package/dist/components/react/post-stepper-item.js +1 -1
  194. package/dist/components/react/post-stepper.js +1 -1
  195. package/dist/components/react/post-tab-item.js +1 -1
  196. package/dist/components/react/post-tab-panel.js +1 -1
  197. package/dist/components/react/post-tabs.js +1 -1
  198. package/dist/components/react/post-togglebutton.js +1 -1
  199. package/dist/components/react/post-tooltip-trigger.js +1 -1
  200. package/dist/components/react/post-tooltip.js +1 -1
  201. package/dist/docs.json +118 -27
  202. package/dist/esm/breakpoints-I1j7a0bW.js +45 -0
  203. package/dist/esm/{create-validator-decorator-CNUaQboh.js → create-validator-decorator-C2XlYkNB.js} +1 -1
  204. package/dist/esm/{event-from-rEfV4v4a.js → event-from-BEcxHjuM.js} +19 -14
  205. package/dist/esm/{index-sn7oKSwC.js → index-BjziJWh2.js} +1 -1
  206. package/dist/esm/{breakpoints-BQ3HlJPr.js → index-bR8vy6-s.js} +1 -42
  207. package/dist/esm/loader.js +3 -3
  208. package/dist/esm/{one-of-C6Ironyj.js → one-of-Do1iao-k.js} +1 -1
  209. package/dist/esm/{package-tTf1w3A9.js → package-T8T3po4z.js} +1 -1
  210. package/dist/esm/{pattern-57oD--q3.js → pattern-BZDucOTq.js} +1 -1
  211. package/dist/esm/post-accordion_2.entry.js +7 -7
  212. package/dist/esm/post-autocomplete.entry.js +70 -55
  213. package/dist/esm/post-avatar.entry.js +7 -7
  214. package/dist/esm/post-back-to-top.entry.js +25 -13
  215. package/dist/esm/post-banner.entry.js +6 -13
  216. package/dist/esm/post-breadcrumb-item.entry.js +42 -12
  217. package/dist/esm/post-breadcrumbs.entry.js +222 -71
  218. package/dist/esm/post-closebutton_14.entry.js +430 -232
  219. package/dist/esm/post-collapsible_2.entry.js +9 -9
  220. package/dist/esm/post-components.js +3 -3
  221. package/dist/esm/post-date-picker.entry.js +18 -16
  222. package/dist/esm/post-footer.entry.js +8 -8
  223. package/dist/esm/post-linkarea.entry.js +3 -3
  224. package/dist/esm/post-listbox-option.entry.js +4 -4
  225. package/dist/esm/post-listbox.entry.js +6 -6
  226. package/dist/esm/post-number-input.entry.js +6 -5
  227. package/dist/esm/post-pagination.entry.js +6 -6
  228. package/dist/esm/post-popover-trigger.entry.js +8 -8
  229. package/dist/esm/post-popover.entry.js +11 -11
  230. package/dist/esm/post-progressbar.entry.js +5 -5
  231. package/dist/esm/post-rating.entry.js +7 -7
  232. package/dist/esm/post-side-navigation-trigger.entry.js +8 -8
  233. package/dist/esm/post-side-navigation.entry.js +9 -9
  234. package/dist/esm/post-stepper-item.entry.js +3 -3
  235. package/dist/esm/post-stepper.entry.js +8 -8
  236. package/dist/esm/post-tab-item.entry.js +7 -7
  237. package/dist/esm/post-tab-panel.entry.js +7 -7
  238. package/dist/esm/post-tabs.entry.js +9 -9
  239. package/dist/esm/post-tooltip-trigger.entry.js +8 -8
  240. package/dist/esm/post-tooltip.entry.js +6 -6
  241. package/dist/esm/{required-D2rl2XZJ.js → required-B0X7uy13.js} +1 -1
  242. package/dist/esm/{type-CGynDrfh.js → type-CF1dOg6D.js} +1 -1
  243. package/dist/esm/{url-1wyUfUv-.js → url-BL7d6iWZ.js} +1 -1
  244. package/dist/post-components/{p-167191e5.entry.js → p-0e922531.entry.js} +1 -1
  245. package/dist/post-components/{p-cf6eacab.entry.js → p-1ec27142.entry.js} +1 -1
  246. package/dist/post-components/{p-da217dbc.entry.js → p-2005eb98.entry.js} +1 -1
  247. package/dist/post-components/p-2cff5b3a.entry.js +1 -0
  248. package/dist/post-components/p-53bd2128.entry.js +1 -0
  249. package/dist/post-components/{p-212c71e4.entry.js → p-59b30e90.entry.js} +1 -1
  250. package/dist/post-components/{p-beed9922.entry.js → p-60550edb.entry.js} +1 -1
  251. package/dist/post-components/p-655ded00.entry.js +1 -0
  252. package/dist/post-components/p-76cc3c9a.entry.js +1 -0
  253. package/dist/post-components/{p-3149d866.entry.js → p-8012cc3b.entry.js} +1 -1
  254. package/dist/post-components/p-819c93de.entry.js +1 -0
  255. package/dist/post-components/p-840acd3c.entry.js +1 -0
  256. package/dist/post-components/p-87b1034f.entry.js +1 -0
  257. package/dist/post-components/p-88f754e9.entry.js +1 -0
  258. package/dist/post-components/p-9S_5_Zh8.js +1 -0
  259. package/dist/post-components/p-BEcxHjuM.js +1 -0
  260. package/dist/post-components/p-BYfu3J2D.js +1 -0
  261. package/dist/post-components/p-BjziJWh2.js +2 -0
  262. package/dist/post-components/p-BoYe-VVx.js +1 -0
  263. package/dist/post-components/p-CbbADNiv.js +1 -0
  264. package/dist/post-components/p-DgnQe03V.js +1 -0
  265. package/dist/post-components/p-DlKbBdcP.js +1 -0
  266. package/dist/post-components/p-I1j7a0bW.js +1 -0
  267. package/dist/post-components/p-T8T3po4z.js +1 -0
  268. package/dist/post-components/{p-a01ea634.entry.js → p-a32d3050.entry.js} +1 -1
  269. package/dist/post-components/p-b4229624.entry.js +1 -0
  270. package/dist/post-components/{p-96bf6b01.entry.js → p-b9faa76b.entry.js} +1 -1
  271. package/dist/post-components/p-bR8vy6-s.js +1 -0
  272. package/dist/post-components/{p-70fbe469.entry.js → p-ba1b4ba0.entry.js} +1 -1
  273. package/dist/post-components/p-c0ae13b7.entry.js +1 -0
  274. package/dist/post-components/p-c9dcdebb.entry.js +1 -0
  275. package/dist/post-components/p-ccf8020b.entry.js +1 -0
  276. package/dist/post-components/p-cd68d3a2.entry.js +1 -0
  277. package/dist/post-components/p-cdc7b8d3.entry.js +1 -0
  278. package/dist/post-components/{p-1cf5bc67.entry.js → p-d7c9a969.entry.js} +1 -1
  279. package/dist/post-components/p-db11f781.entry.js +1 -0
  280. package/dist/post-components/{p-0323b0f3.entry.js → p-dc285087.entry.js} +1 -1
  281. package/dist/post-components/{p-e8d9723e.entry.js → p-de6f1816.entry.js} +1 -1
  282. package/dist/post-components/p-dec8bd99.entry.js +1 -0
  283. package/dist/post-components/p-f9a8ee94.entry.js +1 -0
  284. package/dist/post-components/post-components.css +2 -2
  285. package/dist/post-components/post-components.esm.js +1 -1
  286. package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +18 -6
  287. package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +2 -1
  288. package/dist/types/components/post-banner/post-banner.d.ts +0 -1
  289. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +12 -1
  290. package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +54 -14
  291. package/dist/types/components/post-closebutton/post-closebutton.d.ts +1 -1
  292. package/dist/types/components/post-menu/post-menu.d.ts +1 -0
  293. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +8 -5
  294. package/dist/types/components.d.ts +38 -7
  295. package/dist/types/utils/breakpoints.d.ts +1 -0
  296. package/dist/types/utils/closable-target.d.ts +5 -0
  297. package/dist/types/utils/event-from.d.ts +8 -0
  298. package/dist/types/utils/floating-ui.d.ts +12 -0
  299. package/dist/types/utils/index.d.ts +1 -0
  300. package/hydrate/index.js +1085 -665
  301. package/hydrate/index.mjs +1085 -665
  302. package/package.json +31 -22
  303. package/dist/components/react/p-BXqGI600.js +0 -1
  304. package/dist/components/react/p-B_WnO-QF.js +0 -1
  305. package/dist/components/react/p-BaB8wJvk.js +0 -1
  306. package/dist/components/react/p-Bji_4dfL.js +0 -1
  307. package/dist/components/react/p-CX2E_IXB.js +0 -1
  308. package/dist/components/react/p-CwmQwirr.js +0 -1
  309. package/dist/components/react/p-D17tCsFk.js +0 -1
  310. package/dist/components/react/p-DD1c_IgL.js +0 -1
  311. package/dist/components/react/p-Df31eVdi.js +0 -1
  312. package/dist/components/react/p-I0dqoE80.js +0 -1
  313. package/dist/components/react/p-rEfV4v4a.js +0 -1
  314. package/dist/components/react/p-tTf1w3A9.js +0 -1
  315. package/dist/post-components/p-06ddd73b.entry.js +0 -1
  316. package/dist/post-components/p-090e52db.entry.js +0 -1
  317. package/dist/post-components/p-292a9784.entry.js +0 -1
  318. package/dist/post-components/p-2de6fe62.entry.js +0 -1
  319. package/dist/post-components/p-39ff8127.entry.js +0 -1
  320. package/dist/post-components/p-3a968b19.entry.js +0 -1
  321. package/dist/post-components/p-472_tiaS.js +0 -1
  322. package/dist/post-components/p-58422de1.entry.js +0 -1
  323. package/dist/post-components/p-5873a90c.entry.js +0 -1
  324. package/dist/post-components/p-986fa1c1.entry.js +0 -1
  325. package/dist/post-components/p-BQ3HlJPr.js +0 -1
  326. package/dist/post-components/p-B_FOhVrp.js +0 -1
  327. package/dist/post-components/p-CeNqFJV7.js +0 -1
  328. package/dist/post-components/p-DYDdaLz-.js +0 -1
  329. package/dist/post-components/p-DoNhJ2D7.js +0 -1
  330. package/dist/post-components/p-b1d2384a.entry.js +0 -1
  331. package/dist/post-components/p-b535fc10.entry.js +0 -1
  332. package/dist/post-components/p-b99e6621.entry.js +0 -1
  333. package/dist/post-components/p-bf83a3fb.entry.js +0 -1
  334. package/dist/post-components/p-c46bc56f.entry.js +0 -1
  335. package/dist/post-components/p-ce8132a9.entry.js +0 -1
  336. package/dist/post-components/p-d72e830b.entry.js +0 -1
  337. package/dist/post-components/p-e08d26f4.entry.js +0 -1
  338. package/dist/post-components/p-rEfV4v4a.js +0 -1
  339. package/dist/post-components/p-sn7oKSwC.js +0 -2
  340. package/dist/post-components/p-tTf1w3A9.js +0 -1
@@ -18,7 +18,12 @@ export declare class PostAutocomplete {
18
18
  * e.g. "{count} suggestions available"
19
19
  */
20
20
  readonly textAvailableSuggestions: string;
21
- inputValue: string;
21
+ /** Whether the listbox is currently expanded */
22
+ private expanded;
23
+ /** The value of the last run query */
24
+ private lastQuery;
25
+ /** The value of the selected listbox option */
26
+ selectedValue: string | null;
22
27
  /** Cancelable event emitted when the input value is to be filtered */
23
28
  postFilteringEvent: EventEmitter<string>;
24
29
  private get inputElement();
@@ -26,19 +31,26 @@ export declare class PostAutocomplete {
26
31
  componentWillLoad(): void;
27
32
  disconnectedCallback(): void;
28
33
  private attachInputListeners;
29
- private readonly handleFocus;
30
34
  private detachInputListeners;
31
35
  private attachListboxListeners;
32
36
  private detachListboxListeners;
33
37
  private clearAnnouncement;
34
38
  private announceCount;
35
- private readonly handleOnBlur;
39
+ private showListBox;
40
+ private hideListBox;
41
+ private updateSelectedValue;
42
+ /** Restores the input to the value of the selected option. */
43
+ private restoreSelectedValue;
44
+ /** Runs a query, filtering the listbox options and reflecting the outcome. */
45
+ private runQuery;
46
+ /** Filters the listbox options based on the query, delegating to the consuming parent when possible. */
47
+ private filterListBox;
48
+ private readonly handleClick;
49
+ private readonly handleBlur;
36
50
  private readonly handleInput;
37
51
  private readonly handleKeyDown;
38
52
  private readonly handleOptionSelected;
39
53
  private readonly handleOptionActive;
40
- private readonly hideListBox;
41
- private readonly showListBox;
42
- private readonly clearInput;
54
+ private readonly handleClear;
43
55
  render(): any;
44
56
  }
@@ -7,9 +7,10 @@ export declare class PostBackToTop {
7
7
  textBackToTop: string;
8
8
  belowFold: boolean;
9
9
  private translateY;
10
+ private currentAnimation?;
10
11
  private isBelowFold;
11
12
  private readonly handleScroll;
12
- watchBelowFold(newValue: boolean): void;
13
+ watchBelowFold(newValue: boolean): Promise<void>;
13
14
  private scrollToTop;
14
15
  private getSecondPixelValue;
15
16
  private animateButton;
@@ -26,7 +26,6 @@ export declare class PostBanner {
26
26
  * Triggers banner dismissal programmatically (same as clicking on the close button (×)).
27
27
  */
28
28
  dismiss(): Promise<void>;
29
- onCloseButtonClick(): void;
30
29
  private checkContent;
31
30
  render(): any;
32
31
  }
@@ -1,9 +1,13 @@
1
1
  import { Variant } from './variants';
2
2
  /**
3
- * @slot default - The content displayed inside the breadcrumb item.
3
+ * @slot default - The content displayed inside the breadcrumb item. Can contain text or an <a> element, so consumers can slot their own routing-aware link instead of relying on the `url` prop.
4
4
  */
5
5
  export declare class PostBreadcrumbItem {
6
6
  host: HTMLPostBreadcrumbItemElement;
7
+ /**
8
+ * Whether the consumer slotted their own <a>. When true, the component renders only the <slot>, leaving the slotted anchor untouched so the host app's router can handle clicks.
9
+ */
10
+ hasSlottedAnchor: boolean;
7
11
  /**
8
12
  * The destination URL for the breadcrumb item. If omitted, the item is rendered as non-interactive text.
9
13
  */
@@ -24,5 +28,12 @@ export declare class PostBreadcrumbItem {
24
28
  * Indicates that the item represents the current page, applying appropriate styling.
25
29
  */
26
30
  selected: boolean;
31
+ /**
32
+ * Indicates that this is the only visible item, applying appropriate styling.
33
+ */
34
+ standalone: boolean;
35
+ componentWillLoad(): void;
36
+ private checkSlottedAnchor;
37
+ private renderContent;
27
38
  render(): any;
28
39
  }
@@ -1,17 +1,41 @@
1
+ /**
2
+ * @slot home - The content of the root (home) breadcrumb item. Can contain an `<a>` element, so consumers can slot their own routing-aware link instead of relying on the `home-url` prop.
3
+ */
1
4
  export declare class PostBreadcrumbs {
2
- private mutationObserver;
5
+ private debounceUpdateCollapsedItems;
3
6
  private resizeObserver;
7
+ private mutationObserver;
4
8
  host: HTMLPostBreadcrumbsElement;
5
- shouldRenderMenu: boolean;
6
9
  id: string;
10
+ loaded: boolean;
11
+ /** Whether the consumer slotted their own `<a>` into the `home` slot. When true, `home-url` is not required, since the internal fallback link is not rendered. */
12
+ hasSlottedHomeAnchor: boolean;
13
+ /** Whether the slotted home anchor contains a post-icon. */
14
+ hasSlottedHomeIcon: boolean;
15
+ /** The number of breadcrumb items, counted from the start, moved into the overflow menu. */
16
+ collapsed: number;
17
+ /** Whether the home item is collapsed into its own overflow menu. */
18
+ homeCollapsed: boolean;
19
+ /** Whether the last (selected) item wraps onto multiple lines. */
20
+ lastItemWraps: boolean;
21
+ /** The visible breadcrumb navigation. */
22
+ private nav;
23
+ /** An off-screen copy of the breadcrumb navigation used for measurement. */
24
+ private hiddenNav;
7
25
  /**
8
26
  * The URL for the root (home) breadcrumb item.
9
27
  */
10
- homeUrl: string;
28
+ homeUrl?: string;
29
+ /**
30
+ * The label of the root (home) breadcrumb item. Displayed visibly when `home-text-only` is
31
+ * `true`, otherwise used as an accessible label alongside the home icon.
32
+ */
33
+ textHome?: string;
11
34
  /**
12
- * An accessible label for the root (home) breadcrumb item.
35
+ * Whether `text-home` content is displayed instead of the home icon, enabling segment specific
36
+ * breadcrumbs (like "Private customers" or "About us").
13
37
  */
14
- textHome: string;
38
+ homeTextOnly: boolean;
15
39
  /**
16
40
  * An accessible label for the breadcrumb navigation.
17
41
  */
@@ -21,18 +45,34 @@ export declare class PostBreadcrumbs {
21
45
  */
22
46
  textMoreItems: string;
23
47
  componentWillLoad(): void;
24
- componentDidLoad(): void;
48
+ componentDidLoad(): Promise<void>;
25
49
  disconnectedCallback(): void;
26
- private createMutationObserver;
27
- private createResizeObserver;
50
+ private checkSlottedHomeAnchor;
51
+ private get usesHomeText();
52
+ /** Measures the available space and updates all three degrade-stage states. */
53
+ private updateCollapsedItems;
54
+ private calculateCollapsedItems;
55
+ /** Runs the three degrade stages in order against the off-screen measurement clone. */
56
+ private calculateOverflowingItems;
57
+ /** Stage 1: collapses middle items until the rest fits, or none are left. */
58
+ private collapseMiddleItems;
59
+ /** Applies the degrade states to the `<post-breadcrumb-item>` elements. */
60
+ private updateItems;
61
+ /** Rebuilds the off-screen copy of the breadcrumb navigation. */
62
+ private updateHiddenNav;
63
+ private updateAfterMutation;
28
64
  /**
29
- * To measure overflow, we duplicate the entire breadcrumb so an inline version is always available.
65
+ * Renders an off-screen copy of the nav for measurements. `.home` is rebuilt independently (see
66
+ * `buildMeasurementHomeElement`) rather than cloned, since the live nav may show the home item
67
+ * in the overflow menu instead if it is already collapsed.
30
68
  */
31
- private duplicateNavElement;
32
- private duplicateSlottedElements;
33
- private checkOverflow;
34
- private prepareBreadcrumbItemsForClone;
35
- private updateBreadcrumbItemProps;
69
+ private renderHiddenNav;
70
+ /** Builds `.home` in its full, uncollapsed form for measurement. Mirrors `renderHomeContent`, but as plain DOM since this runs outside the render cycle. */
71
+ private buildMeasurementHomeElement;
36
72
  private renderMenu;
73
+ /** Reused by the plain home item and the home menu — a slot can only be assigned once. */
74
+ private renderHomeContent;
75
+ /** Degrade stage 2: home renders in full, single-line, not yet collapsed. */
76
+ private renderHome;
37
77
  render(): any;
38
78
  }
@@ -9,7 +9,7 @@ export declare class PostClosebutton {
9
9
  host: HTMLPostClosebuttonElement;
10
10
  /**
11
11
  * The "type" attribute used for the close button
12
-
12
+
13
13
  */
14
14
  buttonType?: ButtonType;
15
15
  /**
@@ -50,6 +50,7 @@ export declare class PostMenu {
50
50
  private readonly handleKeyDown;
51
51
  private handlePostShown;
52
52
  private handlePostBeforeToggle;
53
+ private wasFocusVisible;
53
54
  private readonly handleClick;
54
55
  private controlKeyDownHandler;
55
56
  private getSlottedItems;
@@ -76,6 +76,13 @@ export declare class PostPopovercontainer {
76
76
  * Enables a safespace through which the cursor can be moved without the popover being disabled
77
77
  */
78
78
  readonly safeSpace?: 'triangle' | 'trapezoid';
79
+ /**
80
+ * Whether to automatically hide the popover when the target moves outside the scrollport.
81
+ *
82
+ * If the `post-header` can cover the target, the popover will also be hidden as soon as the
83
+ * target scrolls behind it.
84
+ */
85
+ readonly autoHide?: boolean;
79
86
  /**
80
87
  * Animation style
81
88
  */
@@ -129,12 +136,8 @@ export declare class PostPopovercontainer {
129
136
  * an influence on popovercontainer positioning
130
137
  */
131
138
  private startAutoupdates;
132
- /**
133
- * Retrieves the dynamic height of the header
134
- */
135
- private getHeaderHeight;
139
+ private updatePosition;
136
140
  private calculatePosition;
137
- private computeMainPosition;
138
141
  private updateSafeSpaceBoundaries;
139
142
  render(): any;
140
143
  }
@@ -125,6 +125,11 @@ export namespace Components {
125
125
  * @default false
126
126
  */
127
127
  "selected": boolean;
128
+ /**
129
+ * Indicates that this is the only visible item, applying appropriate styling.
130
+ * @default false
131
+ */
132
+ "standalone": boolean;
128
133
  /**
129
134
  * The destination URL for the breadcrumb item. If omitted, the item is rendered as non-interactive text.
130
135
  */
@@ -136,18 +141,23 @@ export namespace Components {
136
141
  "variant": Variant;
137
142
  }
138
143
  interface PostBreadcrumbs {
144
+ /**
145
+ * Whether `text-home` content is displayed instead of the home icon, enabling segment specific breadcrumbs (like "Private customers" or "About us").
146
+ * @default false
147
+ */
148
+ "homeTextOnly": boolean;
139
149
  /**
140
150
  * The URL for the root (home) breadcrumb item.
141
151
  */
142
- "homeUrl": string;
152
+ "homeUrl"?: string;
143
153
  /**
144
154
  * An accessible label for the breadcrumb navigation.
145
155
  */
146
156
  "textBreadcrumbs": string;
147
157
  /**
148
- * An accessible label for the root (home) breadcrumb item.
158
+ * The label of the root (home) breadcrumb item. Displayed visibly when `home-text-only` is `true`, otherwise used as an accessible label alongside the home icon.
149
159
  */
150
- "textHome": string;
160
+ "textHome"?: string;
151
161
  /**
152
162
  * An accessible label for the overflow menu that contains collapsed breadcrumb items.
153
163
  */
@@ -573,6 +583,10 @@ export namespace Components {
573
583
  * @default false
574
584
  */
575
585
  "arrow"?: boolean;
586
+ /**
587
+ * Whether to automatically hide the popover when the target moves outside the scrollport. If the `post-header` can cover the target, the popover will also be hidden as soon as the target scrolls behind it.
588
+ */
589
+ "autoHide"?: boolean;
576
590
  /**
577
591
  * Gap between the edge of the page and the popovercontainer
578
592
  * @default 8
@@ -1421,6 +1435,11 @@ declare namespace LocalJSX {
1421
1435
  * @default false
1422
1436
  */
1423
1437
  "selected"?: boolean;
1438
+ /**
1439
+ * Indicates that this is the only visible item, applying appropriate styling.
1440
+ * @default false
1441
+ */
1442
+ "standalone"?: boolean;
1424
1443
  /**
1425
1444
  * The destination URL for the breadcrumb item. If omitted, the item is rendered as non-interactive text.
1426
1445
  */
@@ -1432,18 +1451,23 @@ declare namespace LocalJSX {
1432
1451
  "variant"?: Variant;
1433
1452
  }
1434
1453
  interface PostBreadcrumbs {
1454
+ /**
1455
+ * Whether `text-home` content is displayed instead of the home icon, enabling segment specific breadcrumbs (like "Private customers" or "About us").
1456
+ * @default false
1457
+ */
1458
+ "homeTextOnly"?: boolean;
1435
1459
  /**
1436
1460
  * The URL for the root (home) breadcrumb item.
1437
1461
  */
1438
- "homeUrl": string;
1462
+ "homeUrl"?: string;
1439
1463
  /**
1440
1464
  * An accessible label for the breadcrumb navigation.
1441
1465
  */
1442
1466
  "textBreadcrumbs": string;
1443
1467
  /**
1444
- * An accessible label for the root (home) breadcrumb item.
1468
+ * The label of the root (home) breadcrumb item. Displayed visibly when `home-text-only` is `true`, otherwise used as an accessible label alongside the home icon.
1445
1469
  */
1446
- "textHome": string;
1470
+ "textHome"?: string;
1447
1471
  /**
1448
1472
  * An accessible label for the overflow menu that contains collapsed breadcrumb items.
1449
1473
  */
@@ -1826,6 +1850,10 @@ declare namespace LocalJSX {
1826
1850
  * @default false
1827
1851
  */
1828
1852
  "arrow"?: boolean;
1853
+ /**
1854
+ * Whether to automatically hide the popover when the target moves outside the scrollport. If the `post-header` can cover the target, the popover will also be hidden as soon as the target scrolls behind it.
1855
+ */
1856
+ "autoHide"?: boolean;
1829
1857
  /**
1830
1858
  * Gap between the edge of the page and the popovercontainer
1831
1859
  * @default 8
@@ -2069,10 +2097,12 @@ declare namespace LocalJSX {
2069
2097
  "description": string;
2070
2098
  "variant": Variant;
2071
2099
  "selected": boolean;
2100
+ "standalone": boolean;
2072
2101
  }
2073
2102
  interface PostBreadcrumbsAttributes {
2074
2103
  "homeUrl": string;
2075
2104
  "textHome": string;
2105
+ "homeTextOnly": boolean;
2076
2106
  "textBreadcrumbs": string;
2077
2107
  "textMoreItems": string;
2078
2108
  }
@@ -2183,6 +2213,7 @@ declare namespace LocalJSX {
2183
2213
  "offset": number;
2184
2214
  "arrow": boolean;
2185
2215
  "safeSpace": 'triangle' | 'trapezoid';
2216
+ "autoHide": boolean;
2186
2217
  }
2187
2218
  interface PostProgressbarAttributes {
2188
2219
  "min": number;
@@ -2244,7 +2275,7 @@ declare namespace LocalJSX {
2244
2275
  "post-back-to-top": Omit<PostBackToTop, keyof PostBackToTopAttributes> & { [K in keyof PostBackToTop & keyof PostBackToTopAttributes]?: PostBackToTop[K] } & { [K in keyof PostBackToTop & keyof PostBackToTopAttributes as `attr:${K}`]?: PostBackToTopAttributes[K] } & { [K in keyof PostBackToTop & keyof PostBackToTopAttributes as `prop:${K}`]?: PostBackToTop[K] } & OneOf<"textBackToTop", PostBackToTop["textBackToTop"], PostBackToTopAttributes["textBackToTop"]>;
2245
2276
  "post-banner": Omit<PostBanner, keyof PostBannerAttributes> & { [K in keyof PostBanner & keyof PostBannerAttributes]?: PostBanner[K] } & { [K in keyof PostBanner & keyof PostBannerAttributes as `attr:${K}`]?: PostBannerAttributes[K] } & { [K in keyof PostBanner & keyof PostBannerAttributes as `prop:${K}`]?: PostBanner[K] };
2246
2277
  "post-breadcrumb-item": Omit<PostBreadcrumbItem, keyof PostBreadcrumbItemAttributes> & { [K in keyof PostBreadcrumbItem & keyof PostBreadcrumbItemAttributes]?: PostBreadcrumbItem[K] } & { [K in keyof PostBreadcrumbItem & keyof PostBreadcrumbItemAttributes as `attr:${K}`]?: PostBreadcrumbItemAttributes[K] } & { [K in keyof PostBreadcrumbItem & keyof PostBreadcrumbItemAttributes as `prop:${K}`]?: PostBreadcrumbItem[K] };
2247
- "post-breadcrumbs": Omit<PostBreadcrumbs, keyof PostBreadcrumbsAttributes> & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes]?: PostBreadcrumbs[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `attr:${K}`]?: PostBreadcrumbsAttributes[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `prop:${K}`]?: PostBreadcrumbs[K] } & OneOf<"homeUrl", PostBreadcrumbs["homeUrl"], PostBreadcrumbsAttributes["homeUrl"]> & OneOf<"textHome", PostBreadcrumbs["textHome"], PostBreadcrumbsAttributes["textHome"]> & OneOf<"textBreadcrumbs", PostBreadcrumbs["textBreadcrumbs"], PostBreadcrumbsAttributes["textBreadcrumbs"]> & OneOf<"textMoreItems", PostBreadcrumbs["textMoreItems"], PostBreadcrumbsAttributes["textMoreItems"]>;
2278
+ "post-breadcrumbs": Omit<PostBreadcrumbs, keyof PostBreadcrumbsAttributes> & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes]?: PostBreadcrumbs[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `attr:${K}`]?: PostBreadcrumbsAttributes[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `prop:${K}`]?: PostBreadcrumbs[K] } & OneOf<"textBreadcrumbs", PostBreadcrumbs["textBreadcrumbs"], PostBreadcrumbsAttributes["textBreadcrumbs"]> & OneOf<"textMoreItems", PostBreadcrumbs["textMoreItems"], PostBreadcrumbsAttributes["textMoreItems"]>;
2248
2279
  "post-closebutton": Omit<PostClosebutton, keyof PostClosebuttonAttributes> & { [K in keyof PostClosebutton & keyof PostClosebuttonAttributes]?: PostClosebutton[K] } & { [K in keyof PostClosebutton & keyof PostClosebuttonAttributes as `attr:${K}`]?: PostClosebuttonAttributes[K] } & { [K in keyof PostClosebutton & keyof PostClosebuttonAttributes as `prop:${K}`]?: PostClosebutton[K] };
2249
2280
  "post-collapsible": Omit<PostCollapsible, keyof PostCollapsibleAttributes> & { [K in keyof PostCollapsible & keyof PostCollapsibleAttributes]?: PostCollapsible[K] } & { [K in keyof PostCollapsible & keyof PostCollapsibleAttributes as `attr:${K}`]?: PostCollapsibleAttributes[K] } & { [K in keyof PostCollapsible & keyof PostCollapsibleAttributes as `prop:${K}`]?: PostCollapsible[K] };
2250
2281
  "post-collapsible-trigger": Omit<PostCollapsibleTrigger, keyof PostCollapsibleTriggerAttributes> & { [K in keyof PostCollapsibleTrigger & keyof PostCollapsibleTriggerAttributes]?: PostCollapsibleTrigger[K] } & { [K in keyof PostCollapsibleTrigger & keyof PostCollapsibleTriggerAttributes as `attr:${K}`]?: PostCollapsibleTriggerAttributes[K] } & { [K in keyof PostCollapsibleTrigger & keyof PostCollapsibleTriggerAttributes as `prop:${K}`]?: PostCollapsibleTrigger[K] };
@@ -5,6 +5,7 @@ interface BreakpointDefinition {
5
5
  device: Device;
6
6
  key: BreakpointKey;
7
7
  minWidth: BreakpointMinWidth;
8
+ mediaQuery: string;
8
9
  }
9
10
  type BreakpointProperty = keyof BreakpointDefinition;
10
11
  declare class Breakpoint {
@@ -0,0 +1,5 @@
1
+ export interface ClosableTarget {
2
+ element: Element;
3
+ close: () => void;
4
+ }
5
+ export declare function findClosableTarget(start: Element): ClosableTarget | null;
@@ -8,3 +8,11 @@ export declare function EventFrom(tag: string, option?: {
8
8
  ignoreNestedComponents?: boolean;
9
9
  allowDescendants?: boolean;
10
10
  }): (target: object, propertyKey: string, descriptor?: PropertyDescriptor) => void;
11
+ /**
12
+ * Traverses up the DOM (including crossing shadow DOM boundaries) to find the closest ancestor
13
+ * matching the given predicate.
14
+ * @param start - The starting element
15
+ * @param predicate - A type guard used to test each ancestor
16
+ * @returns The closest matching ancestor or null if none found
17
+ */
18
+ export declare function findClosestAcrossShadow<T extends Element>(start: Element, predicate: (el: Element) => el is T): T | null;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This utility is covered by the end-to-end tests under 'clipping' in `popovercontainer.cy.ts`.
3
+ */
4
+ import { computePosition } from '@floating-ui/dom';
5
+ /**
6
+ * Computes the coordinates that will position the `floating` element next to a given `reference`
7
+ * element while accounting for the safe area.
8
+ *
9
+ * The safe area is the part of the viewport that the header does not cover. Restricting the
10
+ * clipping rectangles to it makes floating elements behave as if they were clipped by the header.
11
+ */
12
+ export declare const computePositionWithSafeArea: typeof computePosition;
@@ -1,6 +1,7 @@
1
1
  export * from './property-decorators';
2
2
  export * from './attribute-observer';
3
3
  export * from './breakpoints';
4
+ export * from './closable-target';
4
5
  export * from './component-on-ready';
5
6
  export * from './debounce';
6
7
  export * from './event-from';