@db-ux/wc-core-components 4.9.0-stencil-bundle-ad37ca4 → 4.9.1

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 (346) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/README.md +0 -20
  3. package/dist/cjs/db-accordion-item.cjs.entry.js +4 -25
  4. package/dist/cjs/db-accordion.cjs.entry.js +3 -10
  5. package/dist/cjs/db-badge.cjs.entry.js +3 -10
  6. package/dist/cjs/db-brand.cjs.entry.js +3 -10
  7. package/dist/cjs/db-button.cjs.entry.js +3 -10
  8. package/dist/cjs/db-card.cjs.entry.js +3 -10
  9. package/dist/cjs/db-checkbox.cjs.entry.js +3 -10
  10. package/dist/cjs/db-custom-button.cjs.entry.js +3 -10
  11. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -45
  12. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -10
  13. package/dist/cjs/db-custom-select.cjs.entry.js +6 -13
  14. package/dist/cjs/db-divider.cjs.entry.js +2 -9
  15. package/dist/cjs/db-drawer.cjs.entry.js +7 -14
  16. package/dist/cjs/db-header.cjs.entry.js +3 -10
  17. package/dist/cjs/db-icon.cjs.entry.js +3 -10
  18. package/dist/cjs/db-infotext.cjs.entry.js +3 -10
  19. package/dist/cjs/db-link.cjs.entry.js +3 -10
  20. package/dist/cjs/db-navigation-item.cjs.entry.js +3 -11
  21. package/dist/cjs/db-navigation.cjs.entry.js +3 -10
  22. package/dist/cjs/db-notification.cjs.entry.js +3 -10
  23. package/dist/cjs/db-page.cjs.entry.js +3 -10
  24. package/dist/cjs/db-popover.cjs.entry.js +3 -10
  25. package/dist/cjs/db-radio.cjs.entry.js +3 -10
  26. package/dist/cjs/db-section.cjs.entry.js +3 -10
  27. package/dist/cjs/db-select.cjs.entry.js +3 -10
  28. package/dist/cjs/db-stack.cjs.entry.js +3 -10
  29. package/dist/cjs/db-switch.cjs.entry.js +3 -10
  30. package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -28
  31. package/dist/cjs/db-tabs.cjs.entry.js +3 -10
  32. package/dist/cjs/db-textarea.cjs.entry.js +3 -10
  33. package/dist/cjs/db-tooltip.cjs.entry.js +3 -10
  34. package/dist/cjs/db-ux.cjs.js +2 -2
  35. package/dist/cjs/{index-DLuhzJ0p.js → index-BoC-BWt4.js} +0 -1
  36. package/dist/cjs/loader.cjs.js +2 -2
  37. package/dist/collection/components/accordion/accordion.js +2 -9
  38. package/dist/collection/components/accordion-item/accordion-item.js +4 -51
  39. package/dist/collection/components/badge/badge.js +2 -9
  40. package/dist/collection/components/brand/brand.js +2 -9
  41. package/dist/collection/components/button/button.js +3 -10
  42. package/dist/collection/components/card/card.js +3 -10
  43. package/dist/collection/components/checkbox/checkbox.js +3 -10
  44. package/dist/collection/components/custom-button/custom-button.js +2 -9
  45. package/dist/collection/components/custom-select/custom-select.js +6 -13
  46. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -9
  47. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -9
  48. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -9
  49. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -9
  50. package/dist/collection/components/divider/divider.js +1 -8
  51. package/dist/collection/components/drawer/drawer.js +8 -15
  52. package/dist/collection/components/header/header.js +13 -20
  53. package/dist/collection/components/icon/icon.js +2 -9
  54. package/dist/collection/components/infotext/infotext.js +2 -9
  55. package/dist/collection/components/input/input.js +3 -10
  56. package/dist/collection/components/link/link.js +2 -9
  57. package/dist/collection/components/navigation/navigation.js +2 -9
  58. package/dist/collection/components/navigation-item/navigation-item.js +3 -37
  59. package/dist/collection/components/notification/notification.js +3 -10
  60. package/dist/collection/components/page/page.js +2 -9
  61. package/dist/collection/components/popover/popover.js +2 -9
  62. package/dist/collection/components/radio/radio.js +3 -10
  63. package/dist/collection/components/section/section.js +2 -9
  64. package/dist/collection/components/select/select.js +3 -10
  65. package/dist/collection/components/stack/stack.js +2 -9
  66. package/dist/collection/components/switch/switch.js +3 -10
  67. package/dist/collection/components/tab-item/tab-item.js +3 -10
  68. package/dist/collection/components/tab-list/tab-list.js +2 -9
  69. package/dist/collection/components/tab-panel/tab-panel.js +2 -9
  70. package/dist/collection/components/tabs/tabs.js +3 -10
  71. package/dist/collection/components/tag/tag.js +3 -10
  72. package/dist/collection/components/textarea/textarea.js +3 -10
  73. package/dist/collection/components/tooltip/tooltip.js +2 -9
  74. package/dist/custom-elements.json +36 -2252
  75. package/dist/db-ux/db-ux.esm.js +1 -1
  76. package/dist/db-ux/p-1b5d76a8.entry.js +1 -0
  77. package/dist/db-ux/p-296f989b.entry.js +1 -0
  78. package/dist/db-ux/p-3ae13ff1.entry.js +1 -0
  79. package/dist/db-ux/p-43f94079.entry.js +1 -0
  80. package/dist/db-ux/p-54508bad.entry.js +1 -0
  81. package/dist/db-ux/p-55e8b0b4.entry.js +1 -0
  82. package/dist/db-ux/p-69a59559.entry.js +1 -0
  83. package/dist/db-ux/p-6e7126c6.entry.js +1 -0
  84. package/dist/db-ux/p-7bed4611.entry.js +1 -0
  85. package/dist/db-ux/p-8ce816c0.entry.js +1 -0
  86. package/dist/db-ux/p-8e080864.entry.js +1 -0
  87. package/dist/db-ux/p-K4o-AcjZ.js +2 -0
  88. package/dist/db-ux/p-a0eccc08.entry.js +1 -0
  89. package/dist/db-ux/p-a7c6ec23.entry.js +1 -0
  90. package/dist/db-ux/p-a82c9875.entry.js +1 -0
  91. package/dist/db-ux/p-ae445d5d.entry.js +1 -0
  92. package/dist/db-ux/p-b33abf8d.entry.js +1 -0
  93. package/dist/db-ux/p-b8ab2bd4.entry.js +1 -0
  94. package/dist/db-ux/p-bb7c59d2.entry.js +1 -0
  95. package/dist/db-ux/p-bc510135.entry.js +1 -0
  96. package/dist/db-ux/p-c85d4be6.entry.js +1 -0
  97. package/dist/db-ux/p-d206ac6f.entry.js +1 -0
  98. package/dist/db-ux/p-e22b3725.entry.js +1 -0
  99. package/dist/db-ux/p-e432c81f.entry.js +1 -0
  100. package/dist/db-ux/p-e64606e2.entry.js +1 -0
  101. package/dist/db-ux/p-e8ee154f.entry.js +1 -0
  102. package/dist/db-ux/p-efb9d9bc.entry.js +1 -0
  103. package/dist/db-ux/p-f35229a1.entry.js +1 -0
  104. package/dist/db-ux/p-f582c886.entry.js +1 -0
  105. package/dist/db-ux/p-f6be9a48.entry.js +1 -0
  106. package/dist/db-ux/p-fb39506f.entry.js +1 -0
  107. package/dist/db-ux/p-fb9500ba.entry.js +1 -0
  108. package/dist/esm/db-accordion-item.entry.js +4 -25
  109. package/dist/esm/db-accordion.entry.js +3 -10
  110. package/dist/esm/db-badge.entry.js +3 -10
  111. package/dist/esm/db-brand.entry.js +3 -10
  112. package/dist/esm/db-button.entry.js +3 -10
  113. package/dist/esm/db-card.entry.js +3 -10
  114. package/dist/esm/db-checkbox.entry.js +3 -10
  115. package/dist/esm/db-custom-button.entry.js +3 -10
  116. package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -45
  117. package/dist/esm/db-custom-select-form-field.entry.js +3 -10
  118. package/dist/esm/db-custom-select.entry.js +6 -13
  119. package/dist/esm/db-divider.entry.js +2 -9
  120. package/dist/esm/db-drawer.entry.js +8 -15
  121. package/dist/esm/db-header.entry.js +3 -10
  122. package/dist/esm/db-icon.entry.js +3 -10
  123. package/dist/esm/db-infotext.entry.js +3 -10
  124. package/dist/esm/db-link.entry.js +3 -10
  125. package/dist/esm/db-navigation-item.entry.js +3 -11
  126. package/dist/esm/db-navigation.entry.js +3 -10
  127. package/dist/esm/db-notification.entry.js +3 -10
  128. package/dist/esm/db-page.entry.js +3 -10
  129. package/dist/esm/db-popover.entry.js +3 -10
  130. package/dist/esm/db-radio.entry.js +3 -10
  131. package/dist/esm/db-section.entry.js +3 -10
  132. package/dist/esm/db-select.entry.js +3 -10
  133. package/dist/esm/db-stack.entry.js +3 -10
  134. package/dist/esm/db-switch.entry.js +3 -10
  135. package/dist/esm/db-tab-item_3.entry.js +7 -28
  136. package/dist/esm/db-tabs.entry.js +3 -10
  137. package/dist/esm/db-textarea.entry.js +3 -10
  138. package/dist/esm/db-tooltip.entry.js +3 -10
  139. package/dist/esm/db-ux.js +3 -3
  140. package/dist/esm/{index-Cr2cgn5B.js → index-K4o-AcjZ.js} +1 -1
  141. package/dist/esm/loader.js +3 -3
  142. package/dist/types/components/accordion/accordion.d.ts +0 -1
  143. package/dist/types/components/accordion/model.d.ts +2 -2
  144. package/dist/types/components/accordion-item/accordion-item.d.ts +0 -4
  145. package/dist/types/components/accordion-item/model.d.ts +1 -5
  146. package/dist/types/components/badge/badge.d.ts +0 -1
  147. package/dist/types/components/badge/model.d.ts +1 -1
  148. package/dist/types/components/brand/brand.d.ts +0 -1
  149. package/dist/types/components/brand/model.d.ts +1 -1
  150. package/dist/types/components/button/button.d.ts +0 -1
  151. package/dist/types/components/button/model.d.ts +1 -1
  152. package/dist/types/components/card/card.d.ts +0 -1
  153. package/dist/types/components/card/model.d.ts +1 -1
  154. package/dist/types/components/checkbox/checkbox.d.ts +0 -1
  155. package/dist/types/components/checkbox/model.d.ts +1 -1
  156. package/dist/types/components/custom-button/custom-button.d.ts +0 -1
  157. package/dist/types/components/custom-button/model.d.ts +2 -2
  158. package/dist/types/components/custom-select/custom-select.d.ts +0 -1
  159. package/dist/types/components/custom-select/model.d.ts +4 -4
  160. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +0 -1
  161. package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
  162. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +0 -1
  163. package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
  164. package/dist/types/components/custom-select-list/custom-select-list.d.ts +0 -1
  165. package/dist/types/components/custom-select-list/model.d.ts +1 -1
  166. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +0 -1
  167. package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
  168. package/dist/types/components/divider/divider.d.ts +0 -1
  169. package/dist/types/components/divider/model.d.ts +1 -1
  170. package/dist/types/components/drawer/drawer.d.ts +0 -1
  171. package/dist/types/components/drawer/model.d.ts +1 -1
  172. package/dist/types/components/header/header.d.ts +2 -3
  173. package/dist/types/components/header/model.d.ts +1 -1
  174. package/dist/types/components/icon/icon.d.ts +0 -1
  175. package/dist/types/components/icon/model.d.ts +1 -1
  176. package/dist/types/components/infotext/infotext.d.ts +0 -1
  177. package/dist/types/components/infotext/model.d.ts +1 -1
  178. package/dist/types/components/input/input.d.ts +0 -1
  179. package/dist/types/components/input/model.d.ts +1 -1
  180. package/dist/types/components/link/link.d.ts +0 -1
  181. package/dist/types/components/link/model.d.ts +1 -1
  182. package/dist/types/components/navigation/model.d.ts +1 -1
  183. package/dist/types/components/navigation/navigation.d.ts +0 -1
  184. package/dist/types/components/navigation-item/model.d.ts +2 -6
  185. package/dist/types/components/navigation-item/navigation-item.d.ts +0 -2
  186. package/dist/types/components/notification/model.d.ts +1 -1
  187. package/dist/types/components/notification/notification.d.ts +0 -1
  188. package/dist/types/components/page/model.d.ts +1 -1
  189. package/dist/types/components/page/page.d.ts +0 -1
  190. package/dist/types/components/popover/model.d.ts +1 -1
  191. package/dist/types/components/popover/popover.d.ts +0 -1
  192. package/dist/types/components/radio/model.d.ts +1 -1
  193. package/dist/types/components/radio/radio.d.ts +0 -1
  194. package/dist/types/components/section/model.d.ts +1 -1
  195. package/dist/types/components/section/section.d.ts +0 -1
  196. package/dist/types/components/select/model.d.ts +1 -1
  197. package/dist/types/components/select/select.d.ts +0 -1
  198. package/dist/types/components/stack/model.d.ts +1 -1
  199. package/dist/types/components/stack/stack.d.ts +0 -1
  200. package/dist/types/components/switch/model.d.ts +1 -1
  201. package/dist/types/components/switch/switch.d.ts +0 -1
  202. package/dist/types/components/tab-item/model.d.ts +1 -1
  203. package/dist/types/components/tab-item/tab-item.d.ts +0 -1
  204. package/dist/types/components/tab-list/model.d.ts +1 -1
  205. package/dist/types/components/tab-list/tab-list.d.ts +0 -1
  206. package/dist/types/components/tab-panel/model.d.ts +1 -1
  207. package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
  208. package/dist/types/components/tabs/model.d.ts +3 -3
  209. package/dist/types/components/tabs/tabs.d.ts +0 -1
  210. package/dist/types/components/tag/model.d.ts +1 -1
  211. package/dist/types/components/tag/tag.d.ts +0 -1
  212. package/dist/types/components/textarea/model.d.ts +1 -1
  213. package/dist/types/components/textarea/textarea.d.ts +0 -1
  214. package/dist/types/components/tooltip/model.d.ts +1 -1
  215. package/dist/types/components/tooltip/tooltip.d.ts +0 -1
  216. package/dist/types/components.d.ts +1 -7
  217. package/dist/vscode.html-custom-data.json +6 -16
  218. package/dist/web-types.json +248 -1032
  219. package/package.json +7 -13
  220. package/bundle/db-accordion-item.d.ts +0 -11
  221. package/bundle/db-accordion-item.js +0 -1
  222. package/bundle/db-accordion.d.ts +0 -11
  223. package/bundle/db-accordion.js +0 -1
  224. package/bundle/db-badge.d.ts +0 -11
  225. package/bundle/db-badge.js +0 -1
  226. package/bundle/db-brand.d.ts +0 -11
  227. package/bundle/db-brand.js +0 -1
  228. package/bundle/db-button.d.ts +0 -11
  229. package/bundle/db-button.js +0 -1
  230. package/bundle/db-card.d.ts +0 -11
  231. package/bundle/db-card.js +0 -1
  232. package/bundle/db-checkbox.d.ts +0 -11
  233. package/bundle/db-checkbox.js +0 -1
  234. package/bundle/db-custom-button.d.ts +0 -11
  235. package/bundle/db-custom-button.js +0 -1
  236. package/bundle/db-custom-select-dropdown.d.ts +0 -11
  237. package/bundle/db-custom-select-dropdown.js +0 -1
  238. package/bundle/db-custom-select-form-field.d.ts +0 -11
  239. package/bundle/db-custom-select-form-field.js +0 -1
  240. package/bundle/db-custom-select-list-item.d.ts +0 -11
  241. package/bundle/db-custom-select-list-item.js +0 -1
  242. package/bundle/db-custom-select-list.d.ts +0 -11
  243. package/bundle/db-custom-select-list.js +0 -1
  244. package/bundle/db-custom-select.d.ts +0 -11
  245. package/bundle/db-custom-select.js +0 -1
  246. package/bundle/db-divider.d.ts +0 -11
  247. package/bundle/db-divider.js +0 -1
  248. package/bundle/db-drawer.d.ts +0 -11
  249. package/bundle/db-drawer.js +0 -1
  250. package/bundle/db-header.d.ts +0 -11
  251. package/bundle/db-header.js +0 -1
  252. package/bundle/db-icon.d.ts +0 -11
  253. package/bundle/db-icon.js +0 -1
  254. package/bundle/db-infotext.d.ts +0 -11
  255. package/bundle/db-infotext.js +0 -1
  256. package/bundle/db-input.d.ts +0 -11
  257. package/bundle/db-input.js +0 -1
  258. package/bundle/db-link.d.ts +0 -11
  259. package/bundle/db-link.js +0 -1
  260. package/bundle/db-navigation-item.d.ts +0 -11
  261. package/bundle/db-navigation-item.js +0 -1
  262. package/bundle/db-navigation.d.ts +0 -11
  263. package/bundle/db-navigation.js +0 -1
  264. package/bundle/db-notification.d.ts +0 -11
  265. package/bundle/db-notification.js +0 -1
  266. package/bundle/db-page.d.ts +0 -11
  267. package/bundle/db-page.js +0 -1
  268. package/bundle/db-popover.d.ts +0 -11
  269. package/bundle/db-popover.js +0 -1
  270. package/bundle/db-radio.d.ts +0 -11
  271. package/bundle/db-radio.js +0 -1
  272. package/bundle/db-section.d.ts +0 -11
  273. package/bundle/db-section.js +0 -1
  274. package/bundle/db-select.d.ts +0 -11
  275. package/bundle/db-select.js +0 -1
  276. package/bundle/db-stack.d.ts +0 -11
  277. package/bundle/db-stack.js +0 -1
  278. package/bundle/db-switch.d.ts +0 -11
  279. package/bundle/db-switch.js +0 -1
  280. package/bundle/db-tab-item.d.ts +0 -11
  281. package/bundle/db-tab-item.js +0 -1
  282. package/bundle/db-tab-list.d.ts +0 -11
  283. package/bundle/db-tab-list.js +0 -1
  284. package/bundle/db-tab-panel.d.ts +0 -11
  285. package/bundle/db-tab-panel.js +0 -1
  286. package/bundle/db-tabs.d.ts +0 -11
  287. package/bundle/db-tabs.js +0 -1
  288. package/bundle/db-tag.d.ts +0 -11
  289. package/bundle/db-tag.js +0 -1
  290. package/bundle/db-textarea.d.ts +0 -11
  291. package/bundle/db-textarea.js +0 -1
  292. package/bundle/db-tooltip.d.ts +0 -11
  293. package/bundle/db-tooltip.js +0 -1
  294. package/bundle/index.d.ts +0 -47
  295. package/bundle/index.js +0 -1
  296. package/bundle/p-4nwUOzw7.js +0 -1
  297. package/bundle/p-6tgjpFiy.js +0 -1
  298. package/bundle/p-B8jmHdeH.js +0 -1
  299. package/bundle/p-BNhyPF1P.js +0 -1
  300. package/bundle/p-BPzP5Ag7.js +0 -1
  301. package/bundle/p-BdL-nI5y.js +0 -1
  302. package/bundle/p-BuBrj57D.js +0 -1
  303. package/bundle/p-BwS8XkPq.js +0 -1
  304. package/bundle/p-C0grS8Im.js +0 -1
  305. package/bundle/p-CCbaTFJ9.js +0 -1
  306. package/bundle/p-CSPKOJ_Q.js +0 -1
  307. package/bundle/p-C_uuq4ru.js +0 -1
  308. package/bundle/p-CeC-MQcb.js +0 -1
  309. package/bundle/p-Cp42j14z.js +0 -1
  310. package/bundle/p-D4Ym01qf.js +0 -1
  311. package/bundle/p-DOPXnIzL.js +0 -1
  312. package/bundle/p-DaaF73NV.js +0 -1
  313. package/bundle/p-DegvpGo6.js +0 -1
  314. package/bundle/p-yTv_0IMq.js +0 -1
  315. package/dist/db-ux/p-00ea76cf.entry.js +0 -1
  316. package/dist/db-ux/p-047341c9.entry.js +0 -1
  317. package/dist/db-ux/p-066fa23a.entry.js +0 -1
  318. package/dist/db-ux/p-0f8989b4.entry.js +0 -1
  319. package/dist/db-ux/p-25b715ae.entry.js +0 -1
  320. package/dist/db-ux/p-2df1300b.entry.js +0 -1
  321. package/dist/db-ux/p-3327169e.entry.js +0 -1
  322. package/dist/db-ux/p-419f8c38.entry.js +0 -1
  323. package/dist/db-ux/p-4249b49a.entry.js +0 -1
  324. package/dist/db-ux/p-44043bdb.entry.js +0 -1
  325. package/dist/db-ux/p-45e3b8c6.entry.js +0 -1
  326. package/dist/db-ux/p-47b8ce97.entry.js +0 -1
  327. package/dist/db-ux/p-692c892c.entry.js +0 -1
  328. package/dist/db-ux/p-6ca6258f.entry.js +0 -1
  329. package/dist/db-ux/p-6e2b82d0.entry.js +0 -1
  330. package/dist/db-ux/p-74a2dd1a.entry.js +0 -1
  331. package/dist/db-ux/p-78a2617f.entry.js +0 -1
  332. package/dist/db-ux/p-820c2ca9.entry.js +0 -1
  333. package/dist/db-ux/p-8894c1da.entry.js +0 -1
  334. package/dist/db-ux/p-8c7085d4.entry.js +0 -1
  335. package/dist/db-ux/p-9afcb916.entry.js +0 -1
  336. package/dist/db-ux/p-9e61d181.entry.js +0 -1
  337. package/dist/db-ux/p-Cr2cgn5B.js +0 -2
  338. package/dist/db-ux/p-a15fbd28.entry.js +0 -1
  339. package/dist/db-ux/p-cd1f41e9.entry.js +0 -1
  340. package/dist/db-ux/p-cd990388.entry.js +0 -1
  341. package/dist/db-ux/p-d1d119b6.entry.js +0 -1
  342. package/dist/db-ux/p-d5bc9beb.entry.js +0 -1
  343. package/dist/db-ux/p-e57bd4f0.entry.js +0 -1
  344. package/dist/db-ux/p-e9dd1674.entry.js +0 -1
  345. package/dist/db-ux/p-f904f3a1.entry.js +0 -1
  346. package/dist/db-ux/p-fb69c11a.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
