@riverty/web-components 6.2.1 → 6.3.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 (397) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +78 -0
  3. package/custom-elements.json +4 -0
  4. package/package.json +3 -2
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  6. package/dist/cjs/focusable-Oll_rmtP.js +0 -28
  7. package/dist/cjs/formData-B2DZyLxP.js +0 -44
  8. package/dist/cjs/index-BnETQtSf.js +0 -1834
  9. package/dist/cjs/index.cjs.js +0 -2
  10. package/dist/cjs/loader.cjs.js +0 -13
  11. package/dist/cjs/r-accordion-panel.cjs.entry.js +0 -24
  12. package/dist/cjs/r-accordion-section.cjs.entry.js +0 -125
  13. package/dist/cjs/r-accordion-trigger.cjs.entry.js +0 -93
  14. package/dist/cjs/r-accordion.cjs.entry.js +0 -20
  15. package/dist/cjs/r-alert.cjs.entry.js +0 -146
  16. package/dist/cjs/r-badge.cjs.entry.js +0 -40
  17. package/dist/cjs/r-button.cjs.entry.js +0 -149
  18. package/dist/cjs/r-checkbox-group.cjs.entry.js +0 -232
  19. package/dist/cjs/r-checkbox.cjs.entry.js +0 -269
  20. package/dist/cjs/r-design-system-devtools.cjs.entry.js +0 -31
  21. package/dist/cjs/r-dialog.cjs.entry.js +0 -107
  22. package/dist/cjs/r-hint_2.cjs.entry.js +0 -50
  23. package/dist/cjs/r-icon-button_2.cjs.entry.js +0 -467
  24. package/dist/cjs/r-icon.cjs.entry.js +0 -284
  25. package/dist/cjs/r-illustration.cjs.entry.js +0 -396
  26. package/dist/cjs/r-input-code.cjs.entry.js +0 -432
  27. package/dist/cjs/r-input-date.cjs.entry.js +0 -519
  28. package/dist/cjs/r-input-password.cjs.entry.js +0 -265
  29. package/dist/cjs/r-input-phone-number.cjs.entry.js +0 -2525
  30. package/dist/cjs/r-input.cjs.entry.js +0 -402
  31. package/dist/cjs/r-list-item.cjs.entry.js +0 -109
  32. package/dist/cjs/r-pagination.cjs.entry.js +0 -314
  33. package/dist/cjs/r-panel.cjs.entry.js +0 -184
  34. package/dist/cjs/r-popover-action.cjs.entry.js +0 -80
  35. package/dist/cjs/r-popover-content.cjs.entry.js +0 -62
  36. package/dist/cjs/r-popover-headline.cjs.entry.js +0 -28
  37. package/dist/cjs/r-popover-trigger.cjs.entry.js +0 -70
  38. package/dist/cjs/r-popover.cjs.entry.js +0 -347
  39. package/dist/cjs/r-progress-bar.cjs.entry.js +0 -25
  40. package/dist/cjs/r-radio-button-description.cjs.entry.js +0 -18
  41. package/dist/cjs/r-radio-button-leading.cjs.entry.js +0 -18
  42. package/dist/cjs/r-radio-button-title.cjs.entry.js +0 -18
  43. package/dist/cjs/r-radio-button-trailing.cjs.entry.js +0 -18
  44. package/dist/cjs/r-radio-button.cjs.entry.js +0 -139
  45. package/dist/cjs/r-radio-group.cjs.entry.js +0 -425
  46. package/dist/cjs/r-select-option.cjs.entry.js +0 -130
  47. package/dist/cjs/r-select.cjs.entry.js +0 -1101
  48. package/dist/cjs/r-skip-link.cjs.entry.js +0 -19
  49. package/dist/cjs/r-stepper-item.cjs.entry.js +0 -42
  50. package/dist/cjs/r-stepper.cjs.entry.js +0 -99
  51. package/dist/cjs/r-tab-panel.cjs.entry.js +0 -26
  52. package/dist/cjs/r-tab.cjs.entry.js +0 -62
  53. package/dist/cjs/r-tabs-list.cjs.entry.js +0 -175
  54. package/dist/cjs/r-tabs.cjs.entry.js +0 -277
  55. package/dist/cjs/r-textarea.cjs.entry.js +0 -270
  56. package/dist/cjs/r-toast-group.cjs.entry.js +0 -46
  57. package/dist/cjs/r-toast.cjs.entry.js +0 -306
  58. package/dist/cjs/style-observer-D9zSP9wP.js +0 -1118
  59. package/dist/cjs/theming-NqxjhVJS.js +0 -109
  60. package/dist/cjs/web-components.cjs.js +0 -25
  61. package/dist/collection/collection-manifest.json +0 -60
  62. package/dist/collection/components/accordion/accordion.css +0 -24
  63. package/dist/collection/components/accordion/accordion.js +0 -90
  64. package/dist/collection/components/accordion/exports.js +0 -1
  65. package/dist/collection/components/accordion-panel/accordion-panel.css +0 -50
  66. package/dist/collection/components/accordion-panel/accordion-panel.js +0 -86
  67. package/dist/collection/components/accordion-section/accordion-section.css +0 -27
  68. package/dist/collection/components/accordion-section/accordion-section.js +0 -235
  69. package/dist/collection/components/accordion-trigger/accordion-trigger.css +0 -93
  70. package/dist/collection/components/accordion-trigger/accordion-trigger.js +0 -220
  71. package/dist/collection/components/alert/alert.css +0 -119
  72. package/dist/collection/components/alert/alert.js +0 -526
  73. package/dist/collection/components/alert/exports.js +0 -2
  74. package/dist/collection/components/badge/badge.css +0 -52
  75. package/dist/collection/components/badge/badge.js +0 -120
  76. package/dist/collection/components/badge/exports.js +0 -1
  77. package/dist/collection/components/button/button.css +0 -180
  78. package/dist/collection/components/button/button.js +0 -510
  79. package/dist/collection/components/button/exports.js +0 -5
  80. package/dist/collection/components/checkbox/checkbox.css +0 -116
  81. package/dist/collection/components/checkbox/checkbox.js +0 -777
  82. package/dist/collection/components/checkbox-group/checkbox-group.css +0 -48
  83. package/dist/collection/components/checkbox-group/checkbox-group.js +0 -718
  84. package/dist/collection/components/design-system-devtools/design-system-devtools.js +0 -59
  85. package/dist/collection/components/dialog/dialog.css +0 -125
  86. package/dist/collection/components/dialog/dialog.js +0 -345
  87. package/dist/collection/components/dialog/exports.js +0 -9
  88. package/dist/collection/components/hint/exports.js +0 -1
  89. package/dist/collection/components/hint/hint.css +0 -63
  90. package/dist/collection/components/hint/hint.js +0 -114
  91. package/dist/collection/components/icon/all-kit.js +0 -2
  92. package/dist/collection/components/icon/data.js +0 -90
  93. package/dist/collection/components/icon/exports.js +0 -7
  94. package/dist/collection/components/icon/icon.css +0 -105
  95. package/dist/collection/components/icon/icon.js +0 -379
  96. package/dist/collection/components/icon/riverty-kit.js +0 -2
  97. package/dist/collection/components/icon-button/icon-button.css +0 -105
  98. package/dist/collection/components/icon-button/icon-button.js +0 -343
  99. package/dist/collection/components/illustration/data.js +0 -112
  100. package/dist/collection/components/illustration/exports.js +0 -3
  101. package/dist/collection/components/illustration/illustration.css +0 -52
  102. package/dist/collection/components/illustration/illustration.js +0 -540
  103. package/dist/collection/components/illustration/illustrations-ui-kit.js +0 -2
  104. package/dist/collection/components/input/exports.js +0 -16
  105. package/dist/collection/components/input/input.css +0 -180
  106. package/dist/collection/components/input/input.js +0 -1572
  107. package/dist/collection/components/input-code/exports.js +0 -2
  108. package/dist/collection/components/input-code/input-code.css +0 -127
  109. package/dist/collection/components/input-code/input-code.js +0 -1139
  110. package/dist/collection/components/input-date/exports.js +0 -1
  111. package/dist/collection/components/input-date/input-date.css +0 -148
  112. package/dist/collection/components/input-date/input-date.js +0 -1228
  113. package/dist/collection/components/input-password/exports.js +0 -1
  114. package/dist/collection/components/input-password/input-password.css +0 -25
  115. package/dist/collection/components/input-password/input-password.js +0 -1051
  116. package/dist/collection/components/input-phone-number/input-phone-number.css +0 -61
  117. package/dist/collection/components/input-phone-number/input-phone-number.js +0 -874
  118. package/dist/collection/components/label/label.css +0 -38
  119. package/dist/collection/components/label/label.js +0 -47
  120. package/dist/collection/components/list-item/list-item/exports.js +0 -2
  121. package/dist/collection/components/list-item/list-item/list-item.css +0 -199
  122. package/dist/collection/components/list-item/list-item/list-item.js +0 -467
  123. package/dist/collection/components/pagination/exports.js +0 -3
  124. package/dist/collection/components/pagination/pagination.css +0 -118
  125. package/dist/collection/components/pagination/pagination.js +0 -799
  126. package/dist/collection/components/panel/exports.js +0 -1
  127. package/dist/collection/components/panel/panel.css +0 -192
  128. package/dist/collection/components/panel/panel.js +0 -473
  129. package/dist/collection/components/popover/exports.js +0 -3
  130. package/dist/collection/components/popover/popover.css +0 -251
  131. package/dist/collection/components/popover/popover.js +0 -741
  132. package/dist/collection/components/popover-action/popover-action.css +0 -21
  133. package/dist/collection/components/popover-action/popover-action.js +0 -150
  134. package/dist/collection/components/popover-content/popover-content.css +0 -9
  135. package/dist/collection/components/popover-content/popover-content.js +0 -130
  136. package/dist/collection/components/popover-headline/popover-headline.css +0 -7
  137. package/dist/collection/components/popover-headline/popover-headline.js +0 -28
  138. package/dist/collection/components/popover-trigger/exports.js +0 -1
  139. package/dist/collection/components/popover-trigger/popover-trigger.css +0 -4
  140. package/dist/collection/components/popover-trigger/popover-trigger.js +0 -163
  141. package/dist/collection/components/progress-bar/progress-bar.css +0 -41
  142. package/dist/collection/components/progress-bar/progress-bar.js +0 -71
  143. package/dist/collection/components/radio-button/radio-button.css +0 -126
  144. package/dist/collection/components/radio-button/radio-button.js +0 -559
  145. package/dist/collection/components/radio-button-description/radio-button-description.css +0 -5
  146. package/dist/collection/components/radio-button-description/radio-button-description.js +0 -22
  147. package/dist/collection/components/radio-button-leading/radio-button-leading.css +0 -3
  148. package/dist/collection/components/radio-button-leading/radio-button-leading.js +0 -22
  149. package/dist/collection/components/radio-button-title/radio-button-title.css +0 -8
  150. package/dist/collection/components/radio-button-title/radio-button-title.js +0 -22
  151. package/dist/collection/components/radio-button-trailing/radio-button-trailing.css +0 -6
  152. package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +0 -22
  153. package/dist/collection/components/radio-group/exports.js +0 -1
  154. package/dist/collection/components/radio-group/radio-group.css +0 -65
  155. package/dist/collection/components/radio-group/radio-group.js +0 -1020
  156. package/dist/collection/components/select/exports.js +0 -1
  157. package/dist/collection/components/select/select.css +0 -247
  158. package/dist/collection/components/select/select.js +0 -2011
  159. package/dist/collection/components/select-option/select-option.css +0 -93
  160. package/dist/collection/components/select-option/select-option.js +0 -459
  161. package/dist/collection/components/skip-link/exports.js +0 -1
  162. package/dist/collection/components/skip-link/skip-link.css +0 -37
  163. package/dist/collection/components/skip-link/skip-link.js +0 -52
  164. package/dist/collection/components/stepper/stepper.css +0 -25
  165. package/dist/collection/components/stepper/stepper.js +0 -216
  166. package/dist/collection/components/stepper-item/stepper-item.css +0 -62
  167. package/dist/collection/components/stepper-item/stepper-item.js +0 -171
  168. package/dist/collection/components/tab/tab.css +0 -81
  169. package/dist/collection/components/tab/tab.js +0 -169
  170. package/dist/collection/components/tab-panel/tab-panel.css +0 -19
  171. package/dist/collection/components/tab-panel/tab-panel.js +0 -72
  172. package/dist/collection/components/tabs/tabs.css +0 -4
  173. package/dist/collection/components/tabs/tabs.js +0 -345
  174. package/dist/collection/components/tabs-list/exports.js +0 -2
  175. package/dist/collection/components/tabs-list/tabs-list.css +0 -58
  176. package/dist/collection/components/tabs-list/tabs-list.js +0 -294
  177. package/dist/collection/components/textarea/exports.js +0 -8
  178. package/dist/collection/components/textarea/textarea.css +0 -148
  179. package/dist/collection/components/textarea/textarea.js +0 -1055
  180. package/dist/collection/components/toast/exports.js +0 -3
  181. package/dist/collection/components/toast/toast.css +0 -179
  182. package/dist/collection/components/toast/toast.js +0 -812
  183. package/dist/collection/components/toast-group/exports.js +0 -1
  184. package/dist/collection/components/toast-group/toast-group.css +0 -37
  185. package/dist/collection/components/toast-group/toast-group.js +0 -49
  186. package/dist/collection/components/tooltip/exports.js +0 -3
  187. package/dist/collection/components/tooltip/tooltip.css +0 -106
  188. package/dist/collection/components/tooltip/tooltip.js +0 -500
  189. package/dist/collection/index.js +0 -1
  190. package/dist/collection/utils/focusable.js +0 -24
  191. package/dist/collection/utils/formData.js +0 -40
  192. package/dist/collection/utils/theming.js +0 -103
  193. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  194. package/dist/esm/focusable-ky1yonnS.js +0 -26
  195. package/dist/esm/formData-DvLT8-y3.js +0 -42
  196. package/dist/esm/index-CTxpqopm.js +0 -1806
  197. package/dist/esm/index.js +0 -1
  198. package/dist/esm/loader.js +0 -11
  199. package/dist/esm/r-accordion-panel.entry.js +0 -22
  200. package/dist/esm/r-accordion-section.entry.js +0 -123
  201. package/dist/esm/r-accordion-trigger.entry.js +0 -91
  202. package/dist/esm/r-accordion.entry.js +0 -18
  203. package/dist/esm/r-alert.entry.js +0 -144
  204. package/dist/esm/r-badge.entry.js +0 -38
  205. package/dist/esm/r-button.entry.js +0 -147
  206. package/dist/esm/r-checkbox-group.entry.js +0 -230
  207. package/dist/esm/r-checkbox.entry.js +0 -267
  208. package/dist/esm/r-design-system-devtools.entry.js +0 -29
  209. package/dist/esm/r-dialog.entry.js +0 -105
  210. package/dist/esm/r-hint_2.entry.js +0 -47
  211. package/dist/esm/r-icon-button_2.entry.js +0 -464
  212. package/dist/esm/r-icon.entry.js +0 -282
  213. package/dist/esm/r-illustration.entry.js +0 -394
  214. package/dist/esm/r-input-code.entry.js +0 -430
  215. package/dist/esm/r-input-date.entry.js +0 -517
  216. package/dist/esm/r-input-password.entry.js +0 -263
  217. package/dist/esm/r-input-phone-number.entry.js +0 -2523
  218. package/dist/esm/r-input.entry.js +0 -400
  219. package/dist/esm/r-list-item.entry.js +0 -107
  220. package/dist/esm/r-pagination.entry.js +0 -312
  221. package/dist/esm/r-panel.entry.js +0 -182
  222. package/dist/esm/r-popover-action.entry.js +0 -78
  223. package/dist/esm/r-popover-content.entry.js +0 -60
  224. package/dist/esm/r-popover-headline.entry.js +0 -26
  225. package/dist/esm/r-popover-trigger.entry.js +0 -68
  226. package/dist/esm/r-popover.entry.js +0 -345
  227. package/dist/esm/r-progress-bar.entry.js +0 -23
  228. package/dist/esm/r-radio-button-description.entry.js +0 -16
  229. package/dist/esm/r-radio-button-leading.entry.js +0 -16
  230. package/dist/esm/r-radio-button-title.entry.js +0 -16
  231. package/dist/esm/r-radio-button-trailing.entry.js +0 -16
  232. package/dist/esm/r-radio-button.entry.js +0 -137
  233. package/dist/esm/r-radio-group.entry.js +0 -423
  234. package/dist/esm/r-select-option.entry.js +0 -128
  235. package/dist/esm/r-select.entry.js +0 -1099
  236. package/dist/esm/r-skip-link.entry.js +0 -17
  237. package/dist/esm/r-stepper-item.entry.js +0 -40
  238. package/dist/esm/r-stepper.entry.js +0 -97
  239. package/dist/esm/r-tab-panel.entry.js +0 -24
  240. package/dist/esm/r-tab.entry.js +0 -60
  241. package/dist/esm/r-tabs-list.entry.js +0 -173
  242. package/dist/esm/r-tabs.entry.js +0 -275
  243. package/dist/esm/r-textarea.entry.js +0 -268
  244. package/dist/esm/r-toast-group.entry.js +0 -44
  245. package/dist/esm/r-toast.entry.js +0 -304
  246. package/dist/esm/style-observer-4Uv3PpKT.js +0 -1116
  247. package/dist/esm/theming-DD2IrjpG.js +0 -106
  248. package/dist/esm/web-components.js +0 -21
  249. package/dist/index.cjs.js +0 -1
  250. package/dist/index.js +0 -1
  251. package/dist/types/components/accordion/accordion.d.ts +0 -27
  252. package/dist/types/components/accordion/exports.d.ts +0 -2
  253. package/dist/types/components/accordion-panel/accordion-panel.d.ts +0 -10
  254. package/dist/types/components/accordion-section/accordion-section.d.ts +0 -36
  255. package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +0 -33
  256. package/dist/types/components/alert/alert.d.ts +0 -67
  257. package/dist/types/components/alert/exports.d.ts +0 -4
  258. package/dist/types/components/badge/badge.d.ts +0 -23
  259. package/dist/types/components/badge/exports.d.ts +0 -2
  260. package/dist/types/components/button/button.d.ts +0 -89
  261. package/dist/types/components/button/exports.d.ts +0 -10
  262. package/dist/types/components/checkbox/checkbox.d.ts +0 -136
  263. package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -122
  264. package/dist/types/components/design-system-devtools/design-system-devtools.d.ts +0 -15
  265. package/dist/types/components/dialog/dialog.d.ts +0 -69
  266. package/dist/types/components/dialog/exports.d.ts +0 -10
  267. package/dist/types/components/hint/exports.d.ts +0 -2
  268. package/dist/types/components/hint/hint.d.ts +0 -20
  269. package/dist/types/components/icon/all-kit.d.ts +0 -2890
  270. package/dist/types/components/icon/data.d.ts +0 -145
  271. package/dist/types/components/icon/exports.d.ts +0 -152
  272. package/dist/types/components/icon/icon.d.ts +0 -37
  273. package/dist/types/components/icon/riverty-kit.d.ts +0 -139
  274. package/dist/types/components/icon-button/icon-button.d.ts +0 -69
  275. package/dist/types/components/illustration/data.d.ts +0 -52
  276. package/dist/types/components/illustration/exports.d.ts +0 -23
  277. package/dist/types/components/illustration/illustration.d.ts +0 -51
  278. package/dist/types/components/illustration/illustrations-ui-kit.d.ts +0 -21
  279. package/dist/types/components/input/exports.d.ts +0 -10
  280. package/dist/types/components/input/input.d.ts +0 -300
  281. package/dist/types/components/input-code/exports.d.ts +0 -4
  282. package/dist/types/components/input-code/input-code.d.ts +0 -175
  283. package/dist/types/components/input-date/exports.d.ts +0 -5
  284. package/dist/types/components/input-date/input-date.d.ts +0 -172
  285. package/dist/types/components/input-password/exports.d.ts +0 -1
  286. package/dist/types/components/input-password/input-password.d.ts +0 -184
  287. package/dist/types/components/input-phone-number/input-phone-number.d.ts +0 -128
  288. package/dist/types/components/label/label.d.ts +0 -9
  289. package/dist/types/components/list-item/list-item/exports.d.ts +0 -4
  290. package/dist/types/components/list-item/list-item/list-item.d.ts +0 -61
  291. package/dist/types/components/pagination/exports.d.ts +0 -6
  292. package/dist/types/components/pagination/pagination.d.ts +0 -140
  293. package/dist/types/components/panel/exports.d.ts +0 -2
  294. package/dist/types/components/panel/panel.d.ts +0 -56
  295. package/dist/types/components/popover/exports.d.ts +0 -6
  296. package/dist/types/components/popover/popover.d.ts +0 -131
  297. package/dist/types/components/popover-action/popover-action.d.ts +0 -24
  298. package/dist/types/components/popover-content/popover-content.d.ts +0 -22
  299. package/dist/types/components/popover-headline/popover-headline.d.ts +0 -6
  300. package/dist/types/components/popover-trigger/exports.d.ts +0 -2
  301. package/dist/types/components/popover-trigger/popover-trigger.d.ts +0 -31
  302. package/dist/types/components/progress-bar/progress-bar.d.ts +0 -10
  303. package/dist/types/components/radio-button/radio-button.d.ts +0 -92
  304. package/dist/types/components/radio-button-description/radio-button-description.d.ts +0 -8
  305. package/dist/types/components/radio-button-leading/radio-button-leading.d.ts +0 -8
  306. package/dist/types/components/radio-button-title/radio-button-title.d.ts +0 -8
  307. package/dist/types/components/radio-button-trailing/radio-button-trailing.d.ts +0 -8
  308. package/dist/types/components/radio-group/exports.d.ts +0 -2
  309. package/dist/types/components/radio-group/radio-group.d.ts +0 -178
  310. package/dist/types/components/select/exports.d.ts +0 -2
  311. package/dist/types/components/select/select.d.ts +0 -317
  312. package/dist/types/components/select-option/select-option.d.ts +0 -113
  313. package/dist/types/components/skip-link/exports.d.ts +0 -2
  314. package/dist/types/components/skip-link/skip-link.d.ts +0 -6
  315. package/dist/types/components/stepper/stepper.d.ts +0 -22
  316. package/dist/types/components/stepper-item/stepper-item.d.ts +0 -23
  317. package/dist/types/components/tab/tab.d.ts +0 -23
  318. package/dist/types/components/tab-panel/tab-panel.d.ts +0 -7
  319. package/dist/types/components/tabs/tabs.d.ts +0 -49
  320. package/dist/types/components/tabs-list/exports.d.ts +0 -4
  321. package/dist/types/components/tabs-list/tabs-list.d.ts +0 -41
  322. package/dist/types/components/textarea/exports.d.ts +0 -2
  323. package/dist/types/components/textarea/textarea.d.ts +0 -158
  324. package/dist/types/components/toast/exports.d.ts +0 -6
  325. package/dist/types/components/toast/toast.d.ts +0 -146
  326. package/dist/types/components/toast-group/exports.d.ts +0 -2
  327. package/dist/types/components/toast-group/toast-group.d.ts +0 -9
  328. package/dist/types/components/tooltip/exports.d.ts +0 -6
  329. package/dist/types/components/tooltip/tooltip.d.ts +0 -131
  330. package/dist/types/components.d.ts +0 -6286
  331. package/dist/types/index.d.ts +0 -1
  332. package/dist/types/stencil-public-runtime.d.ts +0 -1732
  333. package/dist/types/types/jsx-shim.d.ts +0 -13
  334. package/dist/types/types/style-observer.d.ts +0 -20
  335. package/dist/types/utils/focusable.d.ts +0 -1
  336. package/dist/types/utils/formData.d.ts +0 -1
  337. package/dist/types/utils/theming.d.ts +0 -15
  338. package/dist/web-components/index.esm.js +0 -0
  339. package/dist/web-components/p-02b22f8e.entry.js +0 -1
  340. package/dist/web-components/p-075a8dc8.entry.js +0 -1
  341. package/dist/web-components/p-0a34d33b.entry.js +0 -1
  342. package/dist/web-components/p-10cc9983.entry.js +0 -1
  343. package/dist/web-components/p-253068b9.entry.js +0 -1
  344. package/dist/web-components/p-3b8c8951.entry.js +0 -1
  345. package/dist/web-components/p-3beacdab.entry.js +0 -1
  346. package/dist/web-components/p-4214867d.entry.js +0 -1
  347. package/dist/web-components/p-42c857e9.entry.js +0 -1
  348. package/dist/web-components/p-44f87e16.entry.js +0 -1
  349. package/dist/web-components/p-477614c5.entry.js +0 -1
  350. package/dist/web-components/p-495ba3d2.entry.js +0 -1
  351. package/dist/web-components/p-4Uv3PpKT.js +0 -1
  352. package/dist/web-components/p-4de76291.entry.js +0 -1
  353. package/dist/web-components/p-55600d47.entry.js +0 -1
  354. package/dist/web-components/p-562051aa.entry.js +0 -1
  355. package/dist/web-components/p-5b850e0f.entry.js +0 -1
  356. package/dist/web-components/p-6013dfc8.entry.js +0 -1
  357. package/dist/web-components/p-62e7ae04.entry.js +0 -1
  358. package/dist/web-components/p-71519d37.entry.js +0 -1
  359. package/dist/web-components/p-88f7b47f.entry.js +0 -1
  360. package/dist/web-components/p-8975a6a3.entry.js +0 -1
  361. package/dist/web-components/p-8e125826.entry.js +0 -1
  362. package/dist/web-components/p-91cc0bde.entry.js +0 -1
  363. package/dist/web-components/p-93435fcd.entry.js +0 -1
  364. package/dist/web-components/p-947969d7.entry.js +0 -1
  365. package/dist/web-components/p-95396b5c.entry.js +0 -1
  366. package/dist/web-components/p-9de3a1a5.entry.js +0 -1
  367. package/dist/web-components/p-9f583ed1.entry.js +0 -1
  368. package/dist/web-components/p-B9rsR6cQ.js +0 -1
  369. package/dist/web-components/p-CTxpqopm.js +0 -2
  370. package/dist/web-components/p-DQuL1Twl.js +0 -1
  371. package/dist/web-components/p-DvLT8-y3.js +0 -1
  372. package/dist/web-components/p-a1086abe.entry.js +0 -1
  373. package/dist/web-components/p-bbba6d79.entry.js +0 -1
  374. package/dist/web-components/p-bde44ec4.entry.js +0 -1
  375. package/dist/web-components/p-bfc7e6c0.entry.js +0 -1
  376. package/dist/web-components/p-c1030394.entry.js +0 -1
  377. package/dist/web-components/p-c80a5541.entry.js +0 -1
  378. package/dist/web-components/p-c96ee61a.entry.js +0 -1
  379. package/dist/web-components/p-caf8f067.entry.js +0 -1
  380. package/dist/web-components/p-cc363c3d.entry.js +0 -1
  381. package/dist/web-components/p-cf4ff357.entry.js +0 -1
  382. package/dist/web-components/p-d0310ed4.entry.js +0 -1
  383. package/dist/web-components/p-d1412932.entry.js +0 -1
  384. package/dist/web-components/p-d2447e30.entry.js +0 -1
  385. package/dist/web-components/p-dc9cca06.entry.js +0 -1
  386. package/dist/web-components/p-e5b943a2.entry.js +0 -1
  387. package/dist/web-components/p-e67b13df.entry.js +0 -1
  388. package/dist/web-components/p-efec231a.entry.js +0 -1
  389. package/dist/web-components/p-f867e4c3.entry.js +0 -1
  390. package/dist/web-components/p-ff6b1b8f.entry.js +0 -1
  391. package/dist/web-components/p-ky1yonnS.js +0 -1
  392. package/dist/web-components/web-components.esm.js +0 -1
  393. package/loader/cdn.js +0 -1
  394. package/loader/index.cjs.js +0 -1
  395. package/loader/index.d.ts +0 -24
  396. package/loader/index.es2017.js +0 -1
  397. package/loader/index.js +0 -2
