@db-ux/wc-core-components 4.12.0 → 4.13.0-shell-f221975

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 (548) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/agent/ControlPanelBrand.md +9 -0
  3. package/agent/ControlPanelDesktop.md +46 -0
  4. package/agent/ControlPanelMeta.md +13 -0
  5. package/agent/ControlPanelMobile.md +37 -0
  6. package/agent/ControlPanelNavigation.md +19 -0
  7. package/agent/ControlPanelNavigationItem.md +33 -0
  8. package/agent/ControlPanelPrimaryActions.md +13 -0
  9. package/agent/ControlPanelSecondaryActions.md +19 -0
  10. package/agent/Drawer.md +0 -8
  11. package/agent/Shell.md +24 -0
  12. package/agent/ShellSubNavigation.md +6 -0
  13. package/agent/_instructions.md +11 -6
  14. package/bundle/db-accordion-item.js +1 -1
  15. package/bundle/db-accordion.js +1 -1
  16. package/bundle/db-badge.js +1 -1
  17. package/bundle/db-button.js +1 -1
  18. package/bundle/db-card.js +1 -1
  19. package/bundle/db-checkbox.js +1 -1
  20. package/bundle/db-control-panel-brand.d.ts +11 -0
  21. package/bundle/db-control-panel-brand.js +1 -0
  22. package/bundle/db-control-panel-desktop.d.ts +11 -0
  23. package/bundle/db-control-panel-desktop.js +1 -0
  24. package/bundle/db-control-panel-flat-icon.d.ts +11 -0
  25. package/bundle/db-control-panel-flat-icon.js +1 -0
  26. package/bundle/{db-navigation-item.d.ts → db-control-panel-meta.d.ts} +4 -4
  27. package/bundle/db-control-panel-meta.js +1 -0
  28. package/bundle/db-control-panel-mobile.d.ts +11 -0
  29. package/bundle/db-control-panel-mobile.js +1 -0
  30. package/bundle/db-control-panel-navigation-item-group.d.ts +11 -0
  31. package/bundle/db-control-panel-navigation-item-group.js +1 -0
  32. package/bundle/db-control-panel-navigation-item.d.ts +11 -0
  33. package/bundle/db-control-panel-navigation-item.js +1 -0
  34. package/bundle/db-control-panel-navigation.d.ts +11 -0
  35. package/bundle/db-control-panel-navigation.js +1 -0
  36. package/bundle/db-control-panel-primary-actions.d.ts +11 -0
  37. package/bundle/db-control-panel-primary-actions.js +1 -0
  38. package/bundle/db-control-panel-secondary-actions.d.ts +11 -0
  39. package/bundle/db-control-panel-secondary-actions.js +1 -0
  40. package/bundle/db-control-panel-skip-navigation.d.ts +11 -0
  41. package/bundle/db-control-panel-skip-navigation.js +1 -0
  42. package/bundle/db-custom-button.js +1 -1
  43. package/bundle/db-custom-select-dropdown.js +1 -1
  44. package/bundle/db-custom-select-form-field.js +1 -1
  45. package/bundle/db-custom-select-list-item.js +1 -1
  46. package/bundle/db-custom-select-list.js +1 -1
  47. package/bundle/db-custom-select.js +1 -1
  48. package/bundle/db-divider.js +1 -1
  49. package/bundle/{db-navigation.d.ts → db-drawer-footer.d.ts} +4 -4
  50. package/bundle/db-drawer-footer.js +1 -0
  51. package/bundle/{db-page.d.ts → db-drawer-header.d.ts} +4 -4
  52. package/bundle/db-drawer-header.js +1 -0
  53. package/bundle/db-drawer.js +1 -1
  54. package/bundle/db-icon.js +1 -1
  55. package/bundle/db-infotext.js +1 -1
  56. package/bundle/db-input.js +1 -1
  57. package/bundle/db-link.js +1 -1
  58. package/bundle/db-notification.js +1 -1
  59. package/bundle/db-popover.js +1 -1
  60. package/bundle/db-radio.js +1 -1
  61. package/bundle/db-section.js +1 -1
  62. package/bundle/db-select.js +1 -1
  63. package/bundle/{db-header.d.ts → db-shell-content.d.ts} +4 -4
  64. package/bundle/db-shell-content.js +1 -0
  65. package/bundle/db-shell-sub-navigation.d.ts +11 -0
  66. package/bundle/db-shell-sub-navigation.js +1 -0
  67. package/bundle/{db-brand.d.ts → db-shell.d.ts} +4 -4
  68. package/bundle/db-shell.js +1 -0
  69. package/bundle/db-stack.js +1 -1
  70. package/bundle/db-switch.js +1 -1
  71. package/bundle/db-tab-item.js +1 -1
  72. package/bundle/db-tab-list.js +1 -1
  73. package/bundle/db-tab-panel.js +1 -1
  74. package/bundle/db-table-body.js +1 -1
  75. package/bundle/db-table-caption.js +1 -1
  76. package/bundle/db-table-data-cell.js +1 -1
  77. package/bundle/db-table-footer.js +1 -1
  78. package/bundle/db-table-head.js +1 -1
  79. package/bundle/db-table-header-cell.js +1 -1
  80. package/bundle/db-table-row.js +1 -1
  81. package/bundle/db-table.js +1 -1
  82. package/bundle/db-tabs.js +1 -1
  83. package/bundle/db-tag.js +1 -1
  84. package/bundle/db-textarea.js +1 -1
  85. package/bundle/db-tooltip.js +1 -1
  86. package/bundle/index.js +1 -1
  87. package/bundle/p-6eFmbk2q.js +1 -0
  88. package/bundle/p-9FBjLlz8.js +1 -0
  89. package/bundle/p-B2-mqMAV.js +1 -0
  90. package/bundle/{p-G57oLrr4.js → p-B3HO0pCt.js} +1 -1
  91. package/bundle/p-B5p2TBcA.js +1 -0
  92. package/bundle/{p-BQov9sQb.js → p-BSn68Z6b.js} +1 -1
  93. package/bundle/p-BT3wZY6f.js +1 -0
  94. package/bundle/p-BWWm2aVB.js +1 -0
  95. package/bundle/{p-Cc5hdI0x.js → p-B_cQ652T.js} +1 -1
  96. package/bundle/{p-DcgghWWs.js → p-BbEdAR4o.js} +1 -1
  97. package/bundle/{p-C0JLpZ9Q.js → p-BtQh3jbl.js} +1 -1
  98. package/bundle/p-C3NPZvho.js +1 -0
  99. package/bundle/p-CGLknNHl.js +1 -0
  100. package/bundle/p-COv1iCFP.js +1 -0
  101. package/bundle/p-C_xaJ8Kg.js +1 -0
  102. package/bundle/p-CjeAJfEo.js +1 -0
  103. package/bundle/{p-to845Mg2.js → p-Cr4l4OlK.js} +1 -1
  104. package/bundle/p-CtoC6vGL.js +1 -0
  105. package/bundle/p-D2lYeElK.js +1 -0
  106. package/bundle/{p-BvgvWjGH.js → p-D9qEmJkQ.js} +1 -1
  107. package/bundle/p-DAr8BCe0.js +1 -0
  108. package/bundle/{p-CYYSsu3p.js → p-DEicAzan.js} +1 -1
  109. package/bundle/{p-C9llbu6g.js → p-DKhSQnne.js} +1 -1
  110. package/bundle/{p-BpO8Ok-r.js → p-DTmum76Y.js} +1 -1
  111. package/bundle/p-DtqySxCV.js +1 -0
  112. package/bundle/p-Nyi3Ccqz.js +1 -0
  113. package/bundle/p-V6Dppnfj.js +1 -0
  114. package/bundle/p-WOdZHiUh.js +1 -0
  115. package/bundle/p-_kvIQ0Iy.js +1 -0
  116. package/bundle/{p-fu0VCCbW.js → p-mf371GRo.js} +1 -1
  117. package/dist/cjs/{constants-bMY2_d8A.js → constants-BM1EltPT.js} +12 -3
  118. package/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
  119. package/dist/cjs/db-accordion.cjs.entry.js +2 -2
  120. package/dist/cjs/db-badge.cjs.entry.js +4 -4
  121. package/dist/cjs/db-button.cjs.entry.js +6 -3
  122. package/dist/cjs/db-card.cjs.entry.js +3 -3
  123. package/dist/cjs/db-checkbox.cjs.entry.js +5 -5
  124. package/dist/cjs/{db-brand.cjs.entry.js → db-control-panel-brand.cjs.entry.js} +9 -10
  125. package/dist/cjs/db-control-panel-desktop.cjs.entry.js +148 -0
  126. package/dist/cjs/db-control-panel-flat-icon.cjs.entry.js +134 -0
  127. package/dist/cjs/{db-navigation.cjs.entry.js → db-control-panel-meta.cjs.entry.js} +8 -8
  128. package/dist/cjs/db-control-panel-mobile.cjs.entry.js +124 -0
  129. package/dist/cjs/db-control-panel-navigation-item-group.cjs.entry.js +420 -0
  130. package/dist/cjs/db-control-panel-navigation-item.cjs.entry.js +235 -0
  131. package/dist/cjs/db-control-panel-navigation.cjs.entry.js +579 -0
  132. package/dist/cjs/db-control-panel-primary-actions.cjs.entry.js +95 -0
  133. package/dist/cjs/db-control-panel-secondary-actions.cjs.entry.js +95 -0
  134. package/dist/cjs/db-control-panel-skip-navigation.cjs.entry.js +96 -0
  135. package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
  136. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +14 -14
  137. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  138. package/dist/cjs/db-custom-select.cjs.entry.js +50 -26
  139. package/dist/cjs/db-divider.cjs.entry.js +2 -2
  140. package/dist/cjs/db-drawer_3.cjs.entry.js +457 -0
  141. package/dist/cjs/db-icon.cjs.entry.js +3 -3
  142. package/dist/cjs/db-infotext.cjs.entry.js +3 -3
  143. package/dist/cjs/db-link_4.cjs.entry.js +12 -10
  144. package/dist/cjs/db-notification.cjs.entry.js +4 -4
  145. package/dist/cjs/db-popover.cjs.entry.js +50 -22
  146. package/dist/cjs/db-radio.cjs.entry.js +4 -4
  147. package/dist/cjs/db-section.cjs.entry.js +3 -3
  148. package/dist/cjs/db-select.cjs.entry.js +5 -5
  149. package/dist/cjs/db-shell-content.cjs.entry.js +97 -0
  150. package/dist/cjs/db-shell-sub-navigation.cjs.entry.js +110 -0
  151. package/dist/cjs/{db-page.cjs.entry.js → db-shell.cjs.entry.js} +16 -17
  152. package/dist/cjs/db-stack.cjs.entry.js +3 -3
  153. package/dist/cjs/db-switch.cjs.entry.js +5 -5
  154. package/dist/cjs/db-tab-item_3.cjs.entry.js +8 -8
  155. package/dist/cjs/db-table-body_3.cjs.entry.js +10 -10
  156. package/dist/cjs/db-table-caption.cjs.entry.js +4 -3
  157. package/dist/cjs/db-table.cjs.entry.js +4 -4
  158. package/dist/cjs/db-tabs.cjs.entry.js +23 -18
  159. package/dist/cjs/db-textarea.cjs.entry.js +5 -5
  160. package/dist/cjs/db-tooltip.cjs.entry.js +39 -26
  161. package/dist/cjs/db-ux.cjs.js +1 -1
  162. package/dist/cjs/{document-click-listener-DdNXbErU.js → document-click-listener-D_0Q6lvb.js} +5 -9
  163. package/dist/cjs/{document-scroll-listener-CvAZ6uPr.js → document-scroll-listener-CgyYRmvZ.js} +29 -9
  164. package/dist/cjs/{floating-components-DlstoCKH.js → floating-components-B3bpFI90.js} +193 -115
  165. package/dist/cjs/{form-components-CmQlkARp.js → form-components-XNiwIGq8.js} +1 -1
  166. package/dist/cjs/{index-spuu3sXz.js → index-Df-6pBQf.js} +41 -2
  167. package/dist/cjs/index.cjs.js +34 -17
  168. package/dist/cjs/intersection-observer-listener-DlrHabJb.js +41 -0
  169. package/dist/cjs/loader.cjs.js +1 -1
  170. package/dist/cjs/navigation-CHCtasZv.js +178 -0
  171. package/dist/cjs/resize-observer-listener-CmPDfoZs.js +103 -0
  172. package/dist/collection/collection-manifest.json +18 -7
  173. package/dist/collection/components/accordion/accordion.js +1 -1
  174. package/dist/collection/components/accordion/model.js +0 -1
  175. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  176. package/dist/collection/components/badge/badge.js +2 -2
  177. package/dist/collection/components/button/button.js +57 -2
  178. package/dist/collection/components/card/card.js +2 -2
  179. package/dist/collection/components/checkbox/checkbox.js +2 -2
  180. package/dist/collection/components/control-panel-brand/control-panel-brand.js +179 -0
  181. package/dist/collection/components/control-panel-brand/index.js +2 -0
  182. package/dist/collection/components/control-panel-desktop/control-panel-desktop.js +343 -0
  183. package/dist/collection/components/control-panel-desktop/index.js +2 -0
  184. package/dist/collection/components/control-panel-flat-icon/control-panel-flat-icon.js +246 -0
  185. package/dist/collection/components/control-panel-flat-icon/index.js +2 -0
  186. package/dist/collection/components/control-panel-meta/control-panel-meta.js +179 -0
  187. package/dist/collection/components/control-panel-meta/index.js +2 -0
  188. package/dist/collection/components/control-panel-mobile/control-panel-mobile.js +307 -0
  189. package/dist/collection/components/control-panel-mobile/index.js +2 -0
  190. package/dist/collection/components/control-panel-mobile/model.js +1 -0
  191. package/dist/collection/components/control-panel-navigation/control-panel-navigation.js +829 -0
  192. package/dist/collection/components/control-panel-navigation/index.js +2 -0
  193. package/dist/collection/components/control-panel-navigation/model.js +1 -0
  194. package/dist/collection/components/control-panel-navigation-item/control-panel-navigation-item.js +484 -0
  195. package/dist/collection/components/control-panel-navigation-item/index.js +2 -0
  196. package/dist/collection/components/control-panel-navigation-item/model.js +1 -0
  197. package/dist/collection/components/control-panel-navigation-item-group/control-panel-navigation-item-group.js +772 -0
  198. package/dist/collection/components/control-panel-navigation-item-group/index.js +2 -0
  199. package/dist/collection/components/control-panel-navigation-item-group/model.js +1 -0
  200. package/dist/collection/components/control-panel-primary-actions/control-panel-primary-actions.js +179 -0
  201. package/dist/collection/components/control-panel-primary-actions/index.js +2 -0
  202. package/dist/collection/components/control-panel-primary-actions/model.js +1 -0
  203. package/dist/collection/components/control-panel-secondary-actions/control-panel-secondary-actions.js +179 -0
  204. package/dist/collection/components/control-panel-secondary-actions/index.js +2 -0
  205. package/dist/collection/components/control-panel-secondary-actions/model.js +1 -0
  206. package/dist/collection/components/control-panel-skip-navigation/control-panel-skip-navigation.js +232 -0
  207. package/dist/collection/components/control-panel-skip-navigation/index.js +2 -0
  208. package/dist/collection/components/control-panel-skip-navigation/model.js +1 -0
  209. package/dist/collection/components/custom-button/custom-button.js +2 -2
  210. package/dist/collection/components/custom-select/custom-select.js +46 -21
  211. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  212. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  213. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  214. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -2
  215. package/dist/collection/components/divider/divider.js +1 -1
  216. package/dist/collection/components/drawer/drawer.js +71 -75
  217. package/dist/collection/components/drawer/model.js +1 -0
  218. package/dist/collection/components/{navigation/navigation.js → drawer-footer/drawer-footer.js} +19 -19
  219. package/dist/collection/components/drawer-footer/index.js +2 -0
  220. package/dist/collection/components/drawer-footer/model.js +1 -0
  221. package/dist/collection/components/{brand/brand.js → drawer-header/drawer-header.js} +83 -79
  222. package/dist/collection/components/drawer-header/index.js +2 -0
  223. package/dist/collection/components/drawer-header/model.js +1 -0
  224. package/dist/collection/components/icon/icon.js +2 -2
  225. package/dist/collection/components/infotext/infotext.js +2 -2
  226. package/dist/collection/components/input/input.js +3 -3
  227. package/dist/collection/components/link/link.js +2 -2
  228. package/dist/collection/components/notification/notification.js +2 -2
  229. package/dist/collection/components/popover/popover.js +75 -46
  230. package/dist/collection/components/radio/radio.js +2 -2
  231. package/dist/collection/components/section/section.js +2 -2
  232. package/dist/collection/components/select/select.js +2 -2
  233. package/dist/collection/components/shell/index.js +2 -0
  234. package/dist/collection/components/shell/model.js +1 -0
  235. package/dist/collection/components/{header/header.js → shell/shell.js} +92 -143
  236. package/dist/collection/components/shell-content/index.js +2 -0
  237. package/dist/collection/components/shell-content/model.js +1 -0
  238. package/dist/collection/components/{page/page.js → shell-content/shell-content.js} +67 -86
  239. package/dist/collection/components/shell-sub-navigation/index.js +2 -0
  240. package/dist/collection/components/shell-sub-navigation/model.js +1 -0
  241. package/dist/collection/components/shell-sub-navigation/shell-sub-navigation.js +248 -0
  242. package/dist/collection/components/stack/stack.js +2 -2
  243. package/dist/collection/components/switch/switch.js +2 -2
  244. package/dist/collection/components/tab-item/tab-item.js +3 -3
  245. package/dist/collection/components/tab-list/tab-list.js +2 -2
  246. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  247. package/dist/collection/components/table/table.js +27 -3
  248. package/dist/collection/components/table-body/table-body.js +27 -3
  249. package/dist/collection/components/table-caption/table-caption.js +27 -2
  250. package/dist/collection/components/table-data-cell/table-data-cell.js +27 -2
  251. package/dist/collection/components/table-footer/table-footer.js +27 -3
  252. package/dist/collection/components/table-head/table-head.js +27 -3
  253. package/dist/collection/components/table-header-cell/table-header-cell.js +27 -2
  254. package/dist/collection/components/table-row/table-row.js +27 -3
  255. package/dist/collection/components/tabs/tabs.js +75 -18
  256. package/dist/collection/components/tag/tag.js +2 -2
  257. package/dist/collection/components/textarea/textarea.js +2 -2
  258. package/dist/collection/components/tooltip/tooltip.js +63 -49
  259. package/dist/collection/index.js +32 -10
  260. package/dist/collection/shared/constants.js +7 -2
  261. package/dist/collection/shared/model.js +4 -0
  262. package/dist/collection/utils/abstract-document-listener.js +23 -0
  263. package/dist/collection/utils/abstract-observer-listener.js +61 -0
  264. package/dist/collection/utils/document-click-listener.js +5 -9
  265. package/dist/collection/utils/document-scroll-listener.js +5 -9
  266. package/dist/collection/utils/floating-components.js +193 -115
  267. package/dist/collection/utils/index.js +40 -2
  268. package/dist/collection/utils/intersection-observer-listener.js +36 -0
  269. package/dist/collection/utils/navigation.js +113 -74
  270. package/dist/collection/utils/resize-observer-listener.js +36 -0
  271. package/dist/custom-elements.json +11897 -8400
  272. package/dist/db-ux/db-ux.esm.js +1 -1
  273. package/dist/db-ux/index.esm.js +1 -1
  274. package/dist/db-ux/{p-d9d006e7.entry.js → p-158c64e0.entry.js} +1 -1
  275. package/dist/db-ux/p-1fa944fd.entry.js +1 -0
  276. package/dist/db-ux/{p-a176424b.entry.js → p-2012c72a.entry.js} +1 -1
  277. package/dist/db-ux/p-234fee81.entry.js +1 -0
  278. package/dist/db-ux/{p-6b8375e8.entry.js → p-3566a5b2.entry.js} +1 -1
  279. package/dist/db-ux/p-3b61c223.entry.js +1 -0
  280. package/dist/db-ux/p-3d5fc4b6.entry.js +1 -0
  281. package/dist/db-ux/p-3e113cfe.entry.js +1 -0
  282. package/dist/db-ux/p-42644385.entry.js +1 -0
  283. package/dist/db-ux/p-42fd6a5c.entry.js +1 -0
  284. package/dist/db-ux/p-441d444e.entry.js +1 -0
  285. package/dist/db-ux/{p-a8556349.entry.js → p-4ecd501a.entry.js} +1 -1
  286. package/dist/db-ux/{p-77a47225.entry.js → p-53f827e1.entry.js} +1 -1
  287. package/dist/db-ux/{p-eedf08e0.entry.js → p-5696a8d3.entry.js} +1 -1
  288. package/dist/db-ux/p-56b2a25d.entry.js +1 -0
  289. package/dist/db-ux/{p-68f00121.entry.js → p-5a1a7588.entry.js} +1 -1
  290. package/dist/db-ux/p-5c5dce95.entry.js +1 -0
  291. package/dist/db-ux/p-5ce9ac6d.entry.js +1 -0
  292. package/dist/db-ux/{p-57527cef.entry.js → p-636e6a6d.entry.js} +1 -1
  293. package/dist/db-ux/p-6aac51bf.entry.js +1 -0
  294. package/dist/db-ux/p-6fc31876.entry.js +1 -0
  295. package/dist/db-ux/p-7d3541c6.entry.js +1 -0
  296. package/dist/db-ux/p-8f288b5e.entry.js +1 -0
  297. package/dist/db-ux/{p-37bf8d87.entry.js → p-9174a1f8.entry.js} +1 -1
  298. package/dist/db-ux/p-92d1d118.entry.js +1 -0
  299. package/dist/db-ux/p-94806e39.entry.js +1 -0
  300. package/dist/db-ux/p-95afbd4b.entry.js +1 -0
  301. package/dist/db-ux/p-BNNa1bIH.js +1 -0
  302. package/dist/db-ux/p-BT3wZY6f.js +1 -0
  303. package/dist/db-ux/p-Bs6e6rEa.js +1 -0
  304. package/dist/db-ux/p-Bu2uTpuB.js +1 -0
  305. package/dist/db-ux/p-CHtd83tf.js +1 -0
  306. package/dist/db-ux/p-COv1iCFP.js +1 -0
  307. package/dist/db-ux/p-D-LMtTru.js +1 -0
  308. package/dist/db-ux/p-DB8jc8lh.js +1 -0
  309. package/dist/db-ux/p-a2fd6f02.entry.js +1 -0
  310. package/dist/db-ux/p-a526be72.entry.js +1 -0
  311. package/dist/db-ux/{p-db1b9f5d.entry.js → p-aa0d6af7.entry.js} +1 -1
  312. package/dist/db-ux/p-ab2ca4f9.entry.js +1 -0
  313. package/dist/db-ux/p-b124f5d7.entry.js +1 -0
  314. package/dist/db-ux/p-b4069c07.entry.js +1 -0
  315. package/dist/db-ux/p-b90adbf2.entry.js +1 -0
  316. package/dist/db-ux/p-bbqCwwgU.js +1 -0
  317. package/dist/db-ux/p-c36731c4.entry.js +1 -0
  318. package/dist/db-ux/p-c6e965b9.entry.js +1 -0
  319. package/dist/db-ux/p-d0340bf6.entry.js +1 -0
  320. package/dist/db-ux/p-d354d861.entry.js +1 -0
  321. package/dist/db-ux/{p-6d41baf1.entry.js → p-d7ffa767.entry.js} +1 -1
  322. package/dist/db-ux/{p-70b6ebcd.entry.js → p-da34c367.entry.js} +1 -1
  323. package/dist/db-ux/{p-81edb316.entry.js → p-eb18be29.entry.js} +1 -1
  324. package/dist/db-ux/p-eee0f32c.entry.js +1 -0
  325. package/dist/db-ux/p-f1f23724.entry.js +1 -0
  326. package/dist/esm/{constants-BdL-nI5y.js → constants-COv1iCFP.js} +8 -3
  327. package/dist/esm/db-accordion-item.entry.js +3 -3
  328. package/dist/esm/db-accordion.entry.js +2 -2
  329. package/dist/esm/db-badge.entry.js +4 -4
  330. package/dist/esm/db-button.entry.js +6 -3
  331. package/dist/esm/db-card.entry.js +3 -3
  332. package/dist/esm/db-checkbox.entry.js +5 -5
  333. package/dist/esm/db-control-panel-brand.entry.js +93 -0
  334. package/dist/esm/db-control-panel-desktop.entry.js +146 -0
  335. package/dist/esm/db-control-panel-flat-icon.entry.js +132 -0
  336. package/dist/esm/{db-navigation.entry.js → db-control-panel-meta.entry.js} +8 -8
  337. package/dist/esm/db-control-panel-mobile.entry.js +122 -0
  338. package/dist/esm/db-control-panel-navigation-item-group.entry.js +418 -0
  339. package/dist/esm/db-control-panel-navigation-item.entry.js +233 -0
  340. package/dist/esm/db-control-panel-navigation.entry.js +577 -0
  341. package/dist/esm/db-control-panel-primary-actions.entry.js +93 -0
  342. package/dist/esm/db-control-panel-secondary-actions.entry.js +93 -0
  343. package/dist/esm/{db-brand.entry.js → db-control-panel-skip-navigation.entry.js} +9 -9
  344. package/dist/esm/db-custom-button.entry.js +3 -3
  345. package/dist/esm/db-custom-select-dropdown_5.entry.js +14 -14
  346. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  347. package/dist/esm/db-custom-select.entry.js +50 -26
  348. package/dist/esm/db-divider.entry.js +2 -2
  349. package/dist/esm/db-drawer_3.entry.js +453 -0
  350. package/dist/esm/db-icon.entry.js +3 -3
  351. package/dist/esm/db-infotext.entry.js +3 -3
  352. package/dist/esm/db-link_4.entry.js +12 -10
  353. package/dist/esm/db-notification.entry.js +4 -4
  354. package/dist/esm/db-popover.entry.js +50 -22
  355. package/dist/esm/db-radio.entry.js +4 -4
  356. package/dist/esm/db-section.entry.js +3 -3
  357. package/dist/esm/db-select.entry.js +5 -5
  358. package/dist/esm/db-shell-content.entry.js +95 -0
  359. package/dist/esm/db-shell-sub-navigation.entry.js +108 -0
  360. package/dist/esm/{db-page.entry.js → db-shell.entry.js} +16 -17
  361. package/dist/esm/db-stack.entry.js +3 -3
  362. package/dist/esm/db-switch.entry.js +5 -5
  363. package/dist/esm/db-tab-item_3.entry.js +8 -8
  364. package/dist/esm/db-table-body_3.entry.js +10 -10
  365. package/dist/esm/db-table-caption.entry.js +4 -3
  366. package/dist/esm/db-table.entry.js +4 -4
  367. package/dist/esm/db-tabs.entry.js +23 -18
  368. package/dist/esm/db-textarea.entry.js +5 -5
  369. package/dist/esm/db-tooltip.entry.js +39 -26
  370. package/dist/esm/db-ux.js +1 -1
  371. package/dist/esm/{document-click-listener-9wJfRcvz.js → document-click-listener-BEYsNvC5.js} +5 -9
  372. package/dist/esm/{document-scroll-listener-4F0ZAg9p.js → document-scroll-listener-B8lkAL-m.js} +29 -10
  373. package/dist/esm/{floating-components-DOPXnIzL.js → floating-components-BT3wZY6f.js} +194 -116
  374. package/dist/esm/{form-components-ZV7IN0oG.js → form-components-zJeL8XMn.js} +1 -1
  375. package/dist/esm/{index-fumiz06Y.js → index-DB8jc8lh.js} +41 -3
  376. package/dist/esm/index.js +17 -10
  377. package/dist/esm/intersection-observer-listener-DQ4WWSLe.js +39 -0
  378. package/dist/esm/loader.js +1 -1
  379. package/dist/esm/navigation-Cc_Ln-dl.js +174 -0
  380. package/dist/esm/resize-observer-listener-z8XjzxC9.js +100 -0
  381. package/dist/types/components/accordion/model.d.ts +2 -8
  382. package/dist/types/components/button/button.d.ts +2 -0
  383. package/dist/types/components/button/model.d.ts +8 -0
  384. package/dist/types/components/{brand/brand.d.ts → control-panel-brand/control-panel-brand.d.ts} +5 -9
  385. package/dist/types/components/control-panel-brand/index.d.ts +2 -0
  386. package/dist/types/components/control-panel-brand/model.d.ts +5 -0
  387. package/dist/types/components/control-panel-desktop/control-panel-desktop.d.ts +41 -0
  388. package/dist/types/components/control-panel-desktop/index.d.ts +2 -0
  389. package/dist/types/components/control-panel-desktop/model.d.ts +5 -0
  390. package/dist/types/components/{page/page.d.ts → control-panel-flat-icon/control-panel-flat-icon.d.ts} +10 -12
  391. package/dist/types/components/control-panel-flat-icon/index.d.ts +2 -0
  392. package/dist/types/components/control-panel-flat-icon/model.d.ts +12 -0
  393. package/dist/types/components/control-panel-meta/control-panel-meta.d.ts +23 -0
  394. package/dist/types/components/control-panel-meta/index.d.ts +2 -0
  395. package/dist/types/components/control-panel-meta/model.d.ts +5 -0
  396. package/dist/types/components/control-panel-mobile/control-panel-mobile.d.ts +36 -0
  397. package/dist/types/components/control-panel-mobile/index.d.ts +2 -0
  398. package/dist/types/components/control-panel-mobile/model.d.ts +21 -0
  399. package/dist/types/components/control-panel-navigation/control-panel-navigation.d.ts +54 -0
  400. package/dist/types/components/control-panel-navigation/index.d.ts +2 -0
  401. package/dist/types/components/control-panel-navigation/model.d.ts +25 -0
  402. package/dist/types/components/control-panel-navigation-item/control-panel-navigation-item.d.ts +42 -0
  403. package/dist/types/components/control-panel-navigation-item/index.d.ts +2 -0
  404. package/dist/types/components/control-panel-navigation-item/model.d.ts +20 -0
  405. package/dist/types/components/control-panel-navigation-item-group/control-panel-navigation-item-group.d.ts +74 -0
  406. package/dist/types/components/control-panel-navigation-item-group/index.d.ts +2 -0
  407. package/dist/types/components/control-panel-navigation-item-group/model.d.ts +44 -0
  408. package/dist/types/components/control-panel-primary-actions/control-panel-primary-actions.d.ts +23 -0
  409. package/dist/types/components/control-panel-primary-actions/index.d.ts +2 -0
  410. package/dist/types/components/control-panel-primary-actions/model.d.ts +5 -0
  411. package/dist/types/components/control-panel-secondary-actions/control-panel-secondary-actions.d.ts +23 -0
  412. package/dist/types/components/control-panel-secondary-actions/index.d.ts +2 -0
  413. package/dist/types/components/control-panel-secondary-actions/model.d.ts +5 -0
  414. package/dist/types/components/control-panel-skip-navigation/control-panel-skip-navigation.d.ts +25 -0
  415. package/dist/types/components/control-panel-skip-navigation/index.d.ts +2 -0
  416. package/dist/types/components/control-panel-skip-navigation/model.d.ts +16 -0
  417. package/dist/types/components/custom-select/custom-select.d.ts +2 -1
  418. package/dist/types/components/custom-select/model.d.ts +5 -1
  419. package/dist/types/components/drawer/drawer.d.ts +9 -6
  420. package/dist/types/components/drawer/model.d.ts +21 -3
  421. package/dist/types/components/{navigation/navigation.d.ts → drawer-footer/drawer-footer.d.ts} +5 -5
  422. package/dist/types/components/drawer-footer/index.d.ts +2 -0
  423. package/dist/types/components/drawer-footer/model.d.ts +5 -0
  424. package/dist/types/components/drawer-header/drawer-header.d.ts +30 -0
  425. package/dist/types/components/drawer-header/index.d.ts +2 -0
  426. package/dist/types/components/drawer-header/model.d.ts +9 -0
  427. package/dist/types/components/popover/popover.d.ts +3 -2
  428. package/dist/types/components/shell/index.d.ts +2 -0
  429. package/dist/types/components/shell/model.d.ts +34 -0
  430. package/dist/types/components/shell/shell.d.ts +30 -0
  431. package/dist/types/components/shell-content/index.d.ts +2 -0
  432. package/dist/types/components/shell-content/model.d.ts +28 -0
  433. package/dist/types/components/shell-content/shell-content.d.ts +28 -0
  434. package/dist/types/components/shell-sub-navigation/index.d.ts +2 -0
  435. package/dist/types/components/shell-sub-navigation/model.d.ts +5 -0
  436. package/dist/types/components/shell-sub-navigation/shell-sub-navigation.d.ts +29 -0
  437. package/dist/types/components/table/table.d.ts +1 -0
  438. package/dist/types/components/table-body/table-body.d.ts +1 -0
  439. package/dist/types/components/table-caption/table-caption.d.ts +1 -0
  440. package/dist/types/components/table-data-cell/table-data-cell.d.ts +1 -0
  441. package/dist/types/components/table-footer/table-footer.d.ts +1 -0
  442. package/dist/types/components/table-head/table-head.d.ts +1 -0
  443. package/dist/types/components/table-header-cell/table-header-cell.d.ts +1 -0
  444. package/dist/types/components/table-row/table-row.d.ts +1 -0
  445. package/dist/types/components/tabs/model.d.ts +4 -12
  446. package/dist/types/components/tabs/tabs.d.ts +3 -1
  447. package/dist/types/components/tooltip/tooltip.d.ts +3 -2
  448. package/dist/types/components.d.ts +621 -243
  449. package/dist/types/index.d.ts +32 -10
  450. package/dist/types/shared/constants.d.ts +44 -39
  451. package/dist/types/shared/figma.d.ts +11 -4
  452. package/dist/types/shared/model.d.ts +109 -7
  453. package/dist/types/utils/abstract-document-listener.d.ts +18 -0
  454. package/dist/types/utils/abstract-observer-listener.d.ts +39 -0
  455. package/dist/types/utils/document-click-listener.d.ts +3 -3
  456. package/dist/types/utils/document-scroll-listener.d.ts +3 -3
  457. package/dist/types/utils/floating-components.d.ts +29 -6
  458. package/dist/types/utils/index.d.ts +11 -0
  459. package/dist/types/utils/intersection-observer-listener.d.ts +15 -0
  460. package/dist/types/utils/navigation.d.ts +12 -11
  461. package/dist/types/utils/resize-observer-listener.d.ts +15 -0
  462. package/dist/vscode.html-custom-data.json +998 -540
  463. package/dist/web-types.json +2176 -1176
  464. package/package.json +5 -5
  465. package/agent/Brand.md +0 -13
  466. package/agent/Header.md +0 -29
  467. package/agent/Navigation.md +0 -19
  468. package/agent/NavigationItem.md +0 -29
  469. package/agent/Page.md +0 -27
  470. package/bundle/db-brand.js +0 -1
  471. package/bundle/db-header.js +0 -1
  472. package/bundle/db-navigation-item.js +0 -1
  473. package/bundle/db-navigation.js +0 -1
  474. package/bundle/db-page.js +0 -1
  475. package/bundle/p-2eQDIPlF.js +0 -1
  476. package/bundle/p-BdL-nI5y.js +0 -1
  477. package/bundle/p-BuBrj57D.js +0 -1
  478. package/bundle/p-C2w7ILj8.js +0 -1
  479. package/bundle/p-C47AKJPy.js +0 -1
  480. package/bundle/p-Cn5NdjPW.js +0 -1
  481. package/bundle/p-D6L0n3gO.js +0 -1
  482. package/bundle/p-DFypNnh0.js +0 -1
  483. package/bundle/p-DJTpgiBy.js +0 -1
  484. package/bundle/p-DOPXnIzL.js +0 -1
  485. package/bundle/p-DTM6Wcbf.js +0 -1
  486. package/bundle/p-DVuZmW_J.js +0 -1
  487. package/bundle/p-DW47OZNu.js +0 -1
  488. package/bundle/p-DiEfz0o1.js +0 -1
  489. package/bundle/p-n2qePi9e.js +0 -1
  490. package/dist/cjs/db-drawer.cjs.entry.js +0 -204
  491. package/dist/cjs/db-header.cjs.entry.js +0 -145
  492. package/dist/cjs/db-navigation-item.cjs.entry.js +0 -182
  493. package/dist/cjs/navigation-Bah882nU.js +0 -138
  494. package/dist/collection/components/brand/index.js +0 -2
  495. package/dist/collection/components/header/index.js +0 -2
  496. package/dist/collection/components/navigation/index.js +0 -2
  497. package/dist/collection/components/navigation-item/index.js +0 -2
  498. package/dist/collection/components/navigation-item/navigation-item.js +0 -577
  499. package/dist/collection/components/page/index.js +0 -2
  500. package/dist/collection/components/page/model.js +0 -2
  501. package/dist/db-ux/p-0758418a.entry.js +0 -1
  502. package/dist/db-ux/p-1e70d93f.entry.js +0 -1
  503. package/dist/db-ux/p-2c23efe2.entry.js +0 -1
  504. package/dist/db-ux/p-38c55e9c.entry.js +0 -1
  505. package/dist/db-ux/p-4a94fbc9.entry.js +0 -1
  506. package/dist/db-ux/p-5706f20a.entry.js +0 -1
  507. package/dist/db-ux/p-6ce4a109.entry.js +0 -1
  508. package/dist/db-ux/p-6fd70ba4.entry.js +0 -1
  509. package/dist/db-ux/p-6fdc00bd.entry.js +0 -1
  510. package/dist/db-ux/p-71399ee3.entry.js +0 -1
  511. package/dist/db-ux/p-88dcff6a.entry.js +0 -1
  512. package/dist/db-ux/p-90e9ec2d.entry.js +0 -1
  513. package/dist/db-ux/p-96978a7f.entry.js +0 -1
  514. package/dist/db-ux/p-BdL-nI5y.js +0 -1
  515. package/dist/db-ux/p-BihrW11j.js +0 -1
  516. package/dist/db-ux/p-BtImZ8Nt.js +0 -1
  517. package/dist/db-ux/p-BuBrj57D.js +0 -1
  518. package/dist/db-ux/p-DOPXnIzL.js +0 -1
  519. package/dist/db-ux/p-OOIf-5XP.js +0 -1
  520. package/dist/db-ux/p-a07e33e7.entry.js +0 -1
  521. package/dist/db-ux/p-a4fb4782.entry.js +0 -1
  522. package/dist/db-ux/p-bb5149a9.entry.js +0 -1
  523. package/dist/db-ux/p-e58fbd4d.entry.js +0 -1
  524. package/dist/db-ux/p-e66aa9d8.entry.js +0 -1
  525. package/dist/db-ux/p-ef63c591.entry.js +0 -1
  526. package/dist/db-ux/p-f0b5c785.entry.js +0 -1
  527. package/dist/db-ux/p-f964d5f5.entry.js +0 -1
  528. package/dist/db-ux/p-fumiz06Y.js +0 -1
  529. package/dist/esm/db-drawer.entry.js +0 -202
  530. package/dist/esm/db-header.entry.js +0 -143
  531. package/dist/esm/db-navigation-item.entry.js +0 -180
  532. package/dist/esm/navigation-Jh6m0eMk.js +0 -135
  533. package/dist/types/components/brand/index.d.ts +0 -2
  534. package/dist/types/components/brand/model.d.ts +0 -10
  535. package/dist/types/components/header/header.d.ts +0 -40
  536. package/dist/types/components/header/index.d.ts +0 -2
  537. package/dist/types/components/header/model.d.ts +0 -44
  538. package/dist/types/components/navigation/index.d.ts +0 -2
  539. package/dist/types/components/navigation/model.d.ts +0 -5
  540. package/dist/types/components/navigation-item/index.d.ts +0 -2
  541. package/dist/types/components/navigation-item/model.d.ts +0 -39
  542. package/dist/types/components/navigation-item/navigation-item.d.ts +0 -52
  543. package/dist/types/components/page/index.d.ts +0 -2
  544. package/dist/types/components/page/model.d.ts +0 -36
  545. /package/dist/collection/components/{brand → control-panel-brand}/model.js +0 -0
  546. /package/dist/collection/components/{header → control-panel-desktop}/model.js +0 -0
  547. /package/dist/collection/components/{navigation-item → control-panel-flat-icon}/model.js +0 -0
  548. /package/dist/collection/components/{navigation → control-panel-meta}/model.js +0 -0
