@bioturing/components 0.14.1 → 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 (326) 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 -2
  159. package/dist/index.js +188 -3376
  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 -4
  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.js +0 -41
  175. package/dist/Breadcrumb.js +0 -92
  176. package/dist/Checkbox.js +0 -12
  177. package/dist/CodeBlock.js +0 -641
  178. package/dist/Collapse.js +0 -49
  179. package/dist/DSRoot.js +0 -1181
  180. package/dist/DropdownMenu.js +0 -211
  181. package/dist/Empty.js +0 -53
  182. package/dist/Field.js +0 -66
  183. package/dist/Form.js +0 -125
  184. package/dist/IconButton.js +0 -82
  185. package/dist/Input.js +0 -48
  186. package/dist/Modal.js +0 -430
  187. package/dist/Popover.js +0 -10
  188. package/dist/PopupPanel.css +0 -116
  189. package/dist/PopupPanel.js +0 -333
  190. package/dist/Radio.js +0 -24
  191. package/dist/ScrollArea.js +0 -50
  192. package/dist/Segmented.js +0 -10
  193. package/dist/Select.js +0 -157
  194. package/dist/Slider.js +0 -39
  195. package/dist/Spin.js +0 -33
  196. package/dist/Splitter.js +0 -47
  197. package/dist/Switch.js +0 -10
  198. package/dist/Table.js +0 -126
  199. package/dist/Tag.js +0 -24
  200. package/dist/ThemeProvider.js +0 -403
  201. package/dist/Toast.js +0 -1154
  202. package/dist/Tooltip.js +0 -36
  203. package/dist/Tour.js +0 -54
  204. package/dist/Tree.js +0 -318
  205. package/dist/Truncate.js +0 -160
  206. package/dist/Upload.js +0 -460
  207. package/dist/VerticalCollapsiblePanel.js +0 -413
  208. package/dist/components/Badge/component.d.ts +0 -3
  209. package/dist/components/Badge/index.d.ts +0 -1
  210. package/dist/components/Breadcrumb/component.d.ts +0 -5
  211. package/dist/components/Breadcrumb/index.d.ts +0 -2
  212. package/dist/components/Breadcrumb/types.d.ts +0 -18
  213. package/dist/components/Breadcrumb/useItemRender.d.ts +0 -6
  214. package/dist/components/Button/component.d.ts +0 -7
  215. package/dist/components/Button/index.d.ts +0 -1
  216. package/dist/components/Checkbox/component.d.ts +0 -10
  217. package/dist/components/Checkbox/index.d.ts +0 -1
  218. package/dist/components/CodeBlock/component.d.ts +0 -2
  219. package/dist/components/CodeBlock/index.d.ts +0 -2
  220. package/dist/components/CodeBlock/types.d.ts +0 -47
  221. package/dist/components/Collapse/component.d.ts +0 -13
  222. package/dist/components/Collapse/index.d.ts +0 -1
  223. package/dist/components/DSRoot/component.d.ts +0 -13
  224. package/dist/components/DSRoot/context.d.ts +0 -7
  225. package/dist/components/DSRoot/index.d.ts +0 -1
  226. package/dist/components/DropdownMenu/component.d.ts +0 -30
  227. package/dist/components/DropdownMenu/index.d.ts +0 -2
  228. package/dist/components/Empty/component.d.ts +0 -12
  229. package/dist/components/Empty/index.d.ts +0 -1
  230. package/dist/components/Field/component.d.ts +0 -41
  231. package/dist/components/Field/index.d.ts +0 -1
  232. package/dist/components/Form/component.d.ts +0 -18
  233. package/dist/components/Form/index.d.ts +0 -1
  234. package/dist/components/Form/item.d.ts +0 -5
  235. package/dist/components/IconButton/component.d.ts +0 -29
  236. package/dist/components/IconButton/index.d.ts +0 -1
  237. package/dist/components/Input/component.d.ts +0 -30
  238. package/dist/components/Input/index.d.ts +0 -1
  239. package/dist/components/Modal/Modal.d.ts +0 -84
  240. package/dist/components/Modal/ModalProvider.d.ts +0 -5
  241. package/dist/components/Modal/ModalService.d.ts +0 -33
  242. package/dist/components/Modal/constants.d.ts +0 -9
  243. package/dist/components/Modal/functions.d.ts +0 -27
  244. package/dist/components/Modal/index.d.ts +0 -14
  245. package/dist/components/Popover/component.d.ts +0 -9
  246. package/dist/components/Popover/index.d.ts +0 -1
  247. package/dist/components/PopupPanel/component.d.ts +0 -61
  248. package/dist/components/PopupPanel/constants.d.ts +0 -7
  249. package/dist/components/PopupPanel/index.d.ts +0 -1
  250. package/dist/components/Radio/component.d.ts +0 -7
  251. package/dist/components/Radio/index.d.ts +0 -2
  252. package/dist/components/Radio/interface.d.ts +0 -5
  253. package/dist/components/ScrollArea/component.d.ts +0 -10
  254. package/dist/components/ScrollArea/index.d.ts +0 -1
  255. package/dist/components/Segmented/component.d.ts +0 -9
  256. package/dist/components/Segmented/index.d.ts +0 -1
  257. package/dist/components/Select/component.d.ts +0 -23
  258. package/dist/components/Select/index.d.ts +0 -1
  259. package/dist/components/Slider/component.d.ts +0 -5
  260. package/dist/components/Slider/index.d.ts +0 -1
  261. package/dist/components/Spin/component.d.ts +0 -3
  262. package/dist/components/Spin/index.d.ts +0 -1
  263. package/dist/components/Splitter/component.d.ts +0 -12
  264. package/dist/components/Splitter/index.d.ts +0 -1
  265. package/dist/components/Switch/component.d.ts +0 -8
  266. package/dist/components/Switch/index.d.ts +0 -1
  267. package/dist/components/Table/component.d.ts +0 -19
  268. package/dist/components/Table/index.d.ts +0 -1
  269. package/dist/components/Tag/component.d.ts +0 -11
  270. package/dist/components/Tag/index.d.ts +0 -1
  271. package/dist/components/ThemeProvider/component.d.ts +0 -6
  272. package/dist/components/ThemeProvider/index.d.ts +0 -1
  273. package/dist/components/Toast/component.d.ts +0 -14
  274. package/dist/components/Toast/function.d.ts +0 -10
  275. package/dist/components/Toast/index.d.ts +0 -3
  276. package/dist/components/Toast/types.d.ts +0 -3
  277. package/dist/components/Tooltip/component.d.ts +0 -9
  278. package/dist/components/Tooltip/index.d.ts +0 -1
  279. package/dist/components/Tour/component.d.ts +0 -7
  280. package/dist/components/Tour/index.d.ts +0 -1
  281. package/dist/components/Transition/component.d.ts +0 -17
  282. package/dist/components/Transition/index.d.ts +0 -1
  283. package/dist/components/Tree/components.d.ts +0 -13
  284. package/dist/components/Tree/helpers.d.ts +0 -4
  285. package/dist/components/Tree/index.d.ts +0 -4
  286. package/dist/components/Tree/types.d.ts +0 -55
  287. package/dist/components/Tree/useTreeCommon.d.ts +0 -178
  288. package/dist/components/Tree/useUniqueKeysTree.d.ts +0 -33
  289. package/dist/components/Truncate/component.d.ts +0 -12
  290. package/dist/components/Truncate/helpers.d.ts +0 -5
  291. package/dist/components/Truncate/index.d.ts +0 -1
  292. package/dist/components/Upload/component.d.ts +0 -16
  293. package/dist/components/Upload/dragger.d.ts +0 -13
  294. package/dist/components/Upload/hooks.d.ts +0 -5
  295. package/dist/components/Upload/index.d.ts +0 -3
  296. package/dist/components/Upload/item.d.ts +0 -11
  297. package/dist/components/Upload/utils.d.ts +0 -1
  298. package/dist/components/VerticalCollapsiblePanel/component.d.ts +0 -64
  299. package/dist/components/VerticalCollapsiblePanel/index.d.ts +0 -1
  300. package/dist/components/hooks/antd.d.ts +0 -11
  301. package/dist/components/hooks/base-ui.d.ts +0 -7
  302. package/dist/components/hooks/index.d.ts +0 -4
  303. package/dist/components/hooks/useCharts.d.ts +0 -22
  304. package/dist/components/hooks/useControlledState.d.ts +0 -1
  305. package/dist/components/index.d.ts +0 -40
  306. package/dist/components/utils/WithAntdTokens.d.ts +0 -7
  307. package/dist/components/utils/antdUtils.d.ts +0 -15
  308. package/dist/components/utils/client.d.ts +0 -2
  309. package/dist/components/utils/cn.d.ts +0 -4
  310. package/dist/components/utils/index.d.ts +0 -3
  311. package/dist/components/utils/isTracebackError.d.ts +0 -1
  312. package/dist/components/utils/main.d.ts +0 -3
  313. package/dist/components/utils/reactToString.d.ts +0 -2
  314. package/dist/components/utils/types.d.ts +0 -9
  315. package/dist/hooks.js +0 -961
  316. package/dist/index.css +0 -116
  317. package/dist/style.css +0 -1392
  318. package/dist/style.js +0 -0
  319. package/dist/tailwind.js +0 -0
  320. package/dist/tokens/and-theme/index.d.ts +0 -1
  321. package/dist/tokens/and-theme/tokens.d.ts +0 -5
  322. package/dist/tokens/charts/index.d.ts +0 -6
  323. package/dist/tokens/charts/tokens.d.ts +0 -455
  324. package/dist/tokens/index.d.ts +0 -2
  325. package/dist/tokens/utils.d.ts +0 -16
  326. package/dist/utils.js +0 -120