@@ -1,777 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { appendControlToFormData } from "../../utils/formData";
3
- /**
4
- * Checkboxes allow users to select none, one, or multiple items from a list.
5
- *
6
- * Overall behavior is based on native `<input type="checkbox">`
7
- *
8
- */
9
- export class Checkbox {
10
- constructor() {
11
- /** Automatically focus the checkbox when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior. */
12
- this.autofocus = false;
13
- this.validityState = '';
14
- this.validityMessage = '';
15
- this.touched = false;
16
- // Private properties
17
- this.initial = {};
18
- this.uniqueId = `r-checkbox-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g, '');
19
- // Private methods
20
- this.getValidityStateData = (element) => {
21
- let validityState = '';
22
- let validityMessage = '';
23
- for (const state in element.validity) {
24
- if (element.validity[state]) {
25
- validityState = state;
26
- if (this[state + 'Message']) {
27
- validityMessage = this[state + 'Message'];
28
- return { validityState, validityMessage };
29
- }
30
- validityMessage = element.validationMessage;
31
- }
32
- }
33
- return { validityState, validityMessage };
34
- };
35
- this.validateFormElement = (element = null) => {
36
- if (element === null)
37
- return;
38
- if (this.isNoValidate)
39
- return;
40
- if (this.error)
41
- return;
42
- const { validityState, validityMessage } = this.getValidityStateData(element);
43
- this.validityState = validityState;
44
- this.validityMessage = validityMessage;
45
- const isValid = this.validityState === 'valid';
46
- this.valid = isValid;
47
- this.invalid = !isValid;
48
- this.rValidate.emit({
49
- state: this.validityState,
50
- message: this.validityMessage
51
- });
52
- };
53
- this.handleClick = (event) => {
54
- if (this.disabled)
55
- return;
56
- const target = event.target;
57
- if (target.tagName !== 'A') {
58
- event.preventDefault();
59
- this.toggleChecked();
60
- }
61
- };
62
- this.onSubmitForm = (event) => {
63
- if (this.isNoValidate)
64
- return;
65
- this.validateFormElement(this.nativeElement);
66
- // If data is not valid -> prevent form submittion
67
- if (this.invalid) {
68
- event.preventDefault();
69
- event.stopPropagation();
70
- }
71
- };
72
- this.onResetForm = () => {
73
- this.validityState = null;
74
- this.validityMessage = null;
75
- this.checked = this.initial['checked'];
76
- this.invalid = this.initial['invalid'];
77
- this.valid = !this.invalid;
78
- const { host, value, checked } = this;
79
- this.rReset.emit({ element: host, value, checked });
80
- };
81
- this.contributeToFormData = (event) => {
82
- appendControlToFormData(this.nativeElement || this.host, event.formData);
83
- };
84
- this.applyAutofocus = () => {
85
- queueMicrotask(() => {
86
- this.setFocus();
87
- });
88
- };
89
- }
90
- // Public Methods
91
- /**
92
- * Asynchronously retrieves the validity state of the checkbox.
93
- *
94
- * This method updates the internal validity state and message by calling `getValidityStateData`
95
- * with the native element, and then returns an object containing the current validity state and message.
96
- *
97
- * @returns A promise that resolves to an object containing the validity state and message.
98
- * The object has two properties:
99
- * - `state`: A string representing the validity state.
100
- * - `message`: A string containing the validity message.
101
- */
102
- async getValidityState() {
103
- const { validityState, validityMessage } = this.getValidityStateData(this.nativeElement);
104
- this.validityState = validityState;
105
- this.validityMessage = validityMessage;
106
- return {
107
- state: this.validityState,
108
- message: this.validityMessage
109
- };
110
- }
111
- /**
112
- * Sets focus on the checkbox element.
113
- */
114
- async setFocus() {
115
- var _a;
116
- (_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.focus();
117
- }
118
- /**
119
- * Removes focus from the checkbox element.
120
- */
121
- async setBlur() {
122
- var _a;
123
- (_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.blur();
124
- }
125
- /**
126
- * Checks the checkbox element.
127
- */
128
- async check() {
129
- this.checked = true;
130
- }
131
- /**
132
- * Unchecks the checkbox element.
133
- */
134
- async uncheck() {
135
- this.checked = false;
136
- }
137
- /**
138
- * Toggles the checked state of the checkbox element.
139
- */
140
- async toggleChecked() {
141
- this.touched = true;
142
- this.checked = !this.checked;
143
- }
144
- /**
145
- * Sets the indeterminate state of the checkbox element.
146
- */
147
- async setIndeterminate() {
148
- this.indeterminate = true;
149
- }
150
- /**
151
- * Sets the indeterminate state of the checkbox element.
152
- */
153
- async clearIndeterminate() {
154
- this.indeterminate = false;
155
- }
156
- /**
157
- * Validates the checkbox without triggering UI and returns a boolean indicating its validity.
158
- * @returns A boolean indicating whether the checkbox is valid.
159
- */
160
- async checkValidity() {
161
- const { validityState } = this.getValidityStateData(this.nativeElement);
162
- return validityState === 'valid';
163
- }
164
- // Watchers
165
- async handleCheckedChange() {
166
- // Only proceed if checkbox has been interacted with
167
- if (!this.touched)
168
- return;
169
- if (this.disabled)
170
- return;
171
- const { host, value, checked } = this;
172
- this.rChange.emit({ element: host, value, checked });
173
- // Update native element checked state
174
- if (this.nativeElement) {
175
- this.nativeElement.checked = checked;
176
- }
177
- // Validate if required
178
- if (this.required && !this.isNoValidate) {
179
- this.validateFormElement(this.nativeElement);
180
- }
181
- }
182
- // Getters
183
- /** Identify wrapping form element */
184
- get parentFormEl() {
185
- return this.host.closest('form') || document.querySelector(`#${this.form}`) || null;
186
- }
187
- /** Determine whether this element should be ignored during Constraint Validation API validation. */
188
- get isNoValidate() {
189
- var _a;
190
- return (((_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.hasAttribute('novalidate')) ||
191
- this.novalidate ||
192
- false);
193
- }
194
- get hasErrorMessage() {
195
- var _a;
196
- return typeof this.error === 'string' && ((_a = this.error) === null || _a === void 0 ? void 0 : _a.length) > 0;
197
- }
198
- get hasCustomErrorMessage() {
199
- var _a;
200
- return typeof this.customErrorMessage === 'string' && ((_a = this.customErrorMessage) === null || _a === void 0 ? void 0 : _a.length) > 0;
201
- }
202
- get hasValidationError() {
203
- var _a;
204
- return this.validityState !== 'valid' && ((_a = this.validityMessage) === null || _a === void 0 ? void 0 : _a.length) > 0;
205
- }
206
- get hasInvalidMessage() {
207
- if (!this.invalid)
208
- return false;
209
- return this.hasErrorMessage || this.hasCustomErrorMessage || this.hasValidationError;
210
- }
211
- connectFormEventListeners() {
212
- var _a, _b, _c;
213
- (_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.addEventListener('formdata', this.contributeToFormData);
214
- (_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', this.onSubmitForm, { capture: true });
215
- (_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.addEventListener('reset', this.onResetForm);
216
- }
217
- disconnectFormEventListeners() {
218
- var _a, _b, _c;
219
- (_a = this.parentFormEl) === null || _a === void 0 ? void 0 : _a.removeEventListener('formdata', this.contributeToFormData);
220
- (_b = this.parentFormEl) === null || _b === void 0 ? void 0 : _b.removeEventListener('submit', this.onSubmitForm);
221
- (_c = this.parentFormEl) === null || _c === void 0 ? void 0 : _c.removeEventListener('reset', this.onResetForm);
222
- }
223
- // Lifecycle methods
224
- componentWillLoad() {
225
- this.initial['checked'] = this.checked;
226
- this.initial['invalid'] = this.invalid;
227
- }
228
- componentDidLoad() {
229
- if (this.nativeElement) {
230
- this.nativeElement.indeterminate = this.indeterminate;
231
- }
232
- if (this.autofocus)
233
- this.applyAutofocus();
234
- }
235
- connectedCallback() {
236
- this.connectFormEventListeners();
237
- }
238
- disconnectedCallback() {
239
- this.disconnectFormEventListeners();
240
- }
241
- render() {
242
- const { error, name, value, disabled, required, uniqueId, checked, indeterminate, autofocus } = this;
243
- const inputAttrs = {
244
- name,
245
- value,
246
- disabled,
247
- required,
248
- checked,
249
- indeterminate,
250
- autofocus
251
- };
252
- return (h(Host, { key: '06eb235ee3c0da6317a1b23d699e4964d7201111', onClick: this.handleClick }, h("div", { key: '8fa412dae7fdde690c5fc5efb11efb12ceb30d4f', class: "r-checkbox" }, h("input", Object.assign({ key: '7a192e581b959504c01a33168a58e452434e1f11', class: "r-checkbox--input", type: "checkbox" }, inputAttrs, { id: `${uniqueId}-input`, ref: el => this.nativeElement = el, "aria-describedby": this.hasInvalidMessage ? `${uniqueId}-message` : null, "aria-required": `${this.required || false}`, "aria-invalid": `${this.invalid || false}` })), h("div", { key: 'f22d560241a1f7ac083f90677d166087a99d0647', class: "r-checkbox--box", "aria-hidden": "true" }, this.checked ?
253
- h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M8.80019 15.8988L4.6002 11.6988L3.2002 13.0988L8.80019 18.6988L20.8002 6.69883L19.4002 5.29883L8.80019 15.8988Z", fill: "currentColor" }))
254
- : this.indeterminate ?
255
- h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("rect", { x: "4", y: "11", width: "16", height: "2", fill: "currentColor" }))
256
- : null), h("div", { key: '0dd969ea2f03ea289772a3c1d59841b93248d9bd', class: "r-checkbox--description" }, h("label", { key: '5ec66dcfbabb9c8a8362e8d246cf59aa411dce78', class: "r-checkbox--label", id: `${uniqueId}-label`, htmlFor: `${uniqueId}-input` }, h("slot", { key: 'c7755df4134ed6c2d321b513f0707adb26987000' })), h("div", { key: '49dfc099a6fe5e600ea246a4511a1f83d34f2f9e', id: `${uniqueId}-message`, class: !this.hasInvalidMessage ? 'visually-hidden' : 'r-checkbox--message', "aria-live": "polite", "aria-atomic": "true" }, this.hasInvalidMessage &&
257
- h("r-hint", { key: 'ee682a67c574da004bd8208f58fcd9ab6191f3bd', variant: "error" }, error || this.customErrorMessage || this.validityMessage))))));
258
- }
259
- static get is() { return "r-checkbox"; }
260
- static get encapsulation() { return "shadow"; }
261
- static get originalStyleUrls() {
262
- return {
263
- "$": ["checkbox.css"]
264
- };
265
- }
266
- static get styleUrls() {
267
- return {
268
- "$": ["checkbox.css"]
269
- };
270
- }
271
- static get properties() {
272
- return {
273
- "form": {
274
- "type": "string",
275
- "attribute": "form",
276
- "mutable": false,
277
- "complexType": {
278
- "original": "string",
279
- "resolved": "string",
280
- "references": {}
281
- },
282
- "required": false,
283
- "optional": true,
284
- "docs": {
285
- "tags": [],
286
- "text": "Specifies the `id` of the `<form>` to which the element belongs"
287
- },
288
- "getter": false,
289
- "setter": false,
290
- "reflect": false
291
- },
292
- "novalidate": {
293
- "type": "boolean",
294
- "attribute": "novalidate",
295
- "mutable": false,
296
- "complexType": {
297
- "original": "boolean",
298
- "resolved": "boolean",
299
- "references": {}
300
- },
301
- "required": false,
302
- "optional": true,
303
- "docs": {
304
- "tags": [],
305
- "text": "Specifies if element must be ignored during validation of the form elements"
306
- },
307
- "getter": false,
308
- "setter": false,
309
- "reflect": false
310
- },
311
- "name": {
312
- "type": "string",
313
- "attribute": "name",
314
- "mutable": false,
315
- "complexType": {
316
- "original": "string",
317
- "resolved": "string",
318
- "references": {}
319
- },
320
- "required": false,
321
- "optional": true,
322
- "docs": {
323
- "tags": [],
324
- "text": "Name of element (data) within a form"
325
- },
326
- "getter": false,
327
- "setter": false,
328
- "reflect": true
329
- },
330
- "value": {
331
- "type": "string",
332
- "attribute": "value",
333
- "mutable": false,
334
- "complexType": {
335
- "original": "string",
336
- "resolved": "string",
337
- "references": {}
338
- },
339
- "required": false,
340
- "optional": true,
341
- "docs": {
342
- "tags": [],
343
- "text": "Value of element data within a form"
344
- },
345
- "getter": false,
346
- "setter": false,
347
- "reflect": true
348
- },
349
- "checked": {
350
- "type": "boolean",
351
- "attribute": "checked",
352
- "mutable": true,
353
- "complexType": {
354
- "original": "boolean",
355
- "resolved": "boolean",
356
- "references": {}
357
- },
358
- "required": false,
359
- "optional": true,
360
- "docs": {
361
- "tags": [],
362
- "text": "Pass initial checked state"
363
- },
364
- "getter": false,
365
- "setter": false,
366
- "reflect": true
367
- },
368
- "indeterminate": {
369
- "type": "boolean",
370
- "attribute": "indeterminate",
371
- "mutable": true,
372
- "complexType": {
373
- "original": "boolean",
374
- "resolved": "boolean",
375
- "references": {}
376
- },
377
- "required": false,
378
- "optional": true,
379
- "docs": {
380
- "tags": [],
381
- "text": "Visually present checkbox in indeterminate state (neither checked nor unchecked)"
382
- },
383
- "getter": false,
384
- "setter": false,
385
- "reflect": true
386
- },
387
- "disabled": {
388
- "type": "boolean",
389
- "attribute": "disabled",
390
- "mutable": false,
391
- "complexType": {
392
- "original": "boolean",
393
- "resolved": "boolean",
394
- "references": {}
395
- },
396
- "required": false,
397
- "optional": true,
398
- "docs": {
399
- "tags": [],
400
- "text": "Prevent user interaction and apply disabled style"
401
- },
402
- "getter": false,
403
- "setter": false,
404
- "reflect": true
405
- },
406
- "autofocus": {
407
- "type": "boolean",
408
- "attribute": "autofocus",
409
- "mutable": false,
410
- "complexType": {
411
- "original": "boolean",
412
- "resolved": "boolean",
413
- "references": {}
414
- },
415
- "required": false,
416
- "optional": true,
417
- "docs": {
418
- "tags": [],
419
- "text": "Automatically focus the checkbox when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior."
420
- },
421
- "getter": false,
422
- "setter": false,
423
- "reflect": false,
424
- "defaultValue": "false"
425
- },
426
- "valid": {
427
- "type": "boolean",
428
- "attribute": "valid",
429
- "mutable": true,
430
- "complexType": {
431
- "original": "boolean",
432
- "resolved": "boolean",
433
- "references": {}
434
- },
435
- "required": false,
436
- "optional": true,
437
- "docs": {
438
- "tags": [],
439
- "text": "Indicate that validation is successful"
440
- },
441
- "getter": false,
442
- "setter": false,
443
- "reflect": true
444
- },
445
- "invalid": {
446
- "type": "boolean",
447
- "attribute": "invalid",
448
- "mutable": true,
449
- "complexType": {
450
- "original": "boolean",
451
- "resolved": "boolean",
452
- "references": {}
453
- },
454
- "required": false,
455
- "optional": true,
456
- "docs": {
457
- "tags": [],
458
- "text": "Indicate that validation has failed"
459
- },
460
- "getter": false,
461
- "setter": false,
462
- "reflect": true
463
- },
464
- "error": {
465
- "type": "string",
466
- "attribute": "error",
467
- "mutable": false,
468
- "complexType": {
469
- "original": "string",
470
- "resolved": "string",
471
- "references": {}
472
- },
473
- "required": false,
474
- "optional": true,
475
- "docs": {
476
- "tags": [],
477
- "text": "Custom validation error message"
478
- },
479
- "getter": false,
480
- "setter": false,
481
- "reflect": false
482
- },
483
- "required": {
484
- "type": "boolean",
485
- "attribute": "required",
486
- "mutable": false,
487
- "complexType": {
488
- "original": "boolean",
489
- "resolved": "boolean",
490
- "references": {}
491
- },
492
- "required": false,
493
- "optional": true,
494
- "docs": {
495
- "tags": [],
496
- "text": "Specifies if checkbox must be checked"
497
- },
498
- "getter": false,
499
- "setter": false,
500
- "reflect": true
501
- },
502
- "valueMissingMessage": {
503
- "type": "string",
504
- "attribute": "value-missing-message",
505
- "mutable": false,
506
- "complexType": {
507
- "original": "string",
508
- "resolved": "string",
509
- "references": {}
510
- },
511
- "required": false,
512
- "optional": true,
513
- "docs": {
514
- "tags": [],
515
- "text": "Set custom message for `valueMissing` property of a ValidityState object (set by `required`) within Constrain Validation API"
516
- },
517
- "getter": false,
518
- "setter": false,
519
- "reflect": false
520
- },
521
- "customErrorMessage": {
522
- "type": "string",
523
- "attribute": "custom-error-message",
524
- "mutable": false,
525
- "complexType": {
526
- "original": "string",
527
- "resolved": "string",
528
- "references": {}
529
- },
530
- "required": false,
531
- "optional": true,
532
- "docs": {
533
- "tags": [],
534
- "text": "Set custom message for `customError` property of a ValidityState object indicating whether the element's custom validity message has been set to a non-empty string by calling the element's setCustomValidity() method."
535
- },
536
- "getter": false,
537
- "setter": false,
538
- "reflect": false
539
- }
540
- };
541
- }
542
- static get states() {
543
- return {
544
- "validityState": {},
545
- "validityMessage": {},
546
- "touched": {}
547
- };
548
- }
549
- static get events() {
550
- return [{
551
- "method": "rChange",
552
- "name": "rChange",
553
- "bubbles": true,
554
- "cancelable": true,
555
- "composed": true,
556
- "docs": {
557
- "tags": [],
558
- "text": "Emit custom `rChange` event when checkbox onChange event emitted.\nEmitted `event.details` contain checkbox value and checked state."
559
- },
560
- "complexType": {
561
- "original": "{\n element: HTMLRCheckboxElement,\n value: any,\n checked: boolean\n }",
562
- "resolved": "{ element: HTMLRCheckboxElement; value: any; checked: boolean; }",
563
- "references": {
564
- "HTMLRCheckboxElement": {
565
- "location": "global",
566
- "id": "global::HTMLRCheckboxElement"
567
- }
568
- }
569
- }
570
- }, {
571
- "method": "rReset",
572
- "name": "rReset",
573
- "bubbles": true,
574
- "cancelable": true,
575
- "composed": true,
576
- "docs": {
577
- "tags": [],
578
- "text": "Emits `rReset` when component was reset to initial state by form reset"
579
- },
580
- "complexType": {
581
- "original": "{\n element: HTMLRCheckboxElement,\n value: any,\n checked: boolean\n }",
582
- "resolved": "{ element: HTMLRCheckboxElement; value: any; checked: boolean; }",
583
- "references": {
584
- "HTMLRCheckboxElement": {
585
- "location": "global",
586
- "id": "global::HTMLRCheckboxElement"
587
- }
588
- }
589
- }
590
- }, {
591
- "method": "rValidate",
592
- "name": "rValidate",
593
- "bubbles": true,
594
- "cancelable": true,
595
- "composed": true,
596
- "docs": {
597
- "tags": [],
598
- "text": "Emits event after each validation"
599
- },
600
- "complexType": {
601
- "original": "{\n state: string,\n message: string\n }",
602
- "resolved": "{ state: string; message: string; }",
603
- "references": {}
604
- }
605
- }];
606
- }
607
- static get methods() {
608
- return {
609
- "getValidityState": {
610
- "complexType": {
611
- "signature": "() => Promise<{ state: string; message: string; }>",
612
- "parameters": [],
613
- "references": {
614
- "Promise": {
615
- "location": "global",
616
- "id": "global::Promise"
617
- }
618
- },
619
- "return": "Promise<{ state: string; message: string; }>"
620
- },
621
- "docs": {
622
- "text": "Asynchronously retrieves the validity state of the checkbox.\n\nThis method updates the internal validity state and message by calling `getValidityStateData`\nwith the native element, and then returns an object containing the current validity state and message.",
623
- "tags": [{
624
- "name": "returns",
625
- "text": "A promise that resolves to an object containing the validity state and message.\nThe object has two properties:\n- `state`: A string representing the validity state.\n- `message`: A string containing the validity message."
626
- }]
627
- }
628
- },
629
- "setFocus": {
630
- "complexType": {
631
- "signature": "() => Promise<void>",
632
- "parameters": [],
633
- "references": {
634
- "Promise": {
635
- "location": "global",
636
- "id": "global::Promise"
637
- }
638
- },
639
- "return": "Promise<void>"
640
- },
641
- "docs": {
642
- "text": "Sets focus on the checkbox element.",
643
- "tags": []
644
- }
645
- },
646
- "setBlur": {
647
- "complexType": {
648
- "signature": "() => Promise<void>",
649
- "parameters": [],
650
- "references": {
651
- "Promise": {
652
- "location": "global",
653
- "id": "global::Promise"
654
- }
655
- },
656
- "return": "Promise<void>"
657
- },
658
- "docs": {
659
- "text": "Removes focus from the checkbox element.",
660
- "tags": []
661
- }
662
- },
663
- "check": {
664
- "complexType": {
665
- "signature": "() => Promise<void>",
666
- "parameters": [],
667
- "references": {
668
- "Promise": {
669
- "location": "global",
670
- "id": "global::Promise"
671
- }
672
- },
673
- "return": "Promise<void>"
674
- },
675
- "docs": {
676
- "text": "Checks the checkbox element.",
677
- "tags": []
678
- }
679
- },
680
- "uncheck": {
681
- "complexType": {
682
- "signature": "() => Promise<void>",
683
- "parameters": [],
684
- "references": {
685
- "Promise": {
686
- "location": "global",
687
- "id": "global::Promise"
688
- }
689
- },
690
- "return": "Promise<void>"
691
- },
692
- "docs": {
693
- "text": "Unchecks the checkbox element.",
694
- "tags": []
695
- }
696
- },
697
- "toggleChecked": {
698
- "complexType": {
699
- "signature": "() => Promise<void>",
700
- "parameters": [],
701
- "references": {
702
- "Promise": {
703
- "location": "global",
704
- "id": "global::Promise"
705
- }
706
- },
707
- "return": "Promise<void>"
708
- },
709
- "docs": {
710
- "text": "Toggles the checked state of the checkbox element.",
711
- "tags": []
712
- }
713
- },
714
- "setIndeterminate": {
715
- "complexType": {
716
- "signature": "() => Promise<void>",
717
- "parameters": [],
718
- "references": {
719
- "Promise": {
720
- "location": "global",
721
- "id": "global::Promise"
722
- }
723
- },
724
- "return": "Promise<void>"
725
- },
726
- "docs": {
727
- "text": "Sets the indeterminate state of the checkbox element.",
728
- "tags": []
729
- }
730
- },
731
- "clearIndeterminate": {
732
- "complexType": {
733
- "signature": "() => Promise<void>",
734
- "parameters": [],
735
- "references": {
736
- "Promise": {
737
- "location": "global",
738
- "id": "global::Promise"
739
- }
740
- },
741
- "return": "Promise<void>"
742
- },
743
- "docs": {
744
- "text": "Sets the indeterminate state of the checkbox element.",
745
- "tags": []
746
- }
747
- },
748
- "checkValidity": {
749
- "complexType": {
750
- "signature": "() => Promise<boolean>",
751
- "parameters": [],
752
- "references": {
753
- "Promise": {
754
- "location": "global",
755
- "id": "global::Promise"
756
- }
757
- },
758
- "return": "Promise<boolean>"
759
- },
760
- "docs": {
761
- "text": "Validates the checkbox without triggering UI and returns a boolean indicating its validity.",
762
- "tags": [{
763
- "name": "returns",
764
- "text": "A boolean indicating whether the checkbox is valid."
765
- }]
766
- }
767
- }
768
- };
769
- }
770
- static get elementRef() { return "host"; }
771
- static get watchers() {
772
- return [{
773
- "propName": "checked",
774
- "methodName": "handleCheckedChange"
775
- }];
776
- }
777
- }