@db-ux/react-core-components 4.11.1 → 4.12.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 (289) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/components/accordion/accordion.d.ts +1 -1
  3. package/dist/components/accordion/accordion.js +83 -102
  4. package/dist/components/accordion/index.d.ts +1 -1
  5. package/dist/components/accordion/index.js +1 -0
  6. package/dist/components/accordion/model.d.ts +2 -2
  7. package/dist/components/accordion/model.js +2 -4
  8. package/dist/components/accordion-item/accordion-item.d.ts +2 -2
  9. package/dist/components/accordion-item/accordion-item.js +56 -89
  10. package/dist/components/accordion-item/index.d.ts +1 -1
  11. package/dist/components/accordion-item/index.js +1 -0
  12. package/dist/components/accordion-item/model.d.ts +1 -1
  13. package/dist/components/accordion-item/model.js +1 -0
  14. package/dist/components/badge/badge.d.ts +1 -1
  15. package/dist/components/badge/badge.js +28 -72
  16. package/dist/components/badge/index.d.ts +1 -1
  17. package/dist/components/badge/index.js +1 -0
  18. package/dist/components/badge/model.d.ts +1 -1
  19. package/dist/components/badge/model.js +1 -12
  20. package/dist/components/brand/brand.d.ts +1 -1
  21. package/dist/components/brand/brand.js +10 -60
  22. package/dist/components/brand/index.d.ts +1 -1
  23. package/dist/components/brand/index.js +1 -0
  24. package/dist/components/brand/model.d.ts +1 -1
  25. package/dist/components/brand/model.js +1 -0
  26. package/dist/components/button/button.d.ts +1 -1
  27. package/dist/components/button/button.js +19 -75
  28. package/dist/components/button/index.d.ts +1 -1
  29. package/dist/components/button/index.js +1 -0
  30. package/dist/components/button/model.d.ts +1 -1
  31. package/dist/components/button/model.js +2 -13
  32. package/dist/components/card/card.d.ts +1 -1
  33. package/dist/components/card/card.js +14 -65
  34. package/dist/components/card/index.d.ts +1 -1
  35. package/dist/components/card/index.js +1 -0
  36. package/dist/components/card/model.d.ts +1 -1
  37. package/dist/components/card/model.js +2 -8
  38. package/dist/components/checkbox/checkbox.d.ts +1 -1
  39. package/dist/components/checkbox/checkbox.js +143 -163
  40. package/dist/components/checkbox/index.d.ts +1 -1
  41. package/dist/components/checkbox/index.js +1 -0
  42. package/dist/components/checkbox/model.d.ts +1 -1
  43. package/dist/components/checkbox/model.js +1 -0
  44. package/dist/components/custom-button/custom-button.d.ts +1 -1
  45. package/dist/components/custom-button/custom-button.js +10 -65
  46. package/dist/components/custom-button/index.d.ts +1 -1
  47. package/dist/components/custom-button/index.js +1 -0
  48. package/dist/components/custom-button/model.d.ts +2 -2
  49. package/dist/components/custom-button/model.js +1 -0
  50. package/dist/components/custom-select/custom-select.d.ts +1 -1
  51. package/dist/components/custom-select/custom-select.js +688 -509
  52. package/dist/components/custom-select/index.d.ts +1 -1
  53. package/dist/components/custom-select/index.js +1 -0
  54. package/dist/components/custom-select/model.d.ts +4 -4
  55. package/dist/components/custom-select/model.js +1 -8
  56. package/dist/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -1
  57. package/dist/components/custom-select-dropdown/custom-select-dropdown.js +10 -62
  58. package/dist/components/custom-select-dropdown/index.d.ts +1 -1
  59. package/dist/components/custom-select-dropdown/index.js +1 -0
  60. package/dist/components/custom-select-dropdown/model.d.ts +1 -1
  61. package/dist/components/custom-select-dropdown/model.js +1 -8
  62. package/dist/components/custom-select-form-field/custom-select-form-field.d.ts +1 -1
  63. package/dist/components/custom-select-form-field/custom-select-form-field.js +9 -57
  64. package/dist/components/custom-select-form-field/index.d.ts +1 -1
  65. package/dist/components/custom-select-form-field/index.js +1 -0
  66. package/dist/components/custom-select-form-field/model.d.ts +1 -1
  67. package/dist/components/custom-select-form-field/model.js +1 -0
  68. package/dist/components/custom-select-list/custom-select-list.d.ts +1 -1
  69. package/dist/components/custom-select-list/custom-select-list.js +9 -60
  70. package/dist/components/custom-select-list/index.d.ts +1 -1
  71. package/dist/components/custom-select-list/index.js +1 -0
  72. package/dist/components/custom-select-list/model.d.ts +1 -1
  73. package/dist/components/custom-select-list/model.js +1 -0
  74. package/dist/components/custom-select-list-item/custom-select-list-item.d.ts +2 -2
  75. package/dist/components/custom-select-list-item/custom-select-list-item.js +28 -89
  76. package/dist/components/custom-select-list-item/index.d.ts +1 -1
  77. package/dist/components/custom-select-list-item/index.js +1 -0
  78. package/dist/components/custom-select-list-item/model.d.ts +1 -1
  79. package/dist/components/custom-select-list-item/model.js +1 -4
  80. package/dist/components/divider/divider.d.ts +1 -1
  81. package/dist/components/divider/divider.js +9 -60
  82. package/dist/components/divider/index.d.ts +1 -1
  83. package/dist/components/divider/index.js +1 -0
  84. package/dist/components/divider/model.d.ts +1 -1
  85. package/dist/components/divider/model.js +2 -4
  86. package/dist/components/drawer/drawer.d.ts +2 -2
  87. package/dist/components/drawer/drawer.js +109 -118
  88. package/dist/components/drawer/index.d.ts +1 -1
  89. package/dist/components/drawer/index.js +1 -0
  90. package/dist/components/drawer/model.d.ts +4 -1
  91. package/dist/components/drawer/model.js +4 -14
  92. package/dist/components/header/header.d.ts +1 -1
  93. package/dist/components/header/header.js +43 -143
  94. package/dist/components/header/index.d.ts +1 -1
  95. package/dist/components/header/index.js +1 -0
  96. package/dist/components/header/model.d.ts +1 -1
  97. package/dist/components/header/model.js +1 -0
  98. package/dist/components/icon/icon.d.ts +1 -1
  99. package/dist/components/icon/icon.js +9 -61
  100. package/dist/components/icon/index.d.ts +1 -1
  101. package/dist/components/icon/index.js +1 -0
  102. package/dist/components/icon/model.d.ts +1 -1
  103. package/dist/components/icon/model.js +1 -11
  104. package/dist/components/infotext/index.d.ts +1 -1
  105. package/dist/components/infotext/index.js +1 -0
  106. package/dist/components/infotext/infotext.d.ts +1 -1
  107. package/dist/components/infotext/infotext.js +9 -62
  108. package/dist/components/infotext/model.d.ts +1 -1
  109. package/dist/components/infotext/model.js +1 -0
  110. package/dist/components/input/index.d.ts +1 -1
  111. package/dist/components/input/index.js +1 -0
  112. package/dist/components/input/input.d.ts +1 -1
  113. package/dist/components/input/input.js +154 -198
  114. package/dist/components/input/model.d.ts +1 -1
  115. package/dist/components/input/model.js +5 -21
  116. package/dist/components/link/index.d.ts +1 -1
  117. package/dist/components/link/index.js +1 -0
  118. package/dist/components/link/link.d.ts +1 -1
  119. package/dist/components/link/link.js +9 -70
  120. package/dist/components/link/model.d.ts +1 -1
  121. package/dist/components/link/model.js +3 -8
  122. package/dist/components/navigation/index.d.ts +1 -1
  123. package/dist/components/navigation/index.js +1 -0
  124. package/dist/components/navigation/model.d.ts +1 -1
  125. package/dist/components/navigation/model.js +1 -0
  126. package/dist/components/navigation/navigation.d.ts +1 -1
  127. package/dist/components/navigation/navigation.js +9 -57
  128. package/dist/components/navigation-item/index.d.ts +1 -1
  129. package/dist/components/navigation-item/index.js +1 -0
  130. package/dist/components/navigation-item/model.d.ts +2 -2
  131. package/dist/components/navigation-item/model.js +1 -0
  132. package/dist/components/navigation-item/navigation-item.d.ts +1 -1
  133. package/dist/components/navigation-item/navigation-item.js +71 -117
  134. package/dist/components/notification/index.d.ts +1 -1
  135. package/dist/components/notification/index.js +1 -0
  136. package/dist/components/notification/model.d.ts +1 -1
  137. package/dist/components/notification/model.js +3 -12
  138. package/dist/components/notification/notification.d.ts +2 -2
  139. package/dist/components/notification/notification.js +23 -100
  140. package/dist/components/page/index.d.ts +1 -1
  141. package/dist/components/page/index.js +1 -0
  142. package/dist/components/page/model.d.ts +1 -1
  143. package/dist/components/page/model.js +2 -4
  144. package/dist/components/page/page.d.ts +1 -1
  145. package/dist/components/page/page.js +42 -74
  146. package/dist/components/popover/index.d.ts +1 -1
  147. package/dist/components/popover/index.js +1 -0
  148. package/dist/components/popover/model.d.ts +1 -1
  149. package/dist/components/popover/model.js +1 -0
  150. package/dist/components/popover/popover.d.ts +1 -1
  151. package/dist/components/popover/popover.js +119 -126
  152. package/dist/components/radio/index.d.ts +1 -1
  153. package/dist/components/radio/index.js +1 -0
  154. package/dist/components/radio/model.d.ts +1 -1
  155. package/dist/components/radio/model.js +1 -0
  156. package/dist/components/radio/radio.d.ts +1 -1
  157. package/dist/components/radio/radio.js +86 -124
  158. package/dist/components/section/index.d.ts +1 -1
  159. package/dist/components/section/index.js +1 -0
  160. package/dist/components/section/model.d.ts +1 -1
  161. package/dist/components/section/model.js +1 -0
  162. package/dist/components/section/section.d.ts +1 -1
  163. package/dist/components/section/section.js +9 -59
  164. package/dist/components/select/index.d.ts +1 -1
  165. package/dist/components/select/index.js +1 -0
  166. package/dist/components/select/model.d.ts +1 -1
  167. package/dist/components/select/model.js +1 -0
  168. package/dist/components/select/select.d.ts +1 -1
  169. package/dist/components/select/select.js +172 -188
  170. package/dist/components/stack/index.d.ts +1 -1
  171. package/dist/components/stack/index.js +1 -0
  172. package/dist/components/stack/model.d.ts +1 -1
  173. package/dist/components/stack/model.js +4 -14
  174. package/dist/components/stack/stack.d.ts +1 -1
  175. package/dist/components/stack/stack.js +9 -63
  176. package/dist/components/switch/index.d.ts +1 -1
  177. package/dist/components/switch/index.js +1 -0
  178. package/dist/components/switch/model.d.ts +1 -1
  179. package/dist/components/switch/model.js +1 -0
  180. package/dist/components/switch/switch.d.ts +1 -1
  181. package/dist/components/switch/switch.js +135 -182
  182. package/dist/components/tab-item/index.d.ts +1 -1
  183. package/dist/components/tab-item/index.js +1 -0
  184. package/dist/components/tab-item/model.d.ts +1 -1
  185. package/dist/components/tab-item/model.js +1 -0
  186. package/dist/components/tab-item/tab-item.d.ts +1 -1
  187. package/dist/components/tab-item/tab-item.js +72 -105
  188. package/dist/components/tab-list/index.d.ts +1 -1
  189. package/dist/components/tab-list/index.js +1 -0
  190. package/dist/components/tab-list/model.d.ts +1 -1
  191. package/dist/components/tab-list/model.js +1 -0
  192. package/dist/components/tab-list/tab-list.d.ts +1 -1
  193. package/dist/components/tab-list/tab-list.js +9 -60
  194. package/dist/components/tab-panel/index.d.ts +1 -1
  195. package/dist/components/tab-panel/index.js +1 -0
  196. package/dist/components/tab-panel/model.d.ts +1 -1
  197. package/dist/components/tab-panel/model.js +1 -0
  198. package/dist/components/tab-panel/tab-panel.d.ts +1 -1
  199. package/dist/components/tab-panel/tab-panel.js +10 -59
  200. package/dist/components/table/examples/data.d.ts +1 -1
  201. package/dist/components/table/examples/data.js +258 -0
  202. package/dist/components/table/index.d.ts +1 -1
  203. package/dist/components/table/index.js +1 -0
  204. package/dist/components/table/model.d.ts +2 -2
  205. package/dist/components/table/model.js +6 -28
  206. package/dist/components/table/table.d.ts +1 -1
  207. package/dist/components/table/table.js +77 -111
  208. package/dist/components/table-body/index.d.ts +1 -1
  209. package/dist/components/table-body/index.js +1 -0
  210. package/dist/components/table-body/model.d.ts +2 -2
  211. package/dist/components/table-body/model.js +1 -0
  212. package/dist/components/table-body/table-body.d.ts +1 -1
  213. package/dist/components/table-body/table-body.js +12 -64
  214. package/dist/components/table-caption/index.d.ts +1 -1
  215. package/dist/components/table-caption/index.js +1 -0
  216. package/dist/components/table-caption/model.d.ts +1 -1
  217. package/dist/components/table-caption/model.js +1 -0
  218. package/dist/components/table-caption/table-caption.d.ts +1 -1
  219. package/dist/components/table-caption/table-caption.js +9 -57
  220. package/dist/components/table-data-cell/index.d.ts +1 -1
  221. package/dist/components/table-data-cell/index.js +1 -0
  222. package/dist/components/table-data-cell/model.d.ts +1 -1
  223. package/dist/components/table-data-cell/model.js +1 -0
  224. package/dist/components/table-data-cell/table-data-cell.d.ts +1 -1
  225. package/dist/components/table-data-cell/table-data-cell.js +9 -62
  226. package/dist/components/table-footer/index.d.ts +1 -1
  227. package/dist/components/table-footer/index.js +1 -0
  228. package/dist/components/table-footer/model.d.ts +2 -2
  229. package/dist/components/table-footer/model.js +1 -0
  230. package/dist/components/table-footer/table-footer.d.ts +1 -1
  231. package/dist/components/table-footer/table-footer.js +12 -64
  232. package/dist/components/table-head/index.d.ts +1 -1
  233. package/dist/components/table-head/index.js +1 -0
  234. package/dist/components/table-head/model.d.ts +2 -2
  235. package/dist/components/table-head/model.js +1 -0
  236. package/dist/components/table-head/table-head.d.ts +1 -1
  237. package/dist/components/table-head/table-head.js +18 -71
  238. package/dist/components/table-header-cell/index.d.ts +1 -1
  239. package/dist/components/table-header-cell/index.js +1 -0
  240. package/dist/components/table-header-cell/model.d.ts +1 -1
  241. package/dist/components/table-header-cell/model.js +1 -9
  242. package/dist/components/table-header-cell/table-header-cell.d.ts +1 -1
  243. package/dist/components/table-header-cell/table-header-cell.js +9 -65
  244. package/dist/components/table-row/index.d.ts +1 -1
  245. package/dist/components/table-row/index.js +1 -0
  246. package/dist/components/table-row/model.d.ts +4 -4
  247. package/dist/components/table-row/model.js +1 -8
  248. package/dist/components/table-row/table-row.d.ts +1 -1
  249. package/dist/components/table-row/table-row.js +20 -127
  250. package/dist/components/tabs/index.d.ts +1 -1
  251. package/dist/components/tabs/index.js +1 -0
  252. package/dist/components/tabs/model.d.ts +3 -3
  253. package/dist/components/tabs/model.js +2 -4
  254. package/dist/components/tabs/tabs.d.ts +1 -1
  255. package/dist/components/tabs/tabs.js +170 -191
  256. package/dist/components/tag/index.d.ts +1 -1
  257. package/dist/components/tag/index.js +1 -0
  258. package/dist/components/tag/model.d.ts +1 -1
  259. package/dist/components/tag/model.js +1 -4
  260. package/dist/components/tag/tag.d.ts +1 -1
  261. package/dist/components/tag/tag.js +26 -91
  262. package/dist/components/textarea/index.d.ts +1 -1
  263. package/dist/components/textarea/index.js +1 -0
  264. package/dist/components/textarea/model.d.ts +1 -1
  265. package/dist/components/textarea/model.js +2 -13
  266. package/dist/components/textarea/textarea.d.ts +1 -1
  267. package/dist/components/textarea/textarea.js +139 -165
  268. package/dist/components/tooltip/index.d.ts +1 -1
  269. package/dist/components/tooltip/index.js +1 -0
  270. package/dist/components/tooltip/model.d.ts +1 -1
  271. package/dist/components/tooltip/model.js +1 -4
  272. package/dist/components/tooltip/tooltip.d.ts +1 -1
  273. package/dist/components/tooltip/tooltip.js +197 -160
  274. package/dist/index.d.ts +97 -97
  275. package/dist/index.js +97 -75
  276. package/dist/shared/constants.js +100 -32
  277. package/dist/shared/examples/index.js +4 -0
  278. package/dist/shared/figma.js +1 -0
  279. package/dist/shared/model.js +22 -77
  280. package/dist/shared/showcase/show-code-link.js +51 -0
  281. package/dist/utils/document-click-listener.js +29 -26
  282. package/dist/utils/document-scroll-listener.js +38 -30
  283. package/dist/utils/floating-components.js +404 -107
  284. package/dist/utils/form-components.js +71 -34
  285. package/dist/utils/index.d.ts +1 -1
  286. package/dist/utils/index.js +170 -49
  287. package/dist/utils/navigation.js +134 -68
  288. package/dist/utils/react.js +21 -10
  289. package/package.json +6 -9
