@swisspost/design-system-components 10.0.0-next.67 → 10.0.0-next.69

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 (490) hide show
  1. package/dist/.config/rollup-plugin.air-datepicker-locale.js +30 -0
  2. package/dist/cjs/_air-datepicker-locale_ar-CWOSiErt.js +5 -0
  3. package/dist/cjs/_air-datepicker-locale_bg-JFWSZzWm.js +5 -0
  4. package/dist/cjs/_air-datepicker-locale_ca-D4TAa7rI.js +5 -0
  5. package/dist/cjs/_air-datepicker-locale_cs-DosuWhKM.js +5 -0
  6. package/dist/cjs/_air-datepicker-locale_da-B5NHFJuC.js +5 -0
  7. package/dist/cjs/_air-datepicker-locale_de-pCyAfzJ2.js +5 -0
  8. package/dist/cjs/_air-datepicker-locale_el-Cpwc-DA1.js +5 -0
  9. package/dist/cjs/_air-datepicker-locale_en-Be7ImjN_.js +5 -0
  10. package/dist/cjs/_air-datepicker-locale_es-Cv0KAzTX.js +5 -0
  11. package/dist/cjs/_air-datepicker-locale_eu-DIWyMMth.js +5 -0
  12. package/dist/cjs/_air-datepicker-locale_fi-D0NlYCfL.js +5 -0
  13. package/dist/cjs/_air-datepicker-locale_fr-SkEOXj1I.js +5 -0
  14. package/dist/cjs/_air-datepicker-locale_hr-BrTsx2iQ.js +5 -0
  15. package/dist/cjs/_air-datepicker-locale_hu-a5Toa3rt.js +5 -0
  16. package/dist/cjs/_air-datepicker-locale_id-h0ieLcJv.js +5 -0
  17. package/dist/cjs/_air-datepicker-locale_it-DQeeF5n7.js +5 -0
  18. package/dist/cjs/_air-datepicker-locale_ja-C78DHDAv.js +5 -0
  19. package/dist/cjs/_air-datepicker-locale_ko-BGSYNW_t.js +5 -0
  20. package/dist/cjs/_air-datepicker-locale_nb-BQkZ_Pvp.js +5 -0
  21. package/dist/cjs/_air-datepicker-locale_nl-DG6dvxj-.js +5 -0
  22. package/dist/cjs/_air-datepicker-locale_pl-mZxBq8TF.js +5 -0
  23. package/dist/cjs/_air-datepicker-locale_pt-sCO-c8dQ.js +5 -0
  24. package/dist/cjs/_air-datepicker-locale_ro-Cf2HyYTE.js +5 -0
  25. package/dist/cjs/_air-datepicker-locale_ru-BS-yHOKw.js +5 -0
  26. package/dist/cjs/_air-datepicker-locale_si-C-vceOjt.js +5 -0
  27. package/dist/cjs/_air-datepicker-locale_sk-D6Sexd7V.js +5 -0
  28. package/dist/cjs/_air-datepicker-locale_sl-C769P2Cr.js +5 -0
  29. package/dist/cjs/_air-datepicker-locale_sv-DV21M0v9.js +5 -0
  30. package/dist/cjs/_air-datepicker-locale_th-HFoj3y5r.js +5 -0
  31. package/dist/cjs/_air-datepicker-locale_tr-C4soRqRo.js +5 -0
  32. package/dist/cjs/_air-datepicker-locale_uk-BM5nVNZS.js +5 -0
  33. package/dist/cjs/_air-datepicker-locale_zh-B4bR_9wv.js +5 -0
  34. package/dist/cjs/{get-focusable-children-CL2gimr1.js → get-focusable-children-BGVgg7Te.js} +1 -1
  35. package/dist/cjs/{get-root-BIh00Adr.js → get-root-B1FnQ50K.js} +1 -3
  36. package/dist/cjs/{index-Byyrsgop.js → index-DPdHkdGf.js} +357 -1933
  37. package/dist/cjs/index-YBj3gUJp.js +114540 -0
  38. package/dist/cjs/{index.browser-Doj636JV.js → index.browser-BVb9l9T_.js} +1 -1
  39. package/dist/cjs/loader.cjs.js +2 -2
  40. package/dist/{esm/long-press-event-C_2k3G1c.js → cjs/long-press-event-Dx21Ojod.js} +13 -1
  41. package/dist/cjs/{package-BMq-R5Xi.js → package-CzSn3NmD.js} +1 -1
  42. package/dist/cjs/post-accordion_2.cjs.entry.js +4 -4
  43. package/dist/cjs/post-autocomplete.cjs.entry.js +36 -10
  44. package/dist/cjs/post-avatar.cjs.entry.js +4 -4
  45. package/dist/cjs/post-back-to-top.cjs.entry.js +4 -4
  46. package/dist/cjs/post-banner.cjs.entry.js +4 -4
  47. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +4 -5
  48. package/dist/cjs/post-breadcrumbs.cjs.entry.js +11 -9
  49. package/dist/cjs/post-closebutton_14.cjs.entry.js +64 -55
  50. package/dist/cjs/post-collapsible_2.cjs.entry.js +16 -9
  51. package/dist/cjs/post-components.cjs.js +3 -3
  52. package/dist/cjs/post-date-picker.cjs.entry.js +368 -268
  53. package/dist/cjs/post-footer.cjs.entry.js +5 -5
  54. package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
  55. package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
  56. package/dist/cjs/post-listbox.cjs.entry.js +4 -4
  57. package/dist/cjs/post-login-widget.cjs.entry.js +60 -0
  58. package/dist/cjs/post-number-input.cjs.entry.js +5 -5
  59. package/dist/cjs/post-pagination.cjs.entry.js +5 -5
  60. package/dist/cjs/post-popover-trigger.cjs.entry.js +3 -3
  61. package/dist/cjs/post-popover.cjs.entry.js +5 -5
  62. package/dist/cjs/post-rating.cjs.entry.js +4 -4
  63. package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
  64. package/dist/cjs/post-stepper.cjs.entry.js +6 -6
  65. package/dist/cjs/post-tab-item.cjs.entry.js +5 -5
  66. package/dist/cjs/post-tab-panel.cjs.entry.js +5 -5
  67. package/dist/cjs/post-tabs.cjs.entry.js +5 -5
  68. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +5 -5
  69. package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
  70. package/dist/collection/animations/collapse.js +8 -2
  71. package/dist/collection/collection-manifest.json +3 -1
  72. package/dist/collection/components/post-autocomplete/post-autocomplete.css +1 -1
  73. package/dist/collection/components/post-autocomplete/post-autocomplete.js +52 -7
  74. package/dist/collection/components/post-avatar/post-avatar.js +1 -1
  75. package/dist/collection/components/post-back-to-top/post-back-to-top.js +1 -1
  76. package/dist/collection/components/post-banner/post-banner.js +1 -1
  77. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +40 -3
  78. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +8 -6
  79. package/dist/collection/components/post-closebutton/post-closebutton.css +1 -1
  80. package/dist/collection/components/post-closebutton/post-closebutton.js +1 -1
  81. package/dist/collection/components/post-collapsible/post-collapsible.js +1 -1
  82. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +1 -1
  83. package/dist/collection/components/post-date-picker/air-locales.js +34 -0
  84. package/dist/collection/components/post-date-picker/constants.js +42 -0
  85. package/dist/collection/components/post-date-picker/post-date-picker.css +6 -2
  86. package/dist/collection/components/post-date-picker/post-date-picker.js +295 -135
  87. package/dist/collection/components/post-footer/post-footer.js +1 -1
  88. package/dist/collection/components/post-header/post-header.css +1 -1
  89. package/dist/collection/components/post-header/post-header.js +5 -5
  90. package/dist/collection/components/post-icon/post-icon.js +2 -2
  91. package/dist/collection/components/post-language-menu/post-language-menu.css +1 -1
  92. package/dist/collection/components/post-language-menu/post-language-menu.js +11 -1
  93. package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +27 -1
  94. package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
  95. package/dist/collection/components/post-listbox/post-listbox.js +1 -1
  96. package/dist/collection/components/post-listbox-option/post-listbox-option.js +2 -2
  97. package/dist/collection/components/post-login-widget/post-login-widget.js +120 -0
  98. package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
  99. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -1
  100. package/dist/collection/components/post-menu/post-menu.js +3 -2
  101. package/dist/collection/components/post-number-input/post-number-input.css +1 -1
  102. package/dist/collection/components/post-pagination/post-pagination.css +1 -1
  103. package/dist/collection/components/post-popover/post-popover.js +1 -1
  104. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  105. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +4 -11
  106. package/dist/collection/components/post-rating/post-rating.js +1 -1
  107. package/dist/collection/components/post-stepper/post-stepper.js +4 -4
  108. package/dist/collection/components/post-stepper-item/post-stepper-item.js +1 -1
  109. package/dist/collection/components/post-tab-item/post-tab-item.js +1 -1
  110. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  111. package/dist/collection/components/post-tabs/post-tabs.js +2 -2
  112. package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
  113. package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
  114. package/dist/collection/components/post-tooltip/post-tooltip.js +2 -2
  115. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +1 -1
  116. package/dist/collection/utils/attribute-observer.js +1 -2
  117. package/dist/collection/utils/breakpoints.js +7 -8
  118. package/dist/collection/utils/get-root.js +1 -2
  119. package/dist/collection/utils/index.js +1 -0
  120. package/dist/collection/utils/is-iso-date.js +7 -6
  121. package/dist/collection/utils/is-motion-reduced.js +3 -2
  122. package/dist/collection/utils/locales.js +17 -0
  123. package/dist/component-names.json +1 -0
  124. package/dist/components/_air-datepicker-locale_ar.js +1 -0
  125. package/dist/components/_air-datepicker-locale_bg.js +1 -0
  126. package/dist/components/_air-datepicker-locale_ca.js +1 -0
  127. package/dist/components/_air-datepicker-locale_cs.js +1 -0
  128. package/dist/components/_air-datepicker-locale_da.js +1 -0
  129. package/dist/components/_air-datepicker-locale_de.js +1 -0
  130. package/dist/components/_air-datepicker-locale_el.js +1 -0
  131. package/dist/components/_air-datepicker-locale_en.js +1 -0
  132. package/dist/components/_air-datepicker-locale_es.js +1 -0
  133. package/dist/components/_air-datepicker-locale_eu.js +1 -0
  134. package/dist/components/_air-datepicker-locale_fi.js +1 -0
  135. package/dist/components/_air-datepicker-locale_fr.js +1 -0
  136. package/dist/components/_air-datepicker-locale_hr.js +1 -0
  137. package/dist/components/_air-datepicker-locale_hu.js +1 -0
  138. package/dist/components/_air-datepicker-locale_id.js +1 -0
  139. package/dist/components/_air-datepicker-locale_it.js +1 -0
  140. package/dist/components/_air-datepicker-locale_ja.js +1 -0
  141. package/dist/components/_air-datepicker-locale_ko.js +1 -0
  142. package/dist/components/_air-datepicker-locale_nb.js +1 -0
  143. package/dist/components/_air-datepicker-locale_nl.js +1 -0
  144. package/dist/components/_air-datepicker-locale_pl.js +1 -0
  145. package/dist/components/_air-datepicker-locale_pt.js +1 -0
  146. package/dist/components/_air-datepicker-locale_ro.js +1 -0
  147. package/dist/components/_air-datepicker-locale_ru.js +1 -0
  148. package/dist/components/_air-datepicker-locale_si.js +1 -0
  149. package/dist/components/_air-datepicker-locale_sk.js +1 -0
  150. package/dist/components/_air-datepicker-locale_sl.js +1 -0
  151. package/dist/components/_air-datepicker-locale_sv.js +1 -0
  152. package/dist/components/_air-datepicker-locale_th.js +1 -0
  153. package/dist/components/_air-datepicker-locale_tr.js +1 -0
  154. package/dist/components/_air-datepicker-locale_uk.js +1 -0
  155. package/dist/components/_air-datepicker-locale_zh.js +1 -0
  156. package/dist/components/get-root.js +1 -1
  157. package/dist/components/index.d.ts +2 -0
  158. package/dist/components/index.js +1 -1
  159. package/dist/components/index2.js +1 -0
  160. package/dist/components/index3.js +6 -0
  161. package/dist/components/long-press-event.js +1 -1
  162. package/dist/components/package.js +1 -1
  163. package/dist/components/post-accordion-item2.js +1 -1
  164. package/dist/components/post-accordion2.js +1 -1
  165. package/dist/components/post-autocomplete.js +1 -1
  166. package/dist/components/post-avatar.js +1 -1
  167. package/dist/components/post-back-to-top.js +1 -1
  168. package/dist/components/post-banner.js +1 -1
  169. package/dist/components/post-breadcrumb-item2.js +1 -1
  170. package/dist/components/post-breadcrumbs.js +1 -1
  171. package/dist/components/post-closebutton2.js +1 -1
  172. package/dist/components/post-collapsible-trigger2.js +1 -1
  173. package/dist/components/post-collapsible2.js +1 -1
  174. package/dist/components/post-date-picker.js +1 -1
  175. package/dist/components/post-footer.js +1 -1
  176. package/dist/components/post-header.js +1 -1
  177. package/dist/components/post-icon2.js +1 -1
  178. package/dist/components/post-language-menu-item.js +1 -1
  179. package/dist/components/post-language-menu.js +1 -1
  180. package/dist/components/post-linkarea.js +1 -1
  181. package/dist/components/post-listbox-option.js +1 -1
  182. package/dist/components/post-listbox.js +1 -1
  183. package/dist/components/post-login-widget.d.ts +11 -0
  184. package/dist/components/post-login-widget.js +1 -0
  185. package/dist/components/post-logo.js +1 -1
  186. package/dist/components/post-mainnavigation.js +1 -1
  187. package/dist/components/post-megadropdown-trigger.js +1 -1
  188. package/dist/components/post-megadropdown.js +1 -1
  189. package/dist/components/post-menu-trigger2.js +1 -1
  190. package/dist/components/post-menu2.js +1 -1
  191. package/dist/components/post-number-input.js +1 -1
  192. package/dist/components/post-pagination.js +1 -1
  193. package/dist/components/post-popover-trigger.js +1 -1
  194. package/dist/components/post-popover.js +1 -1
  195. package/dist/components/post-popovercontainer2.js +1 -1
  196. package/dist/components/post-rating.js +1 -1
  197. package/dist/components/post-stepper-item.js +1 -1
  198. package/dist/components/post-stepper.js +1 -1
  199. package/dist/components/post-tab-item.js +1 -1
  200. package/dist/components/post-tab-panel.js +1 -1
  201. package/dist/components/post-tabs.js +1 -1
  202. package/dist/components/post-togglebutton2.js +1 -1
  203. package/dist/components/post-tooltip-trigger.js +1 -1
  204. package/dist/components/post-tooltip.js +1 -1
  205. package/dist/components/react/index.js +1 -1
  206. package/dist/components/react/p-08F-DB-d.js +1 -0
  207. package/dist/components/react/p-B0UL6WWC.js +1 -0
  208. package/dist/components/react/p-B2BDAeHI.js +1 -0
  209. package/dist/components/react/p-B4l5EAoq.js +1 -0
  210. package/dist/components/react/{p-Bq6Ye6Uc.js → p-B4tq6hiA.js} +1 -1
  211. package/dist/components/react/p-B5zHEJHg.js +1 -0
  212. package/dist/components/react/p-BI8IDv3x.js +1 -0
  213. package/dist/components/react/p-BL8Kkhue.js +1 -0
  214. package/dist/components/react/{p-C_2k3G1c.js → p-BNgqqRsB.js} +1 -1
  215. package/dist/components/react/p-BYfHrHCb.js +1 -0
  216. package/dist/components/react/p-B_mxRlWV.js +1 -0
  217. package/dist/components/react/p-BaE0RQYu.js +1 -0
  218. package/dist/components/react/p-BbOp03Tv.js +1 -0
  219. package/dist/components/react/p-BfPjPzPS.js +1 -0
  220. package/dist/components/react/p-BhrWATcv.js +1 -0
  221. package/dist/components/react/p-Bj33xnuq.js +1 -0
  222. package/dist/components/react/p-Blr-q_ib.js +1 -0
  223. package/dist/components/react/p-ByHlofKQ.js +1 -0
  224. package/dist/components/react/p-BzFuQlXL.js +1 -0
  225. package/dist/components/react/p-C820VY6h.js +1 -0
  226. package/dist/components/react/p-CHD6fZJe.js +1 -0
  227. package/dist/components/react/p-CJcRbvrI.js +6 -0
  228. package/dist/components/react/p-CKeMJgsB.js +1 -0
  229. package/dist/components/react/p-CKmlbvS5.js +1 -0
  230. package/dist/components/react/p-CLO4Gc79.js +1 -0
  231. package/dist/components/react/p-COcQTTvB.js +1 -0
  232. package/dist/components/react/p-CY0xDY7T.js +1 -0
  233. package/dist/components/react/p-CaXZrKGy.js +1 -0
  234. package/dist/components/react/p-CfQqdIV2.js +1 -0
  235. package/dist/components/react/p-Cp9RABzO.js +1 -0
  236. package/dist/components/react/{p-BvY9Yl0A.js → p-D1KBbwmi.js} +1 -1
  237. package/dist/components/react/p-D74-8pcb.js +1 -0
  238. package/dist/components/react/p-D7MKQ7S-.js +1 -0
  239. package/dist/components/react/p-DAIxJysJ.js +1 -0
  240. package/dist/components/react/p-DLWEDodU.js +1 -0
  241. package/dist/components/react/p-DQq5Bnk2.js +1 -0
  242. package/dist/components/react/p-DRtzK3cr.js +1 -0
  243. package/dist/components/react/p-DYpJ3j2A.js +1 -0
  244. package/dist/components/react/p-De_QjSNJ.js +1 -0
  245. package/dist/components/react/p-DiNZLG90.js +1 -0
  246. package/dist/components/react/p-Dp41Pg4o.js +1 -0
  247. package/dist/components/react/{p-BlBcIJe_.js → p-DsaGKkkf.js} +1 -1
  248. package/dist/components/react/p-DwJ5SwpN.js +1 -0
  249. package/dist/components/react/{p-D3Tx-0vM.js → p-HNUXY1z7.js} +1 -1
  250. package/dist/components/react/p-TmutBiUy.js +1 -0
  251. package/dist/components/react/{p-CKkmf4_w.js → p-UY924tHr.js} +1 -1
  252. package/dist/components/react/p-bl3gSRgH.js +1 -0
  253. package/dist/components/react/p-jZZU8-Dx.js +1 -0
  254. package/dist/components/react/p-r5tpdxcW.js +1 -0
  255. package/dist/components/react/p-tHlklq2F.js +1 -0
  256. package/dist/components/react/post-accordion-item.js +1 -1
  257. package/dist/components/react/post-accordion.js +1 -1
  258. package/dist/components/react/post-autocomplete.js +1 -1
  259. package/dist/components/react/post-avatar.js +1 -1
  260. package/dist/components/react/post-back-to-top.js +1 -1
  261. package/dist/components/react/post-banner.js +1 -1
  262. package/dist/components/react/post-breadcrumb-item.js +1 -1
  263. package/dist/components/react/post-breadcrumbs.js +1 -1
  264. package/dist/components/react/post-closebutton.js +1 -1
  265. package/dist/components/react/post-collapsible-trigger.js +1 -1
  266. package/dist/components/react/post-collapsible.js +1 -1
  267. package/dist/components/react/post-date-picker.js +1 -1
  268. package/dist/components/react/post-footer.js +1 -1
  269. package/dist/components/react/post-header.js +1 -1
  270. package/dist/components/react/post-icon.js +1 -1
  271. package/dist/components/react/post-language-menu-item.js +1 -1
  272. package/dist/components/react/post-language-menu.js +1 -1
  273. package/dist/components/react/post-linkarea.js +1 -1
  274. package/dist/components/react/post-listbox-option.js +1 -1
  275. package/dist/components/react/post-listbox.js +1 -1
  276. package/dist/components/react/post-login-widget.d.ts +11 -0
  277. package/dist/components/react/post-login-widget.js +1 -0
  278. package/dist/components/react/post-logo.js +1 -1
  279. package/dist/components/react/post-mainnavigation.js +1 -1
  280. package/dist/components/react/post-megadropdown-trigger.js +1 -1
  281. package/dist/components/react/post-megadropdown.js +1 -1
  282. package/dist/components/react/post-menu-item.js +1 -1
  283. package/dist/components/react/post-menu-trigger.js +1 -1
  284. package/dist/components/react/post-menu.js +1 -1
  285. package/dist/components/react/post-number-input.js +1 -1
  286. package/dist/components/react/post-pagination.js +1 -1
  287. package/dist/components/react/post-popover-trigger.js +1 -1
  288. package/dist/components/react/post-popover.js +1 -1
  289. package/dist/components/react/post-popovercontainer.js +1 -1
  290. package/dist/components/react/post-rating.js +1 -1
  291. package/dist/components/react/post-stepper-item.js +1 -1
  292. package/dist/components/react/post-stepper.js +1 -1
  293. package/dist/components/react/post-tab-item.js +1 -1
  294. package/dist/components/react/post-tab-panel.js +1 -1
  295. package/dist/components/react/post-tabs.js +1 -1
  296. package/dist/components/react/post-togglebutton.js +1 -1
  297. package/dist/components/react/post-tooltip-trigger.js +1 -1
  298. package/dist/components/react/post-tooltip.js +1 -1
  299. package/dist/docs.d.ts +26 -0
  300. package/dist/docs.json +280 -10
  301. package/dist/esm/_air-datepicker-locale_ar-DQq5Bnk2.js +3 -0
  302. package/dist/esm/_air-datepicker-locale_bg-bl3gSRgH.js +3 -0
  303. package/dist/esm/_air-datepicker-locale_ca-BI8IDv3x.js +3 -0
  304. package/dist/esm/_air-datepicker-locale_cs-COcQTTvB.js +3 -0
  305. package/dist/esm/_air-datepicker-locale_da-jZZU8-Dx.js +3 -0
  306. package/dist/esm/_air-datepicker-locale_de-DiNZLG90.js +3 -0
  307. package/dist/esm/_air-datepicker-locale_el-CY0xDY7T.js +3 -0
  308. package/dist/esm/_air-datepicker-locale_en-D74-8pcb.js +3 -0
  309. package/dist/esm/_air-datepicker-locale_es-TmutBiUy.js +3 -0
  310. package/dist/esm/_air-datepicker-locale_eu-Blr-q_ib.js +3 -0
  311. package/dist/esm/_air-datepicker-locale_fi-B5zHEJHg.js +3 -0
  312. package/dist/esm/_air-datepicker-locale_fr-CLO4Gc79.js +3 -0
  313. package/dist/esm/_air-datepicker-locale_hr-CKeMJgsB.js +3 -0
  314. package/dist/esm/_air-datepicker-locale_hu-B_mxRlWV.js +3 -0
  315. package/dist/esm/_air-datepicker-locale_id-BhrWATcv.js +3 -0
  316. package/dist/esm/_air-datepicker-locale_it-B0UL6WWC.js +3 -0
  317. package/dist/esm/_air-datepicker-locale_ja-DLWEDodU.js +3 -0
  318. package/dist/esm/_air-datepicker-locale_ko-BL8Kkhue.js +3 -0
  319. package/dist/esm/_air-datepicker-locale_nb-BzFuQlXL.js +3 -0
  320. package/dist/esm/_air-datepicker-locale_nl-ByHlofKQ.js +3 -0
  321. package/dist/esm/_air-datepicker-locale_pl-CaXZrKGy.js +3 -0
  322. package/dist/esm/_air-datepicker-locale_pt-CKmlbvS5.js +3 -0
  323. package/dist/esm/_air-datepicker-locale_ro-r5tpdxcW.js +3 -0
  324. package/dist/esm/_air-datepicker-locale_ru-BfPjPzPS.js +3 -0
  325. package/dist/esm/_air-datepicker-locale_si-Dp41Pg4o.js +3 -0
  326. package/dist/esm/_air-datepicker-locale_sk-BaE0RQYu.js +3 -0
  327. package/dist/esm/_air-datepicker-locale_sl-tHlklq2F.js +3 -0
  328. package/dist/esm/_air-datepicker-locale_sv-DYpJ3j2A.js +3 -0
  329. package/dist/esm/_air-datepicker-locale_th-D7MKQ7S-.js +3 -0
  330. package/dist/esm/_air-datepicker-locale_tr-CHD6fZJe.js +3 -0
  331. package/dist/esm/_air-datepicker-locale_uk-Cp9RABzO.js +3 -0
  332. package/dist/esm/_air-datepicker-locale_zh-C820VY6h.js +3 -0
  333. package/dist/esm/{get-focusable-children-CckqSLu_.js → get-focusable-children-DxYnH2ye.js} +1 -1
  334. package/dist/esm/{get-root-gmtbd8C-.js → get-root-08F-DB-d.js} +1 -3
  335. package/dist/esm/index-CJcRbvrI.js +114535 -0
  336. package/dist/esm/{index-8Vx4ywJ4.js → index-DmAi35UF.js} +357 -1933
  337. package/dist/esm/{index.browser-BLchVpF6.js → index.browser-nA1BKco0.js} +1 -1
  338. package/dist/esm/loader.js +3 -3
  339. package/dist/{cjs/long-press-event-Q8jMUNXD.js → esm/long-press-event-BNgqqRsB.js} +11 -3
  340. package/dist/esm/package-B4l5EAoq.js +3 -0
  341. package/dist/esm/post-accordion_2.entry.js +4 -4
  342. package/dist/esm/post-autocomplete.entry.js +36 -10
  343. package/dist/esm/post-avatar.entry.js +4 -4
  344. package/dist/esm/post-back-to-top.entry.js +4 -4
  345. package/dist/esm/post-banner.entry.js +4 -4
  346. package/dist/esm/post-breadcrumb-item.entry.js +4 -5
  347. package/dist/esm/post-breadcrumbs.entry.js +11 -9
  348. package/dist/esm/post-closebutton_14.entry.js +61 -52
  349. package/dist/esm/post-collapsible_2.entry.js +16 -9
  350. package/dist/esm/post-components.js +4 -4
  351. package/dist/esm/post-date-picker.entry.js +352 -252
  352. package/dist/esm/post-footer.entry.js +4 -4
  353. package/dist/esm/post-linkarea.entry.js +3 -3
  354. package/dist/esm/post-listbox-option.entry.js +4 -4
  355. package/dist/esm/post-listbox.entry.js +4 -4
  356. package/dist/esm/post-login-widget.entry.js +58 -0
  357. package/dist/esm/post-number-input.entry.js +4 -4
  358. package/dist/esm/post-pagination.entry.js +5 -5
  359. package/dist/esm/post-popover-trigger.entry.js +3 -3
  360. package/dist/esm/post-popover.entry.js +5 -5
  361. package/dist/esm/post-rating.entry.js +4 -4
  362. package/dist/esm/post-stepper-item.entry.js +3 -3
  363. package/dist/esm/post-stepper.entry.js +6 -6
  364. package/dist/esm/post-tab-item.entry.js +5 -5
  365. package/dist/esm/post-tab-panel.entry.js +5 -5
  366. package/dist/esm/post-tabs.entry.js +5 -5
  367. package/dist/esm/post-tooltip-trigger.entry.js +5 -5
  368. package/dist/esm/post-tooltip.entry.js +5 -5
  369. package/dist/post-components/p-08F-DB-d.js +1 -0
  370. package/dist/post-components/{p-16573e00.entry.js → p-0992cba9.entry.js} +1 -1
  371. package/dist/post-components/{p-11dfed23.entry.js → p-0c249c71.entry.js} +1 -1
  372. package/dist/post-components/p-1e28d279.entry.js +1 -0
  373. package/dist/post-components/{p-ce7bfb11.entry.js → p-220d0eab.entry.js} +1 -1
  374. package/dist/post-components/{p-15d519e6.entry.js → p-272de102.entry.js} +1 -1
  375. package/dist/post-components/p-30e5bc99.entry.js +1 -0
  376. package/dist/post-components/p-500a3fc7.entry.js +1 -0
  377. package/dist/post-components/{p-29859921.entry.js → p-52f85cba.entry.js} +1 -1
  378. package/dist/post-components/{p-9a3d4f38.entry.js → p-5664d5b5.entry.js} +1 -1
  379. package/dist/post-components/{p-0c22b6cb.entry.js → p-5ade4255.entry.js} +1 -1
  380. package/dist/post-components/p-6644e626.entry.js +1 -0
  381. package/dist/post-components/{p-3a294f1a.entry.js → p-694e76be.entry.js} +1 -1
  382. package/dist/post-components/p-8b68164f.entry.js +1 -0
  383. package/dist/post-components/{p-b13742e1.entry.js → p-906b669b.entry.js} +1 -1
  384. package/dist/post-components/p-92e4a7f7.entry.js +1 -0
  385. package/dist/post-components/p-95df4d4e.entry.js +1 -0
  386. package/dist/post-components/{p-6badcfb3.entry.js → p-9fab1847.entry.js} +1 -1
  387. package/dist/post-components/p-B0UL6WWC.js +1 -0
  388. package/dist/post-components/p-B4l5EAoq.js +1 -0
  389. package/dist/post-components/p-B5zHEJHg.js +1 -0
  390. package/dist/post-components/p-BI8IDv3x.js +1 -0
  391. package/dist/post-components/p-BL8Kkhue.js +1 -0
  392. package/dist/post-components/{p-C_2k3G1c.js → p-BNgqqRsB.js} +1 -1
  393. package/dist/post-components/p-B_mxRlWV.js +1 -0
  394. package/dist/post-components/p-BaE0RQYu.js +1 -0
  395. package/dist/post-components/p-BfPjPzPS.js +1 -0
  396. package/dist/post-components/p-BhrWATcv.js +1 -0
  397. package/dist/post-components/p-Blr-q_ib.js +1 -0
  398. package/dist/post-components/p-ByHlofKQ.js +1 -0
  399. package/dist/post-components/p-BzFuQlXL.js +1 -0
  400. package/dist/post-components/p-C820VY6h.js +1 -0
  401. package/dist/post-components/p-CHD6fZJe.js +1 -0
  402. package/dist/post-components/p-CJcRbvrI.js +6 -0
  403. package/dist/post-components/p-CKeMJgsB.js +1 -0
  404. package/dist/post-components/p-CKmlbvS5.js +1 -0
  405. package/dist/post-components/p-CLO4Gc79.js +1 -0
  406. package/dist/post-components/p-COcQTTvB.js +1 -0
  407. package/dist/post-components/p-CY0xDY7T.js +1 -0
  408. package/dist/post-components/p-CaXZrKGy.js +1 -0
  409. package/dist/post-components/p-Cp9RABzO.js +1 -0
  410. package/dist/post-components/p-D74-8pcb.js +1 -0
  411. package/dist/post-components/p-D7MKQ7S-.js +1 -0
  412. package/dist/post-components/p-DLWEDodU.js +1 -0
  413. package/dist/post-components/p-DQq5Bnk2.js +1 -0
  414. package/dist/post-components/{p-DkA4Ai8j.js → p-DYYpZAAV.js} +1 -1
  415. package/dist/post-components/p-DYpJ3j2A.js +1 -0
  416. package/dist/post-components/p-DiNZLG90.js +1 -0
  417. package/dist/post-components/p-DmAi35UF.js +2 -0
  418. package/dist/post-components/p-Dp41Pg4o.js +1 -0
  419. package/dist/post-components/p-TmutBiUy.js +1 -0
  420. package/dist/post-components/p-bl3gSRgH.js +1 -0
  421. package/dist/post-components/p-c70cad6e.entry.js +1 -0
  422. package/dist/post-components/{p-0962f02e.entry.js → p-c95fcb40.entry.js} +1 -1
  423. package/dist/post-components/{p-e5a2d0c3.entry.js → p-cca0cf23.entry.js} +1 -1
  424. package/dist/post-components/{p-68196501.entry.js → p-cd6684e1.entry.js} +1 -1
  425. package/dist/post-components/p-d57462a3.entry.js +1 -0
  426. package/dist/post-components/p-d99bdef2.entry.js +1 -0
  427. package/dist/post-components/{p-6debd1d3.entry.js → p-dfe811cc.entry.js} +1 -1
  428. package/dist/post-components/p-f14ca918.entry.js +1 -0
  429. package/dist/post-components/{p-136052d8.entry.js → p-f88a161a.entry.js} +1 -1
  430. package/dist/post-components/p-fc2882a8.entry.js +1 -0
  431. package/dist/post-components/p-jZZU8-Dx.js +1 -0
  432. package/dist/post-components/p-r5tpdxcW.js +1 -0
  433. package/dist/post-components/p-tHlklq2F.js +1 -0
  434. package/dist/post-components/post-components.css +2 -2
  435. package/dist/post-components/post-components.esm.js +1 -1
  436. package/dist/prebuild.js +4 -1
  437. package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +10 -0
  438. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +8 -0
  439. package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +8 -5
  440. package/dist/types/components/post-date-picker/air-locales.d.ts +5 -0
  441. package/dist/types/components/post-date-picker/constants.d.ts +37 -0
  442. package/dist/types/components/post-date-picker/post-date-picker.d.ts +74 -18
  443. package/dist/types/components/post-language-menu/post-language-menu.d.ts +2 -0
  444. package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +5 -0
  445. package/dist/types/components/post-login-widget/post-login-widget.d.ts +30 -0
  446. package/dist/types/components/post-stepper/post-stepper.d.ts +2 -2
  447. package/dist/types/components.d.ts +349 -79
  448. package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/.config/rollup-plugin.air-datepicker-locale.d.ts +12 -0
  449. package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/types/language-tags.d.ts +1 -0
  450. package/dist/types/language-tags.js +0 -0
  451. package/dist/types/stencil-public-runtime.d.ts +23 -2
  452. package/dist/types/utils/index.d.ts +1 -0
  453. package/dist/types/utils/locales.d.ts +11 -0
  454. package/hydrate/index.js +120060 -4788
  455. package/hydrate/index.mjs +120060 -4788
  456. package/package.json +15 -14
  457. package/dist/cjs/breakpoints-BTxzC_Qv.js +0 -204
  458. package/dist/collection/components/post-date-picker/locales.js +0 -10
  459. package/dist/components/breakpoints.js +0 -1
  460. package/dist/components/react/p-6dWji_Xt.js +0 -1
  461. package/dist/components/react/p-BIQP_u-p.js +0 -1
  462. package/dist/components/react/p-ByHBwvly.js +0 -1
  463. package/dist/components/react/p-C7drBbGl.js +0 -1
  464. package/dist/components/react/p-CS77r1AS.js +0 -1
  465. package/dist/components/react/p-CY-_ZlW3.js +0 -1
  466. package/dist/components/react/p-DVY9jsO7.js +0 -1
  467. package/dist/components/react/p-Djnfi-_S.js +0 -1
  468. package/dist/components/react/p-DlHbGhvD.js +0 -1
  469. package/dist/components/react/p-DxJ0OgPJ.js +0 -1
  470. package/dist/components/react/p-RpVuZS9R.js +0 -1
  471. package/dist/esm/breakpoints-CZuqK5QS.js +0 -200
  472. package/dist/esm/package-DVY9jsO7.js +0 -3
  473. package/dist/post-components/p-44481053.entry.js +0 -1
  474. package/dist/post-components/p-61d99723.entry.js +0 -1
  475. package/dist/post-components/p-6c2558a3.entry.js +0 -1
  476. package/dist/post-components/p-7b44e7e5.entry.js +0 -1
  477. package/dist/post-components/p-81aca7ec.entry.js +0 -1
  478. package/dist/post-components/p-85af10b8.entry.js +0 -1
  479. package/dist/post-components/p-8Vx4ywJ4.js +0 -2
  480. package/dist/post-components/p-951b3be6.entry.js +0 -1
  481. package/dist/post-components/p-D81ozKs6.js +0 -1
  482. package/dist/post-components/p-DVY9jsO7.js +0 -1
  483. package/dist/post-components/p-a4dd6a67.entry.js +0 -1
  484. package/dist/post-components/p-aFKnsRj1.js +0 -1
  485. package/dist/post-components/p-c5717005.entry.js +0 -1
  486. package/dist/post-components/p-ca7796c7.entry.js +0 -1
  487. package/dist/post-components/p-e14f0dd1.entry.js +0 -1
  488. package/dist/types/components/post-date-picker/locales.d.ts +0 -6
  489. /package/dist/components/react/{p-BLchVpF6.js → p-nA1BKco0.js} +0 -0
  490. /package/dist/post-components/{p-BLchVpF6.js → p-nA1BKco0.js} +0 -0
