@bioturing/components 0.15.0 → 0.15.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 (355) hide show
  1. package/dist/components/Badge/component.js +21 -0
  2. package/dist/components/Badge/component.js.map +1 -0
  3. package/dist/components/Badge/style.css +1 -0
  4. package/dist/components/Breadcrumb/component.js +46 -0
  5. package/dist/components/Breadcrumb/component.js.map +1 -0
  6. package/dist/components/Breadcrumb/style.css +1 -0
  7. package/dist/components/Breadcrumb/useItemRender.js +27 -0
  8. package/dist/components/Breadcrumb/useItemRender.js.map +1 -0
  9. package/dist/components/Button/component.js +9 -0
  10. package/dist/components/Button/component.js.map +1 -0
  11. package/dist/components/Button/style.css +1 -0
  12. package/dist/components/Checkbox/component.js +11 -0
  13. package/dist/components/Checkbox/component.js.map +1 -0
  14. package/dist/components/Checkbox/style.css +1 -0
  15. package/dist/components/CodeBlock/component.js +127 -0
  16. package/dist/components/CodeBlock/component.js.map +1 -0
  17. package/dist/components/CodeBlock/style.css +1 -0
  18. package/dist/components/DSRoot/component.js +21 -0
  19. package/dist/components/DSRoot/component.js.map +1 -0
  20. package/dist/components/DSRoot/context.js +9 -0
  21. package/dist/components/DSRoot/context.js.map +1 -0
  22. package/dist/components/DSRoot/style.css +1 -0
  23. package/dist/components/DropdownMenu/component.js +103 -0
  24. package/dist/components/DropdownMenu/component.js.map +1 -0
  25. package/dist/components/DropdownMenu/style.css +1 -0
  26. package/dist/components/Empty/component.js +48 -0
  27. package/dist/components/Empty/component.js.map +1 -0
  28. package/dist/components/Empty/style.css +1 -0
  29. package/dist/components/Field/component.js +30 -0
  30. package/dist/components/Field/component.js.map +1 -0
  31. package/dist/components/Field/style.css +1 -0
  32. package/dist/components/Form/component.js +23 -0
  33. package/dist/components/Form/component.js.map +1 -0
  34. package/dist/components/Form/item.js +30 -0
  35. package/dist/components/Form/item.js.map +1 -0
  36. package/dist/components/Form/style.css +1 -0
  37. package/dist/components/IconButton/component.js +49 -0
  38. package/dist/components/IconButton/component.js.map +1 -0
  39. package/dist/components/IconButton/style.css +1 -0
  40. package/dist/components/Input/component.js +25 -0
  41. package/dist/components/Input/component.js.map +1 -0
  42. package/dist/components/Modal/Modal.js +161 -0
  43. package/dist/components/Modal/Modal.js.map +1 -0
  44. package/dist/components/Modal/ModalProvider.js +70 -0
  45. package/dist/components/Modal/ModalProvider.js.map +1 -0
  46. package/dist/components/Modal/ModalService.js +25 -0
  47. package/dist/components/Modal/ModalService.js.map +1 -0
  48. package/dist/components/Modal/constants.js +5 -0
  49. package/dist/components/Modal/constants.js.map +1 -0
  50. package/dist/components/Modal/functions.js +27 -0
  51. package/dist/components/Modal/functions.js.map +1 -0
  52. package/dist/components/Modal/index.js +20 -0
  53. package/dist/components/Modal/index.js.map +1 -0
  54. package/dist/components/Modal/style.css +1 -0
  55. package/dist/components/Popover/component.js +12 -0
  56. package/dist/components/Popover/component.js.map +1 -0
  57. package/dist/components/PopupPanel/component.js +190 -0
  58. package/dist/components/PopupPanel/component.js.map +1 -0
  59. package/dist/components/PopupPanel/constants.js +5 -0
  60. package/dist/components/PopupPanel/constants.js.map +1 -0
  61. package/dist/components/PopupPanel/style.css +1 -0
  62. package/dist/components/Radio/component.js +22 -0
  63. package/dist/components/Radio/component.js.map +1 -0
  64. package/dist/components/Radio/style.css +1 -0
  65. package/dist/components/ScrollArea/component.js +40 -0
  66. package/dist/components/ScrollArea/component.js.map +1 -0
  67. package/dist/components/ScrollArea/style.css +1 -0
  68. package/dist/components/Segmented/component.js +9 -0
  69. package/dist/components/Segmented/component.js.map +1 -0
  70. package/dist/components/Segmented/style.css +1 -0
  71. package/dist/components/Select/component.js +135 -0
  72. package/dist/components/Select/component.js.map +1 -0
  73. package/dist/components/Select/style.css +1 -0
  74. package/dist/components/Slider/component.js +23 -0
  75. package/dist/components/Slider/component.js.map +1 -0
  76. package/dist/components/Spin/component.js +12 -0
  77. package/dist/components/Spin/component.js.map +1 -0
  78. package/dist/components/Spin/style.css +1 -0
  79. package/dist/components/Splitter/component.js +40 -0
  80. package/dist/components/Splitter/component.js.map +1 -0
  81. package/dist/components/Splitter/style.css +1 -0
  82. package/dist/components/Stack/Stack.js +37 -0
  83. package/dist/components/Stack/Stack.js.map +1 -0
  84. package/dist/components/Stack/StackChild.js +57 -0
  85. package/dist/components/Stack/StackChild.js.map +1 -0
  86. package/dist/components/Stack/index.js +9 -0
  87. package/dist/components/Stack/index.js.map +1 -0
  88. package/dist/components/Stack/style.css +1 -0
  89. package/dist/components/Switch/component.js +9 -0
  90. package/dist/components/Switch/component.js.map +1 -0
  91. package/dist/components/Switch/style.css +1 -0
  92. package/dist/components/Table/component.js +68 -0
  93. package/dist/components/Table/component.js.map +1 -0
  94. package/dist/components/Table/style.css +1 -0
  95. package/dist/components/Tag/component.js +30 -0
  96. package/dist/components/Tag/component.js.map +1 -0
  97. package/dist/components/Tag/style.css +1 -0
  98. package/dist/components/ThemeProvider/component.js +41 -0
  99. package/dist/components/ThemeProvider/component.js.map +1 -0
  100. package/dist/components/ThemeProvider/style.css +1 -0
  101. package/dist/components/Toast/component.js +101 -0
  102. package/dist/components/Toast/component.js.map +1 -0
  103. package/dist/components/Toast/function.js +25 -0
  104. package/dist/components/Toast/function.js.map +1 -0
  105. package/dist/components/Toast/style.css +1 -0
  106. package/dist/components/Tooltip/component.js +26 -0
  107. package/dist/components/Tooltip/component.js.map +1 -0
  108. package/dist/components/Tooltip/style.css +1 -0
  109. package/dist/components/Tour/component.js +35 -0
  110. package/dist/components/Tour/component.js.map +1 -0
  111. package/dist/components/Tour/style.css +1 -0
  112. package/dist/components/Transition/component.js +44 -0
  113. package/dist/components/Transition/component.js.map +1 -0
  114. package/dist/components/Tree/components.js +67 -0
  115. package/dist/components/Tree/components.js.map +1 -0
  116. package/dist/components/Tree/helpers.js +53 -0
  117. package/dist/components/Tree/helpers.js.map +1 -0
  118. package/dist/components/Tree/useTreeCommon.js +86 -0
  119. package/dist/components/Tree/useTreeCommon.js.map +1 -0
  120. package/dist/components/Tree/useUniqueKeysTree.js +142 -0
  121. package/dist/components/Tree/useUniqueKeysTree.js.map +1 -0
  122. package/dist/components/Truncate/component.js +93 -0
  123. package/dist/components/Truncate/component.js.map +1 -0
  124. package/dist/components/Truncate/helpers.js +36 -0
  125. package/dist/components/Truncate/helpers.js.map +1 -0
  126. package/dist/components/Truncate/style.css +1 -0
  127. package/dist/components/Upload/component.js +39 -0
  128. package/dist/components/Upload/component.js.map +1 -0
  129. package/dist/components/Upload/dragger.js +23 -0
  130. package/dist/components/Upload/dragger.js.map +1 -0
  131. package/dist/components/Upload/hooks.js +18 -0
  132. package/dist/components/Upload/hooks.js.map +1 -0
  133. package/dist/components/Upload/item.js +84 -0
  134. package/dist/components/Upload/item.js.map +1 -0
  135. package/dist/components/Upload/utils.js +7 -0
  136. package/dist/components/Upload/utils.js.map +1 -0
  137. package/dist/components/VerticalCollapsiblePanel/component.js +125 -0
  138. package/dist/components/VerticalCollapsiblePanel/component.js.map +1 -0
  139. package/dist/components/VerticalCollapsiblePanel/style.css +1 -0
  140. package/dist/components/hooks/antd.js +22 -0
  141. package/dist/components/hooks/antd.js.map +1 -0
  142. package/dist/components/hooks/base-ui.js +47 -0
  143. package/dist/components/hooks/base-ui.js.map +1 -0
  144. package/dist/components/hooks/useCharts.js +28 -0
  145. package/dist/components/hooks/useCharts.js.map +1 -0
  146. package/dist/components/hooks/useControlledState.js +15 -0
  147. package/dist/components/hooks/useControlledState.js.map +1 -0
  148. package/dist/components/utils/WithAntdTokens.js +24 -0
  149. package/dist/components/utils/WithAntdTokens.js.map +1 -0
  150. package/dist/components/utils/antdUtils.js +58 -0
  151. package/dist/components/utils/antdUtils.js.map +1 -0
  152. package/dist/components/utils/cn.js +27 -0
  153. package/dist/components/utils/cn.js.map +1 -0
  154. package/dist/components/utils/isTracebackError.js +10 -0
  155. package/dist/components/utils/isTracebackError.js.map +1 -0
  156. package/dist/components/utils/reactToString.js +23 -0
  157. package/dist/components/utils/reactToString.js.map +1 -0
  158. package/dist/index.d.ts +2497 -3
  159. package/dist/index.js +188 -4004
  160. package/dist/index.js.map +1 -0
  161. package/dist/metadata.js +513 -0
  162. package/dist/metadata.js.map +1 -0
  163. package/dist/tailwind.css +1 -121
  164. package/dist/tailwind.d.ts +1 -0
  165. package/dist/tokens/and-theme/tokens.js +351 -0
  166. package/dist/tokens/and-theme/tokens.js.map +1 -0
  167. package/dist/tokens/charts/index.js +18 -0
  168. package/dist/tokens/charts/index.js.map +1 -0
  169. package/dist/tokens/charts/tokens.js +208 -0
  170. package/dist/tokens/charts/tokens.js.map +1 -0
  171. package/dist/tokens/utils.js +37 -0
  172. package/dist/tokens/utils.js.map +1 -0
  173. package/package.json +10 -108
  174. package/dist/Badge.css +0 -6
  175. package/dist/Badge.js +0 -41
  176. package/dist/Breadcrumb.css +0 -83
  177. package/dist/Breadcrumb.js +0 -92
  178. package/dist/Checkbox.css +0 -13
  179. package/dist/Checkbox.js +0 -12
  180. package/dist/CodeBlock.css +0 -213
  181. package/dist/CodeBlock.js +0 -644
  182. package/dist/Collapse.css +0 -21
  183. package/dist/Collapse.js +0 -49
  184. package/dist/DSRoot.css +0 -667
  185. package/dist/DSRoot.js +0 -1428
  186. package/dist/DropdownMenu.css +0 -95
  187. package/dist/DropdownMenu.js +0 -211
  188. package/dist/Empty.css +0 -19
  189. package/dist/Empty.js +0 -53
  190. package/dist/Field.css +0 -14
  191. package/dist/Field.js +0 -66
  192. package/dist/Form.css +0 -64
  193. package/dist/Form.js +0 -125
  194. package/dist/IconButton.css +0 -52
  195. package/dist/IconButton.js +0 -82
  196. package/dist/Input.js +0 -48
  197. package/dist/Modal.css +0 -317
  198. package/dist/Modal.js +0 -677
  199. package/dist/Popover.js +0 -10
  200. package/dist/PopupPanel.css +0 -170
  201. package/dist/PopupPanel.js +0 -333
  202. package/dist/Radio.css +0 -14
  203. package/dist/Radio.js +0 -24
  204. package/dist/ScrollArea.css +0 -64
  205. package/dist/ScrollArea.js +0 -50
  206. package/dist/Segmented.css +0 -16
  207. package/dist/Segmented.js +0 -10
  208. package/dist/Select.css +0 -24
  209. package/dist/Select.js +0 -157
  210. package/dist/Slider.js +0 -39
  211. package/dist/Spin.css +0 -36
  212. package/dist/Spin.js +0 -33
  213. package/dist/Splitter.css +0 -6
  214. package/dist/Splitter.js +0 -47
  215. package/dist/Switch.css +0 -7
  216. package/dist/Switch.js +0 -10
  217. package/dist/Table.css +0 -116
  218. package/dist/Table.js +0 -126
  219. package/dist/Tag.css +0 -17
  220. package/dist/Tag.js +0 -24
  221. package/dist/ThemeProvider.css +0 -39
  222. package/dist/ThemeProvider.js +0 -403
  223. package/dist/Toast.css +0 -622
  224. package/dist/Toast.js +0 -1401
  225. package/dist/Tooltip.css +0 -6
  226. package/dist/Tooltip.js +0 -36
  227. package/dist/Tour.css +0 -73
  228. package/dist/Tour.js +0 -54
  229. package/dist/Tree.js +0 -318
  230. package/dist/Truncate.css +0 -31
  231. package/dist/Truncate.js +0 -216
  232. package/dist/Upload.css +0 -144
  233. package/dist/Upload.js +0 -516
  234. package/dist/VerticalCollapsiblePanel.css +0 -193
  235. package/dist/VerticalCollapsiblePanel.js +0 -469
  236. package/dist/components/Badge/component.d.ts +0 -4
  237. package/dist/components/Badge/index.d.ts +0 -1
  238. package/dist/components/Breadcrumb/component.d.ts +0 -6
  239. package/dist/components/Breadcrumb/index.d.ts +0 -2
  240. package/dist/components/Breadcrumb/types.d.ts +0 -18
  241. package/dist/components/Breadcrumb/useItemRender.d.ts +0 -6
  242. package/dist/components/Button/component.d.ts +0 -8
  243. package/dist/components/Button/index.d.ts +0 -1
  244. package/dist/components/Checkbox/component.d.ts +0 -11
  245. package/dist/components/Checkbox/index.d.ts +0 -1
  246. package/dist/components/CodeBlock/component.d.ts +0 -3
  247. package/dist/components/CodeBlock/index.d.ts +0 -2
  248. package/dist/components/CodeBlock/types.d.ts +0 -59
  249. package/dist/components/Collapse/component.d.ts +0 -14
  250. package/dist/components/Collapse/index.d.ts +0 -1
  251. package/dist/components/DSRoot/component.d.ts +0 -14
  252. package/dist/components/DSRoot/context.d.ts +0 -7
  253. package/dist/components/DSRoot/index.d.ts +0 -1
  254. package/dist/components/DropdownMenu/component.d.ts +0 -31
  255. package/dist/components/DropdownMenu/index.d.ts +0 -2
  256. package/dist/components/Empty/component.d.ts +0 -13
  257. package/dist/components/Empty/index.d.ts +0 -1
  258. package/dist/components/Field/component.d.ts +0 -42
  259. package/dist/components/Field/index.d.ts +0 -1
  260. package/dist/components/Form/component.d.ts +0 -19
  261. package/dist/components/Form/index.d.ts +0 -1
  262. package/dist/components/Form/item.d.ts +0 -5
  263. package/dist/components/IconButton/component.d.ts +0 -30
  264. package/dist/components/IconButton/index.d.ts +0 -1
  265. package/dist/components/Input/component.d.ts +0 -30
  266. package/dist/components/Input/index.d.ts +0 -1
  267. package/dist/components/Modal/Modal.d.ts +0 -84
  268. package/dist/components/Modal/ModalProvider.d.ts +0 -5
  269. package/dist/components/Modal/ModalService.d.ts +0 -33
  270. package/dist/components/Modal/constants.d.ts +0 -9
  271. package/dist/components/Modal/functions.d.ts +0 -27
  272. package/dist/components/Modal/index.d.ts +0 -15
  273. package/dist/components/Popover/component.d.ts +0 -9
  274. package/dist/components/Popover/index.d.ts +0 -1
  275. package/dist/components/PopupPanel/component.d.ts +0 -61
  276. package/dist/components/PopupPanel/constants.d.ts +0 -7
  277. package/dist/components/PopupPanel/index.d.ts +0 -1
  278. package/dist/components/Radio/component.d.ts +0 -8
  279. package/dist/components/Radio/index.d.ts +0 -2
  280. package/dist/components/Radio/interface.d.ts +0 -5
  281. package/dist/components/ScrollArea/component.d.ts +0 -32
  282. package/dist/components/ScrollArea/index.d.ts +0 -1
  283. package/dist/components/Segmented/component.d.ts +0 -10
  284. package/dist/components/Segmented/index.d.ts +0 -1
  285. package/dist/components/Select/component.d.ts +0 -24
  286. package/dist/components/Select/index.d.ts +0 -1
  287. package/dist/components/Slider/component.d.ts +0 -5
  288. package/dist/components/Slider/index.d.ts +0 -1
  289. package/dist/components/Spin/component.d.ts +0 -4
  290. package/dist/components/Spin/index.d.ts +0 -1
  291. package/dist/components/Splitter/component.d.ts +0 -13
  292. package/dist/components/Splitter/index.d.ts +0 -1
  293. package/dist/components/Stack/Stack.d.ts +0 -39
  294. package/dist/components/Stack/StackChild.d.ts +0 -30
  295. package/dist/components/Stack/index.d.ts +0 -8
  296. package/dist/components/Switch/component.d.ts +0 -9
  297. package/dist/components/Switch/index.d.ts +0 -1
  298. package/dist/components/Table/component.d.ts +0 -20
  299. package/dist/components/Table/index.d.ts +0 -1
  300. package/dist/components/Tag/component.d.ts +0 -12
  301. package/dist/components/Tag/index.d.ts +0 -1
  302. package/dist/components/ThemeProvider/component.d.ts +0 -7
  303. package/dist/components/ThemeProvider/index.d.ts +0 -1
  304. package/dist/components/Toast/component.d.ts +0 -15
  305. package/dist/components/Toast/function.d.ts +0 -10
  306. package/dist/components/Toast/index.d.ts +0 -3
  307. package/dist/components/Toast/types.d.ts +0 -3
  308. package/dist/components/Tooltip/component.d.ts +0 -10
  309. package/dist/components/Tooltip/index.d.ts +0 -1
  310. package/dist/components/Tour/component.d.ts +0 -8
  311. package/dist/components/Tour/index.d.ts +0 -1
  312. package/dist/components/Transition/component.d.ts +0 -17
  313. package/dist/components/Transition/index.d.ts +0 -1
  314. package/dist/components/Tree/components.d.ts +0 -13
  315. package/dist/components/Tree/helpers.d.ts +0 -4
  316. package/dist/components/Tree/index.d.ts +0 -4
  317. package/dist/components/Tree/types.d.ts +0 -55
  318. package/dist/components/Tree/useTreeCommon.d.ts +0 -178
  319. package/dist/components/Tree/useUniqueKeysTree.d.ts +0 -33
  320. package/dist/components/Truncate/component.d.ts +0 -15
  321. package/dist/components/Truncate/helpers.d.ts +0 -5
  322. package/dist/components/Truncate/index.d.ts +0 -1
  323. package/dist/components/Upload/component.d.ts +0 -16
  324. package/dist/components/Upload/dragger.d.ts +0 -13
  325. package/dist/components/Upload/hooks.d.ts +0 -5
  326. package/dist/components/Upload/index.d.ts +0 -4
  327. package/dist/components/Upload/item.d.ts +0 -11
  328. package/dist/components/Upload/utils.d.ts +0 -1
  329. package/dist/components/VerticalCollapsiblePanel/component.d.ts +0 -65
  330. package/dist/components/VerticalCollapsiblePanel/index.d.ts +0 -1
  331. package/dist/components/hooks/antd.d.ts +0 -11
  332. package/dist/components/hooks/base-ui.d.ts +0 -7
  333. package/dist/components/hooks/index.d.ts +0 -4
  334. package/dist/components/hooks/useCharts.d.ts +0 -22
  335. package/dist/components/hooks/useControlledState.d.ts +0 -1
  336. package/dist/components/index.d.ts +0 -41
  337. package/dist/components/utils/WithAntdTokens.d.ts +0 -7
  338. package/dist/components/utils/antdUtils.d.ts +0 -15
  339. package/dist/components/utils/client.d.ts +0 -2
  340. package/dist/components/utils/cn.d.ts +0 -4
  341. package/dist/components/utils/index.d.ts +0 -3
  342. package/dist/components/utils/isTracebackError.d.ts +0 -1
  343. package/dist/components/utils/main.d.ts +0 -3
  344. package/dist/components/utils/reactToString.d.ts +0 -2
  345. package/dist/components/utils/types.d.ts +0 -9
  346. package/dist/hooks.js +0 -961
  347. package/dist/index.css +0 -1471
  348. package/dist/metadata.d.ts +0 -363
  349. package/dist/tokens/and-theme/index.d.ts +0 -1
  350. package/dist/tokens/and-theme/tokens.d.ts +0 -5
  351. package/dist/tokens/charts/index.d.ts +0 -6
  352. package/dist/tokens/charts/tokens.d.ts +0 -455
  353. package/dist/tokens/index.d.ts +0 -2
  354. package/dist/tokens/utils.d.ts +0 -16
  355. package/dist/utils.js +0 -120
