@db-ux/wc-core-components 4.12.1 → 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 (547) hide show
  1. package/CHANGELOG.md +6 -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-k8bCF_aj.js → p-9FBjLlz8.js} +1 -1
  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-CuC4YsIB.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 +13 -13
  137. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  138. package/dist/cjs/db-custom-select.cjs.entry.js +41 -25
  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-SpHkZuLA.js → floating-components-B3bpFI90.js} +141 -108
  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 +37 -20
  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 +1 -1
  215. package/dist/collection/components/divider/divider.js +1 -1
  216. package/dist/collection/components/drawer/drawer.js +51 -77
  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 +141 -108
  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 +11955 -8557
  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 +13 -13
  346. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  347. package/dist/esm/db-custom-select.entry.js +41 -25
  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-C0q9XJSc.js → floating-components-BT3wZY6f.js} +142 -109
  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 +5 -5
  420. package/dist/types/components/drawer/model.d.ts +18 -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 +992 -540
  463. package/dist/web-types.json +3207 -2219
  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-BFeR7jXy.js +0 -1
  477. package/bundle/p-BdL-nI5y.js +0 -1
  478. package/bundle/p-C0q9XJSc.js +0 -1
  479. package/bundle/p-C2w7ILj8.js +0 -1
  480. package/bundle/p-C47AKJPy.js +0 -1
  481. package/bundle/p-C_qYW0Kh.js +0 -1
  482. package/bundle/p-Cn5NdjPW.js +0 -1
  483. package/bundle/p-D6L0n3gO.js +0 -1
  484. package/bundle/p-DJTpgiBy.js +0 -1
  485. package/bundle/p-DTM6Wcbf.js +0 -1
  486. package/bundle/p-DVuZmW_J.js +0 -1
  487. package/bundle/p-DiEfz0o1.js +0 -1
  488. package/bundle/p-gIJnyld5.js +0 -1
  489. package/dist/cjs/db-drawer.cjs.entry.js +0 -225
  490. package/dist/cjs/db-header.cjs.entry.js +0 -145
  491. package/dist/cjs/db-navigation-item.cjs.entry.js +0 -182
  492. package/dist/cjs/navigation-DUTSDY4q.js +0 -138
  493. package/dist/collection/components/brand/index.js +0 -2
  494. package/dist/collection/components/header/index.js +0 -2
  495. package/dist/collection/components/navigation/index.js +0 -2
  496. package/dist/collection/components/navigation-item/index.js +0 -2
  497. package/dist/collection/components/navigation-item/navigation-item.js +0 -577
  498. package/dist/collection/components/page/index.js +0 -2
  499. package/dist/collection/components/page/model.js +0 -2
  500. package/dist/db-ux/p-0758418a.entry.js +0 -1
  501. package/dist/db-ux/p-183c78b7.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-4751361d.entry.js +0 -1
  506. package/dist/db-ux/p-5623ff36.entry.js +0 -1
  507. package/dist/db-ux/p-5706f20a.entry.js +0 -1
  508. package/dist/db-ux/p-6ce4a109.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-87281518.entry.js +0 -1
  512. package/dist/db-ux/p-90e9ec2d.entry.js +0 -1
  513. package/dist/db-ux/p-BdL-nI5y.js +0 -1
  514. package/dist/db-ux/p-BihrW11j.js +0 -1
  515. package/dist/db-ux/p-BtImZ8Nt.js +0 -1
  516. package/dist/db-ux/p-C0q9XJSc.js +0 -1
  517. package/dist/db-ux/p-C_qYW0Kh.js +0 -1
  518. package/dist/db-ux/p-OOIf-5XP.js +0 -1
  519. package/dist/db-ux/p-a07e33e7.entry.js +0 -1
  520. package/dist/db-ux/p-a6f33f3b.entry.js +0 -1
  521. package/dist/db-ux/p-e58fbd4d.entry.js +0 -1
  522. package/dist/db-ux/p-e66aa9d8.entry.js +0 -1
  523. package/dist/db-ux/p-f0b5c785.entry.js +0 -1
  524. package/dist/db-ux/p-f271332c.entry.js +0 -1
  525. package/dist/db-ux/p-f5f73623.entry.js +0 -1
  526. package/dist/db-ux/p-f964d5f5.entry.js +0 -1
  527. package/dist/db-ux/p-fumiz06Y.js +0 -1
  528. package/dist/esm/db-drawer.entry.js +0 -223
  529. package/dist/esm/db-header.entry.js +0 -143
  530. package/dist/esm/db-navigation-item.entry.js +0 -180
  531. package/dist/esm/navigation-Cd7KZ6E2.js +0 -135
  532. package/dist/types/components/brand/index.d.ts +0 -2
  533. package/dist/types/components/brand/model.d.ts +0 -10
  534. package/dist/types/components/header/header.d.ts +0 -40
  535. package/dist/types/components/header/index.d.ts +0 -2
  536. package/dist/types/components/header/model.d.ts +0 -44
  537. package/dist/types/components/navigation/index.d.ts +0 -2
  538. package/dist/types/components/navigation/model.d.ts +0 -5
  539. package/dist/types/components/navigation-item/index.d.ts +0 -2
  540. package/dist/types/components/navigation-item/model.d.ts +0 -39
  541. package/dist/types/components/navigation-item/navigation-item.d.ts +0 -52
  542. package/dist/types/components/page/index.d.ts +0 -2
  543. package/dist/types/components/page/model.d.ts +0 -36
  544. /package/dist/collection/components/{brand → control-panel-brand}/model.js +0 -0
  545. /package/dist/collection/components/{header → control-panel-desktop}/model.js +0 -0
  546. /package/dist/collection/components/{navigation-item → control-panel-flat-icon}/model.js +0 -0
  547. /package/dist/collection/components/{navigation → control-panel-meta}/model.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @db-ux/wc-core-components
2
2
 
