@db-ux/wc-core-components 2.0.0-0-custom-select-16b8cce → 2.0.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 (483) hide show
  1. package/dist/cjs/db-accordion-item.cjs.entry.js +42 -8
  2. package/dist/cjs/db-accordion-item.cjs.entry.js.map +1 -1
  3. package/dist/cjs/db-accordion-item.entry.cjs.js.map +1 -1
  4. package/dist/cjs/db-accordion.cjs.entry.js +12 -12
  5. package/dist/cjs/db-accordion.cjs.entry.js.map +1 -1
  6. package/dist/cjs/db-accordion.entry.cjs.js.map +1 -1
  7. package/dist/cjs/db-badge.cjs.entry.js +3 -3
  8. package/dist/cjs/db-badge.cjs.entry.js.map +1 -1
  9. package/dist/cjs/db-badge.entry.cjs.js.map +1 -1
  10. package/dist/cjs/db-brand.cjs.entry.js +3 -3
  11. package/dist/cjs/db-brand.cjs.entry.js.map +1 -1
  12. package/dist/cjs/db-brand.entry.cjs.js.map +1 -1
  13. package/dist/cjs/db-button.cjs.entry.js +7 -7
  14. package/dist/cjs/db-button.cjs.entry.js.map +1 -1
  15. package/dist/cjs/db-button.entry.cjs.js.map +1 -1
  16. package/dist/cjs/db-card.cjs.entry.js +7 -7
  17. package/dist/cjs/db-card.cjs.entry.js.map +1 -1
  18. package/dist/cjs/db-card.entry.cjs.js.map +1 -1
  19. package/dist/cjs/db-checkbox.cjs.entry.js +59 -44
  20. package/dist/cjs/db-checkbox.cjs.entry.js.map +1 -1
  21. package/dist/cjs/db-checkbox.entry.cjs.js.map +1 -1
  22. package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.db-tooltip.entry.cjs.js.map +1 -1
  23. package/dist/cjs/db-custom-select-dropdown_6.cjs.entry.js +78 -64
  24. package/dist/cjs/db-custom-select-dropdown_6.cjs.entry.js.map +1 -1
  25. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +4 -4
  26. package/dist/cjs/db-custom-select-form-field.cjs.entry.js.map +1 -1
  27. package/dist/cjs/db-custom-select-form-field.entry.cjs.js.map +1 -1
  28. package/dist/cjs/db-custom-select.cjs.entry.js +203 -189
  29. package/dist/cjs/db-custom-select.cjs.entry.js.map +1 -1
  30. package/dist/cjs/db-custom-select.entry.cjs.js.map +1 -1
  31. package/dist/cjs/db-divider.cjs.entry.js +3 -3
  32. package/dist/cjs/db-divider.cjs.entry.js.map +1 -1
  33. package/dist/cjs/db-divider.entry.cjs.js.map +1 -1
  34. package/dist/cjs/db-drawer.cjs.entry.js +8 -9
  35. package/dist/cjs/db-drawer.cjs.entry.js.map +1 -1
  36. package/dist/cjs/db-drawer.entry.cjs.js.map +1 -1
  37. package/dist/cjs/db-header.cjs.entry.js +13 -11
  38. package/dist/cjs/db-header.cjs.entry.js.map +1 -1
  39. package/dist/cjs/db-header.entry.cjs.js.map +1 -1
  40. package/dist/cjs/db-icon.cjs.entry.js +3 -3
  41. package/dist/cjs/db-icon.cjs.entry.js.map +1 -1
  42. package/dist/cjs/db-icon.entry.cjs.js.map +1 -1
  43. package/dist/cjs/db-infotext.cjs.entry.js +3 -3
  44. package/dist/cjs/db-infotext.cjs.entry.js.map +1 -1
  45. package/dist/cjs/db-infotext.entry.cjs.js.map +1 -1
  46. package/dist/cjs/db-link.cjs.entry.js +7 -7
  47. package/dist/cjs/db-link.cjs.entry.js.map +1 -1
  48. package/dist/cjs/db-link.entry.cjs.js.map +1 -1
  49. package/dist/cjs/db-navigation-item.cjs.entry.js +26 -28
  50. package/dist/cjs/db-navigation-item.cjs.entry.js.map +1 -1
  51. package/dist/cjs/db-navigation-item.entry.cjs.js.map +1 -1
  52. package/dist/cjs/db-navigation.cjs.entry.js +4 -4
  53. package/dist/cjs/db-navigation.cjs.entry.js.map +1 -1
  54. package/dist/cjs/db-navigation.entry.cjs.js.map +1 -1
  55. package/dist/cjs/db-notification.cjs.entry.js +7 -7
  56. package/dist/cjs/db-notification.cjs.entry.js.map +1 -1
  57. package/dist/cjs/db-notification.entry.cjs.js.map +1 -1
  58. package/dist/cjs/db-page.cjs.entry.js +4 -4
  59. package/dist/cjs/db-page.cjs.entry.js.map +1 -1
  60. package/dist/cjs/db-page.entry.cjs.js.map +1 -1
  61. package/dist/cjs/db-popover.cjs.entry.js +4 -4
  62. package/dist/cjs/db-popover.cjs.entry.js.map +1 -1
  63. package/dist/cjs/db-popover.entry.cjs.js.map +1 -1
  64. package/dist/cjs/db-radio.cjs.entry.js +10 -19
  65. package/dist/cjs/db-radio.cjs.entry.js.map +1 -1
  66. package/dist/cjs/db-radio.entry.cjs.js.map +1 -1
  67. package/dist/cjs/db-section.cjs.entry.js +4 -4
  68. package/dist/cjs/db-section.cjs.entry.js.map +1 -1
  69. package/dist/cjs/db-section.entry.cjs.js.map +1 -1
  70. package/dist/cjs/db-select.cjs.entry.js +70 -57
  71. package/dist/cjs/db-select.cjs.entry.js.map +1 -1
  72. package/dist/cjs/db-select.entry.cjs.js.map +1 -1
  73. package/dist/cjs/db-stack.cjs.entry.js +4 -4
  74. package/dist/cjs/db-stack.cjs.entry.js.map +1 -1
  75. package/dist/cjs/db-stack.entry.cjs.js.map +1 -1
  76. package/dist/cjs/db-switch.cjs.entry.js +11 -20
  77. package/dist/cjs/db-switch.cjs.entry.js.map +1 -1
  78. package/dist/cjs/db-switch.entry.cjs.js.map +1 -1
  79. package/dist/cjs/db-tab-item.db-tab-list.db-tab-panel.entry.cjs.js.map +1 -1
  80. package/dist/cjs/db-tab-item_3.cjs.entry.js +38 -17
  81. package/dist/cjs/db-tab-item_3.cjs.entry.js.map +1 -1
  82. package/dist/cjs/db-tabs.cjs.entry.js +24 -23
  83. package/dist/cjs/db-tabs.cjs.entry.js.map +1 -1
  84. package/dist/cjs/db-tabs.entry.cjs.js.map +1 -1
  85. package/dist/cjs/db-textarea.cjs.entry.js +60 -45
  86. package/dist/cjs/db-textarea.cjs.entry.js.map +1 -1
  87. package/dist/cjs/db-textarea.entry.cjs.js.map +1 -1
  88. package/dist/cjs/db-ux.cjs.js +3 -3
  89. package/dist/cjs/db-ux.cjs.js.map +1 -1
  90. package/dist/cjs/document-click-listener-CrbHspH2.js +37 -0
  91. package/dist/cjs/document-click-listener-CrbHspH2.js.map +1 -0
  92. package/dist/cjs/{index-DeqKGVDx.js → index-9h8KqOUd.js} +25 -7
  93. package/dist/cjs/index-9h8KqOUd.js.map +1 -0
  94. package/dist/cjs/{index-DBEtsnky.js → index-w2CAlvjJ.js} +6 -5
  95. package/dist/cjs/index-w2CAlvjJ.js.map +1 -0
  96. package/dist/cjs/index.cjs.js +6 -5
  97. package/dist/cjs/index.cjs.js.map +1 -1
  98. package/dist/cjs/loader.cjs.js +2 -2
  99. package/dist/cjs/{navigation-Cfm1OFWB.js → navigation-DjZJIxIq.js} +3 -3
  100. package/dist/cjs/{navigation-Cfm1OFWB.js.map → navigation-DjZJIxIq.js.map} +1 -1
  101. package/dist/collection/collection-manifest.json +1 -1
  102. package/dist/collection/components/accordion/accordion.js +26 -25
  103. package/dist/collection/components/accordion/accordion.js.map +1 -1
  104. package/dist/collection/components/accordion/model.js.map +1 -1
  105. package/dist/collection/components/accordion-item/accordion-item.js +87 -17
  106. package/dist/collection/components/accordion-item/accordion-item.js.map +1 -1
  107. package/dist/collection/components/accordion-item/model.js.map +1 -1
  108. package/dist/collection/components/badge/badge.js +10 -10
  109. package/dist/collection/components/badge/badge.js.map +1 -1
  110. package/dist/collection/components/badge/model.js.map +1 -1
  111. package/dist/collection/components/brand/brand.js +9 -9
  112. package/dist/collection/components/brand/brand.js.map +1 -1
  113. package/dist/collection/components/button/button.js +57 -32
  114. package/dist/collection/components/button/button.js.map +1 -1
  115. package/dist/collection/components/button/model.js.map +1 -1
  116. package/dist/collection/components/card/card.js +12 -12
  117. package/dist/collection/components/card/card.js.map +1 -1
  118. package/dist/collection/components/checkbox/checkbox.js +118 -166
  119. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  120. package/dist/collection/components/checkbox/model.js.map +1 -1
  121. package/dist/collection/components/custom-select/custom-select.js +340 -335
  122. package/dist/collection/components/custom-select/custom-select.js.map +1 -1
  123. package/dist/collection/components/custom-select/model.js.map +1 -1
  124. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +5 -5
  125. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js.map +1 -1
  126. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +4 -4
  127. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js.map +1 -1
  128. package/dist/collection/components/custom-select-list/custom-select-list.js +6 -6
  129. package/dist/collection/components/custom-select-list/custom-select-list.js.map +1 -1
  130. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -52
  131. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js.map +1 -1
  132. package/dist/collection/components/divider/divider.js +7 -7
  133. package/dist/collection/components/divider/divider.js.map +1 -1
  134. package/dist/collection/components/drawer/drawer.js +23 -24
  135. package/dist/collection/components/drawer/drawer.js.map +1 -1
  136. package/dist/collection/components/drawer/model.js.map +1 -1
  137. package/dist/collection/components/header/header.js +22 -20
  138. package/dist/collection/components/header/header.js.map +1 -1
  139. package/dist/collection/components/header/model.js.map +1 -1
  140. package/dist/collection/components/icon/icon.js +7 -7
  141. package/dist/collection/components/icon/icon.js.map +1 -1
  142. package/dist/collection/components/infotext/infotext.js +10 -10
  143. package/dist/collection/components/infotext/infotext.js.map +1 -1
  144. package/dist/collection/components/input/input.js +218 -213
  145. package/dist/collection/components/input/input.js.map +1 -1
  146. package/dist/collection/components/input/model.js.map +1 -1
  147. package/dist/collection/components/link/link.js +29 -29
  148. package/dist/collection/components/link/link.js.map +1 -1
  149. package/dist/collection/components/navigation/navigation.js +5 -5
  150. package/dist/collection/components/navigation/navigation.js.map +1 -1
  151. package/dist/collection/components/navigation-item/model.js.map +1 -1
  152. package/dist/collection/components/navigation-item/navigation-item.js +43 -43
  153. package/dist/collection/components/navigation-item/navigation-item.js.map +1 -1
  154. package/dist/collection/components/notification/model.js.map +1 -1
  155. package/dist/collection/components/notification/notification.js +32 -32
  156. package/dist/collection/components/notification/notification.js.map +1 -1
  157. package/dist/collection/components/page/model.js.map +1 -1
  158. package/dist/collection/components/page/page.js +10 -10
  159. package/dist/collection/components/page/page.js.map +1 -1
  160. package/dist/collection/components/popover/model.js.map +1 -1
  161. package/dist/collection/components/popover/popover.js +17 -17
  162. package/dist/collection/components/popover/popover.js.map +1 -1
  163. package/dist/collection/components/radio/radio.js +32 -110
  164. package/dist/collection/components/radio/radio.js.map +1 -1
  165. package/dist/collection/components/section/section.js +6 -6
  166. package/dist/collection/components/section/section.js.map +1 -1
  167. package/dist/collection/components/select/model.js.map +1 -1
  168. package/dist/collection/components/select/select.js +130 -203
  169. package/dist/collection/components/select/select.js.map +1 -1
  170. package/dist/collection/components/stack/model.js.map +1 -1
  171. package/dist/collection/components/stack/stack.js +12 -12
  172. package/dist/collection/components/stack/stack.js.map +1 -1
  173. package/dist/collection/components/switch/model.js.map +1 -1
  174. package/dist/collection/components/switch/switch.js +39 -117
  175. package/dist/collection/components/switch/switch.js.map +1 -1
  176. package/dist/collection/components/tab-item/model.js.map +1 -1
  177. package/dist/collection/components/tab-item/tab-item.js +66 -40
  178. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  179. package/dist/collection/components/tab-list/tab-list.js +4 -4
  180. package/dist/collection/components/tab-list/tab-list.js.map +1 -1
  181. package/dist/collection/components/tab-panel/tab-panel.js +6 -6
  182. package/dist/collection/components/tab-panel/tab-panel.js.map +1 -1
  183. package/dist/collection/components/tabs/model.js.map +1 -1
  184. package/dist/collection/components/tabs/tabs.js +63 -62
  185. package/dist/collection/components/tabs/tabs.js.map +1 -1
  186. package/dist/collection/components/tag/model.js.map +1 -1
  187. package/dist/collection/components/tag/tag.js +27 -27
  188. package/dist/collection/components/tag/tag.js.map +1 -1
  189. package/dist/collection/components/textarea/model.js.map +1 -1
  190. package/dist/collection/components/textarea/textarea.js +171 -168
  191. package/dist/collection/components/textarea/textarea.js.map +1 -1
  192. package/dist/collection/components/tooltip/model.js.map +1 -1
  193. package/dist/collection/components/tooltip/tooltip.js +14 -14
  194. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  195. package/dist/collection/shared/model.js +0 -1
  196. package/dist/collection/shared/model.js.map +1 -1
  197. package/dist/collection/utils/document-click-listener.js +30 -0
  198. package/dist/collection/utils/document-click-listener.js.map +1 -0
  199. package/dist/collection/utils/index.js +21 -21
  200. package/dist/collection/utils/index.js.map +1 -1
  201. package/dist/custom-elements.json +2629 -1698
  202. package/dist/db-ux/db-accordion-item.entry.esm.js.map +1 -1
  203. package/dist/db-ux/db-accordion.entry.esm.js.map +1 -1
  204. package/dist/db-ux/db-badge.entry.esm.js.map +1 -1
  205. package/dist/db-ux/db-brand.entry.esm.js.map +1 -1
  206. package/dist/db-ux/db-button.entry.esm.js.map +1 -1
  207. package/dist/db-ux/db-card.entry.esm.js.map +1 -1
  208. package/dist/db-ux/db-checkbox.entry.esm.js.map +1 -1
  209. package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.db-tooltip.entry.esm.js.map +1 -1
  210. package/dist/db-ux/db-custom-select-form-field.entry.esm.js.map +1 -1
  211. package/dist/db-ux/db-custom-select.entry.esm.js.map +1 -1
  212. package/dist/db-ux/db-divider.entry.esm.js.map +1 -1
  213. package/dist/db-ux/db-drawer.entry.esm.js.map +1 -1
  214. package/dist/db-ux/db-header.entry.esm.js.map +1 -1
  215. package/dist/db-ux/db-icon.entry.esm.js.map +1 -1
  216. package/dist/db-ux/db-infotext.entry.esm.js.map +1 -1
  217. package/dist/db-ux/db-link.entry.esm.js.map +1 -1
  218. package/dist/db-ux/db-navigation-item.entry.esm.js.map +1 -1
  219. package/dist/db-ux/db-navigation.entry.esm.js.map +1 -1
  220. package/dist/db-ux/db-notification.entry.esm.js.map +1 -1
  221. package/dist/db-ux/db-page.entry.esm.js.map +1 -1
  222. package/dist/db-ux/db-popover.entry.esm.js.map +1 -1
  223. package/dist/db-ux/db-radio.entry.esm.js.map +1 -1
  224. package/dist/db-ux/db-section.entry.esm.js.map +1 -1
  225. package/dist/db-ux/db-select.entry.esm.js.map +1 -1
  226. package/dist/db-ux/db-stack.entry.esm.js.map +1 -1
  227. package/dist/db-ux/db-switch.entry.esm.js.map +1 -1
  228. package/dist/db-ux/db-tab-item.db-tab-list.db-tab-panel.entry.esm.js.map +1 -1
  229. package/dist/db-ux/db-tabs.entry.esm.js.map +1 -1
  230. package/dist/db-ux/db-textarea.entry.esm.js.map +1 -1
  231. package/dist/db-ux/db-ux.esm.js +1 -1
  232. package/dist/db-ux/db-ux.esm.js.map +1 -1
  233. package/dist/db-ux/index.esm.js +1 -1
  234. package/dist/db-ux/index.esm.js.map +1 -1
  235. package/dist/db-ux/p-0c1b4216.entry.js +2 -0
  236. package/dist/db-ux/p-0c1b4216.entry.js.map +1 -0
  237. package/dist/db-ux/p-19ebdb92.entry.js +2 -0
  238. package/dist/db-ux/p-19ebdb92.entry.js.map +1 -0
  239. package/dist/db-ux/p-20f2efec.entry.js +2 -0
  240. package/dist/db-ux/p-20f2efec.entry.js.map +1 -0
  241. package/dist/db-ux/p-2ea85ed3.entry.js +2 -0
  242. package/dist/db-ux/p-2ea85ed3.entry.js.map +1 -0
  243. package/dist/db-ux/p-3d9cfe8d.entry.js +2 -0
  244. package/dist/db-ux/p-3d9cfe8d.entry.js.map +1 -0
  245. package/dist/db-ux/p-56fa0857.entry.js +2 -0
  246. package/dist/db-ux/p-56fa0857.entry.js.map +1 -0
  247. package/dist/db-ux/p-6f9de31b.entry.js +2 -0
  248. package/dist/db-ux/p-6f9de31b.entry.js.map +1 -0
  249. package/dist/db-ux/p-797ccaa9.entry.js +2 -0
  250. package/dist/db-ux/p-797ccaa9.entry.js.map +1 -0
  251. package/dist/db-ux/{p-0b9779be.entry.js → p-7bc56311.entry.js} +2 -2
  252. package/dist/db-ux/p-7bc56311.entry.js.map +1 -0
  253. package/dist/db-ux/p-828bb611.entry.js +2 -0
  254. package/dist/db-ux/p-828bb611.entry.js.map +1 -0
  255. package/dist/db-ux/{p-d10ee6dc.entry.js → p-84136093.entry.js} +2 -2
  256. package/dist/db-ux/p-84136093.entry.js.map +1 -0
  257. package/dist/db-ux/p-861c92ee.entry.js +2 -0
  258. package/dist/db-ux/p-861c92ee.entry.js.map +1 -0
  259. package/dist/db-ux/{p-0414dab3.entry.js → p-924110bd.entry.js} +2 -2
  260. package/dist/db-ux/p-924110bd.entry.js.map +1 -0
  261. package/dist/db-ux/p-96a0c7de.entry.js +2 -0
  262. package/dist/db-ux/p-96a0c7de.entry.js.map +1 -0
  263. package/dist/db-ux/p-B_W_wePN.js +2 -0
  264. package/dist/db-ux/p-B_W_wePN.js.map +1 -0
  265. package/dist/db-ux/p-BkYjDIed.js +3 -0
  266. package/dist/db-ux/p-BkYjDIed.js.map +1 -0
  267. package/dist/db-ux/{p-VkX3SW7K.js → p-Duz60W3r.js} +2 -2
  268. package/dist/db-ux/{p-VkX3SW7K.js.map → p-Duz60W3r.js.map} +1 -1
  269. package/dist/db-ux/p-TU0pfK1i.js +2 -0
  270. package/dist/db-ux/p-TU0pfK1i.js.map +1 -0
  271. package/dist/db-ux/p-a20f9b38.entry.js +2 -0
  272. package/dist/db-ux/p-a20f9b38.entry.js.map +1 -0
  273. package/dist/db-ux/{p-9a3c9ffe.entry.js → p-aad2b065.entry.js} +2 -2
  274. package/dist/db-ux/p-aad2b065.entry.js.map +1 -0
  275. package/dist/db-ux/p-abc1afa7.entry.js +2 -0
  276. package/dist/db-ux/p-abc1afa7.entry.js.map +1 -0
  277. package/dist/db-ux/p-b074eb7f.entry.js +2 -0
  278. package/dist/db-ux/p-b074eb7f.entry.js.map +1 -0
  279. package/dist/db-ux/p-b6821ac2.entry.js +2 -0
  280. package/dist/db-ux/p-b6821ac2.entry.js.map +1 -0
  281. package/dist/db-ux/p-b7cd9e31.entry.js +2 -0
  282. package/dist/db-ux/p-b7cd9e31.entry.js.map +1 -0
  283. package/dist/db-ux/p-b92bbd61.entry.js +2 -0
  284. package/dist/db-ux/p-b92bbd61.entry.js.map +1 -0
  285. package/dist/db-ux/p-bcb3d891.entry.js +2 -0
  286. package/dist/db-ux/p-bcb3d891.entry.js.map +1 -0
  287. package/dist/db-ux/{p-65983b83.entry.js → p-be35b5b4.entry.js} +2 -2
  288. package/dist/db-ux/p-be35b5b4.entry.js.map +1 -0
  289. package/dist/db-ux/p-d60822ce.entry.js +2 -0
  290. package/dist/db-ux/p-d60822ce.entry.js.map +1 -0
  291. package/dist/db-ux/p-dc71d000.entry.js +2 -0
  292. package/dist/db-ux/p-dc71d000.entry.js.map +1 -0
  293. package/dist/db-ux/p-e397a44c.entry.js +2 -0
  294. package/dist/db-ux/p-e397a44c.entry.js.map +1 -0
  295. package/dist/db-ux/p-e4f73b24.entry.js +2 -0
  296. package/dist/db-ux/p-e4f73b24.entry.js.map +1 -0
  297. package/dist/db-ux/p-e72a0bfe.entry.js +2 -0
  298. package/dist/db-ux/p-e72a0bfe.entry.js.map +1 -0
  299. package/dist/db-ux/p-fba19a3f.entry.js +2 -0
  300. package/dist/db-ux/p-fba19a3f.entry.js.map +1 -0
  301. package/dist/esm/db-accordion-item.entry.js +42 -8
  302. package/dist/esm/db-accordion-item.entry.js.map +1 -1
  303. package/dist/esm/db-accordion.entry.js +12 -12
  304. package/dist/esm/db-accordion.entry.js.map +1 -1
  305. package/dist/esm/db-badge.entry.js +3 -3
  306. package/dist/esm/db-badge.entry.js.map +1 -1
  307. package/dist/esm/db-brand.entry.js +3 -3
  308. package/dist/esm/db-brand.entry.js.map +1 -1
  309. package/dist/esm/db-button.entry.js +7 -7
  310. package/dist/esm/db-button.entry.js.map +1 -1
  311. package/dist/esm/db-card.entry.js +7 -7
  312. package/dist/esm/db-card.entry.js.map +1 -1
  313. package/dist/esm/db-checkbox.entry.js +60 -45
  314. package/dist/esm/db-checkbox.entry.js.map +1 -1
  315. package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.db-tooltip.entry.js.map +1 -1
  316. package/dist/esm/db-custom-select-dropdown_6.entry.js +79 -65
  317. package/dist/esm/db-custom-select-dropdown_6.entry.js.map +1 -1
  318. package/dist/esm/db-custom-select-form-field.entry.js +4 -4
  319. package/dist/esm/db-custom-select-form-field.entry.js.map +1 -1
  320. package/dist/esm/db-custom-select.entry.js +204 -190
  321. package/dist/esm/db-custom-select.entry.js.map +1 -1
  322. package/dist/esm/db-divider.entry.js +3 -3
  323. package/dist/esm/db-divider.entry.js.map +1 -1
  324. package/dist/esm/db-drawer.entry.js +8 -9
  325. package/dist/esm/db-drawer.entry.js.map +1 -1
  326. package/dist/esm/db-header.entry.js +13 -11
  327. package/dist/esm/db-header.entry.js.map +1 -1
  328. package/dist/esm/db-icon.entry.js +3 -3
  329. package/dist/esm/db-icon.entry.js.map +1 -1
  330. package/dist/esm/db-infotext.entry.js +3 -3
  331. package/dist/esm/db-infotext.entry.js.map +1 -1
  332. package/dist/esm/db-link.entry.js +7 -7
  333. package/dist/esm/db-link.entry.js.map +1 -1
  334. package/dist/esm/db-navigation-item.entry.js +26 -28
  335. package/dist/esm/db-navigation-item.entry.js.map +1 -1
  336. package/dist/esm/db-navigation.entry.js +4 -4
  337. package/dist/esm/db-navigation.entry.js.map +1 -1
  338. package/dist/esm/db-notification.entry.js +7 -7
  339. package/dist/esm/db-notification.entry.js.map +1 -1
  340. package/dist/esm/db-page.entry.js +4 -4
  341. package/dist/esm/db-page.entry.js.map +1 -1
  342. package/dist/esm/db-popover.entry.js +4 -4
  343. package/dist/esm/db-popover.entry.js.map +1 -1
  344. package/dist/esm/db-radio.entry.js +10 -19
  345. package/dist/esm/db-radio.entry.js.map +1 -1
  346. package/dist/esm/db-section.entry.js +4 -4
  347. package/dist/esm/db-section.entry.js.map +1 -1
  348. package/dist/esm/db-select.entry.js +71 -58
  349. package/dist/esm/db-select.entry.js.map +1 -1
  350. package/dist/esm/db-stack.entry.js +4 -4
  351. package/dist/esm/db-stack.entry.js.map +1 -1
  352. package/dist/esm/db-switch.entry.js +11 -20
  353. package/dist/esm/db-switch.entry.js.map +1 -1
  354. package/dist/esm/db-tab-item.db-tab-list.db-tab-panel.entry.js.map +1 -1
  355. package/dist/esm/db-tab-item_3.entry.js +38 -17
  356. package/dist/esm/db-tab-item_3.entry.js.map +1 -1
  357. package/dist/esm/db-tabs.entry.js +24 -23
  358. package/dist/esm/db-tabs.entry.js.map +1 -1
  359. package/dist/esm/db-textarea.entry.js +61 -46
  360. package/dist/esm/db-textarea.entry.js.map +1 -1
  361. package/dist/esm/db-ux.js +4 -4
  362. package/dist/esm/db-ux.js.map +1 -1
  363. package/dist/esm/document-click-listener-B2jDrCt8.js +35 -0
  364. package/dist/esm/document-click-listener-B2jDrCt8.js.map +1 -0
  365. package/dist/esm/{index-D-D8lQAG.js → index-BkYjDIed.js} +6 -5
  366. package/dist/esm/index-BkYjDIed.js.map +1 -0
  367. package/dist/esm/{index-fw8E73KY.js → index-TU0pfK1i.js} +24 -8
  368. package/dist/esm/index-TU0pfK1i.js.map +1 -0
  369. package/dist/esm/index.js +5 -5
  370. package/dist/esm/index.js.map +1 -1
  371. package/dist/esm/loader.js +3 -3
  372. package/dist/esm/{navigation-1ba3zvi0.js → navigation-BjeAmWrQ.js} +3 -3
  373. package/dist/esm/{navigation-1ba3zvi0.js.map → navigation-BjeAmWrQ.js.map} +1 -1
  374. package/dist/types/components/accordion/accordion.d.ts +2 -2
  375. package/dist/types/components/accordion/model.d.ts +2 -2
  376. package/dist/types/components/accordion-item/accordion-item.d.ts +11 -2
  377. package/dist/types/components/accordion-item/model.d.ts +5 -5
  378. package/dist/types/components/badge/model.d.ts +2 -2
  379. package/dist/types/components/button/button.d.ts +3 -1
  380. package/dist/types/components/button/model.d.ts +11 -7
  381. package/dist/types/components/card/card.d.ts +2 -1
  382. package/dist/types/components/checkbox/checkbox.d.ts +13 -10
  383. package/dist/types/components/checkbox/model.d.ts +3 -3
  384. package/dist/types/components/custom-select/custom-select.d.ts +18 -15
  385. package/dist/types/components/custom-select/model.d.ts +49 -29
  386. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +2 -2
  387. package/dist/types/components/drawer/drawer.d.ts +2 -1
  388. package/dist/types/components/drawer/model.d.ts +2 -2
  389. package/dist/types/components/header/header.d.ts +3 -2
  390. package/dist/types/components/header/model.d.ts +2 -2
  391. package/dist/types/components/input/input.d.ts +19 -14
  392. package/dist/types/components/input/model.d.ts +3 -3
  393. package/dist/types/components/link/link.d.ts +2 -1
  394. package/dist/types/components/navigation-item/model.d.ts +2 -3
  395. package/dist/types/components/navigation-item/navigation-item.d.ts +4 -4
  396. package/dist/types/components/notification/model.d.ts +3 -3
  397. package/dist/types/components/notification/notification.d.ts +3 -2
  398. package/dist/types/components/page/model.d.ts +1 -1
  399. package/dist/types/components/popover/model.d.ts +1 -1
  400. package/dist/types/components/radio/radio.d.ts +7 -9
  401. package/dist/types/components/select/model.d.ts +2 -2
  402. package/dist/types/components/select/select.d.ts +18 -16
  403. package/dist/types/components/stack/model.d.ts +1 -1
  404. package/dist/types/components/switch/model.d.ts +2 -2
  405. package/dist/types/components/switch/switch.d.ts +4 -6
  406. package/dist/types/components/tab-item/model.d.ts +6 -6
  407. package/dist/types/components/tab-item/tab-item.d.ts +8 -3
  408. package/dist/types/components/tabs/model.d.ts +11 -3
  409. package/dist/types/components/tabs/tabs.d.ts +5 -4
  410. package/dist/types/components/tag/model.d.ts +9 -5
  411. package/dist/types/components/tag/tag.d.ts +2 -1
  412. package/dist/types/components/textarea/model.d.ts +4 -4
  413. package/dist/types/components/textarea/textarea.d.ts +17 -12
  414. package/dist/types/components/tooltip/model.d.ts +1 -1
  415. package/dist/types/components.d.ts +96 -124
  416. package/dist/types/shared/model.d.ts +56 -31
  417. package/dist/types/stencil-public-runtime.d.ts +2 -0
  418. package/dist/types/utils/document-click-listener.d.ts +8 -0
  419. package/dist/types/utils/index.d.ts +5 -28
  420. package/dist/vscode.html-custom-data.json +143 -122
  421. package/dist/web-types.json +803 -475
  422. package/package.json +4 -4
  423. package/dist/cjs/index-DBEtsnky.js.map +0 -1
  424. package/dist/cjs/index-DeqKGVDx.js.map +0 -1
  425. package/dist/db-ux/p-0414dab3.entry.js.map +0 -1
  426. package/dist/db-ux/p-05505797.entry.js +0 -2
  427. package/dist/db-ux/p-05505797.entry.js.map +0 -1
  428. package/dist/db-ux/p-0b9779be.entry.js.map +0 -1
  429. package/dist/db-ux/p-1799c085.entry.js +0 -2
  430. package/dist/db-ux/p-1799c085.entry.js.map +0 -1
  431. package/dist/db-ux/p-30261cf0.entry.js +0 -2
  432. package/dist/db-ux/p-30261cf0.entry.js.map +0 -1
  433. package/dist/db-ux/p-43f2df95.entry.js +0 -2
  434. package/dist/db-ux/p-43f2df95.entry.js.map +0 -1
  435. package/dist/db-ux/p-463c100b.entry.js +0 -2
  436. package/dist/db-ux/p-463c100b.entry.js.map +0 -1
  437. package/dist/db-ux/p-4cf2c595.entry.js +0 -2
  438. package/dist/db-ux/p-4cf2c595.entry.js.map +0 -1
  439. package/dist/db-ux/p-56a39c64.entry.js +0 -2
  440. package/dist/db-ux/p-56a39c64.entry.js.map +0 -1
  441. package/dist/db-ux/p-5ceb34d7.entry.js +0 -2
  442. package/dist/db-ux/p-5ceb34d7.entry.js.map +0 -1
  443. package/dist/db-ux/p-65983b83.entry.js.map +0 -1
  444. package/dist/db-ux/p-6e1aa320.entry.js +0 -2
  445. package/dist/db-ux/p-6e1aa320.entry.js.map +0 -1
  446. package/dist/db-ux/p-70b6a633.entry.js +0 -2
  447. package/dist/db-ux/p-70b6a633.entry.js.map +0 -1
  448. package/dist/db-ux/p-72cbf9ff.entry.js +0 -2
  449. package/dist/db-ux/p-72cbf9ff.entry.js.map +0 -1
  450. package/dist/db-ux/p-7346f78f.entry.js +0 -2
  451. package/dist/db-ux/p-7346f78f.entry.js.map +0 -1
  452. package/dist/db-ux/p-7b3689ea.entry.js +0 -2
  453. package/dist/db-ux/p-7b3689ea.entry.js.map +0 -1
  454. package/dist/db-ux/p-93ee59f3.entry.js +0 -2
  455. package/dist/db-ux/p-93ee59f3.entry.js.map +0 -1
  456. package/dist/db-ux/p-969ce4ec.entry.js +0 -2
  457. package/dist/db-ux/p-969ce4ec.entry.js.map +0 -1
  458. package/dist/db-ux/p-97cfc836.entry.js +0 -2
  459. package/dist/db-ux/p-97cfc836.entry.js.map +0 -1
  460. package/dist/db-ux/p-9a3c9ffe.entry.js.map +0 -1
  461. package/dist/db-ux/p-D-D8lQAG.js +0 -3
  462. package/dist/db-ux/p-D-D8lQAG.js.map +0 -1
  463. package/dist/db-ux/p-a2f461ee.entry.js +0 -2
  464. package/dist/db-ux/p-a2f461ee.entry.js.map +0 -1
  465. package/dist/db-ux/p-acca879a.entry.js +0 -2
  466. package/dist/db-ux/p-acca879a.entry.js.map +0 -1
  467. package/dist/db-ux/p-b09d7817.entry.js +0 -2
  468. package/dist/db-ux/p-b09d7817.entry.js.map +0 -1
  469. package/dist/db-ux/p-b858ced9.entry.js +0 -2
  470. package/dist/db-ux/p-b858ced9.entry.js.map +0 -1
  471. package/dist/db-ux/p-bb06aac0.entry.js +0 -2
  472. package/dist/db-ux/p-bb06aac0.entry.js.map +0 -1
  473. package/dist/db-ux/p-d10ee6dc.entry.js.map +0 -1
  474. package/dist/db-ux/p-d4d01646.entry.js +0 -2
  475. package/dist/db-ux/p-d4d01646.entry.js.map +0 -1
  476. package/dist/db-ux/p-e393938c.entry.js +0 -2
  477. package/dist/db-ux/p-e393938c.entry.js.map +0 -1
  478. package/dist/db-ux/p-ea7da771.entry.js +0 -2
  479. package/dist/db-ux/p-ea7da771.entry.js.map +0 -1
  480. package/dist/db-ux/p-fw8E73KY.js +0 -2
  481. package/dist/db-ux/p-fw8E73KY.js.map +0 -1
  482. package/dist/esm/index-D-D8lQAG.js.map +0 -1
  483. package/dist/esm/index-fw8E73KY.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
