@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
@@ -0,0 +1,202 @@
1
+ import { cls, getBooleanAsString, uuid } from "../../utils";
2
+ import { h } from "@stencil/core";
3
+ /**
4
+ * @slot children - This is a default/unnamed slot
5
+
6
+ */
7
+ export class DBTableRow {
8
+ getHeaderCell(cell) {
9
+ if (cell.headerCell) {
10
+ return cell;
11
+ }
12
+ return undefined;
13
+ }
14
+ /**
15
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
16
+ * @param element the ref for the component
17
+ * @param customElementSelector the custom element like `my-component`
18
+ */
19
+ enableAttributePassing(element, customElementSelector) {
20
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
21
+ if (element && parent) {
22
+ const attributes = parent.attributes;
23
+ for (let i = 0; i < attributes.length; i++) {
24
+ const attr = attributes.item(i);
25
+ if (attr && attr.name !== 'data-density' &&
26
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
27
+ element.setAttribute(attr.name, attr.value);
28
+ parent.removeAttribute(attr.name);
29
+ }
30
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
31
+ element.setAttribute(attr.name, attr.value);
32
+ parent.removeAttribute(attr.name);
33
+ }
34
+ else if (attr && attr.name === "class") {
35
+ const isWebComponent = attr.value.includes("hydrated");
36
+ const value = attr.value.replace("hydrated", "").trim();
37
+ const currentClass = element.getAttribute("class");
38
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
39
+ if (isWebComponent) {
40
+ // Stencil is using this class for lazy loading component
41
+ parent.setAttribute("class", "hydrated");
42
+ }
43
+ else {
44
+ parent.removeAttribute(attr.name);
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ componentDidLoad() {
51
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
52
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
53
+ if (connectedElement) {
54
+ connectedElement.remove();
55
+ }
56
+ }
57
+ this.enableAttributePassing(this._ref, "db-table-row");
58
+ }
59
+ render() {
60
+ var _a;
61
+ return (h("tr", { key: '41fb15318069880e679a929ee5d4fcf59c7c1b63', class: cls("db-table-row", this.className), ref: (el) => {
62
+ this._ref = el;
63
+ }, id: this.id, "data-interactive": getBooleanAsString(this.interactive), "data-sub-header-emphasis": this.subHeaderEmphasis }, this.cells ? ((_a = this.cells) === null || _a === void 0 ? void 0 : _a.map((cell, index) => {
64
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22;
65
+ return cell.headerCell ? (h("db-table-header-cell", { class: (_a = cell.className) !== null && _a !== void 0 ? _a : cell.class, key: `${(_c = (_b = cell.id) !== null && _b !== void 0 ? _b : this.id) !== null && _c !== void 0 ? _c : uuid()}-table-row-header-cell-${index}`, id: cell.id, abbr: (_d = this.getHeaderCell(cell)) === null || _d === void 0 ? void 0 : _d.abbr, scope: (_e = this.getHeaderCell(cell)) === null || _e === void 0 ? void 0 : _e.scope, noText: (_f = this.getHeaderCell(cell)) === null || _f === void 0 ? void 0 : _f.noText, horizontalAlignment: cell.horizontalAlignment, verticalAlignment: cell.verticalAlignment, headers: cell.headers, colSpan: cell.colSpan, colspan: cell.colspan, rowSpan: cell.rowSpan, rowspan: cell.rowspan }, cell.link ? (h("db-link", { class: (_h = (_g = cell.link) === null || _g === void 0 ? void 0 : _g.className) !== null && _h !== void 0 ? _h : (_j = cell.link) === null || _j === void 0 ? void 0 : _j.class, content: (_k = cell.link) === null || _k === void 0 ? void 0 : _k.content, size: (_l = cell.link) === null || _l === void 0 ? void 0 : _l.size, variant: (_m = cell.link) === null || _m === void 0 ? void 0 : _m.variant, id: (_o = cell.link) === null || _o === void 0 ? void 0 : _o.id, autofocus: (_p = cell.link) === null || _p === void 0 ? void 0 : _p.autofocus, disabled: (_q = cell.link) === null || _q === void 0 ? void 0 : _q.disabled, href: (_r = cell.link) === null || _r === void 0 ? void 0 : _r.href, hreflang: (_s = cell.link) === null || _s === void 0 ? void 0 : _s.hreflang, target: (_t = cell.link) === null || _t === void 0 ? void 0 : _t.target, rel: (_u = cell.link) === null || _u === void 0 ? void 0 : _u.rel, referrerPolicy: (_v = cell.link) === null || _v === void 0 ? void 0 : _v.referrerPolicy, role: (_w = cell.link) === null || _w === void 0 ? void 0 : _w.role, showIcon: (_x = cell.link) === null || _x === void 0 ? void 0 : _x.showIcon, text: (_y = cell.link) === null || _y === void 0 ? void 0 : _y.text, wrap: (_z = cell.link) === null || _z === void 0 ? void 0 : _z.wrap }, (_0 = cell.link) === null || _0 === void 0 ? void 0 : _0.children)) : (cell.content))) : (h("db-table-data-cell", { class: (_1 = cell.className) !== null && _1 !== void 0 ? _1 : cell.class, key: `${(_3 = (_2 = cell.id) !== null && _2 !== void 0 ? _2 : this.id) !== null && _3 !== void 0 ? _3 : uuid()}-table-row-data-cell-${index}`, id: cell.id, horizontalAlignment: cell.horizontalAlignment, verticalAlignment: cell.verticalAlignment, headers: cell.headers, colSpan: cell.colSpan, colspan: cell.colspan, rowSpan: cell.rowSpan, rowspan: cell.rowspan }, cell.link ? (h("db-link", { class: (_5 = (_4 = cell.link) === null || _4 === void 0 ? void 0 : _4.className) !== null && _5 !== void 0 ? _5 : (_6 = cell.link) === null || _6 === void 0 ? void 0 : _6.class, content: (_7 = cell.link) === null || _7 === void 0 ? void 0 : _7.content, size: (_8 = cell.link) === null || _8 === void 0 ? void 0 : _8.size, variant: (_9 = cell.link) === null || _9 === void 0 ? void 0 : _9.variant, id: (_10 = cell.link) === null || _10 === void 0 ? void 0 : _10.id, autofocus: (_11 = cell.link) === null || _11 === void 0 ? void 0 : _11.autofocus, disabled: (_12 = cell.link) === null || _12 === void 0 ? void 0 : _12.disabled, href: (_13 = cell.link) === null || _13 === void 0 ? void 0 : _13.href, hreflang: (_14 = cell.link) === null || _14 === void 0 ? void 0 : _14.hreflang, target: (_15 = cell.link) === null || _15 === void 0 ? void 0 : _15.target, rel: (_16 = cell.link) === null || _16 === void 0 ? void 0 : _16.rel, referrerPolicy: (_17 = cell.link) === null || _17 === void 0 ? void 0 : _17.referrerPolicy, role: (_18 = cell.link) === null || _18 === void 0 ? void 0 : _18.role, showIcon: (_19 = cell.link) === null || _19 === void 0 ? void 0 : _19.showIcon, text: (_20 = cell.link) === null || _20 === void 0 ? void 0 : _20.text, wrap: (_21 = cell.link) === null || _21 === void 0 ? void 0 : _21.wrap }, (_22 = cell.link) === null || _22 === void 0 ? void 0 : _22.children)) : (cell.content)));
66
+ })) : (h("slot", null))));
67
+ }
68
+ static get is() { return "db-table-row"; }
69
+ static get properties() {
70
+ return {
71
+ "id": {
72
+ "type": "string",
73
+ "mutable": false,
74
+ "complexType": {
75
+ "original": "DBTableRowProps[\"id\"]",
76
+ "resolved": "string",
77
+ "references": {
78
+ "DBTableRowProps": {
79
+ "location": "import",
80
+ "path": "./model",
81
+ "id": "src/components/table-row/model.ts::DBTableRowProps",
82
+ "referenceLocation": "DBTableRowProps"
83
+ }
84
+ }
85
+ },
86
+ "required": false,
87
+ "optional": false,
88
+ "docs": {
89
+ "tags": [],
90
+ "text": ""
91
+ },
92
+ "getter": false,
93
+ "setter": false,
94
+ "reflect": false,
95
+ "attribute": "id"
96
+ },
97
+ "className": {
98
+ "type": "string",
99
+ "mutable": false,
100
+ "complexType": {
101
+ "original": "DBTableRowProps[\"className\"]",
102
+ "resolved": "string",
103
+ "references": {
104
+ "DBTableRowProps": {
105
+ "location": "import",
106
+ "path": "./model",
107
+ "id": "src/components/table-row/model.ts::DBTableRowProps",
108
+ "referenceLocation": "DBTableRowProps"
109
+ }
110
+ }
111
+ },
112
+ "required": false,
113
+ "optional": false,
114
+ "docs": {
115
+ "tags": [],
116
+ "text": ""
117
+ },
118
+ "getter": false,
119
+ "setter": false,
120
+ "reflect": false,
121
+ "attribute": "classname"
122
+ },
123
+ "interactive": {
124
+ "type": "any",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "DBTableRowProps[\"interactive\"]",
128
+ "resolved": "boolean | string",
129
+ "references": {
130
+ "DBTableRowProps": {
131
+ "location": "import",
132
+ "path": "./model",
133
+ "id": "src/components/table-row/model.ts::DBTableRowProps",
134
+ "referenceLocation": "DBTableRowProps"
135
+ }
136
+ }
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": ""
143
+ },
144
+ "getter": false,
145
+ "setter": false,
146
+ "reflect": false,
147
+ "attribute": "interactive"
148
+ },
149
+ "subHeaderEmphasis": {
150
+ "type": "string",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "DBTableRowProps[\"subHeaderEmphasis\"]",
154
+ "resolved": "\"none\" | \"strong\" | \"weak\"",
155
+ "references": {
156
+ "DBTableRowProps": {
157
+ "location": "import",
158
+ "path": "./model",
159
+ "id": "src/components/table-row/model.ts::DBTableRowProps",
160
+ "referenceLocation": "DBTableRowProps"
161
+ }
162
+ }
163
+ },
164
+ "required": false,
165
+ "optional": false,
166
+ "docs": {
167
+ "tags": [],
168
+ "text": ""
169
+ },
170
+ "getter": false,
171
+ "setter": false,
172
+ "reflect": false,
173
+ "attribute": "sub-header-emphasis"
174
+ },
175
+ "cells": {
176
+ "type": "unknown",
177
+ "mutable": false,
178
+ "complexType": {
179
+ "original": "DBTableRowProps[\"cells\"]",
180
+ "resolved": "DBTableRowCell[]",
181
+ "references": {
182
+ "DBTableRowProps": {
183
+ "location": "import",
184
+ "path": "./model",
185
+ "id": "src/components/table-row/model.ts::DBTableRowProps",
186
+ "referenceLocation": "DBTableRowProps"
187
+ }
188
+ }
189
+ },
190
+ "required": false,
191
+ "optional": false,
192
+ "docs": {
193
+ "tags": [],
194
+ "text": ""
195
+ },
196
+ "getter": false,
197
+ "setter": false
198
+ }
199
+ };
200
+ }
201
+ static get elementRef() { return "rootElement"; }
202
+ }
@@ -212,10 +212,10 @@ export class DBTabs {
212
212
  }
213
213
  render() {
214
214
  var _a, _b, _c, _d, _e, _f;
215
- return (h("div", { key: '71e69e614a98de1b0fe789b210815d03bcee6286', class: cls("db-tabs", this.className), ref: (el) => {
215
+ return (h("div", { key: '7f8b9180b865394204747aa762291857513af90c', class: cls("db-tabs", this.className), ref: (el) => {
216
216
  this._ref = el;
217
217
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_c = this.alignment) !== null && _c !== void 0 ? _c : "start", "data-width": (_d = this.width) !== null && _d !== void 0 ? _d : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (h(Fragment, null, h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index) => (h("db-tab-item", { key: this.name + "tab-item" + index, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
218
- _f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: '2e8a007adff7051a1266f88b95419a510ce7494a' })));
218
+ _f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: 'a2833021bf993cf6aa130c9295f78b831c8d888e' })));
219
219
  }
220
220
  static get is() { return "db-tabs"; }
221
221
  static get properties() {
@@ -68,9 +68,9 @@ export class DBTag {
68
68
  }
69
69
  render() {
70
70
  var _a, _b, _c;
71
- return (h("div", { key: '85b02f290e8323ddd9a61ee5cf15893e7bc0cdab', class: cls("db-tag", this.className), ref: (el) => {
71
+ return (h("div", { key: '107c28ac3b48e7802773283ed706536b3448f7fd', class: cls("db-tag", this.className), ref: (el) => {
72
72
  this._ref = el;
73
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: '3aefef41d0a30b8f979e43146936be56a1d9181b', name: "content" }), this.text ? this.text : null, h("slot", { key: 'e283aefd212ea8c7f7eab8da48ed19a7f4763e38' }), this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
73
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true, "showCheckState"), "data-show-icon": getBooleanAsString(this.showIcon, "showIcon"), "data-no-text": getBooleanAsString(this.noText, "noText"), "data-overflow": getBooleanAsString(this.overflow, "overflow") }, h("slot", { key: '7a552ce39473ee8f5ab9ff0fa26e1c9cb746141a', name: "content" }), this.text ? this.text : null, h("slot", { key: '3ace0ceb3415b63574e959214beb6af40071e1b6' }), this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
74
74
  }
75
75
  static get is() { return "db-tag"; }
76
76
  static get properties() {
@@ -234,7 +234,7 @@ export class DBTag {
234
234
  "mutable": false,
235
235
  "complexType": {
236
236
  "original": "DBTagProps[\"icon\"]",
237
- "resolved": "\"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"arrow_up_right\" | \"brand\" | \"calendar\" | \"chat\" | \"check\" | \"check_circle\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"circle\" | \"circle_small\" | \"circular_arrows\" | \"clock\" | \"copy\" | \"cross\" | \"cross_circle\" | \"double_chevron_down\" | \"double_chevron_left\" | \"double_chevron_right\" | \"double_chevron_up\" | \"exclamation_mark_circle\" | \"exclamation_mark_triangle\" | \"eye\" | \"eye_disabled\" | \"house\" | \"information_circle\" | \"magnifying_glass\" | \"menu\" | \"minus\" | \"moon\" | \"plus\" | \"resize_handle_corner\" | \"sun\" | \"x_placeholder\" | string & Record<never, never>",
237
+ "resolved": "\"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"arrow_up_right\" | \"arrows_vertical\" | \"brand\" | \"calendar\" | \"chat\" | \"check\" | \"check_circle\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"circle\" | \"circle_small\" | \"circular_arrows\" | \"clock\" | \"copy\" | \"cross\" | \"cross_circle\" | \"double_chevron_down\" | \"double_chevron_left\" | \"double_chevron_right\" | \"double_chevron_up\" | \"exclamation_mark_circle\" | \"exclamation_mark_triangle\" | \"eye\" | \"eye_disabled\" | \"house\" | \"information_circle\" | \"magnifying_glass\" | \"menu\" | \"minus\" | \"moon\" | \"more_vertical\" | \"plus\" | \"resize_handle_corner\" | \"sun\" | \"x_placeholder\" | string & Record<never, never>",
238
238
  "references": {
239
239
  "DBTagProps": {
240
240
  "location": "import",
@@ -203,10 +203,10 @@ export class DBTextarea {
203
203
  }
204
204
  render() {
205
205
  var _a, _b, _c, _d, _e, _f;
206
- return (h("div", { key: '011c369f6437bb150f6afb7534da123ed5987621', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '2ce564dca8898dedd7e666eb39f1b94226cc3547', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: '8cafda914ea6b0f48fe096472e71fd89ee85ec23', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
206
+ return (h("div", { key: '54e6cdfacbb2aaf120b485926da7500e11a68177', class: cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '4b4b364ba5c83cf99b3f05ef8a7fdca6ad94aca2', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("textarea", { key: '975252d88460695bac18a6290ffa4175fd6830a4', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
207
207
  this._ref = el;
208
208
  }, id: this._id, "data-resize": this.resize, "data-hide-resizer": getHideProp((_b = this.showResizer) !== null && _b !== void 0 ? _b : true), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), readOnly: getBoolean(this.readOnly, "readOnly") ||
209
- getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '489ca97fb9dc385ec1483d47918025f6db999e01', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'c1aa196f836729f0b821f4b3f9300a924fd8e08c', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
209
+ getBoolean(this.readonly, "readonly"), form: this.form, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : DEFAULT_PLACEHOLDER, rows: getNumber(this.rows, DEFAULT_ROWS), cols: getNumber(this.cols) }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '6991559466d3a62e284ad2fa623b03c6c15e478a', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '548f46a7cc2d3489d3022d2e2b5d3a7654ebd372', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
210
210
  }
211
211
  static get is() { return "db-textarea"; }
212
212
  static get properties() {
@@ -1072,7 +1072,7 @@ export class DBTextarea {
1072
1072
  "mutable": false,
1073
1073
  "complexType": {
1074
1074
  "original": "DBTextareaProps[\"messageIcon\"]",
1075
- "resolved": "\"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"arrow_up_right\" | \"brand\" | \"calendar\" | \"chat\" | \"check\" | \"check_circle\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"circle\" | \"circle_small\" | \"circular_arrows\" | \"clock\" | \"copy\" | \"cross\" | \"cross_circle\" | \"double_chevron_down\" | \"double_chevron_left\" | \"double_chevron_right\" | \"double_chevron_up\" | \"exclamation_mark_circle\" | \"exclamation_mark_triangle\" | \"eye\" | \"eye_disabled\" | \"house\" | \"information_circle\" | \"magnifying_glass\" | \"menu\" | \"minus\" | \"moon\" | \"plus\" | \"resize_handle_corner\" | \"sun\" | \"x_placeholder\" | string & Record<never, never>",
1075
+ "resolved": "\"arrow_down\" | \"arrow_left\" | \"arrow_right\" | \"arrow_up\" | \"arrow_up_right\" | \"arrows_vertical\" | \"brand\" | \"calendar\" | \"chat\" | \"check\" | \"check_circle\" | \"chevron_down\" | \"chevron_left\" | \"chevron_right\" | \"chevron_up\" | \"circle\" | \"circle_small\" | \"circular_arrows\" | \"clock\" | \"copy\" | \"cross\" | \"cross_circle\" | \"double_chevron_down\" | \"double_chevron_left\" | \"double_chevron_right\" | \"double_chevron_up\" | \"exclamation_mark_circle\" | \"exclamation_mark_triangle\" | \"eye\" | \"eye_disabled\" | \"house\" | \"information_circle\" | \"magnifying_glass\" | \"menu\" | \"minus\" | \"moon\" | \"more_vertical\" | \"plus\" | \"resize_handle_corner\" | \"sun\" | \"x_placeholder\" | string & Record<never, never>",
1076
1076
  "references": {
1077
1077
  "DBTextareaProps": {
1078
1078
  "location": "import",
@@ -164,9 +164,9 @@ export class DBTooltip {
164
164
  }
165
165
  render() {
166
166
  var _a, _b;
167
- return (h("i", { key: 'baf376c4ee424f78a7e062b864586139846b2073', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
167
+ return (h("i", { key: '2636a6f606a970f585a00c7268542b8bf8f59644', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
168
168
  this._ref = el;
169
- }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, h("slot", { key: '6ec094383bad1237ce6ae7d02a7a62cf5c8de19d' })));
169
+ }, id: this._id, "data-emphasis": this.emphasis, "data-wrap": getBooleanAsString(this.wrap, "wrap"), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true, "animation"), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true, "showArrow"), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, this.text ? this.text : null, h("slot", { key: 'cf37293fac4206d6c6b97a0d1b063ba28c3f4d3d' })));
170
170
  }
171
171
  static get is() { return "db-tooltip"; }
172
172
  static get properties() {
@@ -64,6 +64,22 @@ export * from './components/tab-list';
64
64
  export * from './components/tab-list/model';
65
65
  export * from './components/tab-panel';
66
66
  export * from './components/tab-panel/model';
67
+ export * from './components/table';
68
+ export * from './components/table-body';
69
+ export * from './components/table-body/model';
70
+ export * from './components/table-caption';
71
+ export * from './components/table-caption/model';
72
+ export * from './components/table-data-cell';
73
+ export * from './components/table-data-cell/model';
74
+ export * from './components/table-footer';
75
+ export * from './components/table-footer/model';
76
+ export * from './components/table-head';
77
+ export * from './components/table-head/model';
78
+ export * from './components/table-header-cell';
79
+ export * from './components/table-header-cell/model';
80
+ export * from './components/table-row';
81
+ export * from './components/table-row/model';
82
+ export * from './components/table/model';
67
83
  export * from './components/tabs';
68
84
  export * from './components/tabs/model';
69
85
  export * from './components/tag';
@@ -20,4 +20,4 @@ export const LabelVariantHorizontalList = ['leading', 'trailing'];
20
20
  export const AutoCompleteList = ['off', 'on', 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'email', 'username', 'new-password', 'current-password', 'one-time-code', 'organization-title', 'organization', 'street-address', 'shipping', 'billing', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-extension', 'impp', 'url', 'photo', 'webauthn'];
21
21
  export const LinkTargetList = ['_self', '_blank', '_parent', '_top'];
22
22
  export const LinkReferrerPolicyList = ['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url'];
23
- export const AlignmentList = ['start', 'center'];
23
+ export const AlignmentList = ['start', 'center', 'end'];
@@ -61,16 +61,21 @@ export const isIOSSafari = () => {
61
61
  };
62
62
  export const delay = (fn, ms) => new Promise(() => setTimeout(fn, ms));
63
63
  /**
64
- * Some frameworks like stencil would not add "true" as value for a prop
65
- * if it is used in a framework like angular e.g.: [disabled]="myDisabledProp"
66
- * @param originBool Some boolean to convert to string
64
+ * Converts boolean-like inputs to "true" or "false" strings.
65
+ * Handles HTML-style boolean attributes where an empty string or the
66
+ * attribute's own name as value (e.g. noText="noText") should be treated as true.
67
+ * Some frameworks like Stencil do not add "true" as value for a prop
68
+ * if it is used in a framework like Angular e.g.: [disabled]="myDisabledProp"
69
+ * @param originBool Boolean or string value to convert
70
+ * @param propertyName The prop/attribute name — when originBool is a string equal
71
+ * to this name (case-insensitive), it is treated as true
67
72
  */
68
73
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
69
- export const getBooleanAsString = (originBool) => {
74
+ export const getBooleanAsString = (originBool, propertyName) => {
70
75
  if (originBool === undefined || originBool === null)
71
76
  return;
72
77
  if (typeof originBool === 'string') {
73
- return String(originBool === 'true');
78
+ return String(originBool === '' || originBool === 'true' || (propertyName === null || propertyName === void 0 ? void 0 : propertyName.toLowerCase()) === originBool.toLowerCase());
74
79
  }
75
80
  return String(originBool);
76
81
  };
@@ -78,7 +83,7 @@ export const getBoolean = (originBool, propertyName) => {
78
83
  if (originBool === undefined || originBool === null)
79
84
  return;
80
85
  if (typeof originBool === 'string') {
81
- return Boolean(propertyName === originBool || originBool === 'true');
86
+ return Boolean(originBool === '' || originBool === 'true' || (propertyName === null || propertyName === void 0 ? void 0 : propertyName.toLowerCase()) === originBool.toLowerCase());
82
87
  }
83
88
  return Boolean(originBool);
84
89
  };
@@ -119,13 +124,13 @@ export const getStep = (step) => {
119
124
  export const getInputValue = (value, inputType) => {
120
125
  return inputType && ['number', 'range'].includes(inputType) ? getNumber(value) : value;
121
126
  };
122
- const toBool = (value) => typeof value === 'string' ? value === 'true' : value;
127
+ const toBool = (value) => typeof value === 'string' ? value !== 'false' : value;
123
128
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
124
129
  export const getHideProp = (show) => {
125
130
  if (show === undefined || show === null) {
126
131
  return undefined;
127
132
  }
128
- return getBooleanAsString(!toBool(show));
133
+ return getBooleanAsString(!toBool(show), 'show');
129
134
  };
130
135
  export const stringPropVisible = (givenString, showString) => {
131
136
  if (showString === undefined) {