@db-ux/wc-core-components 4.10.1 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/bundle/db-accordion-item.js +1 -1
  4. package/bundle/db-accordion.js +1 -1
  5. package/bundle/db-badge.js +1 -1
  6. package/bundle/db-brand.js +1 -1
  7. package/bundle/db-button.js +1 -1
  8. package/bundle/db-card.js +1 -1
  9. package/bundle/db-checkbox.js +1 -1
  10. package/bundle/db-custom-button.js +1 -1
  11. package/bundle/db-custom-select-dropdown.js +1 -1
  12. package/bundle/db-custom-select-form-field.js +1 -1
  13. package/bundle/db-custom-select-list-item.js +1 -1
  14. package/bundle/db-custom-select-list.js +1 -1
  15. package/bundle/db-custom-select.js +1 -1
  16. package/bundle/db-divider.js +1 -1
  17. package/bundle/db-drawer.js +1 -1
  18. package/bundle/db-header.js +1 -1
  19. package/bundle/db-icon.js +1 -1
  20. package/bundle/db-infotext.js +1 -1
  21. package/bundle/db-input.js +1 -1
  22. package/bundle/db-link.js +1 -1
  23. package/bundle/db-navigation-item.js +1 -1
  24. package/bundle/db-navigation.js +1 -1
  25. package/bundle/db-notification.js +1 -1
  26. package/bundle/db-page.js +1 -1
  27. package/bundle/db-popover.js +1 -1
  28. package/bundle/db-radio.js +1 -1
  29. package/bundle/db-section.js +1 -1
  30. package/bundle/db-select.js +1 -1
  31. package/bundle/db-stack.js +1 -1
  32. package/bundle/db-switch.js +1 -1
  33. package/bundle/db-tab-item.js +1 -1
  34. package/bundle/db-tab-list.js +1 -1
  35. package/bundle/db-tab-panel.js +1 -1
  36. package/bundle/db-table-body.d.ts +11 -0
  37. package/bundle/db-table-body.js +1 -0
  38. package/bundle/db-table-caption.d.ts +11 -0
  39. package/bundle/db-table-caption.js +1 -0
  40. package/bundle/db-table-data-cell.d.ts +11 -0
  41. package/bundle/db-table-data-cell.js +1 -0
  42. package/bundle/db-table-footer.d.ts +11 -0
  43. package/bundle/db-table-footer.js +1 -0
  44. package/bundle/db-table-head.d.ts +11 -0
  45. package/bundle/db-table-head.js +1 -0
  46. package/bundle/db-table-header-cell.d.ts +11 -0
  47. package/bundle/db-table-header-cell.js +1 -0
  48. package/bundle/db-table-row.d.ts +11 -0
  49. package/bundle/db-table-row.js +1 -0
  50. package/bundle/db-table.d.ts +11 -0
  51. package/bundle/db-table.js +1 -0
  52. package/bundle/db-tabs.js +1 -1
  53. package/bundle/db-tag.js +1 -1
  54. package/bundle/db-textarea.js +1 -1
  55. package/bundle/db-tooltip.js +1 -1
  56. package/bundle/index.js +1 -1
  57. package/bundle/{p-DS39nEhJ.js → p-B5ANMEnQ.js} +1 -1
  58. package/bundle/p-BJwvv-yT.js +1 -0
  59. package/bundle/{p-DE_eDJiD.js → p-BNiKxu3y.js} +1 -1
  60. package/bundle/p-B_bPnncM.js +1 -0
  61. package/bundle/p-BnLhi6Lz.js +1 -0
  62. package/bundle/p-BrBlnLrn.js +1 -0
  63. package/bundle/p-CByFfoSH.js +1 -0
  64. package/bundle/{p-bzxfqhtq.js → p-CQo0C7QE.js} +1 -1
  65. package/bundle/p-CR2ZbfYe.js +1 -0
  66. package/bundle/p-CYYSsu3p.js +1 -0
  67. package/bundle/p-CeDu282h.js +1 -0
  68. package/bundle/p-CfLPOLHz.js +1 -0
  69. package/bundle/p-CoOxyQb2.js +1 -0
  70. package/bundle/p-CqED0CfD.js +1 -0
  71. package/bundle/p-Cr_z1Jfi.js +1 -0
  72. package/bundle/{p-e18AQLns.js → p-D-XzX0R7.js} +1 -1
  73. package/{dist/db-ux/p-D5mInaY7.js → bundle/p-D6L0n3gO.js} +1 -1
  74. package/bundle/p-DJTpgiBy.js +1 -0
  75. package/bundle/p-DMSIvqcA.js +1 -0
  76. package/bundle/p-DUiroUyR.js +1 -0
  77. package/bundle/p-DdyMClpj.js +1 -0
  78. package/bundle/p-DjVjS2Tb.js +1 -0
  79. package/bundle/p-in4Kv88F.js +1 -0
  80. package/dist/cjs/db-accordion-item.cjs.entry.js +4 -4
  81. package/dist/cjs/db-accordion.cjs.entry.js +3 -3
  82. package/dist/cjs/db-badge.cjs.entry.js +4 -4
  83. package/dist/cjs/db-brand.cjs.entry.js +4 -4
  84. package/dist/cjs/db-button.cjs.entry.js +6 -5
  85. package/dist/cjs/db-card.cjs.entry.js +4 -4
  86. package/dist/cjs/db-checkbox.cjs.entry.js +5 -5
  87. package/dist/cjs/db-custom-button.cjs.entry.js +6 -5
  88. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +18 -17
  89. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +4 -4
  90. package/dist/cjs/db-custom-select.cjs.entry.js +10 -10
  91. package/dist/cjs/db-divider.cjs.entry.js +3 -3
  92. package/dist/cjs/db-drawer.cjs.entry.js +5 -5
  93. package/dist/cjs/db-header.cjs.entry.js +4 -4
  94. package/dist/cjs/db-icon.cjs.entry.js +4 -4
  95. package/dist/cjs/db-infotext.cjs.entry.js +4 -4
  96. package/dist/cjs/db-link_4.cjs.entry.js +248 -0
  97. package/dist/cjs/db-navigation-item.cjs.entry.js +4 -4
  98. package/dist/cjs/db-navigation.cjs.entry.js +4 -4
  99. package/dist/cjs/db-notification.cjs.entry.js +4 -4
  100. package/dist/cjs/db-page.cjs.entry.js +4 -4
  101. package/dist/cjs/db-popover.cjs.entry.js +5 -5
  102. package/dist/cjs/db-radio.cjs.entry.js +5 -5
  103. package/dist/cjs/db-section.cjs.entry.js +4 -4
  104. package/dist/cjs/db-select.cjs.entry.js +6 -6
  105. package/dist/cjs/db-stack.cjs.entry.js +4 -4
  106. package/dist/cjs/db-switch.cjs.entry.js +5 -5
  107. package/dist/cjs/db-tab-item_3.cjs.entry.js +12 -11
  108. package/dist/cjs/db-table-body_3.cjs.entry.js +194 -0
  109. package/dist/cjs/{db-link.cjs.entry.js → db-table-caption.cjs.entry.js} +7 -8
  110. package/dist/cjs/db-table.cjs.entry.js +158 -0
  111. package/dist/cjs/db-tabs.cjs.entry.js +4 -4
  112. package/dist/cjs/db-textarea.cjs.entry.js +5 -5
  113. package/dist/cjs/db-tooltip.cjs.entry.js +5 -5
  114. package/dist/cjs/db-ux.cjs.js +3 -3
  115. package/dist/cjs/{document-click-listener-B2-xKJv3.js → document-click-listener-DdNXbErU.js} +1 -1
  116. package/dist/cjs/{document-scroll-listener-ChQ7XZRk.js → document-scroll-listener-CvAZ6uPr.js} +1 -1
  117. package/dist/cjs/{form-components-_ncB_U2D.js → form-components-CmQlkARp.js} +1 -1
  118. package/dist/cjs/{index-DLuhzJ0p.js → index-C313bRqJ.js} +22 -1
  119. package/dist/cjs/{index-2_9ESkQu.js → index-spuu3sXz.js} +13 -8
  120. package/dist/cjs/index.cjs.js +23 -4
  121. package/dist/cjs/loader.cjs.js +2 -2
  122. package/dist/collection/collection-manifest.json +9 -1
  123. package/dist/collection/components/accordion/accordion.js +1 -1
  124. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  125. package/dist/collection/components/badge/badge.js +2 -2
  126. package/dist/collection/components/brand/brand.js +3 -3
  127. package/dist/collection/components/button/button.js +7 -6
  128. package/dist/collection/components/card/card.js +2 -2
  129. package/dist/collection/components/checkbox/checkbox.js +3 -3
  130. package/dist/collection/components/custom-button/custom-button.js +7 -6
  131. package/dist/collection/components/custom-select/custom-select.js +7 -7
  132. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  133. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  134. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  135. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +3 -3
  136. package/dist/collection/components/divider/divider.js +1 -1
  137. package/dist/collection/components/drawer/drawer.js +3 -3
  138. package/dist/collection/components/header/header.js +2 -2
  139. package/dist/collection/components/icon/icon.js +3 -3
  140. package/dist/collection/components/infotext/infotext.js +3 -3
  141. package/dist/collection/components/input/input.js +11 -10
  142. package/dist/collection/components/link/link.js +2 -2
  143. package/dist/collection/components/navigation/navigation.js +2 -2
  144. package/dist/collection/components/navigation-item/navigation-item.js +3 -3
  145. package/dist/collection/components/notification/notification.js +3 -3
  146. package/dist/collection/components/page/page.js +2 -2
  147. package/dist/collection/components/popover/popover.js +2 -2
  148. package/dist/collection/components/radio/radio.js +2 -2
  149. package/dist/collection/components/section/section.js +2 -2
  150. package/dist/collection/components/select/select.js +5 -5
  151. package/dist/collection/components/stack/stack.js +2 -2
  152. package/dist/collection/components/switch/switch.js +6 -6
  153. package/dist/collection/components/tab-item/tab-item.js +9 -8
  154. package/dist/collection/components/tab-list/tab-list.js +2 -2
  155. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  156. package/dist/collection/components/table/examples/data.js +258 -0
  157. package/dist/collection/components/table/index.js +2 -0
  158. package/dist/collection/components/table/model.js +6 -0
  159. package/dist/collection/components/table/table.js +478 -0
  160. package/dist/collection/components/table-body/index.js +2 -0
  161. package/dist/collection/components/table-body/model.js +1 -0
  162. package/dist/collection/components/table-body/table-body.js +144 -0
  163. package/dist/collection/components/table-caption/index.js +2 -0
  164. package/dist/collection/components/table-caption/model.js +1 -0
  165. package/dist/collection/components/table-caption/table-caption.js +116 -0
  166. package/dist/collection/components/table-data-cell/index.js +2 -0
  167. package/dist/collection/components/table-data-cell/model.js +1 -0
  168. package/dist/collection/components/table-data-cell/table-data-cell.js +298 -0
  169. package/dist/collection/components/table-footer/index.js +2 -0
  170. package/dist/collection/components/table-footer/model.js +1 -0
  171. package/dist/collection/components/table-footer/table-footer.js +144 -0
  172. package/dist/collection/components/table-head/index.js +2 -0
  173. package/dist/collection/components/table-head/model.js +1 -0
  174. package/dist/collection/components/table-head/table-head.js +147 -0
  175. package/dist/collection/components/table-header-cell/index.js +2 -0
  176. package/dist/collection/components/table-header-cell/model.js +1 -0
  177. package/dist/collection/components/table-header-cell/table-header-cell.js +376 -0
  178. package/dist/collection/components/table-row/index.js +2 -0
  179. package/dist/collection/components/table-row/model.js +1 -0
  180. package/dist/collection/components/table-row/table-row.js +202 -0
  181. package/dist/collection/components/tabs/tabs.js +2 -2
  182. package/dist/collection/components/tag/tag.js +3 -3
  183. package/dist/collection/components/textarea/textarea.js +3 -3
  184. package/dist/collection/components/tooltip/tooltip.js +2 -2
  185. package/dist/collection/index.js +16 -0
  186. package/dist/collection/shared/model.js +1 -1
  187. package/dist/collection/utils/index.js +13 -8
  188. package/dist/custom-elements.json +6998 -3826
  189. package/dist/db-ux/db-ux.esm.js +1 -1
  190. package/dist/db-ux/index.esm.js +1 -1
  191. package/dist/db-ux/{p-f65e1db8.entry.js → p-08271c80.entry.js} +1 -1
  192. package/dist/db-ux/{p-368d25ab.entry.js → p-105ffa74.entry.js} +1 -1
  193. package/dist/db-ux/p-15adca91.entry.js +1 -0
  194. package/dist/db-ux/{p-47910fdc.entry.js → p-1a322a0c.entry.js} +1 -1
  195. package/dist/db-ux/p-1f7232c0.entry.js +1 -0
  196. package/dist/db-ux/p-27e2f6f2.entry.js +1 -0
  197. package/dist/db-ux/p-2907f214.entry.js +1 -0
  198. package/dist/db-ux/p-2ff958e4.entry.js +1 -0
  199. package/dist/db-ux/p-3423b7af.entry.js +1 -0
  200. package/dist/db-ux/{p-28c257d5.entry.js → p-365e6edf.entry.js} +1 -1
  201. package/dist/db-ux/{p-4580938f.entry.js → p-42516007.entry.js} +1 -1
  202. package/dist/db-ux/p-5045182c.entry.js +1 -0
  203. package/dist/db-ux/{p-aad0c4ef.entry.js → p-5e1d42e5.entry.js} +1 -1
  204. package/dist/db-ux/{p-f27c6655.entry.js → p-61b28212.entry.js} +1 -1
  205. package/dist/db-ux/{p-9712c9c9.entry.js → p-6850a53c.entry.js} +1 -1
  206. package/dist/db-ux/p-6bff55b4.entry.js +1 -0
  207. package/dist/db-ux/p-6e7c5e42.entry.js +1 -0
  208. package/dist/db-ux/p-76adf385.entry.js +1 -0
  209. package/dist/db-ux/p-78f7b353.entry.js +1 -0
  210. package/dist/db-ux/p-7fa5d304.entry.js +1 -0
  211. package/dist/db-ux/p-95b69e71.entry.js +1 -0
  212. package/dist/db-ux/p-99ebe6ec.entry.js +1 -0
  213. package/dist/db-ux/p-BihrW11j.js +1 -0
  214. package/dist/db-ux/p-BlbKvvUv.js +2 -0
  215. package/{bundle/p-4nwUOzw7.js → dist/db-ux/p-BtImZ8Nt.js} +1 -1
  216. package/dist/db-ux/p-OOIf-5XP.js +1 -0
  217. package/dist/db-ux/p-a5dc355d.entry.js +1 -0
  218. package/dist/db-ux/{p-f583f756.entry.js → p-a6113789.entry.js} +1 -1
  219. package/dist/db-ux/p-b9c0feaf.entry.js +1 -0
  220. package/dist/db-ux/p-c14fa91a.entry.js +1 -0
  221. package/dist/db-ux/p-c65b807e.entry.js +1 -0
  222. package/dist/db-ux/{p-b1e7ba0f.entry.js → p-dd9cedbe.entry.js} +1 -1
  223. package/dist/db-ux/{p-331ad11c.entry.js → p-e3f705fd.entry.js} +1 -1
  224. package/dist/db-ux/{p-0ae85978.entry.js → p-e4cddc9f.entry.js} +1 -1
  225. package/dist/db-ux/p-e7a8612c.entry.js +1 -0
  226. package/dist/db-ux/{p-cac5b161.entry.js → p-ee8c3243.entry.js} +1 -1
  227. package/dist/db-ux/p-f0d0acfc.entry.js +1 -0
  228. package/dist/db-ux/{p-13afb969.entry.js → p-f15748ea.entry.js} +1 -1
  229. package/dist/db-ux/p-fumiz06Y.js +1 -0
  230. package/dist/esm/db-accordion-item.entry.js +4 -4
  231. package/dist/esm/db-accordion.entry.js +3 -3
  232. package/dist/esm/db-badge.entry.js +4 -4
  233. package/dist/esm/db-brand.entry.js +4 -4
  234. package/dist/esm/db-button.entry.js +6 -5
  235. package/dist/esm/db-card.entry.js +4 -4
  236. package/dist/esm/db-checkbox.entry.js +5 -5
  237. package/dist/esm/db-custom-button.entry.js +6 -5
  238. package/dist/esm/db-custom-select-dropdown_5.entry.js +18 -17
  239. package/dist/esm/db-custom-select-form-field.entry.js +4 -4
  240. package/dist/esm/db-custom-select.entry.js +10 -10
  241. package/dist/esm/db-divider.entry.js +3 -3
  242. package/dist/esm/db-drawer.entry.js +5 -5
  243. package/dist/esm/db-header.entry.js +4 -4
  244. package/dist/esm/db-icon.entry.js +4 -4
  245. package/dist/esm/db-infotext.entry.js +4 -4
  246. package/dist/esm/db-link_4.entry.js +243 -0
  247. package/dist/esm/db-navigation-item.entry.js +4 -4
  248. package/dist/esm/db-navigation.entry.js +4 -4
  249. package/dist/esm/db-notification.entry.js +4 -4
  250. package/dist/esm/db-page.entry.js +4 -4
  251. package/dist/esm/db-popover.entry.js +5 -5
  252. package/dist/esm/db-radio.entry.js +5 -5
  253. package/dist/esm/db-section.entry.js +4 -4
  254. package/dist/esm/db-select.entry.js +6 -6
  255. package/dist/esm/db-stack.entry.js +4 -4
  256. package/dist/esm/db-switch.entry.js +5 -5
  257. package/dist/esm/db-tab-item_3.entry.js +12 -11
  258. package/dist/esm/db-table-body_3.entry.js +190 -0
  259. package/dist/esm/{db-link.entry.js → db-table-caption.entry.js} +7 -8
  260. package/dist/esm/db-table.entry.js +156 -0
  261. package/dist/esm/db-tabs.entry.js +4 -4
  262. package/dist/esm/db-textarea.entry.js +5 -5
  263. package/dist/esm/db-tooltip.entry.js +5 -5
  264. package/dist/esm/db-ux.js +4 -4
  265. package/dist/esm/{document-click-listener-D7W_VE5O.js → document-click-listener-9wJfRcvz.js} +1 -1
  266. package/dist/esm/{document-scroll-listener-DOBe3Oa9.js → document-scroll-listener-4F0ZAg9p.js} +1 -1
  267. package/dist/esm/{form-components-D6LQfJvq.js → form-components-ZV7IN0oG.js} +1 -1
  268. package/dist/esm/{index-Cr2cgn5B.js → index-BlbKvvUv.js} +22 -1
  269. package/dist/esm/{index-xkoBSP8R.js → index-fumiz06Y.js} +13 -8
  270. package/dist/esm/index.js +16 -5
  271. package/dist/esm/loader.js +3 -3
  272. package/dist/types/components/table/examples/data.d.ts +9 -0
  273. package/dist/types/components/table/index.d.ts +2 -0
  274. package/dist/types/components/table/model.d.ts +74 -0
  275. package/dist/types/components/table/table.d.ts +38 -0
  276. package/dist/types/components/table-body/index.d.ts +2 -0
  277. package/dist/types/components/table-body/model.d.ts +8 -0
  278. package/dist/types/components/table-body/table-body.d.ts +20 -0
  279. package/dist/types/components/table-caption/index.d.ts +2 -0
  280. package/dist/types/components/table-caption/model.d.ts +5 -0
  281. package/dist/types/components/table-caption/table-caption.d.ts +19 -0
  282. package/dist/types/components/table-data-cell/index.d.ts +2 -0
  283. package/dist/types/components/table-data-cell/model.d.ts +5 -0
  284. package/dist/types/components/table-data-cell/table-data-cell.d.ts +26 -0
  285. package/dist/types/components/table-footer/index.d.ts +2 -0
  286. package/dist/types/components/table-footer/model.d.ts +8 -0
  287. package/dist/types/components/table-footer/table-footer.d.ts +20 -0
  288. package/dist/types/components/table-head/index.d.ts +2 -0
  289. package/dist/types/components/table-head/model.d.ts +10 -0
  290. package/dist/types/components/table-head/table-head.d.ts +59 -0
  291. package/dist/types/components/table-header-cell/index.d.ts +2 -0
  292. package/dist/types/components/table-header-cell/model.d.ts +24 -0
  293. package/dist/types/components/table-header-cell/table-header-cell.d.ts +29 -0
  294. package/dist/types/components/table-row/index.d.ts +2 -0
  295. package/dist/types/components/table-row/model.d.ts +30 -0
  296. package/dist/types/components/table-row/table-row.d.ts +24 -0
  297. package/dist/types/components.d.ts +278 -0
  298. package/dist/types/index.d.ts +16 -0
  299. package/dist/types/shared/figma.d.ts +70 -18
  300. package/dist/types/shared/model.d.ts +44 -2
  301. package/dist/types/stencil-public-runtime.d.ts +1 -0
  302. package/dist/types/utils/index.d.ts +9 -4
  303. package/dist/vscode.html-custom-data.json +400 -2
  304. package/dist/web-types.json +744 -5
  305. package/package.json +6 -6
  306. package/bundle/p-4TaCoruo.js +0 -1
  307. package/bundle/p-BJJFATCC.js +0 -1
  308. package/bundle/p-CCbaTFJ9.js +0 -1
  309. package/bundle/p-CEiQBevg.js +0 -1
  310. package/bundle/p-CV8l9qaA.js +0 -1
  311. package/bundle/p-CmqAwQNR.js +0 -1
  312. package/bundle/p-D4Ym01qf.js +0 -1
  313. package/bundle/p-DVYa1bHg.js +0 -1
  314. package/bundle/p-DwwxAylo.js +0 -1
  315. package/bundle/p-QNp8H1KD.js +0 -1
  316. package/bundle/p-_2t1bnPD.js +0 -1
  317. package/dist/db-ux/p-174d2486.entry.js +0 -1
  318. package/dist/db-ux/p-293510ca.entry.js +0 -1
  319. package/dist/db-ux/p-339a6ca0.entry.js +0 -1
  320. package/dist/db-ux/p-34e21986.entry.js +0 -1
  321. package/dist/db-ux/p-5d2e2a8d.entry.js +0 -1
  322. package/dist/db-ux/p-691ae341.entry.js +0 -1
  323. package/dist/db-ux/p-7c58337d.entry.js +0 -1
  324. package/dist/db-ux/p-7f4d00df.entry.js +0 -1
  325. package/dist/db-ux/p-9b907b56.entry.js +0 -1
  326. package/dist/db-ux/p-9c3ff50e.entry.js +0 -1
  327. package/dist/db-ux/p-CHLgQ9vn.js +0 -1
  328. package/dist/db-ux/p-Cr2cgn5B.js +0 -2
  329. package/dist/db-ux/p-D_roHmuC.js +0 -1
  330. package/dist/db-ux/p-a56886ea.entry.js +0 -1
  331. package/dist/db-ux/p-a617da42.entry.js +0 -1
  332. package/dist/db-ux/p-ae3183f0.entry.js +0 -1
  333. package/dist/db-ux/p-ae457f95.entry.js +0 -1
  334. package/dist/db-ux/p-dcf02351.entry.js +0 -1
  335. package/dist/db-ux/p-e46dc907.entry.js +0 -1
  336. package/dist/db-ux/p-fe5d3eb6.entry.js +0 -1
  337. package/dist/db-ux/p-xkoBSP8R.js +0 -1
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
4
- var index$1 = require('./index-2_9ESkQu.js');
5
- var formComponents = require('./form-components-_ncB_U2D.js');
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
+ var formComponents = require('./form-components-CmQlkARp.js');
6
6
 