3
+ ## 4.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: enable Invoker Commands (`command`- and `commandfor`-HTML-attributes) for DBButton - [see commit 00f50c3](https://github.com/db-ux-design-system/core-web/commit/00f50c3fc4508e62f2e30589c00148c54e2fc852)
8
+
3
9
  ## 4.12.1
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,9 @@
1
+
2
+
3
+ # ControlPanelBrand Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelBrand Documentation Examples</h1>
7
+ <h2>1. Default Control Panel Brand</h2>
8
+ <db-control-panel-brand></db-control-panel-brand>
9
+ ```
@@ -0,0 +1,46 @@
1
+
2
+
3
+ # ControlPanelDesktop Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelDesktop Documentation Examples</h1>
7
+ <h2>1. Default Control Panel Desktop</h2>
8
+ <db-control-panel-desktop
9
+ brand={<DBControlPanelBrand>Application Name</DBControlPanelBrand>}
10
+ >
11
+ <db-control-panel-navigation>
12
+ <db-control-panel-navigation-item icon="x_placeholder">
13
+ <a href="#">Navi-Item 1</a>
14
+ </db-control-panel-navigation-item>
15
+ <db-control-panel-navigation-item
16
+ icon="x_placeholder"
17
+ disabled={true}
18
+ >
19
+ <a href="#">Navi-Item 2</a>
20
+ </db-control-panel-navigation-item>
21
+ </db-control-panel-navigation>
22
+ </db-control-panel-desktop>
23
+ <h2>2. Vertical Orientation</h2>
24
+ <db-control-panel-desktop
25
+ orientation="vertical"
26
+ brand={<DBControlPanelBrand>Application Name</DBControlPanelBrand>}
27
+ >
28
+ <db-control-panel-navigation>
29
+ <db-control-panel-navigation-item icon="x_placeholder">
30
+ <a href="#">Navi-Item 1</a>
31
+ </db-control-panel-navigation-item>
32
+ </db-control-panel-navigation>
33
+ </db-control-panel-desktop>
34
+ <h2>3. Collapsed (expanded=false)</h2>
35
+ <db-control-panel-desktop
36
+ orientation="vertical"
37
+ expanded={false}
38
+ brand={<DBControlPanelBrand>Application Name</DBControlPanelBrand>}
39
+ >
40
+ <db-control-panel-navigation>
41
+ <db-control-panel-navigation-item icon="x_placeholder">
42
+ <a href="#">Navi-Item 1</a>
43
+ </db-control-panel-navigation-item>
44
+ </db-control-panel-navigation>
45
+ </db-control-panel-desktop>
46
+ ```
@@ -0,0 +1,13 @@
1
+
2
+
3
+ # ControlPanelMeta Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelMeta Documentation Examples</h1>
7
+ <h2>1. Default Meta</h2>
8
+ <db-control-panel-meta>
9
+ <db-link href="#">Imprint</db-link>
10
+ <db-link href="#">Help</db-link>
11
+ <db-link href="#">Privacy</db-link>
12
+ </db-control-panel-meta>
13
+ ```
@@ -0,0 +1,37 @@
1
+
2
+
3
+ # ControlPanelMobile Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelMobile Documentation Examples</h1>
7
+ <h2>1. Default Control Panel Mobile (Drawer)</h2>
8
+ <db-control-panel-mobile
9
+ drawerHeaderText="Application Name"
10
+ brand={<DBControlPanelBrand>Application Name</DBControlPanelBrand>}
11
+ >
12
+ <db-control-panel-navigation>
13
+ <db-control-panel-navigation-item icon="x_placeholder">
14
+ <a href="#">Navi-Item 1</a>
15
+ </db-control-panel-navigation-item>
16
+ <db-control-panel-navigation-item
17
+ icon="x_placeholder"
18
+ disabled={true}
19
+ >
20
+ <a href="#">Navi-Item 2</a>
21
+ </db-control-panel-navigation-item>
22
+ </db-control-panel-navigation>
23
+ </db-control-panel-mobile>
24
+ <h2>2. Bottom Position + Flat Icon Variant</h2>
25
+ <db-control-panel-mobile
26
+ position="bottom"
27
+ variant="flat-icon"
28
+ drawerHeaderText="Application Name"
29
+ brand={<DBControlPanelBrand>Application Name</DBControlPanelBrand>}
30
+ >
31
+ <db-control-panel-navigation>
32
+ <db-control-panel-navigation-item icon="x_placeholder">
33
+ <a href="#">Navi-Item 1</a>
34
+ </db-control-panel-navigation-item>
35
+ </db-control-panel-navigation>
36
+ </db-control-panel-mobile>
37
+ ```
@@ -0,0 +1,19 @@
1
+
2
+
3
+ # ControlPanelNavigation Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelNavigation Documentation Examples</h1>
7
+ <h2>1. Default Navigation</h2>
8
+ <db-control-panel-navigation>
9
+ <db-control-panel-navigation-item>
10
+ <a href="#">Navi-Item 1</a>
11
+ </db-control-panel-navigation-item>
12
+ <db-control-panel-navigation-item icon="x_placeholder">
13
+ <a href="#">Navi-Item 2</a>
14
+ </db-control-panel-navigation-item>
15
+ <db-control-panel-navigation-item disabled={true}>
16
+ <a href="#">Navi-Item 3</a>
17
+ </db-control-panel-navigation-item>
18
+ </db-control-panel-navigation>
19
+ ```
@@ -0,0 +1,33 @@
1
+
2
+
3
+ # ControlPanelNavigationItem Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelNavigationItem Documentation Examples</h1>
7
+ <h2>1. Default Navigation Item</h2>
8
+ <db-control-panel-navigation-item>
9
+ Default Navigation Item
10
+ </db-control-panel-navigation-item>
11
+ <h2>2. Active State</h2>
12
+ <db-control-panel-navigation-item active={true}>
13
+ Active Navigation Item
14
+ </db-control-panel-navigation-item>
15
+ <h2>3. Disabled State</h2>
16
+ <db-control-panel-navigation-item disabled={true}>
17
+ Disabled Navigation Item
18
+ </db-control-panel-navigation-item>
19
+ <h2>4. Sub-Navigation</h2>
20
+ <db-control-panel-navigation-item
21
+ subNavigation={<div>Sub Navigation Content</div>}
22
+ >
23
+ Navigation Item with Sub-Navigation
24
+ </db-control-panel-navigation-item>
25
+ <h2>5. Icon Support</h2>
26
+ <db-control-panel-navigation-item icon="user">
27
+ Navigation Item with Icon
28
+ </db-control-panel-navigation-item>
29
+ <h2>6. Custom Class</h2>
30
+ <db-control-panel-navigation-item class="custom-class">
31
+ Navigation Item with Custom Class
32
+ </db-control-panel-navigation-item>
33
+ ```
@@ -0,0 +1,13 @@
1
+
2
+
3
+ # ControlPanelPrimaryActions Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelPrimaryActions Documentation Examples</h1>
7
+ <h2>1. Default Primary Actions</h2>
8
+ <db-control-panel-primary-actions>
9
+ <db-button icon="magnifying_glass" variant="ghost" noText={true}>
10
+ Search
11
+ </db-button>
12
+ </db-control-panel-primary-actions>
13
+ ```
@@ -0,0 +1,19 @@
1
+
2
+
3
+ # ControlPanelSecondaryActions Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBControlPanelSecondaryActions Documentation Examples</h1>
7
+ <h2>1. Default Secondary Actions</h2>
8
+ <db-control-panel-secondary-actions>
9
+ <db-button icon="x_placeholder" variant="ghost" noText={true}>
10
+ Profile
11
+ </db-button>
12
+ <db-button icon="x_placeholder" variant="ghost" noText={true}>
13
+ Notification
14
+ </db-button>
15
+ <db-button icon="x_placeholder" variant="ghost" noText={true}>
16
+ Help
17
+ </db-button>
18
+ </db-control-panel-secondary-actions>
19
+ ```
package/agent/Drawer.md CHANGED
@@ -1,11 +1,3 @@
1
- ## CSS Properties
2
-
3
- | CSS Variable | Default | CSS Property | Description | Example |
4
- | --- | --- | --- | --- | --- |
5
- | `--db-drawer-max-height` | `calc(100% - #{variables.$db-spacing-fixed-xl})` | max-block-size | Sets the maximum height of the drawer | — |
6
- | `--db-drawer-header-padding-block-end` | `#{map.get($spacing, "block")}` | padding-block-end | Controls the bottom padding inside the drawer header | — |
7
- | `--db-drawer-content-padding-inline` | `#{map.get($spacing, "inline")}` | padding-inline | Controls left/right padding inside the drawer content area | — |
8
- | `--db-drawer-max-width` | `calc(100% - #{variables.$db-spacing-fixed-xl})` | max-inline-size | Sets the maximum width of the drawer and some default values for the drawer | <pre>css - Wide drawer<br>.db-drawer-wide {<br>--db-drawer-max-width: 800px;<br>}<br>&lt;div class="db-drawer db-drawer-wide"&gt;<br>&lt;!-- wide drawer --&gt;<br>&lt;/div&gt;<br></pre> |
9
1
 
10
2
 
11
3
  # Drawer Examples (stencil)