@@ -0,0 +1,457 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C313bRqJ.js');
4
+ var index$1 = require('./index-Df-6pBQf.js');
5
+ var constants = require('./constants-BM1EltPT.js');
6
+
7
+ const DBDrawer = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.close = index.createEvent(this, "close");
11
+ this.initialized = false;
12
+ this.backdropPointerDown = false;
13
+ this._closeTimeoutId = undefined;
14
+ this.observer = undefined;
15
+ }
16
+ isNotModal() {
17
+ return (this.position === "absolute" ||
18
+ this.backdrop === "none" ||
19
+ this.variant === "inside");
20
+ }
21
+ handleBackdropPointerDown(event) {
22
+ var _a;
23
+ // Remember whether the pointer interaction started on the backdrop
24
+ // (the DIALOG element itself) so we only close on a real backdrop
25
+ // click and not when a drag started inside the content and ended
26
+ // on the backdrop.
27
+ this.backdropPointerDown = ((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.nodeName) === "DIALOG";
28
+ }
29
+ handleClose(event, forceClose) {
30
+ var _a, _b, _c;
31
+ if (!event)
32
+ return;
33
+ if (index$1.isKeyboardEvent(event)) {
34
+ if (event.key === "Escape") {
35
+ event.preventDefault();
36
+ if (this.close) {
37
+ this.close.emit(event);
38
+ }
39
+ }
40
+ }
41
+ else {
42
+ if (forceClose) {
43
+ event.stopPropagation();
44
+ if (this.close) {
45
+ this.close.emit(event);
46
+ }
47
+ }
48
+ const isBackdrop = ((_a = event.target) === null || _a === void 0 ? void 0 : _a.nodeName) === "DIALOG" &&
49
+ event.type === "click" &&
50
+ this.backdrop !== "none" &&
51
+ this.backdropPointerDown;
52
+ const isCloseButton = Boolean((_c = (_b = event.target) === null || _b === void 0 ? void 0 : _b.closest) === null || _c === void 0 ? void 0 : _c.call(_b, '[data-action="close"]'));
53
+ if (isBackdrop || isCloseButton) {
54
+ if (this.close) {
55
+ this.close.emit(event);
56
+ }
57
+ }
58
+ // Reset after handling the click so the next interaction
59
+ // starts from a clean state.
60
+ this.backdropPointerDown = false;
61
+ }
62
+ }
63
+ handleDialogOpen() {
64
+ if (this._ref) {
65
+ const dialogOpen = index$1.getBoolean(this.open, "open");
66
+ if (dialogOpen && !this._ref.open) {
67
+ if (this.dialogContainerRef) {
68
+ this.dialogContainerRef.removeAttribute("data-transition");
69
+ }
70
+ if (this.isNotModal()) {
71
+ this._ref.show();
72
+ }
73
+ else {
74
+ this._ref.showModal();
75
+ }
76
+ index$1.delay(() => {
77
+ if (this.dialogContainerRef) {
78
+ this.dialogContainerRef.dataset["transition"] =
79
+ "open";
80
+ }
81
+ }, 1);
82
+ }
83
+ if (!dialogOpen && this._ref.open) {
84
+ if (this.dialogContainerRef) {
85
+ this.dialogContainerRef.dataset["transition"] =
86
+ "close";
87
+ }
88
+ // Cancel any previously scheduled close to prevent double-close on rapid toggling
89
+ if (this._closeTimeoutId !== undefined) {
90
+ clearTimeout(this._closeTimeoutId);
91
+ }
92
+ // Read close delay from CSS (already accounts for prefers-reduced-motion)
93
+ let closeDelay = 0;
94
+ if (this.dialogContainerRef) {
95
+ const durationStr = getComputedStyle(this.dialogContainerRef)
96
+ .getPropertyValue("--db-drawer-close-delay")
97
+ .trim();
98
+ const seconds = parseFloat(durationStr);
99
+ if (seconds > 0) {
100
+ closeDelay = seconds * 1000 + 1;
101
+ }
102
+ }
103
+ this._closeTimeoutId = window.setTimeout(() => {
104
+ var _a;
105
+ (_a = this._ref) === null || _a === void 0 ? void 0 : _a.close();
106
+ this._closeTimeoutId = undefined;
107
+ }, closeDelay);
108
+ }
109
+ }
110
+ }
111
+ setupObserver(element) {
112
+ if (!element)
113
+ return;
114
+ const parent = element.closest("db-drawer");
115
+ if (!parent || this.observer)
116
+ return;
117
+ this.observer = new MutationObserver((mutations) => {
118
+ if (mutations.some((mutation) => {
119
+ var _a;
120
+ const attr = mutation.target.attributes.getNamedItem((_a = mutation.attributeName) !== null && _a !== void 0 ? _a : "");
121
+ return (attr === null || attr === void 0 ? void 0 : attr.value) !== mutation.oldValue;
122
+ })) {
123
+ this.enableAttributePassing(element, "db-drawer");
124
+ }
125
+ });
126
+ this.observer.observe(parent, {
127
+ attributes: true,
128
+ attributeOldValue: true,
129
+ });
130
+ }
131
+ /**
132
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
133
+ * @param element the ref for the component
134
+ * @param customElementSelector the custom element like `my-component`
135
+ */
136
+ enableAttributePassing(element, customElementSelector) {
137
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
138
+ if (element && parent) {
139
+ const attributes = parent.attributes;
140
+ for (let i = 0; i < attributes.length; i++) {
141
+ const attr = attributes.item(i);
142
+ if (attr && attr.name !== 'data-density' &&
143
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
144
+ if (attr.value) {
145
+ element.setAttribute(attr.name, attr.value);
146
+ }
147
+ else {
148
+ element.removeAttribute(attr.name);
149
+ }
150
+ parent.removeAttribute(attr.name);
151
+ }
152
+ else if (attr && ["style"].includes(attr.name)) {
153
+ element.setAttribute(attr.name, attr.value);
154
+ parent.removeAttribute(attr.name);
155
+ }
156
+ else if (attr && attr.name === "class") {
157
+ const isWebComponent = attr.value.includes("hydrated");
158
+ const value = attr.value.replace("hydrated", "").trim();
159
+ const currentClass = element.getAttribute("class");
160
+ element.setAttribute(attr.name, `${currentClass ? currentClass : ""}${value ? ` ${value}` : ""}`);
161
+ if (isWebComponent) {
162
+ // Stencil is using this class for lazy loading component
163
+ parent.setAttribute("class", "hydrated");
164
+ }
165
+ else {
166
+ parent.removeAttribute(attr.name);
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }
172
+ watch0Fn() {
173
+ this.handleDialogOpen();
174
+ }
175
+ watch0() {
176
+ this.watch0Fn();
177
+ }
178
+ watch1Fn() {
179
+ if (this._ref && this.initialized && this.position === "absolute") {
180
+ const refElement = this._ref;
181
+ const parent = refElement.parentElement;
182
+ if (parent) {
183
+ parent.style.position = "relative";
184
+ }
185
+ }
186
+ }
187
+ watch1() {
188
+ this.watch1Fn();
189
+ }
190
+ componentDidLoad() {
191
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
192
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
193
+ if (connectedElement) {
194
+ connectedElement.remove();
195
+ }
196
+ }
197
+ this.enableAttributePassing(this._ref, "db-drawer");
198
+ const onMountHook_0 = () => {
199
+ this.handleDialogOpen();
200
+ this.initialized = true;
201
+ };
202
+ onMountHook_0();
203
+ const onMountHook_1 = () => {
204
+ this.setupObserver(this._ref);
205
+ };
206
+ onMountHook_1();
207
+ this.watch0Fn();
208
+ this.watch1Fn();
209
+ }
210
+ disconnectedCallback() {
211
+ var _a;
212
+ // Cancel any pending close timeout to prevent stale references
213
+ if (this._closeTimeoutId !== undefined) {
214
+ clearTimeout(this._closeTimeoutId);
215
+ }
216
+ if (this._ref && this.position === "absolute") {
217
+ const refElement = this._ref;
218
+ const parent = refElement.parentElement;
219
+ if (parent) {
220
+ parent.style.position = "";
221
+ }
222
+ }
223
+ (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
224
+ }
225
+ render() {
226
+ var _a, _b, _c;
227
+ return (index.h("dialog", { key: '9abf0f743cfc3f730e881ccdf900cb28ebc2635d', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
228
+ this._ref = el;
229
+ }, onClick: (event) => this.handleClose(event), onMouseDown: (event) => this.handleBackdropPointerDown(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, index.h("article", { key: 'ed41dd90e899c94b17669656bcc15a934e34d9e2', class: index$1.cls("db-drawer-container", this.className), ref: (el) => {
230
+ this.dialogContainerRef = el;
231
+ }, "data-container-size": this.containerSize, "data-show-spacing": index$1.getBooleanAsString((_c = this.showSpacing) !== null && _c !== void 0 ? _c : true, "showSpacing"), "data-direction": this.direction, "data-rounded": index$1.getBooleanAsString(this.rounded, "rounded") }, index.h("slot", { key: '71f9997f3fd49aab5923108bcca1826bcfddfbbb', name: "header" }), index.h("div", { key: '0093d8bf9dcb0098601622b600561a35ab21c51f', class: "db-drawer-content" }, index.h("slot", { key: '7f52dbe8e4f9ed593a02d04e41aa6e65025a84a3' })), index.h("slot", { key: 'e5fdb2447f8b970a499aae4cbc49461be45bfa61', name: "footer" }))));
232
+ }
233
+ get rootElement() { return index.getElement(this); }
234
+ static get watchers() { return {
235
+ "open": [{
236
+ "watch0": 0
237
+ }],
238
+ "_ref": [{
239
+ "watch1": 0
240
+ }],
241
+ "initialized": [{
242
+ "watch1": 0
243
+ }],
244
+ "position": [{
245
+ "watch1": 0
246
+ }]
247
+ }; }
248
+ };
249
+
250
+ const DBDrawerFooter = class {
251
+ constructor(hostRef) {
252
+ index.registerInstance(this, hostRef);
253
+ this.observer = undefined;
254
+ }
255
+ setupObserver(element) {
256
+ if (!element)
257
+ return;
258
+ const parent = element.closest("db-drawer-footer");
259
+ if (!parent || this.observer)
260
+ return;
261
+ this.observer = new MutationObserver((mutations) => {
262
+ if (mutations.some((mutation) => {
263
+ var _a;
264
+ const attr = mutation.target.attributes.getNamedItem((_a = mutation.attributeName) !== null && _a !== void 0 ? _a : "");
265
+ return (attr === null || attr === void 0 ? void 0 : attr.value) !== mutation.oldValue;
266
+ })) {
267
+ this.enableAttributePassing(element, "db-drawer-footer");
268
+ }
269
+ });
270
+ this.observer.observe(parent, {
271
+ attributes: true,
272
+ attributeOldValue: true,
273
+ });
274
+ }
275
+ /**
276
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
277
+ * @param element the ref for the component
278
+ * @param customElementSelector the custom element like `my-component`
279
+ */
280
+ enableAttributePassing(element, customElementSelector) {
281
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
282
+ if (element && parent) {
283
+ const attributes = parent.attributes;
284
+ for (let i = 0; i < attributes.length; i++) {
285
+ const attr = attributes.item(i);
286
+ if (attr && attr.name !== 'data-density' &&
287
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
288
+ if (attr.value) {
289
+ element.setAttribute(attr.name, attr.value);
290
+ }
291
+ else {
292
+ element.removeAttribute(attr.name);
293
+ }
294
+ parent.removeAttribute(attr.name);
295
+ }
296
+ else if (attr && ["style"].includes(attr.name)) {
297
+ element.setAttribute(attr.name, attr.value);
298
+ parent.removeAttribute(attr.name);
299
+ }
300
+ else if (attr && attr.name === "class") {
301
+ const isWebComponent = attr.value.includes("hydrated");
302
+ const value = attr.value.replace("hydrated", "").trim();
303
+ const currentClass = element.getAttribute("class");
304
+ element.setAttribute(attr.name, `${currentClass ? currentClass : ""}${value ? ` ${value}` : ""}`);
305
+ if (isWebComponent) {
306
+ // Stencil is using this class for lazy loading component
307
+ parent.setAttribute("class", "hydrated");
308
+ }
309
+ else {
310
+ parent.removeAttribute(attr.name);
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ componentDidLoad() {
317
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
318
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
319
+ if (connectedElement) {
320
+ connectedElement.remove();
321
+ }
322
+ }
323
+ this.enableAttributePassing(this._ref, "db-drawer-footer");
324
+ this.setupObserver(this._ref);
325
+ }
326
+ disconnectedCallback() {
327
+ var _a;
328
+ (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
329
+ }
330
+ render() {
331
+ var _a, _b;
332
+ return (index.h("footer", { key: 'c6774643907d061fe786a370dcf83e68ff101bc0', class: index$1.cls("db-drawer-footer", this.className), ref: (el) => {
333
+ this._ref = el;
334
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: 'b8ade96bd0be9a643be8fd1d5be2b8eefbb85a96' })));
335
+ }
336
+ get rootElement() { return index.getElement(this); }
337
+ };
338
+
339
+ const DBDrawerHeader = class {
340
+ constructor(hostRef) {
341
+ index.registerInstance(this, hostRef);
342
+ this.closeButtonText = constants.DEFAULT_CLOSE_BUTTON;
343
+ this._headingId = "db-drawer-header-heading-" + index$1.uuid();
344
+ this.observer = undefined;
345
+ }
346
+ setAriaLabelledBy() {
347
+ if (this._ref && this.text) {
348
+ const dialog = this._ref.closest("dialog");
349
+ if (dialog) {
350
+ dialog.setAttribute("aria-labelledby", this._headingId);
351
+ }
352
+ }
353
+ }
354
+ removeAriaLabelledBy() {
355
+ if (this._ref) {
356
+ const dialog = this._ref.closest("dialog");
357
+ if (dialog &&
358
+ dialog.getAttribute("aria-labelledby") === this._headingId) {
359
+ dialog.removeAttribute("aria-labelledby");
360
+ }
361
+ }
362
+ }
363
+ setupObserver(element) {
364
+ if (!element)
365
+ return;
366
+ const parent = element.closest("db-drawer-header");
367
+ if (!parent || this.observer)
368
+ return;
369
+ this.observer = new MutationObserver((mutations) => {
370
+ if (mutations.some((mutation) => {
371
+ var _a;
372
+ const attr = mutation.target.attributes.getNamedItem((_a = mutation.attributeName) !== null && _a !== void 0 ? _a : "");
373
+ return (attr === null || attr === void 0 ? void 0 : attr.value) !== mutation.oldValue;
374
+ })) {
375
+ this.enableAttributePassing(element, "db-drawer-header");
376
+ }
377
+ });
378
+ this.observer.observe(parent, {
379
+ attributes: true,
380
+ attributeOldValue: true,
381
+ });
382
+ }
383
+ /**
384
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
385
+ * @param element the ref for the component
386
+ * @param customElementSelector the custom element like `my-component`
387
+ */
388
+ enableAttributePassing(element, customElementSelector) {
389
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
390
+ if (element && parent) {
391
+ const attributes = parent.attributes;
392
+ for (let i = 0; i < attributes.length; i++) {
393
+ const attr = attributes.item(i);
394
+ if (attr && attr.name !== 'data-density' &&
395
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
396
+ if (attr.value) {
397
+ element.setAttribute(attr.name, attr.value);
398
+ }
399
+ else {
400
+ element.removeAttribute(attr.name);
401
+ }
402
+ parent.removeAttribute(attr.name);
403
+ }
404
+ else if (attr && ["style"].includes(attr.name)) {
405
+ element.setAttribute(attr.name, attr.value);
406
+ parent.removeAttribute(attr.name);
407
+ }
408
+ else if (attr && attr.name === "class") {
409
+ const isWebComponent = attr.value.includes("hydrated");
410
+ const value = attr.value.replace("hydrated", "").trim();
411
+ const currentClass = element.getAttribute("class");
412
+ element.setAttribute(attr.name, `${currentClass ? currentClass : ""}${value ? ` ${value}` : ""}`);
413
+ if (isWebComponent) {
414
+ // Stencil is using this class for lazy loading component
415
+ parent.setAttribute("class", "hydrated");
416
+ }
417
+ else {
418
+ parent.removeAttribute(attr.name);
419
+ }
420
+ }
421
+ }
422
+ }
423
+ }
424
+ componentDidLoad() {
425
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
426
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
427
+ if (connectedElement) {
428
+ connectedElement.remove();
429
+ }
430
+ }
431
+ this.enableAttributePassing(this._ref, "db-drawer-header");
432
+ const onMountHook_0 = () => {
433
+ this.setAriaLabelledBy();
434
+ };
435
+ onMountHook_0();
436
+ const onMountHook_1 = () => {
437
+ this.setupObserver(this._ref);
438
+ };
439
+ onMountHook_1();
440
+ }
441
+ disconnectedCallback() {
442
+ var _a;
443
+ this.removeAriaLabelledBy();
444
+ (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
445
+ }
446
+ render() {
447
+ var _a, _b;
448
+ return (index.h("div", { key: 'dfab2e03b8b712fe9960cac3fc30b534a355dc13', class: index$1.cls("db-drawer-header", this.className), ref: (el) => {
449
+ this._ref = el;
450
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("header", { key: '6e8caae594fe815fb329843aae47d96df30527c4', class: "db-drawer-header-container", id: this._headingId }, index.h("slot", { key: '546960454a5332aeab2e24734b7633b5f1a34c3c', name: "startSlot" }), this.text ? index.h("h2", null, this.text) : index.h("slot", null)), index.h("slot", { key: 'b278f02cb5fc65287885085a8a5a31d4282458eb', name: "endSlot" }), index.h("db-button", { key: '094219ec03470e63fbc93532db4d12d7d8e324a3', "data-action": "close", icon: "cross", variant: "ghost", type: "button", id: this.closeButtonId, noText: true }, this.closeButtonText, index.h("db-tooltip", { key: 'c6e1fa17184102db8160b9a2917f8f55e80307c6' }, this.closeButtonText))));
451
+ }
452
+ get rootElement() { return index.getElement(this); }
453
+ };
454
+
455
+ exports.db_drawer = DBDrawer;
456
+ exports.db_drawer_footer = DBDrawerFooter;
457
+ exports.db_drawer_header = DBDrawerHeader;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C313bRqJ.js');
4
- var index$1 = require('./index-spuu3sXz.js');
4
+ var index$1 = require('./index-Df-6pBQf.js');
5
5
 
6
6
  const DBIcon = class {
7
7
  constructor(hostRef) {
@@ -85,9 +85,9 @@ const DBIcon = class {
85
85
  }
86
86
  render() {
87
87
  var _a, _b;
88
- return (index.h("span", { key: '45475f5547eb46fee1e5046a3adf5602b8427d1e', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
88
+ return (index.h("span", { key: '317a35455deed25c97bbe605675e7cf4694147db', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
89
89
  this._ref = el;
90
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, index.h("slot", { key: '05089e47e87077e6227760806584f49715080c38' })));
90
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, index.h("slot", { key: 'd0c4a2db988fa511049303667ae42e1143b6a285' })));
91
91
  }
92
92
  get rootElement() { return index.getElement(this); }
93
93
  };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C313bRqJ.js');
4
- var index$1 = require('./index-spuu3sXz.js');
4
+ var index$1 = require('./index-Df-6pBQf.js');
5
5
 
6
6
  const DBInfotext = class {
7
7
  constructor(hostRef) {
@@ -85,9 +85,9 @@ const DBInfotext = class {
85
85
  }
86
86
  render() {
87
87
  var _a, _b, _c;
88
- return (index.h("span", { key: '5f43b3937dc8adf310a519fc581f6c3162e86ebb', class: index$1.cls("db-infotext", this.className), ref: (el) => {
88
+ return (index.h("span", { key: 'a5743649a619595f159a9022ee8c39e477af05a7', class: index$1.cls("db-infotext", this.className), ref: (el) => {
89
89
  this._ref = el;
90
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": index$1.getBooleanAsString(this.wrap, "wrap"), "data-show-icon-leading": index$1.getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true, "showIcon") }, this.text ? this.text : null, index.h("slot", { key: '253fc89f2cb83a9ca89c66eed70988b7b69b8507' })));
90
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": index$1.getBooleanAsString(this.wrap, "wrap"), "data-show-icon-leading": index$1.getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true, "showIcon") }, this.text ? this.text : null, index.h("slot", { key: 'a52fb970815f2339648d21691f66da3369a34e30' })));
91
91
  }
92
92
  get rootElement() { return index.getElement(this); }
93
93
  };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C313bRqJ.js');
4
- var index$1 = require('./index-spuu3sXz.js');
4
+ var index$1 = require('./index-Df-6pBQf.js');
5
5
 
6
6
  const DBLink = class {
7
7
  constructor(hostRef) {
@@ -85,9 +85,9 @@ const DBLink = class {
85
85
  }
86
86
  render() {
87
87
  var _a, _b, _c, _d;
88
- return (index.h("a", { key: '7d627d40c68589558b3e33b1304f4c57b95203e3', class: index$1.cls("db-link", this.className), ref: (el) => {
88
+ return (index.h("a", { key: '844ef7d3be7d3cfa62ec5b5bbac7afbb2c226ad0', class: index$1.cls("db-link", this.className), ref: (el) => {
89
89
  this._ref = el;
90
- }, 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, "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, "showIcon"), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": index$1.getBooleanAsString(this.wrap, "wrap") }, this.text ? this.text : null, index.h("slot", { key: 'fc12c0b064d4c5d03347bea0f6de4ad5fcf78223' })));
90
+ }, 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, "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, "showIcon"), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": index$1.getBooleanAsString(this.wrap, "wrap") }, this.text ? this.text : null, index.h("slot", { key: 'd99bd3518f8b267b8a50531bac0a4eac737fd4bf' })));
91
91
  }
92
92
  get rootElement() { return index.getElement(this); }
93
93
  };
@@ -147,9 +147,10 @@ const DBTableDataCell = class {
147
147
  this.enableAttributePassing(this._ref, "db-table-data-cell");
148
148
  }
149
149
  render() {
150
- return (index.h("td", { key: '3ca063d88f598584751c0519ae80146525d2fa5a', class: index$1.cls("db-table-data-cell", this.className), ref: (el) => {
150
+ var _a, _b;
151
+ return (index.h("td", { key: '5a3ebd6d5339d96b0254cefc8458a7202033dc99', class: index$1.cls("db-table-data-cell", this.className), ref: (el) => {
151
152
  this._ref = el;
152
- }, id: this.id, "data-horizontal-alignment": this.horizontalAlignment, "data-vertical-alignment": this.verticalAlignment, colSpan: index$1.getNumber(this.colSpan, this.colspan), rowSpan: index$1.getNumber(this.rowSpan, this.rowspan), headers: this.headers }, index.h("slot", { key: '30d173c99e242c0bf764f710cee0323bf9549e41' })));
153
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-horizontal-alignment": this.horizontalAlignment, "data-vertical-alignment": this.verticalAlignment, colSpan: index$1.getNumber(this.colSpan, this.colspan), rowSpan: index$1.getNumber(this.rowSpan, this.rowspan), headers: this.headers }, index.h("slot", { key: 'a972f0b9053840a126367efcf096d2bd32293547' })));
153
154
  }
154
155
  get rootElement() { return index.getElement(this); }
155
156
  };
@@ -209,9 +210,10 @@ const DBTableHeaderCell = class {
209
210
  this.enableAttributePassing(this._ref, "db-table-header-cell");
210
211
  }
211
212
  render() {
212
- return (index.h("th", { key: 'fd53f0b6cc8b2574b895e131d02f0d47d5f93b63', class: index$1.cls("db-table-header-cell", this.className), ref: (el) => {
213
+ var _a, _b;
214
+ return (index.h("th", { key: '94134b60d6d2d41f61554594857bd8211b670eaa', class: index$1.cls("db-table-header-cell", this.className), ref: (el) => {
213
215
  this._ref = el;
214
- }, id: this.id, "data-horizontal-alignment": this.horizontalAlignment, "data-vertical-alignment": this.verticalAlignment, "data-no-text": index$1.getBooleanAsString(this.noText), scope: this.scope, colSpan: index$1.getNumber(this.colSpan, this.colspan), rowSpan: index$1.getNumber(this.rowSpan, this.rowspan), headers: this.headers, abbr: this.abbr }, index.h("slot", { key: 'ce5680819cff5294899f7b79287156ff769241f1' })));
216
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-horizontal-alignment": this.horizontalAlignment, "data-vertical-alignment": this.verticalAlignment, "data-no-text": index$1.getBooleanAsString(this.noText), scope: this.scope, colSpan: index$1.getNumber(this.colSpan, this.colspan), rowSpan: index$1.getNumber(this.rowSpan, this.rowspan), headers: this.headers, abbr: this.abbr }, index.h("slot", { key: '84b51ebb31fe2d7da5c30e82054f26bf25b38962' })));
215
217
  }
216
218
  get rootElement() { return index.getElement(this); }
217
219
  };
@@ -277,10 +279,10 @@ const DBTableRow = class {
277
279
  this.enableAttributePassing(this._ref, "db-table-row");
278
280
  }
279
281
  render() {
280
- var _a;
281
- return (index.h("tr", { key: '35a33e8121f2ba41e8785c1399566365741064e3', class: index$1.cls("db-table-row", this.className), ref: (el) => {
282
+ var _a, _b, _c;
283
+ return (index.h("tr", { key: '2d86cd86cc475e1fc84186fcf2301c5274ab4d5c', class: index$1.cls("db-table-row", this.className), ref: (el) => {
282
284
  this._ref = el;
283
- }, id: this.id, "data-interactive": index$1.getBooleanAsString(this.interactive), "data-sub-header-emphasis": this.subHeaderEmphasis }, this.cells ? ((_a = this.cells) === null || _a === void 0 ? void 0 : _a.map((cell, index$2) => {
285
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-interactive": index$1.getBooleanAsString(this.interactive), "data-sub-header-emphasis": this.subHeaderEmphasis }, this.cells ? ((_c = this.cells) === null || _c === void 0 ? void 0 : _c.map((cell, index$2) => {
284
286
  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;
285
287
  return cell.headerCell ? (index.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 : index$1.uuid()}-table-row-header-cell-${index$2}`, 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 ? (index.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))) : (index.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 : index$1.uuid()}-table-row-data-cell-${index$2}`, 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 ? (index.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)));
286
288
  })) : (index.h("slot", null))));
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C313bRqJ.js');
4
- var constants = require('./constants-bMY2_d8A.js');
5
- var index$1 = require('./index-spuu3sXz.js');
4
+ var constants = require('./constants-BM1EltPT.js');
5
+ var index$1 = require('./index-Df-6pBQf.js');
6
6
 
7
7
  const DBNotification = class {
8
8
  constructor(hostRef) {
@@ -95,13 +95,13 @@ const DBNotification = class {
95
95
  }
96
96
  render() {
97
97
  var _a, _b, _c;
98
- return (index.h("div", { key: '3f6ef4d3d506873a5b4bd15fde4d2c2fbedc9746', class: index$1.cls("db-notification", this.className), ref: (el) => {
98
+ return (index.h("div", { key: '24d232744b6491f7883907495e90db630a3dfa37', class: index$1.cls("db-notification", this.className), ref: (el) => {
99
99
  this._ref = el;
100
100
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: index$1.getNotificationRole({
101
101
  semantic: this.semantic,
102
102
  role: this.role,
103
103
  ariaLive: this.ariaLive,
104
- }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-link-variant": this.linkVariant }, index.h("slot", { key: '869ddc92d88e68d689215add30f1eefbfababc21', name: "image" }), index$1.stringPropVisible(this.headline, this.showHeadline) ? (index.h("header", { "data-area": "head" }, this.headline)) : null, index.h("div", { key: 'f3eb313619e046c8eb3fa7b527470b8145003173', "data-area": "content" }, this.text ? this.text : null, index.h("slot", { key: 'ff2a9c542527cf6da87bace3b77b9477899626ea' })), index$1.stringPropVisible(this.timestamp, this.showTimestamp) ? (index.h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, index.h("slot", { key: '5529bddb13c7a39c5fcf6b9bca844cbe1f16fee3', name: "link" }), index$1.getBoolean(this.closeable, "closeable") ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_CLOSE_BUTTON)) : null));
104
+ }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-link-variant": this.linkVariant }, index.h("slot", { key: '7c75177f9eff5127a8d4c8043c59d94a508a5044', name: "image" }), index$1.stringPropVisible(this.headline, this.showHeadline) ? (index.h("header", { "data-area": "head" }, this.headline)) : null, index.h("div", { key: 'a0e9233a3143354c401f0d12f60ccdb30977736c', "data-area": "content" }, this.text ? this.text : null, index.h("slot", { key: '67f52722658f2894a23fd8f7f0bdc8a6337e8599' })), index$1.stringPropVisible(this.timestamp, this.showTimestamp) ? (index.h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, index.h("slot", { key: '5bc5cc27b0cfd34d470adede98ee929845a21868', name: "link" }), index$1.getBoolean(this.closeable, "closeable") ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_CLOSE_BUTTON)) : null));
105
105
  }
106
106
  get rootElement() { return index.getElement(this); }
107
107
  };