@oceanbase/design 0.2.25 → 0.2.27

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 (78) hide show
  1. package/dist/design.min.js +1 -1
  2. package/es/_util/type.d.ts +4 -0
  3. package/es/_util/type.js +1 -0
  4. package/es/badge/index.d.ts +3 -4
  5. package/es/badge/index.js +7 -3
  6. package/es/button/index.d.ts +2 -4
  7. package/es/button/index.js +7 -5
  8. package/es/card/index.d.ts +2 -4
  9. package/es/card/index.js +7 -5
  10. package/es/config-provider/index.js +9 -11
  11. package/es/drawer/Drawer.d.ts +18 -0
  12. package/es/drawer/Drawer.js +69 -0
  13. package/es/drawer/index.d.ts +2 -0
  14. package/es/drawer/index.js +3 -1
  15. package/es/drawer/style/index.d.ts +9 -0
  16. package/es/drawer/style/index.js +31 -0
  17. package/es/index.d.ts +2 -1
  18. package/es/index.js +1 -0
  19. package/es/modal/style/index.js +3 -2
  20. package/es/select/index.d.ts +8 -2
  21. package/es/select/index.js +6 -6
  22. package/es/spin/index.js +1 -0
  23. package/es/static-function/index.d.ts +1 -1
  24. package/es/static-function/index.js +2 -2
  25. package/es/table/index.d.ts +17 -12
  26. package/es/table/index.js +19 -16
  27. package/es/tag/index.d.ts +2 -4
  28. package/es/tag/index.js +7 -5
  29. package/es/theme/dark.d.ts +56 -0
  30. package/es/theme/dark.js +10 -0
  31. package/es/theme/default.d.ts +94 -72
  32. package/es/theme/default.js +95 -72
  33. package/es/theme/index.d.ts +8 -13
  34. package/es/theme/index.js +15 -20
  35. package/es/theme/style/compact.less +211 -186
  36. package/es/theme/style/dark.less +194 -169
  37. package/es/theme/style/default.less +208 -183
  38. package/es/tooltip/index.d.ts +2 -2
  39. package/es/tooltip/index.js +3 -2
  40. package/lib/_util/type.d.ts +4 -0
  41. package/lib/_util/type.js +17 -0
  42. package/lib/badge/index.d.ts +3 -4
  43. package/lib/badge/index.js +56 -51
  44. package/lib/button/index.d.ts +2 -4
  45. package/lib/button/index.js +15 -10
  46. package/lib/card/index.d.ts +2 -4
  47. package/lib/card/index.js +40 -34
  48. package/lib/config-provider/index.js +8 -15
  49. package/lib/drawer/Drawer.d.ts +18 -0
  50. package/lib/drawer/Drawer.js +85 -0
  51. package/lib/drawer/index.d.ts +2 -0
  52. package/lib/drawer/index.js +19 -0
  53. package/lib/drawer/style/index.d.ts +9 -0
  54. package/lib/drawer/style/index.js +60 -0
  55. package/lib/index.d.ts +2 -1
  56. package/lib/index.js +3 -0
  57. package/lib/modal/style/index.js +3 -2
  58. package/lib/select/index.d.ts +8 -2
  59. package/lib/select/index.js +14 -10
  60. package/lib/spin/index.js +1 -0
  61. package/lib/static-function/index.d.ts +1 -1
  62. package/lib/static-function/index.js +1 -1
  63. package/lib/table/index.d.ts +17 -12
  64. package/lib/table/index.js +17 -14
  65. package/lib/tag/index.d.ts +2 -4
  66. package/lib/tag/index.js +25 -28
  67. package/lib/theme/dark.d.ts +56 -0
  68. package/lib/theme/dark.js +44 -0
  69. package/lib/theme/default.d.ts +94 -72
  70. package/lib/theme/default.js +94 -71
  71. package/lib/theme/index.d.ts +8 -13
  72. package/lib/theme/index.js +27 -21
  73. package/lib/theme/style/compact.less +211 -186
  74. package/lib/theme/style/dark.less +194 -169
  75. package/lib/theme/style/default.less +208 -183
  76. package/lib/tooltip/index.d.ts +2 -2
  77. package/lib/tooltip/index.js +83 -80
  78. package/package.json +6 -4
