tango-ui-cw 1.0.10 → 1.2.0

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 (36) hide show
  1. package/README.md +133 -126
  2. package/dist/component/CSSFab/index.d.ts +61 -55
  3. package/dist/component/CSSFab/useTangoStyle.d.ts +1 -1
  4. package/dist/component/TBanner/index.d.ts +53 -50
  5. package/dist/component/TButton/index.d.ts +109 -107
  6. package/dist/component/TCard/index.d.ts +40 -0
  7. package/dist/component/TColorPicker/index.d.ts +42 -41
  8. package/dist/component/TDate/index.d.ts +42 -41
  9. package/dist/component/TDatePicker/index.d.ts +54 -49
  10. package/dist/component/TDrawer/index.d.ts +59 -58
  11. package/dist/component/TInput/index.d.ts +111 -81
  12. package/dist/component/TLayout/index.d.ts +136 -133
  13. package/dist/component/TLine/index.d.ts +36 -33
  14. package/dist/component/TMark/index.d.ts +41 -38
  15. package/dist/component/TModal/index.d.ts +107 -52
  16. package/dist/component/TNotice/index.d.ts +47 -30
  17. package/dist/component/TSearch/index.d.ts +56 -42
  18. package/dist/component/TSpace/index.d.ts +60 -59
  19. package/dist/component/TTable/index.d.ts +117 -76
  20. package/dist/component/TTooltip/index.d.ts +34 -31
  21. package/dist/component/TUpload/index.d.ts +74 -45
  22. package/dist/component/index.d.ts +167 -146
  23. package/dist/index.cjs +26 -8
  24. package/dist/index.d.cts +18 -18
  25. package/dist/index.d.ts +18 -18
  26. package/dist/index.js +3334 -2305
  27. package/dist/providers/NoticeProvider/NoticeProvider.d.ts +43 -19
  28. package/dist/providers/TangoI18nProvider/TangoI18nProvider.d.ts +27 -27
  29. package/dist/providers/ThemeProvider/ThemeProvider.d.ts +21 -21
  30. package/dist/scripts/check-peers.js +82 -82
  31. package/dist/styles/base.css +383 -353
  32. package/dist/styles/global.css +383 -353
  33. package/dist/styles/style.css +1 -1
  34. package/dist/styles/theme.css +13 -13
  35. package/dist/styles/utilities.css +1 -1
  36. package/package.json +68 -68