7
7
  const DBRadio = class {
8
8
  constructor(hostRef) {
@@ -133,9 +133,9 @@ const DBRadio = class {
133
133
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
134
134
  }
135
135
  render() {
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) => {
136
+ return (index.h("label", { key: 'a0c0cd38ac8c6addb0f826294c56ff235d0ea624', 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: '1dae5434da230a2e9268e89057d83b92f64b91c6', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
137
137
  this._ref = el;
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' })));
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: '7e8423038fc180907953fe21a406bc7195dcdaeb' })));
139
139
  }
140
140
  get rootElement() { return index.getElement(this); }
141
141
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
4
- var index$1 = require('./index-2_9ESkQu.js');
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
5
 
6
6
  const DBSection = class {
7
7
  constructor(hostRef) {
@@ -54,9 +54,9 @@ const DBSection = class {
54
54
  }
55
55
  render() {
56
56
  var _a, _b;
57
- return (index.h("section", { key: '03d6f7ed2eea5b1374d0f5be00d77e59897033ea', class: index$1.cls("db-section", this.className), ref: (el) => {
57
+ return (index.h("section", { key: '5c139b6a510425291fae249e710d4b3eafdbd0c4', class: index$1.cls("db-section", this.className), ref: (el) => {
58
58
  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-spacing": this.spacing || "medium", "data-width": this.width }, index.h("slot", { key: '55c388d7e65e9bd27dd229f01a3c162719b90df2' })));
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: 'de4549ef8be697b8298962bb254c33b531cbc915' })));
60
60
  }
61
61
  get rootElement() { return index.getElement(this); }
62
62
  };
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-C313bRqJ.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
- var index$1 = require('./index-2_9ESkQu.js');
6
- var formComponents = require('./form-components-_ncB_U2D.js');
5
+ var index$1 = require('./index-spuu3sXz.js');
6
+ var formComponents = require('./form-components-CmQlkARp.js');
7
7
 
8
8
  const DBSelect = class {
9
9
  constructor(hostRef) {
@@ -244,14 +244,14 @@ const DBSelect = class {
244
244
  }
245
245
  render() {
246
246
  var _a, _b, _c, _d, _e, _f;
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) => {
247
+ return (index.h("div", { key: '9a671204460166241b06ea30a76987f89bc44185', 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, "showIcon") }, index.h("label", { key: '008bd6fffd2fb37d74c1bc347e02789265dc8b1b', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("select", { key: '6136d1db041667b7cb9ac8cbb6fe116f3aebe56a', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
248
248
  this._ref = el;
249
249
  }, required: index$1.getBoolean(this.required, "required"), disabled: index$1.getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
250
250
  /* @ts-ignore */
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) => {
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(), "showEmptyOption") })) : null, ((_e = this.options) === null || _e === void 0 ? void 0 : _e.length) ? ((_f = this.options) === null || _f === void 0 ? void 0 : _f.map((option) => {
252
252
  var _a;
253
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)))));
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)));
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: '2917ae74aeec788b09b7b8d748905f5505742076', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '34c00871d2416959b44f2bb21816696d5ee62ea3', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
255
255
  }
256
256
  get rootElement() { return index.getElement(this); }
257
257
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
4
- var index$1 = require('./index-2_9ESkQu.js');
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
5
 
6
6
  const DBStack = class {
7
7
  constructor(hostRef) {
@@ -54,9 +54,9 @@ const DBStack = class {
54
54
  }
55
55
  render() {
56
56
  var _a, _b;
57
- return (index.h("div", { key: '87f4f22cbfd4355da58ace757805c9e29758eb6d', class: index$1.cls("db-stack", this.className), ref: (el) => {
57
+ return (index.h("div", { key: '62cf5c2919a377c7167776fda39248a7ea03ebb2', class: index$1.cls("db-stack", this.className), ref: (el) => {
58
58
  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-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' })));
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, "wrap") }, index.h("slot", { key: 'af86645752507ed68b97f6b290cd304c6cf48952' })));
60
60
  }
61
61
  get rootElement() { return index.getElement(this); }
62
62
  };
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
3
+ var index = require('./index-C313bRqJ.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
- var index$1 = require('./index-2_9ESkQu.js');
6
- var formComponents = require('./form-components-_ncB_U2D.js');
5
+ var index$1 = require('./index-spuu3sXz.js');
6
+ var formComponents = require('./form-components-CmQlkARp.js');
7
7
 
8
8
  const DBSwitch = class {
9
9
  constructor(hostRef) {
@@ -194,9 +194,9 @@ const DBSwitch = class {
194
194
  }
195
195
  render() {
196
196
  var _a, _b;
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) => {
197
+ return (index.h("div", { key: '4580075ad2dc46cce52be60c2738d0fd1033ae74', class: index$1.cls("db-switch", this.className), "data-visual-aid": index$1.getBooleanAsString(this.visualAid, "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: 'bb3f0961808c94615181dc7e256a0ee35dcf34b7', htmlFor: this._id }, index.h("input", { key: '352257d398c6808c4a643e97b5505edddec9477c', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
198
198
  this._ref = el;
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)));
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: '72b91ff451105158b600372cf2a338feb417488d' })), 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: '77aeba89e7998e2e62f47cf578d087da4881bea1', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '470358471b50f36f0faa2fe3107768785f5c256a', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
200
200
  }
201
201
  get rootElement() { return index.getElement(this); }
202
202
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
4
- var index$1 = require('./index-2_9ESkQu.js');
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
5
 
6
6
  const DBTabItem = class {
7
7
  constructor(hostRef) {
@@ -15,7 +15,7 @@ const DBTabItem = class {
15
15
  }
16
16
  setSelectedOnChange(event) {
17
17
  event.stopPropagation();
18
- this._selected = index$1.getBooleanAsString(event.target === this._ref);
18
+ this._selected = index$1.getBooleanAsString(event.target === this._ref, "selected");
19
19
  }
20
20
  handleNameAttribute() {
21
21
  if (this._ref) {
@@ -81,7 +81,7 @@ const DBTabItem = class {
81
81
  }
82
82
  // Initialize selected state from either active prop (set by parent) or checked attribute
83
83
  if (this.active || this._ref.checked) {
84
- this._selected = index$1.getBooleanAsString(true);
84
+ this._selected = index$1.getBooleanAsString(true, "selected");
85
85
  this._ref.click();
86
86
  }
87
87
  }
@@ -119,10 +119,11 @@ const DBTabItem = class {
119
119
  }
120
120
  }
121
121
  render() {
122
- var _a, _b, _c, _d, _e, _f;
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) => {
122
+ var _a, _b, _c, _d, _e;
123
+ return (index.h("li", { key: '8189c400a6ac975657082338dd31d96a2d0c38d9', class: index$1.cls("db-tab-item", this.className), role: "none" }, index.h("label", { key: '08c6f0760a4cc6f5758d22380c94331858f4823d', 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(this.showIconLeading, "showIconLeading") ||
124
+ index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-no-text": index$1.getBooleanAsString(this.noText, "noText") }, index.h("input", { key: '6729729ae705d60fa25cb49850cc54166b7f56a0', type: "radio", role: "tab", disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: index$1.getBoolean(this.checked, "checked"), ref: (el) => {
124
125
  this._ref = el;
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' }))));
126
+ }, name: this._name, id: (_d = this.id) !== null && _d !== void 0 ? _d : (_e = this.propOverrides) === null || _e === void 0 ? void 0 : _e.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, index.h("slot", { key: 'eb4bc6568c4c6d63706d2f5927ea73fd5d40d6ac' }))));
126
127
  }
127
128
  get rootElement() { return index.getElement(this); }
128
129
  static get watchers() { return {
@@ -192,9 +193,9 @@ const DBTabList = class {
192
193
  }
193
194
  render() {
194
195
  var _a, _b;
195
- return (index.h("div", { key: 'ce54a7c3bef0090cf7aa0d6b11fedd6d3b4bbd07', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
196
+ return (index.h("div", { key: '9459e474559fa115dc69cb188e4c490a522d035c', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
196
197
  this._ref = el;
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' }))));
198
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '7d2dbddd6ad03047abd8572b6125a53072ff94d0', role: "tablist" }, index.h("slot", { key: '10079c1b3bbc66157a0603e55ea1f5f48aee0faf' }))));
198
199
  }
199
200
  get rootElement() { return index.getElement(this); }
200
201
  };
@@ -250,9 +251,9 @@ const DBTabPanel = class {
250
251
  }
251
252
  render() {
252
253
  var _a, _b;
253
- return (index.h("section", { key: '86076593b5c38755ddd08bbb930bb8252b9e5e78', class: index$1.cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
254
+ return (index.h("section", { key: 'c5b52e3d5bce98a32f2dba1956f58d707ae1b89b', class: index$1.cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
254
255
  this._ref = el;
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' })));
256
+ }, 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: 'd64ba9e9cdbb15198934c7069f7e2390c3c443e8' })));
256
257
  }
257
258
  get rootElement() { return index.getElement(this); }
258
259
  };
@@ -0,0 +1,194 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
+
6
+ const DBTableBody = class {
7
+ constructor(hostRef) {
8
+ index.registerInstance(this, hostRef);
9
+ }
10
+ /**
11
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
12
+ * @param element the ref for the component
13
+ * @param customElementSelector the custom element like `my-component`
14
+ */
15
+ enableAttributePassing(element, customElementSelector) {
16
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
17
+ if (element && parent) {
18
+ const attributes = parent.attributes;
19
+ for (let i = 0; i < attributes.length; i++) {
20
+ const attr = attributes.item(i);
21
+ if (attr && attr.name !== 'data-density' &&
22
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
23
+ element.setAttribute(attr.name, attr.value);
24
+ parent.removeAttribute(attr.name);
25
+ }
26
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
27
+ element.setAttribute(attr.name, attr.value);
28
+ parent.removeAttribute(attr.name);
29
+ }
30
+ else if (attr && attr.name === "class") {
31
+ const isWebComponent = attr.value.includes("hydrated");
32
+ const value = attr.value.replace("hydrated", "").trim();
33
+ const currentClass = element.getAttribute("class");
34
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
35
+ if (isWebComponent) {
36
+ // Stencil is using this class for lazy loading component
37
+ parent.setAttribute("class", "hydrated");
38
+ }
39
+ else {
40
+ parent.removeAttribute(attr.name);
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
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
+ }
53
+ this.enableAttributePassing(this._ref, "db-table-body");
54
+ }
55
+ render() {
56
+ var _a;
57
+ return (index.h("tbody", { key: 'c497d5a4be20eda6884e6e04b37ef7c9e211f307', class: index$1.cls("db-table-body", this.className), ref: (el) => {
58
+ this._ref = el;
59
+ }, id: this.id }, this.rows ? ((_a = this.rows) === null || _a === void 0 ? void 0 : _a.map((row, index$2) => {
60
+ var _a, _b, _c;
61
+ return (index.h("db-table-row", { class: (_a = row.className) !== null && _a !== void 0 ? _a : row.class, key: `${(_c = (_b = row.id) !== null && _b !== void 0 ? _b : this.id) !== null && _c !== void 0 ? _c : index$1.uuid()}-table-body-row-${index$2}`, cells: row.cells, interactive: row.interactive, id: row.id }));
62
+ })) : (index.h("slot", null))));
63
+ }
64
+ get rootElement() { return index.getElement(this); }
65
+ };
66
+
67
+ const DBTableFooter = class {
68
+ constructor(hostRef) {
69
+ index.registerInstance(this, hostRef);
70
+ }
71
+ /**
72
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
73
+ * @param element the ref for the component
74
+ * @param customElementSelector the custom element like `my-component`
75
+ */
76
+ enableAttributePassing(element, customElementSelector) {
77
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
78
+ if (element && parent) {
79
+ const attributes = parent.attributes;
80
+ for (let i = 0; i < attributes.length; i++) {
81
+ const attr = attributes.item(i);
82
+ if (attr && attr.name !== 'data-density' &&
83
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
84
+ element.setAttribute(attr.name, attr.value);
85
+ parent.removeAttribute(attr.name);
86
+ }
87
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
88
+ element.setAttribute(attr.name, attr.value);
89
+ parent.removeAttribute(attr.name);
90
+ }
91
+ else if (attr && attr.name === "class") {
92
+ const isWebComponent = attr.value.includes("hydrated");
93
+ const value = attr.value.replace("hydrated", "").trim();
94
+ const currentClass = element.getAttribute("class");
95
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
96
+ if (isWebComponent) {
97
+ // Stencil is using this class for lazy loading component
98
+ parent.setAttribute("class", "hydrated");
99
+ }
100
+ else {
101
+ parent.removeAttribute(attr.name);
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ componentDidLoad() {
108
+ if (typeof document !== "undefined" && 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
+ this.enableAttributePassing(this._ref, "db-table-footer");
115
+ }
116
+ render() {
117
+ var _a;
118
+ return (index.h("tfoot", { key: 'ba1fcacfa32d5746615ba0aaaa5580a6c5c92f99', class: index$1.cls("db-table-footer", this.className), ref: (el) => {
119
+ this._ref = el;
120
+ }, id: this.id }, this.rows ? ((_a = this.rows) === null || _a === void 0 ? void 0 : _a.map((row, index$2) => {
121
+ var _a, _b, _c;
122
+ return (index.h("db-table-row", { class: (_a = row.className) !== null && _a !== void 0 ? _a : row.class, key: `${(_c = (_b = row.id) !== null && _b !== void 0 ? _b : this.id) !== null && _c !== void 0 ? _c : index$1.uuid()}-table-footer-row-${index$2}`, cells: row.cells, interactive: row.interactive, id: row.id }));
123
+ })) : (index.h("slot", null))));
124
+ }
125
+ get rootElement() { return index.getElement(this); }
126
+ };
127
+
128
+ const DBTableHead = class {
129
+ constructor(hostRef) {
130
+ index.registerInstance(this, hostRef);
131
+ }
132
+ getCells(cells) {
133
+ return cells === null || cells === void 0 ? void 0 : cells.map((cell) => (Object.assign(Object.assign({}, cell), { headerCell: true })));
134
+ }
135
+ /**
136
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
137
+ * @param element the ref for the component
138
+ * @param customElementSelector the custom element like `my-component`
139
+ */
140
+ enableAttributePassing(element, customElementSelector) {
141
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
142
+ if (element && parent) {
143
+ const attributes = parent.attributes;
144
+ for (let i = 0; i < attributes.length; i++) {
145
+ const attr = attributes.item(i);
146
+ if (attr && attr.name !== 'data-density' &&
147
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
148
+ element.setAttribute(attr.name, attr.value);
149
+ parent.removeAttribute(attr.name);
150
+ }
151
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
152
+ element.setAttribute(attr.name, attr.value);
153
+ parent.removeAttribute(attr.name);
154
+ }
155
+ else if (attr && attr.name === "class") {
156
+ const isWebComponent = attr.value.includes("hydrated");
157
+ const value = attr.value.replace("hydrated", "").trim();
158
+ const currentClass = element.getAttribute("class");
159
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
160
+ if (isWebComponent) {
161
+ // Stencil is using this class for lazy loading component
162
+ parent.setAttribute("class", "hydrated");
163
+ }
164
+ else {
165
+ parent.removeAttribute(attr.name);
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ componentDidLoad() {
172
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
173
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
174
+ if (connectedElement) {
175
+ connectedElement.remove();
176
+ }
177
+ }
178
+ this.enableAttributePassing(this._ref, "db-table-head");
179
+ }
180
+ render() {
181
+ var _a;
182
+ return (index.h("thead", { key: '1f192104b5b30bb15bc16d68f635382bc9d6817a', class: index$1.cls("db-table-head", this.className), ref: (el) => {
183
+ this._ref = el;
184
+ }, id: this.id }, this.rows ? ((_a = this.rows) === null || _a === void 0 ? void 0 : _a.map((row, index$2) => {
185
+ var _a, _b, _c;
186
+ return (index.h("db-table-row", { class: (_a = row.className) !== null && _a !== void 0 ? _a : row.class, key: `${(_c = (_b = row.id) !== null && _b !== void 0 ? _b : this.id) !== null && _c !== void 0 ? _c : index$1.uuid()}-table-head-row-${index$2}`, cells: this.getCells(row.cells), subHeaderEmphasis: row.subHeaderEmphasis, interactive: row.interactive, id: row.id }));
187
+ })) : (index.h("slot", null))));
188
+ }
189
+ get rootElement() { return index.getElement(this); }
190
+ };
191
+
192
+ exports.db_table_body = DBTableBody;
193
+ exports.db_table_footer = DBTableFooter;
194
+ exports.db_table_head = DBTableHead;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
4
- var index$1 = require('./index-2_9ESkQu.js');
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
5
 
6
- const DBLink = class {
6
+ const DBTableCaption = class {
7
7
  constructor(hostRef) {
8
8
  index.registerInstance(this, hostRef);
9
9
  }
@@ -50,15 +50,14 @@ const DBLink = class {
50
50
  connectedElement.remove();
51
51
  }
52
52
  }
53
- this.enableAttributePassing(this._ref, "db-link");
53
+ this.enableAttributePassing(this._ref, "db-table-caption");
54
54
  }
55
55
  render() {
56
- var _a, _b, _c, _d;
57
- return (index.h("a", { key: '5dd3f3df5614e0e717feadc833d8fe2fe8825479', class: index$1.cls("db-link", this.className), ref: (el) => {
56
+ return (index.h("caption", { key: '45129365b814f87e7d337464f8f768fb3d9bd9c8', class: index$1.cls("db-table-caption", this.className), ref: (el) => {
58
57
  this._ref = el;
59
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": index$1.getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": index$1.getBooleanAsString(this.wrap) }, this.text ? this.text : null, index.h("slot", { key: 'c5dae4b61e3829e803a2ff89cfd0942cc4d6577d' })));
58
+ }, id: this.id }, index.h("slot", { key: '80e7f4789799c755d2a03b55ef8ee7e05939bf96' })));
60
59
  }
61
60
  get rootElement() { return index.getElement(this); }
62
61
  };
63
62
 
64
- exports.db_link = DBLink;
63
+ exports.db_table_caption = DBTableCaption;
@@ -0,0 +1,158 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
+
6
+ const DBTable = class {
7
+ constructor(hostRef) {
8
+ index.registerInstance(this, hostRef);
9
+ this._data = undefined;
10
+ this._style = undefined;
11
+ }
12
+ convertData() {
13
+ try {
14
+ if (typeof this.data === "string") {
15
+ return JSON.parse(this.data);
16
+ }
17
+ return this.data;
18
+ }
19
+ catch (error) {
20
+ console.error(error);
21
+ }
22
+ return {};
23
+ }
24
+ /**
25
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
26
+ * @param element the ref for the component
27
+ * @param customElementSelector the custom element like `my-component`
28
+ */
29
+ enableAttributePassing(element, customElementSelector) {
30
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
31
+ if (element && parent) {
32
+ const attributes = parent.attributes;
33
+ for (let i = 0; i < attributes.length; i++) {
34
+ const attr = attributes.item(i);
35
+ if (attr && attr.name !== 'data-density' &&
36
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
37
+ element.setAttribute(attr.name, attr.value);
38
+ parent.removeAttribute(attr.name);
39
+ }
40
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
41
+ element.setAttribute(attr.name, attr.value);
42
+ parent.removeAttribute(attr.name);
43
+ }
44
+ else if (attr && attr.name === "class") {
45
+ const isWebComponent = attr.value.includes("hydrated");
46
+ const value = attr.value.replace("hydrated", "").trim();
47
+ const currentClass = element.getAttribute("class");
48
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
49
+ if (isWebComponent) {
50
+ // Stencil is using this class for lazy loading component
51
+ parent.setAttribute("class", "hydrated");
52
+ }
53
+ else {
54
+ parent.removeAttribute(attr.name);
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ watch0Fn() {
61
+ if (this.data) {
62
+ this._data = this.convertData();
63
+ }
64
+ else {
65
+ this._data = undefined;
66
+ }
67
+ }
68
+ watch0() {
69
+ this.watch0Fn();
70
+ }
71
+ watch1Fn() {
72
+ if (this._ref && this.mobileVariant === "list") {
73
+ // Delay for angular
74
+ void index$1.delay(() => {
75
+ const table = this._ref;
76
+ if (!table)
77
+ return;
78
+ const headerCells = table.querySelectorAll("thead tr th");
79
+ if (headerCells.length) {
80
+ const otherRows = table.querySelectorAll(":is(tbody,tfoot) tr");
81
+ otherRows.forEach((row) => {
82
+ const cells = row.querySelectorAll(":is(td,th)");
83
+ cells.forEach((cell, index) => {
84
+ const headerCell = headerCells[index];
85
+ if (headerCell) {
86
+ // Use only direct text nodes to avoid including text from nested elements (e.g. sort buttons)
87
+ const directText = Array.from(headerCell.childNodes)
88
+ .filter((node) => node.nodeType === Node.TEXT_NODE)
89
+ .map((node) => { var _a; return (_a = node.textContent) === null || _a === void 0 ? void 0 : _a.trim(); })
90
+ .filter(Boolean)
91
+ .join(" ");
92
+ if (directText) {
93
+ cell.dataset["header"] = directText;
94
+ }
95
+ }
96
+ });
97
+ });
98
+ }
99
+ }, 1);
100
+ }
101
+ }
102
+ watch1() {
103
+ this.watch1Fn();
104
+ }
105
+ watch2Fn() {
106
+ if (this.columnSizes) {
107
+ const columnStyles = {};
108
+ Object.entries(this.columnSizes).forEach(([key, value]) => {
109
+ columnStyles[`--db-table-column-size-${key}`] = value;
110
+ });
111
+ this._style = columnStyles;
112
+ }
113
+ else {
114
+ this._style = undefined;
115
+ }
116
+ }
117
+ watch2() {
118
+ this.watch2Fn();
119
+ }
120
+ componentDidLoad() {
121
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
122
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
123
+ if (connectedElement) {
124
+ connectedElement.remove();
125
+ }
126
+ }
127
+ this.enableAttributePassing(this._ref, "db-table");
128
+ this.watch0Fn();
129
+ this.watch1Fn();
130
+ this.watch2Fn();
131
+ }
132
+ render() {
133
+ var _a, _b, _c, _d, _e, _f;
134
+ return (index.h("div", { key: 'd4edb3348e35410ac540499f815e173237e533dc', class: index$1.cls("db-table", this.className), style: this._style, "data-width": this.width, "data-size": this.size, "data-divider": this.divider, "data-variant": this.variant, "data-mobile-variant": this.mobileVariant, "data-show-caption": index$1.getBooleanAsString(this.showCaption), "data-sticky-header": this.stickyHeader }, index.h("table", { key: '2eda8c59f2c86a480691a1a4fae4a1fdaa63a6b1', ref: (el) => {
135
+ this._ref = el;
136
+ }, id: this.id }, this.captionPlain ? (index.h("caption", null, this.captionPlain)) : (index.h("slot", { name: "caption" })), this._data ? (index.h(index.Fragment, null, ((_a = this._data) === null || _a === void 0 ? void 0 : _a.header) ? (index.h("db-table-head", { rows: (_b = this._data) === null || _b === void 0 ? void 0 : _b.header })) : null, ((_c = this._data) === null || _c === void 0 ? void 0 : _c.body) ? (index.h("db-table-body", { rows: (_d = this._data) === null || _d === void 0 ? void 0 : _d.body })) : null, ((_e = this._data) === null || _e === void 0 ? void 0 : _e.footer) ? (index.h("db-table-footer", { rows: (_f = this._data) === null || _f === void 0 ? void 0 : _f.footer })) : null)) : (index.h("slot", null)))));
137
+ }
138
+ get rootElement() { return index.getElement(this); }
139
+ static get watchers() { return {
140
+ "data": [{
141
+ "watch0": 0
142
+ }],
143
+ "mobileVariant": [{
144
+ "watch1": 0
145
+ }],
146
+ "_ref": [{
147
+ "watch1": 0
148
+ }],
149
+ "_data": [{
150
+ "watch1": 0
151
+ }],
152
+ "columnSizes": [{
153
+ "watch2": 0
154
+ }]
155
+ }; }
156
+ };
157
+
158
+ exports.db_table = DBTable;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DLuhzJ0p.js');
4
- var index$1 = require('./index-2_9ESkQu.js');
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-spuu3sXz.js');
5
5
 
6
6
  const DBTabs = class {
7
7
  constructor(hostRef) {
@@ -214,10 +214,10 @@ const DBTabs = class {
214
214
  }
215
215
  render() {
216
216
  var _a, _b, _c, _d, _e, _f;
217
- return (index.h("div", { key: '71e69e614a98de1b0fe789b210815d03bcee6286', class: index$1.cls("db-tabs", this.className), ref: (el) => {
217
+ return (index.h("div", { key: '7f8b9180b865394204747aa762291857513af90c', class: index$1.cls("db-tabs", this.className), ref: (el) => {
218
218
  this._ref = el;
219
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 :
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' })));
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: 'a2833021bf993cf6aa130c9295f78b831c8d888e' })));
221
221
  }
222
222
  get rootElement() { return index.getElement(this); }
223
223
  static get watchers() { return {