@swisspost/design-system-components 10.0.0-next.70 → 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 (460) hide show
  1. package/dist/cjs/breakpoints-B0Olgvgc.js +206 -0
  2. package/dist/cjs/component-on-ready-CifOTqw1.js +24 -0
  3. package/dist/cjs/create-validator-decorator-Bnx17kwi.js +223 -0
  4. package/dist/cjs/{focusable-ZqET_zrB.js → focusable-COT2uiEV.js} +25 -4
  5. package/dist/cjs/{index-DPdHkdGf.js → index-ngUOBQot.js} +17 -13
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/nanoid-CmjyF1Cm.js +20 -0
  8. package/dist/cjs/one-of-BHyX4vYq.js +27 -0
  9. package/dist/cjs/{package-Ds_LS1pB.js → package-Bi-tiNRc.js} +1 -1
  10. package/dist/cjs/pattern-BgBx5zGQ.js +27 -0
  11. package/dist/cjs/post-accordion_2.cjs.entry.js +18 -24
  12. package/dist/cjs/post-autocomplete.cjs.entry.js +27 -14
  13. package/dist/cjs/post-avatar.cjs.entry.js +33 -54
  14. package/dist/cjs/post-back-to-top.cjs.entry.js +21 -12
  15. package/dist/cjs/post-banner.cjs.entry.js +9 -14
  16. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +48 -41
  17. package/dist/cjs/post-breadcrumbs.cjs.entry.js +106 -105
  18. package/dist/cjs/post-closebutton_14.cjs.entry.js +257 -288
  19. package/dist/cjs/post-collapsible_2.cjs.entry.js +57 -40
  20. package/dist/cjs/post-components.cjs.js +2 -2
  21. package/dist/cjs/post-date-picker.cjs.entry.js +154 -144
  22. package/dist/cjs/post-footer.cjs.entry.js +26 -19
  23. package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
  24. package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
  25. package/dist/cjs/post-listbox.cjs.entry.js +4 -6
  26. package/dist/cjs/post-login-widget.cjs.entry.js +35 -3
  27. package/dist/cjs/post-number-input.cjs.entry.js +6 -6
  28. package/dist/cjs/post-pagination.cjs.entry.js +53 -83
  29. package/dist/cjs/post-popover-trigger.cjs.entry.js +22 -19
  30. package/dist/cjs/post-popover.cjs.entry.js +25 -23
  31. package/dist/cjs/post-progressbar.cjs.entry.js +147 -0
  32. package/dist/cjs/post-rating.cjs.entry.js +34 -35
  33. package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
  34. package/dist/cjs/post-stepper.cjs.entry.js +49 -38
  35. package/dist/cjs/post-tab-item.cjs.entry.js +23 -15
  36. package/dist/cjs/post-tab-panel.cjs.entry.js +23 -16
  37. package/dist/cjs/post-tabs.cjs.entry.js +24 -30
  38. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +34 -21
  39. package/dist/cjs/post-tooltip.cjs.entry.js +19 -16
  40. package/dist/cjs/required-lRDOdbd6.js +44 -0
  41. package/dist/cjs/type-shT641Eo.js +30 -0
  42. package/dist/cjs/url-DRUMqVBq.js +34 -0
  43. package/dist/collection/collection-manifest.json +1 -0
  44. package/dist/collection/components/post-accordion/post-accordion.js +11 -8
  45. package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -18
  46. package/dist/collection/components/post-autocomplete/post-autocomplete.js +23 -13
  47. package/dist/collection/components/post-avatar/avatar-utils.js +2 -2
  48. package/dist/collection/components/post-avatar/post-avatar.js +29 -72
  49. package/dist/collection/components/post-back-to-top/post-back-to-top.js +17 -10
  50. package/dist/collection/components/post-banner/post-banner.js +7 -14
  51. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
  52. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +92 -47
  53. package/dist/collection/components/post-breadcrumb-item/variants.js +1 -0
  54. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
  55. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +110 -114
  56. package/dist/collection/components/post-closebutton/post-closebutton.js +24 -27
  57. package/dist/collection/components/post-collapsible/post-collapsible.js +26 -16
  58. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +34 -30
  59. package/dist/collection/components/post-date-picker/post-date-picker.css +1 -1
  60. package/dist/collection/components/post-date-picker/post-date-picker.js +64 -96
  61. package/dist/collection/components/post-footer/post-footer.js +17 -13
  62. package/dist/collection/components/post-header/post-header.js +18 -24
  63. package/dist/collection/components/post-icon/post-icon.js +36 -48
  64. package/dist/collection/components/post-language-menu/post-language-menu.js +16 -22
  65. package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +28 -39
  66. package/dist/collection/components/post-linkarea/post-linkarea.js +2 -2
  67. package/dist/collection/components/post-listbox/post-listbox.js +3 -5
  68. package/dist/collection/components/post-listbox-option/post-listbox-option.js +3 -3
  69. package/dist/collection/components/post-login-widget/post-login-widget.css +1 -0
  70. package/dist/collection/components/post-login-widget/post-login-widget.js +103 -5
  71. package/dist/collection/components/post-logo/post-logo.js +16 -13
  72. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +17 -13
  73. package/dist/collection/components/post-megadropdown/post-megadropdown.js +24 -23
  74. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +7 -15
  75. package/dist/collection/components/post-menu/post-menu.js +14 -24
  76. package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
  77. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +17 -13
  78. package/dist/collection/components/post-number-input/post-number-input.js +5 -5
  79. package/dist/collection/components/post-pagination/post-pagination.js +47 -83
  80. package/dist/collection/components/post-popover/post-popover.js +20 -22
  81. package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +16 -14
  82. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  83. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +28 -34
  84. package/dist/collection/components/post-progressbar/post-progressbar.css +1 -0
  85. package/dist/collection/components/post-progressbar/post-progressbar.js +136 -0
  86. package/dist/collection/components/post-rating/post-rating.js +25 -29
  87. package/dist/collection/components/post-stepper/post-stepper.js +44 -36
  88. package/dist/collection/components/post-stepper-item/post-stepper-item.js +2 -2
  89. package/dist/collection/components/post-tab-item/post-tab-item.js +17 -13
  90. package/dist/collection/components/post-tab-panel/post-tab-panel.js +17 -14
  91. package/dist/collection/components/post-tabs/post-tabs.js +20 -7
  92. package/dist/collection/components/post-togglebutton/post-togglebutton.js +5 -3
  93. package/dist/collection/components/post-tooltip/post-tooltip.js +17 -16
  94. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +30 -19
  95. package/dist/collection/hydrate-stub/index.stub.js +5 -0
  96. package/dist/collection/test-setup.js +7 -0
  97. package/dist/collection/utils/index.js +4 -3
  98. package/dist/collection/utils/is-value-empty.js +1 -1
  99. package/dist/collection/utils/locales.js +9 -2
  100. package/dist/collection/utils/nanoid.js +16 -0
  101. package/dist/collection/utils/property-decorators/array-of.js +22 -0
  102. package/dist/collection/utils/property-decorators/bound.js +75 -0
  103. package/dist/collection/utils/property-decorators/create-validator-decorator.js +211 -0
  104. package/dist/collection/utils/property-decorators/date.js +21 -0
  105. package/dist/collection/utils/property-decorators/index.js +9 -0
  106. package/dist/collection/utils/property-decorators/iso-date.js +21 -0
  107. package/dist/collection/utils/property-decorators/one-of.js +22 -0
  108. package/dist/collection/utils/property-decorators/pattern.js +22 -0
  109. package/dist/collection/utils/property-decorators/required.js +40 -0
  110. package/dist/collection/utils/property-decorators/type.js +25 -0
  111. package/dist/collection/utils/property-decorators/url.js +29 -0
  112. package/dist/component-names.json +1 -0
  113. package/dist/components/breakpoints.js +1 -0
  114. package/dist/components/component-on-ready.js +1 -0
  115. package/dist/components/focusable.js +1 -1
  116. package/dist/components/index.d.ts +2 -0
  117. package/dist/components/index.js +1 -1
  118. package/dist/components/nanoid.js +1 -0
  119. package/dist/components/one-of.js +1 -0
  120. package/dist/components/package.js +1 -1
  121. package/dist/components/pattern.js +1 -0
  122. package/dist/components/post-accordion-item2.js +1 -1
  123. package/dist/components/post-accordion2.js +1 -1
  124. package/dist/components/post-autocomplete.js +1 -1
  125. package/dist/components/post-avatar.js +1 -1
  126. package/dist/components/post-avatar2.js +1 -0
  127. package/dist/components/post-back-to-top.js +1 -1
  128. package/dist/components/post-banner.js +1 -1
  129. package/dist/components/post-breadcrumb-item.js +1 -1
  130. package/dist/components/post-breadcrumbs.js +1 -1
  131. package/dist/components/post-closebutton2.js +1 -1
  132. package/dist/components/post-collapsible-trigger2.js +1 -1
  133. package/dist/components/post-collapsible2.js +1 -1
  134. package/dist/components/post-date-picker.js +1 -1
  135. package/dist/components/post-footer.js +1 -1
  136. package/dist/components/post-header.js +1 -1
  137. package/dist/components/post-icon2.js +1 -1
  138. package/dist/components/post-language-menu-item.js +1 -1
  139. package/dist/components/post-language-menu.js +1 -1
  140. package/dist/components/post-linkarea.js +1 -1
  141. package/dist/components/post-listbox-option.js +1 -1
  142. package/dist/components/post-listbox.js +1 -1
  143. package/dist/components/post-login-widget.js +1 -1
  144. package/dist/components/post-logo.js +1 -1
  145. package/dist/components/post-mainnavigation.js +1 -1
  146. package/dist/components/post-megadropdown-trigger.js +1 -1
  147. package/dist/components/post-megadropdown.js +1 -1
  148. package/dist/components/post-menu-item2.js +1 -1
  149. package/dist/components/post-menu-trigger2.js +1 -1
  150. package/dist/components/post-menu2.js +1 -1
  151. package/dist/components/post-number-input.js +1 -1
  152. package/dist/components/post-pagination.js +1 -1
  153. package/dist/components/post-popover-trigger.js +1 -1
  154. package/dist/components/post-popover.js +1 -1
  155. package/dist/components/post-popovercontainer2.js +1 -1
  156. package/dist/components/post-progressbar.d.ts +11 -0
  157. package/dist/components/post-progressbar.js +1 -0
  158. package/dist/components/post-rating.js +1 -1
  159. package/dist/components/post-stepper-item.js +1 -1
  160. package/dist/components/post-stepper.js +1 -1
  161. package/dist/components/post-tab-item.js +1 -1
  162. package/dist/components/post-tab-panel.js +1 -1
  163. package/dist/components/post-tabs.js +1 -1
  164. package/dist/components/post-togglebutton2.js +1 -1
  165. package/dist/components/post-tooltip-trigger.js +1 -1
  166. package/dist/components/post-tooltip.js +1 -1
  167. package/dist/components/react/index.js +1 -1
  168. package/dist/components/react/p-4wtxqxXu.js +1 -0
  169. package/dist/components/react/p-85IGlhtB.js +1 -0
  170. package/dist/components/react/p-8LXe8Zt_.js +1 -0
  171. package/dist/components/react/p-B9ZFuYey.js +1 -0
  172. package/dist/components/react/p-BXqGI600.js +1 -0
  173. package/dist/components/react/p-BZSAV0-K.js +1 -0
  174. package/dist/components/react/p-B_WnO-QF.js +1 -0
  175. package/dist/components/react/p-BaB8wJvk.js +1 -0
  176. package/dist/components/react/p-Bg9dtyzK.js +1 -0
  177. package/dist/components/react/p-Bji_4dfL.js +1 -0
  178. package/dist/components/react/p-Bn66acGG.js +1 -0
  179. package/dist/components/react/p-BrY4VWTQ.js +1 -0
  180. package/dist/components/react/p-Bu2JeHDf.js +1 -0
  181. package/dist/components/react/p-BxoRVIIr.js +1 -0
  182. package/dist/components/react/p-CX2E_IXB.js +1 -0
  183. package/dist/components/react/p-Cd1TsNm7.js +1 -0
  184. package/dist/components/react/p-CkTAQJGd.js +1 -0
  185. package/dist/components/react/p-ClG-N42b.js +1 -0
  186. package/dist/components/react/p-D1zw8FxT.js +1 -0
  187. package/dist/components/react/p-DwuW52g5.js +1 -0
  188. package/dist/components/react/p-PM7l--ff.js +1 -0
  189. package/dist/components/react/p-lpWRZjJp.js +1 -0
  190. package/dist/components/react/post-accordion-item.js +1 -1
  191. package/dist/components/react/post-accordion.js +1 -1
  192. package/dist/components/react/post-autocomplete.js +1 -1
  193. package/dist/components/react/post-avatar.js +1 -1
  194. package/dist/components/react/post-back-to-top.js +1 -1
  195. package/dist/components/react/post-banner.js +1 -1
  196. package/dist/components/react/post-breadcrumb-item.js +1 -1
  197. package/dist/components/react/post-breadcrumbs.js +1 -1
  198. package/dist/components/react/post-closebutton.js +1 -1
  199. package/dist/components/react/post-collapsible-trigger.js +1 -1
  200. package/dist/components/react/post-collapsible.js +1 -1
  201. package/dist/components/react/post-date-picker.js +1 -1
  202. package/dist/components/react/post-footer.js +1 -1
  203. package/dist/components/react/post-header.js +1 -1
  204. package/dist/components/react/post-icon.js +1 -1
  205. package/dist/components/react/post-language-menu-item.js +1 -1
  206. package/dist/components/react/post-language-menu.js +1 -1
  207. package/dist/components/react/post-linkarea.js +1 -1
  208. package/dist/components/react/post-listbox-option.js +1 -1
  209. package/dist/components/react/post-listbox.js +1 -1
  210. package/dist/components/react/post-login-widget.js +1 -1
  211. package/dist/components/react/post-logo.js +1 -1
  212. package/dist/components/react/post-mainnavigation.js +1 -1
  213. package/dist/components/react/post-megadropdown-trigger.js +1 -1
  214. package/dist/components/react/post-megadropdown.js +1 -1
  215. package/dist/components/react/post-menu-item.js +1 -1
  216. package/dist/components/react/post-menu-trigger.js +1 -1
  217. package/dist/components/react/post-menu.js +1 -1
  218. package/dist/components/react/post-number-input.js +1 -1
  219. package/dist/components/react/post-pagination.js +1 -1
  220. package/dist/components/react/post-popover-trigger.js +1 -1
  221. package/dist/components/react/post-popover.js +1 -1
  222. package/dist/components/react/post-popovercontainer.js +1 -1
  223. package/dist/components/react/post-progressbar.d.ts +11 -0
  224. package/dist/components/react/post-progressbar.js +1 -0
  225. package/dist/components/react/post-rating.js +1 -1
  226. package/dist/components/react/post-stepper-item.js +1 -1
  227. package/dist/components/react/post-stepper.js +1 -1
  228. package/dist/components/react/post-tab-item.js +1 -1
  229. package/dist/components/react/post-tab-panel.js +1 -1
  230. package/dist/components/react/post-tabs.js +1 -1
  231. package/dist/components/react/post-togglebutton.js +1 -1
  232. package/dist/components/react/post-tooltip-trigger.js +1 -1
  233. package/dist/components/react/post-tooltip.js +1 -1
  234. package/dist/components/required.js +1 -0
  235. package/dist/components/type.js +1 -0
  236. package/dist/components/url.js +1 -0
  237. package/dist/docs.json +307 -72
  238. package/dist/esm/breakpoints-BQ3HlJPr.js +202 -0
  239. package/dist/esm/component-on-ready-lpWRZjJp.js +22 -0
  240. package/dist/esm/create-validator-decorator-D8qwF5Qe.js +218 -0
  241. package/dist/esm/{focusable-BD_WT2MO.js → focusable-C7afHKmo.js} +25 -5
  242. package/dist/esm/{index-DmAi35UF.js → index-BbDawWJ5.js} +17 -13
  243. package/dist/esm/loader.js +3 -3
  244. package/dist/esm/nanoid-8LXe8Zt_.js +18 -0
  245. package/dist/esm/one-of-GPr3FflU.js +25 -0
  246. package/dist/esm/package-ClG-N42b.js +3 -0
  247. package/dist/esm/pattern-BWPRYpYv.js +25 -0
  248. package/dist/esm/post-accordion_2.entry.js +17 -23
  249. package/dist/esm/post-autocomplete.entry.js +27 -14
  250. package/dist/esm/post-avatar.entry.js +33 -54
  251. package/dist/esm/post-back-to-top.entry.js +21 -12
  252. package/dist/esm/post-banner.entry.js +9 -14
  253. package/dist/esm/post-breadcrumb-item.entry.js +48 -41
  254. package/dist/esm/post-breadcrumbs.entry.js +106 -105
  255. package/dist/esm/post-closebutton_14.entry.js +252 -283
  256. package/dist/esm/post-collapsible_2.entry.js +57 -40
  257. package/dist/esm/post-components.js +3 -3
  258. package/dist/esm/post-date-picker.entry.js +151 -141
  259. package/dist/esm/post-footer.entry.js +21 -14
  260. package/dist/esm/post-linkarea.entry.js +3 -3
  261. package/dist/esm/post-listbox-option.entry.js +4 -4
  262. package/dist/esm/post-listbox.entry.js +4 -6
  263. package/dist/esm/post-login-widget.entry.js +35 -3
  264. package/dist/esm/post-number-input.entry.js +5 -5
  265. package/dist/esm/post-pagination.entry.js +52 -82
  266. package/dist/esm/post-popover-trigger.entry.js +20 -17
  267. package/dist/esm/post-popover.entry.js +25 -23
  268. package/dist/esm/post-progressbar.entry.js +145 -0
  269. package/dist/esm/post-rating.entry.js +29 -30
  270. package/dist/esm/post-stepper-item.entry.js +3 -3
  271. package/dist/esm/post-stepper.entry.js +49 -38
  272. package/dist/esm/post-tab-item.entry.js +22 -14
  273. package/dist/esm/post-tab-panel.entry.js +22 -15
  274. package/dist/esm/post-tabs.entry.js +23 -29
  275. package/dist/esm/post-tooltip-trigger.entry.js +34 -21
  276. package/dist/esm/post-tooltip.entry.js +19 -16
  277. package/dist/esm/required-uK-rZZjy.js +42 -0
  278. package/dist/esm/type-obmwEgkM.js +28 -0
  279. package/dist/esm/url-B28ByZCe.js +32 -0
  280. package/dist/post-components/p-00f55af5.entry.js +1 -0
  281. package/dist/post-components/p-0288484f.entry.js +1 -0
  282. package/dist/post-components/p-07cdd022.entry.js +1 -0
  283. package/dist/post-components/{p-c2e05ba0.entry.js → p-12047216.entry.js} +1 -1
  284. package/dist/post-components/p-17df4e91.entry.js +1 -0
  285. package/dist/post-components/p-17e046fa.entry.js +1 -0
  286. package/dist/post-components/p-29bd31a0.entry.js +1 -0
  287. package/dist/post-components/p-2c6b4e6a.entry.js +1 -0
  288. package/dist/post-components/p-3b05e01d.entry.js +1 -0
  289. package/dist/post-components/p-53fd5230.entry.js +1 -0
  290. package/dist/post-components/p-5b7e6369.entry.js +1 -0
  291. package/dist/post-components/p-5f4ca179.entry.js +1 -0
  292. package/dist/post-components/p-62b6154a.entry.js +1 -0
  293. package/dist/post-components/{p-77d5e17b.entry.js → p-686a6e22.entry.js} +1 -1
  294. package/dist/post-components/p-758fc84f.entry.js +1 -0
  295. package/dist/post-components/{p-570d64dd.entry.js → p-7f929bb9.entry.js} +1 -1
  296. package/dist/post-components/p-8LXe8Zt_.js +1 -0
  297. package/dist/post-components/p-9865f72c.entry.js +1 -0
  298. package/dist/post-components/p-99803d57.entry.js +1 -0
  299. package/dist/post-components/p-BQ3HlJPr.js +1 -0
  300. package/dist/post-components/p-BRNqUiXj.js +1 -0
  301. package/dist/post-components/p-BbDawWJ5.js +2 -0
  302. package/dist/post-components/p-BrY4VWTQ.js +1 -0
  303. package/dist/post-components/p-CVsNfXZd.js +1 -0
  304. package/dist/post-components/p-Ck2qPht6.js +1 -0
  305. package/dist/post-components/p-ClG-N42b.js +1 -0
  306. package/dist/post-components/p-D4F0BqBW.js +1 -0
  307. package/dist/post-components/p-DSNGJB58.js +1 -0
  308. package/dist/post-components/p-IUnDBhPg.js +1 -0
  309. package/dist/post-components/p-a0e0a760.entry.js +1 -0
  310. package/dist/post-components/p-a850652d.entry.js +1 -0
  311. package/dist/post-components/p-aac1a8ea.entry.js +1 -0
  312. package/dist/post-components/{p-092f8795.entry.js → p-b3f0f9a2.entry.js} +1 -1
  313. package/dist/post-components/p-c37dba4b.entry.js +1 -0
  314. package/dist/post-components/p-d061773b.entry.js +1 -0
  315. package/dist/post-components/p-e2370e94.entry.js +1 -0
  316. package/dist/post-components/p-f1ca1d3f.entry.js +1 -0
  317. package/dist/post-components/p-f2e5f44e.entry.js +1 -0
  318. package/dist/post-components/p-ff98ada4.entry.js +1 -0
  319. package/dist/post-components/p-lpWRZjJp.js +1 -0
  320. package/dist/post-components/post-components.css +2 -2
  321. package/dist/post-components/post-components.esm.js +1 -1
  322. package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
  323. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +0 -2
  324. package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +0 -1
  325. package/dist/types/components/post-avatar/avatar-utils.d.ts +1 -1
  326. package/dist/types/components/post-avatar/post-avatar.d.ts +0 -13
  327. package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +0 -1
  328. package/dist/types/components/post-banner/post-banner.d.ts +0 -1
  329. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +11 -11
  330. package/dist/types/components/post-breadcrumb-item/variants.d.ts +2 -0
  331. package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +20 -26
  332. package/dist/types/components/post-closebutton/post-closebutton.d.ts +0 -3
  333. package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -2
  334. package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +3 -6
  335. package/dist/types/components/post-date-picker/post-date-picker.d.ts +0 -12
  336. package/dist/types/components/post-footer/post-footer.d.ts +0 -1
  337. package/dist/types/components/post-header/post-header.d.ts +0 -2
  338. package/dist/types/components/post-icon/post-icon.d.ts +0 -6
  339. package/dist/types/components/post-language-menu/post-language-menu.d.ts +1 -3
  340. package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +0 -5
  341. package/dist/types/components/post-login-widget/post-login-widget.d.ts +17 -2
  342. package/dist/types/components/post-logo/post-logo.d.ts +0 -1
  343. package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -1
  344. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -3
  345. package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +0 -2
  346. package/dist/types/components/post-menu/post-menu.d.ts +1 -4
  347. package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +0 -1
  348. package/dist/types/components/post-pagination/post-pagination.d.ts +0 -17
  349. package/dist/types/components/post-popover/post-popover.d.ts +0 -3
  350. package/dist/types/components/post-popover-trigger/post-popover-trigger.d.ts +0 -1
  351. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +0 -3
  352. package/dist/types/components/post-progressbar/post-progressbar.d.ts +23 -0
  353. package/dist/types/components/post-rating/post-rating.d.ts +0 -4
  354. package/dist/types/components/post-stepper/post-stepper.d.ts +1 -4
  355. package/dist/types/components/post-tab-item/post-tab-item.d.ts +0 -1
  356. package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +0 -1
  357. package/dist/types/components/post-tooltip/post-tooltip.d.ts +1 -3
  358. package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +1 -1
  359. package/dist/types/components.d.ts +119 -29
  360. package/dist/types/modules.d.ts +2 -0
  361. package/dist/types/utils/index.d.ts +4 -3
  362. package/dist/types/utils/nanoid.d.ts +8 -0
  363. package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
  364. package/dist/types/utils/property-decorators/bound.d.ts +36 -0
  365. package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
  366. package/dist/types/utils/property-decorators/date.d.ts +6 -0
  367. package/dist/types/utils/property-decorators/index.d.ts +9 -0
  368. package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
  369. package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
  370. package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
  371. package/dist/types/utils/property-decorators/required.d.ts +17 -0
  372. package/dist/types/utils/property-decorators/type.d.ts +9 -0
  373. package/dist/types/utils/property-decorators/url.d.ts +6 -0
  374. package/hydrate/index.js +1536 -115469
  375. package/hydrate/index.mjs +1536 -115469
  376. package/hydrate/index.stub.js +5 -0
  377. package/package.json +28 -18
  378. package/dist/cjs/index-YBj3gUJp.js +0 -114540
  379. package/dist/cjs/index-qCzRmwgB.js +0 -114
  380. package/dist/cjs/index.browser-BVb9l9T_.js +0 -16
  381. package/dist/collection/utils/property-checkers/check-array-of.js +0 -8
  382. package/dist/collection/utils/property-checkers/check-date.js +0 -13
  383. package/dist/collection/utils/property-checkers/check-iso-date.js +0 -9
  384. package/dist/collection/utils/property-checkers/check-one-of.js +0 -8
  385. package/dist/collection/utils/property-checkers/check-pattern.js +0 -8
  386. package/dist/collection/utils/property-checkers/check-type.js +0 -15
  387. package/dist/collection/utils/property-checkers/check-url.js +0 -15
  388. package/dist/collection/utils/property-checkers/constants.js +0 -1
  389. package/dist/collection/utils/property-checkers/empty-or.js +0 -9
  390. package/dist/collection/utils/property-checkers/index.js +0 -20
  391. package/dist/collection/utils/property-checkers/required-and.js +0 -14
  392. package/dist/components/heading-levels.js +0 -1
  393. package/dist/components/index.browser.js +0 -1
  394. package/dist/components/index2.js +0 -1
  395. package/dist/components/index3.js +0 -6
  396. package/dist/components/post-breadcrumb-item2.js +0 -1
  397. package/dist/components/react/p-B076QoO3.js +0 -1
  398. package/dist/components/react/p-B2BDAeHI.js +0 -1
  399. package/dist/components/react/p-B2iQay0-.js +0 -1
  400. package/dist/components/react/p-B_RL4AOE.js +0 -1
  401. package/dist/components/react/p-BoFDru4R.js +0 -1
  402. package/dist/components/react/p-BuL0WAoF.js +0 -1
  403. package/dist/components/react/p-C8b6-YQl.js +0 -1
  404. package/dist/components/react/p-CJcRbvrI.js +0 -6
  405. package/dist/components/react/p-Cu9RsvYK.js +0 -1
  406. package/dist/components/react/p-D6uA8DbL.js +0 -1
  407. package/dist/components/react/p-DSSN7xW4.js +0 -1
  408. package/dist/components/react/p-DW7sbg9f.js +0 -1
  409. package/dist/components/react/p-DgdnwpId.js +0 -1
  410. package/dist/components/react/p-Dmnnz3fB.js +0 -1
  411. package/dist/components/react/p-PuHMz_9_.js +0 -1
  412. package/dist/components/react/p-nA1BKco0.js +0 -1
  413. package/dist/components/react/p-r4txK0AC.js +0 -1
  414. package/dist/components/react/p-tpgRP2Dr.js +0 -1
  415. package/dist/esm/index-CJcRbvrI.js +0 -114535
  416. package/dist/esm/index-D9bU2pIE.js +0 -104
  417. package/dist/esm/index.browser-nA1BKco0.js +0 -14
  418. package/dist/esm/package-DW7sbg9f.js +0 -3
  419. package/dist/post-components/p-17ccebe6.entry.js +0 -1
  420. package/dist/post-components/p-1d58bec1.entry.js +0 -1
  421. package/dist/post-components/p-25c28493.entry.js +0 -1
  422. package/dist/post-components/p-29ada3d7.entry.js +0 -1
  423. package/dist/post-components/p-2fcca5ec.entry.js +0 -1
  424. package/dist/post-components/p-3cefd49e.entry.js +0 -1
  425. package/dist/post-components/p-3fea238c.entry.js +0 -1
  426. package/dist/post-components/p-5068ae7e.entry.js +0 -1
  427. package/dist/post-components/p-521178f5.entry.js +0 -1
  428. package/dist/post-components/p-534fed55.entry.js +0 -1
  429. package/dist/post-components/p-5f52cba3.entry.js +0 -1
  430. package/dist/post-components/p-86697a58.entry.js +0 -1
  431. package/dist/post-components/p-987bebe8.entry.js +0 -1
  432. package/dist/post-components/p-9ca5c297.entry.js +0 -1
  433. package/dist/post-components/p-9ea3066f.entry.js +0 -1
  434. package/dist/post-components/p-CJcRbvrI.js +0 -6
  435. package/dist/post-components/p-D9bU2pIE.js +0 -1
  436. package/dist/post-components/p-DW7sbg9f.js +0 -1
  437. package/dist/post-components/p-DmAi35UF.js +0 -2
  438. package/dist/post-components/p-PuHMz_9_.js +0 -1
  439. package/dist/post-components/p-a6fc33fa.entry.js +0 -1
  440. package/dist/post-components/p-ac853d6b.entry.js +0 -1
  441. package/dist/post-components/p-bd09bc20.entry.js +0 -1
  442. package/dist/post-components/p-c55b537b.entry.js +0 -1
  443. package/dist/post-components/p-dded4f13.entry.js +0 -1
  444. package/dist/post-components/p-e6ba44b1.entry.js +0 -1
  445. package/dist/post-components/p-ead1094e.entry.js +0 -1
  446. package/dist/post-components/p-f12e59a0.entry.js +0 -1
  447. package/dist/post-components/p-nA1BKco0.js +0 -1
  448. package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/types/language-tags.d.ts +0 -1
  449. package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -4
  450. package/dist/types/utils/property-checkers/check-date.d.ts +0 -3
  451. package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -3
  452. package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -3
  453. package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -3
  454. package/dist/types/utils/property-checkers/check-type.d.ts +0 -4
  455. package/dist/types/utils/property-checkers/check-url.d.ts +0 -3
  456. package/dist/types/utils/property-checkers/constants.d.ts +0 -1
  457. package/dist/types/utils/property-checkers/empty-or.d.ts +0 -3
  458. package/dist/types/utils/property-checkers/index.d.ts +0 -34
  459. package/dist/types/utils/property-checkers/required-and.d.ts +0 -3
  460. /package/dist/types/{language-tags.js → test-setup.d.ts} +0 -0