@@ -0,0 +1,56 @@
1
+ declare const darkTheme: {
2
+ token: {
3
+ colorPrimary: string;
4
+ colorSuccess: string;
5
+ colorWarning: string;
6
+ colorError: string;
7
+ colorInfo: string;
8
+ colorTextBase: string;
9
+ colorBgBase: string;
10
+ colorLink: string;
11
+ fontFamily: string;
12
+ fontFamilyCode: string;
13
+ fontSize: number;
14
+ lineWidth: number;
15
+ lineType: string;
16
+ borderRadius: number;
17
+ sizeUnit: number;
18
+ sizeStep: number;
19
+ sizePopupArrow: number;
20
+ controlHeight: number;
21
+ zIndexBase: number;
22
+ zIndexPopupBase: number;
23
+ opacityImage: number;
24
+ motionUnit: number;
25
+ motionBase: number;
26
+ motionEaseOutCirc: string;
27
+ motionEaseInOutCirc: string;
28
+ motionEaseInOut: string;
29
+ motionEaseOutBack: string;
30
+ motionEaseInBack: string;
31
+ motionEaseInQuint: string;
32
+ motionEaseOutQuint: string;
33
+ motionEaseOut: string;
34
+ wireframe: boolean;
35
+ motion: boolean;
36
+ blue: string;
37
+ purple: string;
38
+ cyan: string;
39
+ green: string;
40
+ magenta: string;
41
+ pink: string;
42
+ red: string;
43
+ orange: string;
44
+ yellow: string;
45
+ volcano: string;
46
+ geekblue: string;
47
+ lime: string;
48
+ gold: string;
49
+ };
50
+ components: {
51
+ InputNumber: {
52
+ handleVisible: boolean;
53
+ };
54
+ };
55
+ };
56
+ export default darkTheme;
@@ -0,0 +1,10 @@
1
+ import theme from "./index";
2
+ var darkTheme = {
3
+ token: theme.defaultSeed,
4
+ components: {
5
+ InputNumber: {
6
+ handleVisible: true
7
+ }
8
+ }
9
+ };
10
+ export default darkTheme;
@@ -1,73 +1,95 @@
1
- declare const _default: {
2
- colorPrimaryBg: string;
3
- colorPrimary: string;
4
- colorPrimaryBgHover: string;
5
- colorPrimaryBorder: string;
6
- colorPrimaryBorderHover: string;
7
- colorPrimaryHover: string;
8
- colorPrimaryTextHover: string;
9
- colorPrimaryText: string;
10
- colorPrimaryTextActive: string;
11
- colorSuccess: string;
12
- colorSuccessBg: string;
13
- colorSuccessBgHover: string;
14
- colorSuccessBorder: string;
15
- colorSuccessBorderHover: string;
16
- colorSuccessHover: string;
17
- colorSuccessActive: string;
18
- colorSuccessTextHover: string;
19
- colorSuccessText: string;
20
- colorSuccessTextActive: string;
21
- colorWarning: string;
22
- colorWarningBg: string;
23
- colorWarningBgHover: string;
24
- colorWarningBorder: string;
25
- colorWarningBorderHover: string;
26
- colorWarningHover: string;
27
- colorWarningActive: string;
28
- colorWarningTextHover: string;
29
- colorWarningText: string;
30
- colorWarningTextActive: string;
31
- colorErrorBg: string;
32
- colorErrorBgHover: string;
33
- colorErrorBorder: string;
34
- colorErrorBorderHover: string;
35
- colorErrorHover: string;
36
- colorErrorActive: string;
37
- colorErrorTextHover: string;
38
- colorErrorText: string;
39
- colorErrorTextActive: string;
40
- colorError: string;
41
- colorInfo: string;
42
- colorInfoBg: string;
43
- colorInfoBgHover: string;
44
- colorInfoBorder: string;
45
- colorInfoBorderHover: string;
46
- colorInfoHover: string;
47
- colorInfoActive: string;
48
- colorInfoTextHover: string;
49
- colorInfoText: string;
50
- colorInfoTextActive: string;
51
- colorTextBase: string;
52
- colorBgBase: string;
53
- colorText: string;
54
- colorTextSecondary: string;
55
- colorTextQuaternary: string;
56
- colorTextTertiary: string;
57
- colorBgContainer: string;
58
- colorBgLayout: string;
59
- colorBgSpotlight: string;
60
- colorBgMask: string;
61
- colorBorder: string;
62
- colorBorderSecondary: string;
63
- colorFillQuaternary: string;
64
- colorFillTertiary: string;
65
- colorFillSecondary: string;
66
- colorFill: string;
67
- boxShadowSecondary: string;
68
- boxShadow: string;
69
- borderRadius: number;
70
- wireframe: boolean;
71
- colorPrimaryActive: string;
1
+ declare const defaultTheme: {
2
+ token: {
3
+ colorPrimaryBg: string;
4
+ colorPrimary: string;
5
+ colorPrimaryBgHover: string;
6
+ colorPrimaryBorder: string;
7
+ colorPrimaryBorderHover: string;
8
+ colorPrimaryHover: string;
9
+ colorPrimaryTextHover: string;
10
+ colorPrimaryText: string;
11
+ colorPrimaryTextActive: string;
12
+ colorSuccess: string;
13
+ colorSuccessBg: string;
14
+ colorSuccessBgHover: string;
15
+ colorSuccessBorder: string;
16
+ colorSuccessBorderHover: string;
17
+ colorSuccessHover: string;
18
+ colorSuccessActive: string;
19
+ colorSuccessTextHover: string;
20
+ colorSuccessText: string;
21
+ colorSuccessTextActive: string;
22
+ colorWarning: string;
23
+ colorWarningBg: string;
24
+ colorWarningBgHover: string;
25
+ colorWarningBorder: string;
26
+ colorWarningBorderHover: string;
27
+ colorWarningHover: string;
28
+ colorWarningActive: string;
29
+ colorWarningTextHover: string;
30
+ colorWarningText: string;
31
+ colorWarningTextActive: string;
32
+ colorErrorBg: string;
33
+ colorErrorBgHover: string;
34
+ colorErrorBorder: string;
35
+ colorErrorBorderHover: string;
36
+ colorErrorHover: string;
37
+ colorErrorActive: string;
38
+ colorErrorTextHover: string;
39
+ colorErrorText: string;
40
+ colorErrorTextActive: string;
41
+ colorError: string;
42
+ colorInfo: string;
43
+ colorInfoBg: string;
44
+ colorInfoBgHover: string;
45
+ colorInfoBorder: string;
46
+ colorInfoBorderHover: string;
47
+ colorInfoHover: string;
48
+ colorInfoActive: string;
49
+ colorInfoTextHover: string;
50
+ colorInfoText: string;
51
+ colorInfoTextActive: string;
52
+ colorTextBase: string;
53
+ colorBgBase: string;
54
+ colorText: string;
55
+ colorTextSecondary: string;
56
+ colorTextQuaternary: string;
57
+ colorTextTertiary: string;
58
+ colorBgContainer: string;
59
+ colorBgLayout: string;
60
+ colorBgSpotlight: string;
61
+ colorBgMask: string;
62
+ colorBorder: string;
63
+ colorBorderSecondary: string;
64
+ colorFillQuaternary: string;
65
+ colorFillTertiary: string;
66
+ colorFillSecondary: string;
67
+ colorFill: string;
68
+ boxShadowSecondary: string;
69
+ boxShadow: string;
70
+ borderRadius: number;
71
+ wireframe: boolean;
72
+ colorPrimaryActive: string;
73
+ };
74
+ components: {
75
+ Dropdown: {
76
+ colorError: string;
77
+ };
78
+ Button: {
79
+ borderRadius: number;
80
+ };
81
+ Segmented: {
82
+ itemColor: string;
83
+ itemHoverColor: string;
84
+ itemHoverBg: string;
85
+ };
86
+ Rate: {
87
+ colorFillContent: string;
88
+ colorText: string;
89
+ };
90
+ InputNumber: {
91
+ handleVisible: boolean;
92
+ };
93
+ };
72
94
  };
73
- export default _default;
95
+ export default defaultTheme;
@@ -1,72 +1,95 @@
1
- export default {
2
- colorPrimaryBg: '#EAF1FF',
3
- colorPrimary: '#006AFF',
4
- colorPrimaryBgHover: '#EAF1FF',
5
- colorPrimaryBorder: '#B3CCFF',
6
- colorPrimaryBorderHover: '#5189FB',
7
- colorPrimaryHover: '#5189FB',
8
- colorPrimaryTextHover: '#5189FB',
9
- colorPrimaryText: '#006AFF',
10
- colorPrimaryTextActive: '#004CE6',
11
- colorSuccess: '#0ac185',
12
- colorSuccessBg: '#EEF8F5',
13
- colorSuccessBgHover: '#B3E6D5',
14
- colorSuccessBorder: '#B3E6D5',
15
- colorSuccessBorderHover: '#4DCCA2',
16
- colorSuccessHover: '#4DCCA2',
17
- colorSuccessActive: '#00B378',
18
- colorSuccessTextHover: '#4DCCA2',
19
- colorSuccessText: '#0AC185',
20
- colorSuccessTextActive: '#00B378',
21
- colorWarning: '#ffac33',
22
- colorWarningBg: '#FFF5E5',
23
- colorWarningBgHover: '#FFD699',
24
- colorWarningBorder: '#FFD699',
25
- colorWarningBorderHover: '#FFC166',
26
- colorWarningHover: '#FFC166',
27
- colorWarningActive: '#FF9700',
28
- colorWarningTextHover: '#FFC166',
29
- colorWarningText: '#FFAC33',
30
- colorWarningTextActive: '#FF9700',
31
- colorErrorBg: '#FFEBEB',
32
- colorErrorBgHover: '#FFB3B3',
33
- colorErrorBorder: '#FFB3B3',
34
- colorErrorBorderHover: '#FF8080',
35
- colorErrorHover: '#FF8080',
36
- colorErrorActive: '#EC1313',
37
- colorErrorTextHover: '#FF8080',
38
- colorErrorText: '#FF4B4B',
39
- colorErrorTextActive: '#EC1313',
40
- colorError: '#ff4b4b',
41
- colorInfo: '#006aff',
42
- colorInfoBg: '#EAF1FF',
43
- colorInfoBgHover: '#EAF1FF',
44
- colorInfoBorder: '#B3CCFF',
45
- colorInfoBorderHover: '#5189FB',
46
- colorInfoHover: '#5189FB',
47
- colorInfoActive: '#004CE6',
48
- colorInfoTextHover: '#5189FB',
49
- colorInfoText: '#006AFF',
50
- colorInfoTextActive: '#004CE6',
51
- colorTextBase: '#132039',
52
- colorBgBase: '#ffffff',
53
- colorText: '#132039',
54
- colorTextSecondary: '#364563',
55
- colorTextQuaternary: '#CDD5E4',
56
- colorTextTertiary: '#8592AD',
57
- colorBgContainer: '#ffffff',
58
- colorBgLayout: '#F5F8FE',
59
- colorBgSpotlight: 'rgba(19, 32, 57, 0.85)',
60
- colorBgMask: 'rgba(19, 32, 57, 0.65)',
61
- colorBorder: '#CDD5E4',
62
- colorBorderSecondary: '#E2E8F3',
63
- colorFillQuaternary: '#F8FAFE',
64
- colorFillTertiary: '#F5F8FE',
65
- colorFillSecondary: '#F5F8FE',
66
- colorFill: '#F5F8FE',
67
- boxShadowSecondary: '0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05)',
68
- boxShadow: '0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02)',
69
- borderRadius: 6,
70
- wireframe: false,
71
- colorPrimaryActive: '#004CE6'
72
- };
1
+ var defaultTheme = {
2
+ token: {
3
+ colorPrimaryBg: '#EAF1FF',
4
+ colorPrimary: '#006AFF',
5
+ colorPrimaryBgHover: '#EAF1FF',
6
+ colorPrimaryBorder: '#B3CCFF',
7
+ colorPrimaryBorderHover: '#5189FB',
8
+ colorPrimaryHover: '#5189FB',
9
+ colorPrimaryTextHover: '#5189FB',
10
+ colorPrimaryText: '#006AFF',
11
+ colorPrimaryTextActive: '#004CE6',
12
+ colorSuccess: '#0ac185',
13
+ colorSuccessBg: '#EEF8F5',
14
+ colorSuccessBgHover: '#B3E6D5',
15
+ colorSuccessBorder: '#B3E6D5',
16
+ colorSuccessBorderHover: '#4DCCA2',
17
+ colorSuccessHover: '#4DCCA2',
18
+ colorSuccessActive: '#00B378',
19
+ colorSuccessTextHover: '#4DCCA2',
20
+ colorSuccessText: '#0AC185',
21
+ colorSuccessTextActive: '#00B378',
22
+ colorWarning: '#ffac33',
23
+ colorWarningBg: '#FFF5E5',
24
+ colorWarningBgHover: '#FFD699',
25
+ colorWarningBorder: '#FFD699',
26
+ colorWarningBorderHover: '#FFC166',
27
+ colorWarningHover: '#FFC166',
28
+ colorWarningActive: '#FF9700',
29
+ colorWarningTextHover: '#FFC166',
30
+ colorWarningText: '#FFAC33',
31
+ colorWarningTextActive: '#FF9700',
32
+ colorErrorBg: '#FFEBEB',
33
+ colorErrorBgHover: '#FFB3B3',
34
+ colorErrorBorder: '#FFB3B3',
35
+ colorErrorBorderHover: '#FF8080',
36
+ colorErrorHover: '#FF8080',
37
+ colorErrorActive: '#EC1313',
38
+ colorErrorTextHover: '#FF8080',
39
+ colorErrorText: '#FF4B4B',
40
+ colorErrorTextActive: '#EC1313',
41
+ colorError: '#ff4b4b',
42
+ colorInfo: '#006aff',
43
+ colorInfoBg: '#EAF1FF',
44
+ colorInfoBgHover: '#EAF1FF',
45
+ colorInfoBorder: '#B3CCFF',
46
+ colorInfoBorderHover: '#5189FB',
47
+ colorInfoHover: '#5189FB',
48
+ colorInfoActive: '#004CE6',
49
+ colorInfoTextHover: '#5189FB',
50
+ colorInfoText: '#006AFF',
51
+ colorInfoTextActive: '#004CE6',
52
+ colorTextBase: '#132039',
53
+ colorBgBase: '#ffffff',
54
+ colorText: '#132039',
55
+ colorTextSecondary: '#5C6B8A',
56
+ colorTextQuaternary: '#ABB7CF',
57
+ colorTextTertiary: '#8592AD',
58
+ colorBgContainer: '#ffffff',
59
+ colorBgLayout: '#F8FAFE',
60
+ colorBgSpotlight: 'rgba(19, 32, 57, 0.8)',
61
+ colorBgMask: 'rgba(19, 32, 57, 0.6)',
62
+ colorBorder: '#CDD5E4',
63
+ colorBorderSecondary: '#E2E8F3',
64
+ colorFillQuaternary: '#F8FAFE',
65
+ colorFillTertiary: '#F8FAFE',
66
+ colorFillSecondary: '#F3F6FC',
67
+ colorFill: '#E2E8F3',
68
+ boxShadowSecondary: '0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05)',
69
+ boxShadow: '0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02)',
70
+ borderRadius: 6,
71
+ wireframe: false,
72
+ colorPrimaryActive: '#004CE6'
73
+ },
74
+ components: {
75
+ Dropdown: {
76
+ colorError: '#FF4B4B'
77
+ },
78
+ Button: {
79
+ borderRadius: 6
80
+ },
81
+ Segmented: {
82
+ itemColor: '#5C6B8A',
83
+ itemHoverColor: '#132039',
84
+ itemHoverBg: '#ffffff'
85
+ },
86
+ Rate: {
87
+ colorFillContent: '#E2E8F3',
88
+ colorText: '#F20000'
89
+ },
90
+ InputNumber: {
91
+ handleVisible: true
92
+ }
93
+ }
94
+ };
95
+ export default defaultTheme;
@@ -1,17 +1,12 @@
1
- export * from 'antd/es/theme/internal';
2
- export * from 'antd/es/theme';
1
+ export * from 'antd/lib/theme/internal';
2
+ export * from 'antd/lib/theme';
3
3
  declare const _default: {
4
4
  defaultSeed: {
5
5
  colorPrimary: string;
6
- colorInfo: string;
7
6
  colorSuccess: string;
8
7
  colorWarning: string;
9
8
  colorError: string;
10
- borderRadius: number;
11
- blue: string;
12
- green: string;
13
- yellow: string;
14
- red: string;
9
+ colorInfo: string;
15
10
  colorTextBase: string;
16
11
  colorBgBase: string;
17
12
  colorLink: string;
@@ -20,6 +15,7 @@ declare const _default: {
20
15
  fontSize: number;
21
16
  lineWidth: number;
22
17
  lineType: string;
18
+ borderRadius: number;
23
19
  sizeUnit: number;
24
20
  sizeStep: number;
25
21
  sizePopupArrow: number;
@@ -39,11 +35,15 @@ declare const _default: {
39
35
  motionEaseOut: string;
40
36
  wireframe: boolean;
41
37
  motion: boolean;
38
+ blue: string;
42
39
  purple: string;
43
40
  cyan: string;
41
+ green: string;
44
42
  magenta: string;
45
43
  pink: string;
44
+ red: string;
46
45
  orange: string;
46
+ yellow: string;
47
47
  volcano: string;
48
48
  geekblue: string;
49
49
  lime: string;
@@ -56,11 +56,6 @@ declare const _default: {
56
56
  };
57
57
  hashed: boolean;
58
58
  };
59
- components: {
60
- InputNumber: {
61
- handleVisible: true;
62
- };
63
- };
64
59
  useToken: () => {
65
60
  theme: import("@ant-design/cssinjs").Theme<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
66
61
  token: import("antd").GlobalToken;
package/es/theme/index.js CHANGED
@@ -5,31 +5,26 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
7
  import { theme } from 'antd';
8
- export * from 'antd/es/theme/internal';
9
- export * from 'antd/es/theme';
10
- var defaultSeed = _objectSpread(_objectSpread({}, theme.defaultSeed), {}, {
11
- colorPrimary: '#006AFF',
12
- colorInfo: '#006aff',
13
- colorSuccess: '#0ac185',
14
- colorWarning: '#ffac33',
15
- colorError: '#ff4b4b',
16
- borderRadius: 6,
17
- // 以下四种预设颜色和语义色保持一致
18
- blue: '#006aff',
19
- green: '#0ac185',
20
- yellow: '#ffac33',
21
- red: '#ff4b4b'
8
+ import { pick } from 'lodash';
9
+ // umi 插件只能 import 支持 CommonJS 语法库和文件,因此需要使用 lib 产物
10
+
11
+ import defaultTheme from "./default";
12
+ export * from 'antd/lib/theme/internal';
13
+ export * from 'antd/lib/theme';
14
+ var seedTokenKeys = Object.keys(theme.defaultSeed);
15
+ var seedToken = _objectSpread(_objectSpread({}, pick(defaultTheme.token, seedTokenKeys)), {}, {
16
+ // some special seed token should set to ''
17
+ // ref: https://github.com/ant-design/ant-design/blob/master/components/theme/themes/seed.ts#L32
18
+ colorBgBase: '',
19
+ colorTextBase: '',
20
+ colorLink: ''
22
21
  });
22
+ var defaultSeed = _objectSpread(_objectSpread({}, theme.defaultSeed), seedToken);
23
23
 
24
24
  // should use reference assign instead of clone assign
25
25
  var defaultConfig = theme.defaultConfig;
26
26
  defaultConfig.token = defaultSeed;
27
27
  export default _objectSpread(_objectSpread({}, theme), {}, {
28
28
  defaultSeed: defaultSeed,
29
- defaultConfig: defaultConfig,
30
- components: {
31
- InputNumber: {
32
- handleVisible: true
33
- }
34
- }
29
+ defaultConfig: defaultConfig
35
30
  });