@kingsoft-ai/design 0.1.18 → 0.2.6

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 (130) hide show
  1. package/dist/index.cjs +3150 -2478
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.mjs +7211 -7849
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/dist/types/DesignThemeProvider.d.ts +25 -20
  7. package/dist/types/button/Button.d.ts +4 -19
  8. package/dist/types/button/Button.style.d.ts +4 -35
  9. package/dist/types/button/IconButton.d.ts +4 -5
  10. package/dist/types/button/IconButton.style.d.ts +4 -7
  11. package/dist/types/button/styled-tokens.d.ts +582 -0
  12. package/dist/types/button/tokens.d.ts +1 -1
  13. package/dist/types/button/tokens.types.d.ts +190 -0
  14. package/dist/types/card/Card.d.ts +0 -6
  15. package/dist/types/card/Card.style.d.ts +4 -7
  16. package/dist/types/card/styled-tokens.d.ts +130 -0
  17. package/dist/types/card/tokens.d.ts +1 -1
  18. package/dist/types/card/tokens.types.d.ts +48 -0
  19. package/dist/types/checkbox/Checkbox.d.ts +0 -7
  20. package/dist/types/checkbox/Checkbox.style.d.ts +29 -7
  21. package/dist/types/checkbox/CheckboxButton.d.ts +0 -16
  22. package/dist/types/checkbox/CheckboxButton.style.d.ts +24 -12
  23. package/dist/types/checkbox/styled-tokens.d.ts +122 -0
  24. package/dist/types/checkbox/tokens.d.ts +1 -1
  25. package/dist/types/checkbox/tokens.types.d.ts +39 -0
  26. package/dist/types/collapse/Collapse.d.ts +2 -34
  27. package/dist/types/collapse/Collapse.style.d.ts +4 -43
  28. package/dist/types/collapse/styled-tokens.d.ts +77 -0
  29. package/dist/types/collapse/tokens.d.ts +1 -1
  30. package/dist/types/collapse/tokens.types.d.ts +28 -0
  31. package/dist/types/context/ThemeContext.d.ts +24 -0
  32. package/dist/types/context/index.d.ts +2 -0
  33. package/dist/types/floatButton/FloatButton.d.ts +0 -21
  34. package/dist/types/floatButton/FloatButton.style.d.ts +0 -31
  35. package/dist/types/floatButton/styled-tokens.d.ts +127 -0
  36. package/dist/types/floatButton/tokens.d.ts +1 -1
  37. package/dist/types/floatButton/tokens.types.d.ts +66 -0
  38. package/dist/types/index.d.ts +5 -4
  39. package/dist/types/input/Input.d.ts +4 -22
  40. package/dist/types/input/Input.style.d.ts +4 -48
  41. package/dist/types/input/styled-tokens.d.ts +147 -0
  42. package/dist/types/input/tokens.d.ts +1 -1
  43. package/dist/types/input/tokens.types.d.ts +46 -0
  44. package/dist/types/link/Link.d.ts +4 -0
  45. package/dist/types/link/Link.style.d.ts +4 -10
  46. package/dist/types/link/styled-tokens.d.ts +107 -0
  47. package/dist/types/link/tokens.d.ts +1 -1
  48. package/dist/types/link/tokens.types.d.ts +39 -0
  49. package/dist/types/menu/Menu.d.ts +0 -25
  50. package/dist/types/menu/Menu.style.d.ts +4 -43
  51. package/dist/types/menu/MenuItem.d.ts +0 -6
  52. package/dist/types/menu/styled-tokens.d.ts +217 -0
  53. package/dist/types/menu/tokens.d.ts +1 -1
  54. package/dist/types/menu/tokens.types.d.ts +79 -0
  55. package/dist/types/modal/Modal.d.ts +0 -8
  56. package/dist/types/modal/Modal.style.d.ts +4 -11
  57. package/dist/types/modal/styled-tokens.d.ts +370 -0
  58. package/dist/types/modal/tokens.d.ts +1 -1
  59. package/dist/types/modal/tokens.types.d.ts +107 -0
  60. package/dist/types/numberInput/NumberInput.d.ts +2 -22
  61. package/dist/types/numberInput/NumberInput.style.d.ts +4 -7
  62. package/dist/types/numberInput/styled-tokens.d.ts +192 -0
  63. package/dist/types/numberInput/tokens.d.ts +1 -1
  64. package/dist/types/numberInput/tokens.types.d.ts +65 -0
  65. package/dist/types/progress/Progress.d.ts +4 -27
  66. package/dist/types/progress/Progress.style.d.ts +4 -43
  67. package/dist/types/progress/styled-tokens.d.ts +137 -0
  68. package/dist/types/progress/tokens.d.ts +3 -0
  69. package/dist/types/progress/tokens.types.d.ts +52 -0
  70. package/dist/types/radio/Radio.d.ts +4 -0
  71. package/dist/types/radio/Radio.style.d.ts +9 -28
  72. package/dist/types/radio/styled-tokens.d.ts +122 -0
  73. package/dist/types/radio/tokens.d.ts +1 -1
  74. package/dist/types/radio/tokens.types.d.ts +41 -0
  75. package/dist/types/select/Select.style.d.ts +4 -7
  76. package/dist/types/select/styled-tokens.d.ts +237 -0
  77. package/dist/types/select/tokens.d.ts +1 -1
  78. package/dist/types/select/tokens.types.d.ts +72 -0
  79. package/dist/types/skeleton/Skeleton.style.d.ts +0 -25
  80. package/dist/types/skeleton/styled-tokens.d.ts +82 -0
  81. package/dist/types/skeleton/tokens.d.ts +1 -1
  82. package/dist/types/skeleton/tokens.types.d.ts +31 -0
  83. package/dist/types/slider/Slider.d.ts +74 -0
  84. package/dist/types/slider/Slider.style.d.ts +125 -0
  85. package/dist/types/slider/__tests__/Slider.test.d.ts +13 -0
  86. package/dist/types/slider/index.d.ts +2 -0
  87. package/dist/types/slider/styled-tokens.d.ts +252 -0
  88. package/dist/types/slider/tokens.d.ts +3 -0
  89. package/dist/types/slider/tokens.types.d.ts +121 -0
  90. package/dist/types/stepper/Stepper.d.ts +3 -0
  91. package/dist/types/stepper/Stepper.style.d.ts +4 -7
  92. package/dist/types/stepper/styled-tokens.d.ts +157 -0
  93. package/dist/types/stepper/tokens.d.ts +1 -1
  94. package/dist/types/stepper/tokens.types.d.ts +68 -0
  95. package/dist/types/switch/Switch.d.ts +4 -35
  96. package/dist/types/switch/Switch.style.d.ts +4 -56
  97. package/dist/types/switch/styled-tokens.d.ts +132 -0
  98. package/dist/types/switch/tokens.d.ts +1 -1
  99. package/dist/types/switch/tokens.types.d.ts +45 -0
  100. package/dist/types/table/Table.d.ts +2 -0
  101. package/dist/types/table/Table.style.d.ts +4 -7
  102. package/dist/types/table/styled-tokens.d.ts +182 -0
  103. package/dist/types/table/tokens.d.ts +3 -0
  104. package/dist/types/table/tokens.types.d.ts +43 -0
  105. package/dist/types/tag/Tag.d.ts +4 -36
  106. package/dist/types/tag/Tag.style.d.ts +5 -41
  107. package/dist/types/tag/styled-tokens.d.ts +140 -0
  108. package/dist/types/tag/tokens.d.ts +1 -1
  109. package/dist/types/tag/tokens.types.d.ts +76 -0
  110. package/dist/types/theme.d.ts +1 -2
  111. package/dist/types/tooltip/Tooltip.d.ts +0 -18
  112. package/dist/types/tooltip/Tooltip.style.d.ts +0 -19
  113. package/dist/types/tooltip/styled-tokens.d.ts +72 -0
  114. package/dist/types/tooltip/tokens.d.ts +1 -1
  115. package/dist/types/tooltip/tokens.types.d.ts +21 -0
  116. package/dist/types/transfer/Transfer.d.ts +0 -20
  117. package/dist/types/transfer/Transfer.style.d.ts +0 -10
  118. package/dist/types/transfer/styled-tokens.d.ts +252 -0
  119. package/dist/types/transfer/tokens.d.ts +1 -1
  120. package/dist/types/transfer/tokens.types.d.ts +79 -0
  121. package/dist/types/types/index.d.ts +64 -4
  122. package/dist/types/upload/Upload.d.ts +2 -21
  123. package/dist/types/upload/Upload.style.d.ts +4 -64
  124. package/dist/types/upload/styled-tokens.d.ts +227 -0
  125. package/dist/types/upload/tokens.d.ts +3 -0
  126. package/dist/types/upload/tokens.types.d.ts +66 -0
  127. package/dist/types/utils/index.d.ts +4 -0
  128. package/dist/types/utils/styled-token.d.ts +117 -0
  129. package/package.json +14 -13
  130. package/dist/styles.css +0 -1
