@db-ux/wc-core-components 3.0.2-copilot-66b0168 → 3.0.2-shell-ed0ed7c

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 (558) hide show
  1. package/README.md +0 -10
  2. package/dist/cjs/{constants-CTtyzyuo.js → constants-BOd99bQT.js} +7 -2
  3. package/dist/cjs/constants-BOd99bQT.js.map +1 -0
  4. package/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
  5. package/dist/cjs/db-accordion.cjs.entry.js +2 -2
  6. package/dist/cjs/db-badge.cjs.entry.js +2 -2
  7. package/dist/cjs/db-button.cjs.entry.js +2 -2
  8. package/dist/cjs/db-card.cjs.entry.js +3 -3
  9. package/dist/cjs/db-checkbox.cjs.entry.js +6 -6
  10. package/dist/cjs/db-checkbox.cjs.entry.js.map +1 -1
  11. package/dist/cjs/db-checkbox.entry.cjs.js.map +1 -1
  12. package/dist/cjs/db-control-panel-brand.cjs.entry.js +57 -0
  13. package/dist/cjs/db-control-panel-brand.cjs.entry.js.map +1 -0
  14. package/dist/cjs/db-control-panel-brand.entry.cjs.js.map +1 -0
  15. package/dist/cjs/db-control-panel-desktop.cjs.entry.js +91 -0
  16. package/dist/cjs/db-control-panel-desktop.cjs.entry.js.map +1 -0
  17. package/dist/cjs/db-control-panel-desktop.entry.cjs.js.map +1 -0
  18. package/dist/cjs/db-control-panel-flat-icon-navigation.cjs.entry.js +76 -0
  19. package/dist/cjs/db-control-panel-flat-icon-navigation.cjs.entry.js.map +1 -0
  20. package/dist/cjs/db-control-panel-flat-icon-navigation.entry.cjs.js.map +1 -0
  21. package/dist/cjs/{db-brand.cjs.entry.js → db-control-panel-meta-navigation.cjs.entry.js} +8 -10
  22. package/dist/cjs/db-control-panel-meta-navigation.cjs.entry.js.map +1 -0
  23. package/dist/cjs/db-control-panel-meta-navigation.entry.cjs.js.map +1 -0
  24. package/dist/cjs/db-control-panel-mobile.cjs.entry.js +76 -0
  25. package/dist/cjs/db-control-panel-mobile.cjs.entry.js.map +1 -0
  26. package/dist/cjs/db-control-panel-mobile.entry.cjs.js.map +1 -0
  27. package/dist/cjs/db-control-panel-primary-actions.cjs.entry.js +55 -0
  28. package/dist/cjs/db-control-panel-primary-actions.cjs.entry.js.map +1 -0
  29. package/dist/cjs/db-control-panel-primary-actions.entry.cjs.js.map +1 -0
  30. package/dist/cjs/db-control-panel-secondary-actions.cjs.entry.js +55 -0
  31. package/dist/cjs/db-control-panel-secondary-actions.cjs.entry.js.map +1 -0
  32. package/dist/cjs/db-control-panel-secondary-actions.entry.cjs.js.map +1 -0
  33. package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.cjs.js.map +1 -1
  34. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +13 -13
  35. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js.map +1 -1
  36. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  37. package/dist/cjs/db-custom-select.cjs.entry.js +15 -15
  38. package/dist/cjs/db-custom-select.cjs.entry.js.map +1 -1
  39. package/dist/cjs/db-custom-select.entry.cjs.js.map +1 -1
  40. package/dist/cjs/db-divider.cjs.entry.js +2 -2
  41. package/dist/cjs/db-drawer.cjs.entry.js +6 -6
  42. package/dist/cjs/db-drawer.cjs.entry.js.map +1 -1
  43. package/dist/cjs/db-drawer.entry.cjs.js.map +1 -1
  44. package/dist/cjs/db-icon.cjs.entry.js +2 -2
  45. package/dist/cjs/db-infotext.cjs.entry.js +2 -2
  46. package/dist/cjs/db-link.cjs.entry.js +2 -2
  47. package/dist/cjs/db-navigation-item-group.cjs.entry.js +159 -0
  48. package/dist/cjs/db-navigation-item-group.cjs.entry.js.map +1 -0
  49. package/dist/cjs/db-navigation-item-group.entry.cjs.js.map +1 -0
  50. package/dist/cjs/db-navigation-item.cjs.entry.js +4 -72
  51. package/dist/cjs/db-navigation-item.cjs.entry.js.map +1 -1
  52. package/dist/cjs/db-navigation-item.entry.cjs.js.map +1 -1
  53. package/dist/cjs/db-navigation.cjs.entry.js +112 -6
  54. package/dist/cjs/db-navigation.cjs.entry.js.map +1 -1
  55. package/dist/cjs/db-navigation.entry.cjs.js.map +1 -1
  56. package/dist/cjs/db-notification.cjs.entry.js +4 -4
  57. package/dist/cjs/db-popover.cjs.entry.js +5 -6
  58. package/dist/cjs/db-popover.cjs.entry.js.map +1 -1
  59. package/dist/cjs/db-popover.entry.cjs.js.map +1 -1
  60. package/dist/cjs/db-radio.cjs.entry.js +2 -2
  61. package/dist/cjs/db-section.cjs.entry.js +4 -4
  62. package/dist/cjs/db-select.cjs.entry.js +7 -7
  63. package/dist/cjs/db-select.cjs.entry.js.map +1 -1
  64. package/dist/cjs/db-select.entry.cjs.js.map +1 -1
  65. package/dist/cjs/db-shell-sub-navigation.cjs.entry.js +71 -0
  66. package/dist/cjs/db-shell-sub-navigation.cjs.entry.js.map +1 -0
  67. package/dist/cjs/db-shell-sub-navigation.entry.cjs.js.map +1 -0
  68. package/dist/cjs/{db-page.cjs.entry.js → db-shell.cjs.entry.js} +9 -15
  69. package/dist/cjs/db-shell.cjs.entry.js.map +1 -0
  70. package/dist/cjs/db-shell.entry.cjs.js.map +1 -0
  71. package/dist/cjs/db-stack.cjs.entry.js +3 -3
  72. package/dist/cjs/db-switch.cjs.entry.js +2 -2
  73. package/dist/cjs/db-tab-item_3.cjs.entry.js +8 -8
  74. package/dist/cjs/db-tabs.cjs.entry.js +5 -5
  75. package/dist/cjs/db-tabs.cjs.entry.js.map +1 -1
  76. package/dist/cjs/db-tabs.entry.cjs.js.map +1 -1
  77. package/dist/cjs/db-textarea.cjs.entry.js +6 -6
  78. package/dist/cjs/db-textarea.cjs.entry.js.map +1 -1
  79. package/dist/cjs/db-textarea.entry.cjs.js.map +1 -1
  80. package/dist/cjs/db-tooltip.cjs.entry.js +7 -8
  81. package/dist/cjs/db-tooltip.cjs.entry.js.map +1 -1
  82. package/dist/cjs/db-tooltip.entry.cjs.js.map +1 -1
  83. package/dist/cjs/db-ux.cjs.js +3 -3
  84. package/dist/cjs/db-ux.cjs.js.map +1 -1
  85. package/dist/cjs/{floating-components-ogUqz72V.js → floating-components-DSENlGvK.js} +78 -50
  86. package/dist/cjs/floating-components-DSENlGvK.js.map +1 -0
  87. package/dist/cjs/{index-9urL1KCD.js → index-B1qpUQFv.js} +9 -3
  88. package/dist/cjs/index-B1qpUQFv.js.map +1 -0
  89. package/dist/cjs/index.cjs.js +21 -11
  90. package/dist/cjs/index.cjs.js.map +1 -1
  91. package/dist/cjs/loader.cjs.js +2 -2
  92. package/dist/cjs/{navigation-DauGE-qj.js → navigation-DWSyoPJm.js} +38 -21
  93. package/dist/cjs/navigation-DWSyoPJm.js.map +1 -0
  94. package/dist/collection/collection-manifest.json +14 -7
  95. package/dist/collection/components/button/button.js +1 -1
  96. package/dist/collection/components/card/card.js +2 -2
  97. package/dist/collection/components/checkbox/checkbox.js +4 -4
  98. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  99. package/dist/collection/components/{brand/brand.js → control-panel-brand/control-panel-brand.js} +22 -47
  100. package/dist/collection/components/control-panel-brand/control-panel-brand.js.map +1 -0
  101. package/dist/collection/components/control-panel-brand/index.js +3 -0
  102. package/dist/collection/components/control-panel-brand/index.js.map +1 -0
  103. package/dist/collection/components/control-panel-brand/model.js.map +1 -0
  104. package/dist/collection/components/control-panel-desktop/control-panel-desktop.js +267 -0
  105. package/dist/collection/components/control-panel-desktop/control-panel-desktop.js.map +1 -0
  106. package/dist/collection/components/control-panel-desktop/index.js +3 -0
  107. package/dist/collection/components/control-panel-desktop/index.js.map +1 -0
  108. package/dist/collection/components/control-panel-desktop/model.js.map +1 -0
  109. package/dist/collection/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.js +162 -0
  110. package/dist/collection/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.js.map +1 -0
  111. package/dist/collection/components/control-panel-flat-icon-navigation/index.js +3 -0
  112. package/dist/collection/components/control-panel-flat-icon-navigation/index.js.map +1 -0
  113. package/dist/collection/components/control-panel-flat-icon-navigation/model.js +2 -0
  114. package/dist/collection/components/control-panel-flat-icon-navigation/model.js.map +1 -0
  115. package/dist/collection/components/control-panel-meta-navigation/control-panel-meta-navigation.js +104 -0
  116. package/dist/collection/components/control-panel-meta-navigation/control-panel-meta-navigation.js.map +1 -0
  117. package/dist/collection/components/control-panel-meta-navigation/index.js +3 -0
  118. package/dist/collection/components/control-panel-meta-navigation/index.js.map +1 -0
  119. package/dist/collection/components/control-panel-meta-navigation/model.js +2 -0
  120. package/dist/collection/components/control-panel-meta-navigation/model.js.map +1 -0
  121. package/dist/collection/components/{header/header.js → control-panel-mobile/control-panel-mobile.js} +76 -76
  122. package/dist/collection/components/control-panel-mobile/control-panel-mobile.js.map +1 -0
  123. package/dist/collection/components/control-panel-mobile/index.js +3 -0
  124. package/dist/collection/components/control-panel-mobile/index.js.map +1 -0
  125. package/dist/collection/components/control-panel-mobile/model.js +2 -0
  126. package/dist/collection/components/control-panel-mobile/model.js.map +1 -0
  127. package/dist/collection/components/control-panel-primary-actions/control-panel-primary-actions.js +104 -0
  128. package/dist/collection/components/control-panel-primary-actions/control-panel-primary-actions.js.map +1 -0
  129. package/dist/collection/components/control-panel-primary-actions/index.js +3 -0
  130. package/dist/collection/components/control-panel-primary-actions/index.js.map +1 -0
  131. package/dist/collection/components/control-panel-primary-actions/model.js +2 -0
  132. package/dist/collection/components/control-panel-primary-actions/model.js.map +1 -0
  133. package/dist/collection/components/control-panel-secondary-actions/control-panel-secondary-actions.js +104 -0
  134. package/dist/collection/components/control-panel-secondary-actions/control-panel-secondary-actions.js.map +1 -0
  135. package/dist/collection/components/control-panel-secondary-actions/index.js +3 -0
  136. package/dist/collection/components/control-panel-secondary-actions/index.js.map +1 -0
  137. package/dist/collection/components/control-panel-secondary-actions/model.js +2 -0
  138. package/dist/collection/components/control-panel-secondary-actions/model.js.map +1 -0
  139. package/dist/collection/components/custom-select/custom-select.js +12 -12
  140. package/dist/collection/components/custom-select/custom-select.js.map +1 -1
  141. package/dist/collection/components/custom-select/model.js.map +1 -1
  142. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  143. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  144. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  145. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +1 -1
  146. package/dist/collection/components/divider/divider.js +1 -1
  147. package/dist/collection/components/drawer/drawer.js +30 -5
  148. package/dist/collection/components/drawer/drawer.js.map +1 -1
  149. package/dist/collection/components/drawer/model.js +1 -1
  150. package/dist/collection/components/drawer/model.js.map +1 -1
  151. package/dist/collection/components/icon/icon.js +1 -1
  152. package/dist/collection/components/infotext/infotext.js +1 -1
  153. package/dist/collection/components/input/input.js +4 -4
  154. package/dist/collection/components/input/input.js.map +1 -1
  155. package/dist/collection/components/link/link.js +1 -1
  156. package/dist/collection/components/navigation/model.js.map +1 -1
  157. package/dist/collection/components/navigation/navigation.js +206 -7
  158. package/dist/collection/components/navigation/navigation.js.map +1 -1
  159. package/dist/collection/components/navigation-item/model.js.map +1 -1
  160. package/dist/collection/components/navigation-item/navigation-item.js +9 -238
  161. package/dist/collection/components/navigation-item/navigation-item.js.map +1 -1
  162. package/dist/collection/components/navigation-item-group/index.js +3 -0
  163. package/dist/collection/components/navigation-item-group/index.js.map +1 -0
  164. package/dist/collection/components/navigation-item-group/model.js +2 -0
  165. package/dist/collection/components/navigation-item-group/model.js.map +1 -0
  166. package/dist/collection/components/navigation-item-group/navigation-item-group.js +453 -0
  167. package/dist/collection/components/navigation-item-group/navigation-item-group.js.map +1 -0
  168. package/dist/collection/components/notification/notification.js +2 -2
  169. package/dist/collection/components/popover/popover.js +28 -29
  170. package/dist/collection/components/popover/popover.js.map +1 -1
  171. package/dist/collection/components/radio/radio.js +1 -1
  172. package/dist/collection/components/section/section.js +2 -2
  173. package/dist/collection/components/select/select.js +5 -5
  174. package/dist/collection/components/select/select.js.map +1 -1
  175. package/dist/collection/components/shell/index.js +3 -0
  176. package/dist/collection/components/shell/index.js.map +1 -0
  177. package/dist/collection/components/shell/model.js +2 -0
  178. package/dist/collection/components/shell/model.js.map +1 -0
  179. package/dist/collection/components/shell/shell.js +299 -0
  180. package/dist/collection/components/shell/shell.js.map +1 -0
  181. package/dist/collection/components/shell-sub-navigation/index.js +3 -0
  182. package/dist/collection/components/shell-sub-navigation/index.js.map +1 -0
  183. package/dist/collection/components/shell-sub-navigation/model.js +2 -0
  184. package/dist/collection/components/shell-sub-navigation/model.js.map +1 -0
  185. package/dist/collection/components/{page/page.js → shell-sub-navigation/shell-sub-navigation.js} +43 -94
  186. package/dist/collection/components/shell-sub-navigation/shell-sub-navigation.js.map +1 -0
  187. package/dist/collection/components/stack/stack.js +2 -2
  188. package/dist/collection/components/switch/switch.js +1 -1
  189. package/dist/collection/components/tab-item/tab-item.js +2 -2
  190. package/dist/collection/components/tab-list/tab-list.js +2 -2
  191. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  192. package/dist/collection/components/tabs/model.js.map +1 -1
  193. package/dist/collection/components/tabs/tabs.js +4 -4
  194. package/dist/collection/components/tabs/tabs.js.map +1 -1
  195. package/dist/collection/components/tag/tag.js +2 -2
  196. package/dist/collection/components/textarea/textarea.js +4 -4
  197. package/dist/collection/components/textarea/textarea.js.map +1 -1
  198. package/dist/collection/components/tooltip/tooltip.js +29 -30
  199. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  200. package/dist/collection/index.js +19 -6
  201. package/dist/collection/index.js.map +1 -1
  202. package/dist/collection/shared/constants.js +3 -0
  203. package/dist/collection/shared/constants.js.map +1 -1
  204. package/dist/collection/shared/model.js +3 -0
  205. package/dist/collection/shared/model.js.map +1 -1
  206. package/dist/collection/utils/floating-components.js +76 -48
  207. package/dist/collection/utils/floating-components.js.map +1 -1
  208. package/dist/collection/utils/navigation.js +34 -22
  209. package/dist/collection/utils/navigation.js.map +1 -1
  210. package/dist/custom-elements.json +7740 -6149
  211. package/dist/db-ux/db-checkbox.entry.esm.js.map +1 -1
  212. package/dist/db-ux/db-control-panel-brand.entry.esm.js.map +1 -0
  213. package/dist/db-ux/db-control-panel-desktop.entry.esm.js.map +1 -0
  214. package/dist/db-ux/db-control-panel-flat-icon-navigation.entry.esm.js.map +1 -0
  215. package/dist/db-ux/db-control-panel-meta-navigation.entry.esm.js.map +1 -0
  216. package/dist/db-ux/db-control-panel-mobile.entry.esm.js.map +1 -0
  217. package/dist/db-ux/db-control-panel-primary-actions.entry.esm.js.map +1 -0
  218. package/dist/db-ux/db-control-panel-secondary-actions.entry.esm.js.map +1 -0
  219. package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.esm.js.map +1 -1
  220. package/dist/db-ux/db-custom-select.entry.esm.js.map +1 -1
  221. package/dist/db-ux/db-drawer.entry.esm.js.map +1 -1
  222. package/dist/db-ux/db-navigation-item-group.entry.esm.js.map +1 -0
  223. package/dist/db-ux/db-navigation-item.entry.esm.js.map +1 -1
  224. package/dist/db-ux/db-navigation.entry.esm.js.map +1 -1
  225. package/dist/db-ux/db-popover.entry.esm.js.map +1 -1
  226. package/dist/db-ux/db-select.entry.esm.js.map +1 -1
  227. package/dist/db-ux/db-shell-sub-navigation.entry.esm.js.map +1 -0
  228. package/dist/db-ux/db-shell.entry.esm.js.map +1 -0
  229. package/dist/db-ux/db-tabs.entry.esm.js.map +1 -1
  230. package/dist/db-ux/db-textarea.entry.esm.js.map +1 -1
  231. package/dist/db-ux/db-tooltip.entry.esm.js.map +1 -1
  232. package/dist/db-ux/db-ux.esm.js +1 -1
  233. package/dist/db-ux/db-ux.esm.js.map +1 -1
  234. package/dist/db-ux/index.esm.js +1 -1
  235. package/dist/db-ux/index.esm.js.map +1 -1
  236. package/dist/db-ux/p-0262e847.entry.js +2 -0
  237. package/dist/db-ux/p-0262e847.entry.js.map +1 -0
  238. package/dist/db-ux/p-13f527fb.entry.js +2 -0
  239. package/dist/db-ux/p-13f527fb.entry.js.map +1 -0
  240. package/dist/db-ux/p-1a56dee3.entry.js +2 -0
  241. package/dist/db-ux/p-1a56dee3.entry.js.map +1 -0
  242. package/dist/db-ux/p-1b0815ab.entry.js +2 -0
  243. package/dist/db-ux/p-1b0815ab.entry.js.map +1 -0
  244. package/dist/db-ux/p-1d41f71c.entry.js +2 -0
  245. package/dist/db-ux/p-1d41f71c.entry.js.map +1 -0
  246. package/dist/db-ux/p-1dccdff4.entry.js +2 -0
  247. package/dist/db-ux/p-29dcb78d.entry.js +2 -0
  248. package/dist/db-ux/p-29dcb78d.entry.js.map +1 -0
  249. package/dist/db-ux/p-3f2ab801.entry.js +2 -0
  250. package/dist/db-ux/p-3f2ab801.entry.js.map +1 -0
  251. package/dist/db-ux/p-40e42146.entry.js +2 -0
  252. package/dist/db-ux/p-40e42146.entry.js.map +1 -0
  253. package/dist/db-ux/p-4645cc92.entry.js +2 -0
  254. package/dist/db-ux/{p-c5ff3d3f.entry.js → p-504a9cfc.entry.js} +2 -2
  255. package/dist/db-ux/{p-e6e7719e.entry.js → p-53682d25.entry.js} +2 -2
  256. package/dist/db-ux/p-5be272f0.entry.js +2 -0
  257. package/dist/db-ux/p-5cb180c4.entry.js +2 -0
  258. package/dist/db-ux/p-5cb180c4.entry.js.map +1 -0
  259. package/dist/db-ux/{p-16f1fa7c.entry.js → p-5d292f94.entry.js} +2 -2
  260. package/dist/db-ux/{p-02fcd4a8.entry.js → p-5e4ac324.entry.js} +2 -2
  261. package/dist/db-ux/p-6c023c87.entry.js +2 -0
  262. package/dist/db-ux/p-6c023c87.entry.js.map +1 -0
  263. package/dist/db-ux/{p-f03f7076.entry.js → p-6fd148ce.entry.js} +2 -2
  264. package/dist/db-ux/p-7153636c.entry.js +2 -0
  265. package/dist/db-ux/p-73614370.entry.js +2 -0
  266. package/dist/db-ux/{p-209cf793.entry.js → p-81d7921b.entry.js} +2 -2
  267. package/dist/db-ux/{p-d7168627.entry.js → p-8262ab69.entry.js} +2 -2
  268. package/dist/db-ux/p-8db3c126.entry.js +2 -0
  269. package/dist/db-ux/{p-d6aeabf0.entry.js.map → p-8db3c126.entry.js.map} +1 -1
  270. package/dist/db-ux/p-99d090b7.entry.js +2 -0
  271. package/dist/db-ux/p-9d18d065.entry.js +2 -0
  272. package/dist/db-ux/p-9d18d065.entry.js.map +1 -0
  273. package/dist/db-ux/p-CZxi1Pek.js +2 -0
  274. package/dist/db-ux/p-CZxi1Pek.js.map +1 -0
  275. package/dist/db-ux/p-D3kmGlOI.js +2 -0
  276. package/dist/db-ux/p-D3kmGlOI.js.map +1 -0
  277. package/dist/db-ux/p-Dst8dqRS.js +2 -0
  278. package/dist/db-ux/p-Dst8dqRS.js.map +1 -0
  279. package/dist/db-ux/p-a652e0d0.entry.js +2 -0
  280. package/dist/db-ux/p-a652e0d0.entry.js.map +1 -0
  281. package/dist/db-ux/{p-bd7d1646.entry.js → p-b713791b.entry.js} +2 -2
  282. package/dist/db-ux/p-b90f037e.entry.js +2 -0
  283. package/dist/db-ux/p-b90f037e.entry.js.map +1 -0
  284. package/dist/db-ux/p-bb9043b3.entry.js +2 -0
  285. package/dist/db-ux/p-bb9043b3.entry.js.map +1 -0
  286. package/dist/db-ux/p-bbbb47fe.entry.js +2 -0
  287. package/dist/db-ux/p-bbbb47fe.entry.js.map +1 -0
  288. package/dist/db-ux/p-c00303d4.entry.js +2 -0
  289. package/dist/db-ux/p-c00303d4.entry.js.map +1 -0
  290. package/dist/db-ux/p-c841ce92.entry.js +2 -0
  291. package/dist/db-ux/p-c841ce92.entry.js.map +1 -0
  292. package/dist/db-ux/{p-a2b55626.entry.js → p-d6047812.entry.js} +2 -2
  293. package/dist/db-ux/p-d8f87aaa.entry.js +2 -0
  294. package/dist/db-ux/p-d8f87aaa.entry.js.map +1 -0
  295. package/dist/db-ux/p-e39aeff2.entry.js +2 -0
  296. package/dist/db-ux/p-e39aeff2.entry.js.map +1 -0
  297. package/dist/db-ux/p-e418dace.entry.js +2 -0
  298. package/dist/db-ux/p-e418dace.entry.js.map +1 -0
  299. package/dist/db-ux/p-eaa14b89.entry.js +2 -0
  300. package/dist/db-ux/p-eaa14b89.entry.js.map +1 -0
  301. package/dist/db-ux/p-uOzX56mL.js +3 -0
  302. package/dist/db-ux/p-uOzX56mL.js.map +1 -0
  303. package/dist/esm/{constants-DC9V_oNU.js → constants-Dst8dqRS.js} +6 -3
  304. package/dist/esm/constants-Dst8dqRS.js.map +1 -0
  305. package/dist/esm/db-accordion-item.entry.js +2 -2
  306. package/dist/esm/db-accordion.entry.js +2 -2
  307. package/dist/esm/db-badge.entry.js +2 -2
  308. package/dist/esm/db-button.entry.js +2 -2
  309. package/dist/esm/db-card.entry.js +3 -3
  310. package/dist/esm/db-checkbox.entry.js +6 -6
  311. package/dist/esm/db-checkbox.entry.js.map +1 -1
  312. package/dist/esm/db-control-panel-brand.entry.js +55 -0
  313. package/dist/esm/db-control-panel-brand.entry.js.map +1 -0
  314. package/dist/esm/db-control-panel-desktop.entry.js +89 -0
  315. package/dist/esm/db-control-panel-desktop.entry.js.map +1 -0
  316. package/dist/esm/db-control-panel-flat-icon-navigation.entry.js +74 -0
  317. package/dist/esm/db-control-panel-flat-icon-navigation.entry.js.map +1 -0
  318. package/dist/esm/{db-brand.entry.js → db-control-panel-meta-navigation.entry.js} +9 -11
  319. package/dist/esm/db-control-panel-meta-navigation.entry.js.map +1 -0
  320. package/dist/esm/db-control-panel-mobile.entry.js +74 -0
  321. package/dist/esm/db-control-panel-mobile.entry.js.map +1 -0
  322. package/dist/esm/db-control-panel-primary-actions.entry.js +53 -0
  323. package/dist/esm/db-control-panel-primary-actions.entry.js.map +1 -0
  324. package/dist/esm/db-control-panel-secondary-actions.entry.js +53 -0
  325. package/dist/esm/db-control-panel-secondary-actions.entry.js.map +1 -0
  326. package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map +1 -1
  327. package/dist/esm/db-custom-select-dropdown_5.entry.js +13 -13
  328. package/dist/esm/db-custom-select-dropdown_5.entry.js.map +1 -1
  329. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  330. package/dist/esm/db-custom-select.entry.js +15 -15
  331. package/dist/esm/db-custom-select.entry.js.map +1 -1
  332. package/dist/esm/db-divider.entry.js +2 -2
  333. package/dist/esm/db-drawer.entry.js +6 -6
  334. package/dist/esm/db-drawer.entry.js.map +1 -1
  335. package/dist/esm/db-icon.entry.js +2 -2
  336. package/dist/esm/db-infotext.entry.js +2 -2
  337. package/dist/esm/db-link.entry.js +2 -2
  338. package/dist/esm/db-navigation-item-group.entry.js +157 -0
  339. package/dist/esm/db-navigation-item-group.entry.js.map +1 -0
  340. package/dist/esm/db-navigation-item.entry.js +5 -73
  341. package/dist/esm/db-navigation-item.entry.js.map +1 -1
  342. package/dist/esm/db-navigation.entry.js +113 -7
  343. package/dist/esm/db-navigation.entry.js.map +1 -1
  344. package/dist/esm/db-notification.entry.js +4 -4
  345. package/dist/esm/db-popover.entry.js +5 -6
  346. package/dist/esm/db-popover.entry.js.map +1 -1
  347. package/dist/esm/db-radio.entry.js +2 -2
  348. package/dist/esm/db-section.entry.js +4 -4
  349. package/dist/esm/db-select.entry.js +7 -7
  350. package/dist/esm/db-select.entry.js.map +1 -1
  351. package/dist/esm/db-shell-sub-navigation.entry.js +69 -0
  352. package/dist/esm/db-shell-sub-navigation.entry.js.map +1 -0
  353. package/dist/esm/{db-page.entry.js → db-shell.entry.js} +9 -15
  354. package/dist/esm/db-shell.entry.js.map +1 -0
  355. package/dist/esm/db-stack.entry.js +3 -3
  356. package/dist/esm/db-switch.entry.js +2 -2
  357. package/dist/esm/db-tab-item_3.entry.js +8 -8
  358. package/dist/esm/db-tabs.entry.js +5 -5
  359. package/dist/esm/db-tabs.entry.js.map +1 -1
  360. package/dist/esm/db-textarea.entry.js +6 -6
  361. package/dist/esm/db-textarea.entry.js.map +1 -1
  362. package/dist/esm/db-tooltip.entry.js +7 -8
  363. package/dist/esm/db-tooltip.entry.js.map +1 -1
  364. package/dist/esm/db-ux.js +4 -4
  365. package/dist/esm/db-ux.js.map +1 -1
  366. package/dist/esm/{floating-components-G-TursYV.js → floating-components-D3kmGlOI.js} +78 -50
  367. package/dist/esm/floating-components-D3kmGlOI.js.map +1 -0
  368. package/dist/esm/{index-CNzNv7KB.js → index-uOzX56mL.js} +9 -3
  369. package/dist/esm/index-uOzX56mL.js.map +1 -0
  370. package/dist/esm/index.js +12 -8
  371. package/dist/esm/index.js.map +1 -1
  372. package/dist/esm/loader.js +3 -3
  373. package/dist/esm/{navigation--UdC9CzO.js → navigation-CJ-OxodG.js} +38 -22
  374. package/dist/esm/navigation-CJ-OxodG.js.map +1 -0
  375. package/dist/types/components/control-panel-brand/control-panel-brand.d.ts +21 -0
  376. package/dist/types/components/control-panel-brand/index.d.ts +2 -0
  377. package/dist/types/components/control-panel-brand/model.d.ts +5 -0
  378. package/dist/types/components/control-panel-desktop/control-panel-desktop.d.ts +33 -0
  379. package/dist/types/components/control-panel-desktop/index.d.ts +2 -0
  380. package/dist/types/components/control-panel-desktop/model.d.ts +7 -0
  381. package/dist/types/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.d.ts +22 -0
  382. package/dist/types/components/control-panel-flat-icon-navigation/index.d.ts +2 -0
  383. package/dist/types/components/control-panel-flat-icon-navigation/model.d.ts +7 -0
  384. package/dist/types/components/{brand/brand.d.ts → control-panel-meta-navigation/control-panel-meta-navigation.d.ts} +4 -8
  385. package/dist/types/components/control-panel-meta-navigation/index.d.ts +2 -0
  386. package/dist/types/components/control-panel-meta-navigation/model.d.ts +5 -0
  387. package/dist/types/components/control-panel-mobile/control-panel-mobile.d.ts +32 -0
  388. package/dist/types/components/control-panel-mobile/index.d.ts +2 -0
  389. package/dist/types/components/control-panel-mobile/model.d.ts +30 -0
  390. package/dist/types/components/control-panel-primary-actions/control-panel-primary-actions.d.ts +18 -0
  391. package/dist/types/components/control-panel-primary-actions/index.d.ts +2 -0
  392. package/dist/types/components/control-panel-primary-actions/model.d.ts +5 -0
  393. package/dist/types/components/control-panel-secondary-actions/control-panel-secondary-actions.d.ts +18 -0
  394. package/dist/types/components/control-panel-secondary-actions/index.d.ts +2 -0
  395. package/dist/types/components/control-panel-secondary-actions/model.d.ts +5 -0
  396. package/dist/types/components/custom-select/custom-select.d.ts +1 -1
  397. package/dist/types/components/custom-select/model.d.ts +4 -1
  398. package/dist/types/components/drawer/drawer.d.ts +1 -0
  399. package/dist/types/components/drawer/model.d.ts +5 -1
  400. package/dist/types/components/navigation/model.d.ts +14 -5
  401. package/dist/types/components/navigation/navigation.d.ts +19 -1
  402. package/dist/types/components/navigation-item/model.d.ts +9 -24
  403. package/dist/types/components/navigation-item/navigation-item.d.ts +2 -24
  404. package/dist/types/components/navigation-item-group/index.d.ts +2 -0
  405. package/dist/types/components/navigation-item-group/model.d.ts +26 -0
  406. package/dist/types/components/navigation-item-group/navigation-item-group.d.ts +50 -0
  407. package/dist/types/components/popover/popover.d.ts +1 -1
  408. package/dist/types/components/shell/index.d.ts +2 -0
  409. package/dist/types/components/shell/model.d.ts +50 -0
  410. package/dist/types/components/shell/shell.d.ts +28 -0
  411. package/dist/types/components/shell-sub-navigation/index.d.ts +2 -0
  412. package/dist/types/components/shell-sub-navigation/model.d.ts +5 -0
  413. package/dist/types/components/shell-sub-navigation/shell-sub-navigation.d.ts +24 -0
  414. package/dist/types/components/tabs/model.d.ts +3 -11
  415. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  416. package/dist/types/components.d.ts +302 -119
  417. package/dist/types/index.d.ts +19 -6
  418. package/dist/types/shared/constants.d.ts +3 -0
  419. package/dist/types/shared/model.d.ts +82 -3
  420. package/dist/types/utils/floating-components.d.ts +17 -1
  421. package/dist/types/utils/navigation.d.ts +2 -6
  422. package/dist/vscode.html-custom-data.json +532 -327
  423. package/dist/web-types.json +1235 -795
  424. package/package.json +5 -7
  425. package/agent/Accordion.md +0 -23
  426. package/agent/AccordionItem.md +0 -29
  427. package/agent/Badge.md +0 -32
  428. package/agent/Brand.md +0 -13
  429. package/agent/Button.md +0 -47
  430. package/agent/Card.md +0 -23
  431. package/agent/Checkbox.md +0 -41
  432. package/agent/CustomSelect.md +0 -54
  433. package/agent/Divider.md +0 -21
  434. package/agent/Drawer.md +0 -71
  435. package/agent/Header.md +0 -29
  436. package/agent/Icon.md +0 -20
  437. package/agent/Infotext.md +0 -25
  438. package/agent/Input.md +0 -48
  439. package/agent/Link.md +0 -52
  440. package/agent/Navigation.md +0 -19
  441. package/agent/NavigationItem.md +0 -29
  442. package/agent/Notification.md +0 -38
  443. package/agent/Page.md +0 -27
  444. package/agent/Popover.md +0 -52
  445. package/agent/Radio.md +0 -28
  446. package/agent/Section.md +0 -21
  447. package/agent/Select.md +0 -62
  448. package/agent/Stack.md +0 -35
  449. package/agent/Switch.md +0 -44
  450. package/agent/TabItem.md +0 -25
  451. package/agent/Tabs.md +0 -61
  452. package/agent/Tag.md +0 -41
  453. package/agent/Textarea.md +0 -44
  454. package/agent/Tooltip.md +0 -37
  455. package/agent/_instructions.md +0 -31
  456. package/dist/cjs/constants-CTtyzyuo.js.map +0 -1
  457. package/dist/cjs/db-brand.cjs.entry.js.map +0 -1
  458. package/dist/cjs/db-brand.entry.cjs.js.map +0 -1
  459. package/dist/cjs/db-header.cjs.entry.js +0 -96
  460. package/dist/cjs/db-header.cjs.entry.js.map +0 -1
  461. package/dist/cjs/db-header.entry.cjs.js.map +0 -1
  462. package/dist/cjs/db-page.cjs.entry.js.map +0 -1
  463. package/dist/cjs/db-page.entry.cjs.js.map +0 -1
  464. package/dist/cjs/floating-components-ogUqz72V.js.map +0 -1
  465. package/dist/cjs/index-9urL1KCD.js.map +0 -1
  466. package/dist/cjs/navigation-DauGE-qj.js.map +0 -1
  467. package/dist/collection/components/brand/brand.js.map +0 -1
  468. package/dist/collection/components/brand/index.js +0 -3
  469. package/dist/collection/components/brand/index.js.map +0 -1
  470. package/dist/collection/components/brand/model.js.map +0 -1
  471. package/dist/collection/components/header/header.js.map +0 -1
  472. package/dist/collection/components/header/index.js +0 -3
  473. package/dist/collection/components/header/index.js.map +0 -1
  474. package/dist/collection/components/header/model.js.map +0 -1
  475. package/dist/collection/components/page/index.js +0 -3
  476. package/dist/collection/components/page/index.js.map +0 -1
  477. package/dist/collection/components/page/model.js +0 -3
  478. package/dist/collection/components/page/model.js.map +0 -1
  479. package/dist/collection/components/page/page.js.map +0 -1
  480. package/dist/db-ux/db-brand.entry.esm.js.map +0 -1
  481. package/dist/db-ux/db-header.entry.esm.js.map +0 -1
  482. package/dist/db-ux/db-page.entry.esm.js.map +0 -1
  483. package/dist/db-ux/p-340bb722.entry.js +0 -2
  484. package/dist/db-ux/p-340bb722.entry.js.map +0 -1
  485. package/dist/db-ux/p-3d7eb768.entry.js +0 -2
  486. package/dist/db-ux/p-3d7eb768.entry.js.map +0 -1
  487. package/dist/db-ux/p-51de401e.entry.js +0 -2
  488. package/dist/db-ux/p-58007675.entry.js +0 -2
  489. package/dist/db-ux/p-58007675.entry.js.map +0 -1
  490. package/dist/db-ux/p-5b45664d.entry.js +0 -2
  491. package/dist/db-ux/p-5c6da0f3.entry.js +0 -2
  492. package/dist/db-ux/p-6e35a260.entry.js +0 -2
  493. package/dist/db-ux/p-6e35a260.entry.js.map +0 -1
  494. package/dist/db-ux/p-72330d25.entry.js +0 -2
  495. package/dist/db-ux/p-72330d25.entry.js.map +0 -1
  496. package/dist/db-ux/p-84dd974f.entry.js +0 -2
  497. package/dist/db-ux/p-84dd974f.entry.js.map +0 -1
  498. package/dist/db-ux/p-8b41c30e.entry.js +0 -2
  499. package/dist/db-ux/p-8b41c30e.entry.js.map +0 -1
  500. package/dist/db-ux/p-971a16c3.entry.js +0 -2
  501. package/dist/db-ux/p-971a16c3.entry.js.map +0 -1
  502. package/dist/db-ux/p-9d0996e9.entry.js +0 -2
  503. package/dist/db-ux/p-CNzNv7KB.js +0 -3
  504. package/dist/db-ux/p-CNzNv7KB.js.map +0 -1
  505. package/dist/db-ux/p-DC9V_oNU.js +0 -2
  506. package/dist/db-ux/p-DC9V_oNU.js.map +0 -1
  507. package/dist/db-ux/p-G-TursYV.js +0 -2
  508. package/dist/db-ux/p-G-TursYV.js.map +0 -1
  509. package/dist/db-ux/p-a3541c03.entry.js +0 -2
  510. package/dist/db-ux/p-a3541c03.entry.js.map +0 -1
  511. package/dist/db-ux/p-c8bdd952.entry.js +0 -2
  512. package/dist/db-ux/p-c8cdde8c.entry.js +0 -2
  513. package/dist/db-ux/p-ce895e0c.entry.js +0 -2
  514. package/dist/db-ux/p-ce895e0c.entry.js.map +0 -1
  515. package/dist/db-ux/p-d4e3d1db.entry.js +0 -2
  516. package/dist/db-ux/p-d4e3d1db.entry.js.map +0 -1
  517. package/dist/db-ux/p-d6aeabf0.entry.js +0 -2
  518. package/dist/db-ux/p-e9c323af.entry.js +0 -2
  519. package/dist/db-ux/p-e9c323af.entry.js.map +0 -1
  520. package/dist/db-ux/p-ec957247.entry.js +0 -2
  521. package/dist/db-ux/p-ec957247.entry.js.map +0 -1
  522. package/dist/db-ux/p-fdf5578d.entry.js +0 -2
  523. package/dist/db-ux/p-fdf5578d.entry.js.map +0 -1
  524. package/dist/db-ux/p-sP2NlPcu.js +0 -2
  525. package/dist/db-ux/p-sP2NlPcu.js.map +0 -1
  526. package/dist/esm/constants-DC9V_oNU.js.map +0 -1
  527. package/dist/esm/db-brand.entry.js.map +0 -1
  528. package/dist/esm/db-header.entry.js +0 -94
  529. package/dist/esm/db-header.entry.js.map +0 -1
  530. package/dist/esm/db-page.entry.js.map +0 -1
  531. package/dist/esm/floating-components-G-TursYV.js.map +0 -1
  532. package/dist/esm/index-CNzNv7KB.js.map +0 -1
  533. package/dist/esm/navigation--UdC9CzO.js.map +0 -1
  534. package/dist/types/components/brand/index.d.ts +0 -2
  535. package/dist/types/components/brand/model.d.ts +0 -10
  536. package/dist/types/components/header/header.d.ts +0 -33
  537. package/dist/types/components/header/index.d.ts +0 -2
  538. package/dist/types/components/header/model.d.ts +0 -44
  539. package/dist/types/components/page/index.d.ts +0 -2
  540. package/dist/types/components/page/model.d.ts +0 -36
  541. package/dist/types/components/page/page.d.ts +0 -25
  542. /package/dist/collection/components/{brand → control-panel-brand}/model.js +0 -0
  543. /package/dist/collection/components/{header → control-panel-desktop}/model.js +0 -0
  544. /package/dist/db-ux/{p-5c6da0f3.entry.js.map → p-1dccdff4.entry.js.map} +0 -0
  545. /package/dist/db-ux/{p-c8bdd952.entry.js.map → p-4645cc92.entry.js.map} +0 -0
  546. /package/dist/db-ux/{p-c5ff3d3f.entry.js.map → p-504a9cfc.entry.js.map} +0 -0
  547. /package/dist/db-ux/{p-e6e7719e.entry.js.map → p-53682d25.entry.js.map} +0 -0
  548. /package/dist/db-ux/{p-51de401e.entry.js.map → p-5be272f0.entry.js.map} +0 -0
  549. /package/dist/db-ux/{p-16f1fa7c.entry.js.map → p-5d292f94.entry.js.map} +0 -0
  550. /package/dist/db-ux/{p-02fcd4a8.entry.js.map → p-5e4ac324.entry.js.map} +0 -0
  551. /package/dist/db-ux/{p-f03f7076.entry.js.map → p-6fd148ce.entry.js.map} +0 -0
  552. /package/dist/db-ux/{p-5b45664d.entry.js.map → p-7153636c.entry.js.map} +0 -0
  553. /package/dist/db-ux/{p-9d0996e9.entry.js.map → p-73614370.entry.js.map} +0 -0
  554. /package/dist/db-ux/{p-209cf793.entry.js.map → p-81d7921b.entry.js.map} +0 -0
  555. /package/dist/db-ux/{p-d7168627.entry.js.map → p-8262ab69.entry.js.map} +0 -0
  556. /package/dist/db-ux/{p-c8cdde8c.entry.js.map → p-99d090b7.entry.js.map} +0 -0
  557. /package/dist/db-ux/{p-bd7d1646.entry.js.map → p-b713791b.entry.js.map} +0 -0
  558. /package/dist/db-ux/{p-a2b55626.entry.js.map → p-d6047812.entry.js.map} +0 -0