2
2
  import { cls, getBoolean, getBooleanAsString, getNotificationRole, stringPropVisible, } from "../../utils";
3
- import { h } from "@stencil/core";
3
+ import { h, } from "@stencil/core";
4
4
  /**
5
5
  * @slot children - This is a default/unnamed slot
6
6
  * @slot image - TODO: Add description for slotImage
@@ -52,23 +52,17 @@ export class DBNotification {
52
52
  }
53
53
  }
54
54
  componentDidLoad() {
55
- if (document && this.rootElement && this.rootElement.dataset.connect) {
56
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
57
- if (connectedElement) {
58
- connectedElement.remove();
59
- }
60
- }
61
55
  this.enableAttributePassing(this._ref, "db-notification");
62
56
  }
63
57
  render() {
64
58
  var _a, _b, _c;
65
- return (h("div", { key: '0d4d39ebc130e097f329e317fa110513f57f4a99', class: cls("db-notification", this.className), ref: (el) => {
59
+ return (h("div", { key: 'd7087027be76900f33941e4680afa30f8b008985', class: cls("db-notification", this.className), ref: (el) => {
66
60
  this._ref = el;
67
61
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: getNotificationRole({
68
62
  semantic: this.semantic,
69
63
  role: this.role,
70
64
  ariaLive: this.ariaLive,
71
- }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: 'b055c65a89ed587312a85c263e82638137312932', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", { "data-area": "head" }, this.headline)) : null, h("div", { key: 'ba273fa5ec9f47b4a8ef689cdca3f4dca41082d3', "data-area": "content" }, this.text ? this.text : null, h("slot", { key: '42dcc387673e1b7a3f276992cf5c407d7932980b' })), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, h("slot", { key: 'e027a8a1d3e4944b58f57f3546f217e49c7d80d2', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
65
+ }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '014b063b231b29070ae428befe3fa5703e1a763a', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", { "data-area": "head" }, this.headline)) : null, h("div", { key: 'a6b0eb3a228d5788425916888d33b8425c261a47', "data-area": "content" }, this.text ? this.text : null, h("slot", { key: 'da393b44aa81d021b12053d637cbdd5c6586f548' })), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, h("slot", { key: '6d7c1d9da27fddd2ca59d50f00628d6aaf4e4c09', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
72
66
  }
73
67
  static get is() { return "db-notification"; }
74
68
  static get properties() {
@@ -585,5 +579,4 @@ export class DBNotification {
585
579
  }
586
580
  }];
587
581
  }
588
- static get elementRef() { return "rootElement"; }
589
582
  }
@@ -46,12 +46,6 @@ export class DBPage {
46
46
  }
47
47
  }
48
48
  componentDidLoad() {
49
- if (document && this.rootElement && this.rootElement.dataset.connect) {
50
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
51
- if (connectedElement) {
52
- connectedElement.remove();
53
- }
54
- }
55
49
  this.enableAttributePassing(this._ref, "db-page");
56
50
  this.fontsLoaded = !this.fadeIn;
57
51
  if (document && this.fadeIn) {
@@ -72,9 +66,9 @@ export class DBPage {
72
66
  }
73
67
  render() {
74
68
  var _a, _b;
75
- return (h("div", { key: '518b37e3ee5f2ae697550a1dda82b4f206cc9d4f', class: cls("db-page", this.className), ref: (el) => {
69
+ return (h("div", { key: 'b0ddc76aaed427b7c203d76bbb5b09be304b8134', class: cls("db-page", this.className), ref: (el) => {
76
70
  this._ref = el;
77
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: 'd0121b1607e191419b262b201f5d253835c9718e', name: "header" }), h("main", { key: '8a8f8ff82911df4c6dea9dea0a34913913f9630f', class: cls("db-main", this.mainClass) }, h("slot", { key: '13193a68fb3d004d8eda150a0104f0c31cd37cf5' })), h("slot", { key: '88ed18413a826bdb380ebbe8bd5a5accecae3f56', name: "footer" })));
71
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '6915333868fc61aaf327ae43fe6f967706972032', name: "header" }), h("main", { key: '20588c0501715204c8a87cff378ba7994caae76c', class: cls("db-main", this.mainClass) }, h("slot", { key: '9a52cdaf9c2673630855a455a101f75f065cbdd8' })), h("slot", { key: 'ff8faa06197c83675bf81d18b34d0db9019a664f', name: "footer" })));
78
72
  }
79
73
  static get is() { return "db-page"; }
80
74
  static get properties() {
@@ -266,5 +260,4 @@ export class DBPage {
266
260
  "fontsLoaded": {}
267
261
  };
268
262
  }
269
- static get elementRef() { return "rootElement"; }
270
263
  }
@@ -163,12 +163,6 @@ export class DBPopover {
163
163
  this.watch1Fn();
164
164
  }
165
165
  componentDidLoad() {
166
- if (document && this.rootElement && this.rootElement.dataset.connect) {
167
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
168
- if (connectedElement) {
169
- connectedElement.remove();
170
- }
171
- }
172
166
  this.enableAttributePassing(this._ref, "db-popover");
173
167
  this.initialized = true;
174
168
  this.watch0Fn();
@@ -176,9 +170,9 @@ export class DBPopover {
176
170
  }
177
171
  render() {
178
172
  var _a, _b, _c;
179
- return (h("div", { key: '20e1334c07f60e39c2e3c062a9443ce1a8e1b9f8', class: cls("db-popover", this.className), ref: (el) => {
173
+ return (h("div", { key: '390b82916a04a39f602efb0a05d8702d51da4526', class: cls("db-popover", this.className), ref: (el) => {
180
174
  this._ref = el;
181
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '0e8750e48a95aa04c112b3587e35031606ee5f1d', name: "trigger" }), h("article", { key: '9879ea99e0de3b68e71a61ccfa037f5414d3e7be', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '88d5060baa93a8e3ee94bc2359f650942a9bc646' }))));
175
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '17b12e9a5be220fedfa3ebe8f2bbb47ad1f1fb2f', name: "trigger" }), h("article", { key: '9b1cf4ce7cc66f558dd87b5cc6e3ca9a007bf1af', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '2e3a7edf39f6027ea34791b1b88668c081f03ba3' }))));
182
176
  }
183
177
  static get is() { return "db-popover"; }
184
178
  static get properties() {
@@ -451,7 +445,6 @@ export class DBPopover {
451
445
  "_observer": {}
452
446
  };
453
447
  }
454
- static get elementRef() { return "rootElement"; }
455
448
  static get watchers() {
456
449
  return [{
457
450
  "propName": "_ref",
@@ -1,6 +1,6 @@
1
1
  import { cls, delay, getBoolean, getHideProp, uuid } from "../../utils";
2
2
  import { addResetEventListener, } from "../../utils/form-components";
3
- import { h } from "@stencil/core";
3
+ import { h, } from "@stencil/core";
4
4
  /**
5
5
  * @slot children - This is a default/unnamed slot
6
6
 
@@ -114,12 +114,6 @@ export class DBRadio {
114
114
  this.watch2Fn();
115
115
  }
116
116
  componentDidLoad() {
117
- if (document && this.rootElement && this.rootElement.dataset.connect) {
118
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
119
- if (connectedElement) {
120
- connectedElement.remove();
121
- }
122
- }
123
117
  this.enableAttributePassing(this._ref, "db-radio");
124
118
  this.initialized = true;
125
119
  this.resetIds();
@@ -132,9 +126,9 @@ export class DBRadio {
132
126
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
133
127
  }
134
128
  render() {
135
- return (h("label", { key: '9d418650d3519f1f04d9e02886c05c48a4596c80', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '5ab519480c0a6a9e72c3d9d2c0a15aa309ef1812', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
129
+ return (h("label", { key: 'a2b7dddcac7e055e558436ed57c1c6997916a8c0', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '02a94a4237ed5984ce14ab684d981e9676ad68e4', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
136
130
  this._ref = el;
137
- }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : null, h("slot", { key: '2dc8b144785b69bb7a6f8f193c63a2692b58803a' })));
131
+ }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : null, h("slot", { key: '3b430b5725a3d8c27c71e4937e009bc9da2eb1ef' })));
138
132
  }
139
133
  static get is() { return "db-radio"; }
140
134
  static get properties() {
@@ -547,7 +541,6 @@ export class DBRadio {
547
541
  }
548
542
  }];
549
543
  }
550
- static get elementRef() { return "rootElement"; }
551
544
  static get watchers() {
552
545
  return [{
553
546
  "propName": "id",
@@ -42,19 +42,13 @@ export class DBSection {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
- if (document && this.rootElement && this.rootElement.dataset.connect) {
46
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
- if (connectedElement) {
48
- connectedElement.remove();
49
- }
50
- }
51
45
  this.enableAttributePassing(this._ref, "db-section");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("section", { key: '077608b4386da874e150ae781d68cf327ca1f7b1', class: cls("db-section", this.className), ref: (el) => {
49
+ return (h("section", { key: '8e4972331d6f10d78c705481dab9d7a7336bd5fd', class: cls("db-section", this.className), ref: (el) => {
56
50
  this._ref = el;
57
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'c65445163894b42fa8193204d8b0aa09a978854c' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'e495f7247f9da72811055148e4a0a73489a10516' })));
58
52
  }
59
53
  static get is() { return "db-section"; }
60
54
  static get properties() {
@@ -189,5 +183,4 @@ export class DBSection {
189
183
  }
190
184
  };
191
185
  }
192
- static get elementRef() { return "rootElement"; }
193
186
  }
@@ -1,7 +1,7 @@
1
1
  import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
2
2
  import { cls, delay, getBoolean, getBooleanAsString, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
3
3
  import { addValueResetEventListener, } from "../../utils/form-components";
4
- import { h, Fragment } from "@stencil/core";
4
+ import { h, Fragment, } from "@stencil/core";
5
5
  /**
6
6
  * @slot children - This is a default/unnamed slot
7
7
 
@@ -217,12 +217,6 @@ export class DBSelect {
217
217
  this.watch4Fn();
218
218
  }
219
219
  componentDidLoad() {
220
- if (document && this.rootElement && this.rootElement.dataset.connect) {
221
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
222
- if (connectedElement) {
223
- connectedElement.remove();
224
- }
225
- }
226
220
  this.enableAttributePassing(this._ref, "db-select");
227
221
  this.initialized = true;
228
222
  this.resetIds();
@@ -239,14 +233,14 @@ export class DBSelect {
239
233
  }
240
234
  render() {
241
235
  var _a, _b, _c, _d, _e, _f;
242
- return (h("div", { key: '6346d1b982d0b8121aab8096ab61c26ee4fe7e97', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '412b228a891898dd24984138e4d10cfdd9778cfe', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: 'd9291804595db8fcad2c522041b8d23ae84441e1', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
236
+ return (h("div", { key: '447466cea315310bff6793d9357323b45d4db313', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'bc9ee1c59c21a1ec52dc96e1aecc9892ef5b29ac', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '10e6f2c0ebedb72cbbcae2e78133353bd646eee8', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
243
237
  this._ref = el;
244
238
  }, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
245
239
  /* @ts-ignore */