@@ -1,15 +1,21 @@
1
- import { h, Host } from "@stencil/core";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1; i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
11
+ import { Url } from "../../utils/index";
2
12
  import { version } from "../../../../package";
3
- import { checkEmptyOrUrl } from "../../utils/index";
13
+ import { h, Host } from "@stencil/core";
4
14
  /**
5
15
  * @slot default - Slot for placing hidden descriptive text. If `url` is set, this text will serve as the accessible name of the link; otherwise, it will be used as the title of the SVG.
6
16
  */
7
17
  export class PostLogo {
8
- validateUrl() {
9
- checkEmptyOrUrl(this, 'url');
10
- }
11
18
  componentDidLoad() {
12
- this.validateUrl();
13
19
  this.checkDescription();
14
20
  }
15
21
  checkDescription() {
@@ -20,7 +26,7 @@ export class PostLogo {
20
26
  render() {
21
27
  const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
22
28
  const LogoTag = logoLink ? 'a' : 'span';
23
- return (h(Host, { key: '4d3410b6904aa6d02fc25ccd83379ca1f89988fc', "data-version": version }, h(LogoTag, { key: '08e525251bf27647966a441155a9be0a31880f7b', class: `logo ${logoLink ? 'logo-link' : ''}`, ...(logoLink ? { href: logoLink } : {}) }, h("span", { key: 'd87e43fa9d763b62f82ec6da194e2e6bd36160c6', class: "description" }, h("slot", { key: 'ade627d309d459f656eb63c90ed60899ae005ac5', onSlotchange: () => this.checkDescription() })), h("svg", { key: '2f344cbef09f65607381368cac9d517f3b0b685a', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: '7939c4cfdee6f72fb3fdad8527ff27b4895e82d3', id: "Logo" }, h("rect", { key: '1f3837db876668b6c6e056334e10e5641868b0c2', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: 'cb24bf87c4b6563b01c9cd679e789538001e3f56', fill: "#ff0000", points: "34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3" }), h("path", { key: 'da75a832055f5f577196d9fa6d7473be44f8ed89', d: "M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z" }))))));
29
+ return (h(Host, { key: '07795d309bc89e4ad712d81638134d84e6f2cd3a', "data-version": version }, h(LogoTag, { key: '3265657e1c8857e5454b4907874b9f945dc391e4', class: `logo ${logoLink ? 'logo-link' : ''}`, ...(logoLink ? { href: logoLink } : {}) }, h("span", { key: 'f4c4da506329d0b754db9e6f64f6dba8e0f22681', class: "description" }, h("slot", { key: 'faabc37ede88aa6212259eda5f500e21cc48dc5e', onSlotchange: () => this.checkDescription() })), h("svg", { key: '5dffa0d4cd0d72811dcaf9390b4941d78abd4263', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: '990a0da74a50b027e6999715e51a6e966c489222', id: "Logo" }, h("rect", { key: '59610e9b801362ebcbe77932cfcac1f2be83fc0d', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: '67e25d5dc835279852d6445b40dcea933a81a76e', fill: "#ff0000", points: "34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3" }), h("path", { key: '33fb461427e4112f38fb6487795e7df65bc33407', d: "M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z" }))))));
24
30
  }
25
31
  static get is() { return "post-logo"; }
26
32
  static get encapsulation() { return "shadow"; }
@@ -63,10 +69,7 @@ export class PostLogo {
63
69
  };
64
70
  }
