@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
@@ -45,19 +45,13 @@ export class DBCustomSelectDropdown {
45
45
  }
46
46
  }
47
47
  componentDidLoad() {
48
- if (document && this.rootElement && this.rootElement.dataset.connect) {
49
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
50
- if (connectedElement) {
51
- connectedElement.remove();
52
- }
53
- }
54
48
  this.enableAttributePassing(this._ref, "db-custom-select-dropdown");
55
49
  }
56
50
  render() {
57
51
  var _a, _b;
58
- return (h("article", { key: 'c653c9365e53ed0b70e317175ab2d79fbd454a61', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
52
+ return (h("article", { key: '666781dcaef33e70aeb2378c19dccf9e0502be81', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
59
53
  this._ref = el;
60
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '27d6d442f7055db6e49ce153d11f9c3931e4be4f' })));
54
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '2587222810ae1534d3c8070f1003820a22429ae9' })));
61
55
  }
62
56
  static get is() { return "db-custom-select-dropdown"; }
63
57
  static get properties() {
@@ -167,5 +161,4 @@ export class DBCustomSelectDropdown {
167
161
  }
168
162
  };
169
163
  }
170
- static get elementRef() { return "rootElement"; }
171
164
  }
@@ -42,19 +42,13 @@ export class DBCustomSelectFormField {
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-custom-select-form-field");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("summary", { key: '9afc6a67593004b2973b9e2126259f8013506108', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
49
+ return (h("summary", { key: '6e319e52a2daf3966edf7d8ebc3febb10c8a8857', class: cls("db-custom-select-form-field", 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("slot", { key: '95c4f37075676b60016a214b3bddb31d7eef0f50' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '05a393b0ff51cc37aff8d237b0a8101f4b352261' })));
58
52
  }
59
53
  static get is() { return "db-custom-select-form-field"; }
60
54
  static get properties() {
@@ -137,5 +131,4 @@ export class DBCustomSelectFormField {
137
131
  }
138
132
  };
139
133
  }
140
- static get elementRef() { return "rootElement"; }
141
134
  }
@@ -42,19 +42,13 @@ export class DBCustomSelectList {
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-custom-select-list");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("div", { key: '0e501ddc60e13fa483563a62045d7d3299976fd4', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
49
+ return (h("div", { key: 'dbfa17aa3707db35d7b3c4b8bac3a4a8e45ea352', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, 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: 'b1789ff973e16e284e939c2472e13416ac4b08e7' }, h("slot", { key: '828238a50e9d209c32feae5a5d22cf08873201c1' }))));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '241c4d3e9169ba9de06492c1e9bad11df103260a' }, h("slot", { key: 'dd407c533d531e58f4eed08895591898f1ec7621' }))));
58
52
  }
59
53
  static get is() { return "db-custom-select-list"; }
60
54
  static get properties() {
@@ -189,5 +183,4 @@ export class DBCustomSelectList {
189
183
  }
190
184
  };
191
185
  }
192
- static get elementRef() { return "rootElement"; }
193
186
  }
@@ -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
 
@@ -63,18 +63,12 @@ export class DBCustomSelectListItem {
63
63
  this.watch0Fn();
64
64
  }
65
65
  componentDidLoad() {
66
- if (document && this.rootElement && this.rootElement.dataset.connect) {
67
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
68
- if (connectedElement) {
69
- connectedElement.remove();
70
- }
71
- }
72
66
  this.enableAttributePassing(this._ref, "db-custom-select-list-item");
73
67
  this.watch0Fn();
74
68
  }