246
240
  value: (_c = (_b = this.value) !== null && _b !== void 0 ? _b : this._value) !== null && _c !== void 0 ? _c : undefined, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_e = this.options) === null || _e === void 0 ? void 0 : _e.length) ? ((_f = this.options) === null || _f === void 0 ? void 0 : _f.map((option) => {
247
241
  var _a;
248
242
  return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
249
- })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : 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: '55f1ef08d92af492908f800676e59b89e55c355f', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'ded51f0bb47424d26cc3e73f55ab5449fdbc37df', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
243
+ })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : 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: '186aaf564139c38963f7f448c15e8e1760e2b41c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'c0fd12cd115acb62a4d3bf13dc8572b80c386d67', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
250
244
  }
251
245
  static get is() { return "db-select"; }
252
246
  static get properties() {
@@ -1018,7 +1012,6 @@ export class DBSelect {
1018
1012
  }
1019
1013
  }];
1020
1014
  }
1021
- static get elementRef() { return "rootElement"; }
1022
1015
  static get watchers() {
1023
1016
  return [{
1024
1017
  "propName": "id",
@@ -42,19 +42,13 @@ export class DBStack {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
- if (document && this.rootElement && this.rootElement.dataset.connect) {
46
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
- if (connectedElement) {
48
- connectedElement.remove();
49
- }
50
- }
51
45
  this.enableAttributePassing(this._ref, "db-stack");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("div", { key: 'fc65f2b3062bbb50d1ca97d612ad123bed704af4', class: cls("db-stack", this.className), ref: (el) => {
49
+ return (h("div", { key: 'f439616a1745c8702c736c26a66e4714aaf1600c', class: cls("db-stack", this.className), ref: (el) => {
56
50
  this._ref = el;
57
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: '3f19936c1c863ef6d09fa3deb1d2ea80b0053891' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: '4af45aa4cfbd6749552219a765575c2852f50d8c' })));
58
52
  }
59
53
  static get is() { return "db-stack"; }
60
54
  static get properties() {
@@ -293,5 +287,4 @@ export class DBStack {
293
287
  }
294
288
  };
295
289
  }
296
- static get elementRef() { return "rootElement"; }
297
290
  }
@@ -1,7 +1,7 @@
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
2
  import { cls, delay, getBoolean, getBooleanAsString, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
3
3
  import { addCheckedResetEventListener, } from "../../utils/form-components";
4
- import { h } from "@stencil/core";
4
+ import { h, } from "@stencil/core";
5
5
  /**
6
6
  * @slot children - This is a default/unnamed slot
7
7
 
@@ -170,12 +170,6 @@ export class DBSwitch {
170
170
  this.watch3Fn();
171
171
  }
172
172
  componentDidLoad() {
173
- if (document && this.rootElement && this.rootElement.dataset.connect) {
174
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
175
- if (connectedElement) {
176
- connectedElement.remove();
177
- }
178
- }
179
173
  this.enableAttributePassing(this._ref, "db-switch");
180
174
  this.resetIds();
181
175
  this.handleValidation();
@@ -191,9 +185,9 @@ export class DBSwitch {
191
185
  }
192
186
  render() {
193
187
  var _a, _b;
194
- return (h("div", { key: '517f8977696ff0a5fa9b4cd2550a27e7a2c65c31', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: '486d38b24850f15c1860988e80be5b835a12da45', htmlFor: this._id }, h("input", { key: '8fbf21672a90198fd595f9d545f05625aa242296', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
188
+ return (h("div", { key: '16ac24d631269141f33f1b39599069ad2e017406', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: 'be173c17f4add60b39cc9330ddf1968f10398583', htmlFor: this._id }, h("input", { key: '93aba7e5ef958c1af292702c46503b57c8511109', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
195
189
  this._ref = el;
196
- }, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : null, h("slot", { key: '30d99144636a85abeacfcb440f46aeb2e757320a' })), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '885acc53bfbe32469670a576d05fbfe93af47e17', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'a2c8967eeb524b1bdbea032acceaa6978410477f', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
190
+ }, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : null, h("slot", { key: '35c866ff32882b21ab76d4db464674b688aa371f' })), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '2663da2147e782beb93274145056a32fcc91b7bb', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'a71eedca841f4d30e2844fa4904d8558a7dc1790', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
197
191
  }
198
192
  static get is() { return "db-switch"; }
199
193
  static get properties() {
@@ -856,7 +850,6 @@ export class DBSwitch {
856
850
  }
857
851
  }];
858
852
  }
859
- static get elementRef() { return "rootElement"; }
860
853
  static get watchers() {
861
854
  return [{
862
855
  "propName": "id",
@@ -1,5 +1,5 @@
1
1
  import { cls, getBoolean, getBooleanAsString } from "../../utils";
2
- import { h } from "@stencil/core";
2
+ import { h, } from "@stencil/core";
3
3
  /**
4
4
  * @slot children - This is a default/unnamed slot
5
5
 
@@ -97,12 +97,6 @@ export class DBTabItem {
97
97
  this.watch1Fn();
98
98
  }
99
99
  componentDidLoad() {
100
- if (document && this.rootElement && this.rootElement.dataset.connect) {
101
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
102
- if (connectedElement) {
103
- connectedElement.remove();
104
- }
105
- }
106
100
  this.enableAttributePassing(this._ref, "db-tab-item");
107
101
  this.boundSetSelectedOnChange = this.setSelectedOnChange.bind(this);
108
102
  this.initialized = true;
@@ -119,9 +113,9 @@ export class DBTabItem {
119
113
  }
120
114
  render() {
121
115
  var _a, _b, _c, _d, _e, _f;
122
- return (h("li", { key: 'ec827de5b15f81602f50b457d2a33f78993af5f4', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: 'b548f22b43c928a3fb8b60c0777db9c37432748d', htmlFor: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-icon-trailing": this.iconTrailing, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-no-text": getBooleanAsString(this.noText) }, h("input", { key: '8fb6d65013be1d36a7a77615c127bec7f87901fd', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
116
+ return (h("li", { key: '5a67c1ada61e7ef397389486b04f4db9e157f08b', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: '45bb037d9acfb8d69fb953f2b84b513b57ac9f80', htmlFor: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-icon-trailing": this.iconTrailing, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-no-text": getBooleanAsString(this.noText) }, h("input", { key: '3183817d6b6028b40416d12eaa2de60e9e28a36e', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
123
117
  this._ref = el;
124
- }, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: '4907558dbd28b9b27084cb67cd8ced4c6505f77e' }))));
118
+ }, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: 'a0126930f1705e33cc929b2fb8e7e92e811b8a16' }))));
125
119
  }
126
120
  static get is() { return "db-tab-item"; }
127
121
  static get properties() {
@@ -543,7 +537,6 @@ export class DBTabItem {
543
537
  }
544
538
  }];
545
539
  }
546
- static get elementRef() { return "rootElement"; }
547
540
  static get watchers() {
548
541
  return [{
549
542
  "propName": "_ref",
@@ -42,19 +42,13 @@ export class DBTabList {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
- if (document && this.rootElement && this.rootElement.dataset.connect) {
46
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
- if (connectedElement) {
48
- connectedElement.remove();
49
- }
50
- }
51
45
  this.enableAttributePassing(this._ref, "db-tab-list");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("div", { key: '607a8bfa67853c7b542f68713ffef85bd7329dbc', class: cls("db-tab-list", this.className), ref: (el) => {
49
+ return (h("div", { key: '106039ad39acd9349758b04b95fdf63f371bdfd8', class: cls("db-tab-list", this.className), ref: (el) => {
56
50
  this._ref = el;
57
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: 'c626b26ce4196d0bfee4c1ae418e3cc8763fb990', role: "tablist" }, h("slot", { key: 'b53e0cccff385c66cb13141b219f4ecfba9478eb' }))));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: 'e65fa1a76b3bec154c44d3c861b38a4fc26ca1a5', role: "tablist" }, h("slot", { key: '9629b9adc5d33818001e7964d4bdbcaf16086fee' }))));
58
52
  }
59
53
  static get is() { return "db-tab-list"; }
60
54
  static get properties() {
@@ -137,5 +131,4 @@ export class DBTabList {
137
131
  }
138
132
  };
139
133
  }
140
- static get elementRef() { return "rootElement"; }
141
134
  }
@@ -42,19 +42,13 @@ export class DBTabPanel {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
- if (document && this.rootElement && this.rootElement.dataset.connect) {
46
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
- if (connectedElement) {
48
- connectedElement.remove();
49
- }
50
- }
51
45
  this.enableAttributePassing(this._ref, "db-tab-panel");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("section", { key: '30a23c08975f1b34d62de0bf8333c97609aabb76', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
49
+ return (h("section", { key: 'fda64a520ea6a82df55e61185716f9e2c511b935', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
56
50
  this._ref = el;
57
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: '42e8a4206b1b7b30601e705b41a8b73fbf832b45' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: 'f74577ac32a4ed2f463d9dd6114eec74935bd7dc' })));
58
52
  }
59
53
  static get is() { return "db-tab-panel"; }
60
54
  static get properties() {
@@ -163,5 +157,4 @@ export class DBTabPanel {
163
157
  }
164
158
  };
165
159
  }
166
- static get elementRef() { return "rootElement"; }
167
160
  }
@@ -1,5 +1,5 @@
1
1
  import { cls, uuid } from "../../utils";
2
- import { h, Fragment } from "@stencil/core";
2
+ import { h, Fragment, } from "@stencil/core";
3
3
  /**
4
4
  * @slot children - This is a default/unnamed slot
5
5
 
@@ -194,12 +194,6 @@ export class DBTabs {
194
194
  this.watch0Fn();
195
195
  }
196
196
  componentDidLoad() {
197
- if (document && this.rootElement && this.rootElement.dataset.connect) {
198
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
199
- if (connectedElement) {
200
- connectedElement.remove();
201
- }
202
- }
203
197
  this.enableAttributePassing(this._ref, "db-tabs");
204
198
  this._name = `tabs-${this.name || uuid()}`;
205
199
  this.initialized = true;
@@ -212,10 +206,10 @@ export class DBTabs {
212
206
  }
213
207
  render() {
214
208
  var _a, _b, _c, _d, _e, _f;
215
- return (h("div", { key: 'd0d6831c1e896bb8fabb8be4e7acdfd980bfa7f4', class: cls("db-tabs", this.className), ref: (el) => {
209
+ return (h("div", { key: '8acc1ff6e9231d38b5760877c2d698e442b3efa2', class: cls("db-tabs", this.className), ref: (el) => {
216
210
  this._ref = el;
217
211
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_c = this.alignment) !== null && _c !== void 0 ? _c : "start", "data-width": (_d = this.width) !== null && _d !== void 0 ? _d : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (h(Fragment, null, h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index) => (h("db-tab-item", { key: this.name + "tab-item" + index, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
218
- _f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '57f1aa5516d892c94edc1a898676acee00cca0ce' })));
212
+ _f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '98d86feb33b7d73786eabd6aa6275103cac762ba' })));
219
213
  }
220
214
  static get is() { return "db-tabs"; }
221
215
  static get properties() {
@@ -575,7 +569,6 @@ export class DBTabs {
575
569
  }
576
570
  }];
577
571
  }
578
- static get elementRef() { return "rootElement"; }
579
572
  static get watchers() {
580
573
  return [{
581
574
  "propName": "_ref",
@@ -1,6 +1,6 @@
1
1
  import { DEFAULT_REMOVE } from "../../shared/constants";
2
2
  import { cls, getBooleanAsString } from "../../utils";
3
- import { h } from "@stencil/core";
3
+ import { h, } from "@stencil/core";
4
4
  /**
5
5
  * @slot children - This is a default/unnamed slot
6
6
  * @slot content - TODO: Add description for slotContent
@@ -58,19 +58,13 @@ export class DBTag {
58
58
  }
59
59
  }
60
60
  componentDidLoad() {
61
- if (document && this.rootElement && this.rootElement.dataset.connect) {
62
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
63
- if (connectedElement) {
64
- connectedElement.remove();
65
- }
66
- }
67
61
  this.enableAttributePassing(this._ref, "db-tag");
68
62
  }
69
63
  render() {
70
64
  var _a, _b, _c;
71
- return (h("div", { key: '43e3f8fd24d9504c8a66220e9f0df66fde1045a7', class: cls("db-tag", this.className), ref: (el) => {
65
+ return (h("div", { key: '0f44c340afdd993c4f583c23087bf008cb64bb04', class: cls("db-tag", this.className), ref: (el) => {
72
66
  this._ref = el;
73
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: '2fe8b73179e4f4e02da367c418cc614dec32bfca', name: "content" }), this.text ? this.text : null, h("slot", { key: '6e2873832b12cb87b895554ce090e55163ce7b37' }), this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
67
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: '9e4388656037b233763783ba6e771d30f8302f5c', name: "content" }), this.text ? this.text : null, h("slot", { key: 'e53a5fc3a2f9d5193a73f6c6256aac900df60c74' }), this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
74
68
  }
75
69
  static get is() { return "db-tag"; }
76
70
  static get properties() {
@@ -431,5 +425,4 @@ export class DBTag {
431
425
  }
432
426
  }];
433
427
  }
434
- static get elementRef() { return "rootElement"; }
435
428
  }
@@ -1,7 +1,7 @@
1
1
  import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_ROWS, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
2
2
  import { cls, delay, getBoolean, getHideProp, getNumber, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
3
3
  import { addValueResetEventListener, } from "../../utils/form-components";
4
- import { h } from "@stencil/core";
4
+ import { h, } from "@stencil/core";
5
5
  /**
6
6
  * @slot children - This is a default/unnamed slot
7
7
 
@@ -182,12 +182,6 @@ export class DBTextarea {
182
182
  this.watch4Fn();
183
183
  }
184
184
  componentDidLoad() {
185
- if (document && this.rootElement && this.rootElement.dataset.connect) {
186
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
187
- if (connectedElement) {
188
- connectedElement.remove();
189
- }
190
- }
191
185
  this.enableAttributePassing(this._ref, "db-textarea");
192
186
  this.resetIds();
193
187
  this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
@@ -203,10 +197,10 @@ export class DBTextarea {
203
197
  }
204
198
  render() {
205
199
  var _a, _b, _c, _d, _e, _f;
206
- return (h("div", { key: 'e1310a554155eb73abce7ff7f7dee4f9adc9d6b1', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '020b43972850438fd189cb7d43a3ace97cb10b7c', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: 'f34a15344a1dfe4d185e8a6a04054a3e0ed2c768', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
200
+ return (h("div", { key: '7d28f047cf8d4be83318ebf78434ef3451d74555', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '98f4ba8c559358f440a240d62aeb1c454b6969c2', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: '1ecfda94ee9b9cdc8466d04012dec4976eb2b32a', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
207
201
  this._ref = el;
208
202
  }, id: this._id, "data-resize": this.resize, "data-hide-resizer": getHideProp((_b = this.showResizer) !== null && _b !== void 0 ? _b : true), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), readOnly: getBoolean(this.readOnly, "readOnly") ||
209
- getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), 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: '83bb887c3c4fa57aa609a8fbfb7db339f302b557', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '8077e8c1385c11cddd795637093bfb4d7a6ff294', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
203
+ getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), 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: '9e2a201ab9ce88d395fea65b1d3506d59c4c3be3', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '325d537f8952c134ad7d7aaa024035d86ca1decd', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
210
204
  }
211
205
  static get is() { return "db-textarea"; }
212
206
  static get properties() {
@@ -1171,7 +1165,6 @@ export class DBTextarea {
1171
1165
  }
1172
1166
  }];
1173
1167
  }
1174
- static get elementRef() { return "rootElement"; }
1175
1168
  static get watchers() {
1176
1169
  return [{
1177
1170
  "propName": "id",
@@ -150,12 +150,6 @@ export class DBTooltip {
150
150
  this.watch1Fn();
151
151
  }
152
152
  componentDidLoad() {
153
- if (document && this.rootElement && this.rootElement.dataset.connect) {
154
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
155
- if (connectedElement) {
156
- connectedElement.remove();
157
- }
158
- }
159
153
  this.enableAttributePassing(this._ref, "db-tooltip");
160
154
  this.resetIds();
161
155
  this.initialized = true;
@@ -164,9 +158,9 @@ export class DBTooltip {
164
158
  }
165
159
  render() {
166
160
  var _a, _b;
167
- return (h("i", { key: 'ddb545fb8a5bea2e780b3166d6e2bac312c768f6', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
161
+ return (h("i", { key: 'bce9e6803a50b743c959d8252b3c6fe7b5d89308', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
168
162
  this._ref = el;
169
- }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, h("slot", { key: 'fbd3f731e216323683bc231e1e30d5d10230754c' })));
163
+ }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, h("slot", { key: 'a081ede0d1ce27ae2f8104d7cbc04faa8923eed9' })));
170
164
  }
171
165
  static get is() { return "db-tooltip"; }
172
166
  static get properties() {
@@ -491,7 +485,6 @@ export class DBTooltip {
491
485
  "_observer": {}
492
486
  };
493
487
  }
494
- static get elementRef() { return "rootElement"; }
495
488
  static get watchers() {
496
489
  return [{
497
490
  "propName": "id",