@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @db-ux/wc-core-components
2
2
 
3
+ ## 4.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(switch): use `2lh` unit and add `min-inline-size` to prevent track from shrinking - [see commit 78c9fde](https://github.com/db-ux-design-system/core-web/commit/78c9fde67d9677f61eaa41761a088b9c1a9773a1)
8
+
9
+ - fix(notification): remove empty grid gap when icon is hidden - [see commit 96f94c6](https://github.com/db-ux-design-system/core-web/commit/96f94c651391f014e2d073402c2700b524ccbf5e)
10
+
11
+ ## 4.9.0
12
+
13
+ ### Minor Changes
14
+
15
+ - refactor: allow text and children to be used together in components - [see commit cecb833](https://github.com/db-ux-design-system/core-web/commit/cecb833e2d2b2d15b47f9ac1ed57ccf1040374f0):
16
+ - feat: add `text` property to components that previously only supported children for their label, like e.g. `DBTooltip`.
17
+ - refactor: allow `text` property and components children to be used in parallel in components. Previously, `text` and children were mutually exclusive.
18
+ - refactor(`DBRadio`, `DBCheckbox`, `DBSwitch`): `label` and `children` can now be used together. Previously they were mutually exclusive.
19
+ - fix(`DBTag`): changed render order of `children` and `text` to align with design (children rendered before text).
20
+
3
21
  ## 4.8.0
4
22
 
5
23
  ### Minor Changes
@@ -189,7 +207,7 @@ _version bump_
189
207
 
190
208
  - fix: set DBTabItem internal state `_selected` correctly - [see commit f7625cb](https://github.com/db-ux-design-system/core-web/commit/f7625cbd9d64513527e826c9d2c1ef42b2734a4b):
191
209
 
192
- - Now also sets aria-selected=true|false correctly which improves screen reader behaviour
210
+ - Now also sets aria-selected=true|false correctly which improves screen reader behaviour
193
211
 
194
212
  ## 4.2.1
195
213
 
package/README.md CHANGED
@@ -86,32 +86,12 @@ In case that you're building a website or application for Deutsche Bahn, you'll
86
86
 
87
87
  ## Usage
88
88
 
89
- This package provides two output variants:
90
-
91
- ### Default (requires `@stencil/core` as peer dependency)
92
-
93
- The default entry point uses Stencil's lazy-loading loader. `@stencil/core` must be installed separately.
94
-
95
- ```shell
96
- npm i @stencil/core
97
- ```
98
-
99
89
  ```js
100
90
  // main.js
101
91
  import { defineCustomElements } from "@db-ux/wc-core-components";
102
92
  defineCustomElements();
103
93
  ```
104
94
 
105
- ### Bundle (no external dependencies)
106
-
107
- The bundle entry point is fully self-contained — `@stencil/core` is bundled in and does not need to be installed separately.
108
-
109
- ```js
110
- // main.js
111
- import { defineCustomElements } from "@db-ux/wc-core-components/bundle";
112
- defineCustomElements();
113
- ```
114
-
115
95
  ```html
116
96
  ...
117
97
  <db-button icon="x_placeholder">Test</db-button>
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBAccordionItem = class {
@@ -29,9 +29,7 @@ const DBAccordionItem = class {
29
29
  if (this.toggle) {
30
30
  this.toggle.emit(newStateOpen);
31
31
  }
32
- if (this.open === undefined) {
33
- this._open = newStateOpen;
34
- }
32
+ this._open = newStateOpen;
35
33
  }
36
34
  /**
37
35
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
@@ -82,21 +80,7 @@ const DBAccordionItem = class {
82
80
  watch1() {
83
81
  this.watch1Fn();
84
82
  }
85
- watch2Fn() {
86
- if (this.open !== undefined) {
87
- this._open = this.open;
88
- }
89
- }
90
- watch2() {
91
- this.watch2Fn();
92
- }
93
83
  componentDidLoad() {
94
- if (document && this.rootElement && this.rootElement.dataset.connect) {
95
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
96
- if (connectedElement) {
97
- connectedElement.remove();
98
- }
99
- }
100
84
  this.enableAttributePassing(this._ref, "db-accordion-item");
101
85
  if (this.defaultOpen) {
102
86
  this._open = this.defaultOpen;
@@ -104,15 +88,13 @@ const DBAccordionItem = class {
104
88
  this.initialized = true;
105
89
  this.watch0Fn();
106
90
  this.watch1Fn();
107
- this.watch2Fn();
108
91
  }
109
92
  render() {
110
93
  var _a, _b;
111
- return (index.h("li", { key: 'eeee725f1b2d065ed9f0fce53498badfac480425', class: index$1.cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("details", { key: '6c6ab02a934c9fa35b2c944787179f28c6ea0f1b', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
94
+ return (index.h("li", { key: '0d59b9b4e2e9992d832429171c725c0f776b46b4', class: index$1.cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("details", { key: '8068249ac8266fea66da265c105309de3d98ac06', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
112
95
  this._ref = el;
113
- }, name: this._name, open: this._open }, index.h("summary", { key: '31cb38ef067739903b96f7a5c33333787c8f9e51', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '6d97b5f0a5f21a4e7785ea3068185b42e421da5b' }, this.text ? this.text : null, index.h("slot", { key: '85296d3db72c14f9d24fc23b3084648a109948dc' })))));
96
+ }, name: this._name, open: this._open }, index.h("summary", { key: '338504ea06903b316e707bc10036d27000445c85', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '97982ad7bc98e8e47ad2a5ce157fda13d2aa82ce' }, this.text ? this.text : null, index.h("slot", { key: '23c9b8d8b3b4d32362820be097c8474fa7e12609' })))));
114
97
  }
115
- get rootElement() { return index.getElement(this); }
116
98
  static get watchers() { return {
117
99
  "_ref": [{
118
100
  "watch0": 0
@@ -122,9 +104,6 @@ const DBAccordionItem = class {
122
104
  }],
123
105
  "name": [{
124
106
  "watch1": 0
125
- }],
126
- "open": [{
127
- "watch2": 0
128
107
  }]
129
108
  }; }
130
109
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBAccordion = class {
@@ -61,7 +61,7 @@ const DBAccordion = class {
61
61
  watch0Fn() {
62
62
  // If we have a single behavior we first check for
63
63
  // props.name otherwise for state_id
64
- if (this.initialized && this._ref) {
64
+ if (this.initialized) {
65
65
  if (this.behavior === "single") {
66
66
  if (this.name) {
67
67
  if (this._name !== this.name) {
@@ -121,12 +121,6 @@ const DBAccordion = class {
121
121
  this.watch2Fn();
122
122
  }
123
123
  componentDidLoad() {
124
- if (document && this.rootElement && this.rootElement.dataset.connect) {
125
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
126
- if (connectedElement) {
127
- connectedElement.remove();
128
- }
129
- }
130
124
  this.enableAttributePassing(this._ref, "db-accordion");
131
125
  this.initialized = true;
132
126
  this._initOpenIndexDone = true;
@@ -136,13 +130,12 @@ const DBAccordion = class {
136
130
  }
137
131
  render() {
138
132
  var _a, _b, _c;
139
- return (index.h("ul", { key: 'f266979e95cc9595d10dd6e95c418acc7bce70c7', class: index$1.cls("db-accordion", this.className), ref: (el) => {
133
+ return (index.h("ul", { key: '3a4a71d409be0f76abbb067e1698f7e0ab64b6c6', class: index$1.cls("db-accordion", this.className), ref: (el) => {
140
134
  this._ref = el;
141
135
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant }, !this.items ? index.h("slot", null) : null, this.items
142
136
  ? (_c = this.convertItems()) === null || _c === void 0 ? void 0 : _c.map((item, index$1) => (index.h("db-accordion-item", { key: `accordion-item-${index$1}`, headlinePlain: item.headlinePlain, disabled: item.disabled, text: item.text })))
143
137
  : null));
144
138
  }
145
- get rootElement() { return index.getElement(this); }
146
139
  static get watchers() { return {
147
140
  "initialized": [{
148
141
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -64,23 +64,16 @@ const DBBadge = class {
64
64
  this.watch0Fn();
65
65
  }
66
66
  componentDidLoad() {
67
- if (document && this.rootElement && this.rootElement.dataset.connect) {
68
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
69
- if (connectedElement) {
70
- connectedElement.remove();
71
- }
72
- }
73
67
  this.enableAttributePassing(this._ref, "db-badge");
74
68
  this.initialized = true;
75
69
  this.watch0Fn();
76
70
  }
77
71
  render() {
78
72
  var _a, _b, _c, _d;
79
- return (index.h("span", { key: '4e38af5e75112c17a85fcc129c96b3eb0f47c9c9', class: index$1.cls("db-badge", this.className), ref: (el) => {
73
+ return (index.h("span", { key: '1a986f2667f67029493e606478d1d7928471acf8', class: index$1.cls("db-badge", this.className), ref: (el) => {
80
74
  this._ref = el;
81
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : constants.DEFAULT_LABEL) }, this.text ? this.text : null, index.h("slot", { key: 'b302778cda72652585bc4ac1d3cfe2aee1c54014' })));
75
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : constants.DEFAULT_LABEL) }, this.text ? this.text : null, index.h("slot", { key: 'f6865ef905b1e12937c3f2d684a21e889c191608' })));
82
76
  }
83
- get rootElement() { return index.getElement(this); }
84
77
  static get watchers() { return {
85
78
  "_ref": [{
86
79
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -45,21 +45,14 @@ const DBBrand = class {
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-brand");
55
49
  }
56
50
  render() {
57
51
  var _a, _b, _c;
58
- return (index.h("div", { key: '768ab1a176f3670fb5a7259414c549ce5cf9f13d', class: index$1.cls("db-brand", this.className), ref: (el) => {
52
+ return (index.h("div", { key: '679731d67b498b68650b1f3c5fb6ac1f8578b29f', class: index$1.cls("db-brand", this.className), ref: (el) => {
59
53
  this._ref = el;
60
- }, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : constants.DEFAULT_ICON, "data-show-icon": index$1.getBooleanAsString(this.showIcon), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, index.h("slot", { key: 'ed1d803f90bf9d6d313202dc99c925475f3daf81' }), this.text ? this.text : null));
54
+ }, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : constants.DEFAULT_ICON, "data-show-icon": index$1.getBooleanAsString(this.showIcon), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, index.h("slot", { key: 'bac6503b5fd5b16c138a513bae0749ecd67f2dc8' }), this.text ? this.text : null));
61
55
  }
62
- get rootElement() { return index.getElement(this); }
63
56
  };
64
57
 
65
58
  exports.db_brand = DBBrand;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBButton = class {
@@ -54,21 +54,14 @@ const DBButton = class {
54
54
  }
55
55
  }
56
56
  componentDidLoad() {
57
- if (document && 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
- }
63
57
  this.enableAttributePassing(this._ref, "db-button");
64
58
  }
65
59
  render() {
66
60
  var _a, _b, _c, _d;
67
- return (index.h("button", { key: 'ba9e12a8eeb41f636573a47de9c4c85e3f6f7986', class: index$1.cls("db-button", this.className), ref: (el) => {
61
+ return (index.h("button", { key: '884fb14651c53c3646098488d59aec90bc7c8234', class: index$1.cls("db-button", this.className), ref: (el) => {
68
62
  this._ref = el;
69
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: index$1.getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-no-text": index$1.getBooleanAsString(this.noText), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, index.h("slot", { key: '695910816fe7038dc5e8d4cb3566b02e75272ce4' })));
63
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: index$1.getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-no-text": index$1.getBooleanAsString(this.noText), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, index.h("slot", { key: 'd5c5efe19be364dca26feb751f76229b9aa71612' })));
70
64
  }
71
- get rootElement() { return index.getElement(this); }
72
65
  };
73
66
 
74
67
  exports.db_button = DBButton;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCard = class {
@@ -50,21 +50,14 @@ const DBCard = class {
50
50
  }
51
51
  }
52
52
  componentDidLoad() {
53
- if (document && this.rootElement && this.rootElement.dataset.connect) {
54
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
55
- if (connectedElement) {
56
- connectedElement.remove();
57
- }
58
- }
59
53
  this.enableAttributePassing(this._ref, "db-card");
60
54
  }
61
55
  render() {
62
56
  var _a, _b;
63
- return (index.h("div", { key: '9fbce0f0603b7a1f8037cc8f3889624f6f908ab1', class: index$1.cls("db-card", this.className), ref: (el) => {
57
+ return (index.h("div", { key: '2e81240f66c3d0652a35fca19fbdeac10b3188c3', class: index$1.cls("db-card", this.className), ref: (el) => {
64
58
  this._ref = el;
65
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '91cff3f8ec07f51b669db6d30ebab9e035ff4cb8' })));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: 'c4a94fea2bffbd1a548e93c09fb643535dfef360' })));
66
60
  }
67
- get rootElement() { return index.getElement(this); }
68
61
  };
69
62
 
70
63
  exports.db_card = DBCard;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.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');
@@ -193,12 +193,6 @@ const DBCheckbox = class {
193
193
  this.watch5Fn();
194
194
  }
195
195
  componentDidLoad() {
196
- if (document && this.rootElement && this.rootElement.dataset.connect) {
197
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
198
- if (connectedElement) {
199
- connectedElement.remove();
200
- }
201
- }
202
196
  this.enableAttributePassing(this._ref, "db-checkbox");
203
197
  this.initialized = true;
204
198
  this.resetIds();
@@ -216,11 +210,10 @@ const DBCheckbox = class {
216
210
  }
217
211
  render() {
218
212
  var _a;
219
- return (index.h("div", { key: '9fce20e55c8c075dc21702023137dc7180a4d00a', class: index$1.cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: 'd9b09729b9759e256cbdbb9083dafac160aa1d48', htmlFor: this._id }, index.h("input", { key: '9ca080c2b174b4cfd750c6027d245c4b9c1067bb', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
213
+ return (index.h("div", { key: '4307b61065bb09633a48978283bfe5534126acea', class: index$1.cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: '0aa7c1cb0b896790de944dabc35e10cd517806b5', htmlFor: this._id }, index.h("input", { key: '6bca474ad52dc47253c8cc0016aa6f3cff223ad8', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
220
214
  this._ref = el;
221
- }, 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"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, index.h("slot", { key: 'b55a47b5325c6ead113139094a0fa0e290d81897' })), 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: '4197a25c9fd55f727cbe91005b0ae4d24eea9810', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '9d5d12ddb9c90e655988fac61261b15f2105063e', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
215
+ }, 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"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, index.h("slot", { key: '12de0b3395173a0ce9f15cf1f8ed49007a721422' })), 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: 'af7347edcc4b3eeb57bdd87fe25cc1ca38a1779f', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '13ec5ad3bd9534eac4ea7d1310edc1e47fa5d382', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
222
216
  }
223
- get rootElement() { return index.getElement(this); }
224
217
  static get watchers() { return {
225
218
  "id": [{
226
219
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCustomButton = class {
@@ -44,21 +44,14 @@ const DBCustomButton = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
- if (document && 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
- }
53
47
  this.enableAttributePassing(this._ref, "db-custom-button");
54
48
  }
55
49
  render() {
56
50
  var _a, _b, _c, _d;
57
- return (index.h("div", { key: '6e34f3b4711c1301644cfd2d205134bf46cff9b7', class: index$1.cls("db-custom-button", this.className), ref: (el) => {
51
+ return (index.h("div", { key: 'a7c717751195403b664b07491a8301dc531779bd', class: index$1.cls("db-custom-button", this.className), ref: (el) => {
58
52
  this._ref = el;
59
- }, id: (_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-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("slot", { key: 'dfac0afd24004e1257613797c9fb953db6948997' })));
53
+ }, id: (_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-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("slot", { key: '7d181ecb68722367d526634fe52afe164117894a' })));
60
54
  }
61
- get rootElement() { return index.getElement(this); }
62
55
  };
63
56
 
64
57
  exports.db_custom_button = DBCustomButton;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
  var constants = require('./constants-bMY2_d8A.js');
6
6
  var formComponents = require('./form-components-_ncB_U2D.js');
@@ -47,21 +47,14 @@ const DBCustomSelectDropdown = class {
47
47
  }
48
48
  }
49
49
  componentDidLoad() {
50
- if (document && this.rootElement && this.rootElement.dataset.connect) {
51
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
52
- if (connectedElement) {
53
- connectedElement.remove();
54
- }
55
- }
56
50
  this.enableAttributePassing(this._ref, "db-custom-select-dropdown");
57
51
  }
58
52
  render() {
59
53
  var _a, _b;
60
- return (index.h("article", { key: 'c653c9365e53ed0b70e317175ab2d79fbd454a61', class: index$1.cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
54
+ return (index.h("article", { key: '666781dcaef33e70aeb2378c19dccf9e0502be81', class: index$1.cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
61
55
  this._ref = el;
62
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: '27d6d442f7055db6e49ce153d11f9c3931e4be4f' })));
56
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: '2587222810ae1534d3c8070f1003820a22429ae9' })));
63
57
  }
64
- get rootElement() { return index.getElement(this); }
65
58
  };
66
59
 
67
60
  const DBCustomSelectList = class {
@@ -105,21 +98,14 @@ const DBCustomSelectList = class {
105
98
  }
106
99
  }
107
100
  componentDidLoad() {
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
101
  this.enableAttributePassing(this._ref, "db-custom-select-list");
115
102
  }
116
103
  render() {
117
104
  var _a, _b;
118
- return (index.h("div", { key: '0e501ddc60e13fa483563a62045d7d3299976fd4', class: index$1.cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
105
+ return (index.h("div", { key: 'dbfa17aa3707db35d7b3c4b8bac3a4a8e45ea352', class: index$1.cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
119
106
  this._ref = el;
120
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: 'b1789ff973e16e284e939c2472e13416ac4b08e7' }, index.h("slot", { key: '828238a50e9d209c32feae5a5d22cf08873201c1' }))));
107
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '241c4d3e9169ba9de06492c1e9bad11df103260a' }, index.h("slot", { key: 'dd407c533d531e58f4eed08895591898f1ec7621' }))));
121
108
  }
122
- get rootElement() { return index.getElement(this); }
123
109
  };
124
110
 
125
111
  const DBCustomSelectListItem = class {
@@ -183,25 +169,18 @@ const DBCustomSelectListItem = class {
183
169
  this.watch0Fn();
184
170
  }
185
171
  componentDidLoad() {
186
- if (document && this.rootElement && this.rootElement.dataset.connect) {
187
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
188
- if (connectedElement) {
189
- connectedElement.remove();
190
- }
191
- }
192
172
  this.enableAttributePassing(this._ref, "db-custom-select-list-item");
193
173
  this.watch0Fn();
194
174
  }
195
175
  render() {
196
176
  var _a, _b;
197
- return (index.h("li", { key: '62dea47631b7d2b3aa9dfa53977515be502e516e', class: index$1.cls("db-custom-select-list-item", this.className, {
177
+ return (index.h("li", { key: '6b727336eecb62e312f2cf7afc18686d1e590b61', class: index$1.cls("db-custom-select-list-item", this.className, {
198
178
  "db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
199
179
  "db-radio": this.type !== "checkbox" && !this.isGroupTitle,
200
180
  }), ref: (el) => {
201
181
  this._ref = el;
202
182
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-divider": index$1.getBooleanAsString(this.hasDivider) }, !this.isGroupTitle ? (index.h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-icon-trailing": this.getIconTrailing() }, index.h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), this.label ? this.label : null, index.h("slot", null))) : (index.h("span", null, this.groupTitle))));
203
183
  }
204
- get rootElement() { return index.getElement(this); }
205
184
  static get watchers() { return {
206
185
  "isGroupTitle": [{
207
186
  "watch0": 0
@@ -407,12 +386,6 @@ const DBInput = class {
407
386
  this.watch4Fn();
408
387
  }
409
388
  componentDidLoad() {
410
- if (document && this.rootElement && this.rootElement.dataset.connect) {
411
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
412
- if (connectedElement) {
413
- connectedElement.remove();
414
- }
415
- }
416
389
  this.enableAttributePassing(this._ref, "db-input");
417
390
  this.resetIds();
418
391
  this._invalidMessage = this.invalidMessage || constants.DEFAULT_INVALID_MESSAGE;
@@ -428,7 +401,7 @@ const DBInput = class {
428
401
  }
429
402
  render() {
430
403
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
431
- return (index.h("div", { key: 'ec95153e143c2e5c2b939ed3f950da15f6b64482', class: index$1.cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-show-icon": index$1.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": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing) }, index.h("label", { key: 'c253045701877337001d77ee127244c40edd51d2', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : constants.DEFAULT_LABEL), index.h("input", { key: '458471592bfb08d219a8872ee728f59af11998af', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
404
+ return (index.h("div", { key: 'b2b30122374389f0ce7cd686adeebd544d739866', class: index$1.cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-show-icon": index$1.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": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing) }, index.h("label", { key: 'b7194b6d956d72f498443792b34f08e9c7c4f9f5', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : constants.DEFAULT_LABEL), index.h("input", { key: '73e36e11d4634eda85bfe9abe646f9e9f95e6cef', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
432
405
  this._ref = el;
433
406
  }, id: this._id, name: this.name, type: this.type || "text", multiple: index$1.getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : constants.DEFAULT_PLACEHOLDER, disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), step: index$1.getStep(this.step), value: (_f = (_e = this.value) !== null && _e !== void 0 ? _e : this._value) !== null && _f !== void 0 ? _f : "", maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.getNumber(this.minLength, this.minlength), max: index$1.getInputValue(this.max, this.type), min: index$1.getInputValue(this.min, this.type), readOnly: index$1.getBoolean(this.readOnly, "readOnly") ||
434
407
  index$1.getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: index$1.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: [
@@ -440,9 +413,8 @@ const DBInput = class {
440
413
  "color",
441
414
  ].includes((_h = this.type) !== null && _h !== void 0 ? _h : "") && index$1.isIOSSafari()
442
415
  ? "textbox"
443
- : undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: '4d10f65a1fc6bcacfcb955c0a1a4e51718b2b94a' }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '6d042698b904075c981bbcbfdf20517b919e1656', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), index.h("span", { key: 'ff033dbe911038702eee30ecd372605815846066', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
416
+ : undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: 'a699c5b648a73eb17f0836def1b1c2a005bf7943' }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '60d2b6b280bfb6258c1a76601123dbb0aa041547', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), index.h("span", { key: '044819a1c744e3d31308e771eeff1c0adc674024', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
444
417
  }
445
- get rootElement() { return index.getElement(this); }
446
418
  static get watchers() { return {
447
419
  "id": [{
448
420
  "watch0": 0
@@ -524,21 +496,14 @@ const DBTag = class {
524
496
  }
525
497
  }
526
498
  componentDidLoad() {
527
- if (document && this.rootElement && this.rootElement.dataset.connect) {
528
- const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
529
- if (connectedElement) {
530
- connectedElement.remove();
531
- }
532
- }
533
499
  this.enableAttributePassing(this._ref, "db-tag");
534
500
  }
535
501
  render() {
536
502
  var _a, _b, _c;
537
- return (index.h("div", { key: '43e3f8fd24d9504c8a66220e9f0df66fde1045a7', class: index$1.cls("db-tag", this.className), ref: (el) => {
503
+ return (index.h("div", { key: '0f44c340afdd993c4f583c23087bf008cb64bb04', class: index$1.cls("db-tag", this.className), ref: (el) => {
538
504
  this._ref = el;
539
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-no-text": index$1.getBooleanAsString(this.noText), "data-overflow": index$1.getBooleanAsString(this.overflow) }, index.h("slot", { key: '2fe8b73179e4f4e02da367c418cc614dec32bfca', name: "content" }), this.text ? this.text : null, index.h("slot", { key: '6e2873832b12cb87b895554ce090e55163ce7b37' }), this.behavior === "removable" ? (index.h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, index.h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
505
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-no-text": index$1.getBooleanAsString(this.noText), "data-overflow": index$1.getBooleanAsString(this.overflow) }, index.h("slot", { key: '9e4388656037b233763783ba6e771d30f8302f5c', name: "content" }), this.text ? this.text : null, index.h("slot", { key: 'e53a5fc3a2f9d5193a73f6c6256aac900df60c74' }), this.behavior === "removable" ? (index.h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, index.h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
540
506
  }
541
- get rootElement() { return index.getElement(this); }
542
507
  };
543
508
 
544
509
  exports.db_custom_select_dropdown = DBCustomSelectDropdown;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-BoC-BWt4.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCustomSelectFormField = class {
@@ -44,21 +44,14 @@ const DBCustomSelectFormField = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
- if (document && 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
- }
53
47
  this.enableAttributePassing(this._ref, "db-custom-select-form-field");
54
48
  }
55
49
  render() {
56
50
  var _a, _b;
57
- return (index.h("summary", { key: '9afc6a67593004b2973b9e2126259f8013506108', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
51
+ return (index.h("summary", { key: '6e319e52a2daf3966edf7d8ebc3febb10c8a8857', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
58
52
  this._ref = el;
59
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '95c4f37075676b60016a214b3bddb31d7eef0f50' })));
53
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '05a393b0ff51cc37aff8d237b0a8101f4b352261' })));
60
54
  }
61
- get rootElement() { return index.getElement(this); }
62
55
  };
63
56
 
64
57
  exports.db_custom_select_form_field = DBCustomSelectFormField;