@swisspost/design-system-components 10.0.0-next.71 → 10.0.0-next.72

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 (390) hide show
  1. package/dist/cjs/create-validator-decorator-Bnx17kwi.js +223 -0
  2. package/dist/cjs/{index-CCteMCnR.js → index-ngUOBQot.js} +5 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/one-of-BHyX4vYq.js +27 -0
  5. package/dist/cjs/{package-CscM89A7.js → package-Bi-tiNRc.js} +1 -1
  6. package/dist/cjs/pattern-BgBx5zGQ.js +27 -0
  7. package/dist/cjs/post-accordion_2.cjs.entry.js +15 -21
  8. package/dist/cjs/post-autocomplete.cjs.entry.js +26 -13
  9. package/dist/cjs/post-avatar.cjs.entry.js +30 -33
  10. package/dist/cjs/post-back-to-top.cjs.entry.js +20 -11
  11. package/dist/cjs/post-banner.cjs.entry.js +8 -13
  12. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +33 -23
  13. package/dist/cjs/post-breadcrumbs.cjs.entry.js +33 -34
  14. package/dist/cjs/post-closebutton_14.cjs.entry.js +238 -272
  15. package/dist/cjs/post-collapsible_2.cjs.entry.js +56 -39
  16. package/dist/cjs/post-components.cjs.js +2 -2
  17. package/dist/cjs/post-date-picker.cjs.entry.js +140 -138
  18. package/dist/cjs/post-footer.cjs.entry.js +24 -17
  19. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  20. package/dist/cjs/post-listbox-option.cjs.entry.js +2 -2
  21. package/dist/cjs/post-listbox.cjs.entry.js +3 -5
  22. package/dist/cjs/post-login-widget.cjs.entry.js +28 -29
  23. package/dist/cjs/post-number-input.cjs.entry.js +2 -2
  24. package/dist/cjs/post-pagination.cjs.entry.js +50 -80
  25. package/dist/cjs/post-popover-trigger.cjs.entry.js +21 -18
  26. package/dist/cjs/post-popover.cjs.entry.js +24 -22
  27. package/dist/cjs/post-progressbar.cjs.entry.js +147 -0
  28. package/dist/cjs/post-rating.cjs.entry.js +33 -34
  29. package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
  30. package/dist/cjs/post-stepper.cjs.entry.js +48 -37
  31. package/dist/cjs/post-tab-item.cjs.entry.js +20 -12
  32. package/dist/cjs/post-tab-panel.cjs.entry.js +20 -13
  33. package/dist/cjs/post-tabs.cjs.entry.js +21 -7
  34. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +21 -12
  35. package/dist/cjs/post-tooltip.cjs.entry.js +19 -16
  36. package/dist/cjs/required-lRDOdbd6.js +44 -0
  37. package/dist/cjs/type-shT641Eo.js +30 -0
  38. package/dist/cjs/url-DRUMqVBq.js +34 -0
  39. package/dist/collection/collection-manifest.json +1 -0
  40. package/dist/collection/components/post-accordion/post-accordion.js +11 -8
  41. package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -17
  42. package/dist/collection/components/post-autocomplete/post-autocomplete.js +23 -13
  43. package/dist/collection/components/post-avatar/post-avatar.js +27 -33
  44. package/dist/collection/components/post-back-to-top/post-back-to-top.js +17 -10
  45. package/dist/collection/components/post-banner/post-banner.js +7 -14
  46. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +27 -22
  47. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +29 -34
  48. package/dist/collection/components/post-closebutton/post-closebutton.js +24 -27
  49. package/dist/collection/components/post-collapsible/post-collapsible.js +26 -16
  50. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +34 -30
  51. package/dist/collection/components/post-date-picker/post-date-picker.js +64 -96
  52. package/dist/collection/components/post-footer/post-footer.js +17 -13
  53. package/dist/collection/components/post-header/post-header.js +18 -24
  54. package/dist/collection/components/post-icon/post-icon.js +34 -47
  55. package/dist/collection/components/post-language-menu/post-language-menu.js +15 -20
  56. package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +28 -39
  57. package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
  58. package/dist/collection/components/post-listbox/post-listbox.js +3 -5
  59. package/dist/collection/components/post-listbox-option/post-listbox-option.js +1 -1
  60. package/dist/collection/components/post-login-widget/post-login-widget.js +25 -29
  61. package/dist/collection/components/post-logo/post-logo.js +16 -13
  62. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +17 -13
  63. package/dist/collection/components/post-megadropdown/post-megadropdown.js +24 -23
  64. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +7 -15
  65. package/dist/collection/components/post-menu/post-menu.js +10 -23
  66. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +17 -13
  67. package/dist/collection/components/post-number-input/post-number-input.js +3 -3
  68. package/dist/collection/components/post-pagination/post-pagination.js +47 -82
  69. package/dist/collection/components/post-popover/post-popover.js +20 -22
  70. package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +16 -14
  71. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +25 -30
  72. package/dist/collection/components/post-progressbar/post-progressbar.css +1 -0
  73. package/dist/collection/components/post-progressbar/post-progressbar.js +136 -0
  74. package/dist/collection/components/post-rating/post-rating.js +25 -29
  75. package/dist/collection/components/post-stepper/post-stepper.js +44 -36
  76. package/dist/collection/components/post-stepper-item/post-stepper-item.js +2 -2
  77. package/dist/collection/components/post-tab-item/post-tab-item.js +17 -12
  78. package/dist/collection/components/post-tab-panel/post-tab-panel.js +17 -13
  79. package/dist/collection/components/post-tabs/post-tabs.js +20 -7
  80. package/dist/collection/components/post-togglebutton/post-togglebutton.js +5 -3
  81. package/dist/collection/components/post-tooltip/post-tooltip.js +17 -16
  82. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +17 -12
  83. package/dist/collection/utils/index.js +3 -4
  84. package/dist/collection/utils/is-value-empty.js +1 -1
  85. package/dist/collection/utils/property-decorators/bound.js +75 -0
  86. package/dist/collection/utils/property-decorators/create-validator-decorator.js +24 -0
  87. package/dist/collection/utils/property-decorators/index.js +1 -1
  88. package/dist/collection/utils/property-decorators/required.js +19 -3
  89. package/dist/component-names.json +1 -0
  90. package/dist/components/breakpoints.js +1 -1
  91. package/dist/components/index.d.ts +2 -0
  92. package/dist/components/index.js +1 -1
  93. package/dist/components/one-of.js +1 -0
  94. package/dist/components/package.js +1 -1
  95. package/dist/components/pattern.js +1 -0
  96. package/dist/components/post-accordion-item2.js +1 -1
  97. package/dist/components/post-accordion2.js +1 -1
  98. package/dist/components/post-autocomplete.js +1 -1
  99. package/dist/components/post-avatar2.js +1 -1
  100. package/dist/components/post-back-to-top.js +1 -1
  101. package/dist/components/post-banner.js +1 -1
  102. package/dist/components/post-breadcrumb-item.js +1 -1
  103. package/dist/components/post-breadcrumbs.js +1 -1
  104. package/dist/components/post-closebutton2.js +1 -1
  105. package/dist/components/post-collapsible-trigger2.js +1 -1
  106. package/dist/components/post-collapsible2.js +1 -1
  107. package/dist/components/post-date-picker.js +1 -1
  108. package/dist/components/post-footer.js +1 -1
  109. package/dist/components/post-header.js +1 -1
  110. package/dist/components/post-icon2.js +1 -1
  111. package/dist/components/post-language-menu-item.js +1 -1
  112. package/dist/components/post-language-menu.js +1 -1
  113. package/dist/components/post-listbox.js +1 -1
  114. package/dist/components/post-login-widget.js +1 -1
  115. package/dist/components/post-logo.js +1 -1
  116. package/dist/components/post-mainnavigation.js +1 -1
  117. package/dist/components/post-megadropdown-trigger.js +1 -1
  118. package/dist/components/post-megadropdown.js +1 -1
  119. package/dist/components/post-menu-trigger2.js +1 -1
  120. package/dist/components/post-menu2.js +1 -1
  121. package/dist/components/post-pagination.js +1 -1
  122. package/dist/components/post-popover-trigger.js +1 -1
  123. package/dist/components/post-popover.js +1 -1
  124. package/dist/components/post-popovercontainer2.js +1 -1
  125. package/dist/components/post-progressbar.d.ts +11 -0
  126. package/dist/components/post-progressbar.js +1 -0
  127. package/dist/components/post-rating.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-4wtxqxXu.js +1 -0
  138. package/dist/components/react/{p-DPKR_4uI.js → p-85IGlhtB.js} +1 -1
  139. package/dist/components/react/p-B9ZFuYey.js +1 -0
  140. package/dist/components/react/p-BXqGI600.js +1 -0
  141. package/dist/components/react/p-BZSAV0-K.js +1 -0
  142. package/dist/components/react/p-B_WnO-QF.js +1 -0
  143. package/dist/components/react/p-BaB8wJvk.js +1 -0
  144. package/dist/components/react/p-Bg9dtyzK.js +1 -0
  145. package/dist/components/react/p-Bji_4dfL.js +1 -0
  146. package/dist/components/react/p-Bn66acGG.js +1 -0
  147. package/dist/components/react/p-Bu2JeHDf.js +1 -0
  148. package/dist/components/react/p-BxoRVIIr.js +1 -0
  149. package/dist/components/react/p-CX2E_IXB.js +1 -0
  150. package/dist/components/react/p-Cd1TsNm7.js +1 -0
  151. package/dist/components/react/p-CkTAQJGd.js +1 -0
  152. package/dist/components/react/p-ClG-N42b.js +1 -0
  153. package/dist/components/react/p-D1zw8FxT.js +1 -0
  154. package/dist/components/react/p-DwuW52g5.js +1 -0
  155. package/dist/components/react/{p-BC0-M_SK.js → p-PM7l--ff.js} +1 -1
  156. package/dist/components/react/post-accordion-item.js +1 -1
  157. package/dist/components/react/post-accordion.js +1 -1
  158. package/dist/components/react/post-autocomplete.js +1 -1
  159. package/dist/components/react/post-avatar.js +1 -1
  160. package/dist/components/react/post-back-to-top.js +1 -1
  161. package/dist/components/react/post-banner.js +1 -1
  162. package/dist/components/react/post-breadcrumb-item.js +1 -1
  163. package/dist/components/react/post-breadcrumbs.js +1 -1
  164. package/dist/components/react/post-closebutton.js +1 -1
  165. package/dist/components/react/post-collapsible-trigger.js +1 -1
  166. package/dist/components/react/post-collapsible.js +1 -1
  167. package/dist/components/react/post-date-picker.js +1 -1
  168. package/dist/components/react/post-footer.js +1 -1
  169. package/dist/components/react/post-header.js +1 -1
  170. package/dist/components/react/post-icon.js +1 -1
  171. package/dist/components/react/post-language-menu-item.js +1 -1
  172. package/dist/components/react/post-language-menu.js +1 -1
  173. package/dist/components/react/post-linkarea.js +1 -1
  174. package/dist/components/react/post-listbox-option.js +1 -1
  175. package/dist/components/react/post-listbox.js +1 -1
  176. package/dist/components/react/post-login-widget.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.d.ts +11 -0
  190. package/dist/components/react/post-progressbar.js +1 -0
  191. package/dist/components/react/post-rating.js +1 -1
  192. package/dist/components/react/post-stepper-item.js +1 -1
  193. package/dist/components/react/post-stepper.js +1 -1
  194. package/dist/components/react/post-tab-item.js +1 -1
  195. package/dist/components/react/post-tab-panel.js +1 -1
  196. package/dist/components/react/post-tabs.js +1 -1
  197. package/dist/components/react/post-togglebutton.js +1 -1
  198. package/dist/components/react/post-tooltip-trigger.js +1 -1
  199. package/dist/components/react/post-tooltip.js +1 -1
  200. package/dist/components/required.js +1 -0
  201. package/dist/components/type.js +1 -0
  202. package/dist/components/url.js +1 -0
  203. package/dist/docs.json +106 -4
  204. package/dist/esm/create-validator-decorator-D8qwF5Qe.js +218 -0
  205. package/dist/esm/{index-DmBWUef5.js → index-BbDawWJ5.js} +5 -1
  206. package/dist/esm/loader.js +3 -3
  207. package/dist/esm/one-of-GPr3FflU.js +25 -0
  208. package/dist/esm/package-ClG-N42b.js +3 -0
  209. package/dist/esm/pattern-BWPRYpYv.js +25 -0
  210. package/dist/esm/post-accordion_2.entry.js +15 -21
  211. package/dist/esm/post-autocomplete.entry.js +26 -13
  212. package/dist/esm/post-avatar.entry.js +30 -33
  213. package/dist/esm/post-back-to-top.entry.js +20 -11
  214. package/dist/esm/post-banner.entry.js +8 -13
  215. package/dist/esm/post-breadcrumb-item.entry.js +33 -23
  216. package/dist/esm/post-breadcrumbs.entry.js +33 -34
  217. package/dist/esm/post-closebutton_14.entry.js +238 -272
  218. package/dist/esm/post-collapsible_2.entry.js +56 -39
  219. package/dist/esm/post-components.js +3 -3
  220. package/dist/esm/post-date-picker.entry.js +140 -138
  221. package/dist/esm/post-footer.entry.js +20 -13
  222. package/dist/esm/post-linkarea.entry.js +2 -2
  223. package/dist/esm/post-listbox-option.entry.js +2 -2
  224. package/dist/esm/post-listbox.entry.js +3 -5
  225. package/dist/esm/post-login-widget.entry.js +28 -29
  226. package/dist/esm/post-number-input.entry.js +2 -2
  227. package/dist/esm/post-pagination.entry.js +50 -80
  228. package/dist/esm/post-popover-trigger.entry.js +19 -16
  229. package/dist/esm/post-popover.entry.js +24 -22
  230. package/dist/esm/post-progressbar.entry.js +145 -0
  231. package/dist/esm/post-rating.entry.js +28 -29
  232. package/dist/esm/post-stepper-item.entry.js +3 -3
  233. package/dist/esm/post-stepper.entry.js +48 -37
  234. package/dist/esm/post-tab-item.entry.js +20 -12
  235. package/dist/esm/post-tab-panel.entry.js +20 -13
  236. package/dist/esm/post-tabs.entry.js +21 -7
  237. package/dist/esm/post-tooltip-trigger.entry.js +21 -12
  238. package/dist/esm/post-tooltip.entry.js +19 -16
  239. package/dist/esm/required-uK-rZZjy.js +42 -0
  240. package/dist/esm/type-obmwEgkM.js +28 -0
  241. package/dist/esm/url-B28ByZCe.js +32 -0
  242. package/dist/post-components/p-00f55af5.entry.js +1 -0
  243. package/dist/post-components/p-0288484f.entry.js +1 -0
  244. package/dist/post-components/p-07cdd022.entry.js +1 -0
  245. package/dist/post-components/{p-08a0e8e9.entry.js → p-12047216.entry.js} +1 -1
  246. package/dist/post-components/p-17df4e91.entry.js +1 -0
  247. package/dist/post-components/p-17e046fa.entry.js +1 -0
  248. package/dist/post-components/p-29bd31a0.entry.js +1 -0
  249. package/dist/post-components/p-2c6b4e6a.entry.js +1 -0
  250. package/dist/post-components/p-3b05e01d.entry.js +1 -0
  251. package/dist/post-components/p-53fd5230.entry.js +1 -0
  252. package/dist/post-components/p-5b7e6369.entry.js +1 -0
  253. package/dist/post-components/p-5f4ca179.entry.js +1 -0
  254. package/dist/post-components/p-62b6154a.entry.js +1 -0
  255. package/dist/post-components/{p-4b445a35.entry.js → p-686a6e22.entry.js} +1 -1
  256. package/dist/post-components/p-758fc84f.entry.js +1 -0
  257. package/dist/post-components/{p-bab0f27f.entry.js → p-7f929bb9.entry.js} +1 -1
  258. package/dist/post-components/p-9865f72c.entry.js +1 -0
  259. package/dist/post-components/p-99803d57.entry.js +1 -0
  260. package/dist/post-components/p-BRNqUiXj.js +1 -0
  261. package/dist/post-components/p-BbDawWJ5.js +2 -0
  262. package/dist/post-components/p-CVsNfXZd.js +1 -0
  263. package/dist/post-components/p-Ck2qPht6.js +1 -0
  264. package/dist/post-components/p-ClG-N42b.js +1 -0
  265. package/dist/post-components/p-D4F0BqBW.js +1 -0
  266. package/dist/post-components/p-DSNGJB58.js +1 -0
  267. package/dist/post-components/p-IUnDBhPg.js +1 -0
  268. package/dist/post-components/p-a0e0a760.entry.js +1 -0
  269. package/dist/post-components/p-a850652d.entry.js +1 -0
  270. package/dist/post-components/p-aac1a8ea.entry.js +1 -0
  271. package/dist/post-components/{p-39143e19.entry.js → p-b3f0f9a2.entry.js} +1 -1
  272. package/dist/post-components/p-c37dba4b.entry.js +1 -0
  273. package/dist/post-components/p-d061773b.entry.js +1 -0
  274. package/dist/post-components/p-e2370e94.entry.js +1 -0
  275. package/dist/post-components/p-f1ca1d3f.entry.js +1 -0
  276. package/dist/post-components/p-f2e5f44e.entry.js +1 -0
  277. package/dist/post-components/p-ff98ada4.entry.js +1 -0
  278. package/dist/post-components/post-components.css +1 -1
  279. package/dist/post-components/post-components.esm.js +1 -1
  280. package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
  281. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +0 -2
  282. package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +0 -1
  283. package/dist/types/components/post-avatar/post-avatar.d.ts +0 -5
  284. package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +0 -1
  285. package/dist/types/components/post-banner/post-banner.d.ts +0 -1
  286. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +0 -3
  287. package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +0 -4
  288. package/dist/types/components/post-closebutton/post-closebutton.d.ts +0 -3
  289. package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -2
  290. package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +3 -6
  291. package/dist/types/components/post-date-picker/post-date-picker.d.ts +0 -12
  292. package/dist/types/components/post-footer/post-footer.d.ts +0 -1
  293. package/dist/types/components/post-header/post-header.d.ts +0 -2
  294. package/dist/types/components/post-icon/post-icon.d.ts +0 -6
  295. package/dist/types/components/post-language-menu/post-language-menu.d.ts +1 -3
  296. package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +0 -5
  297. package/dist/types/components/post-login-widget/post-login-widget.d.ts +0 -4
  298. package/dist/types/components/post-logo/post-logo.d.ts +0 -1
  299. package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -1
  300. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -3
  301. package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +0 -2
  302. package/dist/types/components/post-menu/post-menu.d.ts +1 -4
  303. package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +0 -1
  304. package/dist/types/components/post-pagination/post-pagination.d.ts +0 -17
  305. package/dist/types/components/post-popover/post-popover.d.ts +1 -4
  306. package/dist/types/components/post-popover-trigger/post-popover-trigger.d.ts +0 -1
  307. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +0 -3
  308. package/dist/types/components/post-progressbar/post-progressbar.d.ts +23 -0
  309. package/dist/types/components/post-rating/post-rating.d.ts +0 -4
  310. package/dist/types/components/post-stepper/post-stepper.d.ts +1 -4
  311. package/dist/types/components/post-tab-item/post-tab-item.d.ts +0 -1
  312. package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +0 -1
  313. package/dist/types/components/post-tooltip/post-tooltip.d.ts +0 -2
  314. package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +0 -1
  315. package/dist/types/components.d.ts +51 -5
  316. package/dist/types/utils/index.d.ts +3 -4
  317. package/dist/types/utils/property-decorators/bound.d.ts +36 -0
  318. package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +5 -0
  319. package/dist/types/utils/property-decorators/index.d.ts +1 -1
  320. package/dist/types/utils/property-decorators/required.d.ts +10 -1
  321. package/hydrate/index.js +1310 -926
  322. package/hydrate/index.mjs +1310 -926
  323. package/package.json +4 -4
  324. package/dist/cjs/index-qCzRmwgB.js +0 -114
  325. package/dist/collection/utils/property-checkers/check-array-of.js +0 -8
  326. package/dist/collection/utils/property-checkers/check-date.js +0 -13
  327. package/dist/collection/utils/property-checkers/check-iso-date.js +0 -9
  328. package/dist/collection/utils/property-checkers/check-one-of.js +0 -8
  329. package/dist/collection/utils/property-checkers/check-pattern.js +0 -8
  330. package/dist/collection/utils/property-checkers/check-type.js +0 -15
  331. package/dist/collection/utils/property-checkers/check-url.js +0 -15
  332. package/dist/collection/utils/property-checkers/constants.js +0 -1
  333. package/dist/collection/utils/property-checkers/empty-or.js +0 -9
  334. package/dist/collection/utils/property-checkers/index.js +0 -20
  335. package/dist/collection/utils/property-checkers/required-and.js +0 -14
  336. package/dist/components/heading-levels.js +0 -1
  337. package/dist/components/index2.js +0 -1
  338. package/dist/components/react/p-BQ3HlJPr.js +0 -1
  339. package/dist/components/react/p-C7s9oglQ.js +0 -1
  340. package/dist/components/react/p-CTgZ8DGr.js +0 -1
  341. package/dist/components/react/p-CVtlwDsT.js +0 -1
  342. package/dist/components/react/p-CaLwTf3T.js +0 -1
  343. package/dist/components/react/p-ClJyTIVM.js +0 -1
  344. package/dist/components/react/p-DGr-hfLq.js +0 -1
  345. package/dist/components/react/p-DJxdj9pa.js +0 -1
  346. package/dist/components/react/p-DKDEtjQe.js +0 -1
  347. package/dist/components/react/p-DcEDGaFs.js +0 -1
  348. package/dist/components/react/p-DipfA69b.js +0 -1
  349. package/dist/components/react/p-DwZxAC2u.js +0 -1
  350. package/dist/components/react/p-r4txK0AC.js +0 -1
  351. package/dist/components/react/p-x3kxyWSZ.js +0 -1
  352. package/dist/esm/index-D9bU2pIE.js +0 -104
  353. package/dist/esm/package-x3kxyWSZ.js +0 -3
  354. package/dist/post-components/p-1583817b.entry.js +0 -1
  355. package/dist/post-components/p-203d9abd.entry.js +0 -1
  356. package/dist/post-components/p-2c68af27.entry.js +0 -1
  357. package/dist/post-components/p-46dd9e7e.entry.js +0 -1
  358. package/dist/post-components/p-53a8cce5.entry.js +0 -1
  359. package/dist/post-components/p-72bff1fc.entry.js +0 -1
  360. package/dist/post-components/p-75045028.entry.js +0 -1
  361. package/dist/post-components/p-768b4516.entry.js +0 -1
  362. package/dist/post-components/p-7e072450.entry.js +0 -1
  363. package/dist/post-components/p-83cb6424.entry.js +0 -1
  364. package/dist/post-components/p-94f4da57.entry.js +0 -1
  365. package/dist/post-components/p-9dace750.entry.js +0 -1
  366. package/dist/post-components/p-9ea7e46f.entry.js +0 -1
  367. package/dist/post-components/p-D9bU2pIE.js +0 -1
  368. package/dist/post-components/p-DmBWUef5.js +0 -2
  369. package/dist/post-components/p-a0ac814c.entry.js +0 -1
  370. package/dist/post-components/p-a0d12ca8.entry.js +0 -1
  371. package/dist/post-components/p-cb039d66.entry.js +0 -1
  372. package/dist/post-components/p-e8cda4e1.entry.js +0 -1
  373. package/dist/post-components/p-e8e50d5c.entry.js +0 -1
  374. package/dist/post-components/p-eb64ec1d.entry.js +0 -1
  375. package/dist/post-components/p-f0746a9e.entry.js +0 -1
  376. package/dist/post-components/p-f5e33714.entry.js +0 -1
  377. package/dist/post-components/p-f93ce33d.entry.js +0 -1
  378. package/dist/post-components/p-fd0446b2.entry.js +0 -1
  379. package/dist/post-components/p-x3kxyWSZ.js +0 -1
  380. package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -4
  381. package/dist/types/utils/property-checkers/check-date.d.ts +0 -3
  382. package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -3
  383. package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -3
  384. package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -3
  385. package/dist/types/utils/property-checkers/check-type.d.ts +0 -4
  386. package/dist/types/utils/property-checkers/check-url.d.ts +0 -3
  387. package/dist/types/utils/property-checkers/constants.d.ts +0 -1
  388. package/dist/types/utils/property-checkers/empty-or.d.ts +0 -3
  389. package/dist/types/utils/property-checkers/index.d.ts +0 -34
  390. package/dist/types/utils/property-checkers/required-and.d.ts +0 -3
