@db-ux/wc-core-components 4.4.3 → 4.5.1

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 (283) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/agent/.gitkeep +0 -0
  3. package/dist/cjs/db-accordion-item.cjs.entry.js +5 -4
  4. package/dist/cjs/db-accordion.cjs.entry.js +6 -6
  5. package/dist/cjs/db-badge.cjs.entry.js +5 -5
  6. package/dist/cjs/db-brand.cjs.entry.js +5 -5
  7. package/dist/cjs/db-button.cjs.entry.js +5 -5
  8. package/dist/cjs/db-card.cjs.entry.js +5 -4
  9. package/dist/cjs/db-checkbox.cjs.entry.js +53 -34
  10. package/dist/cjs/db-custom-button.cjs.entry.js +57 -0
  11. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +59 -37
  12. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +5 -4
  13. package/dist/cjs/db-custom-select.cjs.entry.js +132 -109
  14. package/dist/cjs/db-divider.cjs.entry.js +5 -4
  15. package/dist/cjs/db-drawer.cjs.entry.js +6 -6
  16. package/dist/cjs/db-header.cjs.entry.js +7 -7
  17. package/dist/cjs/db-icon.cjs.entry.js +5 -4
  18. package/dist/cjs/db-infotext.cjs.entry.js +5 -5
  19. package/dist/cjs/db-link.cjs.entry.js +5 -5
  20. package/dist/cjs/db-navigation-item.cjs.entry.js +7 -7
  21. package/dist/cjs/db-navigation.cjs.entry.js +5 -4
  22. package/dist/cjs/db-notification.cjs.entry.js +6 -6
  23. package/dist/cjs/db-page.cjs.entry.js +5 -4
  24. package/dist/cjs/db-popover.cjs.entry.js +7 -7
  25. package/dist/cjs/db-radio.cjs.entry.js +33 -14
  26. package/dist/cjs/db-section.cjs.entry.js +5 -4
  27. package/dist/cjs/db-select.cjs.entry.js +48 -29
  28. package/dist/cjs/db-stack.cjs.entry.js +5 -4
  29. package/dist/cjs/db-switch.cjs.entry.js +58 -22
  30. package/dist/cjs/db-tab-item_3.cjs.entry.js +11 -9
  31. package/dist/cjs/db-tabs.cjs.entry.js +6 -6
  32. package/dist/cjs/db-textarea.cjs.entry.js +46 -27
  33. package/dist/cjs/db-tooltip.cjs.entry.js +17 -9
  34. package/dist/cjs/db-ux.cjs.js +3 -3
  35. package/dist/cjs/{document-click-listener-Bb3Tinb8.js → document-click-listener-B2-xKJv3.js} +1 -1
  36. package/dist/cjs/{document-scroll-listener-unypEU42.js → document-scroll-listener-ChQ7XZRk.js} +1 -1
  37. package/dist/cjs/{floating-components-pYaTeNhp.js → floating-components-DlstoCKH.js} +4 -0
  38. package/dist/cjs/{form-components-LsqVohyb.js → form-components-_ncB_U2D.js} +1 -1
  39. package/dist/cjs/{index-CsHqnQII.js → index-2_9ESkQu.js} +6 -7
  40. package/dist/cjs/{index-Bh5ovRL2.js → index-D_vrmAD6.js} +23 -14
  41. package/dist/cjs/index.cjs.js +5 -5
  42. package/dist/cjs/loader.cjs.js +2 -2
  43. package/dist/cjs/{navigation-BztJmEHf.js → navigation-Bah882nU.js} +1 -1
  44. package/dist/collection/collection-manifest.json +3 -1
  45. package/dist/collection/components/accordion/accordion.js +28 -4
  46. package/dist/collection/components/accordion-item/accordion-item.js +27 -2
  47. package/dist/collection/components/badge/badge.js +54 -4
  48. package/dist/collection/components/brand/brand.js +27 -3
  49. package/dist/collection/components/button/button.js +53 -3
  50. package/dist/collection/components/card/card.js +27 -2
  51. package/dist/collection/components/checkbox/checkbox.js +81 -38
  52. package/dist/collection/components/custom-button/custom-button.js +394 -0
  53. package/dist/collection/components/custom-button/index.js +2 -0
  54. package/dist/collection/components/custom-button/model.js +1 -0
  55. package/dist/collection/components/custom-select/custom-select.js +156 -109
  56. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +27 -2
  57. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +27 -2
  58. package/dist/collection/components/custom-select-list/custom-select-list.js +27 -2
  59. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -2
  60. package/dist/collection/components/divider/divider.js +27 -2
  61. package/dist/collection/components/drawer/drawer.js +28 -4
  62. package/dist/collection/components/header/header.js +27 -3
  63. package/dist/collection/components/icon/icon.js +27 -2
  64. package/dist/collection/components/infotext/infotext.js +53 -3
  65. package/dist/collection/components/input/input.js +74 -31
  66. package/dist/collection/components/link/link.js +27 -3
  67. package/dist/collection/components/navigation/navigation.js +27 -2
  68. package/dist/collection/components/navigation-item/navigation-item.js +27 -3
  69. package/dist/collection/components/notification/notification.js +28 -4
  70. package/dist/collection/components/page/page.js +27 -2
  71. package/dist/collection/components/popover/popover.js +27 -3
  72. package/dist/collection/components/radio/radio.js +54 -11
  73. package/dist/collection/components/section/section.js +27 -2
  74. package/dist/collection/components/select/select.js +75 -32
  75. package/dist/collection/components/stack/stack.js +27 -2
  76. package/dist/collection/components/switch/switch.js +107 -45
  77. package/dist/collection/components/tab-item/tab-item.js +27 -3
  78. package/dist/collection/components/tab-list/tab-list.js +27 -2
  79. package/dist/collection/components/tab-panel/tab-panel.js +27 -2
  80. package/dist/collection/components/tabs/tabs.js +28 -4
  81. package/dist/collection/components/tag/tag.js +27 -3
  82. package/dist/collection/components/textarea/textarea.js +73 -30
  83. package/dist/collection/components/tooltip/tooltip.js +63 -5
  84. package/dist/collection/index.js +2 -0
  85. package/dist/collection/utils/floating-components.js +4 -0
  86. package/dist/collection/utils/index.js +6 -7
  87. package/dist/custom-elements.json +3692 -1698
  88. package/dist/db-ux/db-ux.esm.js +1 -1
  89. package/dist/db-ux/index.esm.js +1 -1
  90. package/dist/db-ux/p-043c407c.entry.js +1 -0
  91. package/dist/db-ux/p-0541c3c2.entry.js +1 -0
  92. package/dist/db-ux/p-074e4a43.entry.js +1 -0
  93. package/dist/db-ux/p-11251b99.entry.js +1 -0
  94. package/dist/db-ux/p-1c89f0fc.entry.js +1 -0
  95. package/dist/db-ux/p-213bfff6.entry.js +1 -0
  96. package/dist/db-ux/p-29442fd9.entry.js +1 -0
  97. package/dist/db-ux/p-2bce91e1.entry.js +1 -0
  98. package/dist/db-ux/p-32c4a1b5.entry.js +1 -0
  99. package/dist/db-ux/p-3e5be44c.entry.js +1 -0
  100. package/dist/db-ux/p-4cda36f1.entry.js +1 -0
  101. package/dist/db-ux/p-4cf64cbb.entry.js +1 -0
  102. package/dist/db-ux/p-5028b12e.entry.js +1 -0
  103. package/dist/db-ux/{p-b07122c4.entry.js → p-56af9177.entry.js} +1 -1
  104. package/dist/db-ux/{p-64264628.entry.js → p-587263ad.entry.js} +1 -1
  105. package/dist/db-ux/p-58f21c03.entry.js +1 -0
  106. package/dist/db-ux/{p-77150a25.entry.js → p-6b073570.entry.js} +1 -1
  107. package/dist/db-ux/p-745ccfb8.entry.js +1 -0
  108. package/dist/db-ux/p-836f0fef.entry.js +1 -0
  109. package/dist/db-ux/p-9a19e197.entry.js +1 -0
  110. package/dist/db-ux/p-9fb146d1.entry.js +1 -0
  111. package/dist/db-ux/p-BjIPMjCM.js +2 -0
  112. package/dist/db-ux/{p-cNk4ImpW.js → p-BuBrj57D.js} +1 -1
  113. package/dist/db-ux/p-CHLgQ9vn.js +1 -0
  114. package/dist/db-ux/{p-CAEpg8tJ.js → p-D5mInaY7.js} +1 -1
  115. package/dist/db-ux/p-DOPXnIzL.js +1 -0
  116. package/dist/db-ux/p-D_roHmuC.js +1 -0
  117. package/dist/db-ux/p-a34d2691.entry.js +1 -0
  118. package/dist/db-ux/p-c6f43506.entry.js +1 -0
  119. package/dist/db-ux/p-cdfaf027.entry.js +1 -0
  120. package/dist/db-ux/p-d186aef4.entry.js +1 -0
  121. package/dist/db-ux/p-dceb35a8.entry.js +1 -0
  122. package/dist/db-ux/p-e199b6f9.entry.js +1 -0
  123. package/dist/db-ux/p-e3664354.entry.js +1 -0
  124. package/dist/db-ux/p-ef034bba.entry.js +1 -0
  125. package/dist/db-ux/p-f0bc176a.entry.js +1 -0
  126. package/dist/db-ux/p-ff3866f3.entry.js +1 -0
  127. package/dist/db-ux/p-xkoBSP8R.js +1 -0
  128. package/dist/esm/db-accordion-item.entry.js +5 -4
  129. package/dist/esm/db-accordion.entry.js +6 -6
  130. package/dist/esm/db-badge.entry.js +5 -5
  131. package/dist/esm/db-brand.entry.js +5 -5
  132. package/dist/esm/db-button.entry.js +5 -5
  133. package/dist/esm/db-card.entry.js +5 -4
  134. package/dist/esm/db-checkbox.entry.js +54 -35
  135. package/dist/esm/db-custom-button.entry.js +55 -0
  136. package/dist/esm/db-custom-select-dropdown_5.entry.js +60 -38
  137. package/dist/esm/db-custom-select-form-field.entry.js +5 -4
  138. package/dist/esm/db-custom-select.entry.js +133 -110
  139. package/dist/esm/db-divider.entry.js +5 -4
  140. package/dist/esm/db-drawer.entry.js +6 -6
  141. package/dist/esm/db-header.entry.js +7 -7
  142. package/dist/esm/db-icon.entry.js +5 -4
  143. package/dist/esm/db-infotext.entry.js +5 -5
  144. package/dist/esm/db-link.entry.js +5 -5
  145. package/dist/esm/db-navigation-item.entry.js +7 -7
  146. package/dist/esm/db-navigation.entry.js +5 -4
  147. package/dist/esm/db-notification.entry.js +6 -6
  148. package/dist/esm/db-page.entry.js +5 -4
  149. package/dist/esm/db-popover.entry.js +7 -7
  150. package/dist/esm/db-radio.entry.js +33 -14
  151. package/dist/esm/db-section.entry.js +5 -4
  152. package/dist/esm/db-select.entry.js +49 -30
  153. package/dist/esm/db-stack.entry.js +5 -4
  154. package/dist/esm/db-switch.entry.js +58 -22
  155. package/dist/esm/db-tab-item_3.entry.js +11 -9
  156. package/dist/esm/db-tabs.entry.js +6 -6
  157. package/dist/esm/db-textarea.entry.js +47 -28
  158. package/dist/esm/db-tooltip.entry.js +17 -9
  159. package/dist/esm/db-ux.js +4 -4
  160. package/dist/esm/{document-click-listener-CmYoXpGE.js → document-click-listener-D7W_VE5O.js} +1 -1
  161. package/dist/esm/{document-scroll-listener-65bHuFAN.js → document-scroll-listener-DOBe3Oa9.js} +1 -1
  162. package/dist/esm/{floating-components-DfYL98sI.js → floating-components-DOPXnIzL.js} +4 -0
  163. package/dist/esm/{form-components-BLsiOrPI.js → form-components-D6LQfJvq.js} +1 -1
  164. package/dist/esm/{index-Crtu1dn6.js → index-BjIPMjCM.js} +23 -14
  165. package/dist/esm/{index-C4x0SOcx.js → index-xkoBSP8R.js} +6 -7
  166. package/dist/esm/index.js +5 -5
  167. package/dist/esm/loader.js +3 -3
  168. package/dist/esm/{navigation-DgsMCdfn.js → navigation-Jh6m0eMk.js} +1 -1
  169. package/dist/types/components/accordion/accordion.d.ts +1 -0
  170. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -0
  171. package/dist/types/components/badge/badge.d.ts +2 -0
  172. package/dist/types/components/badge/model.d.ts +2 -2
  173. package/dist/types/components/brand/brand.d.ts +1 -0
  174. package/dist/types/components/button/button.d.ts +2 -0
  175. package/dist/types/components/button/model.d.ts +8 -10
  176. package/dist/types/components/card/card.d.ts +1 -0
  177. package/dist/types/components/checkbox/checkbox.d.ts +5 -1
  178. package/dist/types/components/custom-button/custom-button.d.ts +29 -0
  179. package/dist/types/components/custom-button/index.d.ts +2 -0
  180. package/dist/types/components/custom-button/model.d.ts +6 -0
  181. package/dist/types/components/custom-select/custom-select.d.ts +5 -1
  182. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
  183. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
  184. package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
  185. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
  186. package/dist/types/components/divider/divider.d.ts +1 -0
  187. package/dist/types/components/drawer/drawer.d.ts +1 -0
  188. package/dist/types/components/header/header.d.ts +1 -0
  189. package/dist/types/components/icon/icon.d.ts +1 -0
  190. package/dist/types/components/infotext/infotext.d.ts +2 -0
  191. package/dist/types/components/infotext/model.d.ts +2 -2
  192. package/dist/types/components/input/input.d.ts +5 -1
  193. package/dist/types/components/link/link.d.ts +1 -0
  194. package/dist/types/components/navigation/navigation.d.ts +1 -0
  195. package/dist/types/components/navigation-item/navigation-item.d.ts +1 -0
  196. package/dist/types/components/notification/model.d.ts +2 -2
  197. package/dist/types/components/notification/notification.d.ts +1 -0
  198. package/dist/types/components/page/page.d.ts +1 -0
  199. package/dist/types/components/popover/popover.d.ts +1 -0
  200. package/dist/types/components/radio/radio.d.ts +4 -0
  201. package/dist/types/components/section/section.d.ts +1 -0
  202. package/dist/types/components/select/select.d.ts +5 -1
  203. package/dist/types/components/stack/stack.d.ts +1 -0
  204. package/dist/types/components/switch/switch.d.ts +7 -1
  205. package/dist/types/components/tab-item/tab-item.d.ts +1 -0
  206. package/dist/types/components/tab-list/tab-list.d.ts +1 -0
  207. package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
  208. package/dist/types/components/tabs/tabs.d.ts +1 -0
  209. package/dist/types/components/tag/model.d.ts +2 -6
  210. package/dist/types/components/tag/tag.d.ts +1 -0
  211. package/dist/types/components/textarea/textarea.d.ts +5 -1
  212. package/dist/types/components/tooltip/model.d.ts +3 -3
  213. package/dist/types/components/tooltip/tooltip.d.ts +3 -0
  214. package/dist/types/components.d.ts +145 -6
  215. package/dist/types/index.d.ts +2 -0
  216. package/dist/types/shared/model.d.ts +15 -1
  217. package/dist/types/stencil-public-runtime.d.ts +3 -1
  218. package/dist/vscode.html-custom-data.json +397 -85
  219. package/dist/web-types.json +730 -153
  220. package/package.json +4 -4
  221. package/agent/Accordion.md +0 -23
  222. package/agent/AccordionItem.md +0 -29
  223. package/agent/Badge.md +0 -32
  224. package/agent/Brand.md +0 -13
  225. package/agent/Button.md +0 -47
  226. package/agent/Card.md +0 -23
  227. package/agent/Checkbox.md +0 -41
  228. package/agent/CustomSelect.md +0 -54
  229. package/agent/Divider.md +0 -21
  230. package/agent/Drawer.md +0 -71
  231. package/agent/Header.md +0 -29
  232. package/agent/Icon.md +0 -20
  233. package/agent/Infotext.md +0 -25
  234. package/agent/Input.md +0 -48
  235. package/agent/Link.md +0 -52
  236. package/agent/Navigation.md +0 -19
  237. package/agent/NavigationItem.md +0 -29
  238. package/agent/Notification.md +0 -38
  239. package/agent/Page.md +0 -27
  240. package/agent/Popover.md +0 -52
  241. package/agent/Radio.md +0 -28
  242. package/agent/Section.md +0 -21
  243. package/agent/Select.md +0 -62
  244. package/agent/Stack.md +0 -35
  245. package/agent/Switch.md +0 -44
  246. package/agent/TabItem.md +0 -25
  247. package/agent/Tabs.md +0 -61
  248. package/agent/Tag.md +0 -41
  249. package/agent/Textarea.md +0 -44
  250. package/agent/Tooltip.md +0 -37
  251. package/agent/_instructions.md +0 -31
  252. package/dist/db-ux/p-1a72176e.entry.js +0 -1
  253. package/dist/db-ux/p-1b7f6a0b.entry.js +0 -1
  254. package/dist/db-ux/p-1da21066.entry.js +0 -1
  255. package/dist/db-ux/p-2d15e200.entry.js +0 -1
  256. package/dist/db-ux/p-312d52da.entry.js +0 -1
  257. package/dist/db-ux/p-3e6b86d6.entry.js +0 -1
  258. package/dist/db-ux/p-4aa16916.entry.js +0 -1
  259. package/dist/db-ux/p-4b69acea.entry.js +0 -1
  260. package/dist/db-ux/p-4cfff250.entry.js +0 -1
  261. package/dist/db-ux/p-5237e5d5.entry.js +0 -1
  262. package/dist/db-ux/p-5b1a0f0f.entry.js +0 -1
  263. package/dist/db-ux/p-5fa85b19.entry.js +0 -1
  264. package/dist/db-ux/p-7351b5ab.entry.js +0 -1
  265. package/dist/db-ux/p-7c6b7578.entry.js +0 -1
  266. package/dist/db-ux/p-828a77d8.entry.js +0 -1
  267. package/dist/db-ux/p-9b47dc80.entry.js +0 -1
  268. package/dist/db-ux/p-BhXdfCpU.js +0 -1
  269. package/dist/db-ux/p-C4x0SOcx.js +0 -1
  270. package/dist/db-ux/p-Crtu1dn6.js +0 -2
  271. package/dist/db-ux/p-DfYL98sI.js +0 -1
  272. package/dist/db-ux/p-RHqkTr-_.js +0 -1
  273. package/dist/db-ux/p-a3a8ce36.entry.js +0 -1
  274. package/dist/db-ux/p-aa0f7280.entry.js +0 -1
  275. package/dist/db-ux/p-b1fc0f4c.entry.js +0 -1
  276. package/dist/db-ux/p-c2624e1b.entry.js +0 -1
  277. package/dist/db-ux/p-c29d8e32.entry.js +0 -1
  278. package/dist/db-ux/p-cf50169a.entry.js +0 -1
  279. package/dist/db-ux/p-d4f3cfa2.entry.js +0 -1
  280. package/dist/db-ux/p-e05fee5a.entry.js +0 -1
  281. package/dist/db-ux/p-f40d2d61.entry.js +0 -1
  282. package/dist/db-ux/p-fcf8e274.entry.js +0 -1
  283. package/dist/db-ux/p-fe06f815.entry.js +0 -1
