@haiilo/catalyst 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/dist/catalyst/catalyst.css +4 -9
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.esm.js +2 -2
  5. package/dist/catalyst/{p-85d057f0.js → p-6ae13953.js} +1 -1
  6. package/dist/catalyst/p-6cd4fa1e.js +3 -0
  7. package/dist/catalyst/p-6cd4fa1e.js.map +1 -0
  8. package/dist/catalyst/p-a05fbea3.entry.js +10 -0
  9. package/dist/catalyst/p-a05fbea3.entry.js.map +1 -0
  10. package/dist/catalyst/scss/core/_dialog.scss +1 -1
  11. package/dist/catalyst/scss/core/_form.scss +2 -1
  12. package/dist/catalyst/scss/core/_typography.scss +1 -7
  13. package/dist/cjs/cat-alert_26.cjs.entry.js +3899 -3883
  14. package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
  15. package/dist/cjs/catalyst.cjs.js +3 -3
  16. package/dist/cjs/catalyst.cjs.js.map +1 -1
  17. package/dist/cjs/{index-1e7eef7e.js → index-eb056d5e.js} +51 -13
  18. package/dist/cjs/index-eb056d5e.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +73 -73
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +2 -2
  22. package/dist/cjs/{of-395b2f57.js → of-2b7161d2.js} +155 -155
  23. package/dist/cjs/of-2b7161d2.js.map +1 -0
  24. package/dist/collection/collection-manifest.json +1 -1
  25. package/dist/collection/components/cat-alert/cat-alert.e2e.js +7 -7
  26. package/dist/collection/components/cat-alert/cat-alert.e2e.js.map +1 -1
  27. package/dist/collection/components/cat-alert/cat-alert.js +98 -98
  28. package/dist/collection/components/cat-alert/cat-alert.js.map +1 -1
  29. package/dist/collection/components/cat-alert/cat-alert.spec.js +7 -7
  30. package/dist/collection/components/cat-alert/cat-alert.spec.js.map +1 -1
  31. package/dist/collection/components/cat-avatar/cat-avatar.e2e.js +6 -6
  32. package/dist/collection/components/cat-avatar/cat-avatar.e2e.js.map +1 -1
  33. package/dist/collection/components/cat-avatar/cat-avatar.js +218 -218
  34. package/dist/collection/components/cat-avatar/cat-avatar.js.map +1 -1
  35. package/dist/collection/components/cat-avatar/cat-avatar.spec.js +7 -7
  36. package/dist/collection/components/cat-avatar/cat-avatar.spec.js.map +1 -1
  37. package/dist/collection/components/cat-badge/cat-badge.e2e.js +6 -6
  38. package/dist/collection/components/cat-badge/cat-badge.e2e.js.map +1 -1
  39. package/dist/collection/components/cat-badge/cat-badge.js +117 -117
  40. package/dist/collection/components/cat-badge/cat-badge.js.map +1 -1
  41. package/dist/collection/components/cat-badge/cat-badge.spec.js +7 -7
  42. package/dist/collection/components/cat-badge/cat-badge.spec.js.map +1 -1
  43. package/dist/collection/components/cat-button/cat-button.css +2 -1
  44. package/dist/collection/components/cat-button/cat-button.e2e.js +6 -6
  45. package/dist/collection/components/cat-button/cat-button.e2e.js.map +1 -1
  46. package/dist/collection/components/cat-button/cat-button.js +693 -693
  47. package/dist/collection/components/cat-button/cat-button.js.map +1 -1
  48. package/dist/collection/components/cat-button/cat-button.spec.js +7 -7
  49. package/dist/collection/components/cat-button/cat-button.spec.js.map +1 -1
  50. package/dist/collection/components/cat-button-group/cat-button-group.e2e.js +6 -6
  51. package/dist/collection/components/cat-button-group/cat-button-group.e2e.js.map +1 -1
  52. package/dist/collection/components/cat-button-group/cat-button-group.js +47 -47
  53. package/dist/collection/components/cat-button-group/cat-button-group.js.map +1 -1
  54. package/dist/collection/components/cat-button-group/cat-button-group.spec.js +7 -7
  55. package/dist/collection/components/cat-button-group/cat-button-group.spec.js.map +1 -1
  56. package/dist/collection/components/cat-card/cat-card.e2e.js +6 -6
  57. package/dist/collection/components/cat-card/cat-card.e2e.js.map +1 -1
  58. package/dist/collection/components/cat-card/cat-card.js +15 -15
  59. package/dist/collection/components/cat-card/cat-card.js.map +1 -1
  60. package/dist/collection/components/cat-card/cat-card.spec.js +7 -7
  61. package/dist/collection/components/cat-card/cat-card.spec.js.map +1 -1
  62. package/dist/collection/components/cat-checkbox/cat-checkbox.css +2 -1
  63. package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js +6 -6
  64. package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js.map +1 -1
  65. package/dist/collection/components/cat-checkbox/cat-checkbox.js +441 -441
  66. package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
  67. package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js +7 -7
  68. package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js.map +1 -1
  69. package/dist/collection/components/cat-datepicker/cat-datepicker.config.js +62 -62
  70. package/dist/collection/components/cat-datepicker/cat-datepicker.config.js.map +1 -1
  71. package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js +7 -7
  72. package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js.map +1 -1
  73. package/dist/collection/components/cat-datepicker/cat-datepicker.format.js +20 -20
  74. package/dist/collection/components/cat-datepicker/cat-datepicker.format.js.map +1 -1
  75. package/dist/collection/components/cat-datepicker/cat-datepicker.js +720 -707
  76. package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
  77. package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js +39 -39
  78. package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js.map +1 -1
  79. package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js +7 -7
  80. package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js.map +1 -1
  81. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js +7 -7
  82. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js.map +1 -1
  83. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +244 -244
  84. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js.map +1 -1
  85. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js +7 -7
  86. package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js.map +1 -1
  87. package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js +6 -6
  88. package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js.map +1 -1
  89. package/dist/collection/components/cat-dropdown/cat-dropdown.js +300 -300
  90. package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
  91. package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js +7 -7
  92. package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js.map +1 -1
  93. package/dist/collection/components/cat-form-group/cat-form-group.e2e.js +6 -6
  94. package/dist/collection/components/cat-form-group/cat-form-group.e2e.js.map +1 -1
  95. package/dist/collection/components/cat-form-group/cat-form-group.js +107 -107
  96. package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
  97. package/dist/collection/components/cat-form-group/cat-form-group.spec.js +7 -7
  98. package/dist/collection/components/cat-form-group/cat-form-group.spec.js.map +1 -1
  99. package/dist/collection/components/cat-form-hint/cat-form-hint.js +9 -9
  100. package/dist/collection/components/cat-form-hint/cat-form-hint.js.map +1 -1
  101. package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js +7 -7
  102. package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js.map +1 -1
  103. package/dist/collection/components/cat-i18n/cat-i18n-registry.js +71 -71
  104. package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -1
  105. package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js +3 -3
  106. package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js.map +1 -1
  107. package/dist/collection/components/cat-icon/cat-icon-registry.js +77 -77
  108. package/dist/collection/components/cat-icon/cat-icon-registry.js.map +1 -1
  109. package/dist/collection/components/cat-icon/cat-icon-registry.spec.js +3 -3
  110. package/dist/collection/components/cat-icon/cat-icon-registry.spec.js.map +1 -1
  111. package/dist/collection/components/cat-icon/cat-icon.e2e.js +7 -7
  112. package/dist/collection/components/cat-icon/cat-icon.e2e.js.map +1 -1
  113. package/dist/collection/components/cat-icon/cat-icon.js +97 -97
  114. package/dist/collection/components/cat-icon/cat-icon.js.map +1 -1
  115. package/dist/collection/components/cat-icon/cat-icon.spec.js +7 -7
  116. package/dist/collection/components/cat-icon/cat-icon.spec.js.map +1 -1
  117. package/dist/collection/components/cat-input/cat-input.e2e.js +7 -7
  118. package/dist/collection/components/cat-input/cat-input.e2e.js.map +1 -1
  119. package/dist/collection/components/cat-input/cat-input.js +768 -768
  120. package/dist/collection/components/cat-input/cat-input.js.map +1 -1
  121. package/dist/collection/components/cat-input/cat-input.spec.js +7 -7
  122. package/dist/collection/components/cat-input/cat-input.spec.js.map +1 -1
  123. package/dist/collection/components/cat-notification/cat-notification.js +59 -59
  124. package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
  125. package/dist/collection/components/cat-notification/cat-notification.spec.js +3 -3
  126. package/dist/collection/components/cat-notification/cat-notification.spec.js.map +1 -1
  127. package/dist/collection/components/cat-pagination/cat-pagination.e2e.js +10 -10
  128. package/dist/collection/components/cat-pagination/cat-pagination.e2e.js.map +1 -1
  129. package/dist/collection/components/cat-pagination/cat-pagination.js +274 -274
  130. package/dist/collection/components/cat-pagination/cat-pagination.js.map +1 -1
  131. package/dist/collection/components/cat-pagination/cat-pagination.spec.js +7 -7
  132. package/dist/collection/components/cat-pagination/cat-pagination.spec.js.map +1 -1
  133. package/dist/collection/components/cat-radio/cat-radio.e2e.js +6 -6
  134. package/dist/collection/components/cat-radio/cat-radio.e2e.js.map +1 -1
  135. package/dist/collection/components/cat-radio/cat-radio.js +378 -378
  136. package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
  137. package/dist/collection/components/cat-radio/cat-radio.spec.js +7 -7
  138. package/dist/collection/components/cat-radio/cat-radio.spec.js.map +1 -1
  139. package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js +6 -6
  140. package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js.map +1 -1
  141. package/dist/collection/components/cat-radio-group/cat-radio-group.js +278 -278
  142. package/dist/collection/components/cat-radio-group/cat-radio-group.js.map +1 -1
  143. package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js +7 -7
  144. package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js.map +1 -1
  145. package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js +6 -6
  146. package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js.map +1 -1
  147. package/dist/collection/components/cat-scrollable/cat-scrollable.js +287 -287
  148. package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
  149. package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js +7 -7
  150. package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js.map +1 -1
  151. package/dist/collection/components/cat-select/cat-select.e2e.js +10 -10
  152. package/dist/collection/components/cat-select/cat-select.e2e.js.map +1 -1
  153. package/dist/collection/components/cat-select/cat-select.js +1143 -1143
  154. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  155. package/dist/collection/components/cat-select/cat-select.spec.js +7 -7
  156. package/dist/collection/components/cat-select/cat-select.spec.js.map +1 -1
  157. package/dist/collection/components/cat-select/connectors.js +13 -13
  158. package/dist/collection/components/cat-select/connectors.js.map +1 -1
  159. package/dist/collection/components/cat-select-demo/cat-select-demo.js +1379 -1379
  160. package/dist/collection/components/cat-select-demo/cat-select-demo.js.map +1 -1
  161. package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js +6 -6
  162. package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js.map +1 -1
  163. package/dist/collection/components/cat-skeleton/cat-skeleton.js +120 -120
  164. package/dist/collection/components/cat-skeleton/cat-skeleton.js.map +1 -1
  165. package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js +7 -7
  166. package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js.map +1 -1
  167. package/dist/collection/components/cat-spinner/cat-spinner.e2e.js +6 -6
  168. package/dist/collection/components/cat-spinner/cat-spinner.e2e.js.map +1 -1
  169. package/dist/collection/components/cat-spinner/cat-spinner.js +60 -60
  170. package/dist/collection/components/cat-spinner/cat-spinner.js.map +1 -1
  171. package/dist/collection/components/cat-spinner/cat-spinner.spec.js +7 -7
  172. package/dist/collection/components/cat-spinner/cat-spinner.spec.js.map +1 -1
  173. package/dist/collection/components/cat-tab/cat-tab.e2e.js +6 -6
  174. package/dist/collection/components/cat-tab/cat-tab.e2e.js.map +1 -1
  175. package/dist/collection/components/cat-tab/cat-tab.js +230 -211
  176. package/dist/collection/components/cat-tab/cat-tab.js.map +1 -1
  177. package/dist/collection/components/cat-tab/cat-tab.spec.js +7 -7
  178. package/dist/collection/components/cat-tab/cat-tab.spec.js.map +1 -1
  179. package/dist/collection/components/cat-tabs/cat-tabs.css +3 -0
  180. package/dist/collection/components/cat-tabs/cat-tabs.e2e.js +6 -6
  181. package/dist/collection/components/cat-tabs/cat-tabs.e2e.js.map +1 -1
  182. package/dist/collection/components/cat-tabs/cat-tabs.js +222 -215
  183. package/dist/collection/components/cat-tabs/cat-tabs.js.map +1 -1
  184. package/dist/collection/components/cat-tabs/cat-tabs.spec.js +7 -7
  185. package/dist/collection/components/cat-tabs/cat-tabs.spec.js.map +1 -1
  186. package/dist/collection/components/cat-textarea/cat-textarea.e2e.js +7 -7
  187. package/dist/collection/components/cat-textarea/cat-textarea.e2e.js.map +1 -1
  188. package/dist/collection/components/cat-textarea/cat-textarea.js +586 -586
  189. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
  190. package/dist/collection/components/cat-textarea/cat-textarea.spec.js +7 -7
  191. package/dist/collection/components/cat-textarea/cat-textarea.spec.js.map +1 -1
  192. package/dist/collection/components/cat-toggle/cat-toggle.e2e.js +6 -6
  193. package/dist/collection/components/cat-toggle/cat-toggle.e2e.js.map +1 -1
  194. package/dist/collection/components/cat-toggle/cat-toggle.js +421 -421
  195. package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
  196. package/dist/collection/components/cat-toggle/cat-toggle.spec.js +7 -7
  197. package/dist/collection/components/cat-toggle/cat-toggle.spec.js.map +1 -1
  198. package/dist/collection/components/cat-tooltip/cat-tooltip.css +3 -0
  199. package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js +6 -6
  200. package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js.map +1 -1
  201. package/dist/collection/components/cat-tooltip/cat-tooltip.js +297 -296
  202. package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
  203. package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js +12 -8
  204. package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js.map +1 -1
  205. package/dist/collection/scss/core/_dialog.scss +1 -1
  206. package/dist/collection/scss/core/_form.scss +2 -1
  207. package/dist/collection/scss/core/_typography.scss +1 -7
  208. package/dist/collection/utils/breakpoints.js +6 -6
  209. package/dist/collection/utils/breakpoints.js.map +1 -1
  210. package/dist/collection/utils/coerce.js +3 -3
  211. package/dist/collection/utils/coerce.js.map +1 -1
  212. package/dist/collection/utils/find-closest.js +6 -6
  213. package/dist/collection/utils/find-closest.js.map +1 -1
  214. package/dist/collection/utils/first-tabbable.js +1 -1
  215. package/dist/collection/utils/first-tabbable.js.map +1 -1
  216. package/dist/collection/utils/load-img.js +6 -6
  217. package/dist/collection/utils/load-img.js.map +1 -1
  218. package/dist/collection/utils/media-matcher.js +30 -30
  219. package/dist/collection/utils/media-matcher.js.map +1 -1
  220. package/dist/collection/utils/media-matcher.spec.js +32 -32
  221. package/dist/collection/utils/media-matcher.spec.js.map +1 -1
  222. package/dist/collection/utils/platform.js +34 -34
  223. package/dist/collection/utils/platform.js.map +1 -1
  224. package/dist/collection/utils/setDefault.js +4 -4
  225. package/dist/collection/utils/setDefault.js.map +1 -1
  226. package/dist/components/cat-alert.d.ts +2 -2
  227. package/dist/components/cat-alert.js +56 -56
  228. package/dist/components/cat-alert.js.map +1 -1
  229. package/dist/components/cat-avatar.d.ts +2 -2
  230. package/dist/components/cat-avatar2.js +93 -93
  231. package/dist/components/cat-avatar2.js.map +1 -1
  232. package/dist/components/cat-badge.d.ts +2 -2
  233. package/dist/components/cat-badge.js +32 -32
  234. package/dist/components/cat-badge.js.map +1 -1
  235. package/dist/components/cat-button-group.d.ts +2 -2
  236. package/dist/components/cat-button-group.js +31 -31
  237. package/dist/components/cat-button-group.js.map +1 -1
  238. package/dist/components/cat-button.d.ts +2 -2
  239. package/dist/components/cat-button2.js +277 -277
  240. package/dist/components/cat-button2.js.map +1 -1
  241. package/dist/components/cat-card.d.ts +2 -2
  242. package/dist/components/cat-card.js +20 -20
  243. package/dist/components/cat-card.js.map +1 -1
  244. package/dist/components/cat-checkbox.d.ts +2 -2
  245. package/dist/components/cat-checkbox2.js +108 -108
  246. package/dist/components/cat-checkbox2.js.map +1 -1
  247. package/dist/components/cat-datepicker-inline.d.ts +2 -2
  248. package/dist/components/cat-datepicker-inline.js +89 -89
  249. package/dist/components/cat-datepicker-inline.js.map +1 -1
  250. package/dist/components/cat-datepicker.d.ts +2 -2
  251. package/dist/components/cat-datepicker.js +203 -194
  252. package/dist/components/cat-datepicker.js.map +1 -1
  253. package/dist/components/cat-datepicker.locale.js +121 -121
  254. package/dist/components/cat-datepicker.locale.js.map +1 -1
  255. package/dist/components/cat-dropdown.d.ts +2 -2
  256. package/dist/components/cat-dropdown2.js +177 -177
  257. package/dist/components/cat-dropdown2.js.map +1 -1
  258. package/dist/components/cat-form-group.d.ts +2 -2
  259. package/dist/components/cat-form-group.js +55 -55
  260. package/dist/components/cat-form-group.js.map +1 -1
  261. package/dist/components/cat-form-hint.js +9 -9
  262. package/dist/components/cat-form-hint.js.map +1 -1
  263. package/dist/components/cat-i18n-registry.js +71 -71
  264. package/dist/components/cat-i18n-registry.js.map +1 -1
  265. package/dist/components/cat-icon-registry.js +77 -77
  266. package/dist/components/cat-icon-registry.js.map +1 -1
  267. package/dist/components/cat-icon.d.ts +2 -2
  268. package/dist/components/cat-icon2.js +32 -32
  269. package/dist/components/cat-icon2.js.map +1 -1
  270. package/dist/components/cat-input.d.ts +2 -2
  271. package/dist/components/cat-input2.js +219 -219
  272. package/dist/components/cat-input2.js.map +1 -1
  273. package/dist/components/cat-pagination.d.ts +2 -2
  274. package/dist/components/cat-pagination.js +103 -103
  275. package/dist/components/cat-pagination.js.map +1 -1
  276. package/dist/components/cat-radio-group.d.ts +2 -2
  277. package/dist/components/cat-radio-group.js +113 -113
  278. package/dist/components/cat-radio-group.js.map +1 -1
  279. package/dist/components/cat-radio.d.ts +2 -2
  280. package/dist/components/cat-radio.js +93 -93
  281. package/dist/components/cat-radio.js.map +1 -1
  282. package/dist/components/cat-scrollable.d.ts +2 -2
  283. package/dist/components/cat-scrollable2.js +118 -118
  284. package/dist/components/cat-scrollable2.js.map +1 -1
  285. package/dist/components/cat-select-demo.d.ts +2 -2
  286. package/dist/components/cat-select-demo.js +1438 -1438
  287. package/dist/components/cat-select-demo.js.map +1 -1
  288. package/dist/components/cat-select.d.ts +2 -2
  289. package/dist/components/cat-select2.js +666 -666
  290. package/dist/components/cat-select2.js.map +1 -1
  291. package/dist/components/cat-skeleton.d.ts +2 -2
  292. package/dist/components/cat-skeleton2.js +53 -53
  293. package/dist/components/cat-skeleton2.js.map +1 -1
  294. package/dist/components/cat-spinner.d.ts +2 -2
  295. package/dist/components/cat-spinner2.js +27 -27
  296. package/dist/components/cat-spinner2.js.map +1 -1
  297. package/dist/components/cat-tab.d.ts +2 -2
  298. package/dist/components/cat-tab.js +48 -46
  299. package/dist/components/cat-tab.js.map +1 -1
  300. package/dist/components/cat-tabs.d.ts +2 -2
  301. package/dist/components/cat-tabs.js +120 -113
  302. package/dist/components/cat-tabs.js.map +1 -1
  303. package/dist/components/cat-textarea.d.ts +2 -2
  304. package/dist/components/cat-textarea.js +178 -178
  305. package/dist/components/cat-textarea.js.map +1 -1
  306. package/dist/components/cat-toggle.d.ts +2 -2
  307. package/dist/components/cat-toggle.js +104 -104
  308. package/dist/components/cat-toggle.js.map +1 -1
  309. package/dist/components/cat-tooltip.d.ts +2 -2
  310. package/dist/components/cat-tooltip.js +144 -143
  311. package/dist/components/cat-tooltip.js.map +1 -1
  312. package/dist/components/coerce.js +3 -3
  313. package/dist/components/coerce.js.map +1 -1
  314. package/dist/components/index.js +72 -72
  315. package/dist/components/index.js.map +1 -1
  316. package/dist/esm/cat-alert_26.entry.js +3899 -3883
  317. package/dist/esm/cat-alert_26.entry.js.map +1 -1
  318. package/dist/esm/catalyst.js +4 -4
  319. package/dist/esm/catalyst.js.map +1 -1
  320. package/dist/esm/{index-30a221a3.js → index-acddba36.js} +51 -13
  321. package/dist/esm/index-acddba36.js.map +1 -0
  322. package/dist/esm/index.js +74 -74
  323. package/dist/esm/index.js.map +1 -1
  324. package/dist/esm/loader.js +3 -3
  325. package/dist/esm/{of-04d3d9e1.js → of-4f92b30b.js} +155 -155
  326. package/dist/esm/of-4f92b30b.js.map +1 -0
  327. package/dist/types/components/cat-alert/cat-alert.d.ts +17 -17
  328. package/dist/types/components/cat-avatar/cat-avatar.d.ts +41 -41
  329. package/dist/types/components/cat-badge/cat-badge.d.ts +22 -22
  330. package/dist/types/components/cat-button/cat-button.d.ts +151 -151
  331. package/dist/types/components/cat-button-group/cat-button-group.d.ts +9 -9
  332. package/dist/types/components/cat-card/cat-card.d.ts +1 -1
  333. package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +97 -97
  334. package/dist/types/components/cat-datepicker/cat-datepicker.config.d.ts +12 -12
  335. package/dist/types/components/cat-datepicker/cat-datepicker.d.ts +153 -149
  336. package/dist/types/components/cat-datepicker-inline/cat-datepicker-inline.d.ts +45 -45
  337. package/dist/types/components/cat-dropdown/cat-dropdown.d.ts +49 -49
  338. package/dist/types/components/cat-form-group/cat-form-group.d.ts +23 -23
  339. package/dist/types/components/cat-form-hint/cat-form-hint.d.ts +6 -6
  340. package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +17 -17
  341. package/dist/types/components/cat-icon/cat-icon-registry.d.ts +12 -12
  342. package/dist/types/components/cat-icon/cat-icon.d.ts +18 -18
  343. package/dist/types/components/cat-input/cat-input.d.ts +167 -167
  344. package/dist/types/components/cat-notification/cat-notification.d.ts +31 -31
  345. package/dist/types/components/cat-pagination/cat-pagination.d.ts +52 -52
  346. package/dist/types/components/cat-radio/cat-radio.d.ts +83 -83
  347. package/dist/types/components/cat-radio-group/cat-radio-group.d.ts +49 -49
  348. package/dist/types/components/cat-scrollable/cat-scrollable.d.ts +49 -49
  349. package/dist/types/components/cat-select/cat-select.d.ts +221 -221
  350. package/dist/types/components/cat-select/connectors.d.ts +5 -5
  351. package/dist/types/components/cat-select-demo/cat-select-demo.d.ts +11 -11
  352. package/dist/types/components/cat-skeleton/cat-skeleton.d.ts +23 -23
  353. package/dist/types/components/cat-spinner/cat-spinner.d.ts +10 -10
  354. package/dist/types/components/cat-tab/cat-tab.d.ts +48 -42
  355. package/dist/types/components/cat-tabs/cat-tabs.d.ts +40 -39
  356. package/dist/types/components/cat-textarea/cat-textarea.d.ts +131 -131
  357. package/dist/types/components/cat-toggle/cat-toggle.d.ts +93 -93
  358. package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +64 -64
  359. package/dist/types/components.d.ts +10 -2
  360. package/dist/types/stencil-public-runtime.d.ts +8 -0
  361. package/dist/types/utils/breakpoints.d.ts +1 -1
  362. package/dist/types/utils/media-matcher.d.ts +10 -10
  363. package/dist/types/utils/platform.d.ts +16 -16
  364. package/dist/types/utils/setDefault.d.ts +2 -2
  365. package/package.json +18 -18
  366. package/dist/catalyst/p-1bd44896.js +0 -3
  367. package/dist/catalyst/p-1bd44896.js.map +0 -1
  368. package/dist/catalyst/p-dc953306.entry.js +0 -10
  369. package/dist/catalyst/p-dc953306.entry.js.map +0 -1
  370. package/dist/cjs/index-1e7eef7e.js.map +0 -1
  371. package/dist/cjs/of-395b2f57.js.map +0 -1
  372. package/dist/esm/index-30a221a3.js.map +0 -1
  373. package/dist/esm/of-04d3d9e1.js.map +0 -1
  374. /package/dist/catalyst/{p-85d057f0.js.map → p-6ae13953.js.map} +0 -0