65
71
  static get elementRef() { return "host"; }
66
- static get watchers() {
67
- return [{
68
- "propName": "url",
69
- "methodName": "validateUrl"
70
- }];
71
- }
72
72
  }
73
+ __decorate([
74
+ Url()
75
+ ], PostLogo.prototype, "url", void 0);
@@ -1,12 +1,19 @@
1
- import { Host, h } from "@stencil/core";
2
- import { checkRequiredAndType } from "../../utils/index";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1; i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
11
+ import { Required, Type } from "../../utils/index";
3
12
  import { version } from "../../../../package";
13
+ import { h, Host } from "@stencil/core";
4
14
  const SCROLL_REPEAT_INTERVAL = 100; // Interval for repeated scrolling when holding down scroll button
5
15
  const NAVBAR_DISABLE_DURATION = 400; // Duration to temporarily disable navbar interactions during scrolling
6
16
  export class PostMainnavigation {
7
- validateTextMain() {
8
- checkRequiredAndType(this, 'textMain', 'string');
9
- }
10
17
  constructor() {
11
18
  this.canScrollLeft = false;
12
19
  this.canScrollRight = false;
@@ -17,7 +24,6 @@ export class PostMainnavigation {
17
24
  this.mutationObserver = new MutationObserver(this.checkScrollability);
18
25
  }
19
26
  componentDidLoad() {
20
- this.validateTextMain();
21
27
  setTimeout(() => {
22
28
  this.checkScrollability();
23
29
  });
@@ -123,7 +129,7 @@ export class PostMainnavigation {
123
129
  }, NAVBAR_DISABLE_DURATION);
124
130
  }
125
131
  render() {
126
- return (h(Host, { key: '45fdd34a6248953a9ac0d588c29226a5e25c4706', version: version, class: this.canScroll ? 'scrollable' : '' }, h("div", { key: '0807ccb2eee82ee5edd0c1ccf853fcbe63e7dd37', "aria-hidden": "true", class: { 'scroll-control scroll-left': true, 'd-none': !this.canScrollLeft }, onMouseDown: e => this.handleScrollButtonClick(e, 'left') }, h("post-icon", { key: 'd7c848e59304e90eb05fc667d02b8e29329a0edf', "aria-hidden": "true", name: "chevronleft" })), h("nav", { key: '34910b382d0152a53772845b2fbe204ea2be628b', ref: el => (this.navbar = el), "aria-label": this.textMain }, h("slot", { key: '2bbe37345ab50e66e976d7f56b88ed616a152ffc' })), h("div", { key: 'a8e44327bb726aab36f09e40765b26f20c9a6bdb', "aria-hidden": "true", class: { 'scroll-control scroll-right': true, 'd-none': !this.canScrollRight }, onMouseDown: e => this.handleScrollButtonClick(e, 'right') }, h("post-icon", { key: '80683326ad6a9bbe9c3aa3ad15da0a761e7c3658', "aria-hidden": "true", name: "chevronright" }))));
132
+ return (h(Host, { key: 'c36790fd729f8312c25f6a28c4586b08fc904c1a', version: version, class: this.canScroll ? 'scrollable' : '' }, h("div", { key: 'd0bea0dd7fe666e13f70b940a244a2172af37214', "aria-hidden": "true", class: { 'scroll-control scroll-left': true, 'd-none': !this.canScrollLeft }, onMouseDown: e => this.handleScrollButtonClick(e, 'left') }, h("post-icon", { key: 'e01c6e6f3e30533347f7cff7c9e528d56420ba50', "aria-hidden": "true", name: "chevronleft" })), h("nav", { key: '85f6fae1c607cef9036743c9ffe64792b7b60ccf', ref: el => (this.navbar = el), "aria-label": this.textMain }, h("slot", { key: '7658b213e13042954f3fcaefd9fe11d5a2e0ada1' })), h("div", { key: 'd427ae92b27176189ba8417f6fd589e88c044fe9', "aria-hidden": "true", class: { 'scroll-control scroll-right': true, 'd-none': !this.canScrollRight }, onMouseDown: e => this.handleScrollButtonClick(e, 'right') }, h("post-icon", { key: 'f16bcbdd3af293d5cb7bee757a6d1d81f396aa2f', "aria-hidden": "true", name: "chevronright" }))));
127
133
  }
128
134
  static get is() { return "post-mainnavigation"; }
129
135
  static get encapsulation() { return "shadow"; }
@@ -167,12 +173,6 @@ export class PostMainnavigation {
167
173
  };
168
174
  }
