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

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 (288) hide show
  1. package/dist/@fle-ui/next.css +1859 -5161
  2. package/dist/@fle-ui/next.css.map +1 -1
  3. package/dist/@fle-ui/next.js +6349 -6355
  4. package/dist/@fle-ui/next.js.map +1 -1
  5. package/dist/@fle-ui/next.min.css +2 -2
  6. package/dist/@fle-ui/next.min.css.map +1 -1
  7. package/dist/@fle-ui/next.min.js +4 -4
  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 +23 -65
  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 +24 -66
  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 +18 -60
  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 +46 -88
  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 +3 -45
  69. package/es/modal/style/index.js +2 -1
  70. package/es/modal/style/index.less +0 -1
  71. package/es/modal/style/modal.less +1 -1
  72. package/es/modal/style/rtl.less +2 -1
  73. package/es/notification/style/index.css +8 -50
  74. package/es/page-header/style/index.css +6 -48
  75. package/es/pagination/style/index.css +99 -118
  76. package/es/pagination/style/index.less +63 -22
  77. package/es/popconfirm/style/index.css +0 -42
  78. package/es/popover/index.js +5 -1
  79. package/es/popover/style/index.css +17 -59
  80. package/es/progress/style/index.css +17 -59
  81. package/es/radio/radio.js +9 -5
  82. package/es/radio/style/index.css +49 -91
  83. package/es/rate/index.js +5 -1
  84. package/es/rate/style/index.css +2 -44
  85. package/es/result/style/index.css +6 -48
  86. package/es/segmented/index.d.ts +1 -1
  87. package/es/segmented/index.js +6 -2
  88. package/es/segmented/style/index.css +3 -45
  89. package/es/select/style/index.css +32 -74
  90. package/es/skeleton/style/index.css +10 -52
  91. package/es/skeleton/style/index.less +3 -3
  92. package/es/slider/index.d.ts +1 -1
  93. package/es/slider/index.js +8 -4
  94. package/es/slider/style/index.css +22 -56
  95. package/es/slider/style/index.less +9 -0
  96. package/es/space/style/index.css +0 -42
  97. package/es/spin/style/index.css +4 -46
  98. package/es/statistic/style/index.css +3 -45
  99. package/es/steps/style/index.css +44 -86
  100. package/es/style/color/colors.less +6 -6
  101. package/es/style/index.css +13 -55
  102. package/es/style/themes/compact.less +6 -12
  103. package/es/style/themes/dark.less +106 -445
  104. package/es/style/themes/default.less +35 -61
  105. package/es/style/themes/index.less +2 -3
  106. package/es/style/themes/variable.less +39 -80
  107. package/es/switch/index.js +10 -6
  108. package/es/switch/style/index.css +6 -48
  109. package/es/table/hooks/useFilter/FilterDropdown.js +2 -16
  110. package/es/table/style/index.css +35 -77
  111. package/es/table/util.d.ts +1 -1
  112. package/es/tabs/style/index.css +22 -64
  113. package/es/tag/index.d.ts +1 -1
  114. package/es/tag/index.js +8 -4
  115. package/es/tag/style/index.css +39 -81
  116. package/es/time-picker/index.js +5 -1
  117. package/es/time-picker/style/index.css +0 -42
  118. package/es/timeline/index.d.ts +2 -2
  119. package/es/timeline/style/index.css +15 -57
  120. package/es/tooltip/index.d.ts +3 -3
  121. package/es/tooltip/index.js +9 -5
  122. package/es/tooltip/style/index.css +12 -54
  123. package/es/transfer/index.d.ts +3 -3
  124. package/es/transfer/style/index.css +28 -70
  125. package/es/tree/DirectoryTree.js +5 -1
  126. package/es/tree/index.d.ts +2 -2
  127. package/es/tree/style/index.css +29 -71
  128. package/es/tree-select/style/index.css +27 -69
  129. package/es/typography/Typography.js +6 -2
  130. package/es/typography/style/index.css +24 -66
  131. package/es/upload/Dragger.js +5 -1
  132. package/es/upload/Upload.js +10 -6
  133. package/es/upload/UploadList/index.js +13 -9
  134. package/es/upload/index.d.ts +1 -1
  135. package/es/upload/style/index.css +23 -65
  136. package/lib/affix/style/index.css +0 -42
  137. package/lib/alert/style/index.css +17 -59
  138. package/lib/anchor/Anchor.d.ts +1 -1
  139. package/lib/anchor/style/index.css +5 -47
  140. package/lib/auto-complete/style/index.css +1 -43
  141. package/lib/avatar/avatar.js +9 -5
  142. package/lib/avatar/style/index.css +1 -43
  143. package/lib/back-top/style/index.css +3 -45
  144. package/lib/badge/style/index.css +23 -65
  145. package/lib/breadcrumb/style/index.css +7 -49
  146. package/lib/button/button.d.ts +1 -1
  147. package/lib/button/button.js +13 -9
  148. package/lib/button/style/index.css +156 -206
  149. package/lib/calendar/style/index.css +8 -50
  150. package/lib/card/style/index.css +17 -59
  151. package/lib/carousel/style/index.css +1 -43
  152. package/lib/cascader/index.d.ts +1 -1
  153. package/lib/cascader/index.js +16 -12
  154. package/lib/cascader/style/index.css +24 -66
  155. package/lib/checkbox/Checkbox.js +10 -6
  156. package/lib/checkbox/style/index.css +17 -59
  157. package/lib/collapse/style/index.css +8 -50
  158. package/lib/comment/style/index.css +5 -47
  159. package/lib/config-provider/context.js +5 -1
  160. package/lib/config-provider/style/index.css +0 -42
  161. package/lib/date-picker/style/index.css +84 -126
  162. package/lib/descriptions/style/index.css +8 -50
  163. package/lib/divider/style/index.css +7 -49
  164. package/lib/drawer/index.js +5 -1
  165. package/lib/drawer/style/index.css +5 -47
  166. package/lib/dropdown/style/index.css +17 -59
  167. package/lib/empty/style/index.css +2 -44
  168. package/lib/form/style/index.css +18 -60
  169. package/lib/grid/col.js +5 -1
  170. package/lib/grid/row.js +5 -1
  171. package/lib/grid/style/index.css +0 -42
  172. package/lib/icon/style/index.css +0 -42
  173. package/lib/image/style/index.css +1 -43
  174. package/lib/index.d.ts +1 -2
  175. package/lib/index.js +0 -8
  176. package/lib/input/Password.d.ts +1 -1
  177. package/lib/input/Password.js +10 -6
  178. package/lib/input/Search.js +11 -7
  179. package/lib/input/style/index.css +65 -107
  180. package/lib/input-number/index.js +1 -1
  181. package/lib/input-number/style/index.css +68 -110
  182. package/lib/layout/Sider.js +13 -9
  183. package/lib/layout/layout.js +7 -3
  184. package/lib/layout/style/index.css +4 -46
  185. package/lib/list/style/index.css +17 -59
  186. package/lib/locale-provider/index.d.ts +2 -2
  187. package/lib/locale-provider/style/index.css +0 -42
  188. package/lib/mentions/index.d.ts +1 -1
  189. package/lib/mentions/index.js +10 -6
  190. package/lib/mentions/style/index.css +32 -74
  191. package/lib/menu/style/index.css +46 -88
  192. package/lib/message/style/index.css +5 -47
  193. package/lib/modal/style/confirm.less +2 -2
  194. package/lib/modal/style/index.css +3 -45
  195. package/lib/modal/style/index.less +0 -1
  196. package/lib/modal/style/modal.less +1 -1
  197. package/lib/modal/style/rtl.less +2 -1
  198. package/lib/notification/style/index.css +8 -50
  199. package/lib/page-header/style/index.css +6 -48
  200. package/lib/pagination/style/index.css +99 -118
  201. package/lib/pagination/style/index.less +63 -22
  202. package/lib/popconfirm/style/index.css +0 -42
  203. package/lib/popover/index.js +5 -1
  204. package/lib/popover/style/index.css +17 -59
  205. package/lib/progress/style/index.css +17 -59
  206. package/lib/radio/radio.js +11 -7
  207. package/lib/radio/style/index.css +49 -91
  208. package/lib/rate/index.js +5 -1
  209. package/lib/rate/style/index.css +2 -44
  210. package/lib/result/style/index.css +6 -48
  211. package/lib/segmented/index.d.ts +1 -1
  212. package/lib/segmented/index.js +7 -3
  213. package/lib/segmented/style/index.css +3 -45
  214. package/lib/select/style/index.css +32 -74
  215. package/lib/skeleton/style/index.css +10 -52
  216. package/lib/skeleton/style/index.less +3 -3
  217. package/lib/slider/index.d.ts +1 -1
  218. package/lib/slider/index.js +9 -5
  219. package/lib/slider/style/index.css +22 -56
  220. package/lib/slider/style/index.less +9 -0
  221. package/lib/space/style/index.css +0 -42
  222. package/lib/spin/style/index.css +4 -46
  223. package/lib/statistic/style/index.css +3 -45
  224. package/lib/steps/style/index.css +44 -86
  225. package/lib/style/color/colors.less +6 -6
  226. package/lib/style/index.css +13 -55
  227. package/lib/style/themes/compact.less +6 -12
  228. package/lib/style/themes/dark.less +106 -445
  229. package/lib/style/themes/default.less +35 -61
  230. package/lib/style/themes/index.less +2 -3
  231. package/lib/style/themes/variable.less +39 -80
  232. package/lib/switch/index.js +12 -8
  233. package/lib/switch/style/index.css +6 -48
  234. package/lib/table/hooks/useFilter/FilterDropdown.js +2 -16
  235. package/lib/table/style/index.css +35 -77
  236. package/lib/table/util.d.ts +1 -1
  237. package/lib/tabs/style/index.css +22 -64
  238. package/lib/tag/index.d.ts +1 -1
  239. package/lib/tag/index.js +9 -5
  240. package/lib/tag/style/index.css +39 -81
  241. package/lib/time-picker/index.js +5 -1
  242. package/lib/time-picker/style/index.css +0 -42
  243. package/lib/timeline/index.d.ts +2 -2
  244. package/lib/timeline/style/index.css +15 -57
  245. package/lib/tooltip/index.d.ts +3 -3
  246. package/lib/tooltip/index.js +11 -7
  247. package/lib/tooltip/style/index.css +12 -54
  248. package/lib/transfer/index.d.ts +3 -3
  249. package/lib/transfer/style/index.css +28 -70
  250. package/lib/tree/DirectoryTree.js +5 -1
  251. package/lib/tree/index.d.ts +2 -2
  252. package/lib/tree/style/index.css +29 -71
  253. package/lib/tree-select/style/index.css +27 -69
  254. package/lib/typography/Typography.js +7 -3
  255. package/lib/typography/style/index.css +24 -66
  256. package/lib/upload/Dragger.js +5 -1
  257. package/lib/upload/Upload.js +12 -8
  258. package/lib/upload/UploadList/index.js +16 -12
  259. package/lib/upload/index.d.ts +1 -1
  260. package/lib/upload/style/index.css +23 -65
  261. package/package.json +2 -2
  262. package/report.html +2 -2
  263. package/es/config-provider/renderEmpty.d.ts +0 -4
  264. package/es/config-provider/renderEmpty.js +0 -41
  265. package/es/pagination/MiniSelect.d.ts +0 -7
  266. package/es/pagination/MiniSelect.js +0 -12
  267. package/es/typography/util.d.ts +0 -11
  268. package/es/typography/util.js +0 -234
  269. package/es/version/index.d.ts +0 -2
  270. package/es/version/index.js +0 -4
  271. package/es/version/style/css.js +0 -2
  272. package/es/version/style/index.d.ts +0 -1
  273. package/es/version/style/index.js +0 -2
  274. package/es/version/version.d.ts +0 -2
  275. package/es/version/version.js +0 -1
  276. package/lib/config-provider/renderEmpty.d.ts +0 -4
  277. package/lib/config-provider/renderEmpty.js +0 -59
  278. package/lib/pagination/MiniSelect.d.ts +0 -7
  279. package/lib/pagination/MiniSelect.js +0 -30
  280. package/lib/typography/util.d.ts +0 -11
  281. package/lib/typography/util.js +0 -254
  282. package/lib/version/index.d.ts +0 -2
  283. package/lib/version/index.js +0 -15
  284. package/lib/version/style/css.js +0 -3
  285. package/lib/version/style/index.d.ts +0 -1
  286. package/lib/version/style/index.js +0 -3
  287. package/lib/version/version.d.ts +0 -2
  288. package/lib/version/version.js +0 -8
