@agentscope-ai/design 1.0.7 → 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 (211) 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/_readme.txt +1 -0
  34. package/lib/antd/themes/bailianTheme.json +1 -1
  35. package/lib/antd/themes/generateThemeByToken.d.ts +1 -1
  36. package/lib/antd/themes/generateThemeByToken.js +1 -1
  37. package/lib/components/commonComponents/AlertDialog/demo/demo1.js +13 -79
  38. package/lib/components/commonComponents/AlertDialog/demo/demo2.js +44 -64
  39. package/lib/components/commonComponents/AlertDialog/index.d.ts +14 -1
  40. package/lib/components/commonComponents/AlertDialog/index.js +25 -17
  41. package/lib/components/commonComponents/AlertDialog/index.style.d.ts +1 -17
  42. package/lib/components/commonComponents/AlertDialog/index.style.js +16 -30
  43. package/lib/components/commonComponents/Anchor/demo/demo1.d.ts +0 -4
  44. package/lib/components/commonComponents/Anchor/demo/demo1.js +3 -4
  45. package/lib/components/commonComponents/Anchor/demo/demo2.d.ts +0 -4
  46. package/lib/components/commonComponents/Anchor/demo/demo2.js +3 -5
  47. package/lib/components/commonComponents/Anchor/index.js +7 -3
  48. package/lib/components/commonComponents/Anchor/index.style.d.ts +1 -14
  49. package/lib/components/commonComponents/Anchor/index.style.js +18 -23
  50. package/lib/components/commonComponents/Avatar/index.js +11 -7
  51. package/lib/components/commonComponents/Avatar/index.style.d.ts +1 -7
  52. package/lib/components/commonComponents/Avatar/index.style.js +6 -21
  53. package/lib/components/commonComponents/Breadcrumb/index.js +10 -7
  54. package/lib/components/commonComponents/Breadcrumb/index.style.d.ts +1 -107
  55. package/lib/components/commonComponents/Breadcrumb/index.style.js +32 -60
  56. package/lib/components/commonComponents/Button/index.js +27 -5
  57. package/lib/components/commonComponents/Card/index.js +23 -20
  58. package/lib/components/commonComponents/Card/index.style.d.ts +1 -71
  59. package/lib/components/commonComponents/Card/index.style.js +24 -46
  60. package/lib/components/commonComponents/Checkbox/index.js +13 -10
  61. package/lib/components/commonComponents/Checkbox/index.style.d.ts +1 -34
  62. package/lib/components/commonComponents/Checkbox/index.style.js +50 -38
  63. package/lib/components/commonComponents/CodeBlock/index.js +16 -13
  64. package/lib/components/commonComponents/CodeBlock/index.style.d.ts +1 -354
  65. package/lib/components/commonComponents/CodeBlock/index.style.js +26 -72
  66. package/lib/components/commonComponents/Collapse/index.js +7 -3
  67. package/lib/components/commonComponents/Collapse/index.style.d.ts +1 -57
  68. package/lib/components/commonComponents/Collapse/index.style.js +34 -47
  69. package/lib/components/commonComponents/CollapsePanel/index.d.ts +10 -0
  70. package/lib/components/commonComponents/CollapsePanel/index.js +56 -44
  71. package/lib/components/commonComponents/CollapsePanel/index.style.d.ts +1 -287
  72. package/lib/components/commonComponents/CollapsePanel/index.style.js +42 -97
  73. package/lib/components/commonComponents/ConfigProvider/index.js +11 -8
  74. package/lib/components/commonComponents/DatePicker/index.js +45 -39
  75. package/lib/components/commonComponents/DatePicker/index.style.d.ts +1 -102
  76. package/lib/components/commonComponents/DatePicker/index.style.js +66 -61
  77. package/lib/components/commonComponents/Descriptions/index.js +14 -10
  78. package/lib/components/commonComponents/Descriptions/index.style.d.ts +1 -17
  79. package/lib/components/commonComponents/Descriptions/index.style.js +32 -29
  80. package/lib/components/commonComponents/Drawer/Confirm.d.ts +1 -1
  81. package/lib/components/commonComponents/Drawer/Confirm.js +26 -24
  82. package/lib/components/commonComponents/Drawer/index.js +15 -11
  83. package/lib/components/commonComponents/Drawer/index.style.d.ts +1 -84
  84. package/lib/components/commonComponents/Drawer/index.style.js +44 -54
  85. package/lib/components/commonComponents/Dropdown/index.d.ts +1 -2
  86. package/lib/components/commonComponents/Dropdown/index.js +15 -12
  87. package/lib/components/commonComponents/Dropdown/index.style.d.ts +1 -78
  88. package/lib/components/commonComponents/Dropdown/index.style.js +48 -40
  89. package/lib/components/commonComponents/EllipsisTip/index.js +14 -10
  90. package/lib/components/commonComponents/EllipsisTip/index.style.d.ts +1 -10
  91. package/lib/components/commonComponents/EllipsisTip/index.style.js +6 -24
  92. package/lib/components/commonComponents/Empty/index.js +46 -44
  93. package/lib/components/commonComponents/Empty/index.style.d.ts +1 -113
  94. package/lib/components/commonComponents/Empty/index.style.js +22 -51
  95. package/lib/components/commonComponents/Empty/svg/Illustrate.js +2 -2
  96. package/lib/components/commonComponents/FileIcon/index.js +27 -24
  97. package/lib/components/commonComponents/FileIcon/index.style.d.ts +1 -61
  98. package/lib/components/commonComponents/FileIcon/index.style.js +20 -42
  99. package/lib/components/commonComponents/FloatButton/demo/demo1.js +1 -1
  100. package/lib/components/commonComponents/FloatButton/demo/demo2.js +1 -1
  101. package/lib/components/commonComponents/Form/index.js +6 -5
  102. package/lib/components/commonComponents/Form/index.style.d.ts +1 -53
  103. package/lib/components/commonComponents/Form/index.style.js +26 -38
  104. package/lib/components/commonComponents/HelpIcon/index.js +25 -20
  105. package/lib/components/commonComponents/HelpIcon/index.style.d.ts +1 -16
  106. package/lib/components/commonComponents/HelpIcon/index.style.js +16 -29
  107. package/lib/components/commonComponents/IconButton/index.js +15 -11
  108. package/lib/components/commonComponents/IconButton/index.style.d.ts +1 -11
  109. package/lib/components/commonComponents/IconButton/index.style.js +10 -24
  110. package/lib/components/commonComponents/IconFont/index.d.ts +1 -2
  111. package/lib/components/commonComponents/IconFont/index.js +14 -9
  112. package/lib/components/commonComponents/IconFont/index.style.d.ts +1 -67
  113. package/lib/components/commonComponents/IconFont/index.style.js +14 -44
  114. package/lib/components/commonComponents/Image/index.js +8 -5
  115. package/lib/components/commonComponents/Image/index.style.d.ts +1 -22
  116. package/lib/components/commonComponents/Image/index.style.js +16 -30
  117. package/lib/components/commonComponents/Input/index.js +17 -11
  118. package/lib/components/commonComponents/Input/index.style.d.ts +1 -70
  119. package/lib/components/commonComponents/Input/index.style.js +46 -42
  120. package/lib/components/commonComponents/Modal/index.js +19 -16
  121. package/lib/components/commonComponents/Modal/index.style.d.ts +1 -111
  122. package/lib/components/commonComponents/Modal/index.style.js +54 -72
  123. package/lib/components/commonComponents/Pagination/index.d.ts +1 -1
  124. package/lib/components/commonComponents/Pagination/index.js +36 -31
  125. package/lib/components/commonComponents/Pagination/index.style.d.ts +1 -49
  126. package/lib/components/commonComponents/Pagination/index.style.js +26 -42
  127. package/lib/components/commonComponents/Popconfirm/demo/demo1.js +13 -0
  128. package/lib/components/commonComponents/Popconfirm/demo/demo2.d.ts +3 -0
  129. package/lib/components/commonComponents/Popconfirm/demo/demo2.js +49 -0
  130. package/lib/components/commonComponents/Popconfirm/index.d.ts +9 -2
  131. package/lib/components/commonComponents/Popconfirm/index.js +50 -8
  132. package/lib/components/commonComponents/PromptsEditor/VarRender.d.ts +6 -0
  133. package/lib/components/commonComponents/PromptsEditor/VarRender.js +84 -0
  134. package/lib/components/commonComponents/PromptsEditor/VarSelectInput.d.ts +6 -0
  135. package/lib/components/commonComponents/PromptsEditor/VarSelectInput.js +60 -0
  136. package/lib/components/commonComponents/PromptsEditor/demo/basic.d.ts +1 -0
  137. package/lib/components/commonComponents/PromptsEditor/demo/basic.js +30 -0
  138. package/lib/components/commonComponents/PromptsEditor/index.d.ts +42 -0
  139. package/lib/components/commonComponents/PromptsEditor/index.js +134 -0
  140. package/lib/components/commonComponents/RadioButton/index.js +9 -10
  141. package/lib/components/commonComponents/RadioButton/index.style.d.ts +1 -72
  142. package/lib/components/commonComponents/RadioButton/index.style.js +52 -63
  143. package/lib/components/commonComponents/Result/index.style.d.ts +1 -3
  144. package/lib/components/commonComponents/Result/index.style.js +4 -16
  145. package/lib/components/commonComponents/Select/demo/demo2.js +0 -1
  146. package/lib/components/commonComponents/SlateEditor/elements/Var.js +11 -8
  147. package/lib/components/commonComponents/SlateEditor/elements/index.style.d.ts +1 -14
  148. package/lib/components/commonComponents/SlateEditor/elements/index.style.js +4 -21
  149. package/lib/components/commonComponents/SlateEditor/index.js +34 -31
  150. package/lib/components/commonComponents/SlateEditor/index.style.d.ts +1 -28
  151. package/lib/components/commonComponents/SlateEditor/index.style.js +4 -36
  152. package/lib/components/commonComponents/Slider/{slider.input.d.ts → Input/index.d.ts} +1 -1
  153. package/lib/components/commonComponents/Slider/Input/index.js +91 -0
  154. package/lib/components/commonComponents/Slider/Input/index.style.d.ts +1 -0
  155. package/lib/components/commonComponents/Slider/Input/index.style.js +22 -0
  156. package/lib/components/commonComponents/Slider/demo/demo4.d.ts +3 -0
  157. package/lib/components/commonComponents/Slider/demo/demo4.js +33 -0
  158. package/lib/components/commonComponents/Slider/demo/demo5.d.ts +3 -0
  159. package/lib/components/commonComponents/Slider/demo/demo5.js +34 -0
  160. package/lib/components/commonComponents/Slider/index.d.ts +2 -2
  161. package/lib/components/commonComponents/Slider/index.js +11 -7
  162. package/lib/components/commonComponents/Slider/index.style.d.ts +1 -7
  163. package/lib/components/commonComponents/Slider/index.style.js +10 -22
  164. package/lib/components/commonComponents/SliderSelector/index.js +38 -35
  165. package/lib/components/commonComponents/SliderSelector/index.style.d.ts +1 -38
  166. package/lib/components/commonComponents/SliderSelector/index.style.js +20 -37
  167. package/lib/components/commonComponents/Spinner/index.d.ts +4 -4
  168. package/lib/components/commonComponents/Spinner/index.js +28 -24
  169. package/lib/components/commonComponents/Spinner/index.style.d.ts +1 -79
  170. package/lib/components/commonComponents/Spinner/index.style.js +30 -61
  171. package/lib/components/commonComponents/Statistic/index.js +7 -3
  172. package/lib/components/commonComponents/Statistic/index.style.d.ts +1 -15
  173. package/lib/components/commonComponents/Statistic/index.style.js +14 -26
  174. package/lib/components/commonComponents/Steps/index.js +10 -6
  175. package/lib/components/commonComponents/Steps/index.style.d.ts +1 -162
  176. package/lib/components/commonComponents/Steps/index.style.js +68 -78
  177. package/lib/components/commonComponents/Switch/index.js +13 -10
  178. package/lib/components/commonComponents/Switch/index.style.d.ts +1 -25
  179. package/lib/components/commonComponents/Switch/index.style.js +22 -33
  180. package/lib/components/commonComponents/Table/index.js +10 -6
  181. package/lib/components/commonComponents/Table/index.style.d.ts +1 -52
  182. package/lib/components/commonComponents/Table/index.style.js +18 -32
  183. package/lib/components/commonComponents/Tabs/index.js +35 -29
  184. package/lib/components/commonComponents/Tabs/index.style.d.ts +1 -55
  185. package/lib/components/commonComponents/Tabs/index.style.js +38 -44
  186. package/lib/components/commonComponents/Tag/demo/demo2.js +0 -1
  187. package/lib/components/commonComponents/Tag/demo/demo3.js +0 -2
  188. package/lib/components/commonComponents/Tag/index.js +14 -10
  189. package/lib/components/commonComponents/Tag/index.style.d.ts +1 -56
  190. package/lib/components/commonComponents/Tag/index.style.js +54 -58
  191. package/lib/components/commonComponents/TimePicker/index.js +36 -30
  192. package/lib/components/commonComponents/TimePicker/index.style.d.ts +1 -71
  193. package/lib/components/commonComponents/TimePicker/index.style.js +54 -50
  194. package/lib/components/commonComponents/Tooltip/index.js +14 -13
  195. package/lib/components/commonComponents/Tooltip/index.style.d.ts +1 -24
  196. package/lib/components/commonComponents/Tooltip/index.style.js +26 -32
  197. package/lib/components/commonComponents/Upload/index.js +15 -9
  198. package/lib/components/commonComponents/Upload/index.style.d.ts +1 -125
  199. package/lib/components/commonComponents/Upload/index.style.js +80 -90
  200. package/lib/index.d.ts +3 -2
  201. package/lib/index.js +10 -5
  202. package/lib/libs/env/index.js +1 -1
  203. package/lib/libs/newCreateStyle/index.d.ts +7 -0
  204. package/lib/libs/newCreateStyle/index.js +26 -0
  205. package/llms/index.llms.txt +43 -43
  206. package/package.json +11 -8
  207. package/lib/components/commonComponents/Popconfirm/demo/demo.js +0 -155
  208. package/lib/components/commonComponents/Slider/slider.input.js +0 -76
  209. package/lib/components/commonComponents/spark.style.d.ts +0 -45
  210. package/lib/components/commonComponents/spark.style.js +0 -62
  211. /package/lib/components/commonComponents/Popconfirm/demo/{demo.d.ts → demo1.d.ts} +0 -0