package/dist/prebuild.js CHANGED
@@ -43,4 +43,7 @@ export async function createComponentNameOutput(outputOptionsArray) {
43
43
  function prebuild() {
44
44
  createComponentNameOutput(componentNameOutputOptions);
45
45
  }
46
- prebuild();
46
+ // run prebuild automatically if script is executed directly in node
47
+ if (process.argv[0].match(/node(\.exe)?$/) && process.argv[1]?.endsWith('prebuild.ts')) {
48
+ prebuild();
49
+ }
@@ -4,6 +4,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
4
4
  */
5
5
  export declare class PostAutocomplete {
6
6
  private readonly debouncedHandleInput;
7
+ private outputElement?;
7
8
  host: HTMLPostAutocompleteElement;
8
9
  /** Number of characters to type before filtering methods are called */
9
10
  readonly filterThreshold: number;
@@ -11,6 +12,13 @@ export declare class PostAutocomplete {
11
12
  readonly clearable: boolean;
12
13
  /** Optional idref to connect the autocomplete with the options dropdown if not nested */
13
14
  readonly listbox?: string;
15
+ /**
16
+ * Announcement template for screen readers when the suggestion list updates.
17
+ * Use {count} as placeholder for the number of available suggestions,
18
+ * e.g. "{count} suggestions available"
19
+ */
20
+ readonly textAvailableSuggestions: string;
21
+ validateTextAvailableSuggestions(): void;
14
22
  inputValue: string;
15
23
  /** Cancelable event emitted when the input value is to be filtered */
16
24
  postFilteringEvent: EventEmitter<string>;
@@ -22,6 +30,8 @@ export declare class PostAutocomplete {
22
30
  private detachInputListeners;
23
31
  private attachListboxListeners;
24
32
  private detachListboxListeners;
33
+ private clearAnnouncement;
34
+ private announceCount;
25
35
  private readonly handleOnBlur;
26
36
  private readonly handleInput;
27
37
  private readonly handleKeyDown;
@@ -7,6 +7,14 @@ export declare class PostBreadcrumbItem {
7
7
  * The optional URL to which the breadcrumb item will link.
8
8
  */
9
9
  url?: string | URL;
10
+ /**
11
+ * ARIA label, screen readers will use this instead of the breadcrumb item content.
12
+ */
13
+ label?: string;
14
+ /**
15
+ * ARIA description for additional context, read after the breadcrumb item content or `label`.
16
+ */
17
+ description?: string;
10
18
  private validUrl?;
11
19
  /**
12
20
  * The full path URL to validate.
@@ -1,3 +1,9 @@
1
+ type BreadcrumbItem = {
2
+ url: string | undefined;
3
+ text: string;
4
+ description: string | undefined;
5
+ label: string | undefined;
6
+ };
1
7
  export declare class PostBreadcrumbs {
2
8
  host: HTMLPostBreadcrumbsElement;
3
9
  /**
@@ -16,10 +22,7 @@ export declare class PostBreadcrumbs {
16
22
  * The accessible label for the breadcrumb menu when breadcrumb items are concatenated.
17
23
  */
18
24
  textMoreItems: string;
19
- breadcrumbItems: {
20
- url: string;
21
- text: string;
22
- }[];
25
+ breadcrumbItems: BreadcrumbItem[];
23
26
  isConcatenated: boolean;
24
27
  lastWindowWidth: number;
25
28
  private breadcrumbsNavRef?;
@@ -28,7 +31,6 @@ export declare class PostBreadcrumbs {
28
31
  validateTextHome(): void;
29
32
  validateTextBreadcrumbs(): void;
30
33
  validateTextMoreItems(): void;
31
- componentWillLoad(): void;
32
34
  componentDidLoad(): void;
33
35
  disconnectedCallback(): void;
34
36
  private waitForBreadcrumbsRef;
@@ -39,3 +41,4 @@ export declare class PostBreadcrumbs {
39
41
  private handleBreadcrumbItemClick;
40
42
  render(): any;
41
43
  }
44
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { AirDatepickerLocale } from 'air-datepicker';
2
+ export type AirDatepickerLocales = Record<string, () => Promise<{
3
+ default: AirDatepickerLocale;
4
+ }>>;
5
+ export declare const airDatepickerLocales: AirDatepickerLocales;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * The unicode bidi characters used to control the text direction in the date string.
3
+ * These characters are used to ensure that the date string is displayed correctly in both LTR and RTL locales,
4
+ * especially when the date format contains a separator between the date parts (e.g. " - ").
5
+ * The TEXT_DIRECTION_MARKERS_REGEX is used to remove these characters from the localized date string when parsing it,
6
+ * and to ensure that they are not included in the input mask.
7
+ */
8
+ export declare const TEXT_DIRECTION_MARKERS: string;
9
+ export declare const TEXT_DIRECTION_MARKERS_REGEX: RegExp;
10
+ /**
11
+ * The separator used to separate the start and end date in a date range.
12
+ * It is used in the date string and the input mask.
13
+ */
14
+ export declare const DATE_FORMAT_RANGE_SEPARATOR = " - ";
15
+ /**
16
+ * A map of date format keys to their corresponding date format values.
17
+ * The keys are used in this.dateFormat string and to specify the mask,
18
+ * while the values are used to determine the order of the date parts in the localized date string.
19
+ */
20
+ export declare const DATE_FORMAT_MAP: {
21
+ y: string;
22
+ m: string;
23
+ d: string;
24
+ };
25
+ /**
26
+ * The keys of the DATE_FORMAT_MAP, used to create regexes for parsing and formatting localized date strings.
27
+ * The regexes are used to remove the date format keys from the date format string and to split the localized date string into its parts.
28
+ */
29
+ export declare const DATE_FORMAT_KEYS: string[];
30
+ export declare const DATE_FORMAT_KEYS_REGEX: RegExp;
31
+ export declare const DATE_FORMAT_SEPARATOR_REGEX: RegExp;
32
+ /**
33
+ * The options used to format the date parts in the localized date string.
34
+ * These options are passed to the `toLocaleDateString` method when formatting the date parts.
35
+ * The options are also used to determine the date format string for the input mask.
36
+ */
37
+ export declare const DATE_FORMAT_STRING_OPTIONS: Intl.DateTimeFormatOptions;
@@ -10,8 +10,19 @@ export interface AirDatepickerCustomOptions extends AirDatepickerOptions<HTMLDiv
10
10
  }
11
11
  export declare class PostDatePicker {
12
12
  host: HTMLPostDatePickerElement;
13
- today: Date;
14
- inputDisabled: boolean;
13
+ /**
14
+ * The date pickers locale (e.g. "it", "it-CH", etc.), which specifies the date format and language.
15
+ * <post-banner type="info" data-size="sm"><span>If not set, it defaults to either the closest ancestor with a `lang` attribute (e.g. \<html lang="de"\>), or falls back to English.</span></post-banner>
16
+ */
17
+ locale?: string;
18
+ validateLocale(): void;
19
+ updateLocale(): Promise<void>;
20
+ /**
21
+ * Whether the date picker expects a range selection or a single date selection.
22
+ *
23
+ */
24
+ range?: boolean;
25
+ updateRange(): void;
15
26
  /**
16
27
  * The date picker's selected date. If in range mode, the selected start date.
17
28
  * Must be a valid date in ISO 8601 format (YYYY-MM-DD).
@@ -24,11 +35,6 @@ export declare class PostDatePicker {
24
35
  */
25
36
  selectedEndDate?: string;
26
37
  validateSelectedEndDate(): void;
27
- /**
28
- * Whether the date picker expects a range selection or a single date selection.
29
- *
30
- */
31
- range?: boolean;
32
38
  /**
33
39
  * Minimun possible date to select. Must be a valid date in ISO 8601 format (YYYY-MM-DD).
34
40
  */
@@ -89,8 +95,9 @@ export declare class PostDatePicker {
89
95
  */
90
96
  textToggleCalendar?: string;
91
97
  validateTextToggleCalendar(): void;
98
+ inputDisabled: boolean;
99
+ today: Date;
92
100
  startDate: Date;
93
- locale: string;
94
101
  /**
95
102
  * An event emitted when a date or a range of dates have been selected.
96
103
  */
@@ -107,15 +114,72 @@ export declare class PostDatePicker {
107
114
  private currentViewMonth;
108
115
  private currentViewYear;
109
116
  private currentViewType;
110
- private euFormat;
111
117
  private popoverRef;
112
118
  private dpInput;
119
+ private dpTrigger;
113
120
  private dpInstance;
114
121
  private dpContainer;
115
122
  private inputMask;
116
123
  private gridObserver;
117
124
  private navObserver;
118
125
  private inputObserver;
126
+ /**
127
+ * Get the system locale (e.g.`en`, etc.) from the closest parent with a `lang` attribute,
128
+ * or fallback to a default language code if not found or in server environment.
129
+ */
130
+ private get systemLocale();
131
+ /**
132
+ * Get the locale code to use for the date picker, ensuring it is valid and applying fallback if necessary.
133
+ * @info Use `this.localeCode` or `this.languageCode`, instead of `this.locale` when you need to get the
134
+ * locale for the date picker, to ensure you get a valid locale code with fallback applied.
135
+ * `this.locale` can still be used when you want to get the exact value of the `locale` prop without fallback or validation.
136
+ */
137
+ private get localeCode();
138
+ private get languageCode();
139
+ /**
140
+ * Get the date format string for the current locale, by formatting a sample date and replacing the date parts
141
+ * with format keys (y, m, d). For example, it will return "dd.mm.yyyy" for "de-CH" locale and "mm/dd/yyyy" for "en-US" locale.
142
+ */
143
+ get dateFormat(): string;
144
+ /**
145
+ * Determine the text direction (ltr or rtl) based on the language code, to apply the correct styles and layout to the date picker.
146
+ * Use `new Locale(this.localeCode).getTextInfo().direction` as soon as it becomes baseline:
147
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo
148
+ */
149
+ private get textDirection();
150
+ private get dateFormatRangeSeparator();
151
+ private get isBuddhistCalendar();
152
+ /**
153
+ * Dynamically load the appropriate locale module for the date picker.
154
+ * @returns The locale module for the Air date picker.
155
+ */
156
+ private airLocale;
157
+ /**
158
+ * Convert a date object to a localized date string and vice versa.
159
+ * @param date A localtime date object.
160
+ * @returns A localized date string, depending on the given `localeCode` and the given `options`.
161
+ */
162
+ private dateToString;
163
+ /**
164
+ * Convert a localized date string to a date object.
165
+ * The date string should be in the same format as the date picker's `dateFormat`, which depends on the given `localeCode`.
166
+ * @param localeDateString A localized date string.
167
+ * @returns A localtime date object.
168
+ */
169
+ private stringToDate;
170
+ /**
171
+ * Convert a date object to an ISO 8601 formatted date string (YYYY-MM-DD) and vice versa.
172
+ * @param date A localtime date object.
173
+ * @returns An iso formatted, localtime date string.
174
+ */
175
+ private dateToIso;
176
+ /**
177
+ * Convert an ISO 8601 formatted date string (YYYY-MM-DD) to a localtime date object.
178
+ * @param isoDateString An iso formatted, localtime date string.
179
+ * @returns A localtime date object.
180
+ */
181
+ private isoToDate;
182
+ private padIsoDate;
119
183
  private setupInputObserver;
120
184
  /**
121
185
  * Get all the active cells of the calendar
@@ -150,20 +214,12 @@ export declare class PostDatePicker {
150
214
  * Set up the masks on the inputs to reflect the date pickers
151
215
  */
152
216
  private setUpMask;
217
+ private updateMask;
153
218
  private configDatePicker;
154
219
  private updateInputValue;
155
220
  private handleSelectedDates;
156
221
  private attachTitleBtnListener;
157
222
  private forceTitleClickToYear;
158
- private splitRangeDates;
159
- private isoToDate;
160
- private dateToIso;
161
- private dateStrToDate;
162
- private euDateStrToDate;
163
- private usDateStrToDate;
164
- private dateToDateStr;
165
- private dateToEuDateStr;
166
- private dateToUSDateStr;
167
223
  /**
168
224
  * Add role and aria-label to each grid cell
169
225
  */
@@ -2,6 +2,7 @@ import { SwitchVariant } from './switch-variants';
2
2
  export declare class PostLanguageMenu {
3
3
  private readonly menuId;
4
4
  private readonly listSpanId;
5
+ private menu;
5
6
  private get languageOptions();
6
7
  host: HTMLPostLanguageMenuElement;
7
8
  /**
@@ -29,6 +30,7 @@ export declare class PostLanguageMenu {
29
30
  * Listen for the postChange event and guard it to run only for events originating from a <post-language-menu-item> element.
30
31
  */
31
32
  handlePostChange(event: CustomEvent<string>): void;
33
+ hideMenuOnScroll(): void;
32
34
  /**
33
35
  * Handles cases where the language menu is being rendered before options are available
34
36
  * @param event Initially emitted by <post-language-menu-item>
@@ -24,6 +24,11 @@ export declare class PostLanguageMenuItem {
24
24
  */
25
25
  name?: string;
26
26
  validateName(): void;
27
+ /**
28
+ * A description for the language read by screen-readers for improved accessibility.
29
+ */
30
+ description?: string;
31
+ validateDescription(): void;
27
32
  /**
28
33
  * The URL used for the href attribute of the internal anchor.
29
34
  * This field is optional; if not provided, a button will be used internally instead of an anchor.
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ /**
3
+ * @slot authenticated - Content rendered when the user is authenticated (e.g. user menu).
4
+ * @slot unauthenticated - Content rendered when the user is not authenticated (e.g. login link).
5
+ */
6
+ export declare class PostLoginWidget {
7
+ /**
8
+ * Emitted when the authentication state changes.
9
+ * The event payload is an object with an `authenticated` property:
10
+ * `true` when the user is logged in, `false` when the user is not logged in or the API request failed.
11
+ */
12
+ postChange: EventEmitter<{
13
+ authenticated: boolean;
14
+ }>;
15
+ private authenticated;
16
+ componentWillLoad(): Promise<void>;
17
+ /**
18
+ * Returns the current authentication state:
19
+ * `null` when the component is still loading, `true` when authenticated, `false` when not.
20
+ */
21
+ isAuthenticated(): Promise<boolean | null>;
22
+ /**
23
+ * Re-fetches the authentication state from the session API and updates
24
+ * the component rendering accordingly.
25
+ */
26
+ refresh(): Promise<void>;
27
+ private fetchAuthState;
28
+ private setAuthState;
29
+ render(): any;
30
+ }
@@ -20,8 +20,8 @@ export declare class PostStepper {
20
20
  textCompletedStep: string;
21
21
  validateTextCompletedStep(): void;
22
22
  /**
23
- * Label for the "Step N:" indicator for mobile view.
24
- * Use `#number` as a placeholder — it will be replaced with the current step number at runtime.
23
+ * Label for the "Step {number}:" indicator for mobile view.
24
+ * Use `{number}` as a placeholder — it will be replaced with the current step number at runtime.
25
25
  */
26
26
  textStepNumber: string;
27
27
  validateTextStepNumber(): void;