@@ -12,6 +12,8 @@ export * from './components/card';
12
12
  export * from './components/card/model';
13
13
  export * from './components/checkbox';
14
14
  export * from './components/checkbox/model';
15
+ export * from './components/custom-button';
16
+ export * from './components/custom-button/model';
15
17
  export * from './components/custom-select';
16
18
  export * from './components/custom-select-dropdown';
17
19
  export * from './components/custom-select-dropdown/model';
@@ -20,7 +20,12 @@ export interface GlobalProps {
20
20
  * Before using please check for the [accessibility concerns](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns)
21
21
  */
22
22
  autofocus?: boolean | string;
23
+ /**
24
+ * Allows overriding specific props on nested elements or internal component structure.
25
+ */
26
+ propOverrides?: PropOverridesType;
23
27
  }
28
+ export type PropOverridesType = Pick<GlobalProps, 'id'>;
24
29
  export type GlobalState = {
25
30
  _id?: string;
26
31
  };
@@ -351,6 +356,9 @@ export type FromValidState = {
351
356
  handleValidation: () => void;
352
357
  _invalidMessage?: string;
353
358
  };
359
+ export type ResetIdState = {
360
+ resetIds: () => void;
361
+ };
354
362
  export type FormState = {
355
363
  _messageId?: string;
356
364
  _validMessageId?: string;
@@ -368,7 +376,7 @@ export type FormState = {
368
376
  * We use this to remove form event listener
369
377
  */
370
378
  abortController?: AbortController;
371
- };
379
+ } & ResetIdState;
372
380
  export type InitializedState = {
373
381
  initialized: boolean;
374
382
  };
