@agentscope-ai/design 1.0.8 → 1.0.9

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 (198) hide show
  1. package/lib/antd/styles/alert.style.d.ts +2 -10
  2. package/lib/antd/styles/alert.style.js +11 -12
  3. package/lib/antd/styles/breadcrumb.style.d.ts +2 -18
  4. package/lib/antd/styles/breadcrumb.style.js +13 -15
  5. package/lib/antd/styles/button.style.d.ts +2 -80
  6. package/lib/antd/styles/button.style.js +63 -47
  7. package/lib/antd/styles/dropdown.style.d.ts +2 -15
  8. package/lib/antd/styles/dropdown.style.js +27 -16
  9. package/lib/antd/styles/floatButton.style.d.ts +2 -8
  10. package/lib/antd/styles/floatButton.style.js +13 -12
  11. package/lib/antd/styles/index.style.d.ts +4 -18
  12. package/lib/antd/styles/index.style.js +52 -53
  13. package/lib/antd/styles/inputNumber.style.d.ts +2 -18
  14. package/lib/antd/styles/inputNumber.style.js +23 -17
  15. package/lib/antd/styles/message.style.d.ts +2 -5
  16. package/lib/antd/styles/message.style.js +9 -10
  17. package/lib/antd/styles/notification.style.d.ts +2 -46
  18. package/lib/antd/styles/notification.style.js +31 -29
  19. package/lib/antd/styles/popover.style.d.ts +2 -13
  20. package/lib/antd/styles/popover.style.js +15 -14
  21. package/lib/antd/styles/radio.style.d.ts +2 -24
  22. package/lib/antd/styles/radio.style.js +29 -18
  23. package/lib/antd/styles/segment.style.d.ts +2 -7
  24. package/lib/antd/styles/segment.style.js +11 -12
  25. package/lib/antd/styles/select.style.d.ts +2 -31
  26. package/lib/antd/styles/select.style.js +51 -28
  27. package/lib/antd/styles/slider.style.d.ts +2 -22
  28. package/lib/antd/styles/slider.style.js +19 -21
  29. package/lib/antd/styles/table.style.d.ts +2 -5
  30. package/lib/antd/styles/table.style.js +7 -10
  31. package/lib/antd/styles/tooltip.style.d.ts +2 -8
  32. package/lib/antd/styles/tooltip.style.js +13 -11
  33. package/lib/antd/themes/bailianTheme.json +1 -1
  34. package/lib/antd/themes/generateThemeByToken.js +1 -1
  35. package/lib/components/commonComponents/AlertDialog/demo/demo1.js +13 -79
  36. package/lib/components/commonComponents/AlertDialog/demo/demo2.js +44 -64
  37. package/lib/components/commonComponents/AlertDialog/index.d.ts +14 -1
  38. package/lib/components/commonComponents/AlertDialog/index.js +25 -17
  39. package/lib/components/commonComponents/AlertDialog/index.style.d.ts +1 -17
  40. package/lib/components/commonComponents/AlertDialog/index.style.js +16 -30
  41. package/lib/components/commonComponents/Anchor/demo/demo1.d.ts +0 -4
  42. package/lib/components/commonComponents/Anchor/demo/demo1.js +3 -4
  43. package/lib/components/commonComponents/Anchor/demo/demo2.d.ts +0 -4
  44. package/lib/components/commonComponents/Anchor/demo/demo2.js +3 -5
  45. package/lib/components/commonComponents/Anchor/index.js +7 -3
  46. package/lib/components/commonComponents/Anchor/index.style.d.ts +1 -14
  47. package/lib/components/commonComponents/Anchor/index.style.js +18 -23
  48. package/lib/components/commonComponents/Avatar/index.js +11 -7
  49. package/lib/components/commonComponents/Avatar/index.style.d.ts +1 -7
  50. package/lib/components/commonComponents/Avatar/index.style.js +6 -21
  51. package/lib/components/commonComponents/Breadcrumb/index.js +9 -6
  52. package/lib/components/commonComponents/Breadcrumb/index.style.d.ts +1 -117
  53. package/lib/components/commonComponents/Breadcrumb/index.style.js +32 -61
  54. package/lib/components/commonComponents/Card/index.js +23 -20
  55. package/lib/components/commonComponents/Card/index.style.d.ts +1 -71
  56. package/lib/components/commonComponents/Card/index.style.js +24 -46
  57. package/lib/components/commonComponents/Checkbox/index.js +13 -10
  58. package/lib/components/commonComponents/Checkbox/index.style.d.ts +1 -34
  59. package/lib/components/commonComponents/Checkbox/index.style.js +50 -38
  60. package/lib/components/commonComponents/CodeBlock/index.js +13 -12
  61. package/lib/components/commonComponents/CodeBlock/index.style.d.ts +1 -354
  62. package/lib/components/commonComponents/CodeBlock/index.style.js +26 -72
  63. package/lib/components/commonComponents/Collapse/index.js +7 -3
  64. package/lib/components/commonComponents/Collapse/index.style.d.ts +1 -57
  65. package/lib/components/commonComponents/Collapse/index.style.js +34 -47
  66. package/lib/components/commonComponents/CollapsePanel/index.d.ts +10 -0
  67. package/lib/components/commonComponents/CollapsePanel/index.js +56 -44
  68. package/lib/components/commonComponents/CollapsePanel/index.style.d.ts +1 -287
  69. package/lib/components/commonComponents/CollapsePanel/index.style.js +42 -97
  70. package/lib/components/commonComponents/ConfigProvider/index.js +11 -8
  71. package/lib/components/commonComponents/DatePicker/index.js +45 -39
  72. package/lib/components/commonComponents/DatePicker/index.style.d.ts +1 -102
  73. package/lib/components/commonComponents/DatePicker/index.style.js +66 -61
  74. package/lib/components/commonComponents/Descriptions/index.js +14 -10
  75. package/lib/components/commonComponents/Descriptions/index.style.d.ts +1 -17
  76. package/lib/components/commonComponents/Descriptions/index.style.js +32 -29
  77. package/lib/components/commonComponents/Drawer/Confirm.d.ts +1 -1
  78. package/lib/components/commonComponents/Drawer/Confirm.js +26 -24
  79. package/lib/components/commonComponents/Drawer/index.js +15 -11
  80. package/lib/components/commonComponents/Drawer/index.style.d.ts +1 -84
  81. package/lib/components/commonComponents/Drawer/index.style.js +44 -54
  82. package/lib/components/commonComponents/Dropdown/index.d.ts +1 -2
  83. package/lib/components/commonComponents/Dropdown/index.js +15 -12
  84. package/lib/components/commonComponents/Dropdown/index.style.d.ts +1 -78
  85. package/lib/components/commonComponents/Dropdown/index.style.js +48 -40
  86. package/lib/components/commonComponents/EllipsisTip/index.js +14 -10
  87. package/lib/components/commonComponents/EllipsisTip/index.style.d.ts +1 -10
  88. package/lib/components/commonComponents/EllipsisTip/index.style.js +6 -24
  89. package/lib/components/commonComponents/Empty/index.js +46 -44
  90. package/lib/components/commonComponents/Empty/index.style.d.ts +1 -113
  91. package/lib/components/commonComponents/Empty/index.style.js +22 -51
  92. package/lib/components/commonComponents/FileIcon/index.js +27 -24
  93. package/lib/components/commonComponents/FileIcon/index.style.d.ts +1 -61
  94. package/lib/components/commonComponents/FileIcon/index.style.js +20 -42
  95. package/lib/components/commonComponents/FloatButton/demo/demo1.js +1 -1
  96. package/lib/components/commonComponents/FloatButton/demo/demo2.js +1 -1
  97. package/lib/components/commonComponents/Form/index.js +6 -5
  98. package/lib/components/commonComponents/Form/index.style.d.ts +1 -53
  99. package/lib/components/commonComponents/Form/index.style.js +26 -38
  100. package/lib/components/commonComponents/HelpIcon/index.js +25 -20
  101. package/lib/components/commonComponents/HelpIcon/index.style.d.ts +1 -16
  102. package/lib/components/commonComponents/HelpIcon/index.style.js +16 -29
  103. package/lib/components/commonComponents/IconButton/index.js +15 -11
  104. package/lib/components/commonComponents/IconButton/index.style.d.ts +1 -11
  105. package/lib/components/commonComponents/IconButton/index.style.js +10 -24
  106. package/lib/components/commonComponents/IconFont/index.d.ts +1 -2
  107. package/lib/components/commonComponents/IconFont/index.js +14 -9
  108. package/lib/components/commonComponents/IconFont/index.style.d.ts +1 -67
  109. package/lib/components/commonComponents/IconFont/index.style.js +14 -44
  110. package/lib/components/commonComponents/Image/index.js +8 -5
  111. package/lib/components/commonComponents/Image/index.style.d.ts +1 -22
  112. package/lib/components/commonComponents/Image/index.style.js +16 -30
  113. package/lib/components/commonComponents/Input/index.js +17 -11
  114. package/lib/components/commonComponents/Input/index.style.d.ts +1 -70
  115. package/lib/components/commonComponents/Input/index.style.js +46 -42
  116. package/lib/components/commonComponents/Modal/index.js +19 -16
  117. package/lib/components/commonComponents/Modal/index.style.d.ts +1 -111
  118. package/lib/components/commonComponents/Modal/index.style.js +54 -72
  119. package/lib/components/commonComponents/Pagination/index.d.ts +1 -1
  120. package/lib/components/commonComponents/Pagination/index.js +36 -31
  121. package/lib/components/commonComponents/Pagination/index.style.d.ts +1 -49
  122. package/lib/components/commonComponents/Pagination/index.style.js +26 -42
  123. package/lib/components/commonComponents/Popconfirm/demo/demo1.js +13 -0
  124. package/lib/components/commonComponents/Popconfirm/demo/demo2.d.ts +3 -0
  125. package/lib/components/commonComponents/Popconfirm/demo/demo2.js +49 -0
  126. package/lib/components/commonComponents/Popconfirm/index.d.ts +9 -2
  127. package/lib/components/commonComponents/Popconfirm/index.js +50 -8
  128. package/lib/components/commonComponents/PromptsEditor/index.js +2 -2
  129. package/lib/components/commonComponents/RadioButton/index.js +9 -10
  130. package/lib/components/commonComponents/RadioButton/index.style.d.ts +1 -72
  131. package/lib/components/commonComponents/RadioButton/index.style.js +52 -63
  132. package/lib/components/commonComponents/Result/index.style.d.ts +1 -3
  133. package/lib/components/commonComponents/Result/index.style.js +4 -16
  134. package/lib/components/commonComponents/Select/demo/demo2.js +0 -1
  135. package/lib/components/commonComponents/SlateEditor/elements/Var.js +11 -8
  136. package/lib/components/commonComponents/SlateEditor/elements/index.style.d.ts +1 -14
  137. package/lib/components/commonComponents/SlateEditor/elements/index.style.js +4 -21
  138. package/lib/components/commonComponents/SlateEditor/index.js +34 -31
  139. package/lib/components/commonComponents/SlateEditor/index.style.d.ts +1 -28
  140. package/lib/components/commonComponents/SlateEditor/index.style.js +4 -36
  141. package/lib/components/commonComponents/Slider/{slider.input.d.ts → Input/index.d.ts} +1 -1
  142. package/lib/components/commonComponents/Slider/Input/index.js +91 -0
  143. package/lib/components/commonComponents/Slider/Input/index.style.d.ts +1 -0
  144. package/lib/components/commonComponents/Slider/Input/index.style.js +22 -0
  145. package/lib/components/commonComponents/Slider/demo/demo4.d.ts +3 -0
  146. package/lib/components/commonComponents/Slider/demo/demo4.js +33 -0
  147. package/lib/components/commonComponents/Slider/demo/demo5.d.ts +3 -0
  148. package/lib/components/commonComponents/Slider/demo/demo5.js +34 -0
  149. package/lib/components/commonComponents/Slider/index.d.ts +2 -2
  150. package/lib/components/commonComponents/Slider/index.js +11 -7
  151. package/lib/components/commonComponents/Slider/index.style.d.ts +1 -7
  152. package/lib/components/commonComponents/Slider/index.style.js +10 -22
  153. package/lib/components/commonComponents/SliderSelector/index.js +38 -35
  154. package/lib/components/commonComponents/SliderSelector/index.style.d.ts +1 -38
  155. package/lib/components/commonComponents/SliderSelector/index.style.js +20 -37
  156. package/lib/components/commonComponents/Spinner/index.d.ts +4 -4
  157. package/lib/components/commonComponents/Spinner/index.js +28 -24
  158. package/lib/components/commonComponents/Spinner/index.style.d.ts +1 -79
  159. package/lib/components/commonComponents/Spinner/index.style.js +30 -61
  160. package/lib/components/commonComponents/Statistic/index.js +7 -3
  161. package/lib/components/commonComponents/Statistic/index.style.d.ts +1 -15
  162. package/lib/components/commonComponents/Statistic/index.style.js +14 -26
  163. package/lib/components/commonComponents/Steps/index.js +10 -6
  164. package/lib/components/commonComponents/Steps/index.style.d.ts +1 -162
  165. package/lib/components/commonComponents/Steps/index.style.js +68 -78
  166. package/lib/components/commonComponents/Switch/index.js +13 -10
  167. package/lib/components/commonComponents/Switch/index.style.d.ts +1 -25
  168. package/lib/components/commonComponents/Switch/index.style.js +22 -33
  169. package/lib/components/commonComponents/Table/index.js +10 -6
  170. package/lib/components/commonComponents/Table/index.style.d.ts +1 -52
  171. package/lib/components/commonComponents/Table/index.style.js +18 -32
  172. package/lib/components/commonComponents/Tabs/index.js +35 -29
  173. package/lib/components/commonComponents/Tabs/index.style.d.ts +1 -55
  174. package/lib/components/commonComponents/Tabs/index.style.js +38 -44
  175. package/lib/components/commonComponents/Tag/index.js +13 -9
  176. package/lib/components/commonComponents/Tag/index.style.d.ts +1 -56
  177. package/lib/components/commonComponents/Tag/index.style.js +54 -58
  178. package/lib/components/commonComponents/TimePicker/index.js +36 -30
  179. package/lib/components/commonComponents/TimePicker/index.style.d.ts +1 -71
  180. package/lib/components/commonComponents/TimePicker/index.style.js +54 -50
  181. package/lib/components/commonComponents/Tooltip/index.js +14 -10
  182. package/lib/components/commonComponents/Tooltip/index.style.d.ts +1 -24
  183. package/lib/components/commonComponents/Tooltip/index.style.js +26 -32
  184. package/lib/components/commonComponents/Upload/index.js +15 -9
  185. package/lib/components/commonComponents/Upload/index.style.d.ts +1 -125
  186. package/lib/components/commonComponents/Upload/index.style.js +80 -90
  187. package/lib/index.d.ts +3 -3
  188. package/lib/index.js +2 -2
  189. package/lib/libs/env/index.js +1 -1
  190. package/lib/libs/newCreateStyle/index.d.ts +7 -0
  191. package/lib/libs/newCreateStyle/index.js +26 -0
  192. package/llms/index.llms.txt +43 -43
  193. package/package.json +3 -3
  194. package/lib/components/commonComponents/Popconfirm/demo/demo.js +0 -155
  195. package/lib/components/commonComponents/Slider/slider.input.js +0 -76
  196. package/lib/components/commonComponents/spark.style.d.ts +0 -45
  197. package/lib/components/commonComponents/spark.style.js +0 -62
  198. /package/lib/components/commonComponents/Popconfirm/demo/{demo.d.ts → demo1.d.ts} +0 -0