2
- import { cls, delay, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
2
+ import { cls, delay, getBoolean, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
3
3
  import { h, } from "@stencil/core";
4
4
  /**
5
5
  * @slot children - This is a default/unnamed slot
@@ -12,31 +12,34 @@ export class DBCheckbox {
12
12
  this._messageId = undefined;
13
13
  this._validMessageId = undefined;
14
14
  this._invalidMessageId = undefined;
15
+ this._invalidMessage = undefined;
15
16
  this._descByIds = "";
16
17
  this._voiceOverFallback = "";
17
18
  }
18
- handleChange(event) {
19
- var _a, _b, _c, _d, _e, _f;
20
- if (this.onChange) {
21
- this.onChange.emit(event);
22
- }
23
- if (this.change) {
24
- this.change(event);
25
- }
19
+ hasValidState() {
20
+ var _a;
21
+ return !!((_a = this.validMessage) !== null && _a !== void 0 ? _a : this.validation === "valid");
22
+ }
23
+ handleValidation() {
24
+ var _a, _b, _c, _d;
26
25
  /* For a11y reasons we need to map the correct message with the checkbox */
27
26
  if (!((_a = this._ref) === null || _a === void 0 ? void 0 : _a.validity.valid) || this.validation === "invalid") {
28
27
  this._descByIds = this._invalidMessageId;
28
+ this._invalidMessage =
29
+ this.invalidMessage ||
30
+ ((_b = this._ref) === null || _b === void 0 ? void 0 : _b.validationMessage) ||
31
+ DEFAULT_INVALID_MESSAGE;
29
32
  if (hasVoiceOver()) {
30
- this._voiceOverFallback =
31
- (_d = (_b = this.invalidMessage) !== null && _b !== void 0 ? _b : (_c = this._ref) === null || _c === void 0 ? void 0 : _c.validationMessage) !== null && _d !== void 0 ? _d : DEFAULT_INVALID_MESSAGE;
33
+ this._voiceOverFallback = this._invalidMessage;
32
34
  delay(() => (this._voiceOverFallback = ""), 1000);
33
35
  }
34
36
  }
35
- else if (this.validation === "valid" ||
36
- (((_e = this._ref) === null || _e === void 0 ? void 0 : _e.validity.valid) && this.required)) {
37
+ else if (this.hasValidState() &&
38
+ ((_c = this._ref) === null || _c === void 0 ? void 0 : _c.validity.valid) &&
39
+ this.required) {
37
40
  this._descByIds = this._validMessageId;
38
41
  if (hasVoiceOver()) {
39
- this._voiceOverFallback = (_f = this.validMessage) !== null && _f !== void 0 ? _f : DEFAULT_VALID_MESSAGE;
42
+ this._voiceOverFallback = (_d = this.validMessage) !== null && _d !== void 0 ? _d : DEFAULT_VALID_MESSAGE;
40
43
  delay(() => (this._voiceOverFallback = ""), 1000);
41
44
  }
42
45
  }
@@ -47,20 +50,20 @@ export class DBCheckbox {
47
50
  this._descByIds = "";
48
51
  }
49
52
  }
50
- handleBlur(event) {
51
- if (this.onBlur) {
52
- this.onBlur.emit(event);
53
+ handleChange(event) {
54
+ if (this.change) {
55
+ this.change.emit(event);
53
56
  }
57
+ this.handleValidation();
58
+ }
59
+ handleBlur(event) {
54
60
  if (this.blur) {
55
- this.blur(event);
61
+ this.blur.emit(event);
56
62
  }
57
63
  }
58
64
  handleFocus(event) {
59
- if (this.onFocus) {
60
- this.onFocus.emit(event);
61
- }
62
65
  if (this.focus) {
63
- this.focus(event);
66
+ this.focus.emit(event);
64
67
  }
65
68
  }
66
69
  /**
@@ -96,6 +99,16 @@ export class DBCheckbox {
96
99
  }
97
100
  }
98
101
  watch0Fn() {
102
+ var _a;
103
+ this._invalidMessage =
104
+ this.invalidMessage ||
105
+ ((_a = this._ref) === null || _a === void 0 ? void 0 : _a.validationMessage) ||
106
+ DEFAULT_INVALID_MESSAGE;
107
+ }
108
+ watch0() {
109
+ this.watch0Fn();
110
+ }
111
+ watch1Fn() {
99
112
  if (this._id) {
100
113
  const messageId = this._id + DEFAULT_MESSAGE_ID_SUFFIX;
101
114
  this._messageId = messageId;
@@ -106,32 +119,32 @@ export class DBCheckbox {
106
119
  }
107
120
  }
108
121
  }
109
- watch0() {
110
- this.watch0Fn();
122
+ watch1() {
123
+ this.watch1Fn();
111
124
  }
112
- watch1Fn() {
125
+ watch2Fn() {
113
126
  if (this._ref) {
114
127
  if (this.indeterminate !== undefined) {
115
128
  // When indeterminate is set, the value of the checked prop only impacts the form submitted values.
116
129
  // It has no accessibility or UX implications. (https://mui.com/material-ui/react-checkbox/)
117
- this._ref.indeterminate = this.indeterminate;
130
+ this._ref.indeterminate = !!getBoolean(this.indeterminate);
118
131
  }
119
132
  }
120
133
  }
121
- watch1() {
122
- this.watch1Fn();
134
+ watch2() {
135
+ this.watch2Fn();
123
136
  }
124
- watch2Fn() {
137
+ watch3Fn() {
125
138
  if (this.initialized && this._ref) {
126
139
  // in angular this must be set via native element
127
140
  if (this.checked != undefined) {
128
- this._ref.checked = this.checked;
141
+ this._ref.checked = !!getBoolean(this.checked);
129
142
  }
130
143
  this.initialized = false;
131
144
  }
132
145
  }
133
- watch2() {
134
- this.watch2Fn();
146
+ watch3() {
147
+ this.watch3Fn();
135
148
  }
136
149
  componentDidLoad() {
137
150
  var _a;
@@ -142,21 +155,23 @@ export class DBCheckbox {
142
155
  this._messageId = mId + DEFAULT_MESSAGE_ID_SUFFIX;
143
156
  this._validMessageId = mId + DEFAULT_VALID_MESSAGE_ID_SUFFIX;
144
157
  this._invalidMessageId = mId + DEFAULT_INVALID_MESSAGE_ID_SUFFIX;
158
+ this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
145
159
  this.watch0Fn();
146
160
  this.watch1Fn();
147
161
  this.watch2Fn();
162
+ this.watch3Fn();
148
163
  }
149
164
  render() {
150
- var _a, _b, _c;
151
- return (h("div", { key: 'a0271b130c9ea285cf0ed8855ca6184e1bbd0dc2', class: cls("db-checkbox", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '671bd2542c827f14c692b784b38dacddfba3e2e1', htmlFor: this._id }, h("input", { key: '2c570c34423a152cae7f300b8cd64ea37660af8a', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
165
+ return (h("div", { key: 'a1a0384951c739a12a75f9cd51afdbdfd51a9a2e', class: cls("db-checkbox", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '755ba3bd5bc761d2207eb8479fc367959a46e83b', htmlFor: this._id }, h("input", { key: '9e4752cf34a51c4c1dd7de9de9438def286511dd', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
152
166
  this._ref = el;
153
- }, id: this._id, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, required: this.required, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": this._descByIds }), this.label ? this.label : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, h("db-infotext", { key: 'c2616ac2d5953f553f758ac22ae493c6b4cd7c97', size: "small", semantic: "successful", id: this._validMessageId }, (_a = this.validMessage) !== null && _a !== void 0 ? _a : DEFAULT_VALID_MESSAGE), h("db-infotext", { key: 'b5b4f366e50fc282cc915c6161fb2e919a73093b', size: "small", semantic: "critical", id: this._invalidMessageId }, (_b = this.invalidMessage) !== null && _b !== void 0 ? _b : (((_c = this._ref) === null || _c === void 0 ? void 0 : _c.validationMessage) || DEFAULT_INVALID_MESSAGE)), h("span", { key: 'a852565958851811af7b2edf380f45d33e91479b', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
167
+ }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": this._descByIds }), this.label ? this.label : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '575d9eef92ce0b4198b19cccc00fc115542d2e18', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '7a448fe4a8b2b7266df32ebb895a4397030fb960', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
154
168
  }
155
169
  static get is() { return "db-checkbox"; }
156
170
  static get properties() {
157
171
  return {
158
172
  "id": {
159
173
  "type": "string",
174
+ "attribute": "id",
160
175
  "mutable": false,
161
176
  "complexType": {
162
177
  "original": "DBCheckboxProps[\"id\"]",
@@ -177,14 +192,14 @@ export class DBCheckbox {
177
192
  },
178
193
  "getter": false,
179
194
  "setter": false,
180
- "attribute": "id",
181
195
  "reflect": false
182
196
  },
183
- "message": {
197
+ "invalidMessage": {
184
198
  "type": "string",
199
+ "attribute": "invalid-message",
185
200
  "mutable": false,
186
201
  "complexType": {
187
- "original": "DBCheckboxProps[\"message\"]",
202
+ "original": "DBCheckboxProps[\"invalidMessage\"]",
188
203
  "resolved": "string",
189
204
  "references": {
190
205
  "DBCheckboxProps": {
@@ -202,15 +217,15 @@ export class DBCheckbox {
202
217
  },
203
218
  "getter": false,
204
219
  "setter": false,
205
- "attribute": "message",
206
220
  "reflect": false
207
221
  },
208
- "showMessage": {
209
- "type": "boolean",
222
+ "message": {
223
+ "type": "string",
224
+ "attribute": "message",
210
225
  "mutable": false,
211
226
  "complexType": {
212
- "original": "DBCheckboxProps[\"showMessage\"]",
213
- "resolved": "boolean",
227
+ "original": "DBCheckboxProps[\"message\"]",
228
+ "resolved": "string",
214
229
  "references": {
215
230
  "DBCheckboxProps": {
216
231
  "location": "import",
@@ -227,15 +242,15 @@ export class DBCheckbox {
227
242
  },
228
243
  "getter": false,
229
244
  "setter": false,
230
- "attribute": "show-message",
231
245
  "reflect": false
232
246
  },
233
- "indeterminate": {
234
- "type": "boolean",
247
+ "showMessage": {
248
+ "type": "any",
249
+ "attribute": "show-message",
235
250
  "mutable": false,
236
251
  "complexType": {
237
- "original": "DBCheckboxProps[\"indeterminate\"]",
238
- "resolved": "boolean",
252
+ "original": "DBCheckboxProps[\"showMessage\"]",
253
+ "resolved": "boolean | string",
239
254
  "references": {
240
255
  "DBCheckboxProps": {
241
256
  "location": "import",
@@ -252,15 +267,15 @@ export class DBCheckbox {
252
267
  },
253
268
  "getter": false,
254
269
  "setter": false,
255
- "attribute": "indeterminate",
256
270
  "reflect": false
257
271
  },
258
- "checked": {
259
- "type": "boolean",
272
+ "indeterminate": {
273
+ "type": "any",
274
+ "attribute": "indeterminate",
260
275
  "mutable": false,
261
276
  "complexType": {
262
- "original": "DBCheckboxProps[\"checked\"]",
263
- "resolved": "boolean",
277
+ "original": "DBCheckboxProps[\"indeterminate\"]",
278
+ "resolved": "boolean | string",
264
279
  "references": {
265
280
  "DBCheckboxProps": {
266
281
  "location": "import",
@@ -277,38 +292,15 @@ export class DBCheckbox {
277
292
  },
278
293
  "getter": false,
279
294
  "setter": false,
280
- "attribute": "checked",
281
295
  "reflect": false
282
296
  },
283
- "change": {
284
- "type": "unknown",
285
- "mutable": false,
286
- "complexType": {
287
- "original": "DBCheckboxProps[\"change\"]",
288
- "resolved": "(event: Event) => void",
289
- "references": {
290
- "DBCheckboxProps": {
291
- "location": "import",
292
- "path": "./model",
293
- "id": "src/components/checkbox/model.ts::DBCheckboxProps"
294
- }
295
- }
296
- },
297
- "required": false,
298
- "optional": false,
299
- "docs": {
300
- "tags": [],
301
- "text": ""
302
- },
303
- "getter": false,
304
- "setter": false
305
- },
306
- "validation": {
307
- "type": "string",
297
+ "checked": {
298
+ "type": "any",
299
+ "attribute": "checked",
308
300
  "mutable": false,
309
301
  "complexType": {
310
- "original": "DBCheckboxProps[\"validation\"]",
311
- "resolved": "\"invalid\" | \"no-validation\" | \"valid\"",
302
+ "original": "DBCheckboxProps[\"checked\"]",
303
+ "resolved": "boolean | string",
312
304
  "references": {
313
305
  "DBCheckboxProps": {
314
306
  "location": "import",
@@ -325,14 +317,14 @@ export class DBCheckbox {
325
317
  },
326
318
  "getter": false,
327
319
  "setter": false,
328
- "attribute": "validation",
329
320
  "reflect": false
330
321
  },
331
- "invalidMessage": {
322
+ "validMessage": {
332
323
  "type": "string",
324
+ "attribute": "valid-message",
333
325
  "mutable": false,
334
326
  "complexType": {
335
- "original": "DBCheckboxProps[\"invalidMessage\"]",
327
+ "original": "DBCheckboxProps[\"validMessage\"]",
336
328
  "resolved": "string",
337
329
  "references": {
338
330
  "DBCheckboxProps": {
@@ -350,15 +342,15 @@ export class DBCheckbox {
350
342
  },
351
343
  "getter": false,
352
344
  "setter": false,
353
- "attribute": "invalid-message",
354
345
  "reflect": false
355
346
  },
356
- "required": {
357
- "type": "boolean",
347
+ "validation": {
348
+ "type": "string",
349
+ "attribute": "validation",
358
350
  "mutable": false,
359
351
  "complexType": {
360
- "original": "DBCheckboxProps[\"required\"]",
361
- "resolved": "boolean",
352
+ "original": "DBCheckboxProps[\"validation\"]",
353
+ "resolved": "\"invalid\" | \"no-validation\" | \"valid\"",
362
354
  "references": {
363
355
  "DBCheckboxProps": {
364
356
  "location": "import",
@@ -375,15 +367,15 @@ export class DBCheckbox {
375
367
  },
376
368
  "getter": false,
377
369
  "setter": false,
378
- "attribute": "required",
379
370
  "reflect": false
380
371
  },
381
- "validMessage": {
382
- "type": "string",
372
+ "required": {
373
+ "type": "any",
374
+ "attribute": "required",
383
375
  "mutable": false,
384
376
  "complexType": {
385
- "original": "DBCheckboxProps[\"validMessage\"]",
386
- "resolved": "string",
377
+ "original": "DBCheckboxProps[\"required\"]",
378
+ "resolved": "boolean | string",
387
379
  "references": {
388
380
  "DBCheckboxProps": {
389
381
  "location": "import",
@@ -400,57 +392,11 @@ export class DBCheckbox {
400
392
  },
401
393
  "getter": false,
402
394
  "setter": false,
403
- "attribute": "valid-message",
404
395
  "reflect": false
405
396
  },
406
- "blur": {
407
- "type": "unknown",
408
- "mutable": false,
409
- "complexType": {
410
- "original": "DBCheckboxProps[\"blur\"]",
411
- "resolved": "(event: FocusEvent) => void",
412
- "references": {
413
- "DBCheckboxProps": {
414
- "location": "import",
415
- "path": "./model",
416
- "id": "src/components/checkbox/model.ts::DBCheckboxProps"
417
- }
418
- }
419
- },
420
- "required": false,
421
- "optional": false,
422
- "docs": {
423
- "tags": [],
424
- "text": ""
425
- },
426
- "getter": false,
427
- "setter": false
428
- },
429
- "focus": {
430
- "type": "unknown",
431
- "mutable": false,
432
- "complexType": {
433
- "original": "DBCheckboxProps[\"focus\"]",
434
- "resolved": "(event: FocusEvent) => void",
435
- "references": {
436
- "DBCheckboxProps": {
437
- "location": "import",
438
- "path": "./model",
439
- "id": "src/components/checkbox/model.ts::DBCheckboxProps"
440
- }
441
- }
442
- },
443
- "required": false,
444
- "optional": false,
445
- "docs": {
446
- "tags": [],
447
- "text": ""
448
- },
449
- "getter": false,
450
- "setter": false
451
- },
452
397
  "className": {
453
398
  "type": "string",
399
+ "attribute": "classname",
454
400
  "mutable": false,
455
401
  "complexType": {
456
402
  "original": "DBCheckboxProps[\"className\"]",
@@ -471,11 +417,11 @@ export class DBCheckbox {
471
417
  },
472
418
  "getter": false,
473
419
  "setter": false,
474
- "attribute": "classname",
475
420
  "reflect": false
476
421
  },
477
422
  "size": {
478
423
  "type": "string",
424
+ "attribute": "size",
479
425
  "mutable": false,
480
426
  "complexType": {
481
427
  "original": "DBCheckboxProps[\"size\"]",
@@ -496,15 +442,15 @@ export class DBCheckbox {
496
442
  },
497
443
  "getter": false,
498
444
  "setter": false,
499
- "attribute": "size",
500
445
  "reflect": false
501
446
  },
502
447
  "showLabel": {
503
- "type": "boolean",
448
+ "type": "any",
449
+ "attribute": "show-label",
504
450
  "mutable": false,
505
451
  "complexType": {
506
452
  "original": "DBCheckboxProps[\"showLabel\"]",
507
- "resolved": "boolean",
453
+ "resolved": "boolean | string",
508
454
  "references": {
509
455
  "DBCheckboxProps": {
510
456
  "location": "import",
@@ -521,11 +467,11 @@ export class DBCheckbox {
521
467
  },
522
468
  "getter": false,
523
469
  "setter": false,
524
- "attribute": "show-label",
525
470
  "reflect": false
526
471
  },
527
472
  "name": {
528
473
  "type": "string",
474
+ "attribute": "name",
529
475
  "mutable": false,
530
476
  "complexType": {
531
477
  "original": "DBCheckboxProps[\"name\"]",
@@ -546,15 +492,15 @@ export class DBCheckbox {
546
492
  },
547
493
  "getter": false,
548
494
  "setter": false,
549
- "attribute": "name",
550
495
  "reflect": false
551
496
  },
552
497
  "disabled": {
553
- "type": "boolean",
498
+ "type": "any",
499
+ "attribute": "disabled",
554
500
  "mutable": false,
555
501
  "complexType": {
556
502
  "original": "DBCheckboxProps[\"disabled\"]",
557
- "resolved": "boolean",
503
+ "resolved": "boolean | string",
558
504
  "references": {
559
505
  "DBCheckboxProps": {
560
506
  "location": "import",
@@ -571,11 +517,11 @@ export class DBCheckbox {
571
517
  },
572
518
  "getter": false,
573
519
  "setter": false,
574
- "attribute": "disabled",
575
520
  "reflect": false
576
521
  },
577
522
  "value": {
578
523
  "type": "any",
524
+ "attribute": "value",
579
525
  "mutable": false,
580
526
  "complexType": {
581
527
  "original": "DBCheckboxProps[\"value\"]",
@@ -596,11 +542,11 @@ export class DBCheckbox {
596
542
  },
597
543
  "getter": false,
598
544
  "setter": false,
599
- "attribute": "value",
600
545
  "reflect": false
601
546
  },
602
547
  "label": {
603
548
  "type": "string",
549
+ "attribute": "label",
604
550
  "mutable": false,
605
551
  "complexType": {
606
552
  "original": "DBCheckboxProps[\"label\"]",
@@ -621,11 +567,11 @@ export class DBCheckbox {
621
567
  },
622
568
  "getter": false,
623
569
  "setter": false,
624
- "attribute": "label",
625
570
  "reflect": false
626
571
  },
627
572
  "messageIcon": {
628
573
  "type": "string",
574
+ "attribute": "message-icon",
629
575
  "mutable": false,
630
576
  "complexType": {
631
577
  "original": "DBCheckboxProps[\"messageIcon\"]",
@@ -646,7 +592,6 @@ export class DBCheckbox {
646
592
  },
647
593
  "getter": false,
648
594
  "setter": false,
649
- "attribute": "message-icon",
650
595
  "reflect": false
651
596
  }
652
597
  };
@@ -658,14 +603,15 @@ export class DBCheckbox {
658
603
  "_messageId": {},
659
604
  "_validMessageId": {},
660
605
  "_invalidMessageId": {},
606
+ "_invalidMessage": {},
661
607
  "_descByIds": {},
662
608
  "_voiceOverFallback": {}
663
609
  };
664
610
  }
665
611
  static get events() {
666
612
  return [{
667
- "method": "onChange",
668
- "name": "onChange",
613
+ "method": "change",
614
+ "name": "change",
669
615
  "bubbles": true,
670
616
  "cancelable": true,
671
617
  "composed": true,
@@ -679,8 +625,8 @@ export class DBCheckbox {
679
625
  "references": {}
680
626
  }
681
627
  }, {
682
- "method": "onBlur",
683
- "name": "onBlur",
628
+ "method": "blur",
629
+ "name": "blur",
684
630
  "bubbles": true,
685
631
  "cancelable": true,
686
632
  "composed": true,
@@ -694,8 +640,8 @@ export class DBCheckbox {
694
640
  "references": {}
695
641
  }
696
642
  }, {
697
- "method": "onFocus",
698
- "name": "onFocus",
643
+ "method": "focus",
644
+ "name": "focus",
699
645
  "bubbles": true,
700
646
  "cancelable": true,
701
647
  "composed": true,
@@ -712,26 +658,32 @@ export class DBCheckbox {
712
658
  }
713
659
  static get watchers() {
714
660
  return [{
715
- "propName": "_id",
661
+ "propName": "_ref",
716
662
  "methodName": "watch0"
717
663
  }, {
718
- "propName": "initialized",
664
+ "propName": "invalidMessage",
665
+ "methodName": "watch0"
666
+ }, {
667
+ "propName": "_id",
719
668
  "methodName": "watch1"
669
+ }, {
670
+ "propName": "initialized",
671
+ "methodName": "watch2"
720
672
  }, {
721
673
  "propName": "_ref",
722
- "methodName": "watch1"
674
+ "methodName": "watch2"
723
675
  }, {
724
676
  "propName": "indeterminate",
725
- "methodName": "watch1"
677
+ "methodName": "watch2"
726
678
  }, {
727
679
  "propName": "initialized",
728
- "methodName": "watch2"
680
+ "methodName": "watch3"
729
681
  }, {
730
682
  "propName": "_ref",
731
- "methodName": "watch2"
683
+ "methodName": "watch3"
732
684
  }, {
733
685
  "propName": "checked",
734
- "methodName": "watch2"
686
+ "methodName": "watch3"
735
687
  }];
736
688
  }
737
689
  }