169
175
  static get elementRef() { return "host"; }
170
- static get watchers() {
171
- return [{
172
- "propName": "textMain",
173
- "methodName": "validateTextMain"
174
- }];
175
- }
176
176
  static get listeners() {
177
177
  return [{
178
178
  "name": "mouseup",
@@ -189,3 +189,7 @@ export class PostMainnavigation {
189
189
  }];
190
190
  }
191
191
  }
192
+ __decorate([
193
+ Required(),
194
+ Type('string')
195
+ ], PostMainnavigation.prototype, "textMain", void 0);
@@ -1,17 +1,21 @@
1
- import { getFocusableChildren } from "../../utils/get-focusable-children";
2
- import { h, Host, } from "@stencil/core";
3
- import { version } from "../../../../package";
4
- import { breakpoint } from "../../utils/breakpoints";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1; i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
5
11
  import { slide } from "../../animations/index";
6
12
  import { fadeSlide } from "../../animations/fade-slide";
7
- import { checkRequiredAndType } from "../../utils/index";
13
+ import { Required, Type } from "../../utils/index";
14
+ import { breakpoint } from "../../utils/breakpoints";
15
+ import { getFocusableChildren } from "../../utils/get-focusable-children";
16
+ import { version } from "../../../../package";
17
+ import { h, Host, } from "@stencil/core";
8
18
  export class PostMegadropdown {
9
- validateTextClose() {
10
- checkRequiredAndType(this, 'textClose', 'string');
11
- }
12
- validateTextBack() {
13
- checkRequiredAndType(this, 'textBack', 'string');
14
- }
15
19
  get megadropdownTrigger() {
16
20
  const hostId = this.host.getAttribute('id');
17
21
  return hostId ? document.querySelector(`post-megadropdown-trigger[for="${hostId}"]`) : null;
@@ -67,8 +71,6 @@ export class PostMegadropdown {
67
71
  this.getFocusableElements();
68
72
  }
69
73
  componentDidLoad() {
70
- this.validateTextClose();
71
- this.validateTextBack();
72
74
  this.checkInitialAriaCurrent();
73
75
  this.setupObserver();
74
76
  this.handleAriaCurrentChange([]);
@@ -293,7 +295,7 @@ export class PostMegadropdown {
293
295
  }
294
296
  render() {
295
297
  const containerStyle = this.isVisible ? {} : { display: 'none' };
296
- return (h(Host, { key: 'c543ed13087070f879ddf173a4e09c352a5159b0', version: version }, h("div", { key: 'c53881d01625c04de35d9d3cf7dce2e19ceb80b3', ref: el => (this.animatedContainer = el), class: "megadropdown", style: containerStyle }, h("div", { key: '8eef59a973c990afc550917b50aba7f173385eb3', class: "section" }, this.device !== 'desktop' && this.megadropdownTitle && (h("p", { key: '9ca2ef61e1a8b06cb9cac4434ce31230f3126c61', class: "megadropdown-title" }, this.megadropdownTitle)), h("div", { key: '4e174af7f7dffdf1f128678ccbe0ef3cd16e7386', class: "megadropdown-content" }, h("slot", { key: '605680943b3231eab02a16c0a7198678d60dc3e2' })), this.device === 'desktop' ? (h("post-closebutton", { onClick: () => this.hide(true), class: "close-button", size: "small", placement: "manual" }, this.textClose)) : (h("button", { onClick: () => this.hide(true), class: "back-button" }, h("post-icon", { name: "arrowleft" }), this.textBack))))));
298
+ return (h(Host, { key: 'd009d9a8c81ea9ab3f2c42ecc01b6166281e6e7b', version: version }, h("div", { key: '4caa070e075bdb0024acbc2c19b5cd699d0fcac3', ref: el => (this.animatedContainer = el), class: "megadropdown", style: containerStyle }, h("div", { key: 'cc0a69ab0d7a886fe5fa0b8b63f0404d2eb6e63a', class: "section" }, this.device !== 'desktop' && this.megadropdownTitle && (h("p", { key: '9653be2ab067767d5c5338490101826f519bc3f5', class: "megadropdown-title" }, this.megadropdownTitle)), h("div", { key: '4f524c9ba3df153d2aa048d2293026af41aa4eb5', class: "megadropdown-content" }, h("slot", { key: '0deaca97b06fe15ce7924b15f6d81b96d439e41a' })), this.device === 'desktop' ? (h("post-closebutton", { onClick: () => this.hide(true), class: "close-button", size: "small", placement: "manual" }, this.textClose)) : (h("button", { onClick: () => this.hide(true), class: "back-button" }, h("post-icon", { name: "arrowleft" }), this.textBack))))));
297
299
  }
298
300
  static get is() { return "post-megadropdown"; }
299
301
  static get encapsulation() { return "shadow"; }
@@ -457,15 +459,14 @@ export class PostMegadropdown {
457
459
  };
458
460
  }
459
461
  static get elementRef() { return "host"; }
460
- static get watchers() {
461
- return [{
462
- "propName": "textClose",
463
- "methodName": "validateTextClose"
464
- }, {
465
- "propName": "textBack",
466
- "methodName": "validateTextBack"
467
- }];
468
- }
469
462
  }
470
463
  /** Tracks the currently active dropdown instance. */
471
464
  PostMegadropdown.activeDropdown = null;
465
+ __decorate([
466
+ Required(),
467
+ Type('string')
468
+ ], PostMegadropdown.prototype, "textClose", void 0);
469
+ __decorate([
470
+ Required(),
471
+ Type('string')
472
+ ], PostMegadropdown.prototype, "textBack", void 0);
@@ -8,9 +8,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
9
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
10
  };