@@ -1,10 +1,2 @@
1
- export declare function getAlertStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- fontSize: number;
5
- ".anticon-close": {
6
- color: string;
7
- };
8
- };
9
- };
10
- };
1
+ export declare const useAlertStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useAlertStyle;
@@ -1,12 +1,11 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
- export function getAlertStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-alert"), _defineProperty({}, ".".concat(antPrefix, "-alert-close-icon"), _defineProperty({
8
- fontSize: 16
9
- }, '.anticon-close', {
10
- color: "var(--".concat(antPrefix, "-color-text)")
11
- })));
12
- }
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import createGlobalStyle from "../../libs/newCreateStyle";
4
+ export var useAlertStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-alert {\n .", "-alert-close-icon {\n font-size: 16px;\n \n .anticon-close {\n color: var(--", "-color-text);\n }\n }\n}\n"])), function (p) {
5
+ return p.antPrefix;
6
+ }, function (p) {
7
+ return p.antPrefix;
8
+ }, function (p) {
9
+ return p.antPrefix;
10
+ });
11
+ export default useAlertStyle;
@@ -1,18 +1,2 @@
1
- export declare function getBreadcrumbStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- fontSize: string;
5
- fontWeight: number;
6
- lineHeight: string;
7
- color: string;
8
- } | {
9
- color: string;
10
- fontSize?: undefined;
11
- fontWeight?: undefined;
12
- lineHeight?: undefined;
13
- };
14
- 'li:last-child': {
15
- color: string;
16
- };
17
- };
18
- };
1
+ export declare const useBreadcrumbStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useBreadcrumbStyle;
@@ -1,15 +1,13 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
- export function getBreadcrumbStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-breadcrumb"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-breadcrumb-link"), {
8
- fontSize: '14px',
9
- fontWeight: 500,
10
- lineHeight: '24px',
11
- color: "var(--".concat(antPrefix, "-color-text-secondary)")
12
- }), 'li:last-child', {
13
- color: "var(--".concat(antPrefix, "-color-text)")
14
- }));
15
- }
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import createGlobalStyle from "../../libs/newCreateStyle";
4
+ export var useBreadcrumbStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-breadcrumb {\n .", "-breadcrumb-link {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n color: var(--", "-color-text-secondary);\n }\n \n li:last-child {\n color: var(--", "-color-text);\n }\n}\n"])), function (p) {
5
+ return p.antPrefix;
6
+ }, function (p) {
7
+ return p.antPrefix;
8
+ }, function (p) {
9
+ return p.antPrefix;
10
+ }, function (p) {
11
+ return p.antPrefix;
12
+ });
13
+ export default useBreadcrumbStyle;
@@ -1,80 +1,2 @@
1
- export declare function getButtonStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: string | number | {
4
- fontSize: string;
5
- paddingInline?: undefined;
6
- "svg[data-spark-icon]"?: undefined;
7
- } | {
8
- paddingInline: string;
9
- "svg[data-spark-icon]": {
10
- fontSize: string;
11
- };
12
- fontSize?: undefined;
13
- } | {
14
- "svg[data-spark-icon]": {
15
- fontSize: string;
16
- };
17
- fontSize?: undefined;
18
- paddingInline?: undefined;
19
- };
20
- fontWeight: number;
21
- paddingInline: string;
22
- "svg[data-spark-icon]": {
23
- fontSize: string;
24
- };
25
- borderColor?: undefined;
26
- color?: undefined;
27
- backgroundColor?: undefined;
28
- '&:hover'?: undefined;
29
- background?: undefined;
30
- } | {
31
- borderColor: string;
32
- fontWeight?: undefined;
33
- paddingInline?: undefined;
34
- "svg[data-spark-icon]"?: undefined;
35
- color?: undefined;
36
- backgroundColor?: undefined;
37
- '&:hover'?: undefined;
38
- background?: undefined;
39
- } | {
40
- color: string;
41
- fontWeight?: undefined;
42
- paddingInline?: undefined;
43
- "svg[data-spark-icon]"?: undefined;
44
- borderColor?: undefined;
45
- backgroundColor?: undefined;
46
- '&:hover'?: undefined;
47
- background?: undefined;
48
- } | {
49
- borderColor: string;
50
- backgroundColor: string;
51
- color: string;
52
- '&:hover': {
53
- backgroundColor: string;
54
- borderColor: string;
55
- color: string;
56
- };
57
- fontWeight?: undefined;
58
- paddingInline?: undefined;
59
- "svg[data-spark-icon]"?: undefined;
60
- background?: undefined;
61
- } | {
62
- borderColor: string;
63
- backgroundColor: string;
64
- color: string;
65
- fontWeight?: undefined;
66
- paddingInline?: undefined;
67
- "svg[data-spark-icon]"?: undefined;
68
- '&:hover'?: undefined;
69
- background?: undefined;
70
- } | {
71
- background: string;
72
- color: string;
73
- borderColor: string;
74
- fontWeight?: undefined;
75
- paddingInline?: undefined;
76
- "svg[data-spark-icon]"?: undefined;
77
- backgroundColor?: undefined;
78
- '&:hover'?: undefined;
79
- };
80
- };
1
+ export declare const useButtonStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useButtonStyle;
@@ -1,47 +1,63 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
- export function getButtonStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".spark-button.".concat(antPrefix, "-btn"), _defineProperty(_defineProperty(_defineProperty({
8
- fontWeight: 500,
9
- paddingInline: '11px'
10
- }, "svg[data-spark-icon]", {
11
- // @agentscope-ai/icons的特殊逻辑
12
- fontSize: '20px'
13
- }), "&.".concat(antPrefix, "-btn-sm"), _defineProperty({
14
- paddingInline: '7px'
15
- }, "svg[data-spark-icon]", {
16
- // @agentscope-ai/icons的特殊逻辑
17
- fontSize: '16px'
18
- })), "&.".concat(antPrefix, "-btn-lg"), _defineProperty({}, "svg[data-spark-icon]", {
19
- // @agentscope-ai/icons的特殊逻辑
20
- fontSize: '24px'
21
- }))), ".".concat(antPrefix, "-btn-default"), {
22
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
23
- }), ".".concat(antPrefix, "-btn-textCompact:hover"), {
24
- color: "var(--".concat(antPrefix, "-color-text-tertiary) !important")
25
- }), ".".concat(antPrefix, "-btn.").concat(antPrefix, "-btn-default.").concat(antPrefix, "-btn-dangerous:not(:disabled):not(.").concat(antPrefix, "-btn-disabled)"), {
26
- borderColor: 'transparent',
27
- backgroundColor: "var(--".concat(antPrefix, "-color-error-bg)"),
28
- color: "var(--".concat(antPrefix, "-color-error)"),
29
- '&:hover': {
30
- backgroundColor: "var(--".concat(antPrefix, "-color-error-bg-hover)"),
31
- borderColor: 'transparent',
32
- color: "var(--".concat(antPrefix, "-color-error-hover)")
33
- }
34
- }), ".".concat(antPrefix, "-btn-color-dangerous.").concat(antPrefix, "-btn-variant-solid:disabled, .").concat(antPrefix, "-btn-color-dangerous.").concat(antPrefix, "-btn-variant-solid.").concat(antPrefix, "-btn-disabled"), {
35
- borderColor: 'transparent',
36
- backgroundColor: "var(--".concat(antPrefix, "-color-fill-disable)"),
37
- color: "var(--".concat(antPrefix, "-color-text-white)")
38
- }), ".".concat(antPrefix, "-btn-primary:disabled"), {
39
- background: "var(--".concat(antPrefix, "-color-fill-disable)"),
40
- color: "var(--".concat(antPrefix, "-color-text-white)"),
41
- borderColor: 'transparent'
42
- }), ".".concat(antPrefix, "-btn-default:disabled"), {
43
- background: "var(--".concat(antPrefix, "-color-bg-base)"),
44
- color: "var(--".concat(antPrefix, "-color-text-tertiary)"),
45
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
46
- });
47
- }
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import createGlobalStyle from "../../libs/newCreateStyle";
4
+ export var useButtonStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n/* \u53D6\u6D88\u6240\u6709button\u7684boxShadow */\nbutton[type=\"button\"].", "-btn {\n font-weight: 500;\n padding-inline: 11px;\n \n span[data-spark-icon] {\n /* @agentscope-ai/icons\u7684\u7279\u6B8A\u903B\u8F91 */\n font-size: 20px;\n }\n \n &.", "-btn-sm {\n padding-inline: 7px;\n \n span[data-spark-icon] {\n /* @agentscope-ai/icons\u7684\u7279\u6B8A\u903B\u8F91 */\n font-size: 16px;\n }\n }\n \n &.", "-btn-lg {\n span[data-spark-icon] {\n /* @agentscope-ai/icons\u7684\u7279\u6B8A\u903B\u8F91 */\n font-size: 24px;\n }\n }\n}\n\n.", "-btn-default {\n border-color: var(--", "-color-border-secondary);\n}\n\n.", "-btn-textCompact:hover {\n color: var(--", "-color-text-tertiary) !important;\n}\n\n.", "-btn.", "-btn-default.", "-btn-dangerous:not(:disabled):not(.", "-btn-disabled) {\n border-color: transparent;\n background-color: var(--", "-color-error-bg);\n color: var(--", "-color-error);\n \n &:hover {\n background-color: var(--", "-color-error-bg-hover);\n border-color: transparent;\n color: var(--", "-color-error-hover);\n }\n}\n\n.", "-btn-color-dangerous.", "-btn-variant-solid:disabled,\n.", "-btn-color-dangerous.", "-btn-variant-solid.", "-btn-disabled {\n border-color: transparent;\n background-color: var(--", "-color-fill-disable);\n color: var(--", "-color-text-white);\n}\n\n.", "-btn-primary:disabled {\n background: var(--", "-color-fill-disable);\n color: var(--", "-color-text-white);\n border-color: transparent;\n}\n\n.", "-btn-default:disabled {\n background: var(--", "-color-bg-base);\n color: var(--", "-color-text-tertiary);\n border-color: var(--", "-color-border-secondary);\n}\n"])), function (p) {
5
+ return p.antPrefix;
6
+ }, function (p) {
7
+ return p.antPrefix;
8
+ }, function (p) {
9
+ return p.antPrefix;
10
+ }, function (p) {
11
+ return p.antPrefix;
12
+ }, function (p) {
13
+ return p.antPrefix;
14
+ }, function (p) {
15
+ return p.antPrefix;
16
+ }, function (p) {
17
+ return p.antPrefix;
18
+ }, function (p) {
19
+ return p.antPrefix;
20
+ }, function (p) {
21
+ return p.antPrefix;
22
+ }, function (p) {
23
+ return p.antPrefix;
24
+ }, function (p) {
25
+ return p.antPrefix;
26
+ }, function (p) {
27
+ return p.antPrefix;
28
+ }, function (p) {
29
+ return p.antPrefix;
30
+ }, function (p) {
31
+ return p.antPrefix;
32
+ }, function (p) {
33
+ return p.antPrefix;
34
+ }, function (p) {
35
+ return p.antPrefix;
36
+ }, function (p) {
37
+ return p.antPrefix;
38
+ }, function (p) {
39
+ return p.antPrefix;
40
+ }, function (p) {
41
+ return p.antPrefix;
42
+ }, function (p) {
43
+ return p.antPrefix;
44
+ }, function (p) {
45
+ return p.antPrefix;
46
+ }, function (p) {
47
+ return p.antPrefix;
48
+ }, function (p) {
49
+ return p.antPrefix;
50
+ }, function (p) {
51
+ return p.antPrefix;
52
+ }, function (p) {
53
+ return p.antPrefix;
54
+ }, function (p) {
55
+ return p.antPrefix;
56
+ }, function (p) {
57
+ return p.antPrefix;
58
+ }, function (p) {
59
+ return p.antPrefix;
60
+ }, function (p) {
61
+ return p.antPrefix;
62
+ });
63
+ export default useButtonStyle;
@@ -1,15 +1,2 @@
1
- export declare function getDropdownStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: string | {
4
- color: string;
5
- backgroundColor: string;
6
- textAlign?: undefined;
7
- } | {
8
- textAlign: string;
9
- color?: undefined;
10
- backgroundColor?: undefined;
11
- };
12
- boxShadow: string;
13
- border: string;
14
- };
15
- };
1
+ export declare const useDropdownStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useDropdownStyle;
@@ -1,16 +1,27 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
- export function getDropdownStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-dropdown .").concat(antPrefix, "-dropdown-menu"), _defineProperty(_defineProperty({
8
- boxShadow: "var(--".concat(antPrefix, "-box-shadow)"),
9
- border: "1px solid var(--".concat(antPrefix, "-color-border-secondary)")
10
- }, ".".concat(antPrefix, "-dropdown-menu-item.").concat(antPrefix, "-dropdown-menu-item-active.").concat(antPrefix, "-dropdown-menu-item-danger:not(.").concat(antPrefix, "-dropdown-menu-item-disabled)"), {
11
- color: "var(--".concat(antPrefix, "-color-error)"),
12
- backgroundColor: "var(--".concat(antPrefix, "-color-error-bg-hover)")
13
- }), ".".concat(antPrefix, "-dropdown-menu-title-content"), {
14
- textAlign: 'left'
15
- }));
16
- }
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import createGlobalStyle from "../../libs/newCreateStyle";
4
+ export var useDropdownStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-dropdown .", "-dropdown-menu {\n box-shadow: var(--", "-box-shadow);\n border: 1px solid var(--", "-color-border-secondary);\n \n .", "-dropdown-menu-item.", "-dropdown-menu-item-active.", "-dropdown-menu-item-danger:not(.", "-dropdown-menu-item-disabled) {\n color: var(--", "-color-error);\n background-color: var(--", "-color-error-bg-hover);\n }\n \n .", "-dropdown-menu-title-content {\n text-align: left;\n }\n}\n"])), function (p) {
5
+ return p.antPrefix;
6
+ }, function (p) {
7
+ return p.antPrefix;
8
+ }, function (p) {
9
+ return p.antPrefix;
10
+ }, function (p) {
11
+ return p.antPrefix;
12
+ }, function (p) {
13
+ return p.antPrefix;
14
+ }, function (p) {
15
+ return p.antPrefix;
16
+ }, function (p) {
17
+ return p.antPrefix;
18
+ }, function (p) {
19
+ return p.antPrefix;
20
+ }, function (p) {
21
+ return p.antPrefix;
22
+ }, function (p) {
23
+ return p.antPrefix;
24
+ }, function (p) {
25
+ return p.antPrefix;
26
+ });
27
+ export default useDropdownStyle;
@@ -1,8 +1,2 @@
1
- export declare function getFloatButtonStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: string | {
4
- border: string;
5
- };
6
- boxShadow: string;
7
- };
8
- };
1
+ export declare const useFloatButtonStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useFloatButtonStyle;
@@ -1,12 +1,13 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
- export function getFloatButtonStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-float-btn"), _defineProperty({
8
- boxShadow: "var(--".concat(antPrefix, "-box-shadow)")
9
- }, "&.".concat(antPrefix, "-float-btn-default"), {
10
- border: "1px solid var(--".concat(antPrefix, "-color-border-secondary)")
11
- }));
12
- }
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import createGlobalStyle from "../../libs/newCreateStyle";
4
+ export var useFloatButtonStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n/* \u53D6\u6D88\u6240\u6709button\u7684boxShadow */\n.", "-float-btn {\n box-shadow: var(--", "-box-shadow);\n \n &.", "-float-btn-default {\n border: 1px solid var(--", "-color-border-secondary);\n }\n}\n"])), function (p) {
5
+ return p.antPrefix;
6
+ }, function (p) {
7
+ return p.antPrefix;
8
+ }, function (p) {
9
+ return p.antPrefix;
10
+ }, function (p) {
11
+ return p.antPrefix;
12
+ });
13
+ export default useFloatButtonStyle;
@@ -1,19 +1,5 @@
1
- export declare function getIndexStyleData(params: any): {
2
- '@keyframes fadeInUp': {
3
- '0%': {
4
- opacity: number;
5
- transform: string;
6
- };
7
- '100%': {
8
- opacity: number;
9
- transform: string;
10
- };
11
- };
12
- '.animate-in': {
13
- opacity: number;
14
- transform: string;
15
- animation: string;
16
- };
17
- };
18
- declare const useIndexStyle: (props?: {}) => import("../../config").CommonConfig;
1
+ import React from 'react';
2
+ export declare const useIndexStyle: () => () => React.FunctionComponentElement<{
3
+ children?: React.ReactNode;
4
+ }>;
19
5
  export default useIndexStyle;