@@ -1,33 +1,36 @@
1
- import type {
2
- CSSProperties,
3
- HTMLAttributes,
4
- ReactNode,
5
- Ref,
6
- } from "react";
7
-
8
- /** sx 值类型 */
9
- export type SxValue =
10
- | string
11
- | { tw?: string; className?: string; css?: CSSProperties; style?: CSSProperties }
12
- | Record<string, unknown>;
13
-
14
- /** Line Props */
15
- export interface LineProps extends Omit<HTMLAttributes<HTMLDivElement>, "style"> {
16
- /** 分隔线间距尺寸 */
17
- size?: "small" | "medium" | "large" | "huge";
18
- /** 样式扩展 */
19
- sx?: SxValue;
20
- /** 行内样式 */
21
- style?: CSSProperties;
22
- /** 额外 CSS 类名 */
23
- className?: string;
24
- /** 分隔线中间文本,不传则显示纯线 */
25
- children?: ReactNode;
26
- /** ref 转发 */
27
- ref?: Ref<HTMLDivElement>;
28
- }
29
-
30
- declare const Line: React.ForwardRefExoticComponent<
31
- LineProps & React.RefAttributes<HTMLDivElement>
32
- >;
33
- export default Line;
1
+ import type {
2
+ CSSProperties,
3
+ HTMLAttributes,
4
+ ReactNode,
5
+ Ref,
6
+ } from "react";
7
+
8
+ /** Line sx slot 名列表 */
9
+ export type LineSlotNames = readonly ["root", "text"];
10
+
11
+ /** sx 值类型 */
12
+ export type SxValue =
13
+ | string
14
+ | { tw?: string; className?: string; css?: CSSProperties; style?: CSSProperties }
15
+ | Record<string, unknown>;
16
+
17
+ /** Line Props */
18
+ export interface LineProps extends Omit<HTMLAttributes<HTMLSpanElement>, "style"> {
19
+ /** 分隔线间距尺寸 */
20
+ size?: "small" | "medium" | "large" | "huge";
21
+ /** 样式扩展 */
22
+ sx?: SxValue;
23
+ /** 行内样式 */
24
+ style?: CSSProperties;
25
+ /** 额外 CSS 类名 */
26
+ className?: string;
27
+ /** 分隔线中间文本,不传则显示纯线 */
28
+ children?: ReactNode;
29
+ /** ref 转发 */
30
+ ref?: Ref<HTMLSpanElement>;
31
+ }
32
+
33
+ declare const Line: React.ForwardRefExoticComponent<
34
+ LineProps & React.RefAttributes<HTMLSpanElement>
35
+ >;
36
+ export default Line;
@@ -1,38 +1,41 @@
1
- import type {
2
- CSSProperties,
3
- HTMLAttributes,
4
- ReactNode,
5
- Ref,
6
- } from "react";
7
-
8
- /** sx 值类型 */
9
- export type SxValue =
10
- | string
11
- | { tw?: string; className?: string; css?: CSSProperties; style?: CSSProperties }
12
- | Record<string, unknown>;
13
-
14
- /** Mark 高亮标记颜色预设 */
15
- export type MarkColor = "default" | "primary" | "success" | "warning" | "danger";
16
-
17
- /** Mark Props */
18
- export interface MarkProps extends Omit<HTMLAttributes<HTMLElement>, "style"> {
19
- /** 高亮颜色预设 */
20
- color?: MarkColor;
21
- /** 是否启用美化模式(圆角+内边距) */
22
- beauty?: boolean;
23
- /** 样式扩展 */
24
- sx?: SxValue;
25
- /** 行内样式 */
26
- style?: CSSProperties;
27
- /** 额外 CSS 类名 */
28
- className?: string;
29
- /** 标记内容 */
30
- children?: ReactNode;
31
- /** ref 转发 */
32
- ref?: Ref<HTMLElement>;
33
- }
34
-
35
- declare const Mark: React.ForwardRefExoticComponent<
36
- MarkProps & React.RefAttributes<HTMLElement>
37
- >;
38
- export default Mark;
1
+ import type {
2
+ CSSProperties,
3
+ HTMLAttributes,
4
+ ReactNode,
5
+ Ref,
6
+ } from "react";
7
+
8
+ /** Mark sx slot 名列表 */
9
+ export type MarkSlotNames = readonly ["root"];
10
+
11
+ /** sx 值类型 */
12
+ export type SxValue =
13
+ | string
14
+ | { tw?: string; className?: string; css?: CSSProperties; style?: CSSProperties }
15
+ | Record<string, unknown>;
16
+
17
+ /** Mark 高亮标记颜色预设 */
18
+ export type MarkColor = "default" | "primary" | "success" | "warning" | "danger";
19
+
20
+ /** Mark Props */
21
+ export interface MarkProps extends Omit<HTMLAttributes<HTMLElement>, "style"> {
22
+ /** 高亮颜色预设 */
23
+ color?: MarkColor;
24
+ /** 是否启用美化模式(圆角+内边距) */
25
+ beauty?: boolean;
26
+ /** 样式扩展 */
27
+ sx?: SxValue;
28
+ /** 行内样式 */
29
+ style?: CSSProperties;
30
+ /** 额外 CSS 类名 */
31
+ className?: string;
32
+ /** 标记内容 */
33
+ children?: ReactNode;
34
+ /** ref 转发 */
35
+ ref?: Ref<HTMLElement>;
36
+ }
37
+
38
+ declare const Mark: React.ForwardRefExoticComponent<
39
+ MarkProps & React.RefAttributes<HTMLElement>
40
+ >;
41
+ export default Mark;
@@ -1,52 +1,107 @@
1
- import type { CSSProperties, HTMLAttributes, ReactNode } from "react";
2
- import type { SxValue } from "../CSSFab";
3
-
4
- export type ModalI18nKey = "title" | "okText" | "cancelText" | "closeAriaLabel" | (string & {});
5
-
6
- export type ModalLocaleText = Partial<{
7
- title: string;
8
- okText: string;
9
- cancelText: string;
10
- closeAriaLabel: string;
11
- }>;
12
-
13
- export type ModalFooterButton = {
14
- key: string;
15
- text: string;
16
- onClick: () => void;
17
- };
18
-
19
- export interface ModalProps
20
- extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "style" | "className"> {
21
- /** 模态框内容 */
22
- children?: ReactNode;
23
- /** 标题,优先级高于 i18n */
24
- title?: string;
25
- /** 确定按钮文案,优先级高于 i18n */
26
- okText?: string;
27
- /** 取消按钮文案,优先级高于 i18n */
28
- cancelText?: string;
29
- /** 是否打开 */
30
- open?: boolean;
31
- /** 关闭回调 */
32
- onClose?: () => void;
33
- /** 确定回调,若未传则默认调用 onClose */
34
- onOk?: () => void;
35
- /** 容器宽度 */
36
- width?: string | number;
37
- /** Style extension via CSSFab sx */
38
- sx?: SxValue;
39
- style?: CSSProperties;
40
- className?: string;
41
- /** 点击遮罩是否关闭 */
42
- maskClosable?: boolean;
43
- /** 自定义底部按钮,传入后替代默认的取消/确定 */
44
- footerButtons?: ModalFooterButton[];
45
- /** 覆盖 locale 文案 */
46
- localeText?: ModalLocaleText;
47
- }
48
-
49
- declare function Modal(props: ModalProps): JSX.Element;
50
-
51
- export { Modal };
52
- export default Modal;
1
+ import type { CSSProperties, HTMLAttributes, ReactNode } from "react";
2
+ import type { SxValue } from "../CSSFab";
3
+
4
+ export type ModalSlotNames = readonly ["overlay", "container", "header", "title", "closeBtn", "content", "footer"];
5
+ export type ModalI18nKey = "title" | "okText" | "cancelText" | "closeAriaLabel" | "confirmTitle" | "successTitle" | "errorTitle" | "warningTitle" | (string & {});
6
+
7
+ export type ModalLocaleText = Partial<{
8
+ title: string;
9
+ okText: string;
10
+ cancelText: string;
11
+ closeAriaLabel: string;
12
+ // added by clayw on 20260624: 静态方法默认标题
13
+ confirmTitle: string;
14
+ successTitle: string;
15
+ errorTitle: string;
16
+ warningTitle: string;
17
+ }>;
18
+
19
+ export type ModalFooterButton = {
20
+ key: string;
21
+ text: string;
22
+ onClick: () => void;
23
+ };
24
+
25
+ export interface ModalProps
26
+ extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "style" | "className"> {
27
+ /** 模态框内容 */
28
+ children?: ReactNode;
29
+ /** 标题,优先级高于 i18n */
30
+ title?: string;
31
+ /** 确定按钮文案,优先级高于 i18n */
32
+ okText?: string;
33
+ /** 取消按钮文案,优先级高于 i18n */
34
+ cancelText?: string;
35
+ /** 是否打开 */
36
+ open?: boolean;
37
+ /** 关闭回调 */
38
+ onClose?: () => void;
39
+ /** 确定回调,若未传则默认调用 onClose;支持返回 Promise,自动 loading */
40
+ onOk?: () => void | Promise<void>;
41
+ /** 容器宽度 */
42
+ width?: string | number;
43
+ /** Style extension via CSSFab sx */
44
+ sx?: SxValue;
45
+ style?: CSSProperties;
46
+ className?: string;
47
+ /** 点击遮罩是否关闭 */
48
+ maskClosable?: boolean;
49
+ /** 自定义底部按钮,传入后替代默认的取消/确定 */
50
+ footerButtons?: ModalFooterButton[];
51
+ /**
52
+ * 底部区域控制:
53
+ * - `undefined`:使用 footerButtons 或默认取消/确定按钮
54
+ * - `null`:不渲染底部区域
55
+ * - `ReactNode`:自定义底部内容
56
+ * added by clayw on 20260624
57
+ */
58
+ footer?: ReactNode | null;
59
+ /**
60
+ * 关闭时是否卸载 children DOM,适用于需要重置内部状态的场景
61
+ * added by clayw on 20260624
62
+ */
63
+ destroyOnClose?: boolean;
64
+ /** 覆盖 locale 文案 */
65
+ localeText?: ModalLocaleText;
66
+ }
67
+
68
+ /** 静态方法配置 */
69
+ export interface ModalStaticConfig {
70
+ title?: string;
71
+ content?: ReactNode;
72
+ okText?: string;
73
+ cancelText?: string;
74
+ onOk?: () => void | Promise<void>;
75
+ onCancel?: () => void;
76
+ width?: string | number;
77
+ sx?: SxValue;
78
+ style?: CSSProperties;
79
+ className?: string;
80
+ maskClosable?: boolean;
81
+ footerButtons?: ModalFooterButton[];
82
+ localeText?: ModalLocaleText;
83
+ }
84
+
85
+ /** 静态方法返回值 */
86
+ export interface ModalStaticResult {
87
+ close: () => void;
88
+ update: (config: Partial<ModalStaticConfig>) => void;
89
+ }
90
+
91
+ // added by clayw on 20260624: 静态方法类型声明
92
+ interface ModalStaticMethods {
93
+ confirm: (config: ModalStaticConfig) => ModalStaticResult;
94
+ success: (config: ModalStaticConfig) => ModalStaticResult;
95
+ error: (config: ModalStaticConfig) => ModalStaticResult;
96
+ warning: (config: ModalStaticConfig) => ModalStaticResult;
97
+ }
98
+
99
+ // Modal 组件类型 = 函数签名 + 静态方法
100
+ interface ModalComponent extends ModalStaticMethods {
101
+ (props: ModalProps): JSX.Element;
102
+ }
103
+
104
+ declare const Modal: ModalComponent;
105
+
106
+ export { Modal };
107
+ export default Modal;
@@ -1,30 +1,47 @@
1
- import type { CSSProperties, ReactNode } from "react";
2
- import type { SxValue } from "../CSSFab";
3
-
4
- export type NoticeType = "success" | "fail" | "caution";
5
- export type NoticeVariant = "default" | "md";
6
-
7
- export interface NoticeProps extends React.HTMLAttributes<HTMLDivElement> {
8
- /** 通知类型 */
9
- type?: NoticeType;
10
- /** 图标(default 模式显示,md 模式隐藏) */
11
- icon?: ReactNode;
12
- /** 通知内容 */
13
- message?: ReactNode;
14
- /** 变体:default 顶部居中,md 左下角 */
15
- variant?: NoticeVariant;
16
- /** 自动关闭时间(ms),0 或不传则不自动关闭 */
17
- duration?: number;
18
- /** 关闭回调 */
19
- onClose?: () => void;
20
- /** 样式扩展 */
21
- sx?: SxValue;
22
- style?: CSSProperties;
23
- className?: string;
24
- }
25
-
26
- declare const Notice: React.ForwardRefExoticComponent<
27
- NoticeProps & React.RefAttributes<HTMLDivElement>
28
- >;
29
-
30
- export default Notice;
1
+ import type { CSSProperties, ReactNode } from "react";
2
+ import type { SxValue } from "../CSSFab";
3
+
4
+ export type NoticeSlotNames = readonly ["root", "icon", "content"];
5
+ export type NoticeType = "success" | "fail" | "caution";
6
+ export type NoticeVariant = "default" | "md";
7
+ // added by clayw on 20260624: placement 四角位置类型(大小写均可)
8
+ export type NoticePlacement = "TL" | "TR" | "BL" | "BR" | "tl" | "tr" | "bl" | "br";
9
+
10
+ export interface NoticeProps extends React.HTMLAttributes<HTMLDivElement> {
11
+ /** 通知类型 */
12
+ type?: NoticeType;
13
+ /** 图标(default 模式和 placement 模式显示,md 模式隐藏) */
14
+ icon?: ReactNode;
15
+ /** 通知内容 */
16
+ message?: ReactNode;
17
+ /** 变体:default 顶部居中,md 左下角 */
18
+ variant?: NoticeVariant;
19
+ /**
20
+ * 四角位置,优先级高于 variant
21
+ * added by clayw on 20260624
22
+ */
23
+ placement?: NoticePlacement;
24
+ /** 自动关闭时间(ms),0 或不传则不自动关闭 */
25
+ duration?: number;
26
+ /** 关闭回调 */
27
+ onClose?: () => void;
28
+ /** 样式扩展 */
29
+ sx?: SxValue;
30
+ style?: CSSProperties;
31
+ className?: string;
32
+ }
33
+
34
+ /** useNotice 调用的 options 参数 */
35
+ // added by clayw on 20260624
36
+ export interface NoticeCallOptions {
37
+ variant?: NoticeVariant;
38
+ duration?: number;
39
+ placement?: NoticePlacement;
40
+ key?: string;
41
+ }
42
+
43
+ declare const Notice: React.ForwardRefExoticComponent<
44
+ NoticeProps & React.RefAttributes<HTMLDivElement>
45
+ >;
46
+
47
+ export default Notice;
@@ -1,42 +1,56 @@
1
- import type { CSSProperties, HTMLAttributes } from "react";
2
- import type { SxValue } from "../CSSFab";
3
-
4
- export type SearchSize = "small" | "medium" | "large" | "huge";
5
-
6
- export type SearchI18nKey = "placeholder" | "btnText" | (string & {});
7
-
8
- export type SearchLocaleText = Partial<{
9
- placeholder: string;
10
- btnText: string;
11
- }>;
12
-
13
- export interface SearchProps
14
- extends Omit<HTMLAttributes<HTMLInputElement>, "style" | "className" | "onSearch" | "placeholder"> {
15
- /** 尺寸 */
16
- size?: SearchSize;
17
- /** Style extension via CSSFab sx */
18
- sx?: SxValue;
19
- style?: CSSProperties;
20
- className?: string;
21
- /** 搜索回调,参数为输入框当前值 */
22
- onSearch?: (value: string) => void;
23
- /** 受控值 */
24
- value?: string;
25
- /** 非受控默认值 */
26
- defaultValue?: string;
27
- /** 是否禁用 */
28
- disabled?: boolean;
29
- /** 占位文案,优先级高于 i18n */
30
- placeholder?: string;
31
- /** 搜索按钮文案,优先级高于 i18n */
32
- btnText?: string;
33
- /** 搜索按钮图标路径,传入后替代 btnText */
34
- path?: string;
35
- /** 覆盖 locale 文案 */
36
- localeText?: SearchLocaleText;
37
- }
38
-
39
- declare function Search(props: SearchProps): JSX.Element;
40
-
41
- export { Search };
42
- export default Search;
1
+ import type { CSSProperties, HTMLAttributes, ReactNode } from "react";
2
+ import type { SxValue } from "../CSSFab";
3
+
4
+ export type SearchSlotNames = readonly ["root", "input", "button", "prefix", "clearIcon"];
5
+ export type SearchSize = "small" | "medium" | "large" | "huge";
6
+
7
+ export type SearchI18nKey = "placeholder" | "btnText" | (string & {});
8
+
9
+ export type SearchLocaleText = Partial<{
10
+ placeholder: string;
11
+ btnText: string;
12
+ // added by clayw on 20260624
13
+ clearAriaLabel: string;
14
+ countTemplate: string;
15
+ }>;
16
+
17
+ export interface SearchProps
18
+ extends Omit<HTMLAttributes<HTMLInputElement>, "style" | "className" | "onSearch" | "placeholder"> {
19
+ /** 尺寸 */
20
+ size?: SearchSize;
21
+ /** Style extension via CSSFab sx */
22
+ sx?: SxValue;
23
+ style?: CSSProperties;
24
+ className?: string;
25
+ /** 搜索回调,参数为输入框当前值 */
26
+ onSearch?: (value: string) => void;
27
+ /** 输入值变化回调,参数为当前输入值 */
28
+ onChange?: (value: string) => void;
29
+ /** 受控值 */
30
+ value?: string;
31
+ /** 非受控默认值 */
32
+ defaultValue?: string;
33
+ /** 是否禁用 */
34
+ disabled?: boolean;
35
+ /** 占位文案,优先级高于 i18n */
36
+ placeholder?: string;
37
+ /** 搜索按钮文案,优先级高于 i18n */
38
+ btnText?: string;
39
+ /** 搜索按钮图标路径,传入后替代 btnText */
40
+ path?: string;
41
+ /** 覆盖 locale 文案 */
42
+ localeText?: SearchLocaleText;
43
+ /** 前缀图标/文字,位于输入框内左侧 added by clayw on 20260624 */
44
+ prefix?: ReactNode;
45
+ /** 是否显示清除按钮,默认 true,值为空时隐藏图标 added by clayw on 20260624 */
46
+ allowClear?: boolean;
47
+ /** 是否显示字数统计,默认 false,支持 i18n added by clayw on 20260624 */
48
+ showCount?: boolean;
49
+ /** 最大字符数,默认 524288 added by clayw on 20260624 */
50
+ maxLength?: number;
51
+ }
52
+
53
+ declare function Search(props: SearchProps): JSX.Element;
54
+
55
+ export { Search };
56
+ export default Search;
@@ -1,59 +1,60 @@
1
- import type {
2
- CSSProperties,
3
- HTMLAttributes,
4
- ReactNode,
5
- Ref,
6
- } from "react";
7
-
8
- /** Space 布局变体 */
9
- export type SpaceType =
10
- | "default"
11
- | "inline"
12
- | "flex"
13
- | "inlineFlex"
14
- | "grid"
15
- | "circle"
16
- | "triangle"
17
- | "halfCircle"
18
- | "fixed"
19
- | "absolute"
20
- | "relative";
21
-
22
- /** sx 单个 slot 值 */
23
- export interface SxSlotValue {
24
- tw?: string;
25
- className?: string;
26
- css?: CSSProperties;
27
- style?: CSSProperties;
28
- }
29
-
30
- /** sx 字符串 / 对象 / slot */
31
- export type SxValue =
32
- | string
33
- | SxSlotValue
34
- | Record<string, SxSlotValue | string | undefined>;
35
-
36
- export interface SpaceProps
37
- extends Omit<HTMLAttributes<HTMLDivElement>, "style"> {
38
- /** 布局变体 */
39
- type?: SpaceType;
40
- /** 样式扩展 */
41
- sx?: SxValue;
42
- /** 行内样式 */
43
- style?: CSSProperties;
44
- /** 额外 CSS 类名 */
45
- className?: string;
46
- /** 子元素 */
47
- children?: ReactNode;
48
- /** ref 转发 */
49
- ref?: Ref<HTMLDivElement>;
50
- }
51
-
52
- /** 默认导出:Space 组件 */
53
- declare const Space: React.ForwardRefExoticComponent<
54
- SpaceProps & React.RefAttributes<HTMLDivElement>
55
- >;
56
-
57
- export default Space;
58
-
59
- export type { SpaceType, SxValue, SxSlotValue };
1
+ import type {
2
+ CSSProperties,
3
+ HTMLAttributes,
4
+ ReactNode,
5
+ Ref,
6
+ } from "react";
7
+
8
+ /** Space sx slot 名列表 */
9
+ export type SpaceSlotNames = readonly ["root"];
10
+
11
+ /** Space 布局变体 */
12
+ export type SpaceType =
13
+ | "default"
14
+ | "inline"
15
+ | "flex"
16
+ | "inlineFlex"
17
+ | "grid"
18
+ | "circle"
19
+ | "fixed"
20
+ | "absolute"
21
+ | "relative";
22
+
23
+ /** sx 单个 slot 值 */
24
+ export interface SxSlotValue {
25
+ tw?: string;
26
+ className?: string;
27
+ css?: CSSProperties;
28
+ style?: CSSProperties;
29
+ }
30
+
31
+ /** sx 字符串 / 对象 / slot */
32
+ export type SxValue =
33
+ | string
34
+ | SxSlotValue
35
+ | Record<string, SxSlotValue | string | undefined>;
36
+
37
+ export interface SpaceProps
38
+ extends Omit<HTMLAttributes<HTMLDivElement>, "style"> {
39
+ /** 布局变体 */
40
+ type?: SpaceType;
41
+ /** 样式扩展 */
42
+ sx?: SxValue;
43
+ /** 行内样式 */
44
+ style?: CSSProperties;
45
+ /** 额外 CSS 类名 */
46
+ className?: string;
47
+ /** 子元素 */
48
+ children?: ReactNode;
49
+ /** ref 转发 */
50
+ ref?: Ref<HTMLDivElement>;
51
+ }
52
+
53
+ /** 默认导出:Space 组件 */
54
+ declare const Space: React.ForwardRefExoticComponent<
55
+ SpaceProps & React.RefAttributes<HTMLDivElement>
56
+ >;
57
+
58
+ export default Space;
59
+
60
+ export type { SpaceType, SxValue, SxSlotValue };