package/agent/Shell.md ADDED
@@ -0,0 +1,24 @@
1
+
2
+
3
+ # Shell Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBShell Documentation Examples</h1>
7
+ <h2>1. Full Shell (Desktop + Mobile Control Panel)</h2>
8
+ <db-shell>
9
+ <db-control-panel-desktop slot="controlPanelDesktop"><db-control-panel-brand slot="brand" data-logo="db-systel"></db-control-panel-brand><db-control-panel-meta slot="metaNavigation"><db-link href="#">Imprint</db-link><db-link href="#">Help</db-link></db-control-panel-meta><db-control-panel-primary-actions slot="primaryActions"><db-button icon="magnifying_glass" variant="ghost" noText>Search</db-button></db-control-panel-primary-actions><db-control-panel-secondary-actions slot="secondaryActions"><db-button icon="x_placeholder" variant="ghost" noText>Profile</db-button><db-button icon="x_placeholder" variant="ghost" noText>Notification</db-button><db-button icon="x_placeholder" variant="ghost" noText>Help</db-button></db-control-panel-secondary-actions><db-control-panel-navigation><db-control-panel-navigation-item icon="x_placeholder"><a href="#">Navi-Item 1</a></db-control-panel-navigation-item><db-control-panel-navigation-item icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></db-control-panel-navigation-item></db-control-panel-navigation></db-control-panel-desktop>
10
+ <db-control-panel-mobile slot="controlPanelMobile" drawerHeaderText="Application Name"><db-control-panel-brand slot="brand" data-logo="db-systel"></db-control-panel-brand><db-control-panel-meta slot="metaNavigation"><db-link href="#">Imprint</db-link><db-link href="#">Help</db-link></db-control-panel-meta><db-control-panel-primary-actions slot="primaryActions"><db-button icon="magnifying_glass" variant="ghost" noText>Search</db-button></db-control-panel-primary-actions><db-control-panel-secondary-actions slot="secondaryActions"><db-button icon="x_placeholder" variant="ghost" noText>Profile</db-button><db-button icon="x_placeholder" variant="ghost" noText>Notification</db-button><db-button icon="x_placeholder" variant="ghost" noText>Help</db-button></db-control-panel-secondary-actions><db-control-panel-navigation><db-control-panel-navigation-item icon="x_placeholder"><a href="#">Navi-Item 1</a></db-control-panel-navigation-item><db-control-panel-navigation-item icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></db-control-panel-navigation-item></db-control-panel-navigation></db-control-panel-mobile>
11
+
12
+ <db-control-panel-navigation>
13
+ <db-control-panel-navigation-item icon="x_placeholder">
14
+ <a href="#">Navi-Item 1</a>
15
+ </db-control-panel-navigation-item>
16
+ <db-control-panel-navigation-item
17
+ icon="x_placeholder"
18
+ disabled={true}
19
+ >
20
+ <a href="#">Navi-Item 2</a>
21
+ </db-control-panel-navigation-item>
22
+ </db-control-panel-navigation>
23
+ </db-shell>
24
+ ```
@@ -0,0 +1,6 @@
1
+ ## CSS Properties
2
+
3
+ | CSS Variable | Default | CSS Property | Description | Example |
4
+ | --- | --- | --- | --- | --- |
5
+
6
+
@@ -1,5 +1,5 @@
1
1
  - Use "@db-ux/wc-core-components" as import for components:
2
- - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
2
+ - use for `DBShellSubNavigation` or `ShellSubNavigation` the file __agent-path__/agent/ShellSubNavigation.md
3
3
  - use for `DBTooltip` or `Tooltip` the file __agent-path__/agent/Tooltip.md
4
4
  - use for `DBTextarea` or `Textarea` the file __agent-path__/agent/Textarea.md
5
5
  - use for `DBTag` or `Tag` the file __agent-path__/agent/Tag.md
@@ -7,25 +7,30 @@
7
7
  - use for `DBTabItem` or `TabItem` the file __agent-path__/agent/TabItem.md
8
8
  - use for `DBSwitch` or `Switch` the file __agent-path__/agent/Switch.md
9
9
  - use for `DBStack` or `Stack` the file __agent-path__/agent/Stack.md
10
+ - use for `DBShell` or `Shell` the file __agent-path__/agent/Shell.md
10
11
  - use for `DBSelect` or `Select` the file __agent-path__/agent/Select.md
11
12
  - use for `DBSection` or `Section` the file __agent-path__/agent/Section.md
12
13
  - use for `DBRadio` or `Radio` the file __agent-path__/agent/Radio.md
13
14
  - use for `DBPopover` or `Popover` the file __agent-path__/agent/Popover.md
14
- - use for `DBPage` or `Page` the file __agent-path__/agent/Page.md
15
15
  - use for `DBNotification` or `Notification` the file __agent-path__/agent/Notification.md
16
- - use for `DBNavigationItem` or `NavigationItem` the file __agent-path__/agent/NavigationItem.md
17
- - use for `DBNavigation` or `Navigation` the file __agent-path__/agent/Navigation.md
18
16
  - use for `DBLink` or `Link` the file __agent-path__/agent/Link.md
19
17
  - use for `DBInput` or `Input` the file __agent-path__/agent/Input.md
20
18
  - use for `DBInfotext` or `Infotext` the file __agent-path__/agent/Infotext.md
21
19
  - use for `DBIcon` or `Icon` the file __agent-path__/agent/Icon.md
22
- - use for `DBHeader` or `Header` the file __agent-path__/agent/Header.md
20
+ - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
23
21
  - use for `DBDivider` or `Divider` the file __agent-path__/agent/Divider.md
24
22
  - use for `DBCustomSelect` or `CustomSelect` the file __agent-path__/agent/CustomSelect.md
23
+ - use for `DBControlPanelSecondaryActions` or `ControlPanelSecondaryActions` the file __agent-path__/agent/ControlPanelSecondaryActions.md
24
+ - use for `DBControlPanelPrimaryActions` or `ControlPanelPrimaryActions` the file __agent-path__/agent/ControlPanelPrimaryActions.md
25
+ - use for `DBControlPanelNavigationItem` or `ControlPanelNavigationItem` the file __agent-path__/agent/ControlPanelNavigationItem.md
26
+ - use for `DBControlPanelNavigation` or `ControlPanelNavigation` the file __agent-path__/agent/ControlPanelNavigation.md
27
+ - use for `DBControlPanelMobile` or `ControlPanelMobile` the file __agent-path__/agent/ControlPanelMobile.md
28
+ - use for `DBControlPanelMeta` or `ControlPanelMeta` the file __agent-path__/agent/ControlPanelMeta.md
29
+ - use for `DBControlPanelDesktop` or `ControlPanelDesktop` the file __agent-path__/agent/ControlPanelDesktop.md
30
+ - use for `DBControlPanelBrand` or `ControlPanelBrand` the file __agent-path__/agent/ControlPanelBrand.md
25
31
  - use for `DBCheckbox` or `Checkbox` the file __agent-path__/agent/Checkbox.md
26
32
  - use for `DBCard` or `Card` the file __agent-path__/agent/Card.md
27
33
  - use for `DBButton` or `Button` the file __agent-path__/agent/Button.md
28
- - use for `DBBrand` or `Brand` the file __agent-path__/agent/Brand.md
29
34
  - use for `DBBadge` or `Badge` the file __agent-path__/agent/Badge.md
30
35
  - use for `DBAccordionItem` or `AccordionItem` the file __agent-path__/agent/AccordionItem.md
31
36
  - use for `DBAccordion` or `Accordion` the file __agent-path__/agent/Accordion.md
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-fu0VCCbW.js";const p=o,r=s;export{p as DbAccordionItem,r as defineCustomElement}
1
+ import{D as o,d as s}from"./p-mf371GRo.js";const m=o,p=s;export{m as DbAccordionItem,p as defineCustomElement}
@@ -1 +1 @@
1
- import{y as t,t as i,H as s,u as e,z as n,d as a}from"./p-CYYSsu3p.js";import{d as h}from"./p-fu0VCCbW.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this._name="",this.initialized=!1,this._initOpenIndexDone=!1,this.observer=void 0}convertItems(){try{return"string"==typeof this.items?JSON.parse(this.items):this.items}catch(t){console.error(t)}return[]}setupObserver(t){if(!t)return;const i=t.closest("db-accordion");i&&!this.observer&&(this.observer=new MutationObserver((i=>{i.some((t=>{var i;const s=t.target.attributes.getNamedItem(null!==(i=t.attributeName)&&void 0!==i?i:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-accordion")})),this.observer.observe(i,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const n=i.item(e);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))n.value?t.setAttribute(n.name,n.value):t.removeAttribute(n.name),s.removeAttribute(n.name);else if(n&&["style"].includes(n.name))t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"class"===n.name){const i=n.value.includes("hydrated"),e=n.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(n.name,`${a||""}${e?" "+e:""}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}watch0Fn(){this.initialized&&this._ref&&("single"===this.behavior?this.name?this._name!==this.name&&(this._name=this.name):this._name="accordion-"+e():this._name="")}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._ref){const i=this._ref.getElementsByTagName("details");if(i)for(const s of Array.from(i))""===this._name?s.removeAttribute("name"):s.name=null!==(t=this._name)&&void 0!==t?t:""}}watch1(){this.watch1Fn()}watch2Fn(){if(this._ref&&this._initOpenIndexDone){if(this.initOpenIndex&&this.initOpenIndex.length>0){const t=this._ref.getElementsByTagName("details");if(t){const i="single"===this.behavior&&this.initOpenIndex.length>1?[this.initOpenIndex[0]]:this.initOpenIndex;Array.from(t).forEach(((t,s)=>{(null==i?void 0:i.includes(s))&&(t.open=!0)}))}}this._initOpenIndexDone=!1}}watch2(){this.watch2Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-accordion"),(()=>{this.initialized=!0,this._initOpenIndexDone=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,i,s;return n("ul",{key:"f98dfda4df392afc979727a1bbc859f9bd7aab97",class:a("db-accordion",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-variant":this.variant},this.items?null:n("slot",null),this.items?null===(s=this.convertItems())||void 0===s?void 0:s.map(((t,i)=>n("db-accordion-item",{key:"accordion-item-"+i,headlinePlain:t.headlinePlain,disabled:t.disabled,text:t.text}))):null)}get rootElement(){return this}static get watchers(){return{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}}},[260,"db-accordion",{name:[1],behavior:[1],initOpenIndex:[16],items:[1],id:[1],propOverrides:[16],className:[1,"classname"],variant:[1],_name:[32],initialized:[32],_initOpenIndexDone:[32],observer:[32]},void 0,{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}]),o=c,d=function(){"undefined"!=typeof customElements&&["db-accordion","db-accordion-item"].forEach((t=>{switch(t){case"db-accordion":customElements.get(i(t))||customElements.define(i(t),c);break;case"db-accordion-item":customElements.get(i(t))||h()}}))};export{o as DbAccordion,d as defineCustomElement}
1
+ import{z as t,t as i,H as s,u as e,A as n,d as a}from"./p-DEicAzan.js";import{d as h}from"./p-mf371GRo.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this._name="",this.initialized=!1,this._initOpenIndexDone=!1,this.observer=void 0}convertItems(){try{return"string"==typeof this.items?JSON.parse(this.items):this.items}catch(t){console.error(t)}return[]}setupObserver(t){if(!t)return;const i=t.closest("db-accordion");i&&!this.observer&&(this.observer=new MutationObserver((i=>{i.some((t=>{var i;const s=t.target.attributes.getNamedItem(null!==(i=t.attributeName)&&void 0!==i?i:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-accordion")})),this.observer.observe(i,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const n=i.item(e);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))n.value?t.setAttribute(n.name,n.value):t.removeAttribute(n.name),s.removeAttribute(n.name);else if(n&&["style"].includes(n.name))t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"class"===n.name){const i=n.value.includes("hydrated"),e=n.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(n.name,`${a||""}${e?" "+e:""}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}watch0Fn(){this.initialized&&this._ref&&("single"===this.behavior?this.name?this._name!==this.name&&(this._name=this.name):this._name="accordion-"+e():this._name="")}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._ref){const i=this._ref.getElementsByTagName("details");if(i)for(const s of Array.from(i))""===this._name?s.removeAttribute("name"):s.name=null!==(t=this._name)&&void 0!==t?t:""}}watch1(){this.watch1Fn()}watch2Fn(){if(this._ref&&this._initOpenIndexDone){if(this.initOpenIndex&&this.initOpenIndex.length>0){const t=this._ref.getElementsByTagName("details");if(t){const i="single"===this.behavior&&this.initOpenIndex.length>1?[this.initOpenIndex[0]]:this.initOpenIndex;Array.from(t).forEach(((t,s)=>{(null==i?void 0:i.includes(s))&&(t.open=!0)}))}}this._initOpenIndexDone=!1}}watch2(){this.watch2Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-accordion"),(()=>{this.initialized=!0,this._initOpenIndexDone=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,i,s;return n("ul",{key:"d996789030a6c8929616381063586d57f4d08a01",class:a("db-accordion",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-variant":this.variant},this.items?null:n("slot",null),this.items?null===(s=this.convertItems())||void 0===s?void 0:s.map(((t,i)=>n("db-accordion-item",{key:"accordion-item-"+i,headlinePlain:t.headlinePlain,disabled:t.disabled,text:t.text}))):null)}get rootElement(){return this}static get watchers(){return{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}}},[260,"db-accordion",{name:[1],behavior:[1],initOpenIndex:[16],items:[1],id:[1],propOverrides:[16],className:[1,"classname"],variant:[1],_name:[32],initialized:[32],_initOpenIndexDone:[32],observer:[32]},void 0,{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}]),o=c,d=function(){"undefined"!=typeof customElements&&["db-accordion","db-accordion-item"].forEach((t=>{switch(t){case"db-accordion":customElements.get(i(t))||customElements.define(i(t),c);break;case"db-accordion-item":customElements.get(i(t))||h()}}))};export{o as DbAccordion,d as defineCustomElement}
@@ -1 +1 @@
1
- import{y as t,H as e,z as s,j as i,d as a,t as d}from"./p-CYYSsu3p.js";import{a as n}from"./p-BdL-nI5y.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.initialized=!1,this.observer=void 0}setupObserver(t){if(!t)return;const e=t.closest("db-badge");e&&!this.observer&&(this.observer=new MutationObserver((e=>{e.some((t=>{var e;const s=t.target.attributes.getNamedItem(null!==(e=t.attributeName)&&void 0!==e?e:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-badge")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let i=0;i<e.length;i++){const a=e.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const e=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d||""}${i?" "+i:""}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var t;if(this._ref&&this.initialized&&(null===(t=this.placement)||void 0===t?void 0:t.startsWith("corner"))){let t=this._ref.parentElement;t&&t.localName.includes("badge")&&(t=t.parentElement),t&&(t.dataset.hasBadge="true")}}watch0(){this.watch0Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-badge"),(()=>{this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,e,d,r;return s("span",{key:"35ba74d807e8b24b8b657e2ab744ffdacc543ddb",class:a("db-badge",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id,"data-semantic":this.semantic,"data-size":this.size,"data-emphasis":this.emphasis,"data-placement":this.placement,"data-wrap":i(this.wrap,"wrap"),"data-label":(null===(d=this.placement)||void 0===d?void 0:d.startsWith("corner"))&&(null!==(r=this.label)&&void 0!==r?r:n)},this.text?this.text:null,s("slot",{key:"e6941e0d7594f49fc7ab5e8e23ad85ed3dc15510"}))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}},[260,"db-badge",{placement:[1],id:[1],propOverrides:[16],className:[1,"classname"],semantic:[1],size:[1],emphasis:[1],wrap:[8],label:[1],text:[1],initialized:[32],observer:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}]}]),l=r,o=function(){"undefined"!=typeof customElements&&["db-badge"].forEach((t=>{"db-badge"===t&&(customElements.get(d(t))||customElements.define(d(t),r))}))};export{l as DbBadge,o as defineCustomElement}
1
+ import{z as t,H as s,A as e,k as i,d as a,t as d}from"./p-DEicAzan.js";import{a as n}from"./p-COv1iCFP.js";const r=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.initialized=!1,this.observer=void 0}setupObserver(t){if(!t)return;const s=t.closest("db-badge");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const e=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-badge")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const a=s.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),e.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d||""}${i?" "+i:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}watch0Fn(){var t;if(this._ref&&this.initialized&&(null===(t=this.placement)||void 0===t?void 0:t.startsWith("corner"))){let t=this._ref.parentElement;t&&t.localName.includes("badge")&&(t=t.parentElement),t&&(t.dataset.hasBadge="true")}}watch0(){this.watch0Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-badge"),(()=>{this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s,d,r;return e("span",{key:"d2f49451ff0969570ebf5bfdf0d38bd24fdb74f5",class:a("db-badge",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-semantic":this.semantic,"data-size":this.size,"data-emphasis":this.emphasis,"data-placement":this.placement,"data-wrap":i(this.wrap,"wrap"),"data-label":(null===(d=this.placement)||void 0===d?void 0:d.startsWith("corner"))&&(null!==(r=this.label)&&void 0!==r?r:n)},this.text?this.text:null,e("slot",{key:"f8fd8178b7655c825885c010d884c00056068572"}))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}},[260,"db-badge",{placement:[1],id:[1],propOverrides:[16],className:[1,"classname"],semantic:[1],size:[1],emphasis:[1],wrap:[8],label:[1],text:[1],initialized:[32],observer:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}]}]),l=r,o=function(){"undefined"!=typeof customElements&&["db-badge"].forEach((t=>{"db-badge"===t&&(customElements.get(d(t))||customElements.define(d(t),r))}))};export{l as DbBadge,o as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-DVuZmW_J.js";const m=o,p=s;export{m as DbButton,p as defineCustomElement}
1
+ import{D as o,d as s}from"./p-C3NPZvho.js";const p=o,r=s;export{p as DbButton,r as defineCustomElement}
package/bundle/db-card.js CHANGED
@@ -1 +1 @@
1
- import{y as t,H as e,A as s,z as i,d as a,t as d}from"./p-CYYSsu3p.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=s(this,"click"),this.observer=void 0}handleClick(t){this.click&&this.click.emit(t)}setupObserver(t){if(!t)return;const e=t.closest("db-card");e&&!this.observer&&(this.observer=new MutationObserver((e=>{e.some((t=>{var e;const s=t.target.attributes.getNamedItem(null!==(e=t.attributeName)&&void 0!==e?e:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-card")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let i=0;i<e.length;i++){const a=e.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const e=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d||""}${i?" "+i:""}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-card"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,e;return i("div",{key:"239a6339e8f5764403ced3424b1b8c1b0da0bf41",class:a("db-card",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id,"data-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:t=>this.handleClick(t)},i("slot",{key:"8b9970f8e6300a4feddc2de934ddd3ba4cab11ad"}))}get rootElement(){return this}},[260,"db-card",{id:[1],propOverrides:[16],className:[1,"classname"],behavior:[1],elevationLevel:[1,"elevation-level"],spacing:[1],observer:[32]}]),o=n,r=function(){"undefined"!=typeof customElements&&["db-card"].forEach((t=>{"db-card"===t&&(customElements.get(d(t))||customElements.define(d(t),n))}))};export{o as DbCard,r as defineCustomElement}
1
+ import{z as t,H as e,B as s,A as i,d as a,t as d}from"./p-DEicAzan.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=s(this,"click"),this.observer=void 0}handleClick(t){this.click&&this.click.emit(t)}setupObserver(t){if(!t)return;const e=t.closest("db-card");e&&!this.observer&&(this.observer=new MutationObserver((e=>{e.some((t=>{var e;const s=t.target.attributes.getNamedItem(null!==(e=t.attributeName)&&void 0!==e?e:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-card")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let i=0;i<e.length;i++){const a=e.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const e=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d||""}${i?" "+i:""}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-card"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,e;return i("div",{key:"c8b59aa078aea8911304df37d49ce773e037e580",class:a("db-card",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id,"data-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:t=>this.handleClick(t)},i("slot",{key:"fb9a79f1372c9fde1eb98d049a768db70be370b3"}))}get rootElement(){return this}},[260,"db-card",{id:[1],propOverrides:[16],className:[1,"classname"],behavior:[1],elevationLevel:[1,"elevation-level"],spacing:[1],observer:[32]}]),o=n,r=function(){"undefined"!=typeof customElements&&["db-card"].forEach((t=>{"db-card"===t&&(customElements.get(d(t))||customElements.define(d(t),n))}))};export{o as DbCard,r as defineCustomElement}
@@ -1 +1 @@
1
- import{y as i,H as t,A as s,h as e,f as h,p as a,u as d,k as c,z as l,o as n,d as o,t as r}from"./p-CYYSsu3p.js";import{l as v,f as u,g as b,h as f,k as w}from"./p-BdL-nI5y.js";import{a as m}from"./p-D6L0n3gO.js";import{d as k}from"./p-BpO8Ok-r.js";const p=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.change=s(this,"change"),this.blur=s(this,"blur"),this.focus=s(this,"focus"),this.initialized=!1,this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._descByIds=void 0,this._voiceOverFallback="",this.abortController=void 0,this.observer=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,d;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&this.required?(this._descByIds=this._validMessageId,e()&&(this._voiceOverFallback=null!==(d=this.validMessage)&&void 0!==d?d:w,h((()=>this._voiceOverFallback=""),1e3))):this._descByIds=a(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||v,e()&&(this._voiceOverFallback=this._invalidMessage,h((()=>this._voiceOverFallback=""),1e3)))}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}resetIds(){var i,t,s;const e=null!==(s=null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&void 0!==s?s:"checkbox-"+d();this._id=e,this._messageId=e+u,this._validMessageId=e+b,this._invalidMessageId=e+f}setupObserver(i){if(!i)return;const t=i.closest("db-checkbox");t&&!this.observer&&(this.observer=new MutationObserver((t=>{t.some((i=>{var t;const s=i.target.attributes.getNamedItem(null!==(t=i.attributeName)&&void 0!==t?t:"");return(null==s?void 0:s.value)!==i.oldValue}))&&this.enableAttributePassing(i,"db-checkbox")})),this.observer.observe(t,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let e=0;e<t.length;e++){const h=t.item(e);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))h.value?i.setAttribute(h.name,h.value):i.removeAttribute(h.name),s.removeAttribute(h.name);else if(h&&["style"].includes(h.name))i.setAttribute(h.name,h.value),s.removeAttribute(h.name);else if(h&&"class"===h.name){const t=h.value.includes("hydrated"),e=h.value.replace("hydrated","").trim(),a=i.getAttribute("class");i.setAttribute(h.name,`${a||""}${e?" "+e:""}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}watch0Fn(){var i,t;(null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||v}watch1(){this.watch1Fn()}watch2Fn(){if(this._id){const i=this._id+u;this._messageId=i,this._validMessageId=this._id+b,this._invalidMessageId=this._id+f,a(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){this._ref&&void 0!==this.indeterminate&&(this._ref.indeterminate=!!c(this.indeterminate))}watch3(){this.watch3Fn()}watch4Fn(){this.initialized&&this._ref&&(null!=this.checked&&(this._ref.checked=!!c(this.checked)),this.initialized=!1)}watch4(){this.watch4Fn()}watch5Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),m(this._ref,{checked:this.checked,defaultChecked:i},(i=>{this.handleChange(i,!0)}),t.signal)}}watch5(){this.watch5Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-checkbox"),(()=>{this.initialized=!0,this.resetIds(),this._invalidMessage=this.invalidMessage||v})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn(),this.watch5Fn()}disconnectedCallback(){var i,t;null===(i=this.abortController)||void 0===i||i.abort(),null===(t=this.observer)||void 0===t||t.disconnect()}render(){var i;return l("div",{key:"b386e9507944ca665310bd874fdee124af12f071",class:o("db-checkbox",this.className),"data-size":this.size,"data-hide-asterisk":n(this.showRequiredAsterisk),"data-hide-label":n(this.showLabel)},l("label",{key:"d6963dfdb59a00f027231babd6d985681c331b99",htmlFor:this._id},l("input",{key:"81848aef05a7288c4ae200f48be6f8614e68607f",type:"checkbox","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},id:this._id,name:this.name,checked:c(this.checked,"checked"),disabled:c(this.disabled,"disabled"),value:this.value,required:c(this.required,"required"),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(i=this.ariaDescribedBy)&&void 0!==i?i:this._descByIds}),this.label?this.label:null,l("slot",{key:"433ec6a708da3f342f8fc745ddefbdc9c15d8b9a"})),a(this.message,this.showMessage)?l("db-infotext",{size:"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?l("db-infotext",{size:"small",semantic:"successful",id:this._validMessageId},this.validMessage||w):null,l("db-infotext",{key:"4295a01b6f8f0a9d78f337dac875f53c45ddefa6",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),l("span",{key:"85e87a85df4ca25e535cf0c890ba943f5cfa978b","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch3:0},{watch4:0},{watch5:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch3:0},{watch4:0}],indeterminate:[{watch3:0}],checked:[{watch4:0}]}}},[260,"db-checkbox",{invalidMessage:[1,"invalid-message"],id:[1],propOverrides:[16],message:[1],showMessage:[8,"show-message"],indeterminate:[8],checked:[8],validMessage:[1,"valid-message"],validation:[1],required:[8],className:[1,"classname"],size:[1],showRequiredAsterisk:[8,"show-required-asterisk"],showLabel:[8,"show-label"],name:[1],disabled:[8],value:[8],ariaDescribedBy:[1,"aria-described-by"],label:[1],messageIcon:[1,"message-icon"],initialized:[32],_id:[32],_messageId:[32],_validMessageId:[32],_invalidMessageId:[32],_invalidMessage:[32],_descByIds:[32],_voiceOverFallback:[32],abortController:[32],observer:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch3:0},{watch4:0},{watch5:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch3:0},{watch4:0}],indeterminate:[{watch3:0}],checked:[{watch4:0}]}]),g=p,y=function(){"undefined"!=typeof customElements&&["db-checkbox","db-infotext"].forEach((i=>{switch(i){case"db-checkbox":customElements.get(r(i))||customElements.define(r(i),p);break;case"db-infotext":customElements.get(r(i))||k()}}))};export{g as DbCheckbox,y as defineCustomElement}
1
+ import{z as i,H as t,B as s,h as e,f as h,q as a,u as d,l as c,A as l,p as n,d as o,t as r}from"./p-DEicAzan.js";import{l as v,f as u,g as b,h as w,k as f}from"./p-COv1iCFP.js";import{a as m}from"./p-DAr8BCe0.js";import{d as k}from"./p-DTmum76Y.js";const p=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.change=s(this,"change"),this.blur=s(this,"blur"),this.focus=s(this,"focus"),this.initialized=!1,this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._descByIds=void 0,this._voiceOverFallback="",this.abortController=void 0,this.observer=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,d;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&this.required?(this._descByIds=this._validMessageId,e()&&(this._voiceOverFallback=null!==(d=this.validMessage)&&void 0!==d?d:f,h((()=>this._voiceOverFallback=""),1e3))):this._descByIds=a(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||v,e()&&(this._voiceOverFallback=this._invalidMessage,h((()=>this._voiceOverFallback=""),1e3)))}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}resetIds(){var i,t,s;const e=null!==(s=null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&void 0!==s?s:"checkbox-"+d();this._id=e,this._messageId=e+u,this._validMessageId=e+b,this._invalidMessageId=e+w}setupObserver(i){if(!i)return;const t=i.closest("db-checkbox");t&&!this.observer&&(this.observer=new MutationObserver((t=>{t.some((i=>{var t;const s=i.target.attributes.getNamedItem(null!==(t=i.attributeName)&&void 0!==t?t:"");return(null==s?void 0:s.value)!==i.oldValue}))&&this.enableAttributePassing(i,"db-checkbox")})),this.observer.observe(t,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let e=0;e<t.length;e++){const h=t.item(e);if(h&&"data-density"!==h.name&&(h.name.startsWith("data-")||h.name.startsWith("aria-")))h.value?i.setAttribute(h.name,h.value):i.removeAttribute(h.name),s.removeAttribute(h.name);else if(h&&["style"].includes(h.name))i.setAttribute(h.name,h.value),s.removeAttribute(h.name);else if(h&&"class"===h.name){const t=h.value.includes("hydrated"),e=h.value.replace("hydrated","").trim(),a=i.getAttribute("class");i.setAttribute(h.name,`${a||""}${e?" "+e:""}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}watch0Fn(){var i,t;(null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||v}watch1(){this.watch1Fn()}watch2Fn(){if(this._id){const i=this._id+u;this._messageId=i,this._validMessageId=this._id+b,this._invalidMessageId=this._id+w,a(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){this._ref&&void 0!==this.indeterminate&&(this._ref.indeterminate=!!c(this.indeterminate))}watch3(){this.watch3Fn()}watch4Fn(){this.initialized&&this._ref&&(null!=this.checked&&(this._ref.checked=!!c(this.checked)),this.initialized=!1)}watch4(){this.watch4Fn()}watch5Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),m(this._ref,{checked:this.checked,defaultChecked:i},(i=>{this.handleChange(i,!0)}),t.signal)}}watch5(){this.watch5Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-checkbox"),(()=>{this.initialized=!0,this.resetIds(),this._invalidMessage=this.invalidMessage||v})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn(),this.watch5Fn()}disconnectedCallback(){var i,t;null===(i=this.abortController)||void 0===i||i.abort(),null===(t=this.observer)||void 0===t||t.disconnect()}render(){var i;return l("div",{key:"130503bffd4d94f77a085f02d655dbbcb2fc7772",class:o("db-checkbox",this.className),"data-size":this.size,"data-hide-asterisk":n(this.showRequiredAsterisk),"data-hide-label":n(this.showLabel)},l("label",{key:"f38874a7e11630dd21abe1c8c1f4fa8b65116550",htmlFor:this._id},l("input",{key:"49fa26610cfadcb064cb11e2b7fe97cae7cd93ae",type:"checkbox","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},id:this._id,name:this.name,checked:c(this.checked,"checked"),disabled:c(this.disabled,"disabled"),value:this.value,required:c(this.required,"required"),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(i=this.ariaDescribedBy)&&void 0!==i?i:this._descByIds}),this.label?this.label:null,l("slot",{key:"2119a959da0c591beb6ab2ed1909482943699e6e"})),a(this.message,this.showMessage)?l("db-infotext",{size:"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?l("db-infotext",{size:"small",semantic:"successful",id:this._validMessageId},this.validMessage||f):null,l("db-infotext",{key:"aa579c03ce1cb3049c46bd454b671c74ec12f17a",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),l("span",{key:"076ea23eb8d662c3ba254cea5c229831dab390bd","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch3:0},{watch4:0},{watch5:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch3:0},{watch4:0}],indeterminate:[{watch3:0}],checked:[{watch4:0}]}}},[260,"db-checkbox",{invalidMessage:[1,"invalid-message"],id:[1],propOverrides:[16],message:[1],showMessage:[8,"show-message"],indeterminate:[8],checked:[8],validMessage:[1,"valid-message"],validation:[1],required:[8],className:[1,"classname"],size:[1],showRequiredAsterisk:[8,"show-required-asterisk"],showLabel:[8,"show-label"],name:[1],disabled:[8],value:[8],ariaDescribedBy:[1,"aria-described-by"],label:[1],messageIcon:[1,"message-icon"],initialized:[32],_id:[32],_messageId:[32],_validMessageId:[32],_invalidMessageId:[32],_invalidMessage:[32],_descByIds:[32],_voiceOverFallback:[32],abortController:[32],observer:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch3:0},{watch4:0},{watch5:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch3:0},{watch4:0}],indeterminate:[{watch3:0}],checked:[{watch4:0}]}]),g=p,y=function(){"undefined"!=typeof customElements&&["db-checkbox","db-infotext"].forEach((i=>{switch(i){case"db-checkbox":customElements.get(r(i))||customElements.define(r(i),p);break;case"db-infotext":customElements.get(r(i))||k()}}))};export{g as DbCheckbox,y as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface DbControlPanelBrand extends Components.DbControlPanelBrand, HTMLElement {}
4
+ export const DbControlPanelBrand: {
5
+ prototype: DbControlPanelBrand;
6
+ new (): DbControlPanelBrand;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{z as t,H as e,A as s,d as n,t as a}from"./p-DEicAzan.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.observer=void 0}setupObserver(t){if(!t)return;const e=t.closest("db-control-panel-brand");e&&!this.observer&&(this.observer=new MutationObserver((e=>{e.some((t=>{var e;const s=t.target.attributes.getNamedItem(null!==(e=t.attributeName)&&void 0!==e?e:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-control-panel-brand")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let n=0;n<e.length;n++){const a=e.item(n);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const e=a.value.includes("hydrated"),n=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d||""}${n?" "+n:""}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-control-panel-brand"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,e;return s("div",{key:"bcc1befdd6504c1067a3a34b91b3ffcccf4a45b7",class:n("db-control-panel-brand",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id},s("slot",{key:"f02755f7e5008542816a537235aeb3c83d5e2da6"}))}get rootElement(){return this}},[260,"db-control-panel-brand",{id:[1],propOverrides:[16],className:[1,"classname"],observer:[32]}]),o=d,i=function(){"undefined"!=typeof customElements&&["db-control-panel-brand"].forEach((t=>{"db-control-panel-brand"===t&&(customElements.get(a(t))||customElements.define(a(t),d))}))};export{o as DbControlPanelBrand,i as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface DbControlPanelDesktop extends Components.DbControlPanelDesktop, HTMLElement {}
4
+ export const DbControlPanelDesktop: {
5
+ prototype: DbControlPanelDesktop;
6
+ new (): DbControlPanelDesktop;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{z as t,H as e,u as a,l as s,A as o,k as d,d as i,t as n}from"./p-DEicAzan.js";import{q as c,p as l}from"./p-COv1iCFP.js";import{d as r}from"./p-B5p2TBcA.js";const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this._id=void 0,this._open=!0,this.observer=void 0}handleToggle(t){"object"!=typeof t.detail&&(t.stopPropagation(),this._open=!this._open)}getToggleButtonText(){return this.expandButtonTooltip?this.expandButtonTooltip:this._open?c:l}resetIds(){var t,e,s;this._id=null!==(s=null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id)&&void 0!==s?s:"db-control-panel-desktop-"+a()}setupObserver(t){if(!t)return;const e=t.closest("db-control-panel-desktop");e&&!this.observer&&(this.observer=new MutationObserver((e=>{e.some((t=>{var e;const a=t.target.attributes.getNamedItem(null!==(e=t.attributeName)&&void 0!==e?e:"");return(null==a?void 0:a.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-control-panel-desktop")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,e){const a=null==t?void 0:t.closest(e);if(t&&a){const e=a.attributes;for(let s=0;s<e.length;s++){const o=e.item(s);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))o.value?t.setAttribute(o.name,o.value):t.removeAttribute(o.name),a.removeAttribute(o.name);else if(o&&["style"].includes(o.name))t.setAttribute(o.name,o.value),a.removeAttribute(o.name);else if(o&&"class"===o.name){const e=o.value.includes("hydrated"),s=o.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(o.name,`${d||""}${s?" "+s:""}`),e?a.setAttribute("class","hydrated"):a.removeAttribute(o.name)}}}}watch0Fn(){this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var t;void 0!==this.expanded&&(this._open=null===(t=s(this.expanded,"expanded"))||void 0===t||t)}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-control-panel-desktop"),this.setupObserver(this._ref),this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){return o("header",{key:"1e69bc19a8df84edc32a6ccd90fcc4910ca5215b",class:i("db-control-panel-desktop",this.className),ref:t=>{this._ref=t},id:this._id,"data-width":this.width,"data-orientation":this.orientation,"data-open":d(this._open)},o("slot",{key:"1e3a183c4e3746eaacae1dc69d74a5c61b825e47",name:"skipNavigation"}),o("div",{key:"f3bd252e6dea284952c692456d45541ae03f439a",class:"db-control-panel-desktop-brand-container"},o("slot",{key:"6cd6d8aabea48f6c60d99e892dc1669eb13f04af",name:"brand"})),o("div",{key:"17427a9e8159e9dc56bae68c713995b7cef67ea6",class:"db-control-panel-desktop-scroll-container",ref:t=>{this._scrollContainerRef=t}},o("slot",{key:"f1d0d4d75002f9668957f2bc566a8380b0709cbe"}),o("slot",{key:"85acca3e6977e39527c83b3bbc47cf7801525b2c",name:"metaNavigation"})),o("slot",{key:"e3e1cf00d281bead1888757e39b600e0caa455b2",name:"primaryActions"}),o("slot",{key:"793f8cb101822660216e84df98999d6523113003",name:"secondaryActions"}),o("div",{key:"0ee3e4d58514e2bd989b398a4e0bbd054a3e34a9",class:"db-control-panel-desktop-button"},o("button",{key:"2222f3382646d813accad996e371f7adf0d36ddc",class:"db-button","data-variant":"ghost","data-no-text":"true",type:"button","data-icon":"double_chevron_left",onClick:t=>this.handleToggle(t),"aria-controls":this._id,"aria-expanded":d(this._open)},o("db-tooltip",{key:"81b66866bc0bbaec059a67a1d1479c4af7309805",variant:"label",placement:"right"},this.getToggleButtonText()))))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],propOverrides:[{watch0:0}],expanded:[{watch1:0}]}}},[260,"db-control-panel-desktop",{id:[1],propOverrides:[16],expanded:[8],expandButtonTooltip:[1,"expand-button-tooltip"],className:[1,"classname"],width:[1],orientation:[1],_id:[32],_open:[32],observer:[32]},void 0,{id:[{watch0:0}],propOverrides:[{watch0:0}],expanded:[{watch1:0}]}]),b=h,p=function(){"undefined"!=typeof customElements&&["db-control-panel-desktop","db-tooltip"].forEach((t=>{switch(t){case"db-control-panel-desktop":customElements.get(n(t))||customElements.define(n(t),h);break;case"db-tooltip":customElements.get(n(t))||r()}}))};export{b as DbControlPanelDesktop,p as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface DbControlPanelFlatIcon extends Components.DbControlPanelFlatIcon, HTMLElement {}
4
+ export const DbControlPanelFlatIcon: {
5
+ prototype: DbControlPanelFlatIcon;
6
+ new (): DbControlPanelFlatIcon;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{z as t,H as s,j as e,A as i,k as a,d as n,t as o}from"./p-DEicAzan.js";import{R as d}from"./p-B2-mqMAV.js";const l=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this._resizeObserverCallbackId=void 0,this.observer=void 0}setupObserver(t){if(!t)return;const s=t.closest("db-control-panel-flat-icon");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const e=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-control-panel-flat-icon")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const a=s.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),e.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(a.name,`${n||""}${i?" "+i:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}watch0Fn(){if(this._ref&&!this._resizeObserverCallbackId){const t=this._ref.getAttribute("data-density");t&&this._ref.setAttribute("data-initial-density",t),this._resizeObserverCallbackId=(new d).observe(this._ref,(()=>{if(!this._ref)return;const t=e(this._ref,"--db-control-panel-flat-icon-mobile"),s=this._ref.getAttribute("data-initial-density");t?this._ref.setAttribute("data-density","regular"):s?this._ref.setAttribute("data-density",s):this._ref.removeAttribute("data-density")}))}}watch0(){this.watch0Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-control-panel-flat-icon"),this.setupObserver(this._ref),this.watch0Fn()}disconnectedCallback(){var t;this._resizeObserverCallbackId&&((new d).unobserve(this._resizeObserverCallbackId),this._resizeObserverCallbackId=void 0),null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s;return i("header",{key:"6402a0d80b368fcead6440a8412489a934619619",class:n("db-control-panel-flat-icon",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-no-text":a(this.noText,"noText")},i("slot",{key:"24ac665b0b511685e2ff88f45d99b9dc15630800",name:"skipNavigation"}),i("slot",{key:"354b01d6d250d6d9cc25a6236189bee042c1ce64"}))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}]}}},[260,"db-control-panel-flat-icon",{id:[1],propOverrides:[16],noText:[8,"no-text"],className:[1,"classname"],_resizeObserverCallbackId:[32],observer:[32]},void 0,{_ref:[{watch0:0}]}]),c=l,r=function(){"undefined"!=typeof customElements&&["db-control-panel-flat-icon"].forEach((t=>{"db-control-panel-flat-icon"===t&&(customElements.get(o(t))||customElements.define(o(t),l))}))};export{c as DbControlPanelFlatIcon,r as defineCustomElement}
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../dist/types/components";
2
2
 