11
- import { h, Host, Build } from "@stencil/core";
11
+ import { EventFrom, Required, Type } from "../../utils/index";
12
12
  import { version } from "../../../../package";
13
- import { checkRequiredAndType, EventFrom } from "../../utils/index";
13
+ import { Build, h, Host } from "@stencil/core";
14
14
  export class PostMegadropdownTrigger {
15
15
  constructor() {
16
16
  this.isMegadropdownExpanded = false;
@@ -20,15 +20,9 @@ export class PostMegadropdownTrigger {
20
20
  */
21
21
  this.active = false;
22
22
  }
23
- validateFor() {
24
- checkRequiredAndType(this, 'for', 'string');
25
- }
26
23
  componentWillRender() {
27
24
  this.handleSlottedContentChanges();
28
25
  }
29
- componentDidLoad() {
30
- this.validateFor();
31
- }
32
26
  disconnectedCallback() {
33
27
  if (this.mutationObserver)
34
28
  this.mutationObserver.disconnect();
@@ -77,7 +71,7 @@ export class PostMegadropdownTrigger {
77
71
  this.megadropdown.toggle();
78
72
  }
79
73
  render() {
80
- return (h(Host, { key: '8de24577a809c89ebe46f4c7ef1532c5877a1113', "data-version": version }, h("button", { key: 'cabc13855412e4a1245e252095233260e039225b', ref: el => (this.interactiveButton = el), type: "button", "aria-haspopup": "menu", "aria-expanded": this.isMegadropdownExpanded.toString(), onClick: this.onClick.bind(this), onKeyDown: this.onKeyDown.bind(this), class: { active: this.active } }, h("span", { key: 'd0adcd8bab3e5f6f7b4b5271f7688e313a209e4a' }, h("span", { key: '0917886a953d08fad7fd9c86a6df6e3c4d617826', innerHTML: this.slottedContent }), h("span", { key: 'c43bdc75311aa8625b7fb1356febb4b0b465f56a', "aria-hidden": "true" }, h("slot", { key: 'b19ff347103a69fd2b900b72a388b5840df35e7a' }))), h("post-icon", { key: 'c34d5898e6bf3f9bd7b71c99376b05e93a110d27', name: "chevrondown" }))));
74
+ return (h(Host, { key: '1542f9690da3863d8aac10b22aba039c2639afae', "data-version": version }, h("button", { key: 'd6e8c38931478decb4e3e42ca780ee45e7d0f928', ref: el => (this.interactiveButton = el), type: "button", "aria-haspopup": "menu", "aria-expanded": this.isMegadropdownExpanded.toString(), onClick: this.onClick.bind(this), onKeyDown: this.onKeyDown.bind(this), class: { active: this.active } }, h("span", { key: 'ae5a0d76f7f372a6e64bb1bb05030180d05360e5' }, h("span", { key: 'b07e30d5895511f584c257c4402a0ecaad9bb12f', innerHTML: this.slottedContent }), h("span", { key: '6ad1214c4b348338cb07b373e224cf9b27cf919c', "aria-hidden": "true" }, h("slot", { key: '798372c050a8a0f39095aefe203c11c7eb83e623' }))), h("post-icon", { key: '2df09ffd02c59703eee7a5d9b4e89d8aa007de10', name: "chevrondown" }))));
81
75
  }
82
76
  static get is() { return "post-megadropdown-trigger"; }
83
77
  static get encapsulation() { return "shadow"; }
@@ -141,12 +135,6 @@ export class PostMegadropdownTrigger {
141
135
  };
142
136
  }
143
137
  static get elementRef() { return "host"; }
144
- static get watchers() {
145
- return [{
146
- "propName": "for",
147
- "methodName": "validateFor"
148
- }];
149
- }
150
138
  static get listeners() {
151
139
  return [{
152
140
  "name": "postToggleMegadropdown",
@@ -157,6 +145,10 @@ export class PostMegadropdownTrigger {
157
145
  }];
158
146
  }
159
147
  }
148
+ __decorate([
149
+ Required(),
150
+ Type('string')
151
+ ], PostMegadropdownTrigger.prototype, "for", void 0);
160
152
  __decorate([
161
153
  EventFrom('post-megadropdown', { ignoreNestedComponents: false })
162
154
  ], PostMegadropdownTrigger.prototype, "onMegadropdownToggled", null);
@@ -8,11 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
9
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
10
  };
11
- import { h, Host, } from "@stencil/core";
12
11
  import { PLACEMENT_TYPES } from "../../types/index";
12
+ import { EventFrom, getFocusableChildren, getRoot, OneOf, Required, Type } from "../../utils/index";
13
13
  import { version } from "../../../../package";
14
- import { getFocusableChildren } from "../../utils/get-focusable-children";
15
- import { getRoot, checkEmptyOrOneOf, checkRequiredAndType, EventFrom } from "../../utils/index";
14
+ import { h, Host, } from "@stencil/core";
16
15
  /**
17
16
  * @part post-menu - The container element that holds the list of menu items.
18
17
  * @slot header - Holds the header part of the menu.
@@ -59,12 +58,6 @@ export class PostMenu {
59
58
  }
60
59
  };
61
60
  }
62
- validatePlacement() {
63
- checkEmptyOrOneOf(this, 'placement', PLACEMENT_TYPES);
64
- }
65
- validateLabel() {
66
- checkRequiredAndType(this, 'label', 'string');
67
- }
68
61
  connectedCallback() {
69
62
  this.root = getRoot(this.host);
70
63
  this.host.addEventListener('keydown', this.handleKeyDown);
@@ -74,10 +67,6 @@ export class PostMenu {
74
67
  this.host.removeEventListener('keydown', this.handleKeyDown);
75
68
  this.host.removeEventListener('click', this.handleClick);
76
69
  }
77
- componentDidLoad() {
78
- this.validatePlacement();
79
- this.validateLabel();
80
- }
81
70
  /**
82
71
  * Toggles the menu visibility based on its current state.
83
72
  */
@@ -189,10 +178,13 @@ export class PostMenu {
189
178
  // If the element is a slot, get the assigned elements
190
179
  .flatMap(el => (el instanceof HTMLSlotElement ? el.assignedElements() : el))
191
180
  // For each menu item, get any focusable children (e.g., buttons, links)
192
- .flatMap(el => Array.from(getFocusableChildren(el))));
181
+ .flatMap(el => [
182
+ ...getFocusableChildren(el),
183
+ ...(el.shadowRoot ? getFocusableChildren(el.shadowRoot) : []),
184
+ ]));
193
185
  }