@@ -1,41 +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
- export type FieldType = "input" | "select";
6
- type RefType<T extends FieldType> = T extends "input" ? InputRef : T extends "select" ? RefSelectProps : never;
7
- interface BaseFieldProps extends React.HTMLAttributes<HTMLDivElement> {
8
- label?: React.ReactNode;
9
- /**
10
- * Block or inline display
11
- * @default false
12
- */
13
- block?: boolean;
14
- /**
15
- * Size of the field
16
- * @default "small"
17
- */
18
- size?: SizeType;
19
- /**
20
- * Colon after label
21
- * @default true
22
- */
23
- colon?: boolean;
24
- }
25
- type InputFieldProps = BaseFieldProps & {
26
- type?: "input";
27
- inputProps: InputProps;
28
- };
29
- type SelectFieldProps = BaseFieldProps & {
30
- type: "select";
31
- selectProps: SelectProps;
32
- };
33
- export type FieldProps<T extends FieldType = "input"> = T extends "input" ? InputFieldProps : SelectFieldProps;
34
- /**
35
- * Generic Field component that forwards ref to Input or Select
36
- */
37
- declare const FieldInner: <T extends FieldType>({ label, className, size, colon, type, ...rest }: FieldProps<T>, ref: ForwardedRef<RefType<T>>) => import("react/jsx-runtime").JSX.Element;
38
- export declare const Field: <T extends FieldType>(props: FieldProps<T> & {
39
- ref?: ForwardedRef<RefType<T>>;
40
- }) => ReturnType<typeof FieldInner<T>>;
41
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,18 +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
- export interface FormProps<Values = any> extends AntdFormProps<Values> {
6
- }
7
- interface InternalFormProps<Values = any> extends React.ComponentProps<typeof AntdInternalForm<Values>> {
8
- }
9
- export declare const Form: (<Values = any>({ ...rest }: InternalFormProps<Values>) => import("react/jsx-runtime").JSX.Element) & {
10
- useForm: typeof useForm;
11
- useFormInstance: typeof useFormInstance;
12
- useWatch: typeof useWatch;
13
- Item: <Values = unknown>({ tooltip, label, optionalMark, ...rest }: FormItemProps<Values>) => import("react/jsx-runtime").JSX.Element;
14
- List: React.FC<import("antd/es/form/FormList").FormListProps>;
15
- ErrorList: React.FC<import("antd/es/form/ErrorList").ErrorListProps>;
16
- Provider: React.FC<import("antd/es/form/context").FormProviderProps>;
17
- };
18
- 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,29 +0,0 @@
1
- import React, { type ElementType, type ComponentPropsWithoutRef, type ReactElement, type AnchorHTMLAttributes, ComponentPropsWithRef } from "react";
2
- import { Tooltip } from "antd";
3
- type IconButtonBaseProps = {
4
- label?: React.ReactNode;
5
- size?: "small" | "medium";
6
- negativeMargin?: boolean;
7
- tooltipProps?: React.ComponentProps<typeof Tooltip>;
8
- };
9
- type AnchorSpecificProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel" | "download" | "hrefLang" | "referrerPolicy">;
10
- type WithHrefProps<E extends ElementType = "a"> = IconButtonBaseProps & {
11
- href: string;
12
- as?: E;
13
- } & AnchorSpecificProps;
14
- type WithoutHrefProps<E extends ElementType = "button"> = IconButtonBaseProps & {
15
- href?: undefined;
16
- as?: E;
17
- } & {
18
- [K in keyof AnchorSpecificProps]?: never;
19
- };
20
- type IconButtonOwnProps<E extends ElementType = ElementType> = WithHrefProps<E> | WithoutHrefProps<E>;
21
- export type IconButtonProps<E extends ElementType = "button"> = IconButtonOwnProps<E> & Omit<ComponentPropsWithoutRef<E>, keyof IconButtonOwnProps<E>>;
22
- /**
23
- * Type for wrapping the forwardRef implementation
24
- */
25
- type IconButtonComponent = <E extends ElementType = "button">(props: IconButtonProps<E> & {
26
- ref?: ComponentPropsWithRef<E>["ref"];
27
- }) => ReactElement;
28
- export declare const IconButton: IconButtonComponent;
29
- 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,14 +0,0 @@
1
- import { type ModalFuncProps } from "./functions";
2
- import { type ModalProviderProps } from "./ModalProvider";
3
- 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) & {
4
- Provider: import("react").FC<ModalProviderProps>;
5
- open: (config: ModalFuncProps) => import("./functions").ModalRef;
6
- info: (config: ModalFuncProps) => import("./functions").ModalRef;
7
- success: (config: ModalFuncProps) => import("./functions").ModalRef;
8
- error: (config: ModalFuncProps) => import("./functions").ModalRef;
9
- warning: (config: ModalFuncProps) => import("./functions").ModalRef;
10
- confirm: (config: ModalFuncProps) => import("./functions").ModalRef;
11
- destroyAll: () => void;
12
- useModal: () => import("antd/es/modal/useModal").HookAPI;
13
- };
14
- 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";
@@ -1,7 +0,0 @@
1
- import type { RadioGroupProps } from "./interface";
2
- export declare const Radio: import("react").ForwardRefExoticComponent<import("antd/es/radio").RadioProps & import("react").RefAttributes<import("antd/es/radio").RadioRef>> & {
3
- Group: (props: RadioGroupProps & {
4
- ref?: React.Ref<HTMLDivElement>;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- Button: import("react").ForwardRefExoticComponent<import("antd/es/radio").RadioProps & import("react").RefAttributes<import("antd/es/radio").RadioRef>>;
7
- };
@@ -1,2 +0,0 @@
1
- export * from "./component";
2
- export * from "./interface";
@@ -1,5 +0,0 @@
1
- import type { RadioProps as AntdRadioProps, RadioRef as AntdRadioRef, RadioGroupProps as AntdRadioGroupProps, RadioChangeEvent as AntdRadioChangeEvent } from "antd/es/radio";
2
- export type RadioProps = AntdRadioProps;
3
- export type RadioRef = AntdRadioRef;
4
- export type RadioGroupProps = AntdRadioGroupProps;
5
- export type RadioChangeEvent = AntdRadioChangeEvent;
@@ -1,10 +0,0 @@
1
- import { type ReactNode } from "react";
2
- export interface ScrollAreaProps {
3
- children: ReactNode;
4
- className?: string;
5
- viewportClassName?: string;
6
- scrollbarClassName?: string;
7
- thumbClassName?: string;
8
- orientation?: "vertical" | "horizontal";
9
- }
10
- export declare const ScrollArea: ({ children, className, viewportClassName, thumbClassName, scrollbarClassName, orientation, }: ScrollAreaProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,9 +0,0 @@
1
- import { default as AntSegmented, type SegmentedProps as AntSegmentedProps } from "antd/es/segmented";
2
- export type RcSegmentedValue = string | number;
3
- export interface SegmentedProps<T = RcSegmentedValue> extends AntSegmentedProps<T> {
4
- }
5
- declare const MainSegmentedInner: <T>({ className, ...rest }: SegmentedProps<T>, ref: React.Ref<React.ComponentRef<typeof AntSegmented>>) => import("react/jsx-runtime").JSX.Element;
6
- export declare const Segmented: <T = RcSegmentedValue>(props: SegmentedProps<T> & {
7
- ref?: React.Ref<React.ComponentRef<typeof AntSegmented>>;
8
- }) => ReturnType<typeof MainSegmentedInner>;
9
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,23 +0,0 @@
1
- import { default as AntSelect, type BaseOptionType, type DefaultOptionType, type SelectProps as AntSelectProps } from "antd/es/select";
2
- import React from "react";
3
- import { PopupPanelSize } from "../PopupPanel/constants";
4
- export interface SelectProps<ValueType = unknown, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType> extends AntSelectProps<ValueType, OptionType> {
5
- /**
6
- * Whether to enhance the positioner using floating-ui
7
- * @default false
8
- */
9
- enhancePositioner?: boolean;
10
- /**
11
- * Size of the popup panel
12
- * Will be ignored if enhancePositioner is false
13
- */
14
- popupSize?: string | number | PopupPanelSize;
15
- }
16
- export type { BaseOptionType as SelectBaseOptionType, DefaultOptionType as SelectDefaultOptionType, };
17
- declare const MainSelectInner: <ValueType = unknown, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>({ mode, className, open: openProp, defaultOpen, onOpenChange, popupClassName, onDropdownVisibleChange, enhancePositioner, getPopupContainer, popupSize, popupRender, dropdownRender, classNames, styles, ...rest }: SelectProps<ValueType, OptionType>, ref: React.Ref<React.ComponentRef<typeof AntSelect>>) => import("react/jsx-runtime").JSX.Element;
18
- export declare const Select: (<ValueType = unknown, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>(props: SelectProps<ValueType, OptionType> & {
19
- ref?: React.ForwardedRef<React.ComponentRef<typeof AntSelect>>;
20
- }) => ReturnType<typeof MainSelectInner>) & {
21
- Option: import("rc-select/lib/Option").OptionFC;
22
- OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
23
- };
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,5 +0,0 @@
1
- import { type SliderSingleProps, type SliderRangeProps } from "antd/es/slider";
2
- export type SliderProps = SliderSingleProps | SliderRangeProps;
3
- export type { SliderSingleProps, SliderRangeProps };
4
- declare const Slider: ({ className, tooltip, style, ...rest }: SliderProps) => import("react/jsx-runtime").JSX.Element;
5
- export { Slider };
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,3 +0,0 @@
1
- import { SpinProps as AntdSpinProps } from "antd/es/spin";
2
- export type SpinProps = AntdSpinProps;
3
- export declare const Spin: ({ indicator, ...rest }: SpinProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import type { SplitterProps as AntdSplitterProps, PanelProps as AntdSplitterPanelProps } from "antd/es/splitter/interface";
3
- export type SplitterProps = React.PropsWithChildren<AntdSplitterProps> & {
4
- showSplitBar?: boolean;
5
- };
6
- export type SplitterPanelProps = React.PropsWithChildren<AntdSplitterPanelProps>;
7
- export declare const Splitter: React.FC<SplitterProps> & {
8
- Panel: React.FC<SplitterPanelProps>;
9
- };
10
- export declare const Split: React.FC<SplitterProps> & {
11
- Panel: React.FC<SplitterPanelProps>;
12
- };
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,8 +0,0 @@
1
- import { default as AntSwitch, type SwitchProps as AntSwitchProps } from "antd/es/switch";
2
- export interface SwitchProps extends AntSwitchProps {
3
- }
4
- declare const MainSwitchInner: ({ ...rest }: SwitchProps, ref: React.Ref<React.ComponentRef<typeof AntSwitch>>) => import("react/jsx-runtime").JSX.Element;
5
- export declare const Switch: (props: SwitchProps & {
6
- ref?: React.ForwardedRef<React.ComponentRef<typeof AntSwitch>>;
7
- }) => ReturnType<typeof MainSwitchInner>;
8
- export {};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,19 +0,0 @@
1
- import { default as AntTable, type TableProps as AntTableProps } from "antd/es/table";
2
- export interface TableProps<RecordType extends object = object> extends AntTableProps<RecordType> {
3
- /**
4
- * Add empty description for the table
5
- */
6
- emptyDescription?: React.ReactNode;
7
- }
8
- declare const InternalTable: <RecordType extends object = object>({ columns, locale, emptyDescription, loading, scroll, ...rest }: TableProps<RecordType>) => import("react/jsx-runtime").JSX.Element;
9
- export declare const Table: typeof InternalTable & {
10
- Column: typeof AntTable.Column;
11
- ColumnGroup: typeof AntTable.ColumnGroup;
12
- SELECTION_COLUMN: typeof AntTable.SELECTION_COLUMN;
13
- EXPAND_COLUMN: typeof AntTable.EXPAND_COLUMN;
14
- SELECTION_ALL: typeof AntTable.SELECTION_ALL;
15
- SELECTION_INVERT: typeof AntTable.SELECTION_INVERT;
16
- SELECTION_NONE: typeof AntTable.SELECTION_NONE;
17
- Summary: typeof AntTable.Summary;
18
- };
19
- export default Table;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,11 +0,0 @@
1
- import { type TagProps as AntTagProps } from "antd/es/tag";
2
- export interface TagProps extends AntTagProps {
3
- /**
4
- * Indicates if the tag is active
5
- * @default false
6
- */
7
- active?: boolean;
8
- }
9
- export declare const Tag: (({ className, active, color, style, closeIcon, closable, ...rest }: TagProps) => import("react/jsx-runtime").JSX.Element) & {
10
- CheckableTag: import("react").ForwardRefExoticComponent<import("antd/es/tag").CheckableTagProps & import("react").RefAttributes<HTMLSpanElement>>;
11
- };
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,6 +0,0 @@
1
- import { type ConfigProviderProps } from "antd/es/config-provider";
2
- export interface ThemeProviderProps extends Omit<ConfigProviderProps, "theme" | "prefixCls"> {
3
- theme: "light" | "dark";
4
- appendClassesTo?: string | HTMLElement;
5
- }
6
- export declare const ThemeProvider: ({ theme, appendClassesTo, children, }: ThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,14 +0,0 @@
1
- import { Toast as BaseToast } from "@base-ui-components/react";
2
- import { ToastData } from "./types";
3
- declare function InnerToast({ toast, }: {
4
- toast: BaseToast.Root.ToastObject<ToastData>;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- declare function ToastList({ className }: {
7
- className?: string;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- declare function ToastProvider(props: BaseToast.Provider.Props): import("react/jsx-runtime").JSX.Element;
10
- export declare const Toast: typeof InnerToast & {
11
- List: typeof ToastList;
12
- Provider: typeof ToastProvider;
13
- };
14
- export {};
@@ -1,10 +0,0 @@
1
- import { Toast as BaseToast } from "@base-ui-components/react";
2
- import type { ToastData } from "./types";
3
- export declare const toastManager: BaseToast.createToastManager.ToastManager;
4
- export declare const toast: ((message: string, options?: Omit<BaseToast.useToastManager.AddOptions<ToastData>, "data" | "description">) => string) & {
5
- info: (message: string, options?: Omit<BaseToast.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
6
- success: (message: string, options?: Omit<BaseToast.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
7
- error: (message: string, options?: Omit<BaseToast.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
8
- warning: (message: string, options?: Omit<BaseToast.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
9
- progress: (message: string, options?: Omit<BaseToast.useToastManager.AddOptions<ToastData>, "data" | "description">) => string;
10
- };
@@ -1,3 +0,0 @@
1
- export * from "./component";
2
- export * from "./types";
3
- export * from "./function";
@@ -1,3 +0,0 @@
1
- export type ToastData = {
2
- type: "info" | "success" | "error" | "warning" | "progress";
3
- };