@@ -0,0 +1,217 @@
1
+ /**
2
+ * Menu Styled Tokens
3
+ *
4
+ * 将 Menu 的 JS tokens 与 CSS 变量映射,实现:
5
+ * - 有 ThemeProvider 时:使用 JS token 值(可被用户自定义)
6
+ * - 无 ThemeProvider 时:fallback 到 CSS 变量(基础样式)
7
+ */
8
+ /**
9
+ * Menu 组件的 Styled Tokens
10
+ */
11
+ export declare const $menu: {
12
+ readonly containerWidthExpanded: (props: {
13
+ theme?: import("@kingsoft-ai/theme").Theme & {
14
+ _useCSSVariables?: boolean;
15
+ };
16
+ }) => string;
17
+ readonly containerWidthCollapsed: (props: {
18
+ theme?: import("@kingsoft-ai/theme").Theme & {
19
+ _useCSSVariables?: boolean;
20
+ };
21
+ }) => string;
22
+ readonly containerBg: (props: {
23
+ theme?: import("@kingsoft-ai/theme").Theme & {
24
+ _useCSSVariables?: boolean;
25
+ };
26
+ }) => string;
27
+ readonly containerBorder: (props: {
28
+ theme?: import("@kingsoft-ai/theme").Theme & {
29
+ _useCSSVariables?: boolean;
30
+ };
31
+ }) => string;
32
+ readonly containerPadding: (props: {
33
+ theme?: import("@kingsoft-ai/theme").Theme & {
34
+ _useCSSVariables?: boolean;
35
+ };
36
+ }) => string;
37
+ readonly itemHeight: (props: {
38
+ theme?: import("@kingsoft-ai/theme").Theme & {
39
+ _useCSSVariables?: boolean;
40
+ };
41
+ }) => string;
42
+ readonly itemPaddingInline: (props: {
43
+ theme?: import("@kingsoft-ai/theme").Theme & {
44
+ _useCSSVariables?: boolean;
45
+ };
46
+ }) => string;
47
+ readonly itemFontSize: (props: {
48
+ theme?: import("@kingsoft-ai/theme").Theme & {
49
+ _useCSSVariables?: boolean;
50
+ };
51
+ }) => string;
52
+ readonly itemFontWeight: (props: {
53
+ theme?: import("@kingsoft-ai/theme").Theme & {
54
+ _useCSSVariables?: boolean;
55
+ };
56
+ }) => string;
57
+ readonly itemIconSize: (props: {
58
+ theme?: import("@kingsoft-ai/theme").Theme & {
59
+ _useCSSVariables?: boolean;
60
+ };
61
+ }) => string;
62
+ readonly itemGap: (props: {
63
+ theme?: import("@kingsoft-ai/theme").Theme & {
64
+ _useCSSVariables?: boolean;
65
+ };
66
+ }) => string;
67
+ readonly itemBorderRadius: (props: {
68
+ theme?: import("@kingsoft-ai/theme").Theme & {
69
+ _useCSSVariables?: boolean;
70
+ };
71
+ }) => string;
72
+ readonly itemTransition: (props: {
73
+ theme?: import("@kingsoft-ai/theme").Theme & {
74
+ _useCSSVariables?: boolean;
75
+ };
76
+ }) => string;
77
+ readonly itemBg: (props: {
78
+ theme?: import("@kingsoft-ai/theme").Theme & {
79
+ _useCSSVariables?: boolean;
80
+ };
81
+ }) => string;
82
+ readonly itemBgHover: (props: {
83
+ theme?: import("@kingsoft-ai/theme").Theme & {
84
+ _useCSSVariables?: boolean;
85
+ };
86
+ }) => string;
87
+ readonly itemBgActive: (props: {
88
+ theme?: import("@kingsoft-ai/theme").Theme & {
89
+ _useCSSVariables?: boolean;
90
+ };
91
+ }) => string;
92
+ readonly itemText: (props: {
93
+ theme?: import("@kingsoft-ai/theme").Theme & {
94
+ _useCSSVariables?: boolean;
95
+ };
96
+ }) => string;
97
+ readonly itemTextHover: (props: {
98
+ theme?: import("@kingsoft-ai/theme").Theme & {
99
+ _useCSSVariables?: boolean;
100
+ };
101
+ }) => string;
102
+ readonly itemTextActive: (props: {
103
+ theme?: import("@kingsoft-ai/theme").Theme & {
104
+ _useCSSVariables?: boolean;
105
+ };
106
+ }) => string;
107
+ readonly subItemPaddingLeft: (props: {
108
+ theme?: import("@kingsoft-ai/theme").Theme & {
109
+ _useCSSVariables?: boolean;
110
+ };
111
+ }) => string;
112
+ readonly groupMarginTop: (props: {
113
+ theme?: import("@kingsoft-ai/theme").Theme & {
114
+ _useCSSVariables?: boolean;
115
+ };
116
+ }) => string;
117
+ readonly groupMarginBottom: (props: {
118
+ theme?: import("@kingsoft-ai/theme").Theme & {
119
+ _useCSSVariables?: boolean;
120
+ };
121
+ }) => string;
122
+ readonly groupGap: (props: {
123
+ theme?: import("@kingsoft-ai/theme").Theme & {
124
+ _useCSSVariables?: boolean;
125
+ };
126
+ }) => string;
127
+ readonly groupTitleHeight: (props: {
128
+ theme?: import("@kingsoft-ai/theme").Theme & {
129
+ _useCSSVariables?: boolean;
130
+ };
131
+ }) => string;
132
+ readonly groupTitleFontSize: (props: {
133
+ theme?: import("@kingsoft-ai/theme").Theme & {
134
+ _useCSSVariables?: boolean;
135
+ };
136
+ }) => string;
137
+ readonly groupTitleFontWeight: (props: {
138
+ theme?: import("@kingsoft-ai/theme").Theme & {
139
+ _useCSSVariables?: boolean;
140
+ };
141
+ }) => string;
142
+ readonly groupTitleColor: (props: {
143
+ theme?: import("@kingsoft-ai/theme").Theme & {
144
+ _useCSSVariables?: boolean;
145
+ };
146
+ }) => string;
147
+ readonly groupTitleMarginBottom: (props: {
148
+ theme?: import("@kingsoft-ai/theme").Theme & {
149
+ _useCSSVariables?: boolean;
150
+ };
151
+ }) => string;
152
+ readonly scrollbarWidth: (props: {
153
+ theme?: import("@kingsoft-ai/theme").Theme & {
154
+ _useCSSVariables?: boolean;
155
+ };
156
+ }) => string;
157
+ readonly scrollbarThumbColor: (props: {
158
+ theme?: import("@kingsoft-ai/theme").Theme & {
159
+ _useCSSVariables?: boolean;
160
+ };
161
+ }) => string;
162
+ readonly scrollbarTrackColor: (props: {
163
+ theme?: import("@kingsoft-ai/theme").Theme & {
164
+ _useCSSVariables?: boolean;
165
+ };
166
+ }) => string;
167
+ readonly popoverBg: (props: {
168
+ theme?: import("@kingsoft-ai/theme").Theme & {
169
+ _useCSSVariables?: boolean;
170
+ };
171
+ }) => string;
172
+ readonly popoverBorder: (props: {
173
+ theme?: import("@kingsoft-ai/theme").Theme & {
174
+ _useCSSVariables?: boolean;
175
+ };
176
+ }) => string;
177
+ readonly popoverBorderRadius: (props: {
178
+ theme?: import("@kingsoft-ai/theme").Theme & {
179
+ _useCSSVariables?: boolean;
180
+ };
181
+ }) => string;
182
+ readonly popoverShadow: (props: {
183
+ theme?: import("@kingsoft-ai/theme").Theme & {
184
+ _useCSSVariables?: boolean;
185
+ };
186
+ }) => string;
187
+ readonly popoverPadding: (props: {
188
+ theme?: import("@kingsoft-ai/theme").Theme & {
189
+ _useCSSVariables?: boolean;
190
+ };
191
+ }) => string;
192
+ readonly popoverItemBg: (props: {
193
+ theme?: import("@kingsoft-ai/theme").Theme & {
194
+ _useCSSVariables?: boolean;
195
+ };
196
+ }) => string;
197
+ readonly popoverItemBgHover: (props: {
198
+ theme?: import("@kingsoft-ai/theme").Theme & {
199
+ _useCSSVariables?: boolean;
200
+ };
201
+ }) => string;
202
+ readonly popoverItemBgActive: (props: {
203
+ theme?: import("@kingsoft-ai/theme").Theme & {
204
+ _useCSSVariables?: boolean;
205
+ };
206
+ }) => string;
207
+ readonly popoverItemText: (props: {
208
+ theme?: import("@kingsoft-ai/theme").Theme & {
209
+ _useCSSVariables?: boolean;
210
+ };
211
+ }) => string;
212
+ readonly popoverItemTextActive: (props: {
213
+ theme?: import("@kingsoft-ai/theme").Theme & {
214
+ _useCSSVariables?: boolean;
215
+ };
216
+ }) => string;
217
+ };
@@ -1,3 +1,3 @@
1
1
  import { TokenGenerator } from '../types/theme-utils';
