@fle-ui/next 1.0.5-alpha.4 → 1.0.5-alpha.7

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 (282) hide show
  1. package/dist/@fle-ui/next.css +1815 -5117
  2. package/dist/@fle-ui/next.css.map +1 -1
  3. package/dist/@fle-ui/next.js +6350 -6356
  4. package/dist/@fle-ui/next.js.map +1 -1
  5. package/dist/@fle-ui/next.min.css +3 -3
  6. package/dist/@fle-ui/next.min.css.map +1 -1
  7. package/dist/@fle-ui/next.min.js +5 -5
  8. package/dist/@fle-ui/next.min.js.map +1 -1
  9. package/es/affix/style/index.css +0 -42
  10. package/es/alert/style/index.css +17 -59
  11. package/es/anchor/Anchor.d.ts +1 -1
  12. package/es/anchor/style/index.css +5 -47
  13. package/es/auto-complete/style/index.css +1 -43
  14. package/es/avatar/avatar.js +8 -4
  15. package/es/avatar/style/index.css +1 -43
  16. package/es/back-top/style/index.css +3 -45
  17. package/es/badge/style/index.css +12 -54
  18. package/es/breadcrumb/style/index.css +7 -49
  19. package/es/button/button.d.ts +1 -1
  20. package/es/button/button.js +11 -7
  21. package/es/button/style/index.css +156 -206
  22. package/es/calendar/style/index.css +8 -50
  23. package/es/card/style/index.css +17 -59
  24. package/es/carousel/style/index.css +1 -43
  25. package/es/cascader/index.d.ts +1 -1
  26. package/es/cascader/index.js +13 -9
  27. package/es/cascader/style/index.css +23 -65
  28. package/es/checkbox/Checkbox.js +8 -4
  29. package/es/checkbox/style/index.css +17 -59
  30. package/es/collapse/style/index.css +8 -50
  31. package/es/comment/style/index.css +5 -47
  32. package/es/config-provider/context.js +5 -1
  33. package/es/config-provider/style/index.css +0 -42
  34. package/es/date-picker/style/index.css +84 -126
  35. package/es/descriptions/style/index.css +8 -50
  36. package/es/divider/style/index.css +7 -49
  37. package/es/drawer/index.js +5 -1
  38. package/es/drawer/style/index.css +5 -47
  39. package/es/dropdown/style/index.css +17 -59
  40. package/es/empty/style/index.css +2 -44
  41. package/es/form/style/index.css +17 -59
  42. package/es/grid/col.js +5 -1
  43. package/es/grid/row.js +5 -1
  44. package/es/grid/style/index.css +0 -42
  45. package/es/icon/style/index.css +0 -42
  46. package/es/image/style/index.css +1 -43
  47. package/es/index.d.ts +1 -2
  48. package/es/index.js +1 -2
  49. package/es/input/Password.d.ts +1 -1
  50. package/es/input/Password.js +9 -5
  51. package/es/input/Search.js +9 -5
  52. package/es/input/style/index.css +65 -107
  53. package/es/input-number/index.js +1 -1
  54. package/es/input-number/style/index.css +68 -110
  55. package/es/layout/Sider.js +11 -7
  56. package/es/layout/layout.js +6 -2
  57. package/es/layout/style/index.css +4 -46
  58. package/es/list/style/index.css +17 -59
  59. package/es/locale-provider/index.d.ts +2 -2
  60. package/es/locale-provider/style/index.css +0 -42
  61. package/es/mentions/index.d.ts +1 -1
  62. package/es/mentions/index.js +8 -4
  63. package/es/mentions/style/index.css +32 -74
  64. package/es/menu/style/index.css +44 -86
  65. package/es/message/style/index.css +5 -47
  66. package/es/modal/style/confirm.less +2 -2
  67. package/es/modal/style/css.js +2 -1
  68. package/es/modal/style/index.css +2 -44
  69. package/es/modal/style/index.js +2 -1
  70. package/es/modal/style/index.less +0 -1
  71. package/es/modal/style/rtl.less +2 -1
  72. package/es/notification/style/index.css +8 -50
  73. package/es/page-header/style/index.css +6 -48
  74. package/es/pagination/style/index.css +97 -116
  75. package/es/pagination/style/index.less +64 -21
  76. package/es/popconfirm/style/index.css +0 -42
  77. package/es/popover/index.js +5 -1
  78. package/es/popover/style/index.css +11 -53
  79. package/es/progress/style/index.css +17 -59
  80. package/es/radio/radio.js +9 -5
  81. package/es/radio/style/index.css +49 -91
  82. package/es/rate/index.js +5 -1
  83. package/es/rate/style/index.css +2 -44
  84. package/es/result/style/index.css +6 -48
  85. package/es/segmented/index.d.ts +1 -1
  86. package/es/segmented/index.js +6 -2
  87. package/es/segmented/style/index.css +3 -45
  88. package/es/select/style/index.css +32 -74
  89. package/es/skeleton/style/index.css +10 -52
  90. package/es/skeleton/style/index.less +3 -3
  91. package/es/slider/index.d.ts +1 -1
  92. package/es/slider/index.js +8 -4
  93. package/es/slider/style/index.css +22 -56
  94. package/es/slider/style/index.less +9 -0
  95. package/es/space/style/index.css +0 -42
  96. package/es/spin/style/index.css +4 -46
  97. package/es/statistic/style/index.css +3 -45
  98. package/es/steps/style/index.css +44 -86
  99. package/es/style/color/colors.less +3 -3
  100. package/es/style/index.css +13 -55
  101. package/es/style/themes/default.less +29 -55
  102. package/es/style/themes/index.less +2 -3
  103. package/es/style/themes/variable.less +1 -4
  104. package/es/switch/index.js +10 -6
  105. package/es/switch/style/index.css +6 -48
  106. package/es/table/hooks/useFilter/FilterDropdown.js +2 -16
  107. package/es/table/style/index.css +35 -77
  108. package/es/table/util.d.ts +1 -1
  109. package/es/tabs/style/index.css +22 -64
  110. package/es/tag/index.d.ts +1 -1
  111. package/es/tag/index.js +8 -4
  112. package/es/tag/style/index.css +25 -67
  113. package/es/time-picker/index.js +5 -1
  114. package/es/time-picker/style/index.css +0 -42
  115. package/es/timeline/index.d.ts +2 -2
  116. package/es/timeline/style/index.css +15 -57
  117. package/es/tooltip/index.d.ts +3 -3
  118. package/es/tooltip/index.js +9 -5
  119. package/es/tooltip/style/index.css +6 -48
  120. package/es/transfer/index.d.ts +3 -3
  121. package/es/transfer/style/index.css +28 -70
  122. package/es/tree/DirectoryTree.js +5 -1
  123. package/es/tree/index.d.ts +2 -2
  124. package/es/tree/style/index.css +29 -71
  125. package/es/tree-select/style/index.css +27 -69
  126. package/es/typography/Typography.js +6 -2
  127. package/es/typography/style/index.css +23 -65
  128. package/es/upload/Dragger.js +5 -1
  129. package/es/upload/Upload.js +10 -6
  130. package/es/upload/UploadList/index.js +13 -9
  131. package/es/upload/index.d.ts +1 -1
  132. package/es/upload/style/index.css +23 -65
  133. package/lib/affix/style/index.css +0 -42
  134. package/lib/alert/style/index.css +17 -59
  135. package/lib/anchor/Anchor.d.ts +1 -1
  136. package/lib/anchor/style/index.css +5 -47
  137. package/lib/auto-complete/style/index.css +1 -43
  138. package/lib/avatar/avatar.js +9 -5
  139. package/lib/avatar/style/index.css +1 -43
  140. package/lib/back-top/style/index.css +3 -45
  141. package/lib/badge/style/index.css +12 -54
  142. package/lib/breadcrumb/style/index.css +7 -49
  143. package/lib/button/button.d.ts +1 -1
  144. package/lib/button/button.js +13 -9
  145. package/lib/button/style/index.css +156 -206
  146. package/lib/calendar/style/index.css +8 -50
  147. package/lib/card/style/index.css +17 -59
  148. package/lib/carousel/style/index.css +1 -43
  149. package/lib/cascader/index.d.ts +1 -1
  150. package/lib/cascader/index.js +16 -12
  151. package/lib/cascader/style/index.css +23 -65
  152. package/lib/checkbox/Checkbox.js +10 -6
  153. package/lib/checkbox/style/index.css +17 -59
  154. package/lib/collapse/style/index.css +8 -50
  155. package/lib/comment/style/index.css +5 -47
  156. package/lib/config-provider/context.js +5 -1
  157. package/lib/config-provider/style/index.css +0 -42
  158. package/lib/date-picker/style/index.css +84 -126
  159. package/lib/descriptions/style/index.css +8 -50
  160. package/lib/divider/style/index.css +7 -49
  161. package/lib/drawer/index.js +5 -1
  162. package/lib/drawer/style/index.css +5 -47
  163. package/lib/dropdown/style/index.css +17 -59
  164. package/lib/empty/style/index.css +2 -44
  165. package/lib/form/style/index.css +17 -59
  166. package/lib/grid/col.js +5 -1
  167. package/lib/grid/row.js +5 -1
  168. package/lib/grid/style/index.css +0 -42
  169. package/lib/icon/style/index.css +0 -42
  170. package/lib/image/style/index.css +1 -43
  171. package/lib/index.d.ts +1 -2
  172. package/lib/index.js +0 -8
  173. package/lib/input/Password.d.ts +1 -1
  174. package/lib/input/Password.js +10 -6
  175. package/lib/input/Search.js +11 -7
  176. package/lib/input/style/index.css +65 -107
  177. package/lib/input-number/index.js +1 -1
  178. package/lib/input-number/style/index.css +68 -110
  179. package/lib/layout/Sider.js +13 -9
  180. package/lib/layout/layout.js +7 -3
  181. package/lib/layout/style/index.css +4 -46
  182. package/lib/list/style/index.css +17 -59
  183. package/lib/locale-provider/index.d.ts +2 -2
  184. package/lib/locale-provider/style/index.css +0 -42
  185. package/lib/mentions/index.d.ts +1 -1
  186. package/lib/mentions/index.js +10 -6
  187. package/lib/mentions/style/index.css +32 -74
  188. package/lib/menu/style/index.css +44 -86
  189. package/lib/message/style/index.css +5 -47
  190. package/lib/modal/style/confirm.less +2 -2
  191. package/lib/modal/style/index.css +2 -44
  192. package/lib/modal/style/index.less +0 -1
  193. package/lib/modal/style/rtl.less +2 -1
  194. package/lib/notification/style/index.css +8 -50
  195. package/lib/page-header/style/index.css +6 -48
  196. package/lib/pagination/style/index.css +97 -116
  197. package/lib/pagination/style/index.less +64 -21
  198. package/lib/popconfirm/style/index.css +0 -42
  199. package/lib/popover/index.js +5 -1
  200. package/lib/popover/style/index.css +11 -53
  201. package/lib/progress/style/index.css +17 -59
  202. package/lib/radio/radio.js +11 -7
  203. package/lib/radio/style/index.css +49 -91
  204. package/lib/rate/index.js +5 -1
  205. package/lib/rate/style/index.css +2 -44
  206. package/lib/result/style/index.css +6 -48
  207. package/lib/segmented/index.d.ts +1 -1
  208. package/lib/segmented/index.js +7 -3
  209. package/lib/segmented/style/index.css +3 -45
  210. package/lib/select/style/index.css +32 -74
  211. package/lib/skeleton/style/index.css +10 -52
  212. package/lib/skeleton/style/index.less +3 -3
  213. package/lib/slider/index.d.ts +1 -1
  214. package/lib/slider/index.js +9 -5
  215. package/lib/slider/style/index.css +22 -56
  216. package/lib/slider/style/index.less +9 -0
  217. package/lib/space/style/index.css +0 -42
  218. package/lib/spin/style/index.css +4 -46
  219. package/lib/statistic/style/index.css +3 -45
  220. package/lib/steps/style/index.css +44 -86
  221. package/lib/style/color/colors.less +3 -3
  222. package/lib/style/index.css +13 -55
  223. package/lib/style/themes/default.less +29 -55
  224. package/lib/style/themes/index.less +2 -3
  225. package/lib/style/themes/variable.less +1 -4
  226. package/lib/switch/index.js +12 -8
  227. package/lib/switch/style/index.css +6 -48
  228. package/lib/table/hooks/useFilter/FilterDropdown.js +2 -16
  229. package/lib/table/style/index.css +35 -77
  230. package/lib/table/util.d.ts +1 -1
  231. package/lib/tabs/style/index.css +22 -64
  232. package/lib/tag/index.d.ts +1 -1
  233. package/lib/tag/index.js +9 -5
  234. package/lib/tag/style/index.css +25 -67
  235. package/lib/time-picker/index.js +5 -1
  236. package/lib/time-picker/style/index.css +0 -42
  237. package/lib/timeline/index.d.ts +2 -2
  238. package/lib/timeline/style/index.css +15 -57
  239. package/lib/tooltip/index.d.ts +3 -3
  240. package/lib/tooltip/index.js +11 -7
  241. package/lib/tooltip/style/index.css +6 -48
  242. package/lib/transfer/index.d.ts +3 -3
  243. package/lib/transfer/style/index.css +28 -70
  244. package/lib/tree/DirectoryTree.js +5 -1
  245. package/lib/tree/index.d.ts +2 -2
  246. package/lib/tree/style/index.css +29 -71
  247. package/lib/tree-select/style/index.css +27 -69
  248. package/lib/typography/Typography.js +7 -3
  249. package/lib/typography/style/index.css +23 -65
  250. package/lib/upload/Dragger.js +5 -1
  251. package/lib/upload/Upload.js +12 -8
  252. package/lib/upload/UploadList/index.js +16 -12
  253. package/lib/upload/index.d.ts +1 -1
  254. package/lib/upload/style/index.css +23 -65
  255. package/package.json +2 -2
  256. package/report.html +2 -2
  257. package/es/config-provider/renderEmpty.d.ts +0 -4
  258. package/es/config-provider/renderEmpty.js +0 -41
  259. package/es/pagination/MiniSelect.d.ts +0 -7
  260. package/es/pagination/MiniSelect.js +0 -12
  261. package/es/typography/util.d.ts +0 -11
  262. package/es/typography/util.js +0 -234
  263. package/es/version/index.d.ts +0 -2
  264. package/es/version/index.js +0 -4
  265. package/es/version/style/css.js +0 -2
  266. package/es/version/style/index.d.ts +0 -1
  267. package/es/version/style/index.js +0 -2
  268. package/es/version/version.d.ts +0 -2
  269. package/es/version/version.js +0 -1
  270. package/lib/config-provider/renderEmpty.d.ts +0 -4
  271. package/lib/config-provider/renderEmpty.js +0 -59
  272. package/lib/pagination/MiniSelect.d.ts +0 -7
  273. package/lib/pagination/MiniSelect.js +0 -30
  274. package/lib/typography/util.d.ts +0 -11
  275. package/lib/typography/util.js +0 -254
  276. package/lib/version/index.d.ts +0 -2
  277. package/lib/version/index.js +0 -15
  278. package/lib/version/style/css.js +0 -3
  279. package/lib/version/style/index.d.ts +0 -1
  280. package/lib/version/style/index.js +0 -3
  281. package/lib/version/version.d.ts +0 -2
  282. package/lib/version/version.js +0 -8