@@ -1,8 +1,3 @@
1
- //#region src/components/link/model.ts
2
- var e = [
3
- "adaptive",
4
- "brand",
5
- "inline"
6
- ], t = ["medium", "small"], n = ["external", "internal"];
7
- //#endregion
8
- export { n as LinkContentList, t as LinkSizeList, e as LinkVariantList };
1
+ export const LinkVariantList = ['adaptive', 'brand', 'inline'];
2
+ export const LinkSizeList = ['medium', 'small'];
3
+ export const LinkContentList = ['external', 'internal'];
@@ -1 +1 @@
1
- export { default as DBNavigation } from './navigation';
1
+ export { default as DBNavigation } from './navigation.js';
@@ -0,0 +1 @@
1
+ export { default as DBNavigation } from './navigation.js';
@@ -1,4 +1,4 @@
1
- import type { GlobalProps } from '../../shared/model';
1
+ import type { GlobalProps } from '../../shared/model.js';
2
2
  export type DBNavigationDefaultProps = {};
3
3
  export type DBNavigationProps = DBNavigationDefaultProps & GlobalProps;
4
4
  export type DBNavigationDefaultState = {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,3 @@
1
1
  import * as React from "react";
2
- declare const DBNavigation: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, keyof import("../..").GlobalProps> & import("../..").GlobalProps & React.RefAttributes<any>>;
2
+ declare const DBNavigation: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, keyof import("../../index.js").GlobalProps> & import("../../index.js").GlobalProps & React.RefAttributes<any>>;
3
3
  export default DBNavigation;
@@ -1,59 +1,11 @@
1
1
  "use client";
2
- import { filterPassingProps as e, getRootProps as t } from "../../utils/react.js";
3
- import { cls as n } from "../../utils/index.js";
4
- import { forwardRef as r, useRef as i } from "react";
5
- import { jsx as a } from "react/jsx-runtime";
6
- //#region src/components/navigation/navigation.tsx
7
- function o(r, o) {
8
- return /* @__PURE__ */ a("nav", {
9
- ref: o || i(o),
10
- ...e(r, [
11
- "data-icon-variant",
12
- "data-icon-variant-before",
13
- "data-icon-variant-after",
14
- "data-icon-weight",
15
- "data-icon-weight-before",
16
- "data-icon-weight-after",
17
- "data-interactive",
18
- "data-force-mobile",
19
- "data-color",
20
- "data-container-color",
21
- "data-bg-color",
22
- "data-on-bg-color",
23
- "data-color-scheme",
24
- "data-font-size",
25
- "data-headline-size",
26
- "data-divider",
27
- "data-focus",
28
- "data-font",
29
- "data-density"
30
- ]),
31
- id: r.id ?? r.propOverrides?.id,
32
- ...t(r, [
33
- "data-icon-variant",
34
- "data-icon-variant-before",
35
- "data-icon-variant-after",
36
- "data-icon-weight",
37
- "data-icon-weight-before",
38
- "data-icon-weight-after",
39
- "data-interactive",
40
- "data-force-mobile",
41
- "data-color",
42
- "data-container-color",
43
- "data-bg-color",
44
- "data-on-bg-color",
45
- "data-color-scheme",
46
- "data-font-size",
47
- "data-headline-size",
48
- "data-divider",
49
- "data-focus",
50
- "data-font",
51
- "data-density"
52
- ]),
53
- className: n("db-navigation", r.className),
54
- children: /* @__PURE__ */ a("menu", { children: r.children })
55
- });
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { filterPassingProps, getRootProps } from "../../utils/react.js";
4
+ import { useRef, forwardRef } from "react";
5
+ import { cls } from "../../utils/index.js";
6
+ function DBNavigationFn(props, component) {
7
+ const _ref = component || useRef(component);
8
+ return (_jsx("nav", { ref: _ref, ...filterPassingProps(props, ["data-icon-variant", "data-icon-variant-before", "data-icon-variant-after", "data-icon-weight", "data-icon-weight-before", "data-icon-weight-after", "data-interactive", "data-force-mobile", "data-color", "data-container-color", "data-bg-color", "data-on-bg-color", "data-color-scheme", "data-font-size", "data-headline-size", "data-divider", "data-focus", "data-font", "data-density"]), id: props.id ?? props.propOverrides?.id, ...getRootProps(props, ["data-icon-variant", "data-icon-variant-before", "data-icon-variant-after", "data-icon-weight", "data-icon-weight-before", "data-icon-weight-after", "data-interactive", "data-force-mobile", "data-color", "data-container-color", "data-bg-color", "data-on-bg-color", "data-color-scheme", "data-font-size", "data-headline-size", "data-divider", "data-focus", "data-font", "data-density"]), className: cls("db-navigation", props.className), children: _jsx("menu", { children: props.children }) }));
56
9
  }
57
- var s = r(o);
58
- //#endregion
59
- export { s as default };
10
+ const DBNavigation = forwardRef(DBNavigationFn);
11
+ export default DBNavigation;
@@ -1 +1 @@
1
- export { default as DBNavigationItem } from './navigation-item';
1
+ export { default as DBNavigationItem } from './navigation-item.js';
@@ -0,0 +1 @@
1
+ export { default as DBNavigationItem } from './navigation-item.js';
@@ -1,5 +1,5 @@
1
- import type { ClickEvent, ClickEventProps, ClickEventState, GlobalProps, GlobalState, IconProps, InitializedState, NavigationBackButtonProps, NavigationBehaviorState, ShowIconProps, TextProps, WidthProps, WrapProps } from '../../shared/model';
2
- import type { NavigationItemSafeTriangle } from '../../utils/navigation';
1
+ import type { ClickEvent, ClickEventProps, ClickEventState, GlobalProps, GlobalState, IconProps, InitializedState, NavigationBackButtonProps, NavigationBehaviorState, ShowIconProps, TextProps, WidthProps, WrapProps } from '../../shared/model.js';
2
+ import type { NavigationItemSafeTriangle } from '../../utils/navigation.js';
3
3
  export type DBNavigationItemDefaultProps = {
4
4
  /**
5
5
  * Alternative indicator for active navigation item (bold font). In contrast to the use of aria-current="page" on the contained anchor, this does not guarantee correct a11y.
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,3 @@
1
1
  import * as React from "react";
2
- declare const DBNavigationItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, keyof import("../../shared/model").GlobalProps | "text" | "wrap" | "icon" | "showIcon" | keyof import("../../shared/model").ClickEventProps<HTMLButtonElement> | "width" | keyof import("./model").DBNavigationItemDefaultProps | keyof import("../../shared/model").NavigationBackButtonProps> & import("./model").DBNavigationItemDefaultProps & import("../../shared/model").GlobalProps & import("../../shared/model").ClickEventProps<HTMLButtonElement> & import("../../shared/model").IconProps & import("../../shared/model").WidthProps & import("../../shared/model").WrapProps & import("../../shared/model").NavigationBackButtonProps & import("../../shared/model").ShowIconProps & import("../../shared/model").TextProps & React.RefAttributes<any>>;
2
+ declare const DBNavigationItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, keyof import("../../shared/model.js").GlobalProps | "text" | "wrap" | "icon" | "showIcon" | keyof import("../../shared/model.js").ClickEventProps<HTMLButtonElement> | "width" | keyof import("./model.js").DBNavigationItemDefaultProps | keyof import("../../shared/model.js").NavigationBackButtonProps> & import("./model.js").DBNavigationItemDefaultProps & import("../../shared/model.js").GlobalProps & import("../../shared/model.js").ClickEventProps<HTMLButtonElement> & import("../../shared/model.js").IconProps & import("../../shared/model.js").WidthProps & import("../../shared/model.js").WrapProps & import("../../shared/model.js").NavigationBackButtonProps & import("../../shared/model.js").ShowIconProps & import("../../shared/model.js").TextProps & React.RefAttributes<any>>;
3
3
  export default DBNavigationItem;
@@ -1,119 +1,73 @@
1
1
  "use client";
2
- import { filterPassingProps as e, getRootProps as t } from "../../utils/react.js";
3
- import { cls as n, delay as r, getBoolean as i, getBooleanAsString as a } from "../../utils/index.js";
4
- import "../../shared/constants.js";
5
- import o from "../button/button.js";
6
- import { NavigationItemSafeTriangle as s } from "../../utils/navigation.js";
7
- import { forwardRef as c, useEffect as l, useId as u, useRef as d, useState as f } from "react";
8
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
9
- //#region src/components/navigation-item/navigation-item.tsx
10
- function g(c, g) {
11
- let _ = u(), v = g || d(g), [y, b] = f(() => !1), [x, S] = f(() => !1), [C, w] = f(() => !0), [T, E] = f(() => !1), [D, O] = f(() => !1), [k, A] = f(() => void 0), [j, M] = f(() => void 0), [N, P] = f(() => void 0);
12
- function F(e) {
13
- e?.target?.nodeName === "A" && (O(!0), r(() => {
14
- O(!1);
15
- }, 1e3));
16
- }
17
- function I(e) {
18
- c.onClick && (e.stopPropagation(), c.onClick(e)), x && E(!0);
19
- }
20
- function L(e) {
21
- e.stopPropagation(), E(!1);
22
- }
23
- return l(() => {
24
- b(!0);
25
- let e = `sub-nav-${c.id ?? _}`;
26
- M(e), P(`${e}-toggle`);
27
- }, []), l(() => {
28
- c.subNavigationExpanded !== void 0 && E(!!i(c.subNavigationExpanded, "subNavigationExpanded"));
29
- }, [c.subNavigationExpanded]), l(() => {
30
- if (y && v.current) {
31
- let e = v.current.querySelector("menu");
32
- e && (e.children?.length > 0 ? (S(!0), k || A(new s(v.current, e))) : w(!1));
33
- }
34
- }, [y, v.current]), /* @__PURE__ */ m("li", {
35
- ref: v,
36
- ...e(c, [
37
- "data-icon-variant",
38
- "data-icon-variant-before",
39
- "data-icon-variant-after",
40
- "data-icon-weight",
41
- "data-icon-weight-before",
42
- "data-icon-weight-after",
43
- "data-interactive",
44
- "data-force-mobile",
45
- "data-color",
46
- "data-container-color",
47
- "data-bg-color",
48
- "data-on-bg-color",
49
- "data-color-scheme",
50
- "data-font-size",
51
- "data-headline-size",
52
- "data-divider",
53
- "data-focus",
54
- "data-font",
55
- "data-density"
56
- ]),
57
- id: c.id ?? c.propOverrides?.id,
58
- onMouseOver: (e) => k?.enableFollow(),
59
- onMouseLeave: (e) => k?.disableFollow(),
60
- onMouseMove: (e) => k?.followByMouseEvent(e),
61
- ...t(c, [
62
- "data-icon-variant",
63
- "data-icon-variant-before",
64
- "data-icon-variant-after",
65
- "data-icon-weight",
66
- "data-icon-weight-before",
67
- "data-icon-weight-after",
68
- "data-interactive",
69
- "data-force-mobile",
70
- "data-color",
71
- "data-container-color",
72
- "data-bg-color",
73
- "data-on-bg-color",
74
- "data-color-scheme",
75
- "data-font-size",
76
- "data-headline-size",
77
- "data-divider",
78
- "data-focus",
79
- "data-font",
80
- "data-density"
81
- ]),
82
- className: n("db-navigation-item", c.className),
83
- "data-width": c.width,
84
- "data-icon": c.icon,
85
- "data-show-icon": a(c.showIcon, "showIcon"),
86
- "data-active": c.active,
87
- "data-wrap": a(c.wrap, "wrap"),
88
- "aria-disabled": a(c.disabled, "disabled"),
89
- children: !i(c.hideSubNavigation, "hideSubNavigation") && C ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("button", {
90
- className: "db-navigation-item-expand-button",
91
- id: N,
92
- "aria-haspopup": x ? "true" : void 0,
93
- "aria-expanded": T,
94
- "aria-controls": j,
95
- disabled: i(c.disabled, "disabled"),
96
- onClick: (e) => I(e),
97
- children: c.text ? /* @__PURE__ */ m(p, { children: c.text }) : /* @__PURE__ */ m(p, { children: c.children })
98
- }), /* @__PURE__ */ h("menu", {
99
- className: "db-sub-navigation",
100
- id: j,
101
- "aria-labelledby": N,
102
- "data-force-close": D,
103
- onClick: (e) => F(e),
104
- children: [x ? /* @__PURE__ */ m("div", {
105
- className: "db-mobile-navigation-back",
106
- children: /* @__PURE__ */ m(o, {
107
- icon: "arrow_left",
108
- variant: "ghost",
109
- id: c.backButtonId,
110
- onClick: (e) => L(e),
111
- children: c.backButtonText ?? "Back"
112
- })
113
- }) : null, /* @__PURE__ */ m(p, { children: c.subNavigation })]
114
- })] }) : c.text ? /* @__PURE__ */ m(p, { children: c.text }) : /* @__PURE__ */ m(p, { children: c.children })
115
- });
2
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { filterPassingProps, getRootProps } from "../../utils/react.js";
4
+ import { useState, useRef, useEffect, forwardRef } from "react";
5
+ import { DEFAULT_BACK } from "../../shared/constants.js";
6
+ import { cls, delay, getBoolean, getBooleanAsString } from "../../utils/index.js";
7
+ import { NavigationItemSafeTriangle } from "../../utils/navigation.js";
8
+ import DBButton from "../button/button.js";
9
+ import { useId } from "react";
10
+ function DBNavigationItemFn(props, component) {
11
+ const uuid = useId();
12
+ const _ref = component || useRef(component);
13
+ const [initialized, setInitialized] = useState(() => false);
14
+ const [hasAreaPopup, setHasAreaPopup] = useState(() => false);
15
+ const [hasSubNavigation, setHasSubNavigation] = useState(() => true);
16
+ const [isSubNavigationExpanded, setIsSubNavigationExpanded] = useState(() => false);
17
+ const [autoClose, setAutoClose] = useState(() => false);
18
+ const [navigationItemSafeTriangle, setNavigationItemSafeTriangle] = useState(() => undefined);
19
+ const [subNavigationId, setSubNavigationId] = useState(() => undefined);
20
+ const [subNavigationToggleId, setSubNavigationToggleId] = useState(() => undefined);
21
+ function handleNavigationItemClick(event) {
22
+ if (event?.target?.nodeName === "A") {
23
+ setAutoClose(true);
24
+ void delay(() => {
25
+ setAutoClose(false);
26
+ }, 1000);
27
+ }
28
+ }
29
+ function handleClick(event) {
30
+ if (props.onClick) {
31
+ event.stopPropagation();
32
+ props.onClick(event);
33
+ }
34
+ if (hasAreaPopup) {
35
+ setIsSubNavigationExpanded(true);
36
+ }
37
+ }
38
+ function handleBackClick(event) {
39
+ event.stopPropagation();
40
+ setIsSubNavigationExpanded(false);
41
+ }
42
+ useEffect(() => {
43
+ setInitialized(true);
44
+ const subNavId = `sub-nav-${props.id ?? uuid}`;
45
+ setSubNavigationId(subNavId);
46
+ setSubNavigationToggleId(`${subNavId}-toggle`);
47
+ }, []);
48
+ useEffect(() => {
49
+ if (props.subNavigationExpanded !== undefined) {
50
+ setIsSubNavigationExpanded(!!getBoolean(props.subNavigationExpanded, "subNavigationExpanded"));
51
+ }
52
+ }, [props.subNavigationExpanded]);
53
+ useEffect(() => {
54
+ if (initialized && _ref.current) {
55
+ const subNavigationSlot = _ref.current.querySelector("menu");
56
+ if (subNavigationSlot) {
57
+ if (subNavigationSlot.children?.length > 0) {
58
+ setHasAreaPopup(true);
59
+ if (!navigationItemSafeTriangle) {
60
+ setNavigationItemSafeTriangle(new NavigationItemSafeTriangle(_ref.current, subNavigationSlot));
61
+ }
62
+ }
63
+ else {
64
+ setHasSubNavigation(false);
65
+ }
66
+ }
67
+ }
68
+ }, [initialized, _ref.current]);
69
+ return (_jsx("li", { ref: _ref, ...filterPassingProps(props, ["data-icon-variant", "data-icon-variant-before", "data-icon-variant-after", "data-icon-weight", "data-icon-weight-before", "data-icon-weight-after", "data-interactive", "data-force-mobile", "data-color", "data-container-color", "data-bg-color", "data-on-bg-color", "data-color-scheme", "data-font-size", "data-headline-size", "data-divider", "data-focus", "data-font", "data-density"]), id: props.id ?? props.propOverrides?.id, onMouseOver: (event) => navigationItemSafeTriangle?.enableFollow(), onMouseLeave: (event) => navigationItemSafeTriangle?.disableFollow(), onMouseMove: (event) => navigationItemSafeTriangle?.followByMouseEvent(event), ...getRootProps(props, ["data-icon-variant", "data-icon-variant-before", "data-icon-variant-after", "data-icon-weight", "data-icon-weight-before", "data-icon-weight-after", "data-interactive", "data-force-mobile", "data-color", "data-container-color", "data-bg-color", "data-on-bg-color", "data-color-scheme", "data-font-size", "data-headline-size", "data-divider", "data-focus", "data-font", "data-density"]), className: cls("db-navigation-item", props.className), "data-width": props.width, "data-icon": props.icon, "data-show-icon": getBooleanAsString(props.showIcon, "showIcon"), "data-active": props.active, "data-wrap": getBooleanAsString(props.wrap, "wrap"), "aria-disabled": getBooleanAsString(props.disabled, "disabled"), children: !getBoolean(props.hideSubNavigation, "hideSubNavigation") &&
70
+ hasSubNavigation ? (_jsxs(_Fragment, { children: [_jsx("button", { className: "db-navigation-item-expand-button", id: subNavigationToggleId, "aria-haspopup": hasAreaPopup ? "true" : undefined, "aria-expanded": isSubNavigationExpanded, "aria-controls": subNavigationId, disabled: getBoolean(props.disabled, "disabled"), onClick: (event) => handleClick(event), children: props.text ? _jsx(_Fragment, { children: props.text }) : _jsx(_Fragment, { children: props.children }) }), _jsxs("menu", { className: "db-sub-navigation", id: subNavigationId, "aria-labelledby": subNavigationToggleId, "data-force-close": autoClose, onClick: (event) => handleNavigationItemClick(event), children: [hasAreaPopup ? (_jsx("div", { className: "db-mobile-navigation-back", children: _jsx(DBButton, { icon: "arrow_left", variant: "ghost", id: props.backButtonId, onClick: (event) => handleBackClick(event), children: props.backButtonText ?? DEFAULT_BACK }) })) : null, _jsx(_Fragment, { children: props.subNavigation })] })] })) : props.text ? (_jsx(_Fragment, { children: props.text })) : (_jsx(_Fragment, { children: props.children })) }));
116
71
  }