@@ -519,6 +527,12 @@ export type AriaControlsProps = {
519
527
  */
520
528
  controls?: string;
521
529
  };
530
+ export type NoTextProps = {
531
+ /**
532
+ * Define the text next to the icon specified via the icon Property to get hidden.
533
+ */
534
+ noText?: boolean | string;
535
+ };
522
536
  export type ValueLabelType = {
523
537
  value: string;
524
538
  label?: string;
@@ -679,6 +679,7 @@ export declare namespace h {
679
679
  function h(sel: any, data: VNodeData | null, text: string): VNode;
680
680
  function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
681
681
  function h(sel: any, data: VNodeData | null, children: VNode): VNode;
682
+ function h(sel: any, data: VNodeData | null, ...children: (VNode | string | number)[]): VNode;
682
683
  namespace JSX {
683
684
  interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
684
685
  [tagName: string]: any;
@@ -692,6 +693,8 @@ export declare function h(sel: any, text: string): VNode;
692
693
  export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
693
694
  export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
694
695
  export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
696
+ export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
697
+ export declare function h(sel: any, data: VNodeData | null, ...children: (VNode | string | number)[]): VNode;
695
698
  /**
696
699
  * Automatic JSX runtime functions for TypeScript's react-jsx mode.
697
700
  * These functions are called automatically by TypeScript when using "jsx": "react-jsx".
@@ -721,7 +724,6 @@ export declare function jsxs(type: any, props: any, key?: string): VNode;
721
724
  * @returns a jsx vnode
722
725
  */
723
726
  export declare function jsxDEV(type: any, props: any, key?: string | number, isStaticChildren?: boolean, source?: any, self?: any): VNode;
724
- export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
725
727
  /**
726
728
  * A virtual DOM node
727
729
  */