@@ -1,18 +0,0 @@
1
- import { type BreadcrumbProps as AntBreadcrumbProps, type BreadcrumbItemProps as AntBreadcrumbItemProps } from "antd/es/breadcrumb";
2
- import { type BreadcrumbItemType as AntdBreadcrumbItemType, type BreadcrumbSeparatorType } from "antd/es/breadcrumb/Breadcrumb";
3
- export * from "./types";
4
- type AnyObject = Record<PropertyKey, any>;
5
- type BaseBreadcrumbItemType = AntdBreadcrumbItemType & {
6
- icon?: React.ReactNode;
7
- };
8
- export type BreadcrumbItemType = Partial<BaseBreadcrumbItemType & BreadcrumbSeparatorType>;
9
- export interface BreadcrumbProps<T extends AnyObject = AnyObject> extends Omit<AntBreadcrumbProps<T>, "items" | "itemRender"> {
10
- /**
11
- * No wrap
12
- */
13
- noWrap?: boolean;
14
- items: BreadcrumbItemType[];
15
- itemRender?: (route: BreadcrumbItemType, params: T, routes: BreadcrumbItemType[], paths: string[]) => React.ReactNode;
16
- }
17
- export interface BreadcrumbItemProps extends AntBreadcrumbItemProps {
18
- }
@@ -1,6 +0,0 @@
1
- import type { BreadcrumbProps } from "./types";
2
- type AddParameters<TFunction extends (...args: any) => any, TParameters extends [...args: any]> = (...args: [...Parameters<TFunction>, ...TParameters]) => ReturnType<TFunction>;
3
- type ItemRender = NonNullable<BreadcrumbProps["itemRender"]>;
4
- type InternalItemRenderParams = AddParameters<ItemRender, [href?: string]>;
5
- export default function useItemRender(prefixCls: string, itemRender?: ItemRender): InternalItemRenderParams;
6
- export {};
@@ -1,8 +0,0 @@
1
- import { type ButtonProps as AntdButtonProps } from "antd/es/button";
2
- import "./style.css";
3
- export type ButtonProps = AntdButtonProps;
4
- declare const ButtonInner: ({ style, ...rest }: ButtonProps, ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>) => import("react/jsx-runtime").JSX.Element;
5
- export declare const Button: (props: ButtonProps & {
6
- ref?: React.ForwardedRef<HTMLButtonElement | HTMLAnchorElement>;
7
- }) => ReturnType<typeof ButtonInner>;
8
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,11 +0,0 @@
1
- import { Checkbox as AntCheckbox, type CheckboxProps as AntCheckboxProps } from "antd";
2
- import "./style.css";
3
- export interface CheckboxProps extends AntCheckboxProps {
4
- }
5
- declare const MainCheckboxInner: (props: CheckboxProps, ref: React.Ref<React.ComponentRef<typeof AntCheckbox>>) => import("react/jsx-runtime").JSX.Element;
6
- export declare const Checkbox: ((props: CheckboxProps & {
7
- ref?: React.ForwardedRef<React.ComponentRef<typeof AntCheckbox>>;
8
- }) => ReturnType<typeof MainCheckboxInner>) & {
9
- Group: <T = any>(props: import("antd/es/checkbox").CheckboxGroupProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement;
10
- };
11
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,3 +0,0 @@
1
- import type { CodeBlockProps } from "./types";
2
- import "./style.css";
3
- export declare const CodeBlock: ({ code, children, lang: defaultLang, className, options, activeOption: controlledActiveOption, defaultActiveOption, onActiveOptionChange, copyText, copySuccessText, classNames, maxHeight, ...rest }: CodeBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from "./component";
2
- export * from "./types";
@@ -1,59 +0,0 @@
1
- import { HighlightProps } from "prism-react-renderer";
2
- export interface CodeOption {
3
- label: string;
4
- code: string;
5
- lang?: HighlightProps["language"];
6
- }
7
- export interface CodeBlockProps extends React.ComponentPropsWithRef<"div"> {
8
- /**
9
- * The code to be highlighted
10
- */
11
- code?: string;
12
- /**
13
- * The language of the code
14
- * @default "tsx"
15
- */
16
- lang?: string;
17
- /**
18
- * Additional class name for the component
19
- */
20
- className?: string;
21
- /**
22
- * Options for the code block
23
- * @default []
24
- */
25
- options?: CodeOption[];
26
- /**
27
- * The active option when the component is controlled
28
- */
29
- activeOption?: number;
30
- /**
31
- * The default active option when the component is uncontrolled
32
- * @default 0
33
- */
34
- defaultActiveOption?: number;
35
- /**
36
- * Callback function when the active option changes
37
- */
38
- onActiveOptionChange?: (option: number) => void;
39
- /**
40
- * Copy text label
41
- */
42
- copyText?: string;
43
- /**
44
- * Copy success text label
45
- */
46
- copySuccessText?: string;
47
- /**
48
- * Custom class names for each part of the code block
49
- */
50
- classNames?: {
51
- root?: string;
52
- content?: string;
53
- header?: string;
54
- };
55
- /**
56
- * Maximum height of the code block
57
- */
58
- maxHeight?: string | number;
59
- }
@@ -1,14 +0,0 @@
1
- import { type CollapseProps as AntCollapseProps, type CollapsePanelProps as AntCollapsePanelProps } from "antd";
2
- import { type ForwardedRef } from "react";
3
- import "./style.css";
4
- export interface CollapseProps extends AntCollapseProps {
5
- }
6
- export interface CollapsePanelProps extends AntCollapsePanelProps {
7
- }
8
- declare const CollapseInner: (props: CollapseProps, ref: ForwardedRef<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
9
- export declare const Collapse: ((props: CollapseProps & {
10
- ref?: React.ForwardedRef<HTMLDivElement>;
11
- }) => ReturnType<typeof CollapseInner>) & {
12
- Panel: (props: CollapsePanelProps) => import("react/jsx-runtime").JSX.Element;
13
- };
14
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,14 +0,0 @@
1
- import { type ThemeProviderProps } from "../ThemeProvider/component";
2
- import "./style.css";
3
- export interface DSRootProps extends ThemeProviderProps {
4
- /**
5
- * Classname passed to App component
6
- */
7
- className?: string;
8
- /**
9
- * Element to which the theme classes are appended
10
- * @default "html"
11
- */
12
- appendClassesTo?: string | HTMLElement;
13
- }
14
- export declare const DSRoot: ({ className, appendClassesTo, children, theme, ...props }: DSRootProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export declare const DSRootContextProvider: React.Provider<{
3
- theme: "light" | "dark";
4
- }>;
5
- export declare const useDS: () => {
6
- theme: "light" | "dark";
7
- };
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,31 +0,0 @@
1
- import { Menu } from "@base-ui-components/react/menu";
2
- import { type PopoverProps } from "antd/es/popover";
3
- import "./style.css";
4
- export type DropdownMenuItemType = {
5
- type: "item";
6
- label?: React.ReactNode;
7
- disabled?: boolean;
8
- icon?: React.ReactNode;
9
- key: React.Key;
10
- onClick?: React.HTMLAttributes<HTMLElement>["onClick"];
11
- onMouseEnter?: React.HTMLAttributes<HTMLElement>["onMouseEnter"];
12
- onMouseLeave?: React.HTMLAttributes<HTMLElement>["onMouseLeave"];
13
- onMouseOver?: React.HTMLAttributes<HTMLElement>["onMouseOver"];
14
- onMouseOut?: React.HTMLAttributes<HTMLElement>["onMouseOut"];
15
- danger?: boolean;
16
- ref?: React.Ref<HTMLElement>;
17
- } | {
18
- type: "divider";
19
- } | {
20
- type: "header";
21
- title?: React.ReactNode;
22
- };
23
- export interface DropdownMenuProps {
24
- items: DropdownMenuItemType[];
25
- children?: React.ComponentProps<typeof Menu.Trigger>["render"];
26
- placement?: PopoverProps["placement"];
27
- openOnHover?: boolean;
28
- open?: boolean;
29
- onOpenChange?: (open: boolean) => void;
30
- }
31
- export declare const DropdownMenu: ({ children, items, placement, openOnHover, open: outsideOpen, onOpenChange: outsideOnOpenChange, }: DropdownMenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from "./component";
2
- export * from "../utils";
@@ -1,13 +0,0 @@
1
- import * as React from "react";
2
- import { type EmptyProps as AntEmptyProps } from "antd/es/empty";
3
- import "./style.css";
4
- export interface EmptyProps extends AntEmptyProps {
5
- /**
6
- * Empty icon size
7
- * @default 'medium'
8
- */
9
- size?: "small" | "medium" | "large";
10
- }
11
- export declare const EmptyIcon: React.FC<React.ComponentPropsWithRef<"svg">>;
12
- export declare const Empty: ({ image, size, className, ...rest }: EmptyProps) => import("react/jsx-runtime").JSX.Element;
13
- export default Empty;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,42 +0,0 @@
1
- import type { InputProps, InputRef, SelectProps } from "antd";
2
- import { SizeType } from "antd/es/config-provider/SizeContext";
3
- import { RefSelectProps } from "antd/es/select";
4
- import { ForwardedRef } from "react";
5
- import "./style.css";
6
- export type FieldType = "input" | "select";
7
- type RefType<T extends FieldType> = T extends "input" ? InputRef : T extends "select" ? RefSelectProps : never;
8
- interface BaseFieldProps extends React.HTMLAttributes<HTMLDivElement> {
9
- label?: React.ReactNode;
10
- /**
11
- * Block or inline display
12
- * @default false
13
- */
14
- block?: boolean;
15
- /**
16
- * Size of the field
17
- * @default "small"
18
- */
19
- size?: SizeType;
20
- /**
21
- * Colon after label
22
- * @default true
23
- */
24
- colon?: boolean;
25
- }
26
- type InputFieldProps = BaseFieldProps & {
27
- type?: "input";
28
- inputProps: InputProps;
29
- };
30
- type SelectFieldProps = BaseFieldProps & {
31
- type: "select";
32
- selectProps: SelectProps;
33
- };
34
- export type FieldProps<T extends FieldType = "input"> = T extends "input" ? InputFieldProps : SelectFieldProps;
35
- /**
36
- * Generic Field component that forwards ref to Input or Select
37
- */
38
- declare const FieldInner: <T extends FieldType>({ label, className, size, colon, type, ...rest }: FieldProps<T>, ref: ForwardedRef<RefType<T>>) => import("react/jsx-runtime").JSX.Element;
39
- export declare const Field: <T extends FieldType>(props: FieldProps<T> & {
40
- ref?: ForwardedRef<RefType<T>>;
41
- }) => ReturnType<typeof FieldInner<T>>;
42
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,19 +0,0 @@
1
- import { FormProps as AntdFormProps, default as AntdInternalForm, useForm, useWatch } from "antd/es/form/Form";
2
- import useFormInstance from "antd/es/form/hooks/useFormInstance";
3
- import * as React from "react";
4
- import { type FormItemProps } from "./item";
5
- import "./style.css";
6
- export interface FormProps<Values = any> extends AntdFormProps<Values> {
7
- }
8
- interface InternalFormProps<Values = any> extends React.ComponentProps<typeof AntdInternalForm<Values>> {
9
- }
10
- export declare const Form: (<Values = any>({ ...rest }: InternalFormProps<Values>) => import("react/jsx-runtime").JSX.Element) & {
11
- useForm: typeof useForm;
12
- useFormInstance: typeof useFormInstance;
13
- useWatch: typeof useWatch;
14
- Item: <Values = unknown>({ tooltip, label, optionalMark, ...rest }: FormItemProps<Values>) => import("react/jsx-runtime").JSX.Element;
15
- List: React.FC<import("antd/es/form/FormList").FormListProps>;
16
- ErrorList: React.FC<import("antd/es/form/ErrorList").ErrorListProps>;
17
- Provider: React.FC<import("antd/es/form/context").FormProviderProps>;
18
- };
19
- export type { FormItemProps };
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,5 +0,0 @@
1
- import { type FormItemProps as AntdFormItemProps } from "antd/es/form/FormItem";
2
- export interface FormItemProps<Values = unknown> extends AntdFormItemProps<Values> {
3
- optionalMark?: boolean | React.ReactNode;
4
- }
5
- export declare const FormItem: <Values = unknown>({ tooltip, label, optionalMark, ...rest }: FormItemProps<Values>) => import("react/jsx-runtime").JSX.Element;
@@ -1,30 +0,0 @@
1
- import React, { type ElementType, type ComponentPropsWithoutRef, type ReactElement, type AnchorHTMLAttributes, ComponentPropsWithRef } from "react";
2
- import { Tooltip } from "antd";
3
- import "./style.css";
4
- type IconButtonBaseProps = {
5
- label?: React.ReactNode;
6
- size?: "small" | "medium";
7
- negativeMargin?: boolean;
8
- tooltipProps?: React.ComponentProps<typeof Tooltip>;
9
- };
10
- type AnchorSpecificProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel" | "download" | "hrefLang" | "referrerPolicy">;
11
- type WithHrefProps<E extends ElementType = "a"> = IconButtonBaseProps & {
12
- href: string;
13
- as?: E;
14
- } & AnchorSpecificProps;
15
- type WithoutHrefProps<E extends ElementType = "button"> = IconButtonBaseProps & {
16
- href?: undefined;
17
- as?: E;
18
- } & {
19
- [K in keyof AnchorSpecificProps]?: never;
20
- };
21
- type IconButtonOwnProps<E extends ElementType = ElementType> = WithHrefProps<E> | WithoutHrefProps<E>;
22
- export type IconButtonProps<E extends ElementType = "button"> = IconButtonOwnProps<E> & Omit<ComponentPropsWithoutRef<E>, keyof IconButtonOwnProps<E>>;
23
- /**
24
- * Type for wrapping the forwardRef implementation
25
- */
26
- type IconButtonComponent = <E extends ElementType = "button">(props: IconButtonProps<E> & {
27
- ref?: ComponentPropsWithRef<E>["ref"];
28
- }) => ReactElement;
29
- export declare const IconButton: IconButtonComponent;
30
- export default IconButton;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,30 +0,0 @@
1
- import { type InputProps as AntInputProps, type InputRef } from "antd";
2
- import { type PasswordProps as AntPasswordProps } from "antd/es/input";
3
- import { type SearchProps as AntSearchProps } from "antd/es/input";
4
- import { type TextAreaProps as AntTextAreaProps } from "antd/es/input";
5
- export interface InputProps extends AntInputProps {
6
- }
7
- export interface PasswordProps extends AntPasswordProps {
8
- }
9
- export interface TextAreaProps extends AntTextAreaProps {
10
- }
11
- export interface SearchProps extends AntSearchProps {
12
- }
13
- declare const MainInputInner: (props: InputProps, ref: React.Ref<InputRef>) => import("react/jsx-runtime").JSX.Element;
14
- declare const PasswordInner: (props: PasswordProps, ref: React.Ref<InputRef>) => import("react/jsx-runtime").JSX.Element;
15
- declare const SearchInner: (props: SearchProps, ref: React.Ref<InputRef>) => import("react/jsx-runtime").JSX.Element;
16
- declare const TextAreaInner: (props: TextAreaProps, ref: React.Ref<HTMLTextAreaElement>) => import("react/jsx-runtime").JSX.Element;
17
- export declare const Input: ((props: InputProps & {
18
- ref?: React.ForwardedRef<InputRef>;
19
- }) => ReturnType<typeof MainInputInner>) & {
20
- Password: (props: PasswordProps & {
21
- ref?: React.ForwardedRef<InputRef>;
22
- }) => ReturnType<typeof PasswordInner>;
23
- Search: (props: SearchProps & {
24
- ref?: React.ForwardedRef<InputRef>;
25
- }) => ReturnType<typeof SearchInner>;
26
- TextArea: (props: TextAreaProps & {
27
- ref?: React.ForwardedRef<HTMLTextAreaElement>;
28
- }) => ReturnType<typeof TextAreaInner>;
29
- };
30
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,84 +0,0 @@
1
- import { type ModalProps as AntModalProps } from "antd/es/modal";
2
- import React from "react";
3
- import { ModalType } from "./functions";
4
- export interface ModalProps extends Omit<AntModalProps, "centered"> {
5
- /**
6
- * Predefined sizes for the modal
7
- * - xsmall: 400px
8
- * - small: 520px
9
- * - medium: 640px (default)
10
- * - large: 840px
11
- * - xlarge: 1024px
12
- * - fullscreen: 100vw (takes full screen width with margins)
13
- * @default "medium" for default type, "xsmall" for other types
14
- */
15
- size?: "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge" | "fullscreen";
16
- /**
17
- * Mark modal as loading
18
- * @default false
19
- */
20
- loading?: boolean;
21
- /**
22
- * Hide Ok button
23
- * @default false
24
- */
25
- hideOkButton?: boolean;
26
- /**
27
- * Hide Cancel button
28
- * @default false
29
- */
30
- hideCancelButton?: boolean;
31
- /**
32
- * Custom Content Padding
33
- * @default "24px"
34
- */
35
- contentPadding?: number | string | boolean;
36
- /**
37
- * Add more content below the title
38
- */
39
- afterTitle?: React.ReactNode;
40
- /**
41
- * Add more actions before close button
42
- */
43
- beforeCloseButton?: React.ReactNode;
44
- /**
45
- * Add more actions after close button
46
- */
47
- afterCloseButton?: React.ReactNode;
48
- /**
49
- * Set header and footer to fixed position
50
- * @default false
51
- */
52
- defaultFixedHeaderFooter?: boolean;
53
- /**
54
- * Centered Modal
55
- * @default true
56
- */
57
- centered?: boolean;
58
- /**
59
- * Modal type
60
- * @default "default"
61
- */
62
- type?: ModalType;
63
- /**
64
- * Default open state for uncontrolled modal
65
- * @default true
66
- */
67
- defaultOpen?: boolean;
68
- /**
69
- * Modal background
70
- * @default "elevated" if size smaller than "medium", otherwise "container"
71
- */
72
- background?: "elevated" | "container";
73
- /**
74
- * Modal old close callback
75
- * @deprecated use onCancel instead
76
- */
77
- onClose?: () => void;
78
- /**
79
- * Make modal body scrollable
80
- * @default true
81
- */
82
- bodyScrollable?: boolean;
83
- }
84
- export declare const Modal: ({ open: externalOpen, closeIcon, children, size: sizeProp, footer, width, style, styles, classNames, okButtonProps, cancelButtonProps, loading, onOk, onCancel, okText, okType, confirmLoading, cancelText, hideOkButton, hideCancelButton, contentPadding, title, afterTitle, beforeCloseButton, afterCloseButton, defaultFixedHeaderFooter, centered, type, defaultOpen, background: backgroundProp, bodyScrollable, ...rest }: ModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- export interface ModalProviderProps {
3
- children?: React.ReactNode;
4
- }
5
- export declare const ModalProvider: React.FC<ModalProviderProps>;
@@ -1,33 +0,0 @@
1
- import type { ModalFuncProps } from "./functions";
2
- export type ModalConfig = ModalFuncProps & {
3
- id: string;
4
- trigger?: HTMLElement;
5
- };
6
- export type UpdateConfig = Partial<ModalFuncProps> | ((prev: ModalFuncProps) => ModalFuncProps);
7
- export type ModalEvent = {
8
- type: "add";
9
- payload: ModalConfig;
10
- } | {
11
- type: "update";
12
- payload: {
13
- id: string;
14
- config: UpdateConfig;
15
- };
16
- } | {
17
- type: "destroy";
18
- payload: {
19
- id: string;
20
- };
21
- } | {
22
- type: "destroyAll";
23
- };
24
- type Listener = (event: ModalEvent) => void;
25
- declare class ModalManager {
26
- private listeners;
27
- private counter;
28
- subscribe(listener: Listener): () => void;
29
- emit(event: ModalEvent): void;
30
- generateId(): string;
31
- }
32
- export declare const modalManager: ModalManager;
33
- export {};
@@ -1,9 +0,0 @@
1
- export declare enum ModalSize {
2
- xsmall = "400px",
3
- small = "520px",
4
- medium = "640px",
5
- large = "840px",
6
- xlarge = "1024px",
7
- xxlarge = "1280px",
8
- fullscreen = "100%"
9
- }
@@ -1,27 +0,0 @@
1
- import React from "react";
2
- import type { ModalFuncProps as AntModalFuncProps } from "antd";
3
- import { ModalProps } from "./Modal";
4
- export type ModalType = NonNullable<AntModalFuncProps["type"]> | "default";
5
- export type ModalFuncProps = ModalProps & {
6
- /**
7
- * Content to be displayed in the modal
8
- * Similar to children prop in Modal component
9
- * Keep this to be compatible with antd ModalFuncProps
10
- */
11
- content?: React.ReactNode;
12
- };
13
- export type ModalUpdateConfig = Partial<ModalFuncProps> | ((prev: ModalFuncProps) => ModalFuncProps);
14
- export interface ModalRef {
15
- update: (config: ModalUpdateConfig) => void;
16
- destroy: () => void;
17
- }
18
- export declare const confirm: (config: ModalFuncProps) => ModalRef;
19
- export declare const info: (config: ModalFuncProps) => ModalRef;
20
- export declare const success: (config: ModalFuncProps) => ModalRef;
21
- export declare const error: (config: ModalFuncProps) => ModalRef;
22
- export declare const warning: (config: ModalFuncProps) => ModalRef;
23
- /**
24
- * Open a default (normal) modal
25
- */
26
- export declare const open: (config: ModalFuncProps) => ModalRef;
27
- export declare const destroyAll: () => void;
@@ -1,15 +0,0 @@
1
- import { type ModalFuncProps } from "./functions";
2
- import { type ModalProviderProps } from "./ModalProvider";
3
- import "./style.css";
4
- export declare const Modal: (({ open: externalOpen, closeIcon, children, size: sizeProp, footer, width, style, styles, classNames, okButtonProps, cancelButtonProps, loading, onOk, onCancel, okText, okType, confirmLoading, cancelText, hideOkButton, hideCancelButton, contentPadding, title, afterTitle, beforeCloseButton, afterCloseButton, defaultFixedHeaderFooter, centered, type, defaultOpen, background: backgroundProp, bodyScrollable, ...rest }: import("./Modal").ModalProps) => import("react/jsx-runtime").JSX.Element) & {
5
- Provider: import("react").FC<ModalProviderProps>;
6
- open: (config: ModalFuncProps) => import("./functions").ModalRef;
7
- info: (config: ModalFuncProps) => import("./functions").ModalRef;
8
- success: (config: ModalFuncProps) => import("./functions").ModalRef;
9
- error: (config: ModalFuncProps) => import("./functions").ModalRef;
10
- warning: (config: ModalFuncProps) => import("./functions").ModalRef;
11
- confirm: (config: ModalFuncProps) => import("./functions").ModalRef;
12
- destroyAll: () => void;
13
- useModal: () => import("antd/es/modal/useModal").HookAPI;
14
- };
15
- export { ModalFuncProps, ModalProviderProps };
@@ -1,9 +0,0 @@
1
- import { type PopoverProps as AntPopoverProps } from "antd/es/popover";
2
- export interface PopoverProps extends AntPopoverProps {
3
- /**
4
- * Arrow config for of the popover
5
- * @default false
6
- */
7
- arrow?: AntPopoverProps["arrow"];
8
- }
9
- export declare const Popover: ({ className, style, arrow, ...rest }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,61 +0,0 @@
1
- import { Popover } from "@base-ui-components/react/popover";
2
- import { type PopoverProps } from "antd/es/popover";
3
- import { PopupPanelSize } from "./constants";
4
- import "./style.css";
5
- export interface PopupPanelProps extends Omit<React.ComponentPropsWithRef<"div">, "title" | "content" | "children"> {
6
- /** The trigger element that opens the popup panel */
7
- children?: React.ComponentProps<typeof Popover.Trigger>["render"];
8
- /** Placement of the popup panel relative to its trigger */
9
- placement?: PopoverProps["placement"];
10
- /** Whether to open the popup panel on hover */
11
- openOnHover?: boolean;
12
- /** Controls the open state of the popup panel */
13
- open?: boolean;
14
- /** Callback fired when the open state changes */
15
- onOpenChange?: (open: boolean) => void;
16
- /** Content to display inside the popup panel */
17
- content?: React.ReactNode;
18
- /** Title text or element to display in the panel header */
19
- title?: React.ReactNode;
20
- /** The event that triggers the popup panel */
21
- /**
22
- * @default "click"
23
- */
24
- trigger?: "click" | "hover";
25
- /** Custom anchor element for positioning the panel */
26
- anchor?: Popover.Positioner.Props["anchor"];
27
- /** Content to display before the close button */
28
- beforeCloseButton?: React.ReactNode;
29
- /** Content to display after the close button */
30
- afterCloseButton?: React.ReactNode;
31
- /** Content to display after the title */
32
- afterTitle?: React.ReactNode;
33
- /**
34
- * Predefined sizes for the popup panel
35
- * - xsmall: 320px
36
- * - small: 400px
37
- * - medium: 480px (default)
38
- * - large: 640px
39
- * - xlarge: 840px
40
- * @default "medium" for default type, "xsmall" for other types
41
- */
42
- size?: keyof typeof PopupPanelSize;
43
- /**
44
- * Footer content for the popup panel
45
- * Can be a React node or a function that returns a React node
46
- */
47
- footer?: React.ReactNode | ((props: {
48
- close: () => void;
49
- }) => React.ReactNode);
50
- /**
51
- * Whether the panel should be open by default when uncontrolled
52
- * @default false
53
- */
54
- defaultOpen?: boolean;
55
- /**
56
- * Whether the panel should be resizable
57
- * @default false
58
- */
59
- resizable?: boolean;
60
- }
61
- export declare const PopupPanel: ({ children, placement, openOnHover, open: outsideOpen, onOpenChange: outsideOnOpenChange, content, title, trigger, className, anchor, beforeCloseButton, afterCloseButton, afterTitle, size, footer, defaultOpen, resizable, }: PopupPanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- export declare enum PopupPanelSize {
2
- xsmall = "320px",
3
- small = "400px",
4
- medium = "480px",
5
- large = "640px",
6
- xlarge = "840px"
7
- }
@@ -1 +0,0 @@
1
- export * from "./component";