@db-ux/wc-core-components 4.9.1 → 4.10.0-esm-94516f3

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 (312) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/README.md +114 -25
  3. package/bundle/db-accordion-item.d.ts +11 -0
  4. package/bundle/db-accordion-item.js +1 -0
  5. package/bundle/db-accordion.d.ts +11 -0
  6. package/bundle/db-accordion.js +1 -0
  7. package/bundle/db-badge.d.ts +11 -0
  8. package/bundle/db-badge.js +1 -0
  9. package/bundle/db-brand.d.ts +11 -0
  10. package/bundle/db-brand.js +1 -0
  11. package/bundle/db-button.d.ts +11 -0
  12. package/bundle/db-button.js +1 -0
  13. package/bundle/db-card.d.ts +11 -0
  14. package/bundle/db-card.js +1 -0
  15. package/bundle/db-checkbox.d.ts +11 -0
  16. package/bundle/db-checkbox.js +1 -0
  17. package/bundle/db-custom-button.d.ts +11 -0
  18. package/bundle/db-custom-button.js +1 -0
  19. package/bundle/db-custom-select-dropdown.d.ts +11 -0
  20. package/bundle/db-custom-select-dropdown.js +1 -0
  21. package/bundle/db-custom-select-form-field.d.ts +11 -0
  22. package/bundle/db-custom-select-form-field.js +1 -0
  23. package/bundle/db-custom-select-list-item.d.ts +11 -0
  24. package/bundle/db-custom-select-list-item.js +1 -0
  25. package/bundle/db-custom-select-list.d.ts +11 -0
  26. package/bundle/db-custom-select-list.js +1 -0
  27. package/bundle/db-custom-select.d.ts +11 -0
  28. package/bundle/db-custom-select.js +1 -0
  29. package/bundle/db-divider.d.ts +11 -0
  30. package/bundle/db-divider.js +1 -0
  31. package/bundle/db-drawer.d.ts +11 -0
  32. package/bundle/db-drawer.js +1 -0
  33. package/bundle/db-header.d.ts +11 -0
  34. package/bundle/db-header.js +1 -0
  35. package/bundle/db-icon.d.ts +11 -0
  36. package/bundle/db-icon.js +1 -0
  37. package/bundle/db-infotext.d.ts +11 -0
  38. package/bundle/db-infotext.js +1 -0
  39. package/bundle/db-input.d.ts +11 -0
  40. package/bundle/db-input.js +1 -0
  41. package/bundle/db-link.d.ts +11 -0
  42. package/bundle/db-link.js +1 -0
  43. package/bundle/db-navigation-item.d.ts +11 -0
  44. package/bundle/db-navigation-item.js +1 -0
  45. package/bundle/db-navigation.d.ts +11 -0
  46. package/bundle/db-navigation.js +1 -0
  47. package/bundle/db-notification.d.ts +11 -0
  48. package/bundle/db-notification.js +1 -0
  49. package/bundle/db-page.d.ts +11 -0
  50. package/bundle/db-page.js +1 -0
  51. package/bundle/db-popover.d.ts +11 -0
  52. package/bundle/db-popover.js +1 -0
  53. package/bundle/db-radio.d.ts +11 -0
  54. package/bundle/db-radio.js +1 -0
  55. package/bundle/db-section.d.ts +11 -0
  56. package/bundle/db-section.js +1 -0
  57. package/bundle/db-select.d.ts +11 -0
  58. package/bundle/db-select.js +1 -0
  59. package/bundle/db-stack.d.ts +11 -0
  60. package/bundle/db-stack.js +1 -0
  61. package/bundle/db-switch.d.ts +11 -0
  62. package/bundle/db-switch.js +1 -0
  63. package/bundle/db-tab-item.d.ts +11 -0
  64. package/bundle/db-tab-item.js +1 -0
  65. package/bundle/db-tab-list.d.ts +11 -0
  66. package/bundle/db-tab-list.js +1 -0
  67. package/bundle/db-tab-panel.d.ts +11 -0
  68. package/bundle/db-tab-panel.js +1 -0
  69. package/bundle/db-tabs.d.ts +11 -0
  70. package/bundle/db-tabs.js +1 -0
  71. package/bundle/db-tag.d.ts +11 -0
  72. package/bundle/db-tag.js +1 -0
  73. package/bundle/db-textarea.d.ts +11 -0
  74. package/bundle/db-textarea.js +1 -0
  75. package/bundle/db-tooltip.d.ts +11 -0
  76. package/bundle/db-tooltip.js +1 -0
  77. package/bundle/index.d.ts +47 -0
  78. package/bundle/index.js +1 -0
  79. package/bundle/p-4TaCoruo.js +1 -0
  80. package/bundle/p-4nwUOzw7.js +1 -0
  81. package/bundle/p-BJJFATCC.js +1 -0
  82. package/bundle/p-BdL-nI5y.js +1 -0
  83. package/bundle/p-BuBrj57D.js +1 -0
  84. package/bundle/p-CCbaTFJ9.js +1 -0
  85. package/bundle/p-CEiQBevg.js +1 -0
  86. package/bundle/p-CV8l9qaA.js +1 -0
  87. package/bundle/p-CmqAwQNR.js +1 -0
  88. package/bundle/p-D4Ym01qf.js +1 -0
  89. package/bundle/p-DE_eDJiD.js +1 -0
  90. package/bundle/p-DOPXnIzL.js +1 -0
  91. package/bundle/p-DS39nEhJ.js +1 -0
  92. package/bundle/p-DVYa1bHg.js +1 -0
  93. package/bundle/p-DwwxAylo.js +1 -0
  94. package/bundle/p-QNp8H1KD.js +1 -0
  95. package/bundle/p-_2t1bnPD.js +1 -0
  96. package/bundle/p-bzxfqhtq.js +1 -0
  97. package/bundle/p-e18AQLns.js +1 -0
  98. package/dist/cjs/db-accordion-item.cjs.entry.js +26 -4
  99. package/dist/cjs/db-accordion.cjs.entry.js +10 -3
  100. package/dist/cjs/db-badge.cjs.entry.js +10 -3
  101. package/dist/cjs/db-brand.cjs.entry.js +10 -3
  102. package/dist/cjs/db-button.cjs.entry.js +10 -3
  103. package/dist/cjs/db-card.cjs.entry.js +10 -3
  104. package/dist/cjs/db-checkbox.cjs.entry.js +10 -3
  105. package/dist/cjs/db-custom-button.cjs.entry.js +10 -3
  106. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +45 -10
  107. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +10 -3
  108. package/dist/cjs/db-custom-select.cjs.entry.js +13 -6
  109. package/dist/cjs/db-divider.cjs.entry.js +9 -2
  110. package/dist/cjs/db-drawer.cjs.entry.js +14 -7
  111. package/dist/cjs/db-header.cjs.entry.js +10 -3
  112. package/dist/cjs/db-icon.cjs.entry.js +10 -3
  113. package/dist/cjs/db-infotext.cjs.entry.js +10 -3
  114. package/dist/cjs/db-link.cjs.entry.js +10 -3
  115. package/dist/cjs/db-navigation-item.cjs.entry.js +11 -3
  116. package/dist/cjs/db-navigation.cjs.entry.js +10 -3
  117. package/dist/cjs/db-notification.cjs.entry.js +10 -3
  118. package/dist/cjs/db-page.cjs.entry.js +10 -3
  119. package/dist/cjs/db-popover.cjs.entry.js +10 -3
  120. package/dist/cjs/db-radio.cjs.entry.js +10 -3
  121. package/dist/cjs/db-section.cjs.entry.js +10 -3
  122. package/dist/cjs/db-select.cjs.entry.js +10 -3
  123. package/dist/cjs/db-stack.cjs.entry.js +10 -3
  124. package/dist/cjs/db-switch.cjs.entry.js +10 -3
  125. package/dist/cjs/db-tab-item_3.cjs.entry.js +28 -7
  126. package/dist/cjs/db-tabs.cjs.entry.js +10 -3
  127. package/dist/cjs/db-textarea.cjs.entry.js +10 -3
  128. package/dist/cjs/db-tooltip.cjs.entry.js +10 -3
  129. package/dist/cjs/db-ux.cjs.js +2 -2
  130. package/dist/cjs/{index-BoC-BWt4.js → index-DLuhzJ0p.js} +1 -0
  131. package/dist/cjs/loader.cjs.js +2 -2
  132. package/dist/collection/components/accordion/accordion.js +9 -2
  133. package/dist/collection/components/accordion-item/accordion-item.js +53 -5
  134. package/dist/collection/components/badge/badge.js +9 -2
  135. package/dist/collection/components/brand/brand.js +9 -2
  136. package/dist/collection/components/button/button.js +10 -3
  137. package/dist/collection/components/card/card.js +10 -3
  138. package/dist/collection/components/checkbox/checkbox.js +10 -3
  139. package/dist/collection/components/custom-button/custom-button.js +9 -2
  140. package/dist/collection/components/custom-select/custom-select.js +13 -6
  141. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +9 -2
  142. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +9 -2
  143. package/dist/collection/components/custom-select-list/custom-select-list.js +9 -2
  144. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +9 -2
  145. package/dist/collection/components/divider/divider.js +8 -1
  146. package/dist/collection/components/drawer/drawer.js +15 -8
  147. package/dist/collection/components/header/header.js +20 -13
  148. package/dist/collection/components/icon/icon.js +9 -2
  149. package/dist/collection/components/infotext/infotext.js +9 -2
  150. package/dist/collection/components/input/input.js +10 -3
  151. package/dist/collection/components/link/link.js +9 -2
  152. package/dist/collection/components/navigation/navigation.js +9 -2
  153. package/dist/collection/components/navigation-item/navigation-item.js +37 -3
  154. package/dist/collection/components/notification/notification.js +10 -3
  155. package/dist/collection/components/page/page.js +9 -2
  156. package/dist/collection/components/popover/popover.js +9 -2
  157. package/dist/collection/components/radio/radio.js +10 -3
  158. package/dist/collection/components/section/section.js +9 -2
  159. package/dist/collection/components/select/select.js +10 -3
  160. package/dist/collection/components/stack/stack.js +9 -2
  161. package/dist/collection/components/switch/switch.js +10 -3
  162. package/dist/collection/components/tab-item/tab-item.js +10 -3
  163. package/dist/collection/components/tab-list/tab-list.js +9 -2
  164. package/dist/collection/components/tab-panel/tab-panel.js +9 -2
  165. package/dist/collection/components/tabs/tabs.js +10 -3
  166. package/dist/collection/components/tag/tag.js +10 -3
  167. package/dist/collection/components/textarea/textarea.js +10 -3
  168. package/dist/collection/components/tooltip/tooltip.js +9 -2
  169. package/dist/custom-elements.json +2276 -36
  170. package/dist/db-ux/db-ux.esm.js +1 -1
  171. package/dist/db-ux/p-0ae85978.entry.js +1 -0
  172. package/dist/db-ux/p-13afb969.entry.js +1 -0
  173. package/dist/db-ux/p-174d2486.entry.js +1 -0
  174. package/dist/db-ux/p-28c257d5.entry.js +1 -0
  175. package/dist/db-ux/p-293510ca.entry.js +1 -0
  176. package/dist/db-ux/p-331ad11c.entry.js +1 -0
  177. package/dist/db-ux/p-339a6ca0.entry.js +1 -0
  178. package/dist/db-ux/p-34e21986.entry.js +1 -0
  179. package/dist/db-ux/p-368d25ab.entry.js +1 -0
  180. package/dist/db-ux/p-4580938f.entry.js +1 -0
  181. package/dist/db-ux/p-47910fdc.entry.js +1 -0
  182. package/dist/db-ux/p-5d2e2a8d.entry.js +1 -0
  183. package/dist/db-ux/p-691ae341.entry.js +1 -0
  184. package/dist/db-ux/p-7c58337d.entry.js +1 -0
  185. package/dist/db-ux/p-7f4d00df.entry.js +1 -0
  186. package/dist/db-ux/p-9712c9c9.entry.js +1 -0
  187. package/dist/db-ux/p-9b907b56.entry.js +1 -0
  188. package/dist/db-ux/p-9c3ff50e.entry.js +1 -0
  189. package/dist/db-ux/p-Cr2cgn5B.js +2 -0
  190. package/dist/db-ux/p-a56886ea.entry.js +1 -0
  191. package/dist/db-ux/p-a617da42.entry.js +1 -0
  192. package/dist/db-ux/p-aad0c4ef.entry.js +1 -0
  193. package/dist/db-ux/p-ae3183f0.entry.js +1 -0
  194. package/dist/db-ux/p-ae457f95.entry.js +1 -0
  195. package/dist/db-ux/p-b1e7ba0f.entry.js +1 -0
  196. package/dist/db-ux/p-cac5b161.entry.js +1 -0
  197. package/dist/db-ux/p-dcf02351.entry.js +1 -0
  198. package/dist/db-ux/p-e46dc907.entry.js +1 -0
  199. package/dist/db-ux/p-f27c6655.entry.js +1 -0
  200. package/dist/db-ux/p-f583f756.entry.js +1 -0
  201. package/dist/db-ux/p-f65e1db8.entry.js +1 -0
  202. package/dist/db-ux/p-fe5d3eb6.entry.js +1 -0
  203. package/dist/esm/db-accordion-item.entry.js +27 -5
  204. package/dist/esm/db-accordion.entry.js +10 -3
  205. package/dist/esm/db-badge.entry.js +10 -3
  206. package/dist/esm/db-brand.entry.js +10 -3
  207. package/dist/esm/db-button.entry.js +10 -3
  208. package/dist/esm/db-card.entry.js +10 -3
  209. package/dist/esm/db-checkbox.entry.js +10 -3
  210. package/dist/esm/db-custom-button.entry.js +10 -3
  211. package/dist/esm/db-custom-select-dropdown_5.entry.js +45 -10
  212. package/dist/esm/db-custom-select-form-field.entry.js +10 -3
  213. package/dist/esm/db-custom-select.entry.js +13 -6
  214. package/dist/esm/db-divider.entry.js +9 -2
  215. package/dist/esm/db-drawer.entry.js +15 -8
  216. package/dist/esm/db-header.entry.js +10 -3
  217. package/dist/esm/db-icon.entry.js +10 -3
  218. package/dist/esm/db-infotext.entry.js +10 -3
  219. package/dist/esm/db-link.entry.js +10 -3
  220. package/dist/esm/db-navigation-item.entry.js +11 -3
  221. package/dist/esm/db-navigation.entry.js +10 -3
  222. package/dist/esm/db-notification.entry.js +10 -3
  223. package/dist/esm/db-page.entry.js +10 -3
  224. package/dist/esm/db-popover.entry.js +10 -3
  225. package/dist/esm/db-radio.entry.js +10 -3
  226. package/dist/esm/db-section.entry.js +10 -3
  227. package/dist/esm/db-select.entry.js +10 -3
  228. package/dist/esm/db-stack.entry.js +10 -3
  229. package/dist/esm/db-switch.entry.js +10 -3
  230. package/dist/esm/db-tab-item_3.entry.js +28 -7
  231. package/dist/esm/db-tabs.entry.js +10 -3
  232. package/dist/esm/db-textarea.entry.js +10 -3
  233. package/dist/esm/db-tooltip.entry.js +10 -3
  234. package/dist/esm/db-ux.js +3 -3
  235. package/dist/esm/{index-K4o-AcjZ.js → index-Cr2cgn5B.js} +1 -1
  236. package/dist/esm/loader.js +3 -3
  237. package/dist/types/components/accordion/accordion.d.ts +1 -0
  238. package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
  239. package/dist/types/components/accordion-item/model.d.ts +4 -0
  240. package/dist/types/components/badge/badge.d.ts +1 -0
  241. package/dist/types/components/brand/brand.d.ts +1 -0
  242. package/dist/types/components/button/button.d.ts +1 -0
  243. package/dist/types/components/card/card.d.ts +1 -0
  244. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  245. package/dist/types/components/custom-button/custom-button.d.ts +1 -0
  246. package/dist/types/components/custom-select/custom-select.d.ts +1 -0
  247. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
  248. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
  249. package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
  250. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
  251. package/dist/types/components/divider/divider.d.ts +1 -0
  252. package/dist/types/components/drawer/drawer.d.ts +1 -0
  253. package/dist/types/components/header/header.d.ts +3 -2
  254. package/dist/types/components/icon/icon.d.ts +1 -0
  255. package/dist/types/components/infotext/infotext.d.ts +1 -0
  256. package/dist/types/components/input/input.d.ts +1 -0
  257. package/dist/types/components/link/link.d.ts +1 -0
  258. package/dist/types/components/navigation/navigation.d.ts +1 -0
  259. package/dist/types/components/navigation-item/model.d.ts +4 -0
  260. package/dist/types/components/navigation-item/navigation-item.d.ts +2 -0
  261. package/dist/types/components/notification/notification.d.ts +1 -0
  262. package/dist/types/components/page/page.d.ts +1 -0
  263. package/dist/types/components/popover/popover.d.ts +1 -0
  264. package/dist/types/components/radio/radio.d.ts +1 -0
  265. package/dist/types/components/section/section.d.ts +1 -0
  266. package/dist/types/components/select/select.d.ts +1 -0
  267. package/dist/types/components/stack/stack.d.ts +1 -0
  268. package/dist/types/components/switch/switch.d.ts +1 -0
  269. package/dist/types/components/tab-item/tab-item.d.ts +1 -0
  270. package/dist/types/components/tab-list/tab-list.d.ts +1 -0
  271. package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
  272. package/dist/types/components/tabs/tabs.d.ts +1 -0
  273. package/dist/types/components/tag/tag.d.ts +1 -0
  274. package/dist/types/components/textarea/textarea.d.ts +1 -0
  275. package/dist/types/components/tooltip/tooltip.d.ts +1 -0
  276. package/dist/types/components.d.ts +7 -1
  277. package/dist/types/shared/figma.d.ts +12 -6
  278. package/dist/vscode.html-custom-data.json +16 -6
  279. package/dist/web-types.json +1032 -248
  280. package/package.json +15 -9
  281. package/dist/db-ux/p-1b5d76a8.entry.js +0 -1
  282. package/dist/db-ux/p-296f989b.entry.js +0 -1
  283. package/dist/db-ux/p-3ae13ff1.entry.js +0 -1
  284. package/dist/db-ux/p-43f94079.entry.js +0 -1
  285. package/dist/db-ux/p-54508bad.entry.js +0 -1
  286. package/dist/db-ux/p-55e8b0b4.entry.js +0 -1
  287. package/dist/db-ux/p-69a59559.entry.js +0 -1
  288. package/dist/db-ux/p-6e7126c6.entry.js +0 -1
  289. package/dist/db-ux/p-7bed4611.entry.js +0 -1
  290. package/dist/db-ux/p-8ce816c0.entry.js +0 -1
  291. package/dist/db-ux/p-8e080864.entry.js +0 -1
  292. package/dist/db-ux/p-K4o-AcjZ.js +0 -2
  293. package/dist/db-ux/p-a0eccc08.entry.js +0 -1
  294. package/dist/db-ux/p-a7c6ec23.entry.js +0 -1
  295. package/dist/db-ux/p-a82c9875.entry.js +0 -1
  296. package/dist/db-ux/p-ae445d5d.entry.js +0 -1
  297. package/dist/db-ux/p-b33abf8d.entry.js +0 -1
  298. package/dist/db-ux/p-b8ab2bd4.entry.js +0 -1
  299. package/dist/db-ux/p-bb7c59d2.entry.js +0 -1
  300. package/dist/db-ux/p-bc510135.entry.js +0 -1
  301. package/dist/db-ux/p-c85d4be6.entry.js +0 -1
  302. package/dist/db-ux/p-d206ac6f.entry.js +0 -1
  303. package/dist/db-ux/p-e22b3725.entry.js +0 -1
  304. package/dist/db-ux/p-e432c81f.entry.js +0 -1
  305. package/dist/db-ux/p-e64606e2.entry.js +0 -1
  306. package/dist/db-ux/p-e8ee154f.entry.js +0 -1
  307. package/dist/db-ux/p-efb9d9bc.entry.js +0 -1
  308. package/dist/db-ux/p-f35229a1.entry.js +0 -1
  309. package/dist/db-ux/p-f582c886.entry.js +0 -1
  310. package/dist/db-ux/p-f6be9a48.entry.js +0 -1
  311. package/dist/db-ux/p-fb39506f.entry.js +0 -1
  312. package/dist/db-ux/p-fb9500ba.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -54,18 +54,25 @@ const DBNotification = class {
54
54
  }