2
- import { MenuTokens } from '../types/component-tokens.types';
2
+ import { MenuTokens } from './tokens.types';
3
3
  export declare const getMenuTokens: TokenGenerator<MenuTokens>;
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Menu 组件 Token 类型定义
3
+ */
4
+ export interface MenuTokens {
5
+ container: {
6
+ width: {
7
+ expanded: string;
8
+ collapsed: string;
9
+ };
10
+ background: string;
11
+ border: string;
12
+ padding: string;
13
+ };
14
+ item: {
15
+ height: string;
16
+ paddingInline: string;
17
+ fontSize: string;
18
+ fontWeight: number;
19
+ iconSize: string;
20
+ gap: string;
21
+ borderRadius: string;
22
+ background: {
23
+ default: string;
24
+ hover: string;
25
+ active: string;
26
+ };
27
+ text: {
28
+ default: string;
29
+ hover: string;
30
+ active: string;
31
+ };
32
+ transition: string;
33
+ };
34
+ subItem: {
35
+ paddingLeft: string;
36
+ background: {
37
+ default: string;
38
+ hover: string;
39
+ active: string;
40
+ };
41
+ };
42
+ group: {
43
+ marginTop: string;
44
+ marginBottom: string;
45
+ gap: string;
46
+ };
47
+ groupTitle: {
48
+ height: string;
49
+ fontSize: string;
50
+ fontWeight: number;
51
+ color: string;
52
+ paddingInline: string;
53
+ marginBottom: string;
54
+ };
55
+ scrollbar: {
56
+ width: string;
57
+ thumbColor: string;
58
+ trackColor: string;
59
+ };
60
+ popover: {
61
+ background: string;
62
+ border: string;
63
+ borderRadius: string;
64
+ boxShadow: string;
65
+ padding: string;
66
+ item: {
67
+ background: {
68
+ default: string;
69
+ hover: string;
70
+ active: string;
71
+ };
72
+ text: {
73
+ default: string;
74
+ hover: string;
75
+ active: string;
76
+ };
77
+ };
78
+ };
79
+ }
@@ -1,11 +1,3 @@
1
- /**
2
- * Modal 弹窗组件(React Aria)
3
- *
4
- * - 受控:open + onOpenChange(所有关闭路径统一出口)
5
- * - 基于 react-aria overlays/dialog:焦点管理、ESC、无障碍语义
6
- * - 支持 portalContainer(微前端 / iframe / shadow dom)
7
- * - 样式分层:overlay / dialog / close button 分别支持 className 与 style
8
- */
9
1
  import { type CSSProperties, type ReactNode } from 'react';
