@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,6 @@
1
1
  import { DBCheckboxProps } from "./model";
2
2
  import { ChangeEvent, InteractionEvent } from "../../shared/model";
3
+ import { EventEmitter } from "../../stencil-public-runtime";
3
4
  /**
4
5
  * @slot children - This is a default/unnamed slot
5
6
 
@@ -7,20 +8,17 @@ import { ChangeEvent, InteractionEvent } from "../../shared/model";
7
8
  export declare class DBCheckbox {
8
9
  private _ref;
9
10
  id: DBCheckboxProps["id"];
11
+ invalidMessage: DBCheckboxProps["invalidMessage"];
10
12
  message: DBCheckboxProps["message"];
11
13
  showMessage: DBCheckboxProps["showMessage"];
12
14
  indeterminate: DBCheckboxProps["indeterminate"];
13
15
  checked: DBCheckboxProps["checked"];
14
- onChange: any;
15
- change: DBCheckboxProps["change"];
16
+ validMessage: DBCheckboxProps["validMessage"];
16
17
  validation: DBCheckboxProps["validation"];
17
- invalidMessage: DBCheckboxProps["invalidMessage"];
18
18
  required: DBCheckboxProps["required"];
19
- validMessage: DBCheckboxProps["validMessage"];
20
- onBlur: any;
21
- blur: DBCheckboxProps["blur"];
22
- onFocus: any;
23
- focus: DBCheckboxProps["focus"];
19
+ change: EventEmitter<Parameters<Required<DBCheckboxProps>["onChange"]>[number]> | void;
20
+ blur: EventEmitter<Parameters<Required<DBCheckboxProps>["onBlur"]>[number]> | void;
21
+ focus: EventEmitter<Parameters<Required<DBCheckboxProps>["onFocus"]>[number]> | void;
24
22
  className: DBCheckboxProps["className"];
25
23
  size: DBCheckboxProps["size"];
26
24
  showLabel: DBCheckboxProps["showLabel"];
@@ -34,11 +32,14 @@ export declare class DBCheckbox {
34
32
  _messageId: any;
35
33
  _validMessageId: any;
36
34
  _invalidMessageId: any;
35
+ _invalidMessage: any;
37
36
  _descByIds: string;
38
37
  _voiceOverFallback: string;
38
+ hasValidState(): boolean;
39
+ handleValidation(): void;
39
40
  handleChange(event: ChangeEvent<HTMLInputElement>): void;
40
- handleBlur(event: InteractionEvent<HTMLInputElement>): void;
41
- handleFocus(event: InteractionEvent<HTMLInputElement>): void;
41
+ handleBlur(event: InteractionEvent<HTMLInputElement> | any): void;
42
+ handleFocus(event: InteractionEvent<HTMLInputElement> | any): void;
42
43
  /**
43
44
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
44
45
  * @param element the ref for the component
@@ -51,6 +52,8 @@ export declare class DBCheckbox {
51
52
  watch1(): void;
52
53
  watch2Fn(): void;
53
54
  watch2(): void;
55
+ watch3Fn(): void;
56
+ watch3(): void;
54
57
  componentDidLoad(): void;
55
58
  render(): any;
56
59
  }
@@ -1,10 +1,10 @@
1
- import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, GlobalProps, GlobalState, InitializedState, SizeProps } from '../../shared/model';
1
+ import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, FromValidState, GlobalProps, GlobalState, InitializedState, SizeProps } from '../../shared/model';
2
2
  export type DBCheckboxDefaultProps = {
3
3
  /**
4
4
  * Define an [indeterminate](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement#indeterminate) state of a checkbox
5
5
  */
6
- indeterminate?: boolean;
6
+ indeterminate?: boolean | string;
7
7
  };
8
8
  export type DBCheckboxProps = DBCheckboxDefaultProps & GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & FormMessageProps & SizeProps;
9
9
  export type DBCheckboxDefaultState = {};
10
- export type DBCheckboxState = DBCheckboxDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState;
10
+ export type DBCheckboxState = DBCheckboxDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState & FromValidState;
@@ -1,4 +1,5 @@
1
1
  import { DBCustomSelectProps, CustomSelectOptionType } from "./model";