55
55
  }
56
56
  componentDidLoad() {
57
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
58
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
59
+ if (connectedElement) {
60
+ connectedElement.remove();
61
+ }
62
+ }
57
63
  this.enableAttributePassing(this._ref, "db-notification");
58
64
  }
59
65
  render() {
60
66
  var _a, _b, _c;
61
- return (index.h("div", { key: 'd7087027be76900f33941e4680afa30f8b008985', class: index$1.cls("db-notification", this.className), ref: (el) => {
67
+ return (index.h("div", { key: '80b4682644b5cae7f09842e8683a9445f782055b', class: index$1.cls("db-notification", this.className), ref: (el) => {
62
68
  this._ref = el;
63
69
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: index$1.getNotificationRole({
64
70
  semantic: this.semantic,
65
71
  role: this.role,
66
72
  ariaLive: this.ariaLive,
67
- }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, index.h("slot", { key: '014b063b231b29070ae428befe3fa5703e1a763a', name: "image" }), index$1.stringPropVisible(this.headline, this.showHeadline) ? (index.h("header", { "data-area": "head" }, this.headline)) : null, index.h("div", { key: 'a6b0eb3a228d5788425916888d33b8425c261a47', "data-area": "content" }, this.text ? this.text : null, index.h("slot", { key: 'da393b44aa81d021b12053d637cbdd5c6586f548' })), index$1.stringPropVisible(this.timestamp, this.showTimestamp) ? (index.h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, index.h("slot", { key: '6d7c1d9da27fddd2ca59d50f00628d6aaf4e4c09', name: "link" }), index$1.getBoolean(this.closeable, "closeable") ? (index.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 : constants.DEFAULT_CLOSE_BUTTON)) : null));
73
+ }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, index.h("slot", { key: '4fc52fd9fff6357307c4bdc102c03082688b44cf', name: "image" }), index$1.stringPropVisible(this.headline, this.showHeadline) ? (index.h("header", { "data-area": "head" }, this.headline)) : null, index.h("div", { key: '6d61a4b4966795950a3da5dba130734bd0bbb2d9', "data-area": "content" }, this.text ? this.text : null, index.h("slot", { key: 'f4ca4c620e00a203da07c3d0ce2974ade705f489' })), index$1.stringPropVisible(this.timestamp, this.showTimestamp) ? (index.h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, index.h("slot", { key: 'e1509dd146ff4288f96062e6286b47b495b388dc', name: "link" }), index$1.getBoolean(this.closeable, "closeable") ? (index.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 : constants.DEFAULT_CLOSE_BUTTON)) : null));
68
74
  }
75
+ get rootElement() { return index.getElement(this); }
69
76
  };
70
77
 
71
78
  exports.db_notification = DBNotification;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBPage = class {
@@ -45,6 +45,12 @@ const DBPage = class {
45
45
  }
46
46
  }
47
47
  componentDidLoad() {
48
+ if (typeof document !== "undefined" && 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
+ }
48
54
  this.enableAttributePassing(this._ref, "db-page");
49
55
  this.fontsLoaded = !this.fadeIn;
50
56
  if (document && this.fadeIn) {
@@ -65,10 +71,11 @@ const DBPage = class {
65
71
  }
66
72
  render() {
67
73
  var _a, _b;
68
- return (index.h("div", { key: 'b0ddc76aaed427b7c203d76bbb5b09be304b8134', class: index$1.cls("db-page", this.className), ref: (el) => {
74
+ return (index.h("div", { key: 'ff82686603b48757d15136f99ffee2e8261a0868', class: index$1.cls("db-page", this.className), ref: (el) => {
69
75
  this._ref = el;
70
- }, 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": index$1.getBooleanAsString(this.fadeIn), "data-fonts-loaded": index$1.getBooleanAsString(this.fontsLoaded) }, index.h("slot", { key: '6915333868fc61aaf327ae43fe6f967706972032', name: "header" }), index.h("main", { key: '20588c0501715204c8a87cff378ba7994caae76c', class: index$1.cls("db-main", this.mainClass) }, index.h("slot", { key: '9a52cdaf9c2673630855a455a101f75f065cbdd8' })), index.h("slot", { key: 'ff8faa06197c83675bf81d18b34d0db9019a664f', name: "footer" })));
76
+ }, 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": index$1.getBooleanAsString(this.fadeIn), "data-fonts-loaded": index$1.getBooleanAsString(this.fontsLoaded) }, index.h("slot", { key: 'b545b6a529c6502b6d9acaf4349056f9b191b47f', name: "header" }), index.h("main", { key: '67fe344765eb3dabbb1e6882e653142522ba7e20', class: index$1.cls("db-main", this.mainClass) }, index.h("slot", { key: '5ab992699f2db9d811124d9ad0955e94c816896a' })), index.h("slot", { key: '2c0e00536dcac7decddc76aacc13b58989b02464', name: "footer" })));
71
77
  }
78
+ get rootElement() { return index.getElement(this); }
72
79
  };
73
80
 
74
81
  exports.db_page = DBPage;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
  var documentScrollListener = require('./document-scroll-listener-ChQ7XZRk.js');
6
6
  var floatingComponents = require('./floating-components-DlstoCKH.js');
@@ -163,6 +163,12 @@ const DBPopover = class {
163
163
  this.watch1Fn();
164
164
  }
165
165
  componentDidLoad() {
166
+ if (typeof document !== "undefined" && 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
+ }
166
172
  this.enableAttributePassing(this._ref, "db-popover");
167
173
  this.initialized = true;
168
174
  this.watch0Fn();
@@ -170,10 +176,11 @@ const DBPopover = class {
170
176
  }
171
177
  render() {
172
178
  var _a, _b, _c;
173
- return (index.h("div", { key: '390b82916a04a39f602efb0a05d8702d51da4526', class: index$1.cls("db-popover", this.className), ref: (el) => {
179
+ return (index.h("div", { key: '5695f78c16f768ca34b16c05167518c2a2e26c35', class: index$1.cls("db-popover", this.className), ref: (el) => {
174
180
  this._ref = el;
175
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '17b12e9a5be220fedfa3ebe8f2bbb47ad1f1fb2f', name: "trigger" }), index.h("article", { key: '9b1cf4ce7cc66f558dd87b5cc6e3ca9a007bf1af', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": index$1.getBooleanAsString(this.gap), "data-animation": index$1.getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": index$1.getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, index.h("slot", { key: '2e3a7edf39f6027ea34791b1b88668c081f03ba3' }))));
181
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: 'e765f506df650f9105ff6efb79c2d6fe36a48b91', name: "trigger" }), index.h("article", { key: '072c8716f82a49d319794e521f467d494fe4b313', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": index$1.getBooleanAsString(this.gap), "data-animation": index$1.getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": index$1.getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, index.h("slot", { key: '3317509fd5cfbc56f9e0921f91e34520d9f93c87' }))));
176
182
  }
183
+ get rootElement() { return index.getElement(this); }
177
184
  static get watchers() { return {
178
185
  "_ref": [{
179
186
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
  var formComponents = require('./form-components-_ncB_U2D.js');
6
6
 
@@ -115,6 +115,12 @@ const DBRadio = class {
115
115
  this.watch2Fn();
116
116
  }
117
117
  componentDidLoad() {
118
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
119
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
120
+ if (connectedElement) {
121
+ connectedElement.remove();
122
+ }
123
+ }
118
124
  this.enableAttributePassing(this._ref, "db-radio");
119
125
  this.initialized = true;
120
126
  this.resetIds();
@@ -127,10 +133,11 @@ const DBRadio = class {
127
133
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
128
134
  }
129
135
  render() {
130
- return (index.h("label", { key: 'a2b7dddcac7e055e558436ed57c1c6997916a8c0', class: index$1.cls("db-radio", this.className), "data-size": this.size, "data-hide-label": index$1.getHideProp(this.showLabel), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, index.h("input", { key: '02a94a4237ed5984ce14ab684d981e9676ad68e4', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
136
+ return (index.h("label", { key: '1ff5543af917149d3d1f51a2c67c7686b55f8d11', class: index$1.cls("db-radio", this.className), "data-size": this.size, "data-hide-label": index$1.getHideProp(this.showLabel), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, index.h("input", { key: '3409b94c081b36bd60ba84f8e6a4064e43e2ad50', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
131
137
  this._ref = el;
132
- }, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.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, index.h("slot", { key: '3b430b5725a3d8c27c71e4937e009bc9da2eb1ef' })));
138
+ }, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.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, index.h("slot", { key: 'c9850bcf9efb2e272e6ae8cc83ab92d62e095094' })));
133
139
  }
140
+ get rootElement() { return index.getElement(this); }
134
141
  static get watchers() { return {
135
142
  "id": [{
136
143
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBSection = class {
@@ -44,14 +44,21 @@ const DBSection = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-section");
48
54
  }
49
55
  render() {
50
56
  var _a, _b;
51
- return (index.h("section", { key: '8e4972331d6f10d78c705481dab9d7a7336bd5fd', class: index$1.cls("db-section", this.className), ref: (el) => {
57
+ return (index.h("section", { key: '03d6f7ed2eea5b1374d0f5be00d77e59897033ea', class: index$1.cls("db-section", this.className), ref: (el) => {
52
58
  this._ref = el;
53
- }, 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 }, index.h("slot", { key: 'e495f7247f9da72811055148e4a0a73489a10516' })));
59
+ }, 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 }, index.h("slot", { key: '55c388d7e65e9bd27dd229f01a3c162719b90df2' })));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_section = DBSection;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var formComponents = require('./form-components-_ncB_U2D.js');
@@ -222,6 +222,12 @@ const DBSelect = class {
222
222
  this.watch4Fn();
223
223
  }
224
224
  componentDidLoad() {
225
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
226
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
227
+ if (connectedElement) {
228
+ connectedElement.remove();
229
+ }
230
+ }
225
231
  this.enableAttributePassing(this._ref, "db-select");
226
232
  this.initialized = true;
227
233
  this.resetIds();
@@ -238,15 +244,16 @@ const DBSelect = class {
238
244
  }
239
245
  render() {
240
246
  var _a, _b, _c, _d, _e, _f;
241
- return (index.h("div", { key: '447466cea315310bff6793d9357323b45d4db313', class: index$1.cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: 'bc9ee1c59c21a1ec52dc96e1aecc9892ef5b29ac', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("select", { key: '10e6f2c0ebedb72cbbcae2e78133353bd646eee8', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
247
+ return (index.h("div", { key: '3dd83828aaa06217389cf635687da0070ae88f56', class: index$1.cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: '8fe580a4172003361a5c16551c4965882dbb3ce0', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("select", { key: '2f0ba052dafae5d44c27442eb4c27fa117c6ba76', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
242
248
  this._ref = el;
243
249
  }, required: index$1.getBoolean(this.required, "required"), disabled: index$1.getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
244
250
  /* @ts-ignore */
245
251
  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 ? (index.h("option", { class: "placeholder", value: "", "data-show-empty-option": index$1.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) => {
246
252
  var _a;
247
253
  return (index.h(index.Fragment, null, option.options ? (index.h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (index.h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (index.h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
248
- })) : (index.h("slot", null))), this.placeholder ? (index.h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '186aaf564139c38963f7f448c15e8e1760e2b41c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: 'c0fd12cd115acb62a4d3bf13dc8572b80c386d67', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
254
+ })) : (index.h("slot", null))), this.placeholder ? (index.h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '34ca1d025c67dc018375d56651a7f0ae1d2e245f', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '6f64314bcf457ddd86b3695e314125cca14d10d1', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
249
255
  }
256
+ get rootElement() { return index.getElement(this); }
250
257
  static get watchers() { return {
251
258
  "id": [{
252
259
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBStack = class {
@@ -44,14 +44,21 @@ const DBStack = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-stack");
48
54
  }
49
55
  render() {
50
56
  var _a, _b;
51
- return (index.h("div", { key: 'f439616a1745c8702c736c26a66e4714aaf1600c', class: index$1.cls("db-stack", this.className), ref: (el) => {
57
+ return (index.h("div", { key: '87f4f22cbfd4355da58ace757805c9e29758eb6d', class: index$1.cls("db-stack", this.className), ref: (el) => {
52
58
  this._ref = el;
53
- }, 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": index$1.getBooleanAsString(this.wrap) }, index.h("slot", { key: '4af45aa4cfbd6749552219a765575c2852f50d8c' })));
59
+ }, 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": index$1.getBooleanAsString(this.wrap) }, index.h("slot", { key: '391ff9ee8a52408fa9830e0f5a30fd86a249a102' })));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_stack = DBStack;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var formComponents = require('./form-components-_ncB_U2D.js');
@@ -173,6 +173,12 @@ const DBSwitch = class {
173
173
  this.watch3Fn();
174
174
  }
175
175
  componentDidLoad() {
176
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
177
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
178
+ if (connectedElement) {
179
+ connectedElement.remove();
180
+ }
181
+ }
176
182
  this.enableAttributePassing(this._ref, "db-switch");
177
183
  this.resetIds();
178
184
  this.handleValidation();
@@ -188,10 +194,11 @@ const DBSwitch = class {
188
194
  }
189
195
  render() {
190
196
  var _a, _b;
191
- return (index.h("div", { key: '16ac24d631269141f33f1b39599069ad2e017406', class: index$1.cls("db-switch", this.className), "data-visual-aid": index$1.getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": index$1.getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, index.h("label", { key: 'be173c17f4add60b39cc9330ddf1968f10398583', htmlFor: this._id }, index.h("input", { key: '93aba7e5ef958c1af292702c46503b57c8511109', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
197
+ return (index.h("div", { key: 'c82a033ffefd600a9c96ea487d9fd909ff1b72de', class: index$1.cls("db-switch", this.className), "data-visual-aid": index$1.getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": index$1.getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, index.h("label", { key: 'c1047871716d0d24f026c8ffaf37581a2b080375', htmlFor: this._id }, index.h("input", { key: '883712cbfdd95c525ea615270546e2127f9bdbf8', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
192
198
  this._ref = el;
193
- }, checked: index$1.getBoolean(this.checked, "checked"), value: this.value, disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: index$1.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, index.h("slot", { key: '35c866ff32882b21ab76d4db464674b688aa371f' })), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '2663da2147e782beb93274145056a32fcc91b7bb', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: 'a71eedca841f4d30e2844fa4904d8558a7dc1790', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
199
+ }, checked: index$1.getBoolean(this.checked, "checked"), value: this.value, disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: index$1.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, index.h("slot", { key: '106b299aca93a4e6498c74e7c43df87564122c40' })), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: 'e2848f2de604908a0e05fbb0cde3c77a36adcc4e', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '37bcc9cd24041762a62822d118803b0eef247f12', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
194
200
  }
201
+ get rootElement() { return index.getElement(this); }
195
202
  static get watchers() { return {
196
203
  "id": [{
197
204
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBTabItem = class {
@@ -98,6 +98,12 @@ const DBTabItem = class {
98
98
  this.watch1Fn();
99
99
  }
100
100
  componentDidLoad() {
101
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
102
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
103
+ if (connectedElement) {
104
+ connectedElement.remove();
105
+ }
106
+ }
101
107
  this.enableAttributePassing(this._ref, "db-tab-item");
102
108
  this.boundSetSelectedOnChange = this.setSelectedOnChange.bind(this);
103
109
  this.initialized = true;
@@ -114,10 +120,11 @@ const DBTabItem = class {
114
120
  }
115
121
  render() {
116
122
  var _a, _b, _c, _d, _e, _f;
117
- return (index.h("li", { key: '5a67c1ada61e7ef397389486b04f4db9e157f08b', class: index$1.cls("db-tab-item", this.className), role: "none" }, index.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": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("input", { key: '3183817d6b6028b40416d12eaa2de60e9e28a36e', type: "radio", role: "tab", disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: index$1.getBoolean(this.checked, "checked"), ref: (el) => {
123
+ return (index.h("li", { key: '8f237a10d09644e2bad44ff457e5ae7bb6ed80f3', class: index$1.cls("db-tab-item", this.className), role: "none" }, index.h("label", { key: '530c603c5927f732cc76920537fe169a15ebbd4c', 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": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("input", { key: '8551abf9afc26bb0edfb9a8f94adb21f5c95bf4e', type: "radio", role: "tab", disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: index$1.getBoolean(this.checked, "checked"), ref: (el) => {
118
124
  this._ref = el;
119
- }, 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, index.h("slot", { key: 'a0126930f1705e33cc929b2fb8e7e92e811b8a16' }))));
125
+ }, 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, index.h("slot", { key: '4f1f678c9edcef4f977f3677903b682f5bf723b4' }))));
120
126
  }
127
+ get rootElement() { return index.getElement(this); }
121
128
  static get watchers() { return {
122
129
  "_ref": [{
123
130
  "watch0": 0
@@ -175,14 +182,21 @@ const DBTabList = class {
175
182
  }
176
183
  }
177
184
  componentDidLoad() {
185
+ if (typeof document !== "undefined" && 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
+ }
178
191
  this.enableAttributePassing(this._ref, "db-tab-list");
179
192
  }
180
193
  render() {
181
194
  var _a, _b;
182
- return (index.h("div", { key: '106039ad39acd9349758b04b95fdf63f371bdfd8', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
195
+ return (index.h("div", { key: 'ce54a7c3bef0090cf7aa0d6b11fedd6d3b4bbd07', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
183
196
  this._ref = el;
184
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: 'e65fa1a76b3bec154c44d3c861b38a4fc26ca1a5', role: "tablist" }, index.h("slot", { key: '9629b9adc5d33818001e7964d4bdbcaf16086fee' }))));
197
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '8ac107177182afdde5163dee58917fa69b75e40c', role: "tablist" }, index.h("slot", { key: '0d53d4b529c439784d7c66894b967b41fb9eb38d' }))));
185
198
  }
199
+ get rootElement() { return index.getElement(this); }
186
200
  };
187
201
 
188
202
  const DBTabPanel = class {
@@ -226,14 +240,21 @@ const DBTabPanel = class {
226
240
  }
227
241
  }
228
242
  componentDidLoad() {
243
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
244
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
245
+ if (connectedElement) {
246
+ connectedElement.remove();
247
+ }
248
+ }
229
249
  this.enableAttributePassing(this._ref, "db-tab-panel");
230
250
  }
231
251
  render() {
232
252
  var _a, _b;
233
- return (index.h("section", { key: 'fda64a520ea6a82df55e61185716f9e2c511b935', class: index$1.cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
253
+ return (index.h("section", { key: '86076593b5c38755ddd08bbb930bb8252b9e5e78', class: index$1.cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
234
254
  this._ref = el;
235
- }, 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, index.h("slot", { key: 'f74577ac32a4ed2f463d9dd6114eec74935bd7dc' })));
255
+ }, 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, index.h("slot", { key: '5069f16c7266dd495e8f9fb03c3bb69546976842' })));
236
256
  }
257
+ get rootElement() { return index.getElement(this); }
237
258
  };
238
259
 
239
260
  exports.db_tab_item = DBTabItem;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBTabs = class {
@@ -196,6 +196,12 @@ const DBTabs = class {
196
196
  this.watch0Fn();
197
197
  }
198
198
  componentDidLoad() {
199
+ if (typeof document !== "undefined" && 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
+ }
199
205
  this.enableAttributePassing(this._ref, "db-tabs");
200
206
  this._name = `tabs-${this.name || index$1.uuid()}`;
201
207
  this.initialized = true;
@@ -208,11 +214,12 @@ const DBTabs = class {
208
214
  }
209
215
  render() {
210
216
  var _a, _b, _c, _d, _e, _f;
211
- return (index.h("div", { key: '8acc1ff6e9231d38b5760877c2d698e442b3efa2', class: index$1.cls("db-tabs", this.className), ref: (el) => {
217
+ return (index.h("div", { key: '71e69e614a98de1b0fe789b210815d03bcee6286', class: index$1.cls("db-tabs", this.className), ref: (el) => {
212
218
  this._ref = el;
213
219
  }, 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 ? (index.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 ? (index.h(index.Fragment, null, index.h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index$1) => (index.h("db-tab-item", { key: this.name + "tab-item" + index$1, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
214
- _f.map((tab, index$1) => (index.h("db-tab-panel", { key: this.name + "tab-panel" + index$1, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (index.h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, index.h("slot", { key: '98d86feb33b7d73786eabd6aa6275103cac762ba' })));
220
+ _f.map((tab, index$1) => (index.h("db-tab-panel", { key: this.name + "tab-panel" + index$1, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (index.h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, index.h("slot", { key: '2e8a007adff7051a1266f88b95419a510ce7494a' })));
215
221
  }
222
+ get rootElement() { return index.getElement(this); }
216
223
  static get watchers() { return {
217
224
  "_ref": [{
218
225
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var formComponents = require('./form-components-_ncB_U2D.js');
@@ -186,6 +186,12 @@ const DBTextarea = class {
186
186
  this.watch4Fn();
187
187
  }
188
188
  componentDidLoad() {
189
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
190
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
191
+ if (connectedElement) {
192
+ connectedElement.remove();
193
+ }
194
+ }
189
195
  this.enableAttributePassing(this._ref, "db-textarea");
190
196
  this.resetIds();
191
197
  this._invalidMessage = this.invalidMessage || constants.DEFAULT_INVALID_MESSAGE;
@@ -201,11 +207,12 @@ const DBTextarea = class {
201
207
  }
202
208
  render() {
203
209
  var _a, _b, _c, _d, _e, _f;
204
- return (index.h("div", { key: '7d28f047cf8d4be83318ebf78434ef3451d74555', class: index$1.cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: '98f4ba8c559358f440a240d62aeb1c454b6969c2', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("textarea", { key: '1ecfda94ee9b9cdc8466d04012dec4976eb2b32a', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
210
+ return (index.h("div", { key: '011c369f6437bb150f6afb7534da123ed5987621', class: index$1.cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: '2ce564dca8898dedd7e666eb39f1b94226cc3547', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("textarea", { key: '8cafda914ea6b0f48fe096472e71fd89ee85ec23', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
205
211
  this._ref = el;
206
212
  }, id: this._id, "data-resize": this.resize, "data-hide-resizer": index$1.getHideProp((_b = this.showResizer) !== null && _b !== void 0 ? _b : true), disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), readOnly: index$1.getBoolean(this.readOnly, "readOnly") ||
207
- index$1.getBoolean(this.readonly, "readonly"), form: this.form, maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.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 : constants.DEFAULT_PLACEHOLDER, rows: index$1.getNumber(this.rows, constants.DEFAULT_ROWS), cols: index$1.getNumber(this.cols) }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '9e2a201ab9ce88d395fea65b1d3506d59c4c3be3', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '325d537f8952c134ad7d7aaa024035d86ca1decd', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
213
+ index$1.getBoolean(this.readonly, "readonly"), form: this.form, maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.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 : constants.DEFAULT_PLACEHOLDER, rows: index$1.getNumber(this.rows, constants.DEFAULT_ROWS), cols: index$1.getNumber(this.cols) }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '489ca97fb9dc385ec1483d47918025f6db999e01', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: 'c1aa196f836729f0b821f4b3f9300a924fd8e08c', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
208
214
  }
215
+ get rootElement() { return index.getElement(this); }
209
216
  static get watchers() { return {
210
217
  "id": [{
211
218
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var documentScrollListener = require('./document-scroll-listener-ChQ7XZRk.js');
@@ -150,6 +150,12 @@ const DBTooltip = class {
150
150
  this.watch1Fn();
151
151
  }
152
152
  componentDidLoad() {
153
+ if (typeof document !== "undefined" && 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
+ }
153
159
  this.enableAttributePassing(this._ref, "db-tooltip");
154
160
  this.resetIds();
155
161
  this.initialized = true;
@@ -158,10 +164,11 @@ const DBTooltip = class {
158
164
  }
159
165
  render() {
160
166
  var _a, _b;
161
- return (index.h("i", { key: 'bce9e6803a50b743c959d8252b3c6fe7b5d89308', class: index$1.cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
167
+ return (index.h("i", { key: 'baf376c4ee424f78a7e062b864586139846b2073', class: index$1.cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
162
168
  this._ref = el;
163
- }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-animation": index$1.getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": index$1.getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, index.h("slot", { key: 'a081ede0d1ce27ae2f8104d7cbc04faa8923eed9' })));
169
+ }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-animation": index$1.getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": index$1.getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, index.h("slot", { key: '6ec094383bad1237ce6ae7d02a7a62cf5c8de19d' })));
164
170
  }
171
+ get rootElement() { return index.getElement(this); }
165
172
  static get watchers() { return {
166
173
  "id": [{
167
174
  "watch0": 0