@@ -37,9 +37,8 @@ export class DBTooltip {
37
37
  return;
38
38
  if (this._ref) {
39
39
  // This is a workaround for angular
40
- utilsDelay(() => {
41
- var _a;
42
- handleFixedPopover(this._ref, parent, (_a = this.placement) !== null && _a !== void 0 ? _a : "bottom");
40
+ void utilsDelay(() => {
41
+ handleFixedPopover(this._ref, parent);
43
42
  }, 1);
44
43
  }
45
44
  }
@@ -136,9 +135,9 @@ export class DBTooltip {
136
135
  }
137
136
  render() {
138
137
  var _a, _b;
139
- return (h("i", { key: '52251be6619b67fd037abcd6f3c0e6ad273e4e2d', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
138
+ return (h("i", { key: '61541950359cc85eb043b0cca5390fa17ebc1c99', class: cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
140
139
  this._ref = el;
141
- }, id: this._id, "data-emphasis": this.emphasis, "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, h("slot", { key: '3b71f1756c1fd865bf5e116e50c51dd095a9cec0' })));
140
+ }, id: this._id, "data-emphasis": this.emphasis, "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, h("slot", { key: '9c8b4d1039e41822bd32444b66ea764778f34840' })));
142
141
  }
143
142
  static get is() { return "db-tooltip"; }
144
143
  static get properties() {
@@ -193,31 +192,6 @@ export class DBTooltip {
193
192
  "setter": false,
194
193
  "reflect": false
195
194
  },
196
- "placement": {
197
- "type": "string",
198
- "attribute": "placement",
199
- "mutable": false,
200
- "complexType": {
201
- "original": "DBTooltipProps[\"placement\"]",
202
- "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
203
- "references": {
204
- "DBTooltipProps": {
205
- "location": "import",
206
- "path": "./model",
207
- "id": "src/components/tooltip/model.ts::DBTooltipProps"
208
- }
209
- }
210
- },
211
- "required": false,
212
- "optional": false,
213
- "docs": {
214
- "tags": [],
215
- "text": ""
216
- },
217
- "getter": false,
218
- "setter": false,
219
- "reflect": false
220
- },
221
195
  "className": {
222
196
  "type": "string",
223
197
  "attribute": "classname",
@@ -367,6 +341,31 @@ export class DBTooltip {
367
341
  "getter": false,
368
342
  "setter": false,
369
343
  "reflect": false
344
+ },
345
+ "placement": {
346
+ "type": "string",
347
+ "attribute": "placement",
348
+ "mutable": false,
349
+ "complexType": {
350
+ "original": "DBTooltipProps[\"placement\"]",
351
+ "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
352
+ "references": {
353
+ "DBTooltipProps": {
354
+ "location": "import",
355
+ "path": "./model",
356
+ "id": "src/components/tooltip/model.ts::DBTooltipProps"
357
+ }
358
+ }
359
+ },
360
+ "required": false,
361
+ "optional": false,
362
+ "docs": {
363
+ "tags": [],
364
+ "text": ""
365
+ },
366
+ "getter": false,
367
+ "setter": false,
368
+ "reflect": false
370
369
  }
371
370
  };
372
371
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EACL,GAAG,EACH,kBAAkB,EAClB,KAAK,IAAI,UAAU,EACnB,IAAI,GACL,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAGr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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { DEFAULT_ID } from \"../../shared/constants\";\nimport { ClickEvent } from \"../../shared/model\";\nimport {\n cls,\n getBooleanAsString,\n delay as utilsDelay,\n uuid,\n} from \"../../utils\";\nimport { DocumentScrollListener } from \"../../utils/document-scroll-listener\";\nimport { handleFixedPopover } from \"../../utils/floating-components\";\nimport { DBTooltipProps, DBTooltipState } from \"./model\";\n\nimport { Component, h, Fragment, Watch, Prop, State } from \"@stencil/core\";\n\n\n/**\n * @slot children - This is a default/unnamed slot\n\n */\n @Component({\n tag: \"db-tooltip\",\n})\nexport class DBTooltip {\n private _ref!: HTMLDivElement | any;\n @Prop() id: DBTooltipProps[\"id\"];\n @Prop() variant: DBTooltipProps[\"variant\"];\n @Prop() placement: DBTooltipProps[\"placement\"];\n @Prop({attribute: \"classname\"}) className: DBTooltipProps[\"className\"];\n @Prop() emphasis: DBTooltipProps[\"emphasis\"];\n @Prop() animation: DBTooltipProps[\"animation\"];\n @Prop() delay: DBTooltipProps[\"delay\"];\n @Prop() width: DBTooltipProps[\"width\"];\n @Prop() showArrow: DBTooltipProps[\"showArrow\"];\n @State() _id = DEFAULT_ID;\n @State() initialized = false;\n @State() _documentScrollListenerCallbackId = undefined;\n @State() _observer = undefined;\n\n handleClick(event: ClickEvent<HTMLElement>) {\n event.stopPropagation();\n }\n handleEscape(event: any) {\n if (\n (!event || event.key === \"Escape\") &&\n this._ref &&\n getComputedStyle(this._ref).visibility === \"visible\"\n ) {\n this.getParent().blur();\n }\n }\n getParent() {\n let parent = this._ref.parentElement;\n if (parent && parent.localName.includes(\"tooltip\")) {\n // Angular workaround\n parent = parent.parentElement;\n }\n return parent;\n }\n handleAutoPlacement(parent?: HTMLElement) {\n if (!parent) return;\n if (this._ref) {\n // This is a workaround for angular\n utilsDelay(() => {\n handleFixedPopover(\n this._ref,\n parent,\n (this.placement as unknown as string) ?? \"bottom\"\n );\n }, 1);\n }\n }\n handleDocumentScroll(event: any, parent?: HTMLElement) {\n if (event?.target?.contains && event?.target?.contains(this._ref)) {\n this.handleAutoPlacement(parent);\n }\n }\n handleLeave() {\n if (this._documentScrollListenerCallbackId) {\n new DocumentScrollListener().removeCallback(\n this._documentScrollListenerCallbackId!\n );\n }\n this._observer?.unobserve(this.getParent());\n }\n handleEnter(parent?: HTMLElement) {\n this._documentScrollListenerCallbackId =\n new DocumentScrollListener().addCallback((event) =>\n this.handleDocumentScroll(event, parent)\n );\n this.handleAutoPlacement(parent);\n this._observer?.observe(this.getParent());\n }\n\n /**\n * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.\n * @param element the ref for the component\n * @param customElementSelector the custom element like `my-component`\n */\n private enableAttributePassing(\n element: HTMLElement | null,\n customElementSelector: string\n ) {\n const parent = element?.closest(customElementSelector);\n if (element && parent) {\n const attributes = parent.attributes;\n for (let i = 0; i < attributes.length; i++) {\n const attr = attributes.item(i);\n if (\n attr &&\n (attr.name.startsWith(\"data-\") || attr.name.startsWith(\"aria-\"))\n ) {\n element.setAttribute(attr.name, attr.value);\n parent.removeAttribute(attr.name);\n }\n if (attr && attr.name === \"class\") {\n const isWebComponent = attr.value.includes(\"hydrated\");\n const value = attr.value.replace(\"hydrated\", \"\").trim();\n const currentClass = element.getAttribute(\"class\");\n element.setAttribute(\n attr.name,\n `${currentClass ? `${currentClass} ` : \"\"}${value}`\n );\n if (isWebComponent) {\n // Stencil is using this class for lazy loading component\n parent.setAttribute(\"class\", \"hydrated\");\n } else {\n parent.removeAttribute(attr.name);\n }\n }\n }\n }\n }\n\n watch0Fn() {\n if (this._ref && this.initialized && this._id) {\n const parent = this.getParent();\n if (parent) {\n [\"mouseenter\", \"focusin\"].forEach((event) => {\n parent.addEventListener(event, () => this.handleEnter(parent));\n });\n parent.addEventListener(\"keydown\", (event) => this.handleEscape(event));\n [\"mouseleave\", \"focusout\"].forEach((event) => {\n parent.addEventListener(event, () => this.handleLeave());\n });\n parent.dataset[\"hasTooltip\"] = \"true\";\n if (this.variant === \"label\") {\n parent.setAttribute(\"aria-labelledby\", this._id);\n } else {\n parent.setAttribute(\"aria-describedby\", this._id);\n }\n }\n if (typeof window !== \"undefined\" && \"IntersectionObserver\" in window) {\n this._observer = new IntersectionObserver((payload) => {\n const entry = payload.find(\n ({ target }) => target === this.getParent()\n );\n if (entry && !entry.isIntersecting) {\n this.handleEscape(false);\n }\n });\n }\n this.initialized = false;\n }\n }\n\n @Watch(\"_ref\")\n @Watch(\"initialized\")\n watch0() {\n this.watch0Fn();\n }\n\n componentDidLoad() {\n this.enableAttributePassing(this._ref, \"db-tooltip\");\n this._id = this.id || \"tooltip-\" + uuid();\n this.initialized = true;\n this.watch0Fn();\n }\n\n render() {\n return (\n <i\n class={cls(\"db-tooltip\", this.className)}\n role=\"tooltip\"\n aria-hidden=\"true\"\n data-gap=\"true\"\n ref={(el: any) => {\n this._ref = el;\n }}\n id={this._id}\n data-emphasis={this.emphasis}\n data-animation={getBooleanAsString(this.animation ?? true)}\n data-delay={this.delay}\n data-width={this.width}\n data-show-arrow={getBooleanAsString(this.showArrow ?? true)}\n data-placement={this.placement}\n onClick={(event) => this.handleClick(event)}\n >\n <slot></slot>\n </i>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,OAAO,EACL,GAAG,EACH,kBAAkB,EAClB,KAAK,IAAI,UAAU,EACnB,IAAI,GACL,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,kBAAk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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { DEFAULT_ID } from \"../../shared/constants\";\nimport { ClickEvent } from \"../../shared/model\";\nimport {\n cls,\n getBooleanAsString,\n delay as utilsDelay,\n uuid,\n} from \"../../utils\";\nimport { DocumentScrollListener } from \"../../utils/document-scroll-listener\";\nimport { handleFixedPopover } from \"../../utils/floating-components\";\nimport { DBTooltipProps, DBTooltipState } from \"./model\";\n\nimport { Component, h, Fragment, Watch, Prop, State } from \"@stencil/core\";\n\n\n/**\n * @slot children - This is a default/unnamed slot\n\n */\n @Component({\n tag: \"db-tooltip\",\n})\nexport class DBTooltip {\n private _ref!: HTMLDivElement | any;\n @Prop() id: DBTooltipProps[\"id\"];\n @Prop() variant: DBTooltipProps[\"variant\"];\n @Prop({attribute: \"classname\"}) className: DBTooltipProps[\"className\"];\n @Prop() emphasis: DBTooltipProps[\"emphasis\"];\n @Prop() animation: DBTooltipProps[\"animation\"];\n @Prop() delay: DBTooltipProps[\"delay\"];\n @Prop() width: DBTooltipProps[\"width\"];\n @Prop() showArrow: DBTooltipProps[\"showArrow\"];\n @Prop() placement: DBTooltipProps[\"placement\"];\n @State() _id = DEFAULT_ID;\n @State() initialized = false;\n @State() _documentScrollListenerCallbackId = undefined;\n @State() _observer = undefined;\n\n handleClick(event: ClickEvent<HTMLElement>) {\n event.stopPropagation();\n }\n handleEscape(event: any) {\n if (\n (!event || event.key === \"Escape\") &&\n this._ref &&\n getComputedStyle(this._ref).visibility === \"visible\"\n ) {\n this.getParent().blur();\n }\n }\n getParent() {\n let parent = this._ref.parentElement;\n if (parent && parent.localName.includes(\"tooltip\")) {\n // Angular workaround\n parent = parent.parentElement;\n }\n return parent;\n }\n handleAutoPlacement(parent?: HTMLElement) {\n if (!parent) return;\n if (this._ref) {\n // This is a workaround for angular\n void utilsDelay(() => {\n handleFixedPopover(this._ref, parent);\n }, 1);\n }\n }\n handleDocumentScroll(event: any, parent?: HTMLElement) {\n if (event?.target?.contains && event?.target?.contains(this._ref)) {\n this.handleAutoPlacement(parent);\n }\n }\n handleLeave() {\n if (this._documentScrollListenerCallbackId) {\n new DocumentScrollListener().removeCallback(\n this._documentScrollListenerCallbackId!\n );\n }\n this._observer?.unobserve(this.getParent());\n }\n handleEnter(parent?: HTMLElement) {\n this._documentScrollListenerCallbackId =\n new DocumentScrollListener().addCallback((event) =>\n this.handleDocumentScroll(event, parent)\n );\n this.handleAutoPlacement(parent);\n this._observer?.observe(this.getParent());\n }\n\n /**\n * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.\n * @param element the ref for the component\n * @param customElementSelector the custom element like `my-component`\n */\n private enableAttributePassing(\n element: HTMLElement | null,\n customElementSelector: string\n ) {\n const parent = element?.closest(customElementSelector);\n if (element && parent) {\n const attributes = parent.attributes;\n for (let i = 0; i < attributes.length; i++) {\n const attr = attributes.item(i);\n if (\n attr &&\n (attr.name.startsWith(\"data-\") || attr.name.startsWith(\"aria-\"))\n ) {\n element.setAttribute(attr.name, attr.value);\n parent.removeAttribute(attr.name);\n }\n if (attr && attr.name === \"class\") {\n const isWebComponent = attr.value.includes(\"hydrated\");\n const value = attr.value.replace(\"hydrated\", \"\").trim();\n const currentClass = element.getAttribute(\"class\");\n element.setAttribute(\n attr.name,\n `${currentClass ? `${currentClass} ` : \"\"}${value}`\n );\n if (isWebComponent) {\n // Stencil is using this class for lazy loading component\n parent.setAttribute(\"class\", \"hydrated\");\n } else {\n parent.removeAttribute(attr.name);\n }\n }\n }\n }\n }\n\n watch0Fn() {\n if (this._ref && this.initialized && this._id) {\n const parent = this.getParent();\n if (parent) {\n [\"mouseenter\", \"focusin\"].forEach((event) => {\n parent.addEventListener(event, () => this.handleEnter(parent));\n });\n parent.addEventListener(\"keydown\", (event) => this.handleEscape(event));\n [\"mouseleave\", \"focusout\"].forEach((event) => {\n parent.addEventListener(event, () => this.handleLeave());\n });\n parent.dataset[\"hasTooltip\"] = \"true\";\n if (this.variant === \"label\") {\n parent.setAttribute(\"aria-labelledby\", this._id);\n } else {\n parent.setAttribute(\"aria-describedby\", this._id);\n }\n }\n if (typeof window !== \"undefined\" && \"IntersectionObserver\" in window) {\n this._observer = new IntersectionObserver((payload) => {\n const entry = payload.find(\n ({ target }) => target === this.getParent()\n );\n if (entry && !entry.isIntersecting) {\n this.handleEscape(false);\n }\n });\n }\n this.initialized = false;\n }\n }\n\n @Watch(\"_ref\")\n @Watch(\"initialized\")\n watch0() {\n this.watch0Fn();\n }\n\n componentDidLoad() {\n this.enableAttributePassing(this._ref, \"db-tooltip\");\n this._id = this.id || \"tooltip-\" + uuid();\n this.initialized = true;\n this.watch0Fn();\n }\n\n render() {\n return (\n <i\n class={cls(\"db-tooltip\", this.className)}\n role=\"tooltip\"\n aria-hidden=\"true\"\n data-gap=\"true\"\n ref={(el: any) => {\n this._ref = el;\n }}\n id={this._id}\n data-emphasis={this.emphasis}\n data-animation={getBooleanAsString(this.animation ?? true)}\n data-delay={this.delay}\n data-width={this.width}\n data-show-arrow={getBooleanAsString(this.showArrow ?? true)}\n data-placement={this.placement}\n onClick={(event) => this.handleClick(event)}\n >\n <slot></slot>\n </i>\n );\n }\n}\n"]}
@@ -4,14 +4,24 @@ export * from './components/accordion-item/model';
4
4
  export * from './components/accordion/model';
5
5
  export * from './components/badge';
6
6
  export * from './components/badge/model';
7
- export * from './components/brand';
8
- export * from './components/brand/model';
9
7
  export * from './components/button';
10
8
  export * from './components/button/model';
11
9
  export * from './components/card';
12
10
  export * from './components/card/model';
13
11
  export * from './components/checkbox';
14
12
  export * from './components/checkbox/model';
13
+ export * from './components/control-panel-brand';
14
+ export * from './components/control-panel-brand/model';
15
+ export * from './components/control-panel-desktop';
16
+ export * from './components/control-panel-desktop/model';
17
+ export * from './components/control-panel-meta-navigation';
18
+ export * from './components/control-panel-meta-navigation/model';
19
+ export * from './components/control-panel-mobile';
20
+ export * from './components/control-panel-mobile/model';
21
+ export * from './components/control-panel-primary-actions';
22
+ export * from './components/control-panel-primary-actions/model';
23
+ export * from './components/control-panel-secondary-actions';
24
+ export * from './components/control-panel-secondary-actions/model';
15
25
  export * from './components/custom-select';
16
26
  export * from './components/custom-select-dropdown';
17
27
  export * from './components/custom-select-dropdown/model';
@@ -26,8 +36,6 @@ export * from './components/divider';
26
36
  export * from './components/divider/model';
27
37
  export * from './components/drawer';
28
38
  export * from './components/drawer/model';
29
- export * from './components/header';
30
- export * from './components/header/model';
31
39
  export * from './components/icon';
32
40
  export * from './components/icon/model';
33
41
  export * from './components/infotext';
@@ -38,12 +46,12 @@ export * from './components/link';
38
46
  export * from './components/link/model';
39
47
  export * from './components/navigation';
40
48
  export * from './components/navigation-item';
49
+ export * from './components/navigation-item-group';
50
+ export * from './components/navigation-item-group/model';
41
51
  export * from './components/navigation-item/model';
42
52
  export * from './components/navigation/model';
43
53
  export * from './components/notification';
44
54
  export * from './components/notification/model';
45
- export * from './components/page';
46
- export * from './components/page/model';
47
55
  export * from './components/popover';
48
56
  export * from './components/popover/model';
49
57
  export * from './components/radio';
@@ -52,6 +60,8 @@ export * from './components/section';
52
60
  export * from './components/section/model';
53
61
  export * from './components/select';
54
62
  export * from './components/select/model';
63
+ export * from './components/shell';
64
+ export * from './components/shell/model';
55
65
  export * from './components/stack';
56
66
  export * from './components/stack/model';
57
67
  export * from './components/switch';
@@ -77,4 +87,7 @@ export * from './utils/document-scroll-listener';
77
87
  export * from './utils/floating-components';
78
88
  export * from './utils/index';
79
89
  export * from './utils/navigation';
90
+ export * from './components/shell-sub-navigation';
91
+ export * from "./components/control-panel-flat-icon-navigation";
92
+ export * from "./components/control-panel-flat-icon-navigation/model";
80
93
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","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CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAA","sourcesContent":["export * from './components/accordion';\nexport * from './components/accordion-item';\nexport * from './components/accordion-item/model';\nexport * from './components/accordion/model';\nexport * from './components/badge';\nexport * from './components/badge/model';\nexport * from './components/brand';\nexport * from './components/brand/model';\nexport * from './components/button';\nexport * from './components/button/model';\nexport * from './components/card';\nexport * from './components/card/model';\nexport * from './components/checkbox';\nexport * from './components/checkbox/model';\nexport * from './components/custom-select';\nexport * from './components/custom-select-dropdown';\nexport * from './components/custom-select-dropdown/model';\nexport * from './components/custom-select-form-field';\nexport * from './components/custom-select-form-field/model';\nexport * from './components/custom-select-list';\nexport * from './components/custom-select-list-item';\nexport * from './components/custom-select-list-item/model';\nexport * from './components/custom-select-list/model';\nexport * from './components/custom-select/model';\nexport * from './components/divider';\nexport * from './components/divider/model';\nexport * from './components/drawer';\nexport * from './components/drawer/model';\nexport * from './components/header';\nexport * from './components/header/model';\nexport * from './components/icon';\nexport * from './components/icon/model';\nexport * from './components/infotext';\nexport * from './components/infotext/model';\nexport * from './components/input';\nexport * from './components/input/model';\nexport * from './components/link';\nexport * from './components/link/model';\nexport * from './components/navigation';\nexport * from './components/navigation-item';\nexport * from './components/navigation-item/model';\nexport * from './components/navigation/model';\nexport * from './components/notification';\nexport * from './components/notification/model';\nexport * from './components/page';\nexport * from './components/page/model';\nexport * from './components/popover';\nexport * from './components/popover/model';\nexport * from './components/radio';\nexport * from './components/radio/model';\nexport * from './components/section';\nexport * from './components/section/model';\nexport * from './components/select';\nexport * from './components/select/model';\nexport * from './components/stack';\nexport * from './components/stack/model';\nexport * from './components/switch';\nexport * from './components/switch/model';\nexport * from './components/tab-item';\nexport * from './components/tab-item/model';\nexport * from './components/tab-list';\nexport * from './components/tab-list/model';\nexport * from './components/tab-panel';\nexport * from './components/tab-panel/model';\nexport * from './components/tabs';\nexport * from './components/tabs/model';\nexport * from './components/tag';\nexport * from './components/tag/model';\nexport * from './components/textarea';\nexport * from './components/textarea/model';\nexport * from './components/tooltip';\nexport * from './components/tooltip/model';\nexport * from './shared/constants';\nexport * from './shared/model';\nexport * from './utils/document-click-listener';\nexport * from './utils/document-scroll-listener';\nexport * from './utils/floating-components';\nexport * from './utils/index';\nexport * from './utils/navigation'"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,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,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mCAAmC,CAAC;AAClD,cAAc,iDAAiD,CAAC;AAChE,cAAc,uDAAuD,CAAA","sourcesContent":["export * from './components/accordion';\nexport * from './components/accordion-item';\nexport * from './components/accordion-item/model';\nexport * from './components/accordion/model';\nexport * from './components/badge';\nexport * from './components/badge/model';\nexport * from './components/button';\nexport * from './components/button/model';\nexport * from './components/card';\nexport * from './components/card/model';\nexport * from './components/checkbox';\nexport * from './components/checkbox/model';\nexport * from './components/control-panel-brand';\nexport * from './components/control-panel-brand/model';\nexport * from './components/control-panel-desktop';\nexport * from './components/control-panel-desktop/model';\nexport * from './components/control-panel-meta-navigation';\nexport * from './components/control-panel-meta-navigation/model';\nexport * from './components/control-panel-mobile';\nexport * from './components/control-panel-mobile/model';\nexport * from './components/control-panel-primary-actions';\nexport * from './components/control-panel-primary-actions/model';\nexport * from './components/control-panel-secondary-actions';\nexport * from './components/control-panel-secondary-actions/model';\nexport * from './components/custom-select';\nexport * from './components/custom-select-dropdown';\nexport * from './components/custom-select-dropdown/model';\nexport * from './components/custom-select-form-field';\nexport * from './components/custom-select-form-field/model';\nexport * from './components/custom-select-list';\nexport * from './components/custom-select-list-item';\nexport * from './components/custom-select-list-item/model';\nexport * from './components/custom-select-list/model';\nexport * from './components/custom-select/model';\nexport * from './components/divider';\nexport * from './components/divider/model';\nexport * from './components/drawer';\nexport * from './components/drawer/model';\nexport * from './components/icon';\nexport * from './components/icon/model';\nexport * from './components/infotext';\nexport * from './components/infotext/model';\nexport * from './components/input';\nexport * from './components/input/model';\nexport * from './components/link';\nexport * from './components/link/model';\nexport * from './components/navigation';\nexport * from './components/navigation-item';\nexport * from './components/navigation-item-group';\nexport * from './components/navigation-item-group/model';\nexport * from './components/navigation-item/model';\nexport * from './components/navigation/model';\nexport * from './components/notification';\nexport * from './components/notification/model';\nexport * from './components/popover';\nexport * from './components/popover/model';\nexport * from './components/radio';\nexport * from './components/radio/model';\nexport * from './components/section';\nexport * from './components/section/model';\nexport * from './components/select';\nexport * from './components/select/model';\nexport * from './components/shell';\nexport * from './components/shell/model';\nexport * from './components/stack';\nexport * from './components/stack/model';\nexport * from './components/switch';\nexport * from './components/switch/model';\nexport * from './components/tab-item';\nexport * from './components/tab-item/model';\nexport * from './components/tab-list';\nexport * from './components/tab-list/model';\nexport * from './components/tab-panel';\nexport * from './components/tab-panel/model';\nexport * from './components/tabs';\nexport * from './components/tabs/model';\nexport * from './components/tag';\nexport * from './components/tag/model';\nexport * from './components/textarea';\nexport * from './components/textarea/model';\nexport * from './components/tooltip';\nexport * from './components/tooltip/model';\nexport * from './shared/constants';\nexport * from './shared/model';\nexport * from './utils/document-click-listener';\nexport * from './utils/document-scroll-listener';\nexport * from './utils/floating-components';\nexport * from './utils/index';\nexport * from './utils/navigation';\nexport * from './components/shell-sub-navigation';\nexport * from \"./components/control-panel-flat-icon-navigation\";\nexport * from \"./components/control-panel-flat-icon-navigation/model\""]}
@@ -14,6 +14,8 @@ export const DEFAULT_INVALID_MESSAGE = 'TODO: Add an invalidMessage';
14
14
  export const DEFAULT_REMOVE = 'Remove';
15
15
  export const DEFAULT_BACK = 'Back';
16
16
  export const DEFAULT_SELECTED = 'Selected';
17
+ export const DEFAULT_EXPAND = 'Expand';
18
+ export const DEFAULT_COLLAPSE = 'Collapse';
17
19
  export const DEFAULT_BURGER_MENU = 'BurgerMenu';
18
20
  export const DEFAULT_ICON = 'brand';
19
21
  export const DEFAULT_ROWS = 4;
@@ -68,6 +70,7 @@ export const COLORS = Object.entries(COLOR).map(([, value]) => value);
68
70
  export const COLORS_SIMPLE = Object.entries(COLOR_SIMPLE).map(([, value]) => value);
69
71
  export var SEMANTIC;
70
72
  (function (SEMANTIC) {
73
+ SEMANTIC["NEUTRAL"] = "neutral";
71
74
  SEMANTIC["CRITICAL"] = "critical";
72
75
  SEMANTIC["INFORMATIONAL"] = "informational";
73
76
  SEMANTIC["WARNING"] = "warning";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAW,sBAAsB,CAAC;AACzD,MAAM,CAAC,MAAM,aAAa,GAAW,qBAAqB,CAAC;AAC3D,MAAM,CAAC,MAAM,mBAAmB,GAAW,GAAG,CAAC;AAC/C,MAAM,CAAC,MAAM,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,CAAA;IACvB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,qCAA2B,CAAA;AAC7B,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB;AACD,MAAM,CAAC,MAAM,SAAS,GAAe,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;AACxF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;CACZ,CAAC;AACF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,iBAC/B,IAAI,EAAE,SAAS,IACZ,gBAAgB,GAClB;QACD,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,IAAI;KACb,kBACC,IAAI,EAAE,QAAQ,IACX,gBAAgB,EACnB,CAAA","sourcesContent":["export const DEFAULT_ID: string = 'OVERWRITE_DEFAULT_ID';\nexport const DEFAULT_LABEL: string = 'LABEL SHOULD BE SET';\nexport const DEFAULT_PLACEHOLDER: string = ' ';\nexport const DEFAULT_MESSAGE: string = 'MESSAGE SHOULD BE SET';\nexport const DEFAULT_LABEL_ID_SUFFIX: string = '-label';\nexport const DEFAULT_SELECT_ID_SUFFIX: string = '-select';\nexport const DEFAULT_MESSAGE_ID_SUFFIX: string = '-message';\nexport const DEFAULT_VALID_MESSAGE_ID_SUFFIX: string = '-valid-message';\nexport const DEFAULT_INVALID_MESSAGE_ID_SUFFIX: string = '-invalid-message';\nexport const DEFAULT_PLACEHOLDER_ID_SUFFIX: string = '-placeholder';\nexport const DEFAULT_DATALIST_ID_SUFFIX: string = '-datalist';\nexport const DEFAULT_VALID_MESSAGE: string = 'TODO: Add a validMessage';\nexport const DEFAULT_INVALID_MESSAGE: string = 'TODO: Add an invalidMessage';\nexport const DEFAULT_REMOVE: string = 'Remove';\nexport const DEFAULT_BACK: string = 'Back';\nexport const DEFAULT_SELECTED: string = 'Selected';\nexport const DEFAULT_BURGER_MENU: string = 'BurgerMenu';\nexport const DEFAULT_ICON: string = 'brand';\nexport const DEFAULT_ROWS: number = 4;\nexport const DEFAULT_CLOSE_BUTTON: string = 'Close';\nexport const DENSITY_CONST: string = 'density';\nexport const COLOR_CONST: string = 'color';\nexport enum DENSITY {\n 'FUNCTIONAL' = 'functional',\n 'REGULAR' = 'regular',\n 'EXPRESSIVE' = 'expressive',\n}\nexport const DENSITIES: DENSITY[] = Object.entries(DENSITY).map(([, value]) => value);\nexport enum COLOR_SIMPLE {\n 'PRIMARY' = 'primary',\n}\nexport enum COLOR {\n 'NEUTRAL_BG_LEVEL_1' = 'neutral-bg-basic-level-1',\n 'NEUTRAL_BG_LEVEL_2' = 'neutral-bg-basic-level-2',\n 'NEUTRAL_BG_LEVEL_3' = 'neutral-bg-basic-level-3',\n 'NEUTRAL_BG_TRANSPARENT_SEMI' = 'neutral-bg-basic-transparent-semi',\n 'NEUTRAL_BG_TRANSPARENT_FULL' = 'neutral-bg-basic-transparent-full',\n 'BRAND_BG_LEVEL_1' = 'brand-bg-basic-level-1',\n 'BRAND_BG_LEVEL_2' = 'brand-bg-basic-level-2',\n 'BRAND_BG_LEVEL_3' = 'brand-bg-basic-level-3',\n 'BRAND_BG_TRANSPARENT_SEMI' = 'brand-bg-basic-transparent-semi',\n 'BRAND_BG_TRANSPARENT_FULL' = 'brand-bg-basic-transparent-full',\n 'SUCCESSFUL_BG_LEVEL_1' = 'successful-bg-basic-level-1',\n 'SUCCESSFUL_BG_LEVEL_2' = 'successful-bg-basic-level-2',\n 'SUCCESSFUL_BG_LEVEL_3' = 'successful-bg-basic-level-3',\n 'SUCCESSFUL_BG_TRANSPARENT_SEMI' = 'successful-bg-basic-transparent-semi',\n 'SUCCESSFUL_BG_TRANSPARENT_FULL' = 'successful-bg-basic-transparent-full',\n 'CRITICAL_BG_LEVEL_1' = 'critical-bg-basic-level-1',\n 'CRITICAL_BG_LEVEL_2' = 'critical-bg-basic-level-2',\n 'CRITICAL_BG_LEVEL_3' = 'critical-bg-basic-level-3',\n 'CRITICAL_BG_TRANSPARENT_SEMI' = 'critical-bg-basic-transparent-semi',\n 'CRITICAL_BG_TRANSPARENT_Full' = 'critical-bg-basic-transparent-full',\n 'WARNING_BG_LEVEL_1' = 'warning-bg-basic-level-1',\n 'WARNING_BG_LEVEL_2' = 'warning-bg-basic-level-2',\n 'WARNING_BG_LEVEL_3' = 'warning-bg-basic-level-3',\n 'WARNING_BG_TRANSPARENT_SEMI' = 'warning-bg-basic-transparent-semi',\n 'WARNING_BG_TRANSPARENT_FULL' = 'warning-bg-basic-transparent-full',\n 'INFORMATIONAL_BG_LEVEL_1' = 'informational-bg-basic-level-1',\n 'INFORMATIONAL_BG_LEVEL_2' = 'informational-bg-basic-level-2',\n 'INFORMATIONAL_BG_LEVEL_3' = 'informational-bg-basic-level-3',\n 'INFORMATIONAL_BG_TRANSPARENT_SEMI' = 'informational-bg-basic-transparent-semi',\n 'INFORMATIONAL_BG_TRANSPARENT_FULL' = 'informational-bg-basic-transparent-full',\n}\nexport const COLORS: COLOR[] = Object.entries(COLOR).map(([, value]) => value);\nexport const COLORS_SIMPLE: COLOR_SIMPLE[] = Object.entries(COLOR_SIMPLE).map(([, value]) => value);\nexport enum SEMANTIC {\n 'CRITICAL' = 'critical',\n 'INFORMATIONAL' = 'informational',\n 'WARNING' = 'warning',\n 'SUCCESSFUL' = 'successful',\n}\nexport const SEMANTICS: SEMANTIC[] = Object.entries(SEMANTIC).map(([, value]) => value);\nexport const DEFAULT_VIEWPORT = {\n width: 390,\n height: 884\n};\nexport const DESKTOP_VIEWPORT = {\n width: 1920,\n height: 1280\n};\n\n/**\n * Use those viewports if your component has a css media-query otherwise use the DEFAULT_VIEWPORT\n */\nexport const TESTING_VIEWPORTS = [{\n name: 'desktop',\n ...DESKTOP_VIEWPORT\n}, {\n name: 'tablet',\n width: 768,\n height: 1024\n}, {\n name: 'mobile',\n ...DEFAULT_VIEWPORT\n}]"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAW,sBAAsB,CAAC;AACzD,MAAM,CAAC,MAAM,aAAa,GAAW,qBAAqB,CAAC;AAC3D,MAAM,CAAC,MAAM,mBAAmB,GAAW,GAAG,CAAC;AAC/C,MAAM,CAAC,MAAM,eAAe,GAAW,uBAAuB,CAAC;AAC/D,MAAM,CAAC,MAAM,uBAAuB,GAAW,QAAQ,CAAC;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAW,SAAS,CAAC;AAC1D,MAAM,CAAC,MAAM,yBAAyB,GAAW,UAAU,CAAC;AAC5D,MAAM,CAAC,MAAM,+BAA+B,GAAW,gBAAgB,CAAC;AACxE,MAAM,CAAC,MAAM,iCAAiC,GAAW,kBAAkB,CAAC;AAC5E,MAAM,CAAC,MAAM,6BAA6B,GAAW,cAAc,CAAC;AACpE,MAAM,CAAC,MAAM,0BAA0B,GAAW,WAAW,CAAC;AAC9D,MAAM,CAAC,MAAM,qBAAqB,GAAW,0BAA0B,CAAC;AACxE,MAAM,CAAC,MAAM,uBAAuB,GAAW,6BAA6B,CAAC;AAC7E,MAAM,CAAC,MAAM,cAAc,GAAW,QAAQ,CAAC;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAW,MAAM,CAAC;AAC3C,MAAM,CAAC,MAAM,gBAAgB,GAAW,UAAU,CAAC;AACnD,MAAM,CAAC,MAAM,cAAc,GAAW,QAAQ,CAAC;AAC/C,MAAM,CAAC,MAAM,gBAAgB,GAAW,UAAU,CAAC;AACnD,MAAM,CAAC,MAAM,mBAAmB,GAAW,YAAY,CAAC;AACxD,MAAM,CAAC,MAAM,YAAY,GAAW,OAAO,CAAC;AAC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ULT_ID';\nexport const DEFAULT_LABEL: string = 'LABEL SHOULD BE SET';\nexport const DEFAULT_PLACEHOLDER: string = ' ';\nexport const DEFAULT_MESSAGE: string = 'MESSAGE SHOULD BE SET';\nexport const DEFAULT_LABEL_ID_SUFFIX: string = '-label';\nexport const DEFAULT_SELECT_ID_SUFFIX: string = '-select';\nexport const DEFAULT_MESSAGE_ID_SUFFIX: string = '-message';\nexport const DEFAULT_VALID_MESSAGE_ID_SUFFIX: string = '-valid-message';\nexport const DEFAULT_INVALID_MESSAGE_ID_SUFFIX: string = '-invalid-message';\nexport const DEFAULT_PLACEHOLDER_ID_SUFFIX: string = '-placeholder';\nexport const DEFAULT_DATALIST_ID_SUFFIX: string = '-datalist';\nexport const DEFAULT_VALID_MESSAGE: string = 'TODO: Add a validMessage';\nexport const DEFAULT_INVALID_MESSAGE: string = 'TODO: Add an invalidMessage';\nexport const DEFAULT_REMOVE: string = 'Remove';\nexport const DEFAULT_BACK: string = 'Back';\nexport const DEFAULT_SELECTED: string = 'Selected';\nexport const DEFAULT_EXPAND: string = 'Expand';\nexport const DEFAULT_COLLAPSE: string = 'Collapse';\nexport const DEFAULT_BURGER_MENU: string = 'BurgerMenu';\nexport const DEFAULT_ICON: string = 'brand';\nexport const DEFAULT_ROWS: number = 4;\nexport const DEFAULT_CLOSE_BUTTON: string = 'Close';\nexport const DENSITY_CONST: string = 'density';\nexport const COLOR_CONST: string = 'color';\nexport enum DENSITY {\n 'FUNCTIONAL' = 'functional',\n 'REGULAR' = 'regular',\n 'EXPRESSIVE' = 'expressive',\n}\nexport const DENSITIES: DENSITY[] = Object.entries(DENSITY).map(([, value]) => value);\nexport enum COLOR_SIMPLE {\n 'PRIMARY' = 'primary',\n}\nexport enum COLOR {\n 'NEUTRAL_BG_LEVEL_1' = 'neutral-bg-basic-level-1',\n 'NEUTRAL_BG_LEVEL_2' = 'neutral-bg-basic-level-2',\n 'NEUTRAL_BG_LEVEL_3' = 'neutral-bg-basic-level-3',\n 'NEUTRAL_BG_TRANSPARENT_SEMI' = 'neutral-bg-basic-transparent-semi',\n 'NEUTRAL_BG_TRANSPARENT_FULL' = 'neutral-bg-basic-transparent-full',\n 'BRAND_BG_LEVEL_1' = 'brand-bg-basic-level-1',\n 'BRAND_BG_LEVEL_2' = 'brand-bg-basic-level-2',\n 'BRAND_BG_LEVEL_3' = 'brand-bg-basic-level-3',\n 'BRAND_BG_TRANSPARENT_SEMI' = 'brand-bg-basic-transparent-semi',\n 'BRAND_BG_TRANSPARENT_FULL' = 'brand-bg-basic-transparent-full',\n 'SUCCESSFUL_BG_LEVEL_1' = 'successful-bg-basic-level-1',\n 'SUCCESSFUL_BG_LEVEL_2' = 'successful-bg-basic-level-2',\n 'SUCCESSFUL_BG_LEVEL_3' = 'successful-bg-basic-level-3',\n 'SUCCESSFUL_BG_TRANSPARENT_SEMI' = 'successful-bg-basic-transparent-semi',\n 'SUCCESSFUL_BG_TRANSPARENT_FULL' = 'successful-bg-basic-transparent-full',\n 'CRITICAL_BG_LEVEL_1' = 'critical-bg-basic-level-1',\n 'CRITICAL_BG_LEVEL_2' = 'critical-bg-basic-level-2',\n 'CRITICAL_BG_LEVEL_3' = 'critical-bg-basic-level-3',\n 'CRITICAL_BG_TRANSPARENT_SEMI' = 'critical-bg-basic-transparent-semi',\n 'CRITICAL_BG_TRANSPARENT_Full' = 'critical-bg-basic-transparent-full',\n 'WARNING_BG_LEVEL_1' = 'warning-bg-basic-level-1',\n 'WARNING_BG_LEVEL_2' = 'warning-bg-basic-level-2',\n 'WARNING_BG_LEVEL_3' = 'warning-bg-basic-level-3',\n 'WARNING_BG_TRANSPARENT_SEMI' = 'warning-bg-basic-transparent-semi',\n 'WARNING_BG_TRANSPARENT_FULL' = 'warning-bg-basic-transparent-full',\n 'INFORMATIONAL_BG_LEVEL_1' = 'informational-bg-basic-level-1',\n 'INFORMATIONAL_BG_LEVEL_2' = 'informational-bg-basic-level-2',\n 'INFORMATIONAL_BG_LEVEL_3' = 'informational-bg-basic-level-3',\n 'INFORMATIONAL_BG_TRANSPARENT_SEMI' = 'informational-bg-basic-transparent-semi',\n 'INFORMATIONAL_BG_TRANSPARENT_FULL' = 'informational-bg-basic-transparent-full',\n}\nexport const COLORS: COLOR[] = Object.entries(COLOR).map(([, value]) => value);\nexport const COLORS_SIMPLE: COLOR_SIMPLE[] = Object.entries(COLOR_SIMPLE).map(([, value]) => value);\nexport enum SEMANTIC {\n 'NEUTRAL' = 'neutral',\n 'CRITICAL' = 'critical',\n 'INFORMATIONAL' = 'informational',\n 'WARNING' = 'warning',\n 'SUCCESSFUL' = 'successful',\n}\nexport const SEMANTICS: SEMANTIC[] = Object.entries(SEMANTIC).map(([, value]) => value);\nexport const DEFAULT_VIEWPORT = {\n width: 390,\n height: 884\n};\nexport const DESKTOP_VIEWPORT = {\n width: 1920,\n height: 1280\n};\n\n/**\n * Use those viewports if your component has a css media-query otherwise use the DEFAULT_VIEWPORT\n */\nexport const TESTING_VIEWPORTS = [{\n name: 'desktop',\n ...DESKTOP_VIEWPORT\n}, {\n name: 'tablet',\n width: 768,\n height: 1024\n}, {\n name: 'mobile',\n ...DEFAULT_VIEWPORT\n}]"]}
@@ -2,6 +2,8 @@
2
2
  export const SemanticList = ['adaptive', 'neutral', 'critical', 'informational', 'warning', 'successful'];
3
3
  export const SpacingList = ['medium', 'small', 'large', 'none'];
4
4
  export const MarginList = ['medium', 'small', 'large', 'none'];
5
+ export const ShellControlPanelDesktopPosition = ['top', 'left'];
6
+ export const ShellControlPanelMobilePosition = ['top', 'bottom'];
5
7
  export const PlacementHorizontalList = ['left', 'right', 'left-start', 'left-end', 'right-start', 'right-end'];
6
8
  export const PlacementVerticalList = ['top', 'bottom', 'top-start', 'top-end', 'bottom-start', 'bottom-end'];
7
9
  export const PlacementList = [...PlacementHorizontalList, ...PlacementVerticalList];
@@ -20,4 +22,5 @@ export const AutoCompleteList = ['off', 'on', 'name', 'honorific-prefix', 'given
20
22
  export const LinkTargetList = ['_self', '_blank', '_parent', '_top'];
21
23
  export const LinkReferrerPolicyList = ['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url'];
22
24
  export const AlignmentList = ['start', 'center'];
25
+ export const NavigationItemGroupVariantList = ['popover', 'tree'];
23
26
  //# sourceMappingURL=model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/shared/model.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAiCvD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,YAAY,CAAU,CAAC;AA+CnH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAU,CAAC;AAQzE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAU,CAAC;AAQxE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,CAAU,CAAC;AAExH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,CAAU,CAAC;AAEtH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,GAAG,uBAAuB,EAAE,GAAG,qBAAqB,CAAU,CAAC;AAiB7F,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,CAAU,CAAC;AAoBlJ,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,YAAY,EAAE,UAAU,CAAU,CAAC;AAQnE,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EAAE,QAAQ,EAAE,SAAS,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,CAAU,CAAC;AA+D91B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAU,CAAC;AAE9E,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,aAAa,EAAE,4BAA4B,EAAE,QAAQ,EAAE,0BAA0B,EAAE,aAAa,EAAE,eAAe,EAAE,iCAAiC,EAAE,YAAY,CAAU,CAAC;AA2EpN,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { IconTypes } from '@db-ux/core-foundations';\nexport type GlobalProps = {\n /**\n * default slot\n */\n\n children?: any;\n\n /**\n * React specific for adding className to the component.\n */\n className?: string;\n\n /**\n * Workaround for TypeScript using class for all components.\n */\n class?: string | any;\n\n /**\n * [ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.\n */\n id?: string;\n\n /**\n * Before using please check for the [accessibility concerns](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns)\n */\n autofocus?: boolean | string;\n};\nexport type GlobalState = {\n _id?: string;\n};\nexport const SemanticList = ['adaptive', 'neutral', 'critical', 'informational', 'warning', 'successful'] as const;\nexport type SemanticType = (typeof SemanticList)[number];\nexport type SemanticProps = {\n /**\n * The semantic defines the default variants for most components.\n */\n semantic?: SemanticType;\n};\nexport type IconProps = {\n /**\n * Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.\n */\n icon?: IconTypes;\n};\nexport type ShowIconProps = {\n /**\n * Enables or disables the visibility of the icon. The default value depends on the component.\n * For many components this property is optional to reflect Figma properties.\n */\n showIcon?: boolean | string;\n};\nexport type ShowIconLeadingProps = {\n /**\n * Enables or disables the visibility of the leading icon.\n * For many components this property is optional to reflect Figma properties.\n */\n showIconLeading?: boolean | string;\n};\nexport type ShowIconTrailingProps = {\n /**\n * Enables or disables the visibility of the trailing icon.\n * For many components this property is optional to reflect Figma properties.\n */\n showIconTrailing?: boolean | string;\n};\nexport type IconLeadingProps = {\n /**\n * Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.\n */\n iconLeading?: IconTypes;\n};\nexport type IconTrailingProps = {\n /**\n * Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.\n */\n iconTrailing?: IconTypes;\n};\nexport const SpacingList = ['medium', 'small', 'large', 'none'] as const;\nexport type SpacingType = (typeof SpacingList)[number];\nexport type SpacingProps = {\n /**\n * The spacing attribute changes the padding of the component.\n */\n spacing?: SpacingType | string;\n};\nexport const MarginList = ['medium', 'small', 'large', 'none'] as const;\nexport type MarginType = (typeof MarginList)[number];\nexport type MarginProps = {\n /**\n * The margin attribute changes the margin of the component.\n */\n margin?: MarginType;\n};\nexport const PlacementHorizontalList = ['left', 'right', 'left-start', 'left-end', 'right-start', 'right-end'] as const;\nexport type PlacementHorizontalType = (typeof PlacementHorizontalList)[number];\nexport const PlacementVerticalList = ['top', 'bottom', 'top-start', 'top-end', 'bottom-start', 'bottom-end'] as const;\nexport type PlacementVerticalType = (typeof PlacementVerticalList)[number];\nexport const PlacementList = [...PlacementHorizontalList, ...PlacementVerticalList] as const;\nexport type PlacementType = (typeof PlacementList)[number];\nexport type PlacementProps = {\n /**\n * The `placement` attributes values change the position to absolute and adds a transform based on the placement.\n */\n placement?: PlacementType;\n};\nexport type NavigationBehaviorState = {\n handleNavigationItemClick: (event: any) => void;\n};\nexport type GapProps = {\n /**\n * If the absolute element should have a gap between the parent element.\n */\n gap?: boolean | string;\n};\nexport const GapSpacingList = ['none', '3x-large', '2x-large', 'x-large', 'large', 'medium', 'small', 'x-small', '2x-small', '3x-small'] as const;\nexport type GapSpacingType = (typeof GapSpacingList)[number];\nexport type GapSpacingProps = {\n /**\n * Set the gap/spacing between elements\n */\n gap?: GapSpacingType;\n};\nexport type OverflowProps = {\n /**\n * The overflow attribute sets a max-width and longer text will be dotted.\n */\n overflow?: boolean | string;\n};\nexport type WrapProps = {\n /**\n * Determines whether the text should wrap when its parent container is too small, preventing overflow.\n */\n wrap?: boolean | string;\n};\nexport const OrientationList = ['horizontal', 'vertical'] as const;\nexport type OrientationType = (typeof OrientationList)[number];\nexport type OrientationProps = {\n /**\n * Change the orientation. Defaults to horizontal.\n */\n orientation?: OrientationType;\n};\nexport const WidthList = ['full', 'auto'] as const;\nexport type WidthType = (typeof WidthList)[number];\nexport type WidthProps = {\n /**\n * Width of the component. Auto width based on children size, full width based on parent elements width.\n */\n width?: WidthType | string;\n};\nexport const MaxWidthList = ['full', 'medium', 'large', 'small'] as const;\nexport type MaxWidthType = (typeof MaxWidthList)[number];\nexport type ContainerWidthProps = {\n /**\n * Set max width for the component\n */\n width?: MaxWidthType;\n};\nexport const PopoverDelayList = ['none', 'slow', 'fast'] as const;\nexport type PopoverDelayType = (typeof PopoverDelayList)[number];\nexport const PopoverWidthList = ['auto', 'fixed'] as const;\nexport type PopoverWidthType = (typeof PopoverWidthList)[number];\nexport type PopoverProps = {\n /**\n * Add a delay before showing the tooltip\n */\n delay?: PopoverDelayType;\n /**\n * Disable animation\n */\n animation?: boolean | string;\n /**\n * Use fixed with for default max-width\n */\n width?: PopoverWidthType;\n};\nexport type NameProps = {\n /**\n * The name attribute gives the name of the element to group it.\n */\n name?: string;\n};\nexport type NameState = {\n _name?: string;\n handleNameAttribute: () => void;\n};\nexport type ContentSlotProps = {\n /**\n * Default slot which is used to pass in additional content.\n */\n content?: any;\n};\nexport const SizeList = ['small', 'medium'] as const;\nexport type SizeType = (typeof SizeList)[number];\nexport type SizeProps = {\n /**\n * The size attribute changes the font-size and other related sizes of the component.\n */\n size?: SizeType;\n};\nexport const EmphasisList = ['weak', 'strong'] as const;\nexport type EmphasisType = (typeof EmphasisList)[number];\nexport type EmphasisProps = {\n /**\n * The emphasis attribute divides in between a weak or strong importance.\n */\n emphasis?: EmphasisType;\n};\nexport const ValidationList = ['invalid', 'valid', 'no-validation'] as const;\nexport type ValidationType = (typeof ValidationList)[number];\n\n/**\n * Properties to control the required state and its visual annotation for input components.\n */\nexport type RequiredProps = {\n /**\n * When the required attribute specified, the user will be required to fill the form element before submitting the form.\n * The form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).\n */\n required?: boolean | string;\n /**\n * This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\n * It allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\n * By default, its value is `true`, so the asterisk is shown when `required` is set.\n */\n showRequiredAsterisk?: boolean | string;\n};\nexport type ShowLabelProps = {\n /**\n * Enables/disables the visibility of the label\n */\n showLabel?: boolean | string;\n};\nexport type ValueProps = {\n /**\n * The value property is to receive results from the native form element.\n */\n value?: any;\n};\nexport type BaseFormProps = {\n /**\n * The disabled attribute can be set to keep a user from clicking on the form element.\n */\n disabled?: boolean | string;\n /**\n * The label attribute specifies the caption of the form element.\n */\n label?: string;\n\n /**\n * The name attribute gives the name of the form control, as used in form submission and in the form element's elements object.\n */\n name?: string;\n};\nexport type CustomFormProps = {\n /**\n * Overwrites auto handling for aria-describedby.\n */\n ariaDescribedBy?: string;\n /**\n * \tAssociates the control with a form element\n */\n form?: string;\n\n /**\n * Marks an input element as invalid (red) / valid (green) / no-validation (grey). Overwrites the :user-valid selector.\n */\n validation?: ValidationType;\n};\nexport type FormProps = CustomFormProps & BaseFormProps & RequiredProps & ShowLabelProps & ValueProps;\nexport const FieldSizingList = ['fixed', 'content'] as const;\nexport type FieldSizingType = (typeof FieldSizingList)[number];\nexport type FormTextProps = {\n /**\n * Maximum length (number of characters) of value\n */\n maxLength?: number | string;\n /**\n * Minimum length (number of characters) of value\n */\n minLength?: number | string;\n /**\n * Maximum length (number of characters) of value\n */\n maxlength?: number | string;\n /**\n * Minimum length (number of characters) of value\n */\n minlength?: number | string;\n /**\n * The disabled attribute can be set to keep a user from edit on the form element\n */\n readOnly?: boolean | string;\n /**\n * The disabled attribute can be set to keep a user from edit on the form element\n */\n readonly?: boolean | string;\n\n /**\n * Adds shrinkwrap for input and textarea: https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing\n * Note: Only supported in Chromium browsers so far\n */\n fieldSizing?: FieldSizingType;\n};\nexport type FormSizeProps = {\n /**\n * Size of the control\n */\n size?: number;\n};\nexport type FormCheckProps = {\n /**\n * Define the radio or checkbox elements checked state\n */\n checked?: boolean | string;\n};\nexport const LabelVariantList = ['above', 'floating'] as const;\nexport type LabelVariantType = (typeof LabelVariantList)[number];\nexport const AutoCompleteList = ['off', 'on', 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'email', 'username', 'new-password', 'current-password', 'one-time-code', 'organization-title', 'organization', 'street-address', 'shipping', 'billing', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-extension', 'impp', 'url', 'photo', 'webauthn'] as const;\nexport type AutoCompleteType = (typeof AutoCompleteList)[number];\nexport type FormMessageProps = {\n /**\n * Change the variant of the label to float or hidden\n */\n variant?: LabelVariantType;\n /**\n * Text that appears in the form control when it has no value set\n */\n placeholder?: string;\n /**\n * Optional helper message for form components\n */\n message?: string;\n\n /**\n * Helper message for valid form components\n */\n validMessage?: string;\n\n /**\n * Helper message for invalid form components\n */\n invalidMessage?: string;\n\n /**\n * Set/overwrite icon for helper message for form components\n */\n messageIcon?: IconTypes;\n\n /**\n * See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\n */\n autocomplete?: string | AutoCompleteType;\n\n /**\n * Enables or disables the visibility of the message.\n */\n showMessage?: boolean | string;\n};\nexport type FromValidState = {\n hasValidState: () => boolean;\n handleValidation: () => void;\n _invalidMessage?: string;\n};\nexport type FormState = {\n _messageId?: string;\n _validMessageId?: string;\n _invalidMessageId?: string;\n _descByIds?: string;\n _value?: string;\n _invalidMessage?: string;\n /**\n * https://www.davidmacd.com/blog/test-aria-describedby-errormessage-aria-live.html\n * Currently VoiceOver isn't supporting changes from aria-describedby.\n * This is an internal Fallback\n */\n _voiceOverFallback?: string;\n};\nexport type InitializedState = {\n initialized: boolean;\n};\nexport const LinkTargetList = ['_self', '_blank', '_parent', '_top'] as const;\nexport type LinkTargetType = (typeof LinkTargetList)[number];\nexport const LinkReferrerPolicyList = ['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url'] as const;\nexport type LinkReferrerPolicyType = (typeof LinkReferrerPolicyList)[number];\nexport type LinkProps = {\n /**\n * Disables the link.\n */\n disabled?: boolean | string;\n /**\n * The [URL that the hyperlink points to](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#href).\n */\n href?: string;\n /**\n * Hints for the human [language of the linked page or document](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#hreflang).\n */\n hreflang?: string;\n /**\n * Where to open the linked URL, as the name for a [browsing context](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).\n */\n target?: LinkTargetType;\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n rel?: string;\n /**\n * Sets aria role based on [`aria-role`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles).\n */\n role?: string;\n /**\n * How much of the referrer to send when following the link.\n */\n referrerpolicy?: LinkReferrerPolicyType;\n};\nexport type TextProps = {\n /**\n * Alternative for default slot/children.\n */\n text?: string;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type GeneralEvent<T> = Event;\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type GeneralKeyboardEvent<T> = KeyboardEvent;\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type ClickEvent<T> = MouseEvent;\nexport type ClickEventProps<T> = {\n /**\n * React specific onClick to pass to forward ref.\n */\n onClick?: (event: ClickEvent<T>) => void;\n};\nexport type ClickEventState<T> = {\n handleClick: (event: ClickEvent<T> | any) => void;\n};\nexport type ToggleEventProps = {\n toggle?: (open: boolean) => void;\n onToggle?: (open: boolean) => void;\n};\nexport type ToggleEventState<T> = {\n handleToggle: (event?: ClickEvent<T> | any) => void;\n};\nexport type CloseEventProps<T> = {\n /**\n * Function to handle button click (close).\n */\n onClose?: (event?: T) => void;\n /**\n * Function to handle button click (close).\n */\n close?: (event?: T) => void;\n};\nexport type CloseEventState<T> = {\n handleClose: (event?: T | void, forceClose?: boolean) => void;\n};\nexport const AlignmentList = ['start', 'center'] as const;\nexport type AlignmentType = (typeof AlignmentList)[number];\nexport type AlignmentProps = {\n /**\n * Define the content alignment in full width\n */\n alignment?: AlignmentType | string;\n};\nexport type ActiveProps = {\n /**\n * If the tab is checked/active.\n */\n active?: boolean | string;\n};\nexport type InputEvent<T> = Event;\nexport type InputEventProps<T> = {\n input?: (event: InputEvent<T>) => void;\n onInput?: (event: InputEvent<T>) => void;\n};\nexport type InputEventState<T> = {\n handleInput: (event: InputEvent<T> | any) => void;\n};\nexport type ChangeEvent<T> = Event;\nexport type ChangeEventProps<T> = {\n change?: (event: ChangeEvent<T>) => void;\n onChange?: (event: ChangeEvent<T>) => void;\n};\nexport type ChangeEventState<T> = {\n handleChange: (event: ChangeEvent<T> | any) => void;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type InteractionEvent<T> = FocusEvent;\nexport type FocusEventProps<T> = {\n blur?: (event: InteractionEvent<T>) => void;\n onBlur?: (event: InteractionEvent<T>) => void;\n focus?: (event: InteractionEvent<T>) => void;\n onFocus?: (event: InteractionEvent<T>) => void;\n};\nexport type FocusEventState<T> = {\n handleBlur: (event: InteractionEvent<T> | any) => void;\n handleFocus: (event: InteractionEvent<T> | any) => void;\n};\nexport type InnerCloseButtonProps = {\n /**\n * The closeButtonId attribute changes the id inside the close button.\n */\n closeButtonId?: string;\n /**\n * The closeButtonText attribute changes the text inside the close button.\n */\n closeButtonText?: string;\n};\nexport type NavigationBackButtonProps = {\n /**\n * The backButtonId attribute changes the id inside the back button.\n */\n backButtonId?: string;\n /**\n * The backButtonText attribute changes the text inside the back button.\n */\n backButtonText?: string;\n};\nexport type AriaControlsProps = {\n /**\n * Pass `aria-controls` to inner element\n */\n controls?: string;\n};\nexport type ValueLabelType = {\n value: string;\n label?: string;\n};\nexport type DocumentScrollState = {\n _documentScrollListenerCallbackId?: string;\n handleDocumentScroll: (event: any, parent?: HTMLElement) => void;\n _observer?: IntersectionObserver;\n};\nexport type PopoverState = {\n handleEscape: (event: any) => void;\n handleAutoPlacement: (parent?: HTMLElement) => void;\n handleEnter: (parent?: HTMLElement) => void;\n handleLeave: (event?: any) => void;\n} & DocumentScrollState"]}
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/shared/model.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAiCvD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,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AC;AA+D91B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAU,CAAC;AAE9E,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,aAAa,EAAE,4BAA4B,EAAE,QAAQ,EAAE,0BAA0B,EAAE,aAAa,EAAE,eAAe,EAAE,iCAAiC,EAAE,YAAY,CAAU,CAAC;AA2EpN,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU,CAAC;AA2I1D,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,SAAS,EAAE,MAAM,CAAU,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { IconTypes } from '@db-ux/core-foundations';\nexport type GlobalProps = {\n /**\n * default slot\n */\n\n children?: any;\n\n /**\n * React specific for adding className to the component.\n */\n className?: string;\n\n /**\n * Workaround for TypeScript using class for all components.\n */\n class?: string | any;\n\n /**\n * [ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.\n */\n id?: string;\n\n /**\n * Before using please check for the [accessibility concerns](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns)\n */\n autofocus?: boolean | string;\n};\nexport type GlobalState = {\n _id?: string;\n};\nexport const SemanticList = ['adaptive', 'neutral', 'critical', 'informational', 'warning', 'successful'] as const;\nexport type SemanticType = (typeof SemanticList)[number];\nexport type SemanticProps = {\n /**\n * The semantic defines the default variants for most components.\n */\n semantic?: SemanticType;\n};\nexport type IconProps = {\n /**\n * Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.\n */\n icon?: IconTypes;\n};\nexport type ShowIconProps = {\n /**\n * Enables or disables the visibility of the icon. The default value depends on the component.\n * For many components this property is optional to reflect Figma properties.\n */\n showIcon?: boolean | string;\n};\nexport type ShowIconLeadingProps = {\n /**\n * Enables or disables the visibility of the leading icon.\n * For many components this property is optional to reflect Figma properties.\n */\n showIconLeading?: boolean | string;\n};\nexport type ShowIconTrailingProps = {\n /**\n * Enables or disables the visibility of the trailing icon.\n * For many components this property is optional to reflect Figma properties.\n */\n showIconTrailing?: boolean | string;\n};\nexport type IconLeadingProps = {\n /**\n * Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.\n */\n iconLeading?: IconTypes;\n};\nexport type IconTrailingProps = {\n /**\n * Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.\n */\n iconTrailing?: IconTypes;\n};\nexport const SpacingList = ['medium', 'small', 'large', 'none'] as const;\nexport type SpacingType = (typeof SpacingList)[number];\nexport type SpacingProps = {\n /**\n * The spacing attribute changes the padding of the component.\n */\n spacing?: SpacingType | string;\n};\nexport const MarginList = ['medium', 'small', 'large', 'none'] as const;\nexport type MarginType = (typeof MarginList)[number];\nexport type MarginProps = {\n /**\n * The margin attribute changes the margin of the component.\n */\n margin?: MarginType;\n};\nexport const ShellControlPanelDesktopPosition = ['top', 'left'] as const;\nexport type ShellControlPanelDesktopPositionType = (typeof ShellControlPanelDesktopPosition)[number];\nexport const ShellControlPanelMobilePosition = ['top', 'bottom'] as const;\nexport type ShellControlPanelMobilePositionType = (typeof ShellControlPanelMobilePosition)[number];\nexport const PlacementHorizontalList = ['left', 'right', 'left-start', 'left-end', 'right-start', 'right-end'] as const;\nexport type PlacementHorizontalType = (typeof PlacementHorizontalList)[number];\nexport const PlacementVerticalList = ['top', 'bottom', 'top-start', 'top-end', 'bottom-start', 'bottom-end'] as const;\nexport type PlacementVerticalType = (typeof PlacementVerticalList)[number];\nexport const PlacementList = [...PlacementHorizontalList, ...PlacementVerticalList] as const;\nexport type PlacementType = (typeof PlacementList)[number];\nexport type PlacementProps = {\n /**\n * The `placement` attributes values change the position to absolute and adds a transform based on the placement.\n */\n placement?: PlacementType;\n};\nexport type NavigationBehaviorState = {\n handleNavigationItemClick: (event: any) => void;\n};\nexport type GapProps = {\n /**\n * If the absolute element should have a gap between the parent element.\n */\n gap?: boolean | string;\n};\nexport const GapSpacingList = ['none', '3x-large', '2x-large', 'x-large', 'large', 'medium', 'small', 'x-small', '2x-small', '3x-small'] as const;\nexport type GapSpacingType = (typeof GapSpacingList)[number];\nexport type GapSpacingProps = {\n /**\n * Set the gap/spacing between elements\n */\n gap?: GapSpacingType;\n};\nexport type OverflowProps = {\n /**\n * The overflow attribute sets a max-width and longer text will be dotted.\n */\n overflow?: boolean | string;\n};\nexport type WrapProps = {\n /**\n * Determines whether the text should wrap when its parent container is too small, preventing overflow.\n */\n wrap?: boolean | string;\n};\nexport const OrientationList = ['horizontal', 'vertical'] as const;\nexport type OrientationType = (typeof OrientationList)[number];\nexport type OrientationProps = {\n /**\n * Change the orientation. Defaults to horizontal.\n */\n orientation?: OrientationType;\n};\nexport const WidthList = ['full', 'auto'] as const;\nexport type WidthType = (typeof WidthList)[number];\nexport type WidthProps = {\n /**\n * Width of the component. Auto width based on children size, full width based on parent elements width.\n */\n width?: WidthType | string;\n};\nexport const MaxWidthList = ['full', 'medium', 'large', 'small'] as const;\nexport type MaxWidthType = (typeof MaxWidthList)[number];\nexport type ContainerWidthProps = {\n /**\n * Set max width for the component\n */\n width?: MaxWidthType;\n};\nexport const PopoverDelayList = ['none', 'slow', 'fast'] as const;\nexport type PopoverDelayType = (typeof PopoverDelayList)[number];\nexport const PopoverWidthList = ['auto', 'fixed'] as const;\nexport type PopoverWidthType = (typeof PopoverWidthList)[number];\nexport type PopoverProps = {\n /**\n * Add a delay before showing the tooltip\n */\n delay?: PopoverDelayType;\n /**\n * Disable animation\n */\n animation?: boolean | string;\n /**\n * Use fixed with for default max-width\n */\n width?: PopoverWidthType;\n};\nexport type NameProps = {\n /**\n * The name attribute gives the name of the element to group it.\n */\n name?: string;\n};\nexport type NameState = {\n _name?: string;\n handleNameAttribute: () => void;\n};\nexport type ContentSlotProps = {\n /**\n * Default slot which is used to pass in additional content.\n */\n content?: any;\n};\nexport const SizeList = ['small', 'medium'] as const;\nexport type SizeType = (typeof SizeList)[number];\nexport type SizeProps = {\n /**\n * The size attribute changes the font-size and other related sizes of the component.\n */\n size?: SizeType;\n};\nexport const EmphasisList = ['weak', 'strong'] as const;\nexport type EmphasisType = (typeof EmphasisList)[number];\nexport type EmphasisProps = {\n /**\n * The emphasis attribute divides in between a weak or strong importance.\n */\n emphasis?: EmphasisType;\n};\nexport const ValidationList = ['invalid', 'valid', 'no-validation'] as const;\nexport type ValidationType = (typeof ValidationList)[number];\n\n/**\n * Properties to control the required state and its visual annotation for input components.\n */\nexport type RequiredProps = {\n /**\n * When the required attribute specified, the user will be required to fill the form element before submitting the form.\n * The form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).\n */\n required?: boolean | string;\n /**\n * This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\n * It allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\n * By default, its value is `true`, so the asterisk is shown when `required` is set.\n */\n showRequiredAsterisk?: boolean | string;\n};\nexport type ShowLabelProps = {\n /**\n * Enables/disables the visibility of the label\n */\n showLabel?: boolean | string;\n};\nexport type ValueProps = {\n /**\n * The value property is to receive results from the native form element.\n */\n value?: any;\n};\nexport type DisabledProps = {\n /**\n * The disabled attribute can be set to keep a user from clicking on the item.\n */\n disabled?: boolean | string;\n};\nexport type BaseFormProps = {\n /**\n * The label attribute specifies the caption of the form element.\n */\n label?: string;\n\n /**\n * The name attribute gives the name of the form control, as used in form submission and in the form element's elements object.\n */\n name?: string;\n} & DisabledProps;\nexport type CustomFormProps = {\n /**\n * Overwrites auto handling for aria-describedby.\n */\n ariaDescribedBy?: string;\n /**\n * \tAssociates the control with a form element\n */\n form?: string;\n\n /**\n * Marks an input element as invalid (red) / valid (green) / no-validation (grey). Overwrites the :user-valid selector.\n */\n validation?: ValidationType;\n};\nexport type FormProps = CustomFormProps & BaseFormProps & RequiredProps & ShowLabelProps & ValueProps;\nexport const FieldSizingList = ['fixed', 'content'] as const;\nexport type FieldSizingType = (typeof FieldSizingList)[number];\nexport type FormTextProps = {\n /**\n * Maximum length (number of characters) of value\n */\n maxLength?: number | string;\n /**\n * Minimum length (number of characters) of value\n */\n minLength?: number | string;\n /**\n * Maximum length (number of characters) of value\n */\n maxlength?: number | string;\n /**\n * Minimum length (number of characters) of value\n */\n minlength?: number | string;\n /**\n * The disabled attribute can be set to keep a user from edit on the form element\n */\n readOnly?: boolean | string;\n /**\n * The disabled attribute can be set to keep a user from edit on the form element\n */\n readonly?: boolean | string;\n\n /**\n * Adds shrinkwrap for input and textarea: https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing\n * Note: Only supported in Chromium browsers so far\n */\n fieldSizing?: FieldSizingType;\n};\nexport type FormSizeProps = {\n /**\n * Size of the control\n */\n size?: number;\n};\nexport type FormCheckProps = {\n /**\n * Define the radio or checkbox elements checked state\n */\n checked?: boolean | string;\n};\nexport const LabelVariantList = ['above', 'floating'] as const;\nexport type LabelVariantType = (typeof LabelVariantList)[number];\nexport const AutoCompleteList = ['off', 'on', 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'email', 'username', 'new-password', 'current-password', 'one-time-code', 'organization-title', 'organization', 'street-address', 'shipping', 'billing', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-extension', 'impp', 'url', 'photo', 'webauthn'] as const;\nexport type AutoCompleteType = (typeof AutoCompleteList)[number];\nexport type FormMessageProps = {\n /**\n * Change the variant of the label to float or hidden\n */\n variant?: LabelVariantType;\n /**\n * Text that appears in the form control when it has no value set\n */\n placeholder?: string;\n /**\n * Optional helper message for form components\n */\n message?: string;\n\n /**\n * Helper message for valid form components\n */\n validMessage?: string;\n\n /**\n * Helper message for invalid form components\n */\n invalidMessage?: string;\n\n /**\n * Set/overwrite icon for helper message for form components\n */\n messageIcon?: IconTypes;\n\n /**\n * See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\n */\n autocomplete?: string | AutoCompleteType;\n\n /**\n * Enables or disables the visibility of the message.\n */\n showMessage?: boolean | string;\n};\nexport type FromValidState = {\n hasValidState: () => boolean;\n handleValidation: () => void;\n _invalidMessage?: string;\n};\nexport type FormState = {\n _messageId?: string;\n _validMessageId?: string;\n _invalidMessageId?: string;\n _descByIds?: string;\n _value?: string;\n _invalidMessage?: string;\n /**\n * https://www.davidmacd.com/blog/test-aria-describedby-errormessage-aria-live.html\n * Currently VoiceOver isn't supporting changes from aria-describedby.\n * This is an internal Fallback\n */\n _voiceOverFallback?: string;\n};\nexport type InitializedState = {\n initialized: boolean;\n};\nexport const LinkTargetList = ['_self', '_blank', '_parent', '_top'] as const;\nexport type LinkTargetType = (typeof LinkTargetList)[number];\nexport const LinkReferrerPolicyList = ['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url'] as const;\nexport type LinkReferrerPolicyType = (typeof LinkReferrerPolicyList)[number];\nexport type LinkProps = {\n /**\n * Disables the link.\n */\n disabled?: boolean | string;\n /**\n * The [URL that the hyperlink points to](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#href).\n */\n href?: string;\n /**\n * Hints for the human [language of the linked page or document](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#hreflang).\n */\n hreflang?: string;\n /**\n * Where to open the linked URL, as the name for a [browsing context](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).\n */\n target?: LinkTargetType;\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n rel?: string;\n /**\n * Sets aria role based on [`aria-role`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles).\n */\n role?: string;\n /**\n * How much of the referrer to send when following the link.\n */\n referrerpolicy?: LinkReferrerPolicyType;\n};\nexport type TextProps = {\n /**\n * Alternative for default slot/children.\n */\n text?: string;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type GeneralEvent<T> = Event;\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type GeneralKeyboardEvent<T> = KeyboardEvent;\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type ClickEvent<T> = MouseEvent;\nexport type ClickEventProps<T> = {\n /**\n * React specific onClick to pass to forward ref.\n */\n onClick?: (event: ClickEvent<T>) => void;\n};\nexport type ClickEventState<T> = {\n handleClick: (event: ClickEvent<T> | any) => void;\n};\nexport type ToggleEventProps = {\n toggle?: (open: boolean) => void;\n onToggle?: (open: boolean) => void;\n};\nexport type ToggleEventState<T> = {\n handleToggle: (event?: ClickEvent<T> | any) => void;\n};\nexport type CloseEventProps<T> = {\n /**\n * Function to handle button click (close).\n */\n onClose?: (event?: T) => void;\n /**\n * Function to handle button click (close).\n */\n close?: (event?: T) => void;\n};\nexport type CloseEventState<T> = {\n handleClose: (event?: T | void, forceClose?: boolean) => void;\n};\nexport const AlignmentList = ['start', 'center'] as const;\nexport type AlignmentType = (typeof AlignmentList)[number];\nexport type AlignmentProps = {\n /**\n * Define the content alignment in full width\n */\n alignment?: AlignmentType | string;\n};\nexport type ActiveProps = {\n /**\n * If the tab is checked/active.\n */\n active?: boolean | string;\n};\nexport type InputEvent<T> = Event;\nexport type InputEventProps<T> = {\n input?: (event: InputEvent<T>) => void;\n onInput?: (event: InputEvent<T>) => void;\n};\nexport type InputEventState<T> = {\n handleInput: (event: InputEvent<T> | any) => void;\n};\nexport type ChangeEvent<T> = Event;\nexport type ChangeEventProps<T> = {\n change?: (event: ChangeEvent<T>) => void;\n onChange?: (event: ChangeEvent<T>) => void;\n};\nexport type ChangeEventState<T> = {\n handleChange: (event: ChangeEvent<T> | any) => void;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type InteractionEvent<T> = FocusEvent;\nexport type FocusEventProps<T> = {\n blur?: (event: InteractionEvent<T>) => void;\n onBlur?: (event: InteractionEvent<T>) => void;\n focus?: (event: InteractionEvent<T>) => void;\n onFocus?: (event: InteractionEvent<T>) => void;\n};\nexport type FocusEventState<T> = {\n handleBlur: (event: InteractionEvent<T> | any) => void;\n handleFocus: (event: InteractionEvent<T> | any) => void;\n};\nexport type InnerCloseButtonProps = {\n /**\n * The closeButtonId attribute changes the id inside the close button.\n */\n closeButtonId?: string;\n /**\n * The closeButtonText attribute changes the text inside the close button.\n */\n closeButtonText?: string;\n};\nexport type NavigationBackButtonProps = {\n /**\n * The backButtonId attribute changes the id inside the back button.\n */\n backButtonId?: string;\n /**\n * The backButtonText attribute changes the text inside the back button.\n */\n backButtonText?: string;\n};\nexport type AriaControlsProps = {\n /**\n * Pass `aria-controls` to inner element\n */\n controls?: string;\n};\nexport type ControlPanelProps = {\n /**\n * Slot to pass in the DBControlPanelBrand component\n */\n brand?: any;\n /**\n * Slot to pass in a meta navigation.\n * Desktop: Above the regular control-panel-desktop\n * Mobile: Inside the drawer\n */\n metaNavigation?: any;\n /**\n * Slot to pass one or more elements like DBButton (e.g. search) as primary action.\n * Desktop: Shown next to the main-navigation\n * Mobile: Shown next to the control-panel-brand\n */\n primaryActions?: any;\n /**\n * Slot to pass one or more elements like DBButton (e.g. profile, language, etc.) as secondary action.\n * Desktop: Shown seperated by divider at the end of the control-panel-desktop\n * Mobile: Shown inside the drawer at the bottom.\n */\n secondaryActions?: any;\n\n /**\n * Adds ``aria-labelledby`` to the <nav> element.\n */\n navigationLabeledBy?: string;\n};\nexport type ValueLabelType = {\n value: string;\n label?: string;\n};\nexport type OverflowScrollButtonProps = {\n /**\n * Change amount of distance if you click on an arrow, only available with behavior=\"arrows\"\n */\n arrowScrollDistance?: number | string;\n};\nexport type OverflowScrollButtonState = {\n scroll: (left?: boolean) => void;\n showScrollLeft?: boolean;\n showScrollRight?: boolean;\n evaluateScrollButtons: (tabList: Element) => void;\n};\nexport type SidebarProps = {\n /**\n * Set the expanded/collapsed state initially for the left sidebar\n */\n expanded?: boolean | string;\n\n /**\n * Set the tooltip for the expand/collapse button\n */\n expandButtonTooltip?: string;\n\n /**\n * Set the tooltip for the expand/collapse button based on the state. (only react|vue)\n */\n expandButtonTooltipFn?: (open: boolean) => string;\n\n /**\n * Set the tooltip for the expand/collapse button based on the state. (only react|vue)\n */\n onExpandButtonTooltipFn?: (open: boolean) => string;\n};\nexport type SidebarState = {\n _open: boolean;\n getToggleButtonText: () => string;\n};\nexport const NavigationItemGroupVariantList = ['popover', 'tree'] as const;\nexport type NavigationItemGroupVariantType = (typeof NavigationItemGroupVariantList)[number];\nexport type NavigationItemGroupVariant = {\n variant?: NavigationItemGroupVariantType;\n};\nexport type AdditionalInformationSlotProps = {\n /**\n * Slot to add additional information most likely a DBBadge\n */\n additionalInformation?: any;\n};\nexport type DocumentScrollState = {\n _documentScrollListenerCallbackId?: string;\n handleDocumentScroll: (event: any, parent?: HTMLElement) => void;\n _observer?: IntersectionObserver;\n};\nexport type PopoverState = {\n handleEscape: (event: any) => void;\n handleAutoPlacement: (parent?: HTMLElement) => void;\n handleEnter: (parent?: HTMLElement) => void;\n handleLeave: (event?: any) => void;\n} & DocumentScrollState"]}