@@ -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-form-item .ant-input-number + .ant-form-text {
48
6
  margin-left: 8px;
49
7
  }
@@ -227,25 +185,25 @@ html {
227
185
  /* To support leave along ErrorList. We add additional className to handle explain style */
228
186
  }
229
187
  .ant-form-item-explain-error {
230
- color: var(--ant-error-color);
188
+ color: #f42d2d;
231
189
  }
232
190
  .ant-form-item-explain-warning {
233
- color: var(--ant-warning-color);
191
+ color: #ffab00;
234
192
  }
235
193
  .ant-form-item-has-feedback .ant-switch {
236
194
  margin: 2px 0 4px;
237
195
  }
238
196
  .ant-form-item-has-warning .ant-form-item-split {
239
- color: var(--ant-warning-color);
197
+ color: #ffab00;
240
198
  }
241
199
  .ant-form-item-has-error .ant-form-item-split {
242
- color: var(--ant-error-color);
200
+ color: #f42d2d;
243
201
  }
244
202
  .ant-form {
245
203
  box-sizing: border-box;
246
204
  margin: 0;
247
205
  padding: 0;
248
- color: rgba(0, 0, 0, 0.85);
206
+ color: #4c4c4c;
249
207
  font-size: 14px;
250
208
  font-variant: tabular-nums;
251
209
  line-height: 1.5715;
@@ -257,11 +215,11 @@ html {
257
215
  width: 100%;
258
216
  margin-bottom: 20px;
259
217
  padding: 0;
260
- color: rgba(0, 0, 0, 0.45);
218
+ color: #a9a9a9;
261
219
  font-size: 16px;
262
220
  line-height: inherit;
263
221
  border: 0;
264
- border-bottom: 1px solid #d9d9d9;
222
+ border-bottom: 1px solid #d2d2d2;
265
223
  }
266
224
  .ant-form label {
267
225
  font-size: 14px;
@@ -294,7 +252,7 @@ html {
294
252
  .ant-form output {
295
253
  display: block;
296
254
  padding-top: 15px;
297
- color: rgba(0, 0, 0, 0.85);
255
+ color: #4c4c4c;
298
256
  font-size: 14px;
299
257
  line-height: 1.5715;
300
258
  }
@@ -318,7 +276,7 @@ html {
318
276
  box-sizing: border-box;
319
277
  margin: 0;
320
278
  padding: 0;
321
- color: rgba(0, 0, 0, 0.85);
279
+ color: #4c4c4c;
322
280
  font-size: 14px;
323
281
  font-variant: tabular-nums;
324
282
  line-height: 1.5715;
@@ -358,7 +316,7 @@ html {
358
316
  align-items: center;
359
317
  max-width: 100%;
360
318
  height: 32px;
361
- color: rgba(0, 0, 0, 0.85);
319
+ color: #262626;
362
320
  font-size: 14px;
363
321
  }
364
322
  .ant-form-item-label > label > .anticon {
@@ -368,7 +326,7 @@ html {
368
326
  .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
369
327
  display: inline-block;
370
328
  margin-right: 4px;
371
- color: #ff5c57;
329
+ color: #ff4d4f;
372
330
  font-size: 14px;
373
331
  font-family: SimSun, sans-serif;
374
332
  line-height: 1;
@@ -380,13 +338,13 @@ html {
380
338
  .ant-form-item-label > label .ant-form-item-optional {
381
339
  display: inline-block;
382
340
  margin-left: 4px;
383
- color: rgba(0, 0, 0, 0.45);
341
+ color: #a9a9a9;
384
342
  }
385
343
  .ant-form-hide-required-mark .ant-form-item-label > label .ant-form-item-optional {
386
344
  display: none;
387
345
  }
388
346
  .ant-form-item-label > label .ant-form-item-tooltip {
389
- color: rgba(0, 0, 0, 0.45);
347
+ color: #a9a9a9;
390
348
  cursor: help;
391
349
  -ms-writing-mode: lr-tb;
392
350
  writing-mode: horizontal-tb;
@@ -423,7 +381,7 @@ html {
423
381
  .ant-form-item-explain,
424
382
  .ant-form-item-extra {
425
383
  clear: both;
426
- color: rgba(0, 0, 0, 0.45);
384
+ color: #a9a9a9;
427
385
  font-size: 14px;
428
386
  line-height: 1.5715;
429
387
  transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
@@ -450,16 +408,16 @@ html {
450
408
  pointer-events: none;
451
409
  }
452
410
  .ant-form-item-feedback-icon-success {
453
- color: var(--ant-success-color);
411
+ color: #36c626;
454
412
  }
455
413
  .ant-form-item-feedback-icon-error {
456
- color: var(--ant-error-color);
414
+ color: #f42d2d;
457
415
  }
458
416
  .ant-form-item-feedback-icon-warning {
459
- color: var(--ant-warning-color);
417
+ color: #ffab00;
460
418
  }
461
419
  .ant-form-item-feedback-icon-validating {
462
- color: var(--ant-primary-color);
420
+ color: #2c68ff;
463
421
  }
464
422
  .ant-show-help {
465
423
  transition: height 0.3s linear, min-height 0.3s linear, margin-bottom 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
package/es/grid/col.js CHANGED
@@ -92,5 +92,9 @@ var Col = /*#__PURE__*/React.forwardRef(function (props, ref) {
92
92
  ref: ref
93
93
  }), children);
94
94
  });
95
- Col.displayName = 'Col';
95
+
96
+ if (process.env.NODE_ENV !== 'production') {
97
+ Col.displayName = 'Col';
98
+ }
99
+
96
100
  export default Col;
package/es/grid/row.js CHANGED
@@ -122,5 +122,9 @@ var Row = /*#__PURE__*/React.forwardRef(function (props, ref) {
122
122
  ref: ref
123
123
  }), children));
124
124
  });
125
- Row.displayName = 'Row';
125
+
126
+ if (process.env.NODE_ENV !== 'production') {
127
+ Row.displayName = 'Row';
128
+ }
129
+
126
130
  export default Row;
@@ -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-row {
48
6
  display: flex;
49
7
  flex-flow: row wrap;
@@ -2,45 +2,3 @@
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
- }
@@ -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-image {
48
6
  position: relative;
49
7
  display: inline-block;
@@ -185,7 +143,7 @@ html {
185
143
  box-sizing: border-box;
186
144
  margin: 0;
187
145
  padding: 0;
188
- color: rgba(0, 0, 0, 0.85);
146
+ color: #4c4c4c;
189
147
  font-size: 14px;
190
148
  font-variant: tabular-nums;
191
149
  line-height: 1.5715;
package/es/index.d.ts CHANGED
@@ -123,6 +123,5 @@ export type { TooltipProps } from './tooltip';
123
123
  export { default as Tooltip } from './tooltip';
124
124
  export type { TypographyProps } from './typography';
125
125
  export { default as Typography } from './typography';
126
- export type { UploadProps } from './upload';
126
+ export type { UploadProps, UploadFile } from './upload';
127
127
  export { default as Upload } from './upload';
128
- export { default as version } from './version';
package/es/index.js CHANGED
@@ -62,5 +62,4 @@ export { default as TimePicker } from './time-picker';
62
62
  export { default as Timeline } from './timeline';
63
63
  export { default as Tooltip } from './tooltip';
64
64
  export { default as Typography } from './typography';
65
- export { default as Upload } from './upload';
66
- export { default as version } from './version';
65
+ export { default as Upload } from './upload';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { InputRef, InputProps } from './Input';
2
+ import type { InputProps, InputRef } from './Input';
3
3
  export interface PasswordProps extends InputProps {
4
4
  readonly inputPrefixCls?: string;
5
5
  readonly action?: string;
@@ -2,14 +2,14 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
4
4
  import { __rest } from "tslib";
5
- import * as React from 'react';
5
+ import EyeInvisibleOutlined from "@ant-design/icons/es/icons/EyeInvisibleOutlined";
6
+ import EyeOutlined from "@ant-design/icons/es/icons/EyeOutlined";
6
7
  import classNames from 'classnames';
7
8
  import omit from "rc-util/es/omit";
8
- import EyeOutlined from "@ant-design/icons/es/icons/EyeOutlined";
9
- import EyeInvisibleOutlined from "@ant-design/icons/es/icons/EyeInvisibleOutlined";
9
+ import * as React from 'react';
10
10
  import { useState } from 'react';
11
- import Input from './Input';
12
11
  import { ConfigConsumer } from '../config-provider';
12
+ import Input from './Input';
13
13
  var ActionMap = {
14
14
  click: 'onClick',
15
15
  hover: 'onMouseOver'
@@ -92,5 +92,9 @@ Password.defaultProps = {
92
92
  return visible ? /*#__PURE__*/React.createElement(EyeOutlined, null) : /*#__PURE__*/React.createElement(EyeInvisibleOutlined, null);
93
93
  }
94
94
  };
95
- Password.displayName = 'Password';
95
+
96
+ if (process.env.NODE_ENV !== 'production') {
97
+ Password.displayName = 'Password';
98
+ }
99
+
96
100
  export default Password;
@@ -1,15 +1,15 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
3
  import { __rest } from "tslib";
4
- import * as React from 'react';
4
+ import SearchOutlined from "@ant-design/icons/es/icons/SearchOutlined";
5
5
  import classNames from 'classnames';
6
6
  import { composeRef } from "rc-util/es/ref";
7
- import SearchOutlined from "@ant-design/icons/es/icons/SearchOutlined";
8
- import Input from './Input';
7
+ import * as React from 'react';
9
8
  import Button from '../button';
10
- import SizeContext from '../config-provider/SizeContext';
11
9
  import { ConfigContext } from '../config-provider';
10
+ import SizeContext from '../config-provider/SizeContext';
12
11
  import { cloneElement } from '../_util/reactNode';
12
+ import Input from './Input';
13
13
  var Search = /*#__PURE__*/React.forwardRef(function (props, ref) {
14
14
  var _classNames;
15
15
 
@@ -141,5 +141,9 @@ var Search = /*#__PURE__*/React.forwardRef(function (props, ref) {
141
141
  disabled: disabled
142
142
  }));
143
143
  });
144
- Search.displayName = 'Search';
144
+
145
+ if (process.env.NODE_ENV !== 'production') {
146
+ Search.displayName = 'Search';
147
+ }
148
+
145
149
  export default Search;