10
2
  export type ModalProps = {
11
3
  /** 是否展示 Modal */
@@ -1,16 +1,9 @@
1
1
  /**
2
- * Modal 样式(React Aria)
2
+ * Modal Styled Components
3
3
  *
4
- * 基于 CSS 变量的三层 Token 体系:
5
- * - Tier 1 (Global): 全局基础值 --ksd-colors-*, --ksd-spacing-*, etc.
6
- * - Tier 2 (Semantic): 语义化映射 --ksd-brand-*, --ksd-text-*, etc.
7
- * - Tier 3 (Component): 组件专用 Token --ksd-modal-*
8
- *
9
- * 设计目标:
10
- * - 轻盈、科技、极简阴影(避免厚重"Antd 弹窗"观感)
11
- * - overlay / dialog / close button 三层明确分工
12
- *
13
- * 无需 ThemeProvider,直接使用 CSS 变量
4
+ * 使用 Styled Token System 实现样式:
5
+ * - JS Token 优先(来自 ThemeProvider,支持用户自定义)
6
+ * - CSS 变量作为 fallback(无 Provider 时的兜底)
14
7
  */
15
8
  export declare const ModalPortalRoot: import("@emotion/styled").StyledComponent<{
16
9
  theme?: import("@emotion/react").Theme;
@@ -0,0 +1,370 @@
1
+ /**
2
+ * Modal Styled Tokens
3
+ *
4
+ * 将 Modal 的 JS tokens 与 CSS 变量映射,实现:
5
+ * - 有 ThemeProvider 时:使用 JS token 值(可被用户自定义)
6
+ * - 无 ThemeProvider 时:fallback 到 CSS 变量(基础样式)
7
+ */
8
+ /**
9
+ * Modal 组件的 Styled Tokens
10
+ *
11
+ * 命名规范:$ 前缀表示这是可在 styled-components 中直接使用的 token 对象
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * import { $modal } from './styled-tokens';
16
+ *
17
+ * const ModalContainer = styled.div`
18
+ * background: ${$modal.containerBg};
19
+ * border-radius: ${$modal.borderRadius};
20
+ * transition: ${$modal.transition};
21
+ * `;
22
+ * ```
23
+ */
24
+ export declare const $modal: {
25
+ readonly borderRadius: (props: {
26
+ theme?: import("@kingsoft-ai/theme").Theme & {
27
+ _useCSSVariables?: boolean;
28
+ };
29
+ }) => string;
30
+ readonly transition: (props: {
31
+ theme?: import("@kingsoft-ai/theme").Theme & {
32
+ _useCSSVariables?: boolean;
33
+ };
34
+ }) => string;
35
+ readonly animationDuration: (props: {
36
+ theme?: import("@kingsoft-ai/theme").Theme & {
37
+ _useCSSVariables?: boolean;
38
+ };
39
+ }) => string;
40
+ readonly animationEasing: (props: {
41
+ theme?: import("@kingsoft-ai/theme").Theme & {
42
+ _useCSSVariables?: boolean;
43
+ };
44
+ }) => string;
45
+ readonly scaleFrom: (props: {
46
+ theme?: import("@kingsoft-ai/theme").Theme & {
47
+ _useCSSVariables?: boolean;
48
+ };
49
+ }) => string;
50
+ readonly scaleTo: (props: {
51
+ theme?: import("@kingsoft-ai/theme").Theme & {
52
+ _useCSSVariables?: boolean;
53
+ };
54
+ }) => string;
55
+ readonly zIndexOverlay: (props: {
56
+ theme?: import("@kingsoft-ai/theme").Theme & {
57
+ _useCSSVariables?: boolean;
58
+ };
59
+ }) => string;
60
+ readonly zIndexContainer: (props: {
61
+ theme?: import("@kingsoft-ai/theme").Theme & {
62
+ _useCSSVariables?: boolean;
63
+ };
64
+ }) => string;
65
+ readonly overlayBg: (props: {
66
+ theme?: import("@kingsoft-ai/theme").Theme & {
67
+ _useCSSVariables?: boolean;
68
+ };
69
+ }) => string;
70
+ readonly overlayBackdropFilter: (props: {
71
+ theme?: import("@kingsoft-ai/theme").Theme & {
72
+ _useCSSVariables?: boolean;
73
+ };
74
+ }) => string;
75
+ readonly containerBg: (props: {
76
+ theme?: import("@kingsoft-ai/theme").Theme & {
77
+ _useCSSVariables?: boolean;
78
+ };
79
+ }) => string;
80
+ readonly containerShadow: (props: {
81
+ theme?: import("@kingsoft-ai/theme").Theme & {
82
+ _useCSSVariables?: boolean;
83
+ };
84
+ }) => string;
85
+ readonly containerBorder: (props: {
86
+ theme?: import("@kingsoft-ai/theme").Theme & {
87
+ _useCSSVariables?: boolean;
88
+ };
89
+ }) => string;
90
+ readonly containerMaxHeight: (props: {
91
+ theme?: import("@kingsoft-ai/theme").Theme & {
92
+ _useCSSVariables?: boolean;
93
+ };
94
+ }) => string;
95
+ readonly headerBg: (props: {
96
+ theme?: import("@kingsoft-ai/theme").Theme & {
97
+ _useCSSVariables?: boolean;
98
+ };
99
+ }) => string;
100
+ readonly headerBorderBottom: (props: {
101
+ theme?: import("@kingsoft-ai/theme").Theme & {
102
+ _useCSSVariables?: boolean;
103
+ };
104
+ }) => string;
105
+ readonly headerMinHeight: (props: {
106
+ theme?: import("@kingsoft-ai/theme").Theme & {
107
+ _useCSSVariables?: boolean;
108
+ };
109
+ }) => string;
110
+ readonly headerGap: (props: {
111
+ theme?: import("@kingsoft-ai/theme").Theme & {
112
+ _useCSSVariables?: boolean;
113
+ };
114
+ }) => string;
115
+ readonly titleColor: (props: {
116
+ theme?: import("@kingsoft-ai/theme").Theme & {
117
+ _useCSSVariables?: boolean;
118
+ };
119
+ }) => string;
120
+ readonly titleFontWeight: (props: {
121
+ theme?: import("@kingsoft-ai/theme").Theme & {
122
+ _useCSSVariables?: boolean;
123
+ };
124
+ }) => string;
125
+ readonly titleLineHeight: (props: {
126
+ theme?: import("@kingsoft-ai/theme").Theme & {
127
+ _useCSSVariables?: boolean;
128
+ };
129
+ }) => string;
130
+ readonly descriptionColor: (props: {
131
+ theme?: import("@kingsoft-ai/theme").Theme & {
132
+ _useCSSVariables?: boolean;
133
+ };
134
+ }) => string;
135
+ readonly descriptionFontSize: (props: {
136
+ theme?: import("@kingsoft-ai/theme").Theme & {
137
+ _useCSSVariables?: boolean;
138
+ };
139
+ }) => string;
140
+ readonly descriptionLineHeight: (props: {
141
+ theme?: import("@kingsoft-ai/theme").Theme & {
142
+ _useCSSVariables?: boolean;
143
+ };
144
+ }) => string;
145
+ readonly descriptionMarginTop: (props: {
146
+ theme?: import("@kingsoft-ai/theme").Theme & {
147
+ _useCSSVariables?: boolean;
148
+ };
149
+ }) => string;
150
+ readonly closeButtonSize: (props: {
151
+ theme?: import("@kingsoft-ai/theme").Theme & {
152
+ _useCSSVariables?: boolean;
153
+ };
154
+ }) => string;
155
+ readonly closeButtonIconSize: (props: {
156
+ theme?: import("@kingsoft-ai/theme").Theme & {
157
+ _useCSSVariables?: boolean;
158
+ };
159
+ }) => string;
160
+ readonly closeButtonColor: (props: {
161
+ theme?: import("@kingsoft-ai/theme").Theme & {
162
+ _useCSSVariables?: boolean;
163
+ };
164
+ }) => string;
165
+ readonly closeButtonColorHover: (props: {
166
+ theme?: import("@kingsoft-ai/theme").Theme & {
167
+ _useCSSVariables?: boolean;
168
+ };
169
+ }) => string;
170
+ readonly closeButtonBgHover: (props: {
171
+ theme?: import("@kingsoft-ai/theme").Theme & {
172
+ _useCSSVariables?: boolean;
173
+ };
174
+ }) => string;
175
+ readonly closeButtonBorderRadius: (props: {
176
+ theme?: import("@kingsoft-ai/theme").Theme & {
177
+ _useCSSVariables?: boolean;
178
+ };
179
+ }) => string;
180
+ readonly contentColor: (props: {
181
+ theme?: import("@kingsoft-ai/theme").Theme & {
182
+ _useCSSVariables?: boolean;
183
+ };
184
+ }) => string;
185
+ readonly contentFontSize: (props: {
186
+ theme?: import("@kingsoft-ai/theme").Theme & {
187
+ _useCSSVariables?: boolean;
188
+ };
189
+ }) => string;
190
+ readonly contentLineHeight: (props: {
191
+ theme?: import("@kingsoft-ai/theme").Theme & {
192
+ _useCSSVariables?: boolean;
193
+ };
194
+ }) => string;
195
+ readonly contentMaxHeight: (props: {
196
+ theme?: import("@kingsoft-ai/theme").Theme & {
197
+ _useCSSVariables?: boolean;
198
+ };
199
+ }) => string;
200
+ readonly footerBg: (props: {
201
+ theme?: import("@kingsoft-ai/theme").Theme & {
202
+ _useCSSVariables?: boolean;
203
+ };
204
+ }) => string;
205
+ readonly footerBorderTop: (props: {
206
+ theme?: import("@kingsoft-ai/theme").Theme & {
207
+ _useCSSVariables?: boolean;
208
+ };
209
+ }) => string;
210
+ readonly footerMinHeight: (props: {
211
+ theme?: import("@kingsoft-ai/theme").Theme & {
212
+ _useCSSVariables?: boolean;
213
+ };
214
+ }) => string;
215
+ readonly footerGap: (props: {
216
+ theme?: import("@kingsoft-ai/theme").Theme & {
217
+ _useCSSVariables?: boolean;
218
+ };
219
+ }) => string;
220
+ readonly smWidth: (props: {
221
+ theme?: import("@kingsoft-ai/theme").Theme & {
222
+ _useCSSVariables?: boolean;
223
+ };
224
+ }) => string;
225
+ readonly smMaxWidth: (props: {
226
+ theme?: import("@kingsoft-ai/theme").Theme & {
227
+ _useCSSVariables?: boolean;
228
+ };
229
+ }) => string;
230
+ readonly smPadding: (props: {
231
+ theme?: import("@kingsoft-ai/theme").Theme & {
232
+ _useCSSVariables?: boolean;
233
+ };
234
+ }) => string;
235
+ readonly smHeaderPadding: (props: {
236
+ theme?: import("@kingsoft-ai/theme").Theme & {
237
+ _useCSSVariables?: boolean;
238
+ };
239
+ }) => string;
240
+ readonly smFooterPadding: (props: {
241
+ theme?: import("@kingsoft-ai/theme").Theme & {
242
+ _useCSSVariables?: boolean;
243
+ };
244
+ }) => string;
245
+ readonly smTitleFontSize: (props: {
246
+ theme?: import("@kingsoft-ai/theme").Theme & {
247
+ _useCSSVariables?: boolean;
248
+ };
249
+ }) => string;
250
+ readonly mdWidth: (props: {
251
+ theme?: import("@kingsoft-ai/theme").Theme & {
252
+ _useCSSVariables?: boolean;
253
+ };
254
+ }) => string;
255
+ readonly mdMaxWidth: (props: {
256
+ theme?: import("@kingsoft-ai/theme").Theme & {
257
+ _useCSSVariables?: boolean;
258
+ };
259
+ }) => string;
260
+ readonly mdPadding: (props: {
261
+ theme?: import("@kingsoft-ai/theme").Theme & {
262
+ _useCSSVariables?: boolean;
263
+ };
264
+ }) => string;
265
+ readonly mdHeaderPadding: (props: {
266
+ theme?: import("@kingsoft-ai/theme").Theme & {
267
+ _useCSSVariables?: boolean;
268
+ };
269
+ }) => string;
270
+ readonly mdFooterPadding: (props: {
271
+ theme?: import("@kingsoft-ai/theme").Theme & {
272
+ _useCSSVariables?: boolean;
273
+ };
274
+ }) => string;
275
+ readonly mdTitleFontSize: (props: {
276
+ theme?: import("@kingsoft-ai/theme").Theme & {
277
+ _useCSSVariables?: boolean;
278
+ };
279
+ }) => string;
280
+ readonly lgWidth: (props: {
281
+ theme?: import("@kingsoft-ai/theme").Theme & {
282
+ _useCSSVariables?: boolean;
283
+ };
284
+ }) => string;
285
+ readonly lgMaxWidth: (props: {
286
+ theme?: import("@kingsoft-ai/theme").Theme & {
287
+ _useCSSVariables?: boolean;
288
+ };
289
+ }) => string;
290
+ readonly lgPadding: (props: {
291
+ theme?: import("@kingsoft-ai/theme").Theme & {
292
+ _useCSSVariables?: boolean;
293
+ };
294
+ }) => string;
295
+ readonly lgHeaderPadding: (props: {
296
+ theme?: import("@kingsoft-ai/theme").Theme & {
297
+ _useCSSVariables?: boolean;
298
+ };
299
+ }) => string;
300
+ readonly lgFooterPadding: (props: {
301
+ theme?: import("@kingsoft-ai/theme").Theme & {
302
+ _useCSSVariables?: boolean;
303
+ };
304
+ }) => string;
305
+ readonly lgTitleFontSize: (props: {
306
+ theme?: import("@kingsoft-ai/theme").Theme & {
307
+ _useCSSVariables?: boolean;
308
+ };
309
+ }) => string;
310
+ readonly xlWidth: (props: {
311
+ theme?: import("@kingsoft-ai/theme").Theme & {
312
+ _useCSSVariables?: boolean;
313
+ };
314
+ }) => string;
315
+ readonly xlMaxWidth: (props: {
316
+ theme?: import("@kingsoft-ai/theme").Theme & {
317
+ _useCSSVariables?: boolean;
318
+ };
319
+ }) => string;
320
+ readonly xlPadding: (props: {
321
+ theme?: import("@kingsoft-ai/theme").Theme & {
322
+ _useCSSVariables?: boolean;
323
+ };
324
+ }) => string;
325
+ readonly xlHeaderPadding: (props: {
326
+ theme?: import("@kingsoft-ai/theme").Theme & {
327
+ _useCSSVariables?: boolean;
328
+ };
329
+ }) => string;
330
+ readonly xlFooterPadding: (props: {
331
+ theme?: import("@kingsoft-ai/theme").Theme & {
332
+ _useCSSVariables?: boolean;
333
+ };
334
+ }) => string;
335
+ readonly xlTitleFontSize: (props: {
336
+ theme?: import("@kingsoft-ai/theme").Theme & {
337
+ _useCSSVariables?: boolean;
338
+ };
339
+ }) => string;
340
+ readonly fullscreenWidth: (props: {
341
+ theme?: import("@kingsoft-ai/theme").Theme & {
342
+ _useCSSVariables?: boolean;
343
+ };
344
+ }) => string;
345
+ readonly fullscreenMaxWidth: (props: {
346
+ theme?: import("@kingsoft-ai/theme").Theme & {
347
+ _useCSSVariables?: boolean;
348
+ };
349
+ }) => string;
350
+ readonly fullscreenPadding: (props: {
351
+ theme?: import("@kingsoft-ai/theme").Theme & {
352
+ _useCSSVariables?: boolean;
353
+ };
354
+ }) => string;
355
+ readonly fullscreenHeaderPadding: (props: {
356
+ theme?: import("@kingsoft-ai/theme").Theme & {
357
+ _useCSSVariables?: boolean;
358
+ };
359
+ }) => string;
360
+ readonly fullscreenFooterPadding: (props: {
361
+ theme?: import("@kingsoft-ai/theme").Theme & {
362
+ _useCSSVariables?: boolean;
363
+ };
364
+ }) => string;
365
+ readonly fullscreenTitleFontSize: (props: {
366
+ theme?: import("@kingsoft-ai/theme").Theme & {
367
+ _useCSSVariables?: boolean;
368
+ };
369
+ }) => string;
370
+ };