@@ -1,54 +1,53 @@
1
- var _excluded = ["css"];
2
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
- import createStyle from "../../libs/createStyle";
11
- import { getAlertStyleData } from "./alert.style";
12
- import { getBreadcrumbStyleData } from "./breadcrumb.style";
13
- import { getButtonStyleData } from "./button.style";
14
- import { getDropdownStyleData } from "./dropdown.style";
15
- import { getFloatButtonStyleData } from "./floatButton.style";
16
- import { getInputNumberStyleData } from "./inputNumber.style";
17
- import { getMessageStyleData } from "./message.style";
18
- import { getNotificationStyleData } from "./notification.style";
19
- import { getPopoverStyleData } from "./popover.style";
20
- import { getRadioStyleData } from "./radio.style";
21
- import { getSegmentStyleData } from "./segment.style";
22
- import { getSelectStyleData } from "./select.style";
23
- import { getSliderStyleData } from "./slider.style";
24
- import { getTableStyleData } from "./table.style";
25
- import { getTooltipStyleData } from "./tooltip.style";
26
- export function getIndexStyleData(params) {
27
- // const { antPrefix = 'bl-ant', blPrefix = 'bl' } = params;
28
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
29
- // 定义动画关键帧
30
- '@keyframes fadeInUp': {
31
- '0%': {
32
- opacity: 0,
33
- transform: 'translateY(32px)'
34
- },
35
- '100%': {
36
- opacity: 1,
37
- transform: 'translateY(0)'
38
- }
39
- },
40
- // animate-in 动画类
41
- '.animate-in': {
42
- opacity: 0,
43
- transform: 'translateY(32px)',
44
- animation: 'fadeInUp 0.4s ease forwards'
45
- }
46
- }, getSliderStyleData(params)), getPopoverStyleData(params)), getSelectStyleData(params)), getButtonStyleData(params)), getDropdownStyleData(params)), getTooltipStyleData(params)), getMessageStyleData(params)), getSegmentStyleData(params)), getNotificationStyleData(params)), getTableStyleData(params)), getRadioStyleData(params)), getBreadcrumbStyleData(params)), getFloatButtonStyleData(params)), getAlertStyleData(params)), getInputNumberStyleData(params));
47
- }
48
- var useIndexStyle = createStyle(function (_ref) {
49
- var css = _ref.css,
50
- params = _objectWithoutProperties(_ref, _excluded);
51
- var result = css(getIndexStyleData(params));
52
- return result;
53
- });
1
+ var _templateObject;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
+ import createGlobalStyle from "../../libs/newCreateStyle";
4
+ import React from 'react';
5
+
6
+ // 导入各个组件的样式
7
+ import { useAlertStyle } from "./alert.style";
8
+ import { useBreadcrumbStyle } from "./breadcrumb.style";
9
+ import { useButtonStyle } from "./button.style";
10
+ import { useDropdownStyle } from "./dropdown.style";
11
+ import { useFloatButtonStyle } from "./floatButton.style";
12
+ import { useInputNumberStyle } from "./inputNumber.style";
13
+ import { useMessageStyle } from "./message.style";
14
+ import { useNotificationStyle } from "./notification.style";
15
+ import { usePopoverStyle } from "./popover.style";
16
+ import { useRadioStyle } from "./radio.style";
17
+ import { useSegmentStyle } from "./segment.style";
18
+ import { useSelectStyle } from "./select.style";
19
+ import { useSliderStyle } from "./slider.style";
20
+ import { useTableStyle } from "./table.style";
21
+ import { useTooltipStyle } from "./tooltip.style";
22
+
23
+ // 基础动画样式
24
+ var useBaseStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* \u5B9A\u4E49\u52A8\u753B\u5173\u952E\u5E27 */\n @keyframes fadeInUp {\n 0% {\n opacity: 0;\n transform: translateY(32px);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n /* animate-in \u52A8\u753B\u7C7B */\n .animate-in {\n opacity: 0;\n transform: translateY(32px);\n animation: fadeInUp 0.4s ease forwards;\n }\n"])));
25
+
26
+ // 组合所有样式的 Hook
27
+ export var useIndexStyle = function useIndexStyle() {
28
+ // 获取所有组件样式
29
+ var BaseStyle = useBaseStyle();
30
+ var AlertStyle = useAlertStyle();
31
+ var BreadcrumbStyle = useBreadcrumbStyle();
32
+ var ButtonStyle = useButtonStyle();
33
+ var DropdownStyle = useDropdownStyle();
34
+ var FloatButtonStyle = useFloatButtonStyle();
35
+ var InputNumberStyle = useInputNumberStyle();
36
+ var MessageStyle = useMessageStyle();
37
+ var NotificationStyle = useNotificationStyle();
38
+ var PopoverStyle = usePopoverStyle();
39
+ var RadioStyle = useRadioStyle();
40
+ var SegmentStyle = useSegmentStyle();
41
+ var SelectStyle = useSelectStyle();
42
+ var SliderStyle = useSliderStyle();
43
+ var TableStyle = useTableStyle();
44
+ var TooltipStyle = useTooltipStyle();
45
+
46
+ // 返回组合组件
47
+ return function IndexStyleComponent() {
48
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(BaseStyle), /*#__PURE__*/React.createElement(AlertStyle), /*#__PURE__*/React.createElement(BreadcrumbStyle), /*#__PURE__*/React.createElement(ButtonStyle), /*#__PURE__*/React.createElement(DropdownStyle), /*#__PURE__*/React.createElement(FloatButtonStyle), /*#__PURE__*/React.createElement(InputNumberStyle), /*#__PURE__*/React.createElement(MessageStyle), /*#__PURE__*/React.createElement(NotificationStyle), /*#__PURE__*/React.createElement(PopoverStyle), /*#__PURE__*/React.createElement(RadioStyle), /*#__PURE__*/React.createElement(SegmentStyle), /*#__PURE__*/React.createElement(SelectStyle), /*#__PURE__*/React.createElement(SliderStyle), /*#__PURE__*/React.createElement(TableStyle), /*#__PURE__*/React.createElement(TooltipStyle));
49
+ };
50
+ };
51
+
52
+ // 默认导出
54
53
  export default useIndexStyle;
@@ -1,18 +1,2 @@
1
- export declare function getInputNumberStyleData(params: any): {
2
- [x: string]: {
3
- backgroundColor: string;
4
- borderColor?: undefined;
5
- fontSize?: undefined;
6
- height?: undefined;
7
- } | {
8
- borderColor: string;
9
- backgroundColor?: undefined;
10
- fontSize?: undefined;
11
- height?: undefined;
12
- } | {
13
- fontSize: string;
14
- height: string;
15
- backgroundColor?: undefined;
16
- borderColor?: undefined;
17
- };
18
- };
1
+ export declare const useInputNumberStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useInputNumberStyle;