117
- var _ = c(g);
118
- //#endregion
119
- export { _ as default };
72
+ const DBNavigationItem = forwardRef(DBNavigationItemFn);
73
+ export default DBNavigationItem;
@@ -1 +1 @@
1
- export { default as DBNotification } from './notification';
1
+ export { default as DBNotification } from './notification.js';
@@ -0,0 +1 @@
1
+ export { default as DBNotification } from './notification.js';
@@ -1,4 +1,4 @@
1
- import type { ClickEvent, CloseEventProps, CloseEventState, GlobalProps, GlobalState, IconProps, InnerCloseButtonProps, RoleProps, SemanticProps, ShowIconProps, TextProps } from '../../shared/model';
1
+ import type { ClickEvent, CloseEventProps, CloseEventState, GlobalProps, GlobalState, IconProps, InnerCloseButtonProps, RoleProps, SemanticProps, ShowIconProps, TextProps } from '../../shared/model.js';
2
2
  export declare const NotificationVariantList: readonly ["docked", "standalone", "overlay"];
3
3
  export type NotificationVariantType = (typeof NotificationVariantList)[number];
4
4
  export declare const NotificationLinkVariantList: readonly ["block", "inline"];
@@ -1,12 +1,3 @@
1
- //#region src/components/notification/model.ts
2
- var e = [
3
- "docked",
4
- "standalone",
5
- "overlay"
6
- ], t = ["block", "inline"], n = [
7
- "assertive",
8
- "polite",
9
- "off"
10
- ];
11
- //#endregion
12
- export { n as NotificationAriaLiveList, t as NotificationLinkVariantList, e as NotificationVariantList };
1
+ export const NotificationVariantList = ['docked', 'standalone', 'overlay'];
2
+ export const NotificationLinkVariantList = ['block', 'inline'];
3
+ export const NotificationAriaLiveList = ['assertive', 'polite', 'off'];
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
- import { ClickEvent } from "../../shared/model";
3
- declare const DBNotification: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, "role" | keyof import("../../shared/model").GlobalProps | "semantic" | "text" | "icon" | "showIcon" | keyof import("../../shared/model").InnerCloseButtonProps | keyof import("./model").DBNotificationDefaultProps | keyof import("../../shared/model").CloseEventProps<ClickEvent<HTMLButtonElement>>> & import("./model").DBNotificationDefaultProps & import("../../shared/model").GlobalProps & import("../../shared/model").RoleProps & import("../../shared/model").CloseEventProps<ClickEvent<HTMLButtonElement>> & import("../../shared/model").IconProps & import("../../shared/model").SemanticProps & import("../../shared/model").InnerCloseButtonProps & import("../../shared/model").ShowIconProps & import("../../shared/model").TextProps & React.RefAttributes<any>>;
2
+ import { ClickEvent } from "../../shared/model.js";
3
+ declare const DBNotification: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, "role" | keyof import("../../shared/model.js").GlobalProps | "semantic" | "text" | "icon" | "showIcon" | keyof import("../../shared/model.js").InnerCloseButtonProps | keyof import("./model.js").DBNotificationDefaultProps | keyof import("../../shared/model.js").CloseEventProps<ClickEvent<HTMLButtonElement>>> & import("./model.js").DBNotificationDefaultProps & import("../../shared/model.js").GlobalProps & import("../../shared/model.js").RoleProps & import("../../shared/model.js").CloseEventProps<ClickEvent<HTMLButtonElement>> & import("../../shared/model.js").IconProps & import("../../shared/model.js").SemanticProps & import("../../shared/model.js").InnerCloseButtonProps & import("../../shared/model.js").ShowIconProps & import("../../shared/model.js").TextProps & React.RefAttributes<any>>;
4
4
  export default DBNotification;