3
- interface DbNavigationItem extends Components.DbNavigationItem, HTMLElement {}
4
- export const DbNavigationItem: {
5
- prototype: DbNavigationItem;
6
- new (): DbNavigationItem;
3
+ interface DbControlPanelMeta extends Components.DbControlPanelMeta, HTMLElement {}
4
+ export const DbControlPanelMeta: {
5
+ prototype: DbControlPanelMeta;
6
+ new (): DbControlPanelMeta;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -0,0 +1 @@
1
+ import{z as t,H as e,A as s,d as n,t as a}from"./p-DEicAzan.js";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.observer=void 0}setupObserver(t){if(!t)return;const e=t.closest("db-control-panel-meta");e&&!this.observer&&(this.observer=new MutationObserver((e=>{e.some((t=>{var e;const s=t.target.attributes.getNamedItem(null!==(e=t.attributeName)&&void 0!==e?e:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-control-panel-meta")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let n=0;n<e.length;n++){const a=e.item(n);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const e=a.value.includes("hydrated"),n=a.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(a.name,`${o||""}${n?" "+n:""}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-control-panel-meta"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,e;return s("div",{key:"a4131ee9def6e33560b304d2f957ab6895dd0bd6",class:n("db-control-panel-meta",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id},s("slot",{key:"2c32541f883cdb301a3aee5811fedfde0d760a01"}))}get rootElement(){return this}},[260,"db-control-panel-meta",{id:[1],propOverrides:[16],className:[1,"classname"],observer:[32]}]),d=o,i=function(){"undefined"!=typeof customElements&&["db-control-panel-meta"].forEach((t=>{"db-control-panel-meta"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))};export{d as DbControlPanelMeta,i as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface DbControlPanelMobile extends Components.DbControlPanelMobile, HTMLElement {}
4
+ export const DbControlPanelMobile: {
5
+ prototype: DbControlPanelMobile;
6
+ new (): DbControlPanelMobile;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{z as e,H as t,B as o,A as s,d as a,t as d}from"./p-DEicAzan.js";import{t as r}from"./p-COv1iCFP.js";import{i}from"./p-_kvIQ0Iy.js";import{d as n}from"./p-C3NPZvho.js";import{d as l}from"./p-CtoC6vGL.js";import{d as c}from"./p-CjeAJfEo.js";import{d as b}from"./p-WOdZHiUh.js";import{d as f}from"./p-B5p2TBcA.js";const m=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.toggle=o(this,"toggle"),this.open=!1,this.observer=void 0}handleToggle(e){e.stopPropagation&&e.stopPropagation();const t=!this.open;this.open=t,this.toggle&&this.toggle.emit(t)}handleClose(e){e.stopPropagation&&e.stopPropagation(),this.open=!1,this.toggle&&this.toggle.emit(!1)}handleNavigationItemClick(e){i(e)&&this.handleClose(e)}setupObserver(e){if(!e)return;const t=e.closest("db-control-panel-mobile");t&&!this.observer&&(this.observer=new MutationObserver((t=>{t.some((e=>{var t;const o=e.target.attributes.getNamedItem(null!==(t=e.attributeName)&&void 0!==t?t:"");return(null==o?void 0:o.value)!==e.oldValue}))&&this.enableAttributePassing(e,"db-control-panel-mobile")})),this.observer.observe(t,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(e,t){const o=null==e?void 0:e.closest(t);if(e&&o){const t=o.attributes;for(let s=0;s<t.length;s++){const a=t.item(s);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?e.setAttribute(a.name,a.value):e.removeAttribute(a.name),o.removeAttribute(a.name);else if(a&&["style"].includes(a.name))e.setAttribute(a.name,a.value),o.removeAttribute(a.name);else if(a&&"class"===a.name){const t=a.value.includes("hydrated"),s=a.value.replace("hydrated","").trim(),d=e.getAttribute("class");e.setAttribute(a.name,`${d||""}${s?" "+s:""}`),t?o.setAttribute("class","hydrated"):o.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const e=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);e&&e.remove()}this.enableAttributePassing(this._ref,"db-control-panel-mobile"),this.setupObserver(this._ref)}disconnectedCallback(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}render(){var e,t,o;return s("header",{key:"25bf24bdb71c1c4f6f3c20f450969476b9de518b",class:a("db-control-panel-mobile",this.className),"data-density":"regular",ref:e=>{this._ref=e},id:null!==(e=this.id)&&void 0!==e?e:null===(t=this.propOverrides)||void 0===t?void 0:t.id,"data-position":this.position},s("slot",{key:"225c01e9eab804a5fbb66614aed6fc55ec24955d",name:"skipNavigation"}),s("db-drawer",{key:"e9e344091b10454d0e4b40cd709e9e5925008226",class:"db-control-panel-mobile-drawer",rounded:!0,open:this.open,onClose:e=>this.handleClose(e)},s("div",{key:"4915275fceba63688f2d95ceb2016d928014dc17",class:"db-control-panel-mobile-drawer-scroll-container",onClick:e=>this.handleNavigationItemClick(e)},s("slot",{key:"d0631fc92c2623c4fa894d2766911c1653c780c9"}),s("slot",{key:"5d989e8ece5fe37a3477c46cf2a8f15c76670c6b",name:"metaNavigation"})),s("db-drawer-header",{key:"882ad83031b3730a240e638bd286f5cc91199df1",slot:"header",text:this.drawerHeaderText}),s("db-drawer-footer",{key:"be124b3f769f5fa7722d48d85ebd925c5e789bac",slot:"footer"},s("slot",{key:"503e666e22a9a3e7046fb44a352800e7a301f5b3",name:"secondaryActions"}))),s("slot",{key:"d401592fabf808f81f764546bdcd3b72e60b5018",name:"brand"}),s("slot",{key:"ff5b83e96a1a42aa4f9bf19bb00c4f650c3b90db",name:"primaryActions"}),s("db-button",{key:"6ec807aa071e8f917ecab14ee8086a2eb07fa4fc",class:"db-control-panel-mobile-button",icon:"menu",type:"button",variant:"ghost",noText:!0,onClick:e=>this.handleToggle(e)},null!==(o=this.burgerMenuLabel)&&void 0!==o?o:r))}get rootElement(){return this}},[260,"db-control-panel-mobile",{id:[1],propOverrides:[16],position:[1],className:[1,"classname"],drawerHeaderText:[1,"drawer-header-text"],burgerMenuLabel:[1,"burger-menu-label"],open:[32],observer:[32]}]),h=m,p=function(){"undefined"!=typeof customElements&&["db-control-panel-mobile","db-button","db-drawer","db-drawer-footer","db-drawer-header","db-tooltip"].forEach((e=>{switch(e){case"db-control-panel-mobile":customElements.get(d(e))||customElements.define(d(e),m);break;case"db-button":customElements.get(d(e))||n();break;case"db-drawer":customElements.get(d(e))||l();break;case"db-drawer-footer":customElements.get(d(e))||c();break;case"db-drawer-header":customElements.get(d(e))||b();break;case"db-tooltip":customElements.get(d(e))||f()}}))};export{h as DbControlPanelMobile,p as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface DbControlPanelNavigationItemGroup extends Components.DbControlPanelNavigationItemGroup, HTMLElement {}
4
+ export const DbControlPanelNavigationItemGroup: {
5
+ prototype: DbControlPanelNavigationItemGroup;
6
+ new (): DbControlPanelNavigationItemGroup;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{z as t,H as i,B as s,u as e,f as o,l as a,j as n,A as h,k as c,d as r,t as d}from"./p-DEicAzan.js";import{n as l}from"./p-COv1iCFP.js";import{b as u}from"./p-BT3wZY6f.js";import{I as v}from"./p-Nyi3Ccqz.js";import{h as b,N as p}from"./p-_kvIQ0Iy.js";import{R as f}from"./p-B2-mqMAV.js";import{d as m}from"./p-C3NPZvho.js";const w=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=s(this,"click"),this.hasSubNavigation=!0,this.isSubNavigationExpanded=!1,this.autoClose=!1,this.hasPopup=!1,this.initialized=!1,this._isMobile=!1,this._role=void 0,this._attributeObserver=void 0,this._itemGroupMenuId="db-control-panel-navigation-item-group-menu-"+e(),this._intersectionObserverCallbackId=void 0,this._resizeObserverCallbackId=void 0,this._popoverListenersAttached=!1,this.navigationItemSafeTriangle=void 0,this.observer=void 0}_handleFocusIn(){this.hasPopup&&(this.isSubNavigationExpanded=!0)}_handleFocusOut(t){if(!this.hasPopup)return;const i=t.relatedTarget;i&&this._ref.contains(i)||(this.isSubNavigationExpanded=!1)}_handleMouseEnter(){this.hasPopup&&(this._menuRef&&(b(this._menuRef),u(this._menuRef)),this.isSubNavigationExpanded=!0)}_handleMouseLeave(){this.hasPopup&&(this.isSubNavigationExpanded=!1)}_setSiblingsInert(t){if(!this._ref||!this._menuRef)return;const i=this._ref.parentElement;if(i){const s=i.children;for(let i=0;i<s.length;i++){const e=s[i];e!==this._ref&&(t?e.setAttribute("inert",""):e.removeAttribute("inert"))}}this._buttonRef&&(t?this._buttonRef.setAttribute("inert",""):this._buttonRef.removeAttribute("inert"));const s=this._ref.closest(".db-control-panel-mobile-drawer-scroll-container");if(s){const i=this._ref.closest(".db-control-panel-navigation"),e=s.children;for(let s=0;s<e.length;s++){const o=e[s];o!==i&&(t?o.setAttribute("inert",""):o.removeAttribute("inert"))}}}_attachPopoverListeners(){!this._popoverListenersAttached&&this._ref&&(this._ref.addEventListener("mouseenter",this._handleMouseEnter),this._ref.addEventListener("mouseleave",this._handleMouseLeave),this._ref.addEventListener("focusin",this._handleFocusIn),this._ref.addEventListener("focusout",this._handleFocusOut),this._popoverListenersAttached=!0)}_detachPopoverListeners(){this._popoverListenersAttached&&this._ref&&(this._ref.removeEventListener("mouseenter",this._handleMouseEnter),this._ref.removeEventListener("mouseleave",this._handleMouseLeave),this._ref.removeEventListener("focusin",this._handleFocusIn),this._ref.removeEventListener("focusout",this._handleFocusOut),this.isSubNavigationExpanded=!1,this._popoverListenersAttached=!1)}_teardownPopover(){this._detachPopoverListeners(),this.navigationItemSafeTriangle=void 0,this._intersectionObserverCallbackId&&((new v).unobserve(this._intersectionObserverCallbackId),this._intersectionObserverCallbackId=void 0),this._resizeObserverCallbackId&&((new f).unobserve(this._resizeObserverCallbackId),this._resizeObserverCallbackId=void 0)}onScroll(){this.hasPopup&&this._menuRef&&b(this._menuRef)}handleNavigationItemClick(t){var i;"A"===(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.nodeName)&&this.forceClose()}forceClose(){this.autoClose=!0,o((()=>{this.autoClose=!1}),300)}handleClick(t){this.hasPopup||(this.isSubNavigationExpanded=!this.isSubNavigationExpanded),this.click&&(t.stopPropagation(),this.click.emit(t))}handleBackClick(t){t.stopPropagation(),this.isSubNavigationExpanded=!1,o((()=>{this._buttonRef&&this._buttonRef.focus()}),1)}handleEscape(t){t&&"Escape"!==t.key||(this.forceClose(),this._buttonRef.blur())}setupObserver(t){if(!t)return;const i=t.closest("db-control-panel-navigation-item-group");i&&!this.observer&&(this.observer=new MutationObserver((i=>{i.some((t=>{var i;const s=t.target.attributes.getNamedItem(null!==(i=t.attributeName)&&void 0!==i?i:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-control-panel-navigation-item-group")})),this.observer.observe(i,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const o=i.item(e);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))o.value?t.setAttribute(o.name,o.value):t.removeAttribute(o.name),s.removeAttribute(o.name);else if(o&&["style"].includes(o.name))t.setAttribute(o.name,o.value),s.removeAttribute(o.name);else if(o&&"class"===o.name){const i=o.value.includes("hydrated"),e=o.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(o.name,`${a||""}${e?" "+e:""}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(o.name)}}}}watch0Fn(){var t;if(!this.initialized||!this._ref||this._attributeObserver)return;const i=null!==(t=this._ref.getAttribute("role"))&&void 0!==t?t:void 0;i!==this._role&&(this._role=i);const s=new MutationObserver((t=>{var i;for(const s of t)if("role"===s.attributeName){const t=null!==(i=this._ref.getAttribute("role"))&&void 0!==i?i:void 0;t!==this._role&&(this._role=t)}}));s.observe(this._ref,{attributes:!0,attributeFilter:["role"]}),this._attributeObserver=s}watch0(){this.watch0Fn()}watch1Fn(){void 0!==this.expanded&&(this.isSubNavigationExpanded=!!a(this.expanded,"expanded"))}watch1(){this.watch1Fn()}watch2Fn(){this._ref&&this.initialized&&(this.initialized=!1,this.hasPopup=n(this._ref,"--db-control-panel-navigation-item-group-menu-popover"),this._menuRef&&(this._isMobile=n(this._menuRef,"--db-control-panel-navigation-item-group-menu-mobile")))}watch2(){this.watch2Fn()}watch3Fn(){if(this._isMobile&&this.isSubNavigationExpanded){if(this._setSiblingsInert(!0),this._menuRef){const t=this._menuRef.querySelector(".db-control-panel-navigation-item a");t&&t.focus()}}else this._setSiblingsInert(!1)}watch3(){this.watch3Fn()}watch4Fn(){this._ref&&this._buttonRef&&this._menuRef&&this.hasPopup&&(this.navigationItemSafeTriangle||(this.navigationItemSafeTriangle=new p(this._ref,this._menuRef)),this._attachPopoverListeners(),this._intersectionObserverCallbackId||(this._intersectionObserverCallbackId=(new v).observe(this._buttonRef,(t=>{t.isIntersecting||this.forceClose()}))),this._resizeObserverCallbackId||(this._resizeObserverCallbackId=(new f).observe(document.documentElement,(()=>{this._menuRef&&b(this._menuRef)})))),this.hasPopup||this._teardownPopover()}watch4(){this.watch4Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-control-panel-navigation-item-group"),(()=>{this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var t,i;this._teardownPopover(),this._setSiblingsInert(!1),null===(t=this._attributeObserver)||void 0===t||t.disconnect(),this._attributeObserver=void 0,null===(i=this.observer)||void 0===i||i.disconnect()}render(){var t,i,s,e,o;return h("li",{key:"e842f5d91531596bc1b4077b50a2aa4b7349b557",class:r("db-control-panel-navigation-item-group",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,role:this._role,onMouseOver:()=>{var t;return null===(t=this.navigationItemSafeTriangle)||void 0===t?void 0:t.enableFollow()},onMouseLeave:()=>{var t;return null===(t=this.navigationItemSafeTriangle)||void 0===t?void 0:t.disableFollow()},onMouseMove:t=>{var i;return null===(i=this.navigationItemSafeTriangle)||void 0===i?void 0:i.followByMouseEvent(t)},onKeyDown:t=>this.handleEscape(t),"data-icon":this.icon,"data-show-icon":c(this.showIcon,"showIcon"),"data-active":c(this.active,"active"),"aria-disabled":c(this.disabled,"disabled")},h("button",{key:"58ba0cb92b2a10a880d8c9f59c11850085b2f9ec",class:"db-control-panel-navigation-item-group-expand-button",type:"button",ref:t=>{this._buttonRef=t},"aria-haspopup":c(!!this.hasPopup||void 0),"aria-controls":null!==(s=this.menuId)&&void 0!==s?s:this._itemGroupMenuId,"aria-expanded":c(this.isSubNavigationExpanded),disabled:a(this.disabled,"disabled"),onClick:t=>this.handleClick(t)},this.text,h("div",{key:"70f9d5553fc644f957fefc31a31350041aad2b83",class:"db-control-panel-navigation-item-group-expand-button-end-slot-container"},h("slot",{key:"34ca08f31c839144194960294c35f9d4ef057e2a",name:"endSlot"}))),h("menu",{key:"877d344a558361d4bc6c4a7cbaa65325cf0d1d35",class:"db-control-panel-navigation-item-group-menu",ref:t=>{this._menuRef=t},"data-force-close":c(this.autoClose),id:null!==(e=this.menuId)&&void 0!==e?e:this._itemGroupMenuId,onScroll:()=>this.onScroll(),onClick:t=>this.handleNavigationItemClick(t)},h("li",{key:"9a7c9be7cb8bbe5aac6dd2a4c8530ba1dbdb3f35",class:"db-control-panel-navigation-item-group-back-button"},h("db-button",{key:"65808897bb081139d1c5a229f4c6e6fcf37f980d",icon:"arrow_left",variant:"ghost",id:this.backButtonId,onClick:t=>this.handleBackClick(t)},null!==(o=this.backButtonText)&&void 0!==o?o:l)),h("slot",{key:"fa8a9703ae21bb54349081935d42c5128f3cc8f9"})))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0},{watch2:0},{watch4:0}],initialized:[{watch0:0},{watch2:0}],expanded:[{watch1:0}],_isMobile:[{watch3:0}],isSubNavigationExpanded:[{watch3:0}],_menuRef:[{watch4:0}],_buttonRef:[{watch4:0}],hasPopup:[{watch4:0}]}}},[260,"db-control-panel-navigation-item-group",{expanded:[8],id:[1],propOverrides:[16],className:[1,"classname"],icon:[1],showIcon:[8,"show-icon"],active:[4],disabled:[8],menuId:[1,"menu-id"],text:[1],backButtonId:[1,"back-button-id"],backButtonText:[1,"back-button-text"],hasSubNavigation:[32],isSubNavigationExpanded:[32],autoClose:[32],hasPopup:[32],initialized:[32],_isMobile:[32],_role:[32],_attributeObserver:[32],_itemGroupMenuId:[32],_intersectionObserverCallbackId:[32],_resizeObserverCallbackId:[32],_popoverListenersAttached:[32],navigationItemSafeTriangle:[32],observer:[32]},void 0,{_ref:[{watch0:0},{watch2:0},{watch4:0}],initialized:[{watch0:0},{watch2:0}],expanded:[{watch1:0}],_isMobile:[{watch3:0}],isSubNavigationExpanded:[{watch3:0}],_menuRef:[{watch4:0}],_buttonRef:[{watch4:0}],hasPopup:[{watch4:0}]}]),g=w,k=function(){"undefined"!=typeof customElements&&["db-control-panel-navigation-item-group","db-button"].forEach((t=>{switch(t){case"db-control-panel-navigation-item-group":customElements.get(d(t))||customElements.define(d(t),w);break;case"db-button":customElements.get(d(t))||m()}}))};export{g as DbControlPanelNavigationItemGroup,k as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface DbControlPanelNavigationItem extends Components.DbControlPanelNavigationItem, HTMLElement {}
4
+ export const DbControlPanelNavigationItem: {
5
+ prototype: DbControlPanelNavigationItem;
6
+ new (): DbControlPanelNavigationItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;