@@ -1,9 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CCteMCnR.js');
4
- var _package = require('./package-CscM89A7.js');
5
- var index$1 = require('./index-qCzRmwgB.js');
3
+ var index = require('./index-ngUOBQot.js');
6
4
  require('./breakpoints-B0Olgvgc.js');
5
+ var _package = require('./package-Bi-tiNRc.js');
6
+ var required = require('./required-lRDOdbd6.js');
7
+ var type = require('./type-shT641Eo.js');
8
+ var pattern = require('./pattern-BgBx5zGQ.js');
9
+ require('./create-validator-decorator-Bnx17kwi.js');
7
10
 
8
11
  // https://docs.gravatar.com/api/avatars/images/
9
12
  const GRAVATAR_DEFAULT = '404';
@@ -20,6 +23,16 @@ const GRAVATAR_BASE_URL = `https://www.gravatar.com/avatar/{email}?s=${GRAVATAR_
20
23
 
21
24
  const postAvatarCss = () => `:host{--post-avatar-bg:var(--post-scheme-color-interactive-primary-enabled-bg2);--post-avatar-fg:var(--post-scheme-color-interactive-primary-enabled-fg3);display:inline-flex;position:relative;width:var(--post-device-sizing-interactive-icon-size3);height:var(--post-device-sizing-interactive-icon-size3);background-color:var(--post-scheme-color-interactive-primary-enabled-stroke3);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3);border-radius:var(--post-device-border-radius-round);font-size:var(--post-device-font-size-8);vertical-align:top;line-height:1}:host::after{display:block;content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}*,*::before,*::after{box-sizing:border-box}slot,img,::slotted(img){display:block;width:100%;height:100%}img,::slotted(img){border-radius:var(--post-device-border-radius-round)}::slotted(:not(img)){display:none !important}.initials{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;background-color:var(--post-avatar-bg);border-radius:var(--post-device-border-radius-round);color:var(--post-avatar-fg);text-transform:uppercase;font-weight:400;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms}.initials span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
