@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,58 +2,16 @@
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-breadcrumb {
48
6
  box-sizing: border-box;
49
7
  margin: 0;
50
8
  padding: 0;
51
- color: rgba(0, 0, 0, 0.85);
9
+ color: #4c4c4c;
52
10
  font-variant: tabular-nums;
53
11
  line-height: 1.5715;
54
12
  list-style: none;
55
13
  font-feature-settings: 'tnum';
56
- color: rgba(0, 0, 0, 0.45);
14
+ color: #a9a9a9;
57
15
  font-size: 14px;
58
16
  }
59
17
  .ant-breadcrumb .anticon {
@@ -67,24 +25,24 @@ html {
67
25
  list-style: none;
68
26
  }
69
27
  .ant-breadcrumb a {
70
- color: rgba(0, 0, 0, 0.45);
28
+ color: #a9a9a9;
71
29
  transition: color 0.3s;
72
30
  }
73
31
  .ant-breadcrumb a:hover {
74
- color: rgba(0, 0, 0, 0.85);
32
+ color: #4c4c4c;
75
33
  }
76
34
  .ant-breadcrumb li:last-child {
77
- color: rgba(0, 0, 0, 0.85);
35
+ color: #4c4c4c;
78
36
  }
79
37
  .ant-breadcrumb li:last-child a {
80
- color: rgba(0, 0, 0, 0.85);
38
+ color: #4c4c4c;
81
39
  }
82
40
  li:last-child .ant-breadcrumb-separator {
83
41
  display: none;
84
42
  }
85
43
  .ant-breadcrumb-separator {
86
44
  margin: 0 8px;
87
- color: rgba(0, 0, 0, 0.45);
45
+ color: #a9a9a9;
88
46
  }
89
47
  .ant-breadcrumb-link > .anticon + span,
90
48
  .ant-breadcrumb-link > .anticon + a {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import Group from './button-group';
3
2
  import type { SizeType } from '../config-provider/SizeContext';
3
+ import Group from './button-group';
4
4
  declare const ButtonTypes: ["default", "primary", "ghost", "dashed", "link", "text"];
5
5
  export declare type ButtonType = typeof ButtonTypes[number];
6
6
  declare const ButtonShapes: ["default", "circle", "round"];
@@ -5,18 +5,18 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";
5
5
  import { __rest } from "tslib";
6
6
  /* eslint-disable react/button-has-type */
7
7
 
8
- import * as React from 'react';
9
8
  import classNames from 'classnames';
10
9
  import omit from "rc-util/es/omit";
11
- import Group, { GroupSizeContext } from './button-group';
10
+ import * as React from 'react';
12
11
  import { ConfigContext } from '../config-provider';
13
- import Wave from '../_util/wave';
12
+ import DisabledContext from '../config-provider/DisabledContext';
13
+ import SizeContext from '../config-provider/SizeContext';
14
+ import { cloneElement } from '../_util/reactNode';
14
15
  import { tuple } from '../_util/type';
15
16
  import warning from '../_util/warning';
16
- import SizeContext from '../config-provider/SizeContext';
17
- import DisabledContext from '../config-provider/DisabledContext';
17
+ import Wave from '../_util/wave';
18
+ import Group, { GroupSizeContext } from './button-group';
18
19
  import LoadingIcon from './LoadingIcon';
19
- import { cloneElement } from '../_util/reactNode';
20
20
  var rxTwoCNChar = /^[\u4e00-\u9fa5]{2}$/;
21
21
  var isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar);
22
22
 
@@ -248,7 +248,11 @@ var InternalButton = function InternalButton(props, ref) {
248
248
  };
249
249
 
250
250
  var Button = /*#__PURE__*/React.forwardRef(InternalButton);
251
- Button.displayName = 'Button';
251
+
252
+ if (process.env.NODE_ENV !== 'production') {
253
+ Button.displayName = 'Button';
254
+ }
255
+
252
256
  Button.Group = Group;
253
257
  Button.__ANT_BUTTON = true;
254
258
  export default Button;