75
69
  render() {
76
70
  var _a, _b;
77
- return (h("li", { key: '62dea47631b7d2b3aa9dfa53977515be502e516e', class: cls("db-custom-select-list-item", this.className, {
71
+ return (h("li", { key: '6b727336eecb62e312f2cf7afc18686d1e590b61', class: cls("db-custom-select-list-item", this.className, {
78
72
  "db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
79
73
  "db-radio": this.type !== "checkbox" && !this.isGroupTitle,
80
74
  }), ref: (el) => {
@@ -471,7 +465,6 @@ export class DBCustomSelectListItem {
471
465
  }
472
466
  }];
473
467
  }
474
- static get elementRef() { return "rootElement"; }
475
468
  static get watchers() {
476
469
  return [{
477
470
  "propName": "isGroupTitle",
@@ -42,17 +42,11 @@ export class DBDivider {
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-divider");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("div", { key: '218b431a68a2aef816c5b3ddb8f9d499b25dfd92', class: cls("db-divider", this.className), ref: (el) => {
49
+ return (h("div", { key: '140776744080e88b5e9f008d06d7c6b4bde4394a', class: cls("db-divider", this.className), ref: (el) => {
56
50
  this._ref = el;
57
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
58
52
  }
@@ -241,5 +235,4 @@ export class DBDivider {
241
235
  }
242
236
  };
243
237
  }
244
- static get elementRef() { return "rootElement"; }
245
238
  }
@@ -1,6 +1,6 @@
1
1
  import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
2
- import { cls, delay, getBoolean, getBooleanAsString, isKeyboardEvent, } from "../../utils";
3
- import { h } from "@stencil/core";
2
+ import { cls, delay, getBooleanAsString, isKeyboardEvent } from "../../utils";
3
+ import { h, } from "@stencil/core";
4
4
  /**
5
5
  * @slot children - This is a default/unnamed slot
6
6
  * @slot drawerHeader - TODO: Add description for slotDrawerHeader
@@ -39,8 +39,8 @@ export class DBDrawer {
39
39
  }
40
40
  handleDialogOpen() {
41
41
  if (this._ref) {
42
- const dialogOpen = getBoolean(this.open);
43
- if (dialogOpen && !this._ref.open) {
42
+ const open = Boolean(this.open);
43
+ if (open && !this._ref.open) {
44
44
  if (this.dialogContainerRef) {
45
45
  this.dialogContainerRef.removeAttribute("data-transition");
46
46
  }
@@ -59,7 +59,7 @@ export class DBDrawer {
59
59
  }
60
60
  }, 1);
61
61
  }
62
- if (!dialogOpen && this._ref.open) {
62
+ if (!open && this._ref.open) {
63
63
  if (this.dialogContainerRef) {
64
64
  this.dialogContainerRef.dataset["transition"] =
65
65
  "close";
@@ -126,12 +126,6 @@ export class DBDrawer {
126
126
  this.watch1Fn();
127
127
  }
128
128
  componentDidLoad() {
129
- if (document && this.rootElement && this.rootElement.dataset.connect) {
130
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
131
- if (connectedElement) {
132
- connectedElement.remove();
133
- }
134
- }
135
129
  this.enableAttributePassing(this._ref, "db-drawer");
136
130
  this.handleDialogOpen();
137
131
  this.initialized = true;
@@ -140,11 +134,11 @@ export class DBDrawer {
140
134
  }
141
135
  render() {
142
136
  var _a, _b, _c;
143
- return (h("dialog", { key: '2e15866daf4472047c39574ca6df80d0343fb6d8', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
137
+ return (h("dialog", { key: 'dd2236da621ecd6ce95effdd51af7d83e9d00cb4', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
144
138
  this._ref = el;
145
- }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '2c71d2d46fc94bd2c6ae7f52d74e9d9bd7e60133', class: cls("db-drawer-container", this.className), ref: (el) => {
139
+ }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '9e30bd63a197f5b8b3797430c21cbe742a6a337a', class: cls("db-drawer-container", this.className), ref: (el) => {
146
140
  this.dialogContainerRef = el;
147
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: '48aefbfd3f069a1d3fb8dc23e78eb2bb4d60f5fb', class: "db-drawer-header" }, h("div", { key: '5d41cd9e103e7da2e3d030d37a24784553fc7040', class: "db-drawer-header-text" }, h("slot", { key: 'bbf3a3ba8da8fe85426cc2ad9104de814f4f6529', name: "drawerHeader" })), h("db-button", { key: 'ed65f4c1816f6237b3c0b183147523eae9bf4ad2', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: 'c0c0bcc20ecfeb19c7e4421097f8e95bbea92493', class: "db-drawer-content" }, h("slot", { key: '17b8a7ef2ff01a9783a04b5d4964fa4d813fccb7' })))));
141
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'd44ca5f31e6a42548a5b4066d3965e1c81ee11c6', class: "db-drawer-header" }, h("div", { key: '8f88f451fb176d926a6f2a0ded68232978971773', class: "db-drawer-header-text" }, h("slot", { key: 'ab8f36ee1c28b8c50034b81ed78aa91169e957b9', name: "drawerHeader" })), h("db-button", { key: '981fda2deb05c7fd6341b3d31cc81851bb8a19f4', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: 'd36dfd9fdc919f95d5319dbf67d9a08e17763da3', class: "db-drawer-content" }, h("slot", { key: '1ec21301aa84e9ba120d5a886cc45c37f2772e0f' })))));
148
142
  }
149
143
  static get is() { return "db-drawer"; }
150
144
  static get properties() {
@@ -510,7 +504,6 @@ export class DBDrawer {
510
504
  }
511
505
  }];
512
506
  }
513
- static get elementRef() { return "rootElement"; }
514
507
  static get watchers() {
515
508
  return [{
516
509
  "propName": "open",
@@ -1,13 +1,13 @@
1
1
  import { DEFAULT_BURGER_MENU } from "../../shared/constants";
2
2
  import { addAttributeToChildren, cls, getBoolean } from "../../utils";
3
3
  import { isEventTargetNavigationItem } from "../../utils/navigation";
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
  * @slot metaNavigation - TODO: Add description for slotMetaNavigation
8
+ * @slot secondaryAction - TODO: Add description for slotSecondaryAction
8
9
  * @slot brand - TODO: Add description for slotBrand
9
10
  * @slot primaryAction - TODO: Add description for slotPrimaryAction
10
- * @slot secondaryAction - TODO: Add description for slotSecondaryAction
11
11
  */
12
12
  export class DBHeader {
13
13
  constructor() {
@@ -79,21 +79,15 @@ export class DBHeader {
79
79
  this.watch0Fn();
80
80
  }
81
81
  componentDidLoad() {
82
- if (document && this.rootElement && this.rootElement.dataset.connect) {
83
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
84
- if (connectedElement) {
85
- connectedElement.remove();
86
- }
87
- }
88
82
  this.enableAttributePassing(this._ref, "db-header");
89
83
  this.initialized = true;
90
84
  this.watch0Fn();
91
85
  }
92
86
  render() {
93
87
  var _a, _b, _c;
94
- return (h("header", { key: '3a39fdb0a98810f0ef353b4083a244a94a87a03f', class: cls("db-header", this.className), ref: (el) => {
88
+ return (h("header", { key: 'be1ad24dcffe0b9a3472fb4d0ce51e1e26ab18a7', class: cls("db-header", this.className), ref: (el) => {
95
89
  this._ref = el;
96
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("div", { key: '69050d680f513d5c3a3b7c053fdef571628b9c6f', class: "db-header-meta-navigation" }, h("slot", { key: '9bced0b5c7cc0bc851e38959d01df14e2ce9548f', name: "metaNavigation" })), h("div", { key: 'fddb1809e6cc396d819b54be0b1f068cc1a3135b', class: "db-header-navigation-bar" }, h("div", { key: '0dcfe0322e7a9811647709bcbcf6a1864765bbef', class: "db-header-brand-container" }, h("slot", { key: '05648fb509fd73788fc23a8da9859f9a9d9a2b6a', name: "brand" })), h("div", { key: '2202ddc5bdc006508b7fc160f63b55b593676dda', class: "db-header-navigation-container" }, h("div", { key: 'bd5c43a8a16e870487e87480c4af9303e7fd234c', class: "db-header-navigation" }, h("slot", { key: 'cef7542ac513548bc026a0de79fbbf447b6ba3cb' })), h("div", { key: '41a956288a4b43e875c6d621e62ad1ba31662d31', class: "db-header-primary-action" }, h("slot", { key: '7ce6089309371f93567f44c2fdd347e83f9b565a', name: "primaryAction" }))), h("div", { key: '0d8105c502386a07d5b658f7367f4554782f2664', class: "db-header-action-container" }, h("div", { key: 'feaada117a582607cd908d4e361a45042b6fcf1f', class: "db-header-burger-menu-container" }, h("db-button", { key: '2708dae0981369f53e708d760fe814c6479eca00', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '7e894ae29ad359c854935916e27709b11ff478f7', class: "db-header-secondary-action" }, h("slot", { key: '21c15cc2f50e191a0ba134c665f43a347fa1c182', name: "secondaryAction" })))), h("db-drawer", { key: 'f7e1788100e8e46ecd709e1ec6528ee2affd5b79', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '500fa28c4a583d02840abba3174e7fabe8acc38e', class: "db-header-drawer-navigation" }, h("div", { key: '60924e6bd96efdc3dd223124080535d73c34d53c', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: 'ceb09c5388583d300f4b79674bc45e5434f6512b' })), h("div", { key: '13c025135c4d338627be8ad4ad8a1d08ae94edf0', class: "db-header-meta-navigation" }, h("slot", { key: '4ae52e18798ff269bcce94eea62cb1cca75e1e16', name: "metaNavigation" }))), h("div", { key: '102bec12c056d75e229751f6e55b47f2a5339a3e', class: "db-header-secondary-action" }, h("slot", { key: '4c44bfcb61fb20d85960ac9186b15e17cbbabc98', name: "secondaryAction" })))));
90
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'd4037e5b2a37c33ce57753e256308f5a349c59ad', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '6f3038ca75f7a872a25ef6195575e2fdafc37fd6', class: "db-header-drawer-navigation" }, h("div", { key: '5f49144f7c766e2f84619d048980bb4cd772f33a', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '0ede1bfe3a2c02c0f4bdb0351780d3f575cf2227' })), h("div", { key: '3afebc850c010d99e070abd9f443523215cbbe9c', class: "db-header-meta-navigation" }, h("slot", { key: '0a9c6a8d806af97d6ca004c581db605d5f3c2cbd', name: "metaNavigation" }))), h("div", { key: '1b55dab0fc8e755c30f17a348647d78a2063316e', class: "db-header-secondary-action" }, h("slot", { key: '91e2325325c90fa4c8a502da0dbff50c251f9914', name: "secondaryAction" }))), h("div", { key: '96d77f06e1e3ebe20463469d10fdf2086c4833f3', class: "db-header-meta-navigation" }, h("slot", { key: '3b670227184efb7b85ce1a4502322b72fa2e5dd3', name: "metaNavigation" })), h("div", { key: 'f63168e17d5add18523b8ce5cf145b2cdba634e0', class: "db-header-navigation-bar" }, h("div", { key: 'bdb2c9524c98f272da2250e84465d631dc4c86ee', class: "db-header-brand-container" }, h("slot", { key: 'cc82a8c4bcf8023ee31274ade351796c4b4e59ac', name: "brand" })), h("div", { key: '71dd71452f3fa5348d66aba9ea073865dc8ccbdd', class: "db-header-navigation-container" }, h("div", { key: 'ef397d6f5baeb671326269b8a0a4e329da8b103e', class: "db-header-navigation" }, h("slot", { key: 'e70245a7c3895bead643907655732f9a046b9d45' })), h("div", { key: '7f80402f9aa19140c404636a18d1d190cc9c7bd3', class: "db-header-primary-action" }, h("slot", { key: '625841b7653acffa89cf4539e3494611aaa37a65', name: "primaryAction" }))), h("div", { key: '6513c29620684d2b24ee7f031fc603bfd4d897e5', class: "db-header-action-container" }, h("div", { key: '0c0ff87d894c99cf1e49b2beadaec277dd8813b3', class: "db-header-burger-menu-container" }, h("db-button", { key: '63884b0f4e5e66fae043236fe06fa989d8c74dff', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '7712b831ee086a7366909c9265cc46211d9c0a73', class: "db-header-secondary-action" }, h("slot", { key: 'bbb1d1a6c98ad79104389e57980cd0bb05f6e435', name: "secondaryAction" }))))));
97
91
  }
98
92
  static get is() { return "db-header"; }
99
93
  static get properties() {
@@ -252,11 +246,11 @@ export class DBHeader {
252
246
  "reflect": false,
253
247
  "attribute": "width"
254
248
  },
255
- "burgerMenuLabel": {
249
+ "closeButtonId": {
256
250
  "type": "string",
257
251
  "mutable": false,
258
252
  "complexType": {
259
- "original": "DBHeaderProps[\"burgerMenuLabel\"]",
253
+ "original": "DBHeaderProps[\"closeButtonId\"]",
260
254
  "resolved": "string",
261
255
  "references": {
262
256
  "DBHeaderProps": {
@@ -276,13 +270,13 @@ export class DBHeader {
276
270
  "getter": false,
277
271
  "setter": false,
278
272
  "reflect": false,
279
- "attribute": "burger-menu-label"
273
+ "attribute": "close-button-id"
280
274
  },
281
- "closeButtonId": {
275
+ "closeButtonText": {
282
276
  "type": "string",
283
277
  "mutable": false,
284
278
  "complexType": {
285
- "original": "DBHeaderProps[\"closeButtonId\"]",
279
+ "original": "DBHeaderProps[\"closeButtonText\"]",
286
280
  "resolved": "string",
287
281
  "references": {
288
282
  "DBHeaderProps": {
@@ -302,13 +296,13 @@ export class DBHeader {
302
296
  "getter": false,
303
297
  "setter": false,
304
298
  "reflect": false,
305
- "attribute": "close-button-id"
299
+ "attribute": "close-button-text"
306
300
  },
307
- "closeButtonText": {
301
+ "burgerMenuLabel": {
308
302
  "type": "string",
309
303
  "mutable": false,
310
304
  "complexType": {
311
- "original": "DBHeaderProps[\"closeButtonText\"]",
305
+ "original": "DBHeaderProps[\"burgerMenuLabel\"]",
312
306
  "resolved": "string",
313
307
  "references": {
314
308
  "DBHeaderProps": {
@@ -328,7 +322,7 @@ export class DBHeader {
328
322
  "getter": false,
329
323
  "setter": false,
330
324
  "reflect": false,
331
- "attribute": "close-button-text"
325
+ "attribute": "burger-menu-label"
332
326
  }
333
327
  };
334
328
  }
@@ -356,7 +350,6 @@ export class DBHeader {
356
350
  }
357
351
  }];
358
352
  }
359
- static get elementRef() { return "rootElement"; }
360
353
  static get watchers() {
361
354
  return [{
362
355
  "propName": "initialized",
@@ -42,19 +42,13 @@ export class DBIcon {
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-icon");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("span", { key: '82a0e3f95e5681cd27083283928e20a29e24b504', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
49
+ return (h("span", { key: '1b9ecf0a2b731a1146ab46d6cac0d3ce371dbc87', class: cls("db-icon", this.className), "aria-hidden": "true", 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-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, h("slot", { key: '3a329d9db066f884d3364e502b40e1c376b54e77' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, h("slot", { key: 'dec85782807d446081a60b9bf7024823b5463bc1' })));
58
52
  }
59
53
  static get is() { return "db-icon"; }
60
54
  static get properties() {
@@ -241,5 +235,4 @@ export class DBIcon {
241
235
  }
242
236
  };
243
237
  }
244
- static get elementRef() { return "rootElement"; }
245
238
  }
@@ -42,19 +42,13 @@ export class DBInfotext {
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-infotext");
52
46
  }
53
47
  render() {
54
48
  var _a, _b, _c;
55
- return (h("span", { key: '36eef253f489c2560b5d7cb1677cf460df4f421a', class: cls("db-infotext", this.className), ref: (el) => {
49
+ return (h("span", { key: 'e0846770d940dd2213fc271bd9b2f73dcd43e477', class: cls("db-infotext", 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-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, h("slot", { key: 'd1b5b9f911fd7f9feeb3f45612c587dcee73eeb2' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, h("slot", { key: '62a49acb22657bcadf93d60c787652de37cce74b' })));
58
52
  }
59
53
  static get is() { return "db-infotext"; }
60
54
  static get properties() {
@@ -293,5 +287,4 @@ export class DBInfotext {
293
287
  }
294
288
  };
295
289
  }
296
- static get elementRef() { return "rootElement"; }
297
290
  }
@@ -1,7 +1,7 @@
1
1
  import { DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
2
2
  import { cls, delay, getBoolean, getBooleanAsString, getHideProp, getInputValue, getNumber, getStep, hasVoiceOver, isArrayOfStrings, isIOSSafari, 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
 
@@ -196,12 +196,6 @@ export class DBInput {
196
196
  this.watch4Fn();
197
197
  }
198
198
  componentDidLoad() {
199
- if (document && this.rootElement && this.rootElement.dataset.connect) {
200
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
201
- if (connectedElement) {
202
- connectedElement.remove();
203
- }
204
- }
205
199
  this.enableAttributePassing(this._ref, "db-input");
206
200
  this.resetIds();
207
201
  this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
@@ -217,7 +211,7 @@ export class DBInput {
217
211
  }
218
212
  render() {
219
213
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
220
- return (h("div", { key: 'ec95153e143c2e5c2b939ed3f950da15f6b64482', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing) }, h("label", { key: 'c253045701877337001d77ee127244c40edd51d2', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: '458471592bfb08d219a8872ee728f59af11998af', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
214
+ return (h("div", { key: 'b2b30122374389f0ce7cd686adeebd544d739866', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing) }, h("label", { key: 'b7194b6d956d72f498443792b34f08e9c7c4f9f5', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: '73e36e11d4634eda85bfe9abe646f9e9f95e6cef', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
221
215
  this._ref = el;
222
216
  }, id: this._id, name: this.name, type: this.type || "text", multiple: getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : DEFAULT_PLACEHOLDER, disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), step: getStep(this.step), value: (_f = (_e = this.value) !== null && _e !== void 0 ? _e : this._value) !== null && _f !== void 0 ? _f : "", maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), max: getInputValue(this.max, this.type), min: getInputValue(this.min, this.type), readOnly: getBoolean(this.readOnly, "readOnly") ||
223
217
  getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: getBoolean(this.autofocus, "autofocus"), enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), list: this.dataList && this._dataListId, "aria-describedby": (_g = this.ariaDescribedBy) !== null && _g !== void 0 ? _g : this._descByIds, role: [
@@ -229,7 +223,7 @@ export class DBInput {
229
223
  "color",
230
224
  ].includes((_h = this.type) !== null && _h !== void 0 ? _h : "") && isIOSSafari()
231
225
  ? "textbox"
232
- : undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '4d10f65a1fc6bcacfcb955c0a1a4e51718b2b94a' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '6d042698b904075c981bbcbfdf20517b919e1656', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: 'ff033dbe911038702eee30ecd372605815846066', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
226
+ : undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: 'a699c5b648a73eb17f0836def1b1c2a005bf7943' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '60d2b6b280bfb6258c1a76601123dbb0aa041547', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: '044819a1c744e3d31308e771eeff1c0adc674024', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
233
227
  }
234
228
  static get is() { return "db-input"; }
235
229
  static get properties() {
@@ -1609,7 +1603,6 @@ export class DBInput {
1609
1603
  }
1610
1604
  }];
1611
1605
  }
1612
- static get elementRef() { return "rootElement"; }
1613
1606
  static get watchers() {
1614
1607
  return [{
1615
1608
  "propName": "id",
@@ -42,19 +42,13 @@ export class DBLink {
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-link");
52
46
  }
53
47
  render() {
54
48
  var _a, _b, _c, _d;
55
- return (h("a", { key: 'e82f9c1fc9c90b9fbca431d5e42e7bf9c7e2554b', class: cls("db-link", this.className), ref: (el) => {
49
+ return (h("a", { key: '1748005b97867c678a3ea09072eeef7518a0170f', class: cls("db-link", 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, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : null, h("slot", { key: '8dfd642fa3f7350c0f2e2df8cedec5be906ff01e' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : null, h("slot", { key: '9912370e0c8ba33af3ee8a7644e77f21335bddca' })));
58
52
  }
59
53
  static get is() { return "db-link"; }
60
54
  static get properties() {
@@ -501,5 +495,4 @@ export class DBLink {
501
495
  }
502
496
  };
503
497
  }
504
- static get elementRef() { return "rootElement"; }
505
498
  }
@@ -42,19 +42,13 @@ export class DBNavigation {
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-navigation");
52
46
  }
53
47
  render() {
54
48
  var _a, _b;
55
- return (h("nav", { key: '53aa7bc42d5778fc76f7c77ea8ebe4e5a4e03caf', class: cls("db-navigation", this.className), ref: (el) => {
49
+ return (h("nav", { key: 'e2cf893f68f07f22c5df6828e136880bdafcc8ab', class: cls("db-navigation", 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("menu", { key: 'cc93d4c1c0b82c616086e03610a82c286933f5e3' }, h("slot", { key: '326415bf5cbb424a5867217ca156e218d03d83a5' }))));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: 'cb715cb4c0c6ec6b74519475c5e05d5148af43a1' }, h("slot", { key: 'b571e5af2b79d9d0bbfd499b0fcb9f64a885ab54' }))));
58
52
  }
59
53
  static get is() { return "db-navigation"; }
60
54
  static get properties() {
@@ -137,5 +131,4 @@ export class DBNavigation {
137
131
  }
138
132
  };
139
133
  }
140
- static get elementRef() { return "rootElement"; }
141
134
  }
@@ -1,7 +1,7 @@
1
1
  import { DEFAULT_BACK } from "../../shared/constants";
2
2
  import { cls, delay, getBoolean, getBooleanAsString, uuid } from "../../utils";
3
3
  import { NavigationItemSafeTriangle } from "../../utils/navigation";
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
  * @slot subNavigation - TODO: Add description for slotSubNavigation
@@ -105,12 +105,6 @@ export class DBNavigationItem {
105
105
  }
106
106
  componentDidLoad() {
107
107
  var _a;
108
- if (document && this.rootElement && this.rootElement.dataset.connect) {
109
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
110
- if (connectedElement) {
111
- connectedElement.remove();
112
- }
113
- }
114
108
  this.enableAttributePassing(this._ref, "db-navigation-item");
115
109
  this.initialized = true;
116
110
  const subNavId = `sub-nav-${(_a = this.id) !== null && _a !== void 0 ? _a : uuid()}`;
@@ -121,10 +115,9 @@ export class DBNavigationItem {
121
115
  }
122
116
  render() {
123
117
  var _a, _b, _c;
124
- return (h("li", { key: '2eba532df4ab16545e072c02a9405ec643fbf37f', class: cls("db-navigation-item", this.className), ref: (el) => {
118
+ return (h("li", { key: '445ddbc43af3b8ddf2e43614c7bbc8ad4990c125', class: cls("db-navigation-item", this.className), ref: (el) => {
125
119
  this._ref = el;
126
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !getBoolean(this.hideSubNavigation, "hideSubNavigation") &&
127
- this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", { name: "expandButton" })), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : this.text ? (this.text) : (h("slot", null))));
120
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : h("slot", null) : null, this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
128
121
  }
129
122
  static get is() { return "db-navigation-item"; }
130
123
  static get properties() {
@@ -387,32 +380,6 @@ export class DBNavigationItem {
387
380
  "reflect": false,
388
381
  "attribute": "disabled"
389
382
  },
390
- "hideSubNavigation": {
391
- "type": "boolean",
392
- "mutable": false,
393
- "complexType": {
394
- "original": "DBNavigationItemProps[\"hideSubNavigation\"]",
395
- "resolved": "boolean",
396
- "references": {
397
- "DBNavigationItemProps": {
398
- "location": "import",
399
- "path": "./model",
400
- "id": "src/components/navigation-item/model.ts::DBNavigationItemProps",
401
- "referenceLocation": "DBNavigationItemProps"
402
- }
403
- }
404
- },
405
- "required": false,
406
- "optional": false,
407
- "docs": {
408
- "tags": [],
409
- "text": ""
410
- },
411
- "getter": false,
412
- "setter": false,
413
- "reflect": false,
414
- "attribute": "hide-sub-navigation"
415
- },
416
383
  "text": {
417
384
  "type": "string",
418
385
  "mutable": false,
@@ -523,7 +490,6 @@ export class DBNavigationItem {
523
490
  }
524
491
  }];
525
492
  }
526
- static get elementRef() { return "rootElement"; }
527
493
  static get watchers() {
528
494
  return [{
529
495
  "propName": "subNavigationExpanded",