22
25
 
26
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
27
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
+ r = Reflect.decorate(decorators, target, key, desc);
30
+ else
31
+ for (var i = decorators.length - 1; i >= 0; i--)
32
+ if (d = decorators[i])
33
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
35
+ };
23
36
  const emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
24
37
  var AvatarType;
25
38
  (function (AvatarType) {
@@ -38,23 +51,9 @@ const PostAvatar = class {
38
51
  // To handle email updates and reset the storage item
39
52
  this.storageKey = '';
40
53
  }
41
- validateFirstname() {
42
- index$1.checkRequiredAndType(this, 'firstname', 'string');
43
- }
44
- validateLastname() {
45
- index$1.checkEmptyOrType(this, 'lastname', 'string');
46
- }
47
54
  updateEmail() {
48
- this.validateEmail();
49
55
  this.getAvatarImage();
50
56
  }
51
- validateDescription() {
52
- index$1.checkEmptyOrType(this, 'description', 'string');
53
- }
54
- validateEmail() {
55
- if (this.email)
56
- index$1.checkEmptyOrPattern(this, 'email', emailPattern);
57
- }
58
57
  async getAvatarImage() {
59
58
  let imageLoaded = false;
60
59
  this.slottedImage = this.host.querySelector('img');
@@ -139,12 +138,6 @@ const PostAvatar = class {
139
138
  this.avatarType = AvatarType.Initials;
140
139
  this.getAvatarImage();
141
140
  }
142
- componentDidLoad() {
143
- this.validateFirstname();
144
- this.validateLastname();
145
- this.validateDescription();
146
- this.validateEmail();
147
- }
148
141
  render() {
149
142
  const names = [this.firstname, this.lastname].filter(Boolean).map(n => n.trim());
150
143
  const initials = names
@@ -152,24 +145,28 @@ const PostAvatar = class {
152
145
  .join('')
153
146
  .trim();
154
147
  const fullname = names.join(' ');
155
- return (index.h(index.Host, { key: 'f0617cd81944692e525750d5c61a1d4ea7991b55', "data-version": _package.version }, index.h("span", { key: 'ab0280fe0445ed8c97fc5bbf7d1c510cefa42621', class: this.avatarType === 'slotted' ? '' : 'd-none' }, index.h("slot", { key: '03737f45e5cd54f3999bbf3a9c326dd747c7ed36', onSlotchange: this.slotChanged.bind(this) })), this.avatarType === 'image' && index.h("img", { key: '0f4290d3b3586c68b3b33ceb44e46ba863d39f74', src: this.imageUrl, alt: this.imageAlt }), this.avatarType === 'initials' && (index.h("span", { key: 'e38459c13ed79df9905a69218cac303ed3fc8ff9', class: "initials" }, initials, index.h("span", { key: '6c47fba8605290d9cc7795c2bdbc72004f963c89' }, this.description ?? fullname)))));
148
+ return (index.h(index.Host, { key: '85af49f5beca48bec805f9c126e635b8b1042de3', "data-version": _package.version }, index.h("span", { key: '950d20eeb38eae131bd2e459741ab03f7208ec37', class: this.avatarType === 'slotted' ? '' : 'd-none' }, index.h("slot", { key: '5404e8d04de78e9c95d7b7e0b1dbb42fb6afc3e6', onSlotchange: this.slotChanged.bind(this) })), this.avatarType === 'image' && index.h("img", { key: '0d9c7b0f74e99072544eaa94b408d8e70f5cef57', src: this.imageUrl, alt: this.imageAlt }), this.avatarType === 'initials' && (index.h("span", { key: 'e7260e54f5510707b19016badad66920df6b38f0', class: "initials" }, initials, index.h("span", { key: '647fe23a98a1338936ce701024bae944d6cce7ae' }, this.description ?? fullname)))));
156
149
  }
157
150
  get host() { return index.getElement(this); }
158
151
  static get watchers() { return {
159
- "firstname": [{
160
- "validateFirstname": 0
161
- }],
162
- "lastname": [{
163
- "validateLastname": 0
164
- }],
165
152
  "email": [{
166
153
  "updateEmail": 0
167
- }],
168
- "description": [{
169
- "validateDescription": 0
170
154
  }]
171
155
  }; }
172
156
  };
157
+ __decorate([
158
+ required.Required(),
159
+ type.Type('string')
160
+ ], PostAvatar.prototype, "firstname", void 0);
161
+ __decorate([
162
+ type.Type('string')
163
+ ], PostAvatar.prototype, "lastname", void 0);
164
+ __decorate([
165
+ pattern.Pattern(emailPattern)
166
+ ], PostAvatar.prototype, "email", void 0);
167
+ __decorate([
168
+ type.Type('string')
169
+ ], PostAvatar.prototype, "description", void 0);
173
170
  PostAvatar.style = postAvatarCss();
174
171
 
175
172
  exports.post_avatar = PostAvatar;
@@ -1,14 +1,26 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CCteMCnR.js');
3
+ var index = require('./index-ngUOBQot.js');
4
4
  var fadeSlide = require('./fade-slide-dPhQa-I1.js');
5
- var _package = require('./package-CscM89A7.js');
6
- var index$1 = require('./index-qCzRmwgB.js');
7
5
  require('./breakpoints-B0Olgvgc.js');
6
+ var _package = require('./package-Bi-tiNRc.js');
7
+ var required = require('./required-lRDOdbd6.js');
8
+ var type = require('./type-shT641Eo.js');
8
9
  require('./utils-s05L2ulk.js');
10
+ require('./create-validator-decorator-Bnx17kwi.js');
9
11
 
10
12
  const postBackToTopCss = () => `:host{opacity:0;--post-floating-button-position-top:var(--post-device-position-4);--post-back-to-top-position-top:calc( var(--post-header-height) + var(--post-floating-button-position-top) );--post-back-to-top-elevation:var(--post-device-elevation-300);position:fixed;z-index:1019;inset-block-start:var(--post-back-to-top-position-top);inset-inline-end:var(--post-device-position-1)}:host .back-to-top{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;box-shadow:var(--post-back-to-top-elevation);cursor:pointer;border-radius:var(--post-device-border-radius-round);width:var(--post-device-sizing-interactive-button-height-2);height:var(--post-device-sizing-interactive-button-height-2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);display:flex;align-items:center;justify-content:center}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top{background-color:ButtonFace !important}:host .back-to-top:hover{background-color:Highlight !important}}:host .back-to-top{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .back-to-top:hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:hover{color:HighlightText !important}}:host .back-to-top post-icon{height:var(--post-device-sizing-interactive-button-icon-3);width:var(--post-device-sizing-interactive-button-icon-3)}:host .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
11
13
 
14
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
17
+ r = Reflect.decorate(decorators, target, key, desc);
18
+ else
19
+ for (var i = decorators.length - 1; i >= 0; i--)
20
+ if (d = decorators[i])
21
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
23
+ };
12
24
  const PostBackToTop = class {
13
25
  constructor(hostRef) {
14
26
  index.registerInstance(this, hostRef);
@@ -20,9 +32,6 @@ const PostBackToTop = class {
20
32
  isBelowFold() {
21
33
  return window.scrollY > window.innerHeight;
22
34
  }
23
- validateTextBackToTop() {
24
- index$1.checkRequiredAndType(this, 'textBackToTop', 'string');
25
- }
26
35
  /*Watch for changes in belowFold to show/hide the back to top button*/
27
36
  watchBelowFold(newValue) {
28
37
  if (newValue) {
@@ -75,24 +84,24 @@ const PostBackToTop = class {
75
84
  componentDidLoad() {
76
85
  window.addEventListener('scroll', this.handleScroll, false);
77
86
  this.animateButton();
78
- this.validateTextBackToTop();
79
87
  }
80
88
  disconnectedCallback() {
81
89
  window.removeEventListener('scroll', this.handleScroll);
82
90
  }
83
91
  render() {
84
- return (index.h(index.Host, { key: '259c07a96b529c9db791b4a8a03e545abade77f1', "data-version": _package.version }, index.h("button", { key: 'eacc98e29e7070f8486c542fc1be1d994bb14683', class: "back-to-top", "aria-hidden": this.belowFold ? 'false' : 'true', tabindex: this.belowFold ? '0' : '-1', onClick: this.scrollToTop }, index.h("post-icon", { key: '94c77371e34e96e4359c0857f69e971bb39e284b', "aria-hidden": "true", name: "arrowup" }), index.h("span", { key: '0c8918689fb6c9329233247bcfe6fb5eeb31f03c', class: "visually-hidden" }, this.textBackToTop))));
92
+ return (index.h(index.Host, { key: 'b4fb2fd83336752a5c67ab9ded8a20b871b8f967', "data-version": _package.version }, index.h("button", { key: 'cdee4a23f45f9293ac0da814f97df8bda73028ef', class: "back-to-top", "aria-hidden": this.belowFold ? 'false' : 'true', tabindex: this.belowFold ? '0' : '-1', onClick: this.scrollToTop }, index.h("post-icon", { key: '91e2be9b6c5dcd2b8e11aec4ff839de259d47a13', "aria-hidden": "true", name: "arrowup" }), index.h("span", { key: '0bee6a5151a4919ddffc436924a8a494650b069a', class: "visually-hidden" }, this.textBackToTop))));
85
93
  }
86
94
  get host() { return index.getElement(this); }
87
95
  static get watchers() { return {
88
- "textBackToTop": [{
89
- "validateTextBackToTop": 0
90
- }],
91
96
  "belowFold": [{
92
97
  "watchBelowFold": 0
93
98
  }]
94
99
  }; }
95
100
  };
101
+ __decorate([
102
+ required.Required(),
103
+ type.Type('string')
104
+ ], PostBackToTop.prototype, "textBackToTop", void 0);
96
105
  PostBackToTop.style = postBackToTopCss();
97
106
 
98
107
  exports.post_back_to_top = PostBackToTop;
@@ -1,12 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CCteMCnR.js');
4
- var _package = require('./package-CscM89A7.js');
3
+ var index = require('./index-ngUOBQot.js');
5
4
  var fade = require('./fade-CPQhl1fP.js');
6
- var index$1 = require('./index-qCzRmwgB.js');
7
5
  require('./breakpoints-B0Olgvgc.js');
8
6
  var eventFrom = require('./event-from-CwMw19f8.js');
7
+ var _package = require('./package-Bi-tiNRc.js');
8
+ var oneOf = require('./one-of-BHyX4vYq.js');
9
9
  require('./utils-s05L2ulk.js');
10
+ require('./create-validator-decorator-Bnx17kwi.js');
10
11
 
11
12
  const BANNER_TYPES = ['success', 'warning', 'error', 'info'];
12
13
 
@@ -33,15 +34,11 @@ const PostBanner = class {
33
34
  */
34
35
  this.type = 'info';
35
36
  }
36
- validateType() {
37
- index$1.checkEmptyOrOneOf(this, 'type', BANNER_TYPES);
38
- }
39
37
  connectedCallback() {
40
38
  this.mutationObserver.observe(this.host, { childList: true });
41
39
  }
42
40
  componentDidLoad() {
43
41
  this.checkContent();
44
- this.validateType();
45
42
  }
46
43
  disconnectedCallback() {
47
44
  this.mutationObserver.disconnect();
@@ -62,15 +59,13 @@ const PostBanner = class {
62
59
  this.hasActions = this.host.querySelectorAll('[slot="actions"]').length > 0;
63
60
  }
64
61
  render() {
65
- return (index.h(index.Host, { key: 'a57b0caac1e70b9ebcbfc17f446c7f0258aa9083', "data-version": _package.version, role: "alert", "data-color-scheme": "light" }, index.h("slot", { key: 'f34600d0fa1b6dd91eff4655db906befdc74b840', name: "close-button" }), index.h("slot", { key: 'eee0dd61936ebbcf259df5355f52d85534c4cc92', name: "heading" }), index.h("slot", { key: 'f837c996723531ade1d8c150ef73659e90fa407c' }), this.hasActions && (index.h("div", { key: 'cb3fa9ccf57498fb17d4c45afc93d747f7f727e2', class: "actions" }, index.h("slot", { key: '4e59f64aff2b8d681251a8f997220b3f1efcfed5', name: "actions" })))));
62
+ return (index.h(index.Host, { key: '97695d768495db6f56d797d58d94db4b935c5436', "data-version": _package.version, role: "alert", "data-color-scheme": "light" }, index.h("slot", { key: 'd60d826952da373557af9b2362cd26f2e246796e', name: "close-button" }), index.h("slot", { key: '2f731ec8f29f6a8dc281fab5884a3dc2e4c4e5ae', name: "heading" }), index.h("slot", { key: 'e4db84d239998661a3a3d68e7f1df0a076115b29' }), this.hasActions && (index.h("div", { key: '1b88d16970a728c3064d325296a529bc93cde41a', class: "actions" }, index.h("slot", { key: 'ea5570b8b8c23cb9a7c2b086ddd1a09a517e0f6a', name: "actions" })))));
66
63
  }
67
64
  get host() { return index.getElement(this); }
68
- static get watchers() { return {
69
- "type": [{
70
- "validateType": 0
71
- }]
72
- }; }
73
65
  };
66
+ __decorate([
67
+ oneOf.OneOf(BANNER_TYPES)
68
+ ], PostBanner.prototype, "type", void 0);
74
69
  __decorate([
75
70
  eventFrom.EventFrom('post-closebutton', { allowDescendants: true })
76
71
  ], PostBanner.prototype, "onCloseButtonClick", null);
@@ -1,14 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CCteMCnR.js');
4
- var index$1 = require('./index-qCzRmwgB.js');
3
+ var index = require('./index-ngUOBQot.js');
5
4
  require('./breakpoints-B0Olgvgc.js');
6
- var _package = require('./package-CscM89A7.js');
5
+ var _package = require('./package-Bi-tiNRc.js');
6
+ var url = require('./url-DRUMqVBq.js');
7
+ var type = require('./type-shT641Eo.js');
8
+ var oneOf = require('./one-of-BHyX4vYq.js');
9
+ var required = require('./required-lRDOdbd6.js');
10
+ require('./create-validator-decorator-Bnx17kwi.js');
7
11
 
8
12
  const VARIANTS = ['listitem', 'menuitem'];
9
13
 
10
14
  const postBreadcrumbItemCss = () => `a{-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline);border-radius:var(--post-device-border-radius-focus);color:var(--post-current-fg)}a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}a{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a,a:focus{color:LinkText !important}a:hover{text-decoration-thickness:2px}a:visited{color:VisitedText}}:host(:not([variant=menuitem])){display:flex;align-items:center;gap:var(--post-device-spacing-gap-inline-5)}:host(:not([variant=menuitem])) :is(button,a){display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;display:flex;align-self:start;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);text-decoration:var(--post-core-text-decoration-none)}:host(:not([variant=menuitem])) :is(button,a):hover{text-decoration:none}:host(:not([variant=menuitem])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash)}:host(:not([variant=menuitem])) :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a):is(a){color:LinkText;border:unset}:host(:not([variant=menuitem])) :is(button,a):is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}:host(:not([variant=menuitem])) :is(button,a):not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}:host(:not([variant=menuitem])) :is(button,a):not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}:host(:not([variant=menuitem])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}:host(:not([variant=menuitem]))::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;content:"";display:flex;height:16px;width:16px;margin-block:var(--post-device-spacing-padding-35);margin-inline:var(--post-core-dimension-4);flex-shrink:0}:root,:host{--post-icon-chevronright:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDAgMSAwLTEuMDZMOS41NyA4IDQuODUgMy4yOGMtLjI5LS4yOS0uMjktLjc3IDAtMS4wNnMuNzctLjI5IDEuMDYgMEwxMS42OSA4bC01Ljc4IDUuNzhjLS4xNS4xNS0uMzQuMjItLjUzLjIyIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik04LjA3IDIwLjcyYy0uMjIgMC0uNDUtLjA4LS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sb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:host :is(a,span){margin-block:var(--post-device-spacing-padding-block-6)}:host([selected]:not([selected=false])){display:flex;align-items:center;gap:var(--post-device-spacing-gap-inline-5)}:host([selected]:not([selected=false])) :is(button,a){display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;display:flex;align-self:start;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);text-decoration:var(--post-core-text-decoration-none)}:host([selected]:not([selected=false])) :is(button,a):hover{text-decoration:none}:host([selected]:not([selected=false])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash)}:host([selected]:not([selected=false])) :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a):is(a){color:LinkText;border:unset}:host([selected]:not([selected=false])) :is(button,a):is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}:host([selected]:not([selected=false])) :is(button,a):not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}:host([selected]:not([selected=false])) :is(button,a):not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}:host([selected]:not([selected=false])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}:host([selected]:not([selected=false]))::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;content:"";display:flex;height:16px;width:16px;margin-block:var(--post-device-spacing-padding-35);margin-inline:var(--post-core-dimension-4);flex-shrink:0}:root,:host{--post-icon-chevronright:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDAgMSAwLTEuMDZMOS41NyA4IDQuODUgMy4yOGMtLjI5LS4yOS0uMjktLjc3IDAtMS4wNnMuNzctLjI5IDEuMDYgMEwxMS42OSA4bC01Ljc4IDUuNzhjLS4xNS4xNS0uMzQuMjItLjUzLjIyIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik04LjA3IDIwLjcyYy0uMjIgMC0uNDUtLjA4LS42Mi0uMjZhLjg4Ljg4IDAgMCAxIDAtMS4yNGw3LjI2LTcuMjZMNy40NSA0Ljd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HlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:host([selected]:not([selected=false])) :is(a,span){color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);text-decoration:var(--post-core-text-decoration-none)}:host([selected]:not([selected=false]):not([data-measuring])){align-items:start}:host([selected]:not([selected=false]):not([data-measuring])) :is(a,span){white-space:normal;overflow-wrap:anywhere}`;
11
15
 
16
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
17
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
18
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
19
+ r = Reflect.decorate(decorators, target, key, desc);
20
+ else
21
+ for (var i = decorators.length - 1; i >= 0; i--)
22
+ if (d = decorators[i])
23
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
25
+ };
12
26
  const PostBreadcrumbItem = class {
13
27
  constructor(hostRef) {
14
28
  index.registerInstance(this, hostRef);
@@ -21,33 +35,29 @@ const PostBreadcrumbItem = class {
21
35
  */
22
36
  this.selected = false;
23
37
  }
24
- validateURL() {
25
- index$1.checkEmptyOrUrl(this, 'url');
26
- }
27
- validateVariant() {
28
- index$1.checkEmptyOrOneOf(this, 'variant', VARIANTS);
29
- }
30
- validateSelected() {
31
- index$1.checkRequiredAndType(this, 'selected', 'boolean');
32
- }
33
38
  render() {
34
39
  const href = this.url instanceof URL ? this.url.href : this.url;
35
40
  const content = href ? (index.h("a", { href: href, "aria-current": this.selected ? 'page' : undefined, "aria-label": this.label, "aria-description": this.description }, index.h("slot", null))) : (index.h("span", null, index.h("slot", null)));
36
41
  return this.variant === 'listitem' || this.selected ? (index.h(index.Host, { "data-version": _package.version, role: "listitem", slot: this.selected ? 'selected' : undefined }, content)) : (index.h(index.Host, { "data-version": _package.version }, index.h("post-menu-item", null, content)));
37
42
  }
38
43
  get host() { return index.getElement(this); }
39
- static get watchers() { return {
40
- "url": [{
41
- "validateURL": 0
42
- }],
43
- "variant": [{
44
- "validateVariant": 0
45
- }],
46
- "selected": [{
47
- "validateSelected": 0
48
- }]
49
- }; }
50
44
  };
45
+ __decorate([
46
+ url.Url()
47
+ ], PostBreadcrumbItem.prototype, "url", void 0);
48
+ __decorate([
49
+ type.Type('string')
50
+ ], PostBreadcrumbItem.prototype, "label", void 0);
51
+ __decorate([
52
+ type.Type('string')
53
+ ], PostBreadcrumbItem.prototype, "description", void 0);
54
+ __decorate([
55
+ oneOf.OneOf(VARIANTS)
56
+ ], PostBreadcrumbItem.prototype, "variant", void 0);
57
+ __decorate([
58
+ required.Required(),
59
+ type.Type('boolean')
60
+ ], PostBreadcrumbItem.prototype, "selected", void 0);
51
61
  PostBreadcrumbItem.style = postBreadcrumbItemCss();
52
62
 
53
63
  exports.post_breadcrumb_item = PostBreadcrumbItem;
@@ -1,39 +1,36 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CCteMCnR.js');
3
+ var index = require('./index-ngUOBQot.js');
4
4
  var breakpoints = require('./breakpoints-B0Olgvgc.js');
5
- var _package = require('./package-CscM89A7.js');
6
- var index$1 = require('./index-qCzRmwgB.js');
7
5
  var componentOnReady = require('./component-on-ready-CifOTqw1.js');
8
6
  var nanoid = require('./nanoid-CmjyF1Cm.js');
7
+ var _package = require('./package-Bi-tiNRc.js');
8
+ var required = require('./required-lRDOdbd6.js');
9
+ var url = require('./url-DRUMqVBq.js');
10
+ var type = require('./type-shT641Eo.js');
11
+ require('./create-validator-decorator-Bnx17kwi.js');
9
12
 
10
13
  const postBreadcrumbsCss = () => `:host{position:relative}nav{max-width:100%}nav.invisible{visibility:hidden;overflow:hidden;position:absolute;inset:0}[role=list]{display:flex;align-items:start;gap:var(--post-device-spacing-gap-inline-4)}.breadcrumb-item{display:flex;align-items:center;gap:var(--post-device-spacing-gap-inline-5)}.breadcrumb-item :is(button,a){display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;display:flex;align-self:start;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);text-decoration:var(--post-core-text-decoration-none)}.breadcrumb-item :is(button,a):hover{text-decoration:none}.breadcrumb-item :is(button,a):disabled{border-style:var(--post-core-border-style-dash)}.breadcrumb-item :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.breadcrumb-item :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.breadcrumb-item :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.breadcrumb-item :is(button,a):is(a){color:LinkText;border:unset}.breadcrumb-item :is(button,a):is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}.breadcrumb-item :is(button,a):not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}.breadcrumb-item :is(button,a):not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}.breadcrumb-item :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}.breadcrumb-item::before{mask-image:var(--post-icon-chevronright);background-color:currentColor;content:"";display:flex;height:16px;width:16px;margin-block:var(--post-device-spacing-padding-35);margin-inline:var(--post-core-dimension-4);flex-shrink:0}:root,:host{--post-icon-chevronright:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDAgMSAwLTEuMDZMOS41NyA4IDQuODUgMy4yOGMtLjI5LS4yOS0uMjktLjc3IDAtMS4wNnMuNzctLjI5IDEuMDYgMEwxMS42OSA4bC01Ljc4IDUuNzhjLS4xNS4xNS0uMzQuMjItLjUzLjIyIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik04LjA3IDIwLjcyYy0uMjIgMC0uNDUtLjA4LS42Mi0uMjZhLjg4Ljg4IDAgMCAxIDAtMS4yNGw3LjI2LTcuMjZMNy40NSA0LjdhLjg4Ljg4IDAgMCAxIDAtMS4yNGMuMzQtLjM0LjktLjM0IDEuMjQgMGw4LjUgOC41LTguNDkgOC40OWMtLjE3LjE3LS40LjI2LS42Mi4yNloiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTEwLjc2IDI3LjVjLS4yNiAwLS41MS0uMS0uNzEtLjI5YS45OTYuOTk2IDAgMCAxIDAtMS40MWw5Ljc5LTkuNzktOS43OS05LjgxYS45OTYuOTk2IDAgMS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iLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}.home::before{content:unset}.home post-icon{font-size:var(--post-core-dimension-24)}@media screen and (min-width: 0)and (max-width: 599.98px){.home post-icon{font-size:20px}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
11
14
 
15
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
16
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
+ r = Reflect.decorate(decorators, target, key, desc);
19
+ else
20
+ for (var i = decorators.length - 1; i >= 0; i--)
21
+ if (d = decorators[i])
22
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
24
+ };
12
25
  const PostBreadcrumbs = class {
13
26
  constructor(hostRef) {
14
27
  index.registerInstance(this, hostRef);
15
28
  this.shouldRenderMenu = false;
16
29
  }
17
- validateHomeUrl() {
18
- index$1.checkRequiredAndUrl(this, 'homeUrl');
19
- }
20
- validateTextHome() {
21
- index$1.checkRequiredAndType(this, 'textHome', 'string');
22
- }
23
- validateTextBreadcrumbs() {
24
- index$1.checkRequiredAndType(this, 'textBreadcrumbs', 'string');
25
- }
26
- validateTextMoreItems() {
27
- index$1.checkRequiredAndType(this, 'textMoreItems', 'string');
28
- }
29
30
  componentWillLoad() {
30
31
  this.id = this.host.id || `b${nanoid.nanoid(6)}`;
31
32
  }
32
33
  componentDidLoad() {
33
- this.validateHomeUrl();
34
- this.validateTextHome();
35
- this.validateTextBreadcrumbs();
36
- this.validateTextMoreItems();
37
34
  this.createMutationObserver();
38
35
  this.createResizeObserver();
39
36
  }
@@ -111,24 +108,26 @@ const PostBreadcrumbs = class {
111
108
  return (index.h("div", { role: "listitem" }, index.h("div", { class: "breadcrumb-item" }, index.h("post-menu-trigger", { for: menuId }, index.h("button", null, index.h("span", { class: "visually-hidden" }, this.textMoreItems), index.h("span", { "aria-hidden": "true" }, "...")))), index.h("post-menu", { id: menuId, label: this.textMoreItems, placement: "bottom-start" }, index.h("slot", null))));
112
109
  }
113
110
  render() {
114
- return (index.h(index.Host, { key: '85cb104032c0caed5ab2fb442be0a6d7eac5b67a', "data-version": _package.version }, index.h("nav", { key: 'be4b2b8c6333ef3bf3440de0ce61958d1a07952b', "aria-label": this.textBreadcrumbs }, index.h("div", { key: '28531f638065e6db5cbf7e29d87086933fb47235', role: "list" }, index.h("div", { key: '4a71e5b143e271e26f032e8d4ed329aee949bf32', class: "breadcrumb-item home", role: "listitem" }, index.h("a", { key: '3e58ac2d4bbbc2e56a7acd28119b235edadc8fa0', href: this.homeUrl }, index.h("span", { key: '1a31a9963898005b218177d78adbb7813728b0ce', class: "visually-hidden" }, this.textHome), index.h("post-icon", { key: '668a636881fbea1a7129b9108cc234c257e0fffb', "aria-hidden": "true", name: "home" }))), this.shouldRenderMenu ? this.renderMenu() : index.h("slot", null), index.h("slot", { key: '0c8bad3de95f0ca51dfd8a15c4cb6e79e2499b1b', name: "selected" })))));
111
+ return (index.h(index.Host, { key: '7ad91a47dac5999eba506744321eb59a27970687', "data-version": _package.version }, index.h("nav", { key: '3d84a12495ccd27df028cae550b319a2191f8721', "aria-label": this.textBreadcrumbs }, index.h("div", { key: '291436db8b8f171ca070f0b4fb6e24a6fd831e8d', role: "list" }, index.h("div", { key: 'cd5aeeee11626fde17bf384ebe7f1f1f701f2a86', class: "breadcrumb-item home", role: "listitem" }, index.h("a", { key: '9583685d73837b3971a575307621cb364c934d4e', href: this.homeUrl }, index.h("span", { key: '4896caee6c56016ee7e0ded0363bd5ead8f672bc', class: "visually-hidden" }, this.textHome), index.h("post-icon", { key: '8390117bb7e8527a813e3d306e16312fa1912ce6', "aria-hidden": "true", name: "home" }))), this.shouldRenderMenu ? this.renderMenu() : index.h("slot", null), index.h("slot", { key: '314d304f3f1d1cc09af197eea221d26a9bf1c0fe', name: "selected" })))));
115
112
  }
116
113
  get host() { return index.getElement(this); }
117
- static get watchers() { return {
118
- "homeUrl": [{
119
- "validateHomeUrl": 0
120
- }],
121
- "textHome": [{
122
- "validateTextHome": 0
123
- }],
124
- "textBreadcrumbs": [{
125
- "validateTextBreadcrumbs": 0
126
- }],
127
- "textMoreItems": [{
128
- "validateTextMoreItems": 0
129
- }]
130
- }; }
131
114
  };
115
+ __decorate([
116
+ required.Required(),
117
+ url.Url()
118
+ ], PostBreadcrumbs.prototype, "homeUrl", void 0);
119
+ __decorate([
120
+ required.Required(),
121
+ type.Type('string')
122
+ ], PostBreadcrumbs.prototype, "textHome", void 0);
123
+ __decorate([
124
+ required.Required(),
125
+ type.Type('string')
126
+ ], PostBreadcrumbs.prototype, "textBreadcrumbs", void 0);
127
+ __decorate([
128
+ required.Required(),
129
+ type.Type('string')
130
+ ], PostBreadcrumbs.prototype, "textMoreItems", void 0);
132
131
  PostBreadcrumbs.style = postBreadcrumbsCss();
133
132
 
134
133
  exports.post_breadcrumbs = PostBreadcrumbs;