@@ -1,102 +1,25 @@
1
1
  "use client";
2
- import { filterPassingProps as e, getRootProps as t } from "../../utils/react.js";
3
- import { cls as n, getBoolean as r, getBooleanAsString as i, getNotificationRole as a, stringPropVisible as o } from "../../utils/index.js";
4
- import "../../shared/constants.js";
5
- import s from "../button/button.js";
6
- import { forwardRef as c, useRef as l } from "react";
7
- import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
8
- //#region src/components/notification/notification.tsx
9
- function p(c, p) {
10
- let m = p || l(p);
11
- function h(e) {
12
- e && (e.stopPropagation(), c.onClose && c.onClose(e));
13
- }
14
- return /* @__PURE__ */ f("div", {
15
- ref: m,
16
- ...e(c, [
17
- "data-icon-variant",
18
- "data-icon-variant-before",
19
- "data-icon-variant-after",
20
- "data-icon-weight",
21
- "data-icon-weight-before",
22
- "data-icon-weight-after",
23
- "data-interactive",
24
- "data-force-mobile",
25
- "data-color",
26
- "data-container-color",
27
- "data-bg-color",
28
- "data-on-bg-color",
29
- "data-color-scheme",
30
- "data-font-size",
31
- "data-headline-size",
32
- "data-divider",
33
- "data-focus",
34
- "data-font",
35
- "data-density",
36
- "onClose"
37
- ]),
38
- id: c.id ?? c.propOverrides?.id,
39
- ...t(c, [
40
- "data-icon-variant",
41
- "data-icon-variant-before",
42
- "data-icon-variant-after",
43
- "data-icon-weight",
44
- "data-icon-weight-before",
45
- "data-icon-weight-after",
46
- "data-interactive",
47
- "data-force-mobile",
48
- "data-color",
49
- "data-container-color",
50
- "data-bg-color",
51
- "data-on-bg-color",
52
- "data-color-scheme",
53
- "data-font-size",
54
- "data-headline-size",
55
- "data-divider",
56
- "data-focus",
57
- "data-font",
58
- "data-density"
59
- ]),
60
- className: n("db-notification", c.className),
61
- role: a({
62
- semantic: c.semantic,
63
- role: c.role,
64
- ariaLive: c.ariaLive
65
- }),
66
- "aria-live": c.ariaLive,
67
- "data-semantic": c.semantic,
68
- "data-variant": c.variant,
69
- "data-icon": r(c.showIcon) === !1 ? void 0 : c.icon,
70
- "data-show-icon": i(c.showIcon, "showIcon"),
71
- "data-link-variant": c.linkVariant,
72
- children: [
73
- /* @__PURE__ */ d(u, { children: c.image }),
74
- o(c.headline, c.showHeadline) ? /* @__PURE__ */ d("header", {
75
- "data-area": "head",
76
- children: c.headline
77
- }) : null,
78
- /* @__PURE__ */ f("div", {
79
- "data-area": "content",
80
- children: [c.text ? /* @__PURE__ */ d(u, { children: c.text }) : null, c.children]
81
- }),
82
- o(c.timestamp, c.showTimestamp) ? /* @__PURE__ */ d("time", {
83
- "data-area": "timestamp",
84
- dateTime: c.timestampDatetime,
85
- children: c.timestamp
86
- }) : null,
87
- /* @__PURE__ */ d(u, { children: c.link }),
88
- r(c.closeable, "closeable") ? /* @__PURE__ */ d(s, {
89
- icon: "cross",
90
- variant: "ghost",
91
- size: "small",
92
- id: c.closeButtonId,
93
- noText: !0,
94
- onClick: (e) => h(e),
95
- children: c.closeButtonText ?? "Close"
96
- }) : null
97
- ]
98
- });
2
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { filterPassingProps, getRootProps } from "../../utils/react.js";
4
+ import { useRef, forwardRef } from "react";
5
+ import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants.js";
6
+ import { cls, getBoolean, getBooleanAsString, getNotificationRole, stringPropVisible, } from "../../utils/index.js";
7
+ import DBButton from "../button/button.js";
8
+ function DBNotificationFn(props, component) {
9
+ const _ref = component || useRef(component);
10
+ function handleClose(event) {
11
+ if (!event)
12
+ return;
13
+ event.stopPropagation();
14
+ if (props.onClose) {
15
+ props.onClose(event);
16
+ }
17
+ }
18
+ return (_jsxs("div", { ref: _ref, ...filterPassingProps(props, ["data-icon-variant", "data-icon-variant-before", "data-icon-variant-after", "data-icon-weight", "data-icon-weight-before", "data-icon-weight-after", "data-interactive", "data-force-mobile", "data-color", "data-container-color", "data-bg-color", "data-on-bg-color", "data-color-scheme", "data-font-size", "data-headline-size", "data-divider", "data-focus", "data-font", "data-density", "onClose"]), id: props.id ?? props.propOverrides?.id, ...getRootProps(props, ["data-icon-variant", "data-icon-variant-before", "data-icon-variant-after", "data-icon-weight", "data-icon-weight-before", "data-icon-weight-after", "data-interactive", "data-force-mobile", "data-color", "data-container-color", "data-bg-color", "data-on-bg-color", "data-color-scheme", "data-font-size", "data-headline-size", "data-divider", "data-focus", "data-font", "data-density"]), className: cls("db-notification", props.className), role: getNotificationRole({
19
+ semantic: props.semantic,
20
+ role: props.role,
21
+ ariaLive: props.ariaLive,
22
+ }), "aria-live": props.ariaLive, "data-semantic": props.semantic, "data-variant": props.variant, "data-icon": getBoolean(props.showIcon) !== false ? props.icon : undefined, "data-show-icon": getBooleanAsString(props.showIcon, "showIcon"), "data-link-variant": props.linkVariant, children: [_jsx(_Fragment, { children: props.image }), stringPropVisible(props.headline, props.showHeadline) ? (_jsx("header", { "data-area": "head", children: props.headline })) : null, _jsxs("div", { "data-area": "content", children: [props.text ? _jsx(_Fragment, { children: props.text }) : null, props.children] }), stringPropVisible(props.timestamp, props.showTimestamp) ? (_jsx("time", { "data-area": "timestamp", dateTime: props.timestampDatetime, children: props.timestamp })) : null, _jsx(_Fragment, { children: props.link }), getBoolean(props.closeable, "closeable") ? (_jsx(DBButton, { icon: "cross", variant: "ghost", size: "small", id: props.closeButtonId, noText: true, onClick: (event) => handleClose(event), children: props.closeButtonText ?? DEFAULT_CLOSE_BUTTON })) : null] }));
99
23
  }
100
- var m = c(p);
101
- //#endregion
102
- export { m as default };
24
+ const DBNotification = forwardRef(DBNotificationFn);
25
+ export default DBNotification;
@@ -1 +1 @@
1
- export { default as DBPage } from './page';
1
+ export { default as DBPage } from './page.js';
@@ -0,0 +1 @@
1
+ export { default as DBPage } from './page.js';
@@ -1,4 +1,4 @@
1
- import type { GlobalProps, GlobalState } from '../../shared/model';
1
+ import type { GlobalProps, GlobalState } from '../../shared/model.js';
2
2
  export declare const PageVariantList: readonly ["auto", "fixed"];
3
3
  export type PageVariantType = (typeof PageVariantList)[number];
4
4
  export declare const PageDocumentOverflowList: readonly ["hidden", "auto"];
@@ -1,4 +1,2 @@
1
- //#region src/components/page/model.ts
2
- var e = ["auto", "fixed"], t = ["hidden", "auto"];
3
- //#endregion
4
- export { t as PageDocumentOverflowList, e as PageVariantList };
1
+ export const PageVariantList = ['auto', 'fixed'];
2
+ export const PageDocumentOverflowList = ['hidden', 'auto'];
@@ -1,3 +1,3 @@
1
1
  import * as React from "react";
2
- declare const DBPage: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, keyof import("../..").GlobalProps | keyof import("./model").DBPageDefaultProps> & import("./model").DBPageDefaultProps & import("../..").GlobalProps & React.RefAttributes<any>>;
2
+ declare const DBPage: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<any>, keyof import("../../index.js").GlobalProps | keyof import("./model.js").DBPageDefaultProps> & import("./model.js").DBPageDefaultProps & import("../../index.js").GlobalProps & React.RefAttributes<any>>;
3
3
  export default DBPage;