@@ -2,59 +2,17 @@
2
2
  /* stylelint-disable no-duplicate-selectors */
3
3
  /* stylelint-disable */
4
4
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
- html {
6
- --ant-primary-color: #2c68ff;
7
- --ant-primary-color-hover: #548aff;
8
- --ant-primary-color-active: #1a4ad9;
9
- --ant-primary-color-outline: rgba(44, 104, 255, 0.2);
10
- --ant-primary-1: #f0f7ff;
11
- --ant-primary-2: #cfe3ff;
12
- --ant-primary-3: #a6c8ff;
13
- --ant-primary-4: #7daaff;
14
- --ant-primary-5: #548aff;
15
- --ant-primary-6: #2c68ff;
16
- --ant-primary-7: #1a4ad9;
17
- --ant-primary-color-deprecated-pure: ;
18
- --ant-primary-color-deprecated-l-35: #dfe8ff;
19
- --ant-primary-color-deprecated-l-20: #92b1ff;
20
- --ant-primary-color-deprecated-t-20: #5686ff;
21
- --ant-primary-color-deprecated-t-50: #96b4ff;
22
- --ant-primary-color-deprecated-f-12: rgba(44, 104, 255, 0.12);
23
- --ant-primary-color-active-deprecated-f-30: rgba(240, 247, 255, 0.3);
24
- --ant-primary-color-active-deprecated-d-02: #e6f2ff;
25
- --ant-success-color: #36c626;
26
- --ant-success-color-hover: #5cd44a;
27
- --ant-success-color-active: #20a116;
28
- --ant-success-color-outline: rgba(54, 198, 38, 0.2);
29
- --ant-success-color-deprecated-bg: #f4fff0;
30
- --ant-success-color-deprecated-border: #afed9f;
31
- --ant-error-color: #ff5c57;
32
- --ant-error-color-hover: #ff8880;
33
- --ant-error-color-active: #d93f3f;
34
- --ant-error-color-outline: rgba(255, 92, 87, 0.2);
35
- --ant-error-color-deprecated-bg: #fff3f0;
36
- --ant-error-color-deprecated-border: #ffd7d1;
37
- --ant-warning-color: #ffab00;
38
- --ant-warning-color-hover: #ffbf29;
39
- --ant-warning-color-active: #d98900;
40
- --ant-warning-color-outline: rgba(255, 171, 0, 0.2);
41
- --ant-warning-color-deprecated-bg: #fffbe6;
42
- --ant-warning-color-deprecated-border: #ffe07a;
43
- --ant-info-color: #2c68ff;
44
- --ant-info-color-deprecated-bg: #f0f7ff;
45
- --ant-info-color-deprecated-border: #a6c8ff;
46
- }
47
5
  .ant-input-number-affix-wrapper {
48
6
  display: inline-block;
49
7
  width: 100%;
50
8
  min-width: 0;
51
9
  padding: 4px 11px;
52
- color: rgba(0, 0, 0, 0.85);
10
+ color: #4c4c4c;
53
11
  font-size: 14px;
54
12
  line-height: 1.5715;
55
13
  background-color: #fff;
56
14
  background-image: none;
57
- border: 1px solid #d9d9d9;
15
+ border: 1px solid #d2d2d2;
58
16
  border-radius: 4px;
59
17
  transition: all 0.3s;
60
18
  /* stylelint-disable-next-line selector-no-vendor-prefix */
@@ -90,38 +48,38 @@ html {
90
48
  text-overflow: ellipsis;
91
49
  }
92
50
  .ant-input-number-affix-wrapper:hover {
93
- border-color: var(--ant-primary-5);
51
+ border-color: #548aff;
94
52
  border-right-width: 1px;
95
53
  }
96
54
  .ant-input-number-affix-wrapper:focus,
97
55
  .ant-input-number-affix-wrapper-focused {
98
- border-color: var(--ant-primary-color-hover);
99
- box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
56
+ border-color: #548aff;
57
+ box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
100
58
  border-right-width: 1px;
101
59
  outline: 0;
102
60
  }
103
61
  .ant-input-number-affix-wrapper-disabled {
104
- color: rgba(0, 0, 0, 0.25);
105
- background-color: #f5f5f5;
106
- border-color: #d9d9d9;
62
+ color: #a9a9a9;
63
+ background-color: #f1f1f1;
64
+ border-color: #d2d2d2;
107
65
  box-shadow: none;
108
66
  cursor: not-allowed;
109
67
  opacity: 1;
110
68
  }
111
69
  .ant-input-number-affix-wrapper-disabled:hover {
112
- border-color: #d9d9d9;
70
+ border-color: #d2d2d2;
113
71
  border-right-width: 1px;
114
72
  }
115
73
  .ant-input-number-affix-wrapper[disabled] {
116
- color: rgba(0, 0, 0, 0.25);
117
- background-color: #f5f5f5;
118
- border-color: #d9d9d9;
74
+ color: #a9a9a9;
75
+ background-color: #f1f1f1;
76
+ border-color: #d2d2d2;
119
77
  box-shadow: none;
120
78
  cursor: not-allowed;
121
79
  opacity: 1;
122
80
  }
123
81
  .ant-input-number-affix-wrapper[disabled]:hover {
124
- border-color: #d9d9d9;
82
+ border-color: #d2d2d2;
125
83
  border-right-width: 1px;
126
84
  }
127
85
  .ant-input-number-affix-wrapper-borderless,
@@ -150,7 +108,7 @@ textarea.ant-input-number-affix-wrapper {
150
108
  padding: 0px 7px;
151
109
  }
152
110
  .ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover {
153
- border-color: var(--ant-primary-5);
111
+ border-color: #548aff;
154
112
  border-right-width: 1px;
155
113
  z-index: 1;
156
114
  }
@@ -206,70 +164,70 @@ textarea.ant-input-number-affix-wrapper {
206
164
  .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,
207
165
  .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {
208
166
  background: #fff;
209
- border-color: var(--ant-error-color);
167
+ border-color: #f42d2d;
210
168
  }
211
169
  .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus,
212
170
  .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {
213
- border-color: var(--ant-error-color-hover);
214
- box-shadow: 0 0 0 2px var(--ant-error-color-outline);
171
+ border-color: #ff5c57;
172
+ box-shadow: 0 0 0 2px rgba(244, 45, 45, 0.2);
215
173
  border-right-width: 1px;
216
174
  outline: 0;
217
175
  }
218
176
  .ant-input-number-status-error .ant-input-number-prefix {
219
- color: var(--ant-error-color);
177
+ color: #f42d2d;
220
178
  }
221
179
  .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,
222
180
  .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {
223
181
  background: #fff;
224
- border-color: var(--ant-warning-color);
182
+ border-color: #ffab00;
225
183
  }
226
184
  .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus,
227
185
  .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {
228
- border-color: var(--ant-warning-color-hover);
229
- box-shadow: 0 0 0 2px var(--ant-warning-color-outline);
186
+ border-color: #ffbf29;
187
+ box-shadow: 0 0 0 2px rgba(255, 171, 0, 0.2);
230
188
  border-right-width: 1px;
231
189
  outline: 0;
232
190
  }
233
191
  .ant-input-number-status-warning .ant-input-number-prefix {
234
- color: var(--ant-warning-color);
192
+ color: #ffab00;
235
193
  }
236
194
  .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,
237
195
  .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {
238
196
  background: #fff;
239
- border-color: var(--ant-error-color);
197
+ border-color: #f42d2d;
240
198
  }
241
199
  .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus,
242
200
  .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {
243
- border-color: var(--ant-error-color-hover);
244
- box-shadow: 0 0 0 2px var(--ant-error-color-outline);
201
+ border-color: #ff5c57;
202
+ box-shadow: 0 0 0 2px rgba(244, 45, 45, 0.2);
245
203
  border-right-width: 1px;
246
204
  outline: 0;
247
205
  }
248
206
  .ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {
249
- color: var(--ant-error-color);
207
+ color: #f42d2d;
250
208
  }
251
209
  .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,
252
210
  .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {
253
211
  background: #fff;
254
- border-color: var(--ant-warning-color);
212
+ border-color: #ffab00;
255
213
  }
256
214
  .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus,
257
215
  .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {
258
- border-color: var(--ant-warning-color-hover);
259
- box-shadow: 0 0 0 2px var(--ant-warning-color-outline);
216
+ border-color: #ffbf29;
217
+ box-shadow: 0 0 0 2px rgba(255, 171, 0, 0.2);
260
218
  border-right-width: 1px;
261
219
  outline: 0;
262
220
  }
263
221
  .ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {
264
- color: var(--ant-warning-color);
222
+ color: #ffab00;
265
223
  }
266
224
  .ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {
267
- color: var(--ant-error-color);
268
- border-color: var(--ant-error-color);
225
+ color: #f42d2d;
226
+ border-color: #f42d2d;
269
227
  }
270
228
  .ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {
271
- color: var(--ant-warning-color);
272
- border-color: var(--ant-warning-color);
229
+ color: #ffab00;
230
+ border-color: #ffab00;
273
231
  }
274
232
  .ant-input-number {
275
233
  box-sizing: border-box;
@@ -280,7 +238,7 @@ textarea.ant-input-number-affix-wrapper {
280
238
  width: 100%;
281
239
  min-width: 0;
282
240
  padding: 4px 11px;
283
- color: rgba(0, 0, 0, 0.85);
241
+ color: #4c4c4c;
284
242
  font-size: 14px;
285
243
  line-height: 1.5715;
286
244
  background-color: #fff;
@@ -291,7 +249,7 @@ textarea.ant-input-number-affix-wrapper {
291
249
  width: 90px;
292
250
  margin: 0;
293
251
  padding: 0;
294
- border: 1px solid #d9d9d9;
252
+ border: 1px solid #d2d2d2;
295
253
  border-radius: 4px;
296
254
  }
297
255
  .ant-input-number::-moz-placeholder {
@@ -319,38 +277,38 @@ textarea.ant-input-number-affix-wrapper {
319
277
  text-overflow: ellipsis;
320
278
  }
321
279
  .ant-input-number:hover {
322
- border-color: var(--ant-primary-5);
280
+ border-color: #548aff;
323
281
  border-right-width: 1px;
324
282
  }
325
283
  .ant-input-number:focus,
326
284
  .ant-input-number-focused {
327
- border-color: var(--ant-primary-color-hover);
328
- box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
285
+ border-color: #548aff;
286
+ box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
329
287
  border-right-width: 1px;
330
288
  outline: 0;
331
289
  }
332
290
  .ant-input-number-disabled {
333
- color: rgba(0, 0, 0, 0.25);
334
- background-color: #f5f5f5;
335
- border-color: #d9d9d9;
291
+ color: #a9a9a9;
292
+ background-color: #f1f1f1;
293
+ border-color: #d2d2d2;
336
294
  box-shadow: none;
337
295
  cursor: not-allowed;
338
296
  opacity: 1;
339
297
  }
340
298
  .ant-input-number-disabled:hover {
341
- border-color: #d9d9d9;
299
+ border-color: #d2d2d2;
342
300
  border-right-width: 1px;
343
301
  }
344
302
  .ant-input-number[disabled] {
345
- color: rgba(0, 0, 0, 0.25);
346
- background-color: #f5f5f5;
347
- border-color: #d9d9d9;
303
+ color: #a9a9a9;
304
+ background-color: #f1f1f1;
305
+ border-color: #d2d2d2;
348
306
  box-shadow: none;
349
307
  cursor: not-allowed;
350
308
  opacity: 1;
351
309
  }
352
310
  .ant-input-number[disabled]:hover {
353
- border-color: #d9d9d9;
311
+ border-color: #d2d2d2;
354
312
  border-right-width: 1px;
355
313
  }
356
314
  .ant-input-number-borderless,
@@ -382,7 +340,7 @@ textarea.ant-input-number {
382
340
  box-sizing: border-box;
383
341
  margin: 0;
384
342
  padding: 0;
385
- color: rgba(0, 0, 0, 0.85);
343
+ color: #4c4c4c;
386
344
  font-size: 14px;
387
345
  font-variant: tabular-nums;
388
346
  line-height: 1.5715;
@@ -444,12 +402,12 @@ textarea.ant-input-number {
444
402
  .ant-input-number-group-addon {
445
403
  position: relative;
446
404
  padding: 0 11px;
447
- color: rgba(0, 0, 0, 0.85);
405
+ color: #4c4c4c;
448
406
  font-weight: normal;
449
407
  font-size: 14px;
450
408
  text-align: center;
451
409
  background-color: #fafafa;
452
- border: 1px solid #d9d9d9;
410
+ border: 1px solid #d2d2d2;
453
411
  border-radius: 4px;
454
412
  transition: all 0.3s;
455
413
  }
@@ -463,7 +421,7 @@ textarea.ant-input-number {
463
421
  }
464
422
  .ant-input-number-group-addon .ant-select-open .ant-select-selector,
465
423
  .ant-input-number-group-addon .ant-select-focused .ant-select-selector {
466
- color: var(--ant-primary-color);
424
+ color: #2c68ff;
467
425
  }
468
426
  .ant-input-number-group-addon .ant-cascader-picker {
469
427
  margin: -9px -12px;
@@ -644,13 +602,13 @@ textarea.ant-input-number {
644
602
  border-radius: 4px 0 0 4px;
645
603
  }
646
604
  .ant-input-number-group-rtl .ant-input-number-group-addon:first-child {
647
- border-right: 1px solid #d9d9d9;
605
+ border-right: 1px solid #d2d2d2;
648
606
  border-left: 0;
649
607
  border-radius: 0 4px 4px 0;
650
608
  }
651
609
  .ant-input-number-group-rtl .ant-input-number-group-addon:last-child {
652
610
  border-right: 0;
653
- border-left: 1px solid #d9d9d9;
611
+ border-left: 1px solid #d2d2d2;
654
612
  border-radius: 4px 0 0 4px;
655
613
  }
656
614
  .ant-input-number-group-wrapper {
@@ -664,11 +622,11 @@ textarea.ant-input-number {
664
622
  width: 100%;
665
623
  height: 50%;
666
624
  overflow: hidden;
667
- color: rgba(0, 0, 0, 0.45);
625
+ color: #a9a9a9;
668
626
  font-weight: bold;
669
627
  line-height: 0;
670
628
  text-align: center;
671
- border-left: 1px solid #d9d9d9;
629
+ border-left: 1px solid #d2d2d2;
672
630
  transition: all 0.1s linear;
673
631
  }
674
632
  .ant-input-number-handler:active {
@@ -676,7 +634,7 @@ textarea.ant-input-number {
676
634
  }
677
635
  .ant-input-number-handler:hover .ant-input-number-handler-up-inner,
678
636
  .ant-input-number-handler:hover .ant-input-number-handler-down-inner {
679
- color: var(--ant-primary-5);
637
+ color: #548aff;
680
638
  }
681
639
  .ant-input-number-handler-up-inner,
682
640
  .ant-input-number-handler-down-inner {
@@ -694,7 +652,7 @@ textarea.ant-input-number {
694
652
  right: 4px;
695
653
  width: 12px;
696
654
  height: 12px;
697
- color: rgba(0, 0, 0, 0.45);
655
+ color: #a9a9a9;
698
656
  line-height: 12px;
699
657
  transition: all 0.1s linear;
700
658
  -webkit-user-select: none;
@@ -721,7 +679,7 @@ textarea.ant-input-number {
721
679
  display: block;
722
680
  }
723
681
  .ant-input-number:hover {
724
- border-color: var(--ant-primary-5);
682
+ border-color: #548aff;
725
683
  border-right-width: 1px;
726
684
  }
727
685
  .ant-input-number:hover + .ant-form-item-children-icon {
@@ -729,21 +687,21 @@ textarea.ant-input-number {
729
687
  transition: opacity 0.24s linear 0.24s;
730
688
  }
731
689
  .ant-input-number-focused {
732
- border-color: var(--ant-primary-color-hover);
733
- box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
690
+ border-color: #548aff;
691
+ box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
734
692
  border-right-width: 1px;
735
693
  outline: 0;
736
694
  }
737
695
  .ant-input-number-disabled {
738
- color: rgba(0, 0, 0, 0.25);
739
- background-color: #f5f5f5;
740
- border-color: #d9d9d9;
696
+ color: #a9a9a9;
697
+ background-color: #f1f1f1;
698
+ border-color: #d2d2d2;
741
699
  box-shadow: none;
742
700
  cursor: not-allowed;
743
701
  opacity: 1;
744
702
  }
745
703
  .ant-input-number-disabled:hover {
746
- border-color: #d9d9d9;
704
+ border-color: #d2d2d2;
747
705
  border-right-width: 1px;
748
706
  }
749
707
  .ant-input-number-disabled .ant-input-number-input {
@@ -859,7 +817,7 @@ textarea.ant-input-number {
859
817
  }
860
818
  .ant-input-number-handler-down {
861
819
  top: 0;
862
- border-top: 1px solid #d9d9d9;
820
+ border-top: 1px solid #d2d2d2;
863
821
  border-bottom-right-radius: 4px;
864
822
  cursor: pointer;
865
823
  }
@@ -880,19 +838,19 @@ textarea.ant-input-number {
880
838
  }
881
839
  .ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,
882
840
  .ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner {
883
- color: rgba(0, 0, 0, 0.25);
841
+ color: #a9a9a9;
884
842
  }
885
843
  .ant-input-number-borderless {
886
844
  box-shadow: none;
887
845
  }
888
846
  .ant-input-number-out-of-range input {
889
- color: var(--ant-error-color);
847
+ color: #f42d2d;
890
848
  }
891
849
  .ant-input-number-rtl {
892
850
  direction: rtl;
893
851
  }
894
852
  .ant-input-number-rtl .ant-input-number-handler {
895
- border-right: 1px solid #d9d9d9;
853
+ border-right: 1px solid #d2d2d2;
896
854
  border-left: 0;
897
855
  }
898
856
  .ant-input-number-rtl .ant-input-number-handler-wrap {
@@ -2,16 +2,16 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
3
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
4
4
  import { __rest } from "tslib";
5
- import * as React from 'react';
6
- import { useContext, useRef, useState, useEffect } from 'react';
7
- import classNames from 'classnames';
8
- import omit from "rc-util/es/omit";
9
5
  import BarsOutlined from "@ant-design/icons/es/icons/BarsOutlined";
10
- import RightOutlined from "@ant-design/icons/es/icons/RightOutlined";
11
6
  import LeftOutlined from "@ant-design/icons/es/icons/LeftOutlined";
12
- import { LayoutContext } from './layout';
7
+ import RightOutlined from "@ant-design/icons/es/icons/RightOutlined";
8
+ import classNames from 'classnames';
9
+ import omit from "rc-util/es/omit";
10
+ import * as React from 'react';
11
+ import { useContext, useEffect, useRef, useState } from 'react';
13
12
  import { ConfigContext } from '../config-provider';
14
13
  import isNumeric from '../_util/isNumeric';
14
+ import { LayoutContext } from './layout';
15
15
  var dimensionMaxMap = {
16
16
  xs: '479.98px',
17
17
  sm: '575.98px',
@@ -198,5 +198,9 @@ var Sider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
198
198
  value: contextValue
199
199
  }, renderSider());
200
200
  });
201
- Sider.displayName = 'Sider';
201
+
202
+ if (process.env.NODE_ENV !== 'production') {
203
+ Sider.displayName = 'Sider';
204
+ }
205
+
202
206
  export default Sider;
@@ -3,8 +3,8 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
4
4
  import _extends from "@babel/runtime/helpers/esm/extends";
5
5
  import { __rest } from "tslib";
6
- import * as React from 'react';
7
6
  import classNames from 'classnames';
7
+ import * as React from 'react';
8
8
  import { ConfigContext } from '../config-provider';
9
9
  export var LayoutContext = /*#__PURE__*/React.createContext({
10
10
  siderHook: {
@@ -34,7 +34,11 @@ function generator(_ref) {
34
34
  tagName: tagName
35
35
  }, props));
36
36
  });
37
- Adapter.displayName = displayName;
37
+
38
+ if (process.env.NODE_ENV !== 'production') {
39
+ Adapter.displayName = displayName;
40
+ }
41
+
38
42
  return Adapter;
39
43
  };
40
44
  }
@@ -2,48 +2,6 @@
2
2
  /* stylelint-disable no-duplicate-selectors */
3
3
  /* stylelint-disable */
4
4
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5
- html {
6
- --ant-primary-color: #2c68ff;
7
- --ant-primary-color-hover: #548aff;
8
- --ant-primary-color-active: #1a4ad9;
9
- --ant-primary-color-outline: rgba(44, 104, 255, 0.2);
10
- --ant-primary-1: #f0f7ff;
11
- --ant-primary-2: #cfe3ff;
12
- --ant-primary-3: #a6c8ff;
13
- --ant-primary-4: #7daaff;
14
- --ant-primary-5: #548aff;
15
- --ant-primary-6: #2c68ff;
16
- --ant-primary-7: #1a4ad9;
17
- --ant-primary-color-deprecated-pure: ;
18
- --ant-primary-color-deprecated-l-35: #dfe8ff;
19
- --ant-primary-color-deprecated-l-20: #92b1ff;
20
- --ant-primary-color-deprecated-t-20: #5686ff;
21
- --ant-primary-color-deprecated-t-50: #96b4ff;
22
- --ant-primary-color-deprecated-f-12: rgba(44, 104, 255, 0.12);
23
- --ant-primary-color-active-deprecated-f-30: rgba(240, 247, 255, 0.3);
24
- --ant-primary-color-active-deprecated-d-02: #e6f2ff;
25
- --ant-success-color: #36c626;
26
- --ant-success-color-hover: #5cd44a;
27
- --ant-success-color-active: #20a116;
28
- --ant-success-color-outline: rgba(54, 198, 38, 0.2);
29
- --ant-success-color-deprecated-bg: #f4fff0;
30
- --ant-success-color-deprecated-border: #afed9f;
31
- --ant-error-color: #ff5c57;
32
- --ant-error-color-hover: #ff8880;
33
- --ant-error-color-active: #d93f3f;
34
- --ant-error-color-outline: rgba(255, 92, 87, 0.2);
35
- --ant-error-color-deprecated-bg: #fff3f0;
36
- --ant-error-color-deprecated-border: #ffd7d1;
37
- --ant-warning-color: #ffab00;
38
- --ant-warning-color-hover: #ffbf29;
39
- --ant-warning-color-active: #d98900;
40
- --ant-warning-color-outline: rgba(255, 171, 0, 0.2);
41
- --ant-warning-color-deprecated-bg: #fffbe6;
42
- --ant-warning-color-deprecated-border: #ffe07a;
43
- --ant-info-color: #2c68ff;
44
- --ant-info-color-deprecated-bg: #f0f7ff;
45
- --ant-info-color-deprecated-border: #a6c8ff;
46
- }
47
5
  .ant-layout {
48
6
  display: flex;
49
7
  flex: auto;
@@ -70,13 +28,13 @@ html {
70
28
  .ant-layout-header {
71
29
  height: 64px;
72
30
  padding: 0 50px;
73
- color: rgba(0, 0, 0, 0.85);
31
+ color: #4c4c4c;
74
32
  line-height: 64px;
75
33
  background: #001529;
76
34
  }
77
35
  .ant-layout-footer {
78
36
  padding: 24px 50px;
79
- color: rgba(0, 0, 0, 0.85);
37
+ color: #4c4c4c;
80
38
  font-size: 14px;
81
39
  background: #f0f2f5;
82
40
  }
@@ -158,11 +116,11 @@ html {
158
116
  background: #fff;
159
117
  }
160
118
  .ant-layout-sider-light .ant-layout-sider-trigger {
161
- color: rgba(0, 0, 0, 0.85);
119
+ color: #4c4c4c;
162
120
  background: #fff;
163
121
  }
164
122
  .ant-layout-sider-light .ant-layout-sider-zero-width-trigger {
165
- color: rgba(0, 0, 0, 0.85);
123
+ color: #4c4c4c;
166
124
  background: #fff;
167
125
  }
168
126
  .ant-layout-rtl {