194
186
  render() {
195
- return (h(Host, { key: '7d0b1cd5bbb556696a565678446d046e6ff076f6', "data-version": version }, h("post-popovercontainer", { key: '0ae774fe00ca20072166dc8cd101462852227868', onPostShow: this.handlePostShown.bind(this), onPostBeforeToggle: this.handlePostBeforeToggle.bind(this), placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: 'b222a596f617242223d83ca52fe5bea8a5cec99a', part: "post-menu" }, h("slot", { key: 'dd48fe47915864ffe3febcc27151e458db52a8f4', name: "header" }), h("slot", { key: '1ed5dccd1fbd838f05a11498717257c175be5073' })))));
187
+ return (h(Host, { key: 'c5f2f3e06c6deb847959a573e450beb2b17f35a2', "data-version": version }, h("post-popovercontainer", { key: '3625a55c753d763313f0a17f0f8993bbcb39975d', onPostShow: this.handlePostShown.bind(this), onPostBeforeToggle: this.handlePostBeforeToggle.bind(this), placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: 'f296e5a99e12ee97c09206df7c05db394a4ae181', part: "post-menu" }, h("slot", { key: '7c322af6cc8e67b9c18c645920d8af7bbcab953f', name: "header" }), h("slot", { key: 'd17b77c7c12a38991d25fc251144198ed763cbbb' })))));
196
188
  }
197
189
  static get is() { return "post-menu"; }
198
190
  static get encapsulation() { return "shadow"; }
@@ -354,16 +346,14 @@ export class PostMenu {
354
346
  };
355
347
  }
356
348
  static get elementRef() { return "host"; }
357
- static get watchers() {
358
- return [{
359
- "propName": "placement",
360
- "methodName": "validatePlacement"
361
- }, {
362
- "propName": "label",
363
- "methodName": "validateLabel"
364
- }];
365
- }
366
349
  }
350
+ __decorate([
351
+ OneOf(PLACEMENT_TYPES)
352
+ ], PostMenu.prototype, "placement", void 0);
353
+ __decorate([
354
+ Required(),
355
+ Type('string')
356
+ ], PostMenu.prototype, "label", void 0);
367
357
  __decorate([
368
358
  EventFrom('post-popovercontainer')
369
359
  ], PostMenu.prototype, "handlePostShown", null);
@@ -1 +1 @@
1
- post-menu-item button{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}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item a{text-decoration:none}post-menu-item button,post-menu-item a{position:relative;display:flex;width:100%;align-items:center;padding:.5rem .75rem .5rem 1rem;gap:.75rem;font-size:.875rem;color:#050400;border-radius:0}post-menu-item button post-icon,post-menu-item a post-icon{width:1rem;height:1rem;margin-block:.25rem}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:.75rem;gap:1rem}post-menu-item button post-icon,post-menu-item a post-icon{width:1.5rem;height:1.5rem;margin:0}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:.8125rem}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}
1
+ post-menu-item button{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}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item a{text-decoration:none}post-menu-item button,post-menu-item a{width:100%;position:relative;display:flex;align-items:center;padding:.5rem .75rem .5rem 1rem;gap:.75rem;font-size:.875rem;color:#050400;border-radius:0}post-menu-item button post-icon,post-menu-item a post-icon{width:1rem;height:1rem;margin-block:.25rem}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:.75rem;gap:1rem}post-menu-item button post-icon,post-menu-item a post-icon{width:1.5rem;height:1.5rem;margin:0}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:.8125rem}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}
@@ -1,10 +1,17 @@
1
- import { h, Host } from "@stencil/core";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1; i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
11
+ import { getRoot, Required, Type } from "../../utils/index";
2
12
  import { version } from "../../../../package";
3
- import { getRoot, checkRequiredAndType } from "../../utils/index";
13
+ import { h, Host } from "@stencil/core";
4
14
  export class PostMenuTrigger {
5
- validateFor() {
6
- checkRequiredAndType(this, 'for', 'string');
7
- }
8
15
  constructor() {
9
16
  this.updateAriaExpanded = this.updateAriaExpanded.bind(this);
10
17
  }
@@ -12,7 +19,6 @@ export class PostMenuTrigger {
12
19
  this.root = getRoot(this.host);
13
20
  }
14
21
  componentDidLoad() {
15
- this.validateFor();
16
22
  this.setAriaAttributes();
17
23
  if (this.root) {
18
24
  this.root.addEventListener('toggleMenu', this.updateAriaExpanded);
@@ -59,7 +65,7 @@ export class PostMenuTrigger {
59
65
  return null;
60
66
  }
61
67
  render() {
62
- return (h(Host, { key: 'b73b99c8a2de05ad60a9f51dfa1b88a1d2cd1d00', "data-version": version }, h("slot", { key: 'b5082151629ba33458cb37a2415a7ed6af77463d' })));
68
+ return (h(Host, { key: '53cdf95c4eaaf430f0ada66aa69588b7830903f9', "data-version": version }, h("slot", { key: 'ae764b0b2b93cd7934fd39ef68084871ddd3f94f' })));
63
69
  }
64
70
  static get is() { return "post-menu-trigger"; }
65
71
  static get encapsulation() { return "shadow"; }
@@ -97,10 +103,8 @@ export class PostMenuTrigger {
97
103
  };
98
104
  }
99
105
  static get elementRef() { return "host"; }
100
- static get watchers() {
101
- return [{
102
- "propName": "for",
103
- "methodName": "validateFor"
104
- }];
105
- }
106
106
  }
107
+ __decorate([
108
+ Required(),
109
+ Type('string')
110
+ ], PostMenuTrigger.prototype, "for", void 0);
@@ -1,7 +1,7 @@
1
- import { Host, h } from "@stencil/core";
2
- import { debounce } from "throttle-debounce";
3
- import { version } from "../../../../package";
4
1
  import { getSlottedElement, repeatOnLongPress } from "../../utils/index";
2
+ import { version } from "../../../../package";
3
+ import { h, Host } from "@stencil/core";
4
+ import { debounce } from "throttle-debounce";
5
5
  function parseNumber(input, key) {
6
6
  const value = Number.parseFloat(input[key]);
7
7
  return Number.isNaN(value) ? undefined : value;
@@ -88,10 +88,10 @@ export class PostNumberInput {
88
88
  }
89
89
  render() {
90
90
  const areButtonsShown = !!this.input;
91
- return (h(Host, { key: '856504c3a82ef504178fc937f5f60a38acb28244', "data-version": version, class: {
91
+ return (h(Host, { key: 'c8ef21f14edba7dcaf82dc66d7735f3ab3022e4f', "data-version": version, class: {
92
92
  'number-input-sm': this.small,
93
93
  'disabled': this.isDisabled,
94
- } }, areButtonsShown && (h("div", { key: 'ce30cbb021d0240d600c64c75ab29c85ff0c0f89', "aria-hidden": "true", onPointerDown: () => this.step('down'), class: { 'step-button': true, 'disabled': this.isDecrementDisabled } }, h("post-icon", { key: '05081a8183aa6d33f3669cee426d11bf981e42a5', name: "minus" }))), h("div", { key: '382d0dc2a4039af32ce7bf81ec5d75522dba856b', class: "input-container" }, h("slot", { key: '8b6887afdf073173ab8fa7226d8bfb7b7a99801e', onSlotchange: () => this.setupInput() })), areButtonsShown && (h("div", { key: 'c72c3af1708036502a926a0e7b7096ddbf3f9a0c', "aria-hidden": "true", onPointerDown: () => this.step('up'), class: { 'step-button': true, 'disabled': this.isIncrementDisabled } }, h("post-icon", { key: '2a2dbf0aa3b88cee41d7e7f6aa2652660a3e46d8', name: "plus" })))));
94
+ } }, areButtonsShown && (h("div", { key: '585049836ec48c09bcf49019375d798d58b1d56b', "aria-hidden": "true", onPointerDown: () => this.step('down'), class: { 'step-button': true, 'disabled': this.isDecrementDisabled } }, h("post-icon", { key: '1891fc6f71f9251e32b254d6a2da72560c86d3f2', name: "minus" }))), h("div", { key: '8cffde72970f70573f7d9afacd023bc87b9d9bae', class: "input-container" }, h("slot", { key: '69cdc0bef28f380690ce4d4887a3bec3a1dc30b9', onSlotchange: () => this.setupInput() })), areButtonsShown && (h("div", { key: '85cc8b04413b1a50ec493b45638f451fc2b5e0fd', "aria-hidden": "true", onPointerDown: () => this.step('up'), class: { 'step-button': true, 'disabled': this.isIncrementDisabled } }, h("post-icon", { key: '00b3a503d183042a406618aaad9a0e3f512e13e7', name: "plus" })))));
95
95
  }
96
96
  static get is() { return "post-number-input"; }
97
97
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,16 @@
1
- import { Host, h, } from "@stencil/core";
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4
+ r = Reflect.decorate(decorators, target, key, desc);
5
+ else
6
+ for (var i = decorators.length - 1; i >= 0; i--)
7
+ if (d = decorators[i])
8
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
11
+ import { debounce, nanoid, Required, Type } from "../../utils/index";
2
12
  import { version } from "../../../../package";
3
- import { nanoid } from "nanoid";
4
- import { checkEmptyOrType, checkRequiredAndType, debounce } from "../../utils/index";
13
+ import { h, Host, } from "@stencil/core";
5
14
  const ELLIPSIS = '...';
6
15
  const MEASUREMENT_DEBOUNCE_MS = 50;
7
16
  const RESIZE_DEBOUNCE_MS = 150;
@@ -18,33 +27,6 @@ export class PostPagination {
18
27
  this.debouncedResize = debounce(this.handleResizeInternal.bind(this), RESIZE_DEBOUNCE_MS);
19
28
  this.measurementTimeoutId = null;
20
29
  }
21
- validatePage() {
22
- this.validateProp('page', 'number', false);
23
- }
24
- validatePageSize() {
25
- this.validateProp('pageSize', 'number', true);
26
- }
27
- validateCollectionSize() {
28
- this.validateProp('collectionSize', 'number', true);
29
- }
30
- validateLabel() {
31
- this.validateProp('label', 'string', true);
32
- }
33
- validateTextPrevious() {
34
- this.validateProp('textPrevious', 'string', true);
35
- }
36
- validateTextNext() {
37
- this.validateProp('textNext', 'string', true);
38
- }
39
- validateTextPage() {
40
- this.validateProp('textPage', 'string', true);
41
- }
42
- validateTextFirst() {
43
- this.validateProp('textFirst', 'string', true);
44
- }
45
- validateTextLast() {
46
- this.validateProp('textLast', 'string', true);
47
- }
48
30
  handlePropsChange() {
49
31
  this.updatePagesWithValidation();
50
32
  }
@@ -59,7 +41,6 @@ export class PostPagination {
59
41
  }
60
42
  componentDidLoad() {
61
43
  this.loaded = true;
62
- this.runAllValidations();
63
44
  this.scheduleMeasurement();
64
45
  }
65
46
  disconnectedCallback() {
@@ -70,31 +51,6 @@ export class PostPagination {
70
51
  this.measurementTimeoutId = null;
71
52
  }
72
53
  }
73
- /**
74
- * Validate a prop with the appropriate check function
75
- */
76
- validateProp(propName, type, required = true) {
77
- if (required) {
78
- checkRequiredAndType(this, propName, type);
79
- }
80
- else {
81
- checkEmptyOrType(this, propName, type);
82
- }
83
- }
84
- /**
85
- * Run all prop validations
86
- */
87
- runAllValidations() {
88
- this.validateProp('page', 'number', false);
89
- this.validateProp('pageSize', 'number', true);
90
- this.validateProp('collectionSize', 'number', true);
91
- this.validateProp('label', 'string', true);
92
- this.validateProp('textPrevious', 'string', true);
93
- this.validateProp('textNext', 'string', true);
94
- this.validateProp('textPage', 'string', true);
95
- this.validateProp('textFirst', 'string', true);
96
- this.validateProp('textLast', 'string', true);
97
- }
98
54
  /**
99
55
  * Schedule measurement attempt with timeout
100
56
  */
@@ -770,33 +726,6 @@ export class PostPagination {
770
726
  static get elementRef() { return "host"; }
771
727
  static get watchers() {
772
728
  return [{
773
- "propName": "page",
774
- "methodName": "validatePage"
775
- }, {
776
- "propName": "pageSize",
777
- "methodName": "validatePageSize"
778
- }, {
779
- "propName": "collectionSize",
780
- "methodName": "validateCollectionSize"
781
- }, {
782
- "propName": "label",
783
- "methodName": "validateLabel"
784
- }, {
785
- "propName": "textPrevious",
786
- "methodName": "validateTextPrevious"
787
- }, {
788
- "propName": "textNext",
789
- "methodName": "validateTextNext"
790
- }, {
791
- "propName": "textPage",
792
- "methodName": "validateTextPage"
793
- }, {
794
- "propName": "textFirst",
795
- "methodName": "validateTextFirst"
796
- }, {
797
- "propName": "textLast",
798
- "methodName": "validateTextLast"
799
- }, {
800
729
  "propName": "page",
801
730
  "methodName": "handlePropsChange"
802
731
  }, {
@@ -808,3 +737,38 @@ export class PostPagination {
808
737
  }];
809
738
  }
810
739
  }
740
+ __decorate([
741
+ Type('number')
742
+ ], PostPagination.prototype, "page", void 0);
743
+ __decorate([
744
+ Required(),
745
+ Type('number')
746
+ ], PostPagination.prototype, "pageSize", void 0);
747
+ __decorate([
748
+ Required(),
749
+ Type('number')
750
+ ], PostPagination.prototype, "collectionSize", void 0);
751
+ __decorate([
752
+ Required(),
753
+ Type('string')
754
+ ], PostPagination.prototype, "label", void 0);
755
+ __decorate([
756
+ Required(),
757
+ Type('string')
758
+ ], PostPagination.prototype, "textPrevious", void 0);
759
+ __decorate([
760
+ Required(),
761
+ Type('string')
762
+ ], PostPagination.prototype, "textNext", void 0);
763
+ __decorate([
764
+ Required(),
765
+ Type('string')
766
+ ], PostPagination.prototype, "textPage", void 0);
767
+ __decorate([
768
+ Required(),
769
+ Type('string')
770
+ ], PostPagination.prototype, "textFirst", void 0);
771
+ __decorate([
772
+ Required(),
773
+ Type('string')
774
+ ], PostPagination.prototype, "textLast", void 0);