2
+ import { EventEmitter } from "../../stencil-public-runtime";
2
3
  /**
3
4
  * @slot children - This is a default/unnamed slot
4
5
 
@@ -8,30 +9,29 @@ export declare class DBCustomSelect {
8
9
  private detailsRef;
9
10
  private selectRef;
10
11
  private selectAllRef;
12
+ private searchInputRef;
11
13
  id: DBCustomSelectProps["id"];
12
- name: DBCustomSelectProps["name"];
14
+ invalidMessage: DBCustomSelectProps["invalidMessage"];
13
15
  message: DBCustomSelectProps["message"];
14
16
  showMessage: DBCustomSelectProps["showMessage"];
15
17
  showNoResults: DBCustomSelectProps["showNoResults"];
16
18
  multiple: DBCustomSelectProps["multiple"];
17
19
  showSelectAll: DBCustomSelectProps["showSelectAll"];
18
20
  showSearch: DBCustomSelectProps["showSearch"];
19
- onSelect: any;
20
21
  values: DBCustomSelectProps["values"];
21
22
  validation: DBCustomSelectProps["validation"];
22
- invalidMessage: DBCustomSelectProps["invalidMessage"];
23
- required: DBCustomSelectProps["required"];
24
- validMessage: DBCustomSelectProps["validMessage"];
25
23
  options: DBCustomSelectProps["options"];
26
24
  selectedType: DBCustomSelectProps["selectedType"];
27
25
  amountText: DBCustomSelectProps["amountText"];
28
- onAmountChange: any;
29
- onDropdownToggle: any;
26
+ amountChange: EventEmitter<Parameters<Required<DBCustomSelectProps>["onAmountChange"]>[number]> | void;
27
+ validMessage: DBCustomSelectProps["validMessage"];
28
+ required: DBCustomSelectProps["required"];
29
+ dropdownToggle: EventEmitter<Parameters<Required<DBCustomSelectProps>["onDropdownToggle"]>[number]> | void;
30
30
  selectAllLabel: DBCustomSelectProps["selectAllLabel"];
31
- deSelectAllLabel: DBCustomSelectProps["deSelectAllLabel"];
32
31
  removeTagsTexts: DBCustomSelectProps["removeTagsTexts"];
32
+ optionSelected: EventEmitter<Parameters<Required<DBCustomSelectProps>["onOptionSelected"]>[number]> | void;
33
33
  className: DBCustomSelectProps["className"];
34
- width: DBCustomSelectProps["width"];
34
+ formFieldWidth: DBCustomSelectProps["formFieldWidth"];
35
35
  variant: DBCustomSelectProps["variant"];
36
36
  placement: DBCustomSelectProps["placement"];
37
37
  showLabel: DBCustomSelectProps["showLabel"];
@@ -39,24 +39,26 @@ export declare class DBCustomSelect {
39
39
  showIcon: DBCustomSelectProps["showIcon"];
40
40
  label: DBCustomSelectProps["label"];
41
41
  form: DBCustomSelectProps["form"];
42
+ name: DBCustomSelectProps["name"];
42
43
  disabled: DBCustomSelectProps["disabled"];
43
44
  open: DBCustomSelectProps["open"];
44
45
  dropdownWidth: DBCustomSelectProps["dropdownWidth"];
45
46
  searchLabel: DBCustomSelectProps["searchLabel"];
46
47
  searchPlaceholder: DBCustomSelectProps["searchPlaceholder"];
47
48
  showLoading: DBCustomSelectProps["showLoading"];
49
+ ariaListLabel: DBCustomSelectProps["ariaListLabel"];
48
50
  noResultsText: DBCustomSelectProps["noResultsText"];
49
51
  loadingText: DBCustomSelectProps["loadingText"];
50
52
  mobileCloseButtonText: DBCustomSelectProps["mobileCloseButtonText"];
51
53
  showClearSelection: DBCustomSelectProps["showClearSelection"];
52
- clearSelectionLabel: DBCustomSelectProps["clearSelectionLabel"];
54
+ clearSelectionText: DBCustomSelectProps["clearSelectionText"];
53
55
  placeholder: DBCustomSelectProps["placeholder"];
54
56
  messageIcon: DBCustomSelectProps["messageIcon"];
55
- _name: any;
56
57
  _id: any;
57
58
  _messageId: any;
58
59
  _validMessageId: any;
59
60
  _invalidMessageId: any;
61
+ _invalidMessage: any;
60
62
  _selectId: any;
61
63
  _labelId: any;
62
64
  _summaryId: any;
@@ -74,10 +76,12 @@ export declare class DBCustomSelect {
74
76
  _values: any[];
75
77
  _options: any[];
76
78
  _hasNoOptions: boolean;
79
+ _documentClickListenerCallbackId: any;
77
80
  _internalChangeTimestamp: number;
78
- _externalChangeTimestamp: number;
79
81
  selectAllChecked: boolean;
80
82
  selectAllIndeterminate: boolean;
83
+ hasValidState(): boolean;
84
+ handleValidation(): void;
81
85
  handleDropdownToggle(event: any): void;
82
86
  getNativeSelectValue(): any;
83
87
  setDescById(descId?: string): void;
@@ -92,6 +96,7 @@ export declare class DBCustomSelect {
92
96
  handleKeyboardPress(event: any): void;
93
97
  handleClose(event: any): void;
94
98
  handleDocumentClose(event: any): void;
99
+ handleOptionSelected(values: string[]): void;
95
100
  handleSelect(value?: string): void;
96
101
  handleSelectAll(): void;
97
102
  handleFocusFirstDropdownCheckbox(activeElement?: Element): void;
@@ -99,6 +104,7 @@ export declare class DBCustomSelect {
99
104
  handleSearch(event: any): void;
100
105
  handleClearAll(): void;
101
106
  handleSummaryFocus(): void;
107
+ satisfyReact: () => void;
102
108
  /**
103
109
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
104
110
  * @param element the ref for the component
@@ -137,9 +143,6 @@ export declare class DBCustomSelect {
137
143
  watch14(): void;
138
144
  watch15Fn(): void;
139
145
  watch15(): void;
140
- watch16Fn(): void;
141
- watch16(): void;
142
146
  componentDidLoad(): void;
143
- disconnectedCallback(): void;
144
147
  render(): any;
145
148
  }
@@ -1,4 +1,4 @@
1
- import { BaseFormProps, CloseEventState, CustomFormProps, FormMessageProps, FormState, GlobalProps, GlobalState, IconProps, PlacementVerticalType, PopoverState, RequiredProps, ShowIconProps, ShowLabelProps, ValidationType, WidthProps } from '../../shared/model';
1
+ import { BaseFormProps, CloseEventState, CustomFormProps, FormMessageProps, FormState, FromValidState, GlobalProps, GlobalState, IconProps, PlacementVerticalType, PopoverState, RequiredProps, ShowIconProps, ShowLabelProps, ValidationType, WidthType } from '../../shared/model';
2
2
  import { DBCustomSelectFormFieldDefaultProps } from '../custom-select-form-field/model';
3
3
  import { CustomSelectDropdownWidthType } from '../custom-select-dropdown/model';
4
4
  import { DBCustomSelectListItemExtraProps } from '../custom-select-list-item/model';
@@ -22,7 +22,41 @@ export type CustomSelectOptionType = {
22
22
  } & DBCustomSelectListItemExtraProps;
23
23
  export declare const SelectedTypeList: readonly ["amount", "text", "tag"];
24
24
  export type SelectedTypeType = (typeof SelectedTypeList)[number];
25
+ export type DBCustomSelectEvents = {
26
+ /**
27
+ * Optional: if select-type="amount" when amount changes
28
+ * @param amount The amount of selected checkboxes
29
+ */
30
+ onAmountChange?: (amount: number) => void;
31
+ /**
32
+ * Optional: if select-type="amount" when amount changes
33
+ * @param amount The amount of selected checkboxes
34
+ */
35
+ amountChange?: (amount: number) => void;
36
+ /**
37
+ * Triggers after some option was clicked in dropdown
38
+ * @param values the changed values
39
+ */
40
+ onOptionSelected?: (values: string[]) => void;
41
+ /**
42
+ * Triggers after some option was clicked in dropdown
43
+ * @param values the changed values
44
+ */
45
+ optionSelected?: (values: string[]) => void;
46
+ /**
47
+ * Informs the user when dropdown was toggled.
48
+ */
49
+ onDropdownToggle?: (event: any) => void;
50
+ /**
51
+ * Informs the user when dropdown was toggled.
52
+ */
53
+ dropdownToggle?: (event: any) => void;
54
+ };
25
55
  export type DBCustomSelectDefaultProps = {
56
+ /**
57
+ * Overwrite the default aria-label (props.label) for the custom-select-list
58
+ */
59
+ ariaListLabel?: string;
26
60
  /**
27
61
  * Optional: if select-type="amount" change the shown text
28
62
  */
@@ -30,17 +64,17 @@ export type DBCustomSelectDefaultProps = {
30
64
  /**
31
65
  * Label for the clear selection button
32
66
  */
33
- clearSelectionLabel?: string;
34
- /**
35
- * Deselect all checkbox label
36
- */
37
- deSelectAllLabel?: string;
67
+ clearSelectionText?: string;
38
68
  /**
39
69
  * Changes the behavior of the dropdown with.
40
70
  * Default: fixed 328px
41
71
  * Auto: Based on the size of the form-field
42
72
  */
43
- dropdownWidth?: CustomSelectDropdownWidthType | 'string';
73
+ dropdownWidth?: CustomSelectDropdownWidthType | string;
74
+ /**
75
+ * Width of the component. Auto width based on children size, full width based on parent elements width.
76
+ */
77
+ formFieldWidth?: WidthType | string;
44
78
  /**
45
79
  * Dropdown - hint if data has to be loaded
46
80
  */
@@ -52,21 +86,15 @@ export type DBCustomSelectDefaultProps = {
52
86
  /**
53
87
  * Enables CustomSelect
54
88
  */
55
- multiple?: boolean;
89
+ multiple?: boolean | string;
56
90
  /**
57
91
  * Dropdown - hint if there are no options
58
92
  */
59
93
  noResultsText?: string;
60
94
  /**
61
- * Optional: if select-type="amount" when amount changes
62
- * @param amount The amount of selected checkboxes
63
- */
64
- onAmountChange?: (amount: number) => void;
65
- /**
66
- * Triggers after some checkbox was clicked in dropdown
67
- * @param values the changed values
95
+ * Programmatically open the dropdown. May differ if you don't use onDropdownToggle.
68
96
  */
69
- onSelect?: (values: string[]) => void;
97
+ open?: boolean;
70
98
  /**
71
99
  * You should pass in the options as an array.
72
100
  */
@@ -119,16 +147,8 @@ export type DBCustomSelectDefaultProps = {
119
147
  * Initial value for multi select
120
148
  */
121
149
  values?: string[];
122
- /**
123
- * Programmatically open the dropdown. May differ if you don't use onDropdownToggle.
124
- */
125
- open?: boolean;
126
- /**
127
- * Informs the user when dropdown was toggled.
128
- */
129
- onDropdownToggle?: (event: any) => void;
130
150
  };
131
- export type DBCustomSelectProps = GlobalProps & CustomFormProps & BaseFormProps & RequiredProps & FormMessageProps & DBCustomSelectDefaultProps & DBCustomSelectFormFieldDefaultProps & WidthProps & IconProps & ShowIconProps & ShowLabelProps;
151
+ export type DBCustomSelectProps = GlobalProps & CustomFormProps & BaseFormProps & RequiredProps & FormMessageProps & DBCustomSelectDefaultProps & DBCustomSelectEvents & DBCustomSelectFormFieldDefaultProps & IconProps & ShowIconProps & ShowLabelProps;
132
152
  export type DBCustomSelectDefaultState = {
133
153
  _validity?: ValidationType;
134
154
  _values?: string[];
@@ -142,9 +162,8 @@ export type DBCustomSelectDefaultState = {
142
162
  _selectedLabels?: string;
143
163
  _selectedLabelsId?: string;
144
164
  _infoTextId?: string;
145
- _externalChangeTimestamp?: number;
146
- _internalChangeTimestamp?: number;
147
- _name?: string;
165
+ _internalChangeTimestamp: number;
166
+ _documentClickListenerCallbackId?: string;
148
167
  getNativeSelectValue: () => string;
149
168
  getOptionLabel: (option: CustomSelectOptionType) => string;
150
169
  getOptionChecked: (value?: string) => boolean;
@@ -166,8 +185,9 @@ export type DBCustomSelectDefaultState = {
166
185
  handleKeyboardPress: (event: any) => void;
167
186
  handleArrowDownUp: (event: any) => void;
168
187
  handleSearch: (event: any) => void;
188
+ handleOptionSelected: (_values: string[]) => void;
169
189
  getSelectAllLabel: () => string;
170
190
  selectAllChecked: boolean;
171
191
  selectAllIndeterminate: boolean;
172
192
  };
173
- export type DBCustomSelectState = DBCustomSelectDefaultState & GlobalState & FormState & CloseEventState & PopoverState;
193
+ export type DBCustomSelectState = DBCustomSelectDefaultState & GlobalState & FormState & FromValidState & CloseEventState & PopoverState;
@@ -1,5 +1,6 @@
1
1
  import { DBCustomSelectListItemProps } from "./model";
2
2
  import { ChangeEvent } from "../../shared/model";
3
+ import { EventEmitter } from "../../stencil-public-runtime";
3
4
  /**
4
5
  * @slot children - This is a default/unnamed slot
5
6
 
@@ -9,8 +10,7 @@ export declare class DBCustomSelectListItem {
9
10
  id: DBCustomSelectListItemProps["id"];
10
11
  isGroupTitle: DBCustomSelectListItemProps["isGroupTitle"];
11
12
  showDivider: DBCustomSelectListItemProps["showDivider"];
12
- onChange: any;
13
- change: DBCustomSelectListItemProps["change"];
13
+ change: EventEmitter<Parameters<Required<DBCustomSelectListItemProps>["onChange"]>[number]> | void;
14
14
  type: DBCustomSelectListItemProps["type"];
15
15
  checked: DBCustomSelectListItemProps["checked"];
16
16
  className: DBCustomSelectListItemProps["className"];
@@ -1,4 +1,5 @@
1
1
  import { DBDrawerProps } from "./model";
2
+ import { EventEmitter } from "../../stencil-public-runtime";
2
3
  /**
3
4
  * @slot children - This is a default/unnamed slot
4
5
  * @slot drawerHeader - TODO: Add description for slotDrawerHeader
@@ -8,7 +9,7 @@ export declare class DBDrawer {
8
9
  private dialogContainerRef;
9
10
  open: DBDrawerProps["open"];
10
11
  backdrop: DBDrawerProps["backdrop"];
11
- close: any;
12
+ close: EventEmitter<Parameters<Required<DBDrawerProps>["onClose"]>[number]> | void;
12
13
  variant: DBDrawerProps["variant"];
13
14
  id: DBDrawerProps["id"];
14
15
  className: DBDrawerProps["className"];
@@ -23,12 +23,12 @@ export type DBDrawerDefaultProps = {
23
23
  /**
24
24
  * The open attribute opens or closes the drawer based on the state.
25
25
  */
26
- open?: boolean;
26
+ open?: boolean | string;
27
27
  /**
28
28
  * The rounded attribute changes the border radius of the corners on the "end" of the drawer.
29
29
  * The "end" depends on which direction you use.
30
30
  */
31
- rounded?: boolean;
31
+ rounded?: boolean | string;
32
32
  /**
33
33
  * Set the variant modal|inside. Defaults to modal.
34
34
  */
@@ -1,4 +1,5 @@
1
1
  import { DBHeaderProps } from "./model";
2
+ import { EventEmitter } from "../../stencil-public-runtime";
2
3
  /**
3
4
  * @slot children - This is a default/unnamed slot
4
5
  * @slot metaNavigation - TODO: Add description for slotMetaNavigation
@@ -10,15 +11,15 @@ export declare class DBHeader {
10
11
  private _ref;
11
12
  id: DBHeaderProps["id"];
12
13
  forceMobile: DBHeaderProps["forceMobile"];
13
- onToggle: any;
14
14
  drawerOpen: DBHeaderProps["drawerOpen"];
15
+ toggle: EventEmitter<Parameters<Required<DBHeaderProps>["onToggle"]>[number]> | void;
15
16
  className: DBHeaderProps["className"];
16
17
  width: DBHeaderProps["width"];
17
18
  burgerMenuLabel: DBHeaderProps["burgerMenuLabel"];
18
19
  _id: string;
19
20
  initialized: boolean;
20
21
  forcedToMobile: boolean;
21
- toggle(): void;
22
+ handleToggle(): void;
22
23
  handleNavigationItemClick(event: unknown): void;
23
24
  /**
24
25
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
@@ -25,13 +25,13 @@ export type DBHeaderDefaultProps = {
25
25
  /**
26
26
  * Open/closes the drawer for mobile header or if `forceMobile` is true.
27
27
  */
28
- drawerOpen?: boolean;
28
+ drawerOpen?: boolean | string;
29
29
  /**
30
30
  * Forces the header to use mobile layout for desktop as well.
31
31
  * You should only use this setting if you really can't provide a smaller navigation.
32
32
  * Overwrite size of the drawer with '--db-drawer-max-width: xxx'
33
33
  */
34
- forceMobile?: boolean;
34
+ forceMobile?: boolean | string;
35
35
  /**
36
36
  * This attribute sets the label for the burger menu button for mobile headers.
37
37
  */
@@ -1,5 +1,6 @@
1
1
  import { DBInputProps } from "./model";
2
2
  import { ChangeEvent, InputEvent, InteractionEvent, ValueLabelType } from "../../shared/model";
3
+ import { EventEmitter } from "../../stencil-public-runtime";
3
4
  /**
4
5
  * @slot children - This is a default/unnamed slot
5
6
 
@@ -7,25 +8,22 @@ import { ChangeEvent, InputEvent, InteractionEvent, ValueLabelType } from "../..
7
8
  export declare class DBInput {
8
9
  private _ref;
9
10
  id: DBInputProps["id"];
11
+ invalidMessage: DBInputProps["invalidMessage"];
10
12
  dataListId: DBInputProps["dataListId"];
11
13
  message: DBInputProps["message"];
12
14
  showMessage: DBInputProps["showMessage"];
13
15
  value: DBInputProps["value"];
14
- onInput: any;
15
- input: DBInputProps["input"];
16
- onChange: any;
17
- change: DBInputProps["change"];
16
+ validMessage: DBInputProps["validMessage"];
18
17
  validation: DBInputProps["validation"];
19
- invalidMessage: DBInputProps["invalidMessage"];
20
18
  required: DBInputProps["required"];
21
19
  minLength: DBInputProps["minLength"];
22
20
  maxLength: DBInputProps["maxLength"];
23
21
  pattern: DBInputProps["pattern"];
24
- validMessage: DBInputProps["validMessage"];
25
- onBlur: any;
26
- blur: DBInputProps["blur"];
27
- onFocus: any;
28
- focus: DBInputProps["focus"];
22
+ input: EventEmitter<Parameters<Required<DBInputProps>["onInput"]>[number]> | void;
23
+ change: EventEmitter<Parameters<Required<DBInputProps>["onChange"]>[number]> | void;
24
+ blur: EventEmitter<Parameters<Required<DBInputProps>["onBlur"]>[number]> | void;
25
+ focus: EventEmitter<Parameters<Required<DBInputProps>["onFocus"]>[number]> | void;
26
+ dataList: DBInputProps["dataList"];
29
27
  className: DBInputProps["className"];
30
28
  variant: DBInputProps["variant"];
31
29
  showLabel: DBInputProps["showLabel"];
@@ -38,29 +36,34 @@ export declare class DBInput {
38
36
  placeholder: DBInputProps["placeholder"];
39
37
  disabled: DBInputProps["disabled"];
40
38
  step: DBInputProps["step"];
39
+ maxlength: DBInputProps["maxlength"];
40
+ minlength: DBInputProps["minlength"];
41
41
  max: DBInputProps["max"];
42
42
  min: DBInputProps["min"];
43
43
  readOnly: DBInputProps["readOnly"];
44
+ readonly: DBInputProps["readonly"];
44
45
  form: DBInputProps["form"];
45
46
  size: DBInputProps["size"];
46
47
  autocomplete: DBInputProps["autocomplete"];
47
48
  autofocus: DBInputProps["autofocus"];
48
- dataList: DBInputProps["dataList"];
49
49
  ariaDescribedBy: DBInputProps["ariaDescribedBy"];
50
50
  messageIcon: DBInputProps["messageIcon"];
51
51
  _id: any;
52
52
  _messageId: any;
53
53
  _validMessageId: any;
54
54
  _invalidMessageId: any;
55
+ _invalidMessage: any;
55
56
  _dataListId: any;
56
57
  _descByIds: string;
57
58
  _value: string;
58
59
  _voiceOverFallback: string;
60
+ hasValidState(): boolean;
61
+ handleValidation(): void;
59
62
  handleInput(event: InputEvent<HTMLInputElement>): void;
60
63
  handleChange(event: ChangeEvent<HTMLInputElement>): void;
61
- handleBlur(event: InteractionEvent<HTMLInputElement>): void;
62
- handleFocus(event: InteractionEvent<HTMLInputElement>): void;
63
- getDataList(_list?: string[] | ValueLabelType[]): ValueLabelType[];
64
+ handleBlur(event: InteractionEvent<HTMLInputElement> | any): void;
65
+ handleFocus(event: InteractionEvent<HTMLInputElement> | any): void;
66
+ getDataList(): ValueLabelType[];
64
67
  /**
65
68
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
66
69
  * @param element the ref for the component
@@ -71,6 +74,8 @@ export declare class DBInput {
71
74
  watch0(): void;
72
75
  watch1Fn(): void;
73
76
  watch1(): void;
77
+ watch2Fn(): void;
78
+ watch2(): void;
74
79
  componentDidLoad(): void;
75
80
  render(): any;
76
81
  }
@@ -1,4 +1,4 @@
1
- import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormSizeProps, FormState, FormTextProps, GlobalProps, GlobalState, IconAfterProps, IconProps, InputEventProps, InputEventState, ShowIconProps, ValueLabelType } from '../../shared/model';
1
+ import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormSizeProps, FormState, FormTextProps, FromValidState, GlobalProps, GlobalState, IconAfterProps, IconProps, InputEventProps, InputEventState, ShowIconProps, ValueLabelType } from '../../shared/model';
2
2
  export declare const InputTypeList: readonly ["color", "date", "datetime-local", "email", "file", "hidden", "month", "number", "password", "range", "search", "tel", "text", "time", "url", "week"];
3
3
  export type InputTypeType = (typeof InputTypeList)[number];
4
4
  export type DBInputDefaultProps = {
@@ -34,6 +34,6 @@ export type DBInputDefaultProps = {
34
34
  export type DBInputProps = DBInputDefaultProps & GlobalProps & FormTextProps & InputEventProps<HTMLInputElement> & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & IconProps & IconAfterProps & FormMessageProps & ShowIconProps & FormSizeProps;
35
35
  export type DBInputDefaultState = {
36
36
  _dataListId?: string;
37
- getDataList: (_list?: string[] | ValueLabelType[]) => ValueLabelType[];
37
+ getDataList: () => ValueLabelType[];
38
38
  };
39
- export type DBInputState = DBInputDefaultState & GlobalState & InputEventState<HTMLInputElement> & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState;
39
+ export type DBInputState = DBInputDefaultState & GlobalState & InputEventState<HTMLInputElement> & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & FromValidState;
@@ -1,12 +1,13 @@
1
1
  import { DBLinkProps } from "./model";
2
2
  import { ClickEvent } from "../../shared/model";
3
+ import { EventEmitter } from "../../stencil-public-runtime";
3
4
  /**
4
5
  * @slot children - This is a default/unnamed slot
5
6
 
6
7
  */
7
8
  export declare class DBLink {
8
9
  private _ref;
9
- onClick: any;
10
+ click: EventEmitter<Parameters<Required<DBLinkProps>["onClick"]>[number]> | void;
10
11
  id: DBLinkProps["id"];
11
12
  className: DBLinkProps["className"];
12
13
  href: DBLinkProps["href"];
@@ -8,7 +8,7 @@ export type DBNavigationItemDefaultProps = {
8
8
  /**
9
9
  * The disabled attribute can be set to [keep a user from clicking on the item](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled).
10
10
  */
11
- disabled?: boolean;
11
+ disabled?: boolean | string;
12
12
  /**
13
13
  * React-specific property to pass in a slot for sub-navigation
14
14
  */
@@ -16,7 +16,7 @@ export type DBNavigationItemDefaultProps = {
16
16
  /**
17
17
  * This is for mobile navigation only, if it is set the sub-navigation is a static overlay
18
18
  */
19
- subNavigationExpanded?: boolean;
19
+ subNavigationExpanded?: boolean | string;
20
20
  };
21
21
  export type DBNavigationItemProps = DBNavigationItemDefaultProps & GlobalProps & ClickEventProps<HTMLButtonElement> & IconProps & WidthProps & NavigationBackButtonProps & ShowIconProps & TextProps;
22
22
  export type DBNavigationItemDefaultState = {
@@ -28,7 +28,6 @@ export type DBNavigationItemDefaultState = {
28
28
  * Internal state property to show/hide sub-navigation button
29
29
  */
30
30
  hasSubNavigation?: boolean;
31
- updateSubNavigationState: () => void;
32
31
  navigationItemSafeTriangle?: NavigationItemSafeTriangle;
33
32
  autoClose?: boolean;
34
33
  };
@@ -1,5 +1,6 @@
1
1
  import { DBNavigationItemProps } from "./model";
2
2
  import { ClickEvent } from "../../shared/model";
3
+ import { EventEmitter } from "../../stencil-public-runtime";
3
4
  /**
4
5
  * @slot children - This is a default/unnamed slot
5
6
  * @slot subNavigation - TODO: Add description for slotSubNavigation
@@ -7,7 +8,7 @@ import { ClickEvent } from "../../shared/model";
7
8
  export declare class DBNavigationItem {
8
9
  private _ref;
9
10
  subNavigationExpanded: DBNavigationItemProps["subNavigationExpanded"];
10
- onClick: any;
11
+ click: EventEmitter<Parameters<Required<DBNavigationItemProps>["onClick"]>[number]> | void;
11
12
  id: DBNavigationItemProps["id"];
12
13
  className: DBNavigationItemProps["className"];
13
14
  width: DBNavigationItemProps["width"];
@@ -26,9 +27,8 @@ export declare class DBNavigationItem {
26
27
  subNavigationId: string;
27
28
  navigationItemSafeTriangle: any;
28
29
  handleNavigationItemClick(event: unknown): void;
29
- handleClick(event: ClickEvent<HTMLButtonElement>): void;
30
- handleBackClick(event: ClickEvent<HTMLButtonElement>): void;
31
- updateSubNavigationState(): void;
30
+ handleClick(event: ClickEvent<HTMLButtonElement> | any): void;
31
+ handleBackClick(event: ClickEvent<HTMLButtonElement> | any): void;
32
32
  /**
33
33
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
34
34
  * @param element the ref for the component
@@ -15,7 +15,7 @@ export type DBNotificationDefaultProps = {
15
15
  /**
16
16
  * The closeable attribute shows/hides the close button on the top right.
17
17
  */
18
- closeable?: boolean;
18
+ closeable?: boolean | string;
19
19
  /**
20
20
  * The headline attribute changes the text of the bold headline.
21
21
  */
@@ -35,7 +35,7 @@ export type DBNotificationDefaultProps = {
35
35
  /**
36
36
  * Enables or disables the visibility of the headline.
37
37
  */
38
- showHeadline?: boolean;
38
+ showHeadline?: boolean | string;
39
39
  /**
40
40
  * The timestamp attribute can be set for overlay notifications
41
41
  */
@@ -43,7 +43,7 @@ export type DBNotificationDefaultProps = {
43
43
  /**
44
44
  * Enables or disables the visibility of the timestamp.
45
45
  */
46
- showTimestamp?: boolean;
46
+ showTimestamp?: boolean | string;
47
47
  /**
48
48
  * The variant attribute changes the styling of the notification.
49
49
  * The docked notifications are used e.g. between header and main content to show a global alert.
@@ -1,5 +1,6 @@
1
1
  import { DBNotificationProps } from "./model";
2
2
  import { ClickEvent } from "../../shared/model";
3
+ import { EventEmitter } from "../../stencil-public-runtime";
3
4
  /**
4
5
  * @slot children - This is a default/unnamed slot
5
6
  * @slot image - TODO: Add description for slotImage
@@ -7,7 +8,7 @@ import { ClickEvent } from "../../shared/model";
7
8
  */
8
9
  export declare class DBNotification {
9
10
  private _ref;
10
- onClose: any;
11
+ close: EventEmitter<Parameters<Required<DBNotificationProps>["onClose"]>[number]> | void;
11
12
  id: DBNotificationProps["id"];
12
13
  className: DBNotificationProps["className"];
13
14
  ariaLive: DBNotificationProps["ariaLive"];
@@ -24,7 +25,7 @@ export declare class DBNotification {
24
25
  closeable: DBNotificationProps["closeable"];
25
26
  closeButtonId: DBNotificationProps["closeButtonId"];
26
27
  closeButtonText: DBNotificationProps["closeButtonText"];
27
- handleClose(event: ClickEvent<HTMLButtonElement>): void;
28
+ handleClose(event: ClickEvent<HTMLButtonElement> | any): void;
28
29
  /**
29
30
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
30
31
  * @param element the ref for the component
@@ -11,7 +11,7 @@ export type DBPageDefaultProps = {
11
11
  /**
12
12
  * Set this to have a transition with opacity to avoid layout-shifts https://simonhearne.com/2021/layout-shifts-webfonts/
13
13
  */
14
- fadeIn?: boolean;
14
+ fadeIn?: boolean | string;
15
15
  /**
16
16
  * The slot can be used for React to set a footer.
17
17
  */