@@ -12,451 +12,451 @@ let nextUniqueId = 0;
12
12
  * @part input - The native input element.
13
13
  */
14
14
  export class CatCheckbox {
15
- constructor() {
16
- this._id = `cat-checkbox-${nextUniqueId++}`;
17
- this.hasSlottedLabel = false;
18
- this.hasSlottedHint = false;
19
- this.checked = false;
20
- this.indeterminate = false;
21
- this.disabled = false;
22
- this.identifier = undefined;
23
- this.label = '';
24
- this.labelHidden = false;
25
- this.name = undefined;
26
- this.required = false;
27
- this.value = undefined;
28
- this.noValue = undefined;
29
- this.resolvedValue = null;
30
- this.hint = undefined;
31
- this.labelLeft = false;
32
- this.nativeAttributes = undefined;
33
- }
34
- get id() {
35
- return this.identifier || this._id;
36
- }
37
- componentWillLoad() {
38
- this.updateResolved();
39
- }
40
- componentWillRender() {
41
- this.hasSlottedLabel = !!this.hostElement.querySelector('[slot="label"]');
42
- this.hasSlottedHint = !!this.hostElement.querySelector('[slot="hint"]');
43
- if (!this.label && !this.hasSlottedLabel) {
44
- log.warn('[A11y] Missing ARIA label on checkbox', this);
15
+ constructor() {
16
+ this._id = `cat-checkbox-${nextUniqueId++}`;
17
+ this.hasSlottedLabel = false;
18
+ this.hasSlottedHint = false;
19
+ this.checked = false;
20
+ this.indeterminate = false;
21
+ this.disabled = false;
22
+ this.identifier = undefined;
23
+ this.label = '';
24
+ this.labelHidden = false;
25
+ this.name = undefined;
26
+ this.required = false;
27
+ this.value = undefined;
28
+ this.noValue = undefined;
29
+ this.resolvedValue = null;
30
+ this.hint = undefined;
31
+ this.labelLeft = false;
32
+ this.nativeAttributes = undefined;
45
33
  }
46
- }
47
- /**
48
- * Programmatically move focus to the checkbox. Use this method instead of
49
- * `input.focus()`.
50
- *
51
- * @param options An optional object providing options to control aspects of
52
- * the focusing process.
53
- */
54
- async doFocus(options) {
55
- this.input.focus(options);
56
- }
57
- /**
58
- * Programmatically remove focus from the checkbox. Use this method instead of
59
- * `input.blur()`.
60
- */
61
- async doBlur() {
62
- this.input.blur();
63
- }
64
- render() {
65
- return (h(Host, null, h("label", { htmlFor: this.id, class: { 'is-hidden': this.labelHidden, 'is-disabled': this.disabled, 'label-left': this.labelLeft } }, h("input", { ...this.nativeAttributes, part: "input", ref: el => (this.input = el), id: this.id, type: "checkbox", name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, onInput: this.onInput.bind(this), onFocus: this.onFocus.bind(this), onBlur: this.onBlur.bind(this), "aria-describedby": this.hasHint ? this.id + '-hint' : undefined }), h("span", { class: "box", "aria-hidden": "true" }, h("svg", { class: "check", viewBox: "0 0 12 10" }, h("polyline", { points: "1.5 6 4.5 9 10.5 1" })), h("svg", { class: "dash", viewBox: "0 0 12 10" }, h("polyline", { points: "1.5 5 10.5 5" }))), h("span", { class: "label", part: "label" }, (this.hasSlottedLabel && h("slot", { name: "label" })) || this.label)), this.hasHint && (h("div", { class: { 'hint-wrapper': true, 'label-left': this.labelLeft } }, h("div", { class: "box-placeholder" }), h(CatFormHint, { id: this.id, hint: this.hint, slottedHint: this.hasSlottedHint && h("slot", { name: "hint" }) })))));
66
- }
67
- get hasHint() {
68
- return !!this.hint || !!this.hasSlottedHint;
69
- }
70
- onInput() {
71
- this.checked = this.input.checked;
72
- this.indeterminate = this.input.indeterminate;
73
- this.updateResolved();
74
- this.catChange.emit(this.resolvedValue);
75
- }
76
- onFocus(event) {
77
- this.catFocus.emit(event);
78
- }
79
- onBlur(event) {
80
- this.catBlur.emit(event);
81
- }
82
- updateResolved() {
83
- this.resolvedValue = this.checked ? this.value ?? true : this.noValue ?? false;
84
- }
85
- static get is() { return "cat-checkbox"; }
86
- static get encapsulation() { return "shadow"; }
87
- static get originalStyleUrls() {
88
- return {
89
- "$": ["cat-checkbox.scss"]
90
- };
91
- }
92
- static get styleUrls() {
93
- return {
94
- "$": ["cat-checkbox.css"]
95
- };
96
- }
97
- static get properties() {
98
- return {
99
- "checked": {
100
- "type": "boolean",
101
- "mutable": true,
102
- "complexType": {
103
- "original": "boolean",
104
- "resolved": "boolean",
105
- "references": {}
106
- },
107
- "required": false,
108
- "optional": false,
109
- "docs": {
110
- "tags": [],
111
- "text": "Checked state of the checkbox"
112
- },
113
- "attribute": "checked",
114
- "reflect": false,
115
- "defaultValue": "false"
116
- },
117
- "indeterminate": {
118
- "type": "boolean",
119
- "mutable": true,
120
- "complexType": {
121
- "original": "boolean",
122
- "resolved": "boolean",
123
- "references": {}
124
- },
125
- "required": false,
126
- "optional": false,
127
- "docs": {
128
- "tags": [],
129
- "text": "Indeterminate state of the checkbox"
130
- },
131
- "attribute": "indeterminate",
132
- "reflect": false,
133
- "defaultValue": "false"
134
- },
135
- "disabled": {
136
- "type": "boolean",
137
- "mutable": false,
138
- "complexType": {
139
- "original": "boolean",
140
- "resolved": "boolean",
141
- "references": {}
142
- },
143
- "required": false,
144
- "optional": false,
145
- "docs": {
146
- "tags": [],
147
- "text": "Disabled state of the checkbox"
148
- },
149
- "attribute": "disabled",
150
- "reflect": false,
151
- "defaultValue": "false"
152
- },
153
- "identifier": {
154
- "type": "string",
155
- "mutable": false,
156
- "complexType": {
157
- "original": "string",
158
- "resolved": "string | undefined",
159
- "references": {}
160
- },
161
- "required": false,
162
- "optional": true,
163
- "docs": {
164
- "tags": [],
165
- "text": "A unique identifier for the input."
166
- },
167
- "attribute": "identifier",
168
- "reflect": false
169
- },
170
- "label": {
171
- "type": "string",
172
- "mutable": false,
173
- "complexType": {
174
- "original": "string",
175
- "resolved": "string",
176
- "references": {}
177
- },
178
- "required": false,
179
- "optional": false,
180
- "docs": {
181
- "tags": [],
182
- "text": "Label of the checkbox which is presented in the UI"
183
- },
184
- "attribute": "label",
185
- "reflect": false,
186
- "defaultValue": "''"
187
- },
188
- "labelHidden": {
189
- "type": "boolean",
190
- "mutable": false,
191
- "complexType": {
192
- "original": "boolean",
193
- "resolved": "boolean",
194
- "references": {}
195
- },
196
- "required": false,
197
- "optional": false,
198
- "docs": {
199
- "tags": [],
200
- "text": "Visually hide the label, but still show it to assistive technologies like screen readers."
201
- },
202
- "attribute": "label-hidden",
203
- "reflect": false,
204
- "defaultValue": "false"
205
- },
206
- "name": {
207
- "type": "string",
208
- "mutable": false,
209
- "complexType": {
210
- "original": "string",
211
- "resolved": "string | undefined",
212
- "references": {}
213
- },
214
- "required": false,
215
- "optional": true,
216
- "docs": {
217
- "tags": [],
218
- "text": "The name of the input."
219
- },
220
- "attribute": "name",
221
- "reflect": false
222
- },
223
- "required": {
224
- "type": "boolean",
225
- "mutable": false,
226
- "complexType": {
227
- "original": "boolean",
228
- "resolved": "boolean",
229
- "references": {}
230
- },
231
- "required": false,
232
- "optional": false,
233
- "docs": {
234
- "tags": [],
235
- "text": "Required state of the checkbox."
236
- },
237
- "attribute": "required",
238
- "reflect": false,
239
- "defaultValue": "false"
240
- },
241
- "value": {
242
- "type": "any",
243
- "mutable": false,
244
- "complexType": {
245
- "original": "any",
246
- "resolved": "any",
247
- "references": {}
248
- },
249
- "required": false,
250
- "optional": true,
251
- "docs": {
252
- "tags": [],
253
- "text": "The value of the checked checkbox."
254
- },
255
- "attribute": "value",
256
- "reflect": false
257
- },
258
- "noValue": {
259
- "type": "any",
260
- "mutable": false,
261
- "complexType": {
262
- "original": "any",
263
- "resolved": "any",
264
- "references": {}
265
- },
266
- "required": false,
267
- "optional": true,
268
- "docs": {
269
- "tags": [],
270
- "text": "The value of the unchecked checkbox."
271
- },
272
- "attribute": "no-value",
273
- "reflect": false
274
- },
275
- "resolvedValue": {
276
- "type": "any",
277
- "mutable": true,
278
- "complexType": {
279
- "original": "any",
280
- "resolved": "any",
281
- "references": {}
282
- },
283
- "required": false,
284
- "optional": false,
285
- "docs": {
286
- "tags": [],
287
- "text": "The resolved value of the checkbox, based on the checked state and value."
288
- },
289
- "attribute": "resolved-value",
290
- "reflect": false,
291
- "defaultValue": "null"
292
- },
293
- "hint": {
294
- "type": "string",
295
- "mutable": false,
296
- "complexType": {
297
- "original": "string | string[]",
298
- "resolved": "string | string[] | undefined",
299
- "references": {}
300
- },
301
- "required": false,
302
- "optional": true,
303
- "docs": {
304
- "tags": [],
305
- "text": "Optional hint text(s) to be displayed with the checkbox."
306
- },
307
- "attribute": "hint",
308
- "reflect": false
309
- },
310
- "labelLeft": {
311
- "type": "boolean",
312
- "mutable": false,
313
- "complexType": {
314
- "original": "boolean",
315
- "resolved": "boolean",
316
- "references": {}
317
- },
318
- "required": false,
319
- "optional": false,
320
- "docs": {
321
- "tags": [],
322
- "text": "Whether the label should appear to the left of the checkbox."
323
- },
324
- "attribute": "label-left",
325
- "reflect": false,
326
- "defaultValue": "false"
327
- },
328
- "nativeAttributes": {
329
- "type": "unknown",
330
- "mutable": false,
331
- "complexType": {
332
- "original": "{ [key: string]: string }",
333
- "resolved": "undefined | { [key: string]: string; }",
334
- "references": {}
335
- },
336
- "required": false,
337
- "optional": true,
338
- "docs": {
339
- "tags": [],
340
- "text": "Attributes that will be added to the native HTML input element."
341
- }
342
- }
343
- };
344
- }
345
- static get states() {
346
- return {
347
- "hasSlottedLabel": {},
348
- "hasSlottedHint": {}
349
- };
350
- }
351
- static get events() {
352
- return [{
353
- "method": "catChange",
354
- "name": "catChange",
355
- "bubbles": true,
356
- "cancelable": true,
357
- "composed": true,
358
- "docs": {
359
- "tags": [],
360
- "text": "Emitted when the checked status of the checkbox is changed."
361
- },
362
- "complexType": {
363
- "original": "any",
364
- "resolved": "any",
365
- "references": {}
366
- }
367
- }, {
368
- "method": "catFocus",
369
- "name": "catFocus",
370
- "bubbles": true,
371
- "cancelable": true,
372
- "composed": true,
373
- "docs": {
374
- "tags": [],
375
- "text": "Emitted when the checkbox received focus."
376
- },
377
- "complexType": {
378
- "original": "FocusEvent",
379
- "resolved": "FocusEvent",
380
- "references": {
381
- "FocusEvent": {
382
- "location": "global",
383
- "id": "global::FocusEvent"
384
- }
385
- }
386
- }
387
- }, {
388
- "method": "catBlur",
389
- "name": "catBlur",
390
- "bubbles": true,
391
- "cancelable": true,
392
- "composed": true,
393
- "docs": {
394
- "tags": [],
395
- "text": "Emitted when the checkbox loses focus."
396
- },
397
- "complexType": {
398
- "original": "FocusEvent",
399
- "resolved": "FocusEvent",
400
- "references": {
401
- "FocusEvent": {
402
- "location": "global",
403
- "id": "global::FocusEvent"
404
- }
405
- }
34
+ get id() {
35
+ return this.identifier || this._id;
36
+ }
37
+ componentWillLoad() {
38
+ this.updateResolved();
39
+ }
40
+ componentWillRender() {
41
+ this.hasSlottedLabel = !!this.hostElement.querySelector('[slot="label"]');
42
+ this.hasSlottedHint = !!this.hostElement.querySelector('[slot="hint"]');
43
+ if (!this.label && !this.hasSlottedLabel) {
44
+ log.warn('[A11y] Missing ARIA label on checkbox', this);
406
45
  }
407
- }];
408
- }
409
- static get methods() {
410
- return {
411
- "doFocus": {
412
- "complexType": {
413
- "signature": "(options?: FocusOptions) => Promise<void>",
414
- "parameters": [{
415
- "tags": [{
416
- "name": "param",
417
- "text": "options An optional object providing options to control aspects of\nthe focusing process."
418
- }],
419
- "text": "An optional object providing options to control aspects of\nthe focusing process."
420
- }],
421
- "references": {
422
- "Promise": {
423
- "location": "global",
424
- "id": "global::Promise"
46
+ }
47
+ /**
48
+ * Programmatically move focus to the checkbox. Use this method instead of
49
+ * `input.focus()`.
50
+ *
51
+ * @param options An optional object providing options to control aspects of
52
+ * the focusing process.
53
+ */
54
+ async doFocus(options) {
55
+ this.input.focus(options);
56
+ }
57
+ /**
58
+ * Programmatically remove focus from the checkbox. Use this method instead of
59
+ * `input.blur()`.
60
+ */
61
+ async doBlur() {
62
+ this.input.blur();
63
+ }
64
+ render() {
65
+ return (h(Host, null, h("label", { htmlFor: this.id, class: { 'is-hidden': this.labelHidden, 'is-disabled': this.disabled, 'label-left': this.labelLeft } }, h("input", { ...this.nativeAttributes, part: "input", ref: el => (this.input = el), id: this.id, type: "checkbox", name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, onInput: this.onInput.bind(this), onFocus: this.onFocus.bind(this), onBlur: this.onBlur.bind(this), "aria-describedby": this.hasHint ? this.id + '-hint' : undefined }), h("span", { class: "box", "aria-hidden": "true" }, h("svg", { class: "check", viewBox: "0 0 12 10" }, h("polyline", { points: "1.5 6 4.5 9 10.5 1" })), h("svg", { class: "dash", viewBox: "0 0 12 10" }, h("polyline", { points: "1.5 5 10.5 5" }))), h("span", { class: "label", part: "label" }, (this.hasSlottedLabel && h("slot", { name: "label" })) || this.label)), this.hasHint && (h("div", { class: { 'hint-wrapper': true, 'label-left': this.labelLeft } }, h("div", { class: "box-placeholder" }), h(CatFormHint, { id: this.id, hint: this.hint, slottedHint: this.hasSlottedHint && h("slot", { name: "hint" }) })))));
66
+ }
67
+ get hasHint() {
68
+ return !!this.hint || !!this.hasSlottedHint;
69
+ }
70
+ onInput() {
71
+ this.checked = this.input.checked;
72
+ this.indeterminate = this.input.indeterminate;
73
+ this.updateResolved();
74
+ this.catChange.emit(this.resolvedValue);
75
+ }
76
+ onFocus(event) {
77
+ this.catFocus.emit(event);
78
+ }
79
+ onBlur(event) {
80
+ this.catBlur.emit(event);
81
+ }
82
+ updateResolved() {
83
+ this.resolvedValue = this.checked ? this.value ?? true : this.noValue ?? false;
84
+ }
85
+ static get is() { return "cat-checkbox"; }
86
+ static get encapsulation() { return "shadow"; }
87
+ static get originalStyleUrls() {
88
+ return {
89
+ "$": ["cat-checkbox.scss"]
90
+ };
91
+ }
92
+ static get styleUrls() {
93
+ return {
94
+ "$": ["cat-checkbox.css"]
95
+ };
96
+ }
97
+ static get properties() {
98
+ return {
99
+ "checked": {
100
+ "type": "boolean",
101
+ "mutable": true,
102
+ "complexType": {
103
+ "original": "boolean",
104
+ "resolved": "boolean",
105
+ "references": {}
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [],
111
+ "text": "Checked state of the checkbox"
112
+ },
113
+ "attribute": "checked",
114
+ "reflect": false,
115
+ "defaultValue": "false"
116
+ },
117
+ "indeterminate": {
118
+ "type": "boolean",
119
+ "mutable": true,
120
+ "complexType": {
121
+ "original": "boolean",
122
+ "resolved": "boolean",
123
+ "references": {}
124
+ },
125
+ "required": false,
126
+ "optional": false,
127
+ "docs": {
128
+ "tags": [],
129
+ "text": "Indeterminate state of the checkbox"
130
+ },
131
+ "attribute": "indeterminate",
132
+ "reflect": false,
133
+ "defaultValue": "false"
425
134
  },
426
- "FocusOptions": {
427
- "location": "global",
428
- "id": "global::FocusOptions"
135
+ "disabled": {
136
+ "type": "boolean",
137
+ "mutable": false,
138
+ "complexType": {
139
+ "original": "boolean",
140
+ "resolved": "boolean",
141
+ "references": {}
142
+ },
143
+ "required": false,
144
+ "optional": false,
145
+ "docs": {
146
+ "tags": [],
147
+ "text": "Disabled state of the checkbox"
148
+ },
149
+ "attribute": "disabled",
150
+ "reflect": false,
151
+ "defaultValue": "false"
152
+ },
153
+ "identifier": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "string",
158
+ "resolved": "string | undefined",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": true,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": "A unique identifier for the input."
166
+ },
167
+ "attribute": "identifier",
168
+ "reflect": false
169
+ },
170
+ "label": {
171
+ "type": "string",
172
+ "mutable": false,
173
+ "complexType": {
174
+ "original": "string",
175
+ "resolved": "string",
176
+ "references": {}
177
+ },
178
+ "required": false,
179
+ "optional": false,
180
+ "docs": {
181
+ "tags": [],
182
+ "text": "Label of the checkbox which is presented in the UI"
183
+ },
184
+ "attribute": "label",
185
+ "reflect": false,
186
+ "defaultValue": "''"
187
+ },
188
+ "labelHidden": {
189
+ "type": "boolean",
190
+ "mutable": false,
191
+ "complexType": {
192
+ "original": "boolean",
193
+ "resolved": "boolean",
194
+ "references": {}
195
+ },
196
+ "required": false,
197
+ "optional": false,
198
+ "docs": {
199
+ "tags": [],
200
+ "text": "Visually hide the label, but still show it to assistive technologies like screen readers."
201
+ },
202
+ "attribute": "label-hidden",
203
+ "reflect": false,
204
+ "defaultValue": "false"
205
+ },
206
+ "name": {
207
+ "type": "string",
208
+ "mutable": false,
209
+ "complexType": {
210
+ "original": "string",
211
+ "resolved": "string | undefined",
212
+ "references": {}
213
+ },
214
+ "required": false,
215
+ "optional": true,
216
+ "docs": {
217
+ "tags": [],
218
+ "text": "The name of the input."
219
+ },
220
+ "attribute": "name",
221
+ "reflect": false
222
+ },
223
+ "required": {
224
+ "type": "boolean",
225
+ "mutable": false,
226
+ "complexType": {
227
+ "original": "boolean",
228
+ "resolved": "boolean",
229
+ "references": {}
230
+ },
231
+ "required": false,
232
+ "optional": false,
233
+ "docs": {
234
+ "tags": [],
235
+ "text": "Required state of the checkbox."
236
+ },
237
+ "attribute": "required",
238
+ "reflect": false,
239
+ "defaultValue": "false"
240
+ },
241
+ "value": {
242
+ "type": "any",
243
+ "mutable": false,
244
+ "complexType": {
245
+ "original": "any",
246
+ "resolved": "any",
247
+ "references": {}
248
+ },
249
+ "required": false,
250
+ "optional": true,
251
+ "docs": {
252
+ "tags": [],
253
+ "text": "The value of the checked checkbox."
254
+ },
255
+ "attribute": "value",
256
+ "reflect": false
257
+ },
258
+ "noValue": {
259
+ "type": "any",
260
+ "mutable": false,
261
+ "complexType": {
262
+ "original": "any",
263
+ "resolved": "any",
264
+ "references": {}
265
+ },
266
+ "required": false,
267
+ "optional": true,
268
+ "docs": {
269
+ "tags": [],
270
+ "text": "The value of the unchecked checkbox."
271
+ },
272
+ "attribute": "no-value",
273
+ "reflect": false
274
+ },
275
+ "resolvedValue": {
276
+ "type": "any",
277
+ "mutable": true,
278
+ "complexType": {
279
+ "original": "any",
280
+ "resolved": "any",
281
+ "references": {}
282
+ },
283
+ "required": false,
284
+ "optional": false,
285
+ "docs": {
286
+ "tags": [],
287
+ "text": "The resolved value of the checkbox, based on the checked state and value."
288
+ },
289
+ "attribute": "resolved-value",
290
+ "reflect": false,
291
+ "defaultValue": "null"
292
+ },
293
+ "hint": {
294
+ "type": "string",
295
+ "mutable": false,
296
+ "complexType": {
297
+ "original": "string | string[]",
298
+ "resolved": "string | string[] | undefined",
299
+ "references": {}
300
+ },
301
+ "required": false,
302
+ "optional": true,
303
+ "docs": {
304
+ "tags": [],
305
+ "text": "Optional hint text(s) to be displayed with the checkbox."
306
+ },
307
+ "attribute": "hint",
308
+ "reflect": false
309
+ },
310
+ "labelLeft": {
311
+ "type": "boolean",
312
+ "mutable": false,
313
+ "complexType": {
314
+ "original": "boolean",
315
+ "resolved": "boolean",
316
+ "references": {}
317
+ },
318
+ "required": false,
319
+ "optional": false,
320
+ "docs": {
321
+ "tags": [],
322
+ "text": "Whether the label should appear to the left of the checkbox."
323
+ },
324
+ "attribute": "label-left",
325
+ "reflect": false,
326
+ "defaultValue": "false"
327
+ },
328
+ "nativeAttributes": {
329
+ "type": "unknown",
330
+ "mutable": false,
331
+ "complexType": {
332
+ "original": "{ [key: string]: string }",
333
+ "resolved": "undefined | { [key: string]: string; }",
334
+ "references": {}
335
+ },
336
+ "required": false,
337
+ "optional": true,
338
+ "docs": {
339
+ "tags": [],
340
+ "text": "Attributes that will be added to the native HTML input element."
341
+ }
429
342
  }
430
- },
431
- "return": "Promise<void>"
432
- },
433
- "docs": {
434
- "text": "Programmatically move focus to the checkbox. Use this method instead of\n`input.focus()`.",
435
- "tags": [{
436
- "name": "param",
437
- "text": "options An optional object providing options to control aspects of\nthe focusing process."
438
- }]
439
- }
440
- },
441
- "doBlur": {
442
- "complexType": {
443
- "signature": "() => Promise<void>",
444
- "parameters": [],
445
- "references": {
446
- "Promise": {
447
- "location": "global",
448
- "id": "global::Promise"
343
+ };
344
+ }
345
+ static get states() {
346
+ return {
347
+ "hasSlottedLabel": {},
348
+ "hasSlottedHint": {}
349
+ };
350
+ }
351
+ static get events() {
352
+ return [{
353
+ "method": "catChange",
354
+ "name": "catChange",
355
+ "bubbles": true,
356
+ "cancelable": true,
357
+ "composed": true,
358
+ "docs": {
359
+ "tags": [],
360
+ "text": "Emitted when the checked status of the checkbox is changed."
361
+ },
362
+ "complexType": {
363
+ "original": "any",
364
+ "resolved": "any",
365
+ "references": {}
366
+ }
367
+ }, {
368
+ "method": "catFocus",
369
+ "name": "catFocus",
370
+ "bubbles": true,
371
+ "cancelable": true,
372
+ "composed": true,
373
+ "docs": {
374
+ "tags": [],
375
+ "text": "Emitted when the checkbox received focus."
376
+ },
377
+ "complexType": {
378
+ "original": "FocusEvent",
379
+ "resolved": "FocusEvent",
380
+ "references": {
381
+ "FocusEvent": {
382
+ "location": "global",
383
+ "id": "global::FocusEvent"
384
+ }
385
+ }
386
+ }
387
+ }, {
388
+ "method": "catBlur",
389
+ "name": "catBlur",
390
+ "bubbles": true,
391
+ "cancelable": true,
392
+ "composed": true,
393
+ "docs": {
394
+ "tags": [],
395
+ "text": "Emitted when the checkbox loses focus."
396
+ },
397
+ "complexType": {
398
+ "original": "FocusEvent",
399
+ "resolved": "FocusEvent",
400
+ "references": {
401
+ "FocusEvent": {
402
+ "location": "global",
403
+ "id": "global::FocusEvent"
404
+ }
405
+ }
406
+ }
407
+ }];
408
+ }
409
+ static get methods() {
410
+ return {
411
+ "doFocus": {
412
+ "complexType": {
413
+ "signature": "(options?: FocusOptions) => Promise<void>",
414
+ "parameters": [{
415
+ "tags": [{
416
+ "name": "param",
417
+ "text": "options An optional object providing options to control aspects of\nthe focusing process."
418
+ }],
419
+ "text": "An optional object providing options to control aspects of\nthe focusing process."
420
+ }],
421
+ "references": {
422
+ "Promise": {
423
+ "location": "global",
424
+ "id": "global::Promise"
425
+ },
426
+ "FocusOptions": {
427
+ "location": "global",
428
+ "id": "global::FocusOptions"
429
+ }
430
+ },
431
+ "return": "Promise<void>"
432
+ },
433
+ "docs": {
434
+ "text": "Programmatically move focus to the checkbox. Use this method instead of\n`input.focus()`.",
435
+ "tags": [{
436
+ "name": "param",
437
+ "text": "options An optional object providing options to control aspects of\nthe focusing process."
438
+ }]
439
+ }
440
+ },
441
+ "doBlur": {
442
+ "complexType": {
443
+ "signature": "() => Promise<void>",
444
+ "parameters": [],
445
+ "references": {
446
+ "Promise": {
447
+ "location": "global",
448
+ "id": "global::Promise"
449
+ }
450
+ },
451
+ "return": "Promise<void>"
452
+ },
453
+ "docs": {
454
+ "text": "Programmatically remove focus from the checkbox. Use this method instead of\n`input.blur()`.",
455
+ "tags": []
456
+ }
449
457
  }
450
- },
451
- "return": "Promise<void>"
452
- },
453
- "docs": {
454
- "text": "Programmatically remove focus from the checkbox. Use this method instead of\n`input.blur()`.",
455
- "tags": []
456
- }
457
- }
458
- };
459
- }
460
- static get elementRef() { return "hostElement"; }
458
+ };
459
+ }
460
+ static get elementRef() { return "hostElement"; }
461
461
  }
462
462
  //# sourceMappingURL=cat-checkbox.js.map