@@ -1,17 +1,23 @@
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 getInputNumberStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(antPrefix, "-input-number"), {
8
- backgroundColor: "var(--".concat(antPrefix, "-color-bg-base)")
9
- }), ".".concat(antPrefix, "-input-number-disabled"), {
10
- backgroundColor: "var(--".concat(antPrefix, "-color-fill-tertiary) !important")
11
- }), ".".concat(antPrefix, "-input-number-outlined, .").concat(antPrefix, "-input-number-outlined.").concat(antPrefix, "-input-number-disabled"), {
12
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
13
- }), ".".concat(antPrefix, "-input-number-sm"), {
14
- fontSize: '12px',
15
- height: '24px'
16
- });
17
- }
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 useInputNumberStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-input-number {\n background-color: var(--", "-color-bg-base);\n}\n\n.", "-input-number-disabled {\n background-color: var(--", "-color-fill-tertiary) !important;\n}\n\n.", "-input-number-outlined,\n.", "-input-number-outlined.", "-input-number-disabled {\n border-color: var(--", "-color-border-secondary);\n}\n\n.", "-input-number-sm {\n font-size: 12px;\n height: 24px;\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
+ });
23
+ export default useInputNumberStyle;
@@ -1,5 +1,2 @@
1
- export declare function getMessageStyleData(params: any): {
2
- [x: string]: {
3
- border: string;
4
- };
5
- };
1
+ export declare const useMessageStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useMessageStyle;
@@ -1,10 +1,9 @@
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 getMessageStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-message-notice-content"), {
8
- border: "1px solid var(--".concat(antPrefix, "-color-border-secondary)")
9
- });
10
- }
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 useMessageStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-message-notice-content {\n border: 1px solid var(--", "-color-border-secondary);\n}\n"])), function (p) {
5
+ return p.antPrefix;
6
+ }, function (p) {
7
+ return p.antPrefix;
8
+ });
9
+ export default useMessageStyle;
@@ -1,46 +1,2 @@
1
- export declare function getNotificationStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- [x: string]: string | {
5
- [x: string]: {
6
- fontSize: string;
7
- fontWeight: string;
8
- lineHeight?: undefined;
9
- color?: undefined;
10
- marginLeft?: undefined;
11
- } | {
12
- fontSize: string;
13
- fontWeight: string;
14
- lineHeight: string;
15
- color: string;
16
- marginLeft: string;
17
- } | {
18
- [x: string]: {
19
- display: string;
20
- alignItems: string;
21
- height: string;
22
- marginInlineStart?: undefined;
23
- } | {
24
- marginInlineStart: string;
25
- display?: undefined;
26
- alignItems?: undefined;
27
- height?: undefined;
28
- };
29
- fontSize?: undefined;
30
- fontWeight?: undefined;
31
- lineHeight?: undefined;
32
- color?: undefined;
33
- marginLeft?: undefined;
34
- } | {
35
- color: string;
36
- fontSize?: undefined;
37
- fontWeight?: undefined;
38
- lineHeight?: undefined;
39
- marginLeft?: undefined;
40
- };
41
- };
42
- boxShadow: string;
43
- border: string;
44
- };
45
- };
46
- };
1
+ export declare const useNotificationStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useNotificationStyle;
@@ -1,29 +1,31 @@
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 getNotificationStyleData(params) {
6
- var sparkPrefix = params.sparkPrefix,
7
- antPrefix = params.antPrefix;
8
- return _defineProperty({}, ".".concat(antPrefix, "-notification"), _defineProperty({}, ".".concat(antPrefix, "-notification-notice-wrapper"), _defineProperty({
9
- boxShadow: "var(--".concat(antPrefix, "-box-shadow-secondary)"),
10
- border: "1px solid var(--".concat(antPrefix, "-color-border-secondary)")
11
- }, ".".concat(sparkPrefix, "-notification"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(antPrefix, "-notification-notice-message"), {
12
- fontSize: "16px",
13
- fontWeight: "500"
14
- }), ".".concat(antPrefix, "-notification-notice-description"), {
15
- fontSize: "14px",
16
- fontWeight: 'normal',
17
- lineHeight: "24px",
18
- color: "var(--".concat(antPrefix, "-color-text-secondary)"),
19
- marginLeft: '32px'
20
- }), ".".concat(antPrefix, "-notification-notice-with-icon"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-notification-notice-icon"), {
21
- display: 'flex',
22
- alignItems: 'center',
23
- height: '24px'
24
- }), ".".concat(antPrefix, "-notification-notice-message"), {
25
- marginInlineStart: '32px'
26
- })), ".".concat(antPrefix, "-notification-notice-close"), {
27
- color: "var(--".concat(antPrefix, "-color-text)")
28
- }))));
29
- }
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 useNotificationStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-notification {\n .", "-notification-notice-wrapper {\n box-shadow: var(--", "-box-shadow-secondary);\n border: 1px solid var(--", "-color-border-secondary);\n \n .", "-notification {\n .", "-notification-notice-message {\n font-size: 16px;\n font-weight: 500;\n }\n \n .", "-notification-notice-description {\n font-size: 14px;\n font-weight: normal;\n line-height: 24px;\n color: var(--", "-color-text-secondary);\n margin-left: 32px;\n }\n \n .", "-notification-notice-with-icon {\n .", "-notification-notice-icon {\n display: flex;\n align-items: center;\n height: 24px;\n }\n \n .", "-notification-notice-message {\n margin-inline-start: 32px;\n }\n }\n \n .", "-notification-notice-close {\n color: var(--", "-color-text);\n }\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
+ }, function (p) {
11
+ return p.antPrefix;
12
+ }, function (p) {
13
+ return p.sparkPrefix;
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
+ });
31
+ export default useNotificationStyle;
@@ -1,13 +1,2 @@
1
- export declare function getPopoverStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- [x: string]: string | {
5
- marginBottom: string;
6
- };
7
- maxWidth: string;
8
- padding: string;
9
- boxShadow: string;
10
- border: string;
11
- };
12
- };
13
- };
1
+ export declare const usePopoverStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default usePopoverStyle;
@@ -1,14 +1,15 @@
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 getPopoverStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-popover"), _defineProperty({}, ".".concat(antPrefix, "-popover-inner"), _defineProperty(_defineProperty({
8
- maxWidth: '500px',
9
- padding: '12px 16px',
10
- boxShadow: "var(--".concat(antPrefix, "-box-shadow)")
11
- }, ".".concat(antPrefix, "-popover-title"), {
12
- marginBottom: '4px'
13
- }), "border", "1px solid var(--".concat(antPrefix, "-color-border-secondary)"))));
14
- }
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 usePopoverStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-popover {\n .", "-popover-inner {\n max-width: 500px;\n padding: 12px 16px;\n box-shadow: var(--", "-box-shadow);\n border: 1px solid var(--", "-color-border-secondary);\n \n .", "-popover-title {\n margin-bottom: 4px;\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
+ }, function (p) {
11
+ return p.antPrefix;
12
+ }, function (p) {
13
+ return p.antPrefix;
14
+ });
15
+ export default usePopoverStyle;
@@ -1,24 +1,2 @@
1
- export declare function getRadioStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- display: string;
5
- };
6
- } | {
7
- [x: string]: {
8
- borderColor: string;
9
- } | {
10
- [x: string]: {
11
- borderColor: string;
12
- } | {
13
- [x: string]: {
14
- backgroundColor: string;
15
- "&::after": {
16
- backgroundColor: string;
17
- };
18
- };
19
- borderColor?: undefined;
20
- };
21
- borderColor?: undefined;
22
- };
23
- };
24
- };
1
+ export declare const useRadioStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useRadioStyle;
@@ -1,18 +1,29 @@
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 getRadioStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-radio-button-wrapper"), _defineProperty({}, ".".concat(antPrefix, "-wave"), {
8
- display: 'none !important'
9
- })), ".".concat(antPrefix, "-radio-wrapper"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-radio-inner"), {
10
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
11
- }), ".".concat(antPrefix, "-radio-disabled"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-radio-inner"), {
12
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
13
- }), "&.".concat(antPrefix, "-radio-checked"), _defineProperty({}, ".".concat(antPrefix, "-radio-inner"), _defineProperty({
14
- backgroundColor: "var(--".concat(antPrefix, "-color-border-secondary)")
15
- }, "&::after", {
16
- backgroundColor: "var(--".concat(antPrefix, "-color-bg-base)")
17
- })))));
18
- }
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 useRadioStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-radio-button-wrapper {\n .", "-wave {\n display: none !important;\n }\n}\n\n.", "-radio-wrapper {\n .", "-radio-inner {\n border-color: var(--", "-color-border-secondary);\n }\n \n .", "-radio-disabled {\n .", "-radio-inner {\n border-color: var(--", "-color-border-secondary);\n }\n \n &.", "-radio-checked {\n .", "-radio-inner {\n background-color: var(--", "-color-border-secondary);\n \n &::after {\n background-color: var(--", "-color-bg-base);\n }\n }\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
+ }, 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
+ });
29
+ export default useRadioStyle;
@@ -1,7 +1,2 @@
1
- export declare function getSegmentStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- boxShadow: string;
5
- };
6
- };
7
- };
1
+ export declare const useSegmentStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useSegmentStyle;
@@ -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 getSegmentStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-segmented"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-segmented-item-selected"), {
8
- boxShadow: 'none'
9
- }), ".".concat(antPrefix, "-segmented-thumb"), {
10
- boxShadow: 'none !important'
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 useSegmentStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-segmented {\n .", "-segmented-item-selected {\n box-shadow: none;\n }\n \n .", "-segmented-thumb {\n box-shadow: none !important;\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 useSegmentStyle;
@@ -1,31 +1,2 @@
1
- export declare function getSelectStyleData(params: any): {
2
- [x: string]: {
3
- border: string;
4
- boxShadow: string;
5
- borderRadius: string;
6
- borderColor?: undefined;
7
- color?: undefined;
8
- } | {
9
- borderColor: string;
10
- border?: undefined;
11
- boxShadow?: undefined;
12
- borderRadius?: undefined;
13
- color?: undefined;
14
- } | {
15
- color: string;
16
- border?: undefined;
17
- boxShadow?: undefined;
18
- borderRadius?: undefined;
19
- borderColor?: undefined;
20
- } | {
21
- [x: string]: {
22
- borderRadius: string;
23
- backgroundColor: string;
24
- };
25
- border?: undefined;
26
- boxShadow?: undefined;
27
- borderRadius?: undefined;
28
- borderColor?: undefined;
29
- color?: undefined;
30
- };
31
- };
1
+ export declare const useSelectStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useSelectStyle;
@@ -1,28 +1,51 @@
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 getSelectStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(antPrefix, "-select-dropdown"), {
8
- border: "1px solid var(--".concat(antPrefix, "-color-border-secondary)"),
9
- boxShadow: "0px 4px 6px 0px rgba(0, 0, 0, 0.08)",
10
- borderRadius: "var(--".concat(antPrefix, "-border-radius)")
11
- }), ".".concat(antPrefix, "-select-outlined:not(.").concat(antPrefix, "-select-customize-input) .").concat(antPrefix, "-select-selector"), {
12
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
13
- }), ".".concat(antPrefix, "-select .").concat(antPrefix, "-select-arrow"), {
14
- color: "var(--".concat(antPrefix, "-color-text-secondary)")
15
- }), ".".concat(antPrefix, "-select-outlined.").concat(antPrefix, "-select-multiple"), _defineProperty({}, ".".concat(antPrefix, "-select-selection-item"), {
16
- borderRadius: '4px',
17
- backgroundColor: "var(--".concat(antPrefix, "-color-mauve-bg)")
18
- })), ".".concat(antPrefix, "-select-selection-overflow"), _defineProperty({
19
- color: "var(--".concat(antPrefix, "-color-mauve)")
20
- }, ".".concat(antPrefix, "-select-selection-item-remove"), {
21
- '.anticon-close': {
22
- fontSize: '14px',
23
- color: "var(--".concat(antPrefix, "-color-mauve)")
24
- }
25
- })), ".".concat(antPrefix, "-select-disabled.").concat(antPrefix, "-select-multiple .").concat(antPrefix, "-select-selection-overflow .").concat(antPrefix, "-select-selection-item"), {
26
- color: "var(--".concat(antPrefix, "-color-mauve)")
27
- });
28
- }
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 useSelectStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-select-dropdown {\n border: 1px solid var(--", "-color-border-secondary);\n box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.08);\n border-radius: var(--", "-border-radius);\n}\n\n.", "-select-outlined:not(.", "-select-customize-input) .", "-select-selector {\n border-color: var(--", "-color-border-secondary);\n}\n\n.", "-select .", "-select-arrow {\n color: var(--", "-color-text-secondary);\n}\n\n.", "-select-outlined.", "-select-multiple {\n .", "-select-selection-item {\n border-radius: 4px;\n background-color: var(--", "-color-mauve-bg);\n }\n}\n\n.", "-select-selection-overflow {\n color: var(--", "-color-mauve);\n \n .", "-select-selection-item-remove {\n .anticon-close {\n font-size: 14px;\n color: var(--", "-color-mauve);\n }\n }\n}\n\n.", "-select-disabled.", "-select-multiple .", "-select-selection-overflow .", "-select-selection-item {\n color: var(--", "-color-mauve);\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
+ });
51
+ export default useSelectStyle;
@@ -1,22 +1,2 @@
1
- export declare function getSliderStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- borderRadius: number;
5
- };
6
- '&:first-child'?: undefined;
7
- '&:last-child'?: undefined;
8
- } | {
9
- [x: string]: {
10
- background: string;
11
- };
12
- '&:first-child'?: undefined;
13
- '&:last-child'?: undefined;
14
- } | {
15
- '&:first-child': {
16
- transform: string;
17
- };
18
- '&:last-child': {
19
- transform: string;
20
- };
21
- };
22
- };
1
+ export declare const useSliderStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useSliderStyle;
@@ -1,21 +1,19 @@
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 getSliderStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty(_defineProperty(_defineProperty({}, ".".concat(antPrefix, "-slider"), _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-slider-rail"), {
8
- borderRadius: 8
9
- }), ".".concat(antPrefix, "-slider-track"), {
10
- borderRadius: 8
11
- })), ".".concat(antPrefix, "-slider-tooltip"), _defineProperty({}, ".".concat(antPrefix, "-tooltip-inner"), {
12
- background: "var(--".concat(antPrefix, "-color-bg-spotlight)")
13
- })), ".".concat(antPrefix, "-slider-mark-text"), {
14
- '&:first-child': {
15
- transform: 'translateX(0%)!important'
16
- },
17
- '&:last-child': {
18
- transform: 'translateX(-100%)!important'
19
- }
20
- });
21
- }
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 useSliderStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-slider {\n .", "-slider-rail {\n border-radius: 8px;\n }\n \n .", "-slider-track {\n border-radius: 8px;\n }\n}\n\n.", "-slider-tooltip {\n .", "-tooltip-inner {\n background: var(--", "-color-bg-spotlight);\n }\n}\n\n/* \u5DE6\u53F3\u4E24\u4FA7\u7684mark\u5BF9\u9F50 */\n.", "-slider-mark-text {\n &:first-child {\n transform: translateX(0%) !important;\n }\n \n &:last-child {\n transform: translateX(-100%) !important;\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
+ });
19
+ export default useSliderStyle;
@@ -1,5 +1,2 @@
1
- export declare function getTableStyleData(params: any): {
2
- [x: string]: {
3
- borderRadius: number;
4
- };
5
- };
1
+ export declare const useTableStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useTableStyle;
@@ -1,10 +1,7 @@
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 getTableStyleData(params) {
6
- var antPrefix = params.antPrefix;
7
- return _defineProperty({}, ".".concat(antPrefix, "-table-cell"), {
8
- borderRadius: 0
9
- });
10
- }
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 useTableStyle = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n.", "-table-cell {\n border-radius: 0;\n}\n"])), function (p) {
5
+ return p.antPrefix;
6
+ });
7
+ export default useTableStyle;
@@ -1,8 +1,2 @@
1
- export declare function getTooltipStyleData(params: any): {
2
- [x: string]: {
3
- [x: string]: {
4
- border: string;
5
- boxShadow: string;
6
- };
7
- };
8
- };
1
+ export declare const useTooltipStyle: () => () => import("react/jsx-runtime").JSX.Element;
2
+ export default useTooltipStyle;