@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.
- package/dist/@fle-ui/next.css +1859 -5161
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +6349 -6355
- package/dist/@fle-ui/next.js.map +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +4 -4
- package/dist/@fle-ui/next.min.js.map +1 -1
- package/es/affix/style/index.css +0 -42
- package/es/alert/style/index.css +17 -59
- package/es/anchor/Anchor.d.ts +1 -1
- package/es/anchor/style/index.css +5 -47
- package/es/auto-complete/style/index.css +1 -43
- package/es/avatar/avatar.js +8 -4
- package/es/avatar/style/index.css +1 -43
- package/es/back-top/style/index.css +3 -45
- package/es/badge/style/index.css +23 -65
- package/es/breadcrumb/style/index.css +7 -49
- package/es/button/button.d.ts +1 -1
- package/es/button/button.js +11 -7
- package/es/button/style/index.css +156 -206
- package/es/calendar/style/index.css +8 -50
- package/es/card/style/index.css +17 -59
- package/es/carousel/style/index.css +1 -43
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/index.js +13 -9
- package/es/cascader/style/index.css +24 -66
- package/es/checkbox/Checkbox.js +8 -4
- package/es/checkbox/style/index.css +17 -59
- package/es/collapse/style/index.css +8 -50
- package/es/comment/style/index.css +5 -47
- package/es/config-provider/context.js +5 -1
- package/es/config-provider/style/index.css +0 -42
- package/es/date-picker/style/index.css +84 -126
- package/es/descriptions/style/index.css +8 -50
- package/es/divider/style/index.css +7 -49
- package/es/drawer/index.js +5 -1
- package/es/drawer/style/index.css +5 -47
- package/es/dropdown/style/index.css +17 -59
- package/es/empty/style/index.css +2 -44
- package/es/form/style/index.css +18 -60
- package/es/grid/col.js +5 -1
- package/es/grid/row.js +5 -1
- package/es/grid/style/index.css +0 -42
- package/es/icon/style/index.css +0 -42
- package/es/image/style/index.css +1 -43
- package/es/index.d.ts +1 -2
- package/es/index.js +1 -2
- package/es/input/Password.d.ts +1 -1
- package/es/input/Password.js +9 -5
- package/es/input/Search.js +9 -5
- package/es/input/style/index.css +65 -107
- package/es/input-number/index.js +1 -1
- package/es/input-number/style/index.css +68 -110
- package/es/layout/Sider.js +11 -7
- package/es/layout/layout.js +6 -2
- package/es/layout/style/index.css +4 -46
- package/es/list/style/index.css +17 -59
- package/es/locale-provider/index.d.ts +2 -2
- package/es/locale-provider/style/index.css +0 -42
- package/es/mentions/index.d.ts +1 -1
- package/es/mentions/index.js +8 -4
- package/es/mentions/style/index.css +32 -74
- package/es/menu/style/index.css +46 -88
- package/es/message/style/index.css +5 -47
- package/es/modal/style/confirm.less +2 -2
- package/es/modal/style/css.js +2 -1
- package/es/modal/style/index.css +3 -45
- package/es/modal/style/index.js +2 -1
- package/es/modal/style/index.less +0 -1
- package/es/modal/style/modal.less +1 -1
- package/es/modal/style/rtl.less +2 -1
- package/es/notification/style/index.css +8 -50
- package/es/page-header/style/index.css +6 -48
- package/es/pagination/style/index.css +99 -118
- package/es/pagination/style/index.less +63 -22
- package/es/popconfirm/style/index.css +0 -42
- package/es/popover/index.js +5 -1
- package/es/popover/style/index.css +17 -59
- package/es/progress/style/index.css +17 -59
- package/es/radio/radio.js +9 -5
- package/es/radio/style/index.css +49 -91
- package/es/rate/index.js +5 -1
- package/es/rate/style/index.css +2 -44
- package/es/result/style/index.css +6 -48
- package/es/segmented/index.d.ts +1 -1
- package/es/segmented/index.js +6 -2
- package/es/segmented/style/index.css +3 -45
- package/es/select/style/index.css +32 -74
- package/es/skeleton/style/index.css +10 -52
- package/es/skeleton/style/index.less +3 -3
- package/es/slider/index.d.ts +1 -1
- package/es/slider/index.js +8 -4
- package/es/slider/style/index.css +22 -56
- package/es/slider/style/index.less +9 -0
- package/es/space/style/index.css +0 -42
- package/es/spin/style/index.css +4 -46
- package/es/statistic/style/index.css +3 -45
- package/es/steps/style/index.css +44 -86
- package/es/style/color/colors.less +6 -6
- package/es/style/index.css +13 -55
- package/es/style/themes/compact.less +6 -12
- package/es/style/themes/dark.less +106 -445
- package/es/style/themes/default.less +35 -61
- package/es/style/themes/index.less +2 -3
- package/es/style/themes/variable.less +39 -80
- package/es/switch/index.js +10 -6
- package/es/switch/style/index.css +6 -48
- package/es/table/hooks/useFilter/FilterDropdown.js +2 -16
- package/es/table/style/index.css +35 -77
- package/es/table/util.d.ts +1 -1
- package/es/tabs/style/index.css +22 -64
- package/es/tag/index.d.ts +1 -1
- package/es/tag/index.js +8 -4
- package/es/tag/style/index.css +39 -81
- package/es/time-picker/index.js +5 -1
- package/es/time-picker/style/index.css +0 -42
- package/es/timeline/index.d.ts +2 -2
- package/es/timeline/style/index.css +15 -57
- package/es/tooltip/index.d.ts +3 -3
- package/es/tooltip/index.js +9 -5
- package/es/tooltip/style/index.css +12 -54
- package/es/transfer/index.d.ts +3 -3
- package/es/transfer/style/index.css +28 -70
- package/es/tree/DirectoryTree.js +5 -1
- package/es/tree/index.d.ts +2 -2
- package/es/tree/style/index.css +29 -71
- package/es/tree-select/style/index.css +27 -69
- package/es/typography/Typography.js +6 -2
- package/es/typography/style/index.css +24 -66
- package/es/upload/Dragger.js +5 -1
- package/es/upload/Upload.js +10 -6
- package/es/upload/UploadList/index.js +13 -9
- package/es/upload/index.d.ts +1 -1
- package/es/upload/style/index.css +23 -65
- package/lib/affix/style/index.css +0 -42
- package/lib/alert/style/index.css +17 -59
- package/lib/anchor/Anchor.d.ts +1 -1
- package/lib/anchor/style/index.css +5 -47
- package/lib/auto-complete/style/index.css +1 -43
- package/lib/avatar/avatar.js +9 -5
- package/lib/avatar/style/index.css +1 -43
- package/lib/back-top/style/index.css +3 -45
- package/lib/badge/style/index.css +23 -65
- package/lib/breadcrumb/style/index.css +7 -49
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.js +13 -9
- package/lib/button/style/index.css +156 -206
- package/lib/calendar/style/index.css +8 -50
- package/lib/card/style/index.css +17 -59
- package/lib/carousel/style/index.css +1 -43
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/index.js +16 -12
- package/lib/cascader/style/index.css +24 -66
- package/lib/checkbox/Checkbox.js +10 -6
- package/lib/checkbox/style/index.css +17 -59
- package/lib/collapse/style/index.css +8 -50
- package/lib/comment/style/index.css +5 -47
- package/lib/config-provider/context.js +5 -1
- package/lib/config-provider/style/index.css +0 -42
- package/lib/date-picker/style/index.css +84 -126
- package/lib/descriptions/style/index.css +8 -50
- package/lib/divider/style/index.css +7 -49
- package/lib/drawer/index.js +5 -1
- package/lib/drawer/style/index.css +5 -47
- package/lib/dropdown/style/index.css +17 -59
- package/lib/empty/style/index.css +2 -44
- package/lib/form/style/index.css +18 -60
- package/lib/grid/col.js +5 -1
- package/lib/grid/row.js +5 -1
- package/lib/grid/style/index.css +0 -42
- package/lib/icon/style/index.css +0 -42
- package/lib/image/style/index.css +1 -43
- package/lib/index.d.ts +1 -2
- package/lib/index.js +0 -8
- package/lib/input/Password.d.ts +1 -1
- package/lib/input/Password.js +10 -6
- package/lib/input/Search.js +11 -7
- package/lib/input/style/index.css +65 -107
- package/lib/input-number/index.js +1 -1
- package/lib/input-number/style/index.css +68 -110
- package/lib/layout/Sider.js +13 -9
- package/lib/layout/layout.js +7 -3
- package/lib/layout/style/index.css +4 -46
- package/lib/list/style/index.css +17 -59
- package/lib/locale-provider/index.d.ts +2 -2
- package/lib/locale-provider/style/index.css +0 -42
- package/lib/mentions/index.d.ts +1 -1
- package/lib/mentions/index.js +10 -6
- package/lib/mentions/style/index.css +32 -74
- package/lib/menu/style/index.css +46 -88
- package/lib/message/style/index.css +5 -47
- package/lib/modal/style/confirm.less +2 -2
- package/lib/modal/style/index.css +3 -45
- package/lib/modal/style/index.less +0 -1
- package/lib/modal/style/modal.less +1 -1
- package/lib/modal/style/rtl.less +2 -1
- package/lib/notification/style/index.css +8 -50
- package/lib/page-header/style/index.css +6 -48
- package/lib/pagination/style/index.css +99 -118
- package/lib/pagination/style/index.less +63 -22
- package/lib/popconfirm/style/index.css +0 -42
- package/lib/popover/index.js +5 -1
- package/lib/popover/style/index.css +17 -59
- package/lib/progress/style/index.css +17 -59
- package/lib/radio/radio.js +11 -7
- package/lib/radio/style/index.css +49 -91
- package/lib/rate/index.js +5 -1
- package/lib/rate/style/index.css +2 -44
- package/lib/result/style/index.css +6 -48
- package/lib/segmented/index.d.ts +1 -1
- package/lib/segmented/index.js +7 -3
- package/lib/segmented/style/index.css +3 -45
- package/lib/select/style/index.css +32 -74
- package/lib/skeleton/style/index.css +10 -52
- package/lib/skeleton/style/index.less +3 -3
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +9 -5
- package/lib/slider/style/index.css +22 -56
- package/lib/slider/style/index.less +9 -0
- package/lib/space/style/index.css +0 -42
- package/lib/spin/style/index.css +4 -46
- package/lib/statistic/style/index.css +3 -45
- package/lib/steps/style/index.css +44 -86
- package/lib/style/color/colors.less +6 -6
- package/lib/style/index.css +13 -55
- package/lib/style/themes/compact.less +6 -12
- package/lib/style/themes/dark.less +106 -445
- package/lib/style/themes/default.less +35 -61
- package/lib/style/themes/index.less +2 -3
- package/lib/style/themes/variable.less +39 -80
- package/lib/switch/index.js +12 -8
- package/lib/switch/style/index.css +6 -48
- package/lib/table/hooks/useFilter/FilterDropdown.js +2 -16
- package/lib/table/style/index.css +35 -77
- package/lib/table/util.d.ts +1 -1
- package/lib/tabs/style/index.css +22 -64
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag/index.js +9 -5
- package/lib/tag/style/index.css +39 -81
- package/lib/time-picker/index.js +5 -1
- package/lib/time-picker/style/index.css +0 -42
- package/lib/timeline/index.d.ts +2 -2
- package/lib/timeline/style/index.css +15 -57
- package/lib/tooltip/index.d.ts +3 -3
- package/lib/tooltip/index.js +11 -7
- package/lib/tooltip/style/index.css +12 -54
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/style/index.css +28 -70
- package/lib/tree/DirectoryTree.js +5 -1
- package/lib/tree/index.d.ts +2 -2
- package/lib/tree/style/index.css +29 -71
- package/lib/tree-select/style/index.css +27 -69
- package/lib/typography/Typography.js +7 -3
- package/lib/typography/style/index.css +24 -66
- package/lib/upload/Dragger.js +5 -1
- package/lib/upload/Upload.js +12 -8
- package/lib/upload/UploadList/index.js +16 -12
- package/lib/upload/index.d.ts +1 -1
- package/lib/upload/style/index.css +23 -65
- package/package.json +2 -2
- package/report.html +2 -2
- package/es/config-provider/renderEmpty.d.ts +0 -4
- package/es/config-provider/renderEmpty.js +0 -41
- package/es/pagination/MiniSelect.d.ts +0 -7
- package/es/pagination/MiniSelect.js +0 -12
- package/es/typography/util.d.ts +0 -11
- package/es/typography/util.js +0 -234
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -4
- package/es/version/style/css.js +0 -2
- package/es/version/style/index.d.ts +0 -1
- package/es/version/style/index.js +0 -2
- package/es/version/version.d.ts +0 -2
- package/es/version/version.js +0 -1
- package/lib/config-provider/renderEmpty.d.ts +0 -4
- package/lib/config-provider/renderEmpty.js +0 -59
- package/lib/pagination/MiniSelect.d.ts +0 -7
- package/lib/pagination/MiniSelect.js +0 -30
- package/lib/typography/util.d.ts +0 -11
- package/lib/typography/util.js +0 -254
- package/lib/version/index.d.ts +0 -2
- package/lib/version/index.js +0 -15
- package/lib/version/style/css.js +0 -3
- package/lib/version/style/index.d.ts +0 -1
- package/lib/version/style/index.js +0 -3
- package/lib/version/version.d.ts +0 -2
- package/lib/version/version.js +0 -8
package/es/input/style/index.css
CHANGED
@@ -2,60 +2,18 @@
|
|
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-affix-wrapper {
|
48
6
|
position: relative;
|
49
7
|
display: inline-block;
|
50
8
|
width: 100%;
|
51
9
|
min-width: 0;
|
52
10
|
padding: 4px 11px;
|
53
|
-
color:
|
11
|
+
color: #4c4c4c;
|
54
12
|
font-size: 14px;
|
55
13
|
line-height: 1.5715;
|
56
14
|
background-color: #fff;
|
57
15
|
background-image: none;
|
58
|
-
border: 1px solid #
|
16
|
+
border: 1px solid #d2d2d2;
|
59
17
|
border-radius: 4px;
|
60
18
|
transition: all 0.3s;
|
61
19
|
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
@@ -86,7 +44,7 @@ html {
|
|
86
44
|
text-overflow: ellipsis;
|
87
45
|
}
|
88
46
|
.ant-input-affix-wrapper:hover {
|
89
|
-
border-color:
|
47
|
+
border-color: #548aff;
|
90
48
|
border-right-width: 1px;
|
91
49
|
}
|
92
50
|
.ant-input-rtl .ant-input-affix-wrapper:hover {
|
@@ -95,8 +53,8 @@ html {
|
|
95
53
|
}
|
96
54
|
.ant-input-affix-wrapper:focus,
|
97
55
|
.ant-input-affix-wrapper-focused {
|
98
|
-
border-color:
|
99
|
-
box-shadow: 0 0 0 2px
|
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
|
}
|
@@ -106,27 +64,27 @@ html {
|
|
106
64
|
border-left-width: 1px !important;
|
107
65
|
}
|
108
66
|
.ant-input-affix-wrapper-disabled {
|
109
|
-
color:
|
110
|
-
background-color: #
|
111
|
-
border-color: #
|
67
|
+
color: #a9a9a9;
|
68
|
+
background-color: #f1f1f1;
|
69
|
+
border-color: #d2d2d2;
|
112
70
|
box-shadow: none;
|
113
71
|
cursor: not-allowed;
|
114
72
|
opacity: 1;
|
115
73
|
}
|
116
74
|
.ant-input-affix-wrapper-disabled:hover {
|
117
|
-
border-color: #
|
75
|
+
border-color: #d2d2d2;
|
118
76
|
border-right-width: 1px;
|
119
77
|
}
|
120
78
|
.ant-input-affix-wrapper[disabled] {
|
121
|
-
color:
|
122
|
-
background-color: #
|
123
|
-
border-color: #
|
79
|
+
color: #a9a9a9;
|
80
|
+
background-color: #f1f1f1;
|
81
|
+
border-color: #d2d2d2;
|
124
82
|
box-shadow: none;
|
125
83
|
cursor: not-allowed;
|
126
84
|
opacity: 1;
|
127
85
|
}
|
128
86
|
.ant-input-affix-wrapper[disabled]:hover {
|
129
|
-
border-color: #
|
87
|
+
border-color: #d2d2d2;
|
130
88
|
border-right-width: 1px;
|
131
89
|
}
|
132
90
|
.ant-input-affix-wrapper-borderless,
|
@@ -158,7 +116,7 @@ textarea.ant-input-affix-wrapper {
|
|
158
116
|
direction: rtl;
|
159
117
|
}
|
160
118
|
.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
161
|
-
border-color:
|
119
|
+
border-color: #548aff;
|
162
120
|
border-right-width: 1px;
|
163
121
|
z-index: 1;
|
164
122
|
}
|
@@ -200,7 +158,7 @@ textarea.ant-input-affix-wrapper {
|
|
200
158
|
margin-right: 8px;
|
201
159
|
}
|
202
160
|
.ant-input-show-count-suffix {
|
203
|
-
color:
|
161
|
+
color: #a9a9a9;
|
204
162
|
}
|
205
163
|
.ant-input-show-count-has-suffix {
|
206
164
|
margin-right: 2px;
|
@@ -214,7 +172,7 @@ textarea.ant-input-affix-wrapper {
|
|
214
172
|
.anticon.ant-input-clear-icon,
|
215
173
|
.ant-input-clear-icon {
|
216
174
|
margin: 0;
|
217
|
-
color:
|
175
|
+
color: #a9a9a9;
|
218
176
|
font-size: 12px;
|
219
177
|
vertical-align: -1px;
|
220
178
|
cursor: pointer;
|
@@ -222,11 +180,11 @@ textarea.ant-input-affix-wrapper {
|
|
222
180
|
}
|
223
181
|
.anticon.ant-input-clear-icon:hover,
|
224
182
|
.ant-input-clear-icon:hover {
|
225
|
-
color:
|
183
|
+
color: #a9a9a9;
|
226
184
|
}
|
227
185
|
.anticon.ant-input-clear-icon:active,
|
228
186
|
.ant-input-clear-icon:active {
|
229
|
-
color:
|
187
|
+
color: #4c4c4c;
|
230
188
|
}
|
231
189
|
.anticon.ant-input-clear-icon-hidden,
|
232
190
|
.ant-input-clear-icon-hidden {
|
@@ -249,62 +207,62 @@ textarea.ant-input-affix-wrapper {
|
|
249
207
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
|
250
208
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
|
251
209
|
background: #fff;
|
252
|
-
border-color:
|
210
|
+
border-color: #f42d2d;
|
253
211
|
}
|
254
212
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
255
213
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
256
|
-
border-color:
|
257
|
-
box-shadow: 0 0 0 2px
|
214
|
+
border-color: #ff5c57;
|
215
|
+
box-shadow: 0 0 0 2px rgba(244, 45, 45, 0.2);
|
258
216
|
border-right-width: 1px;
|
259
217
|
outline: 0;
|
260
218
|
}
|
261
219
|
.ant-input-status-error .ant-input-prefix {
|
262
|
-
color:
|
220
|
+
color: #f42d2d;
|
263
221
|
}
|
264
222
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
|
265
223
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
|
266
224
|
background: #fff;
|
267
|
-
border-color:
|
225
|
+
border-color: #ffab00;
|
268
226
|
}
|
269
227
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
270
228
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
271
|
-
border-color:
|
272
|
-
box-shadow: 0 0 0 2px
|
229
|
+
border-color: #ffbf29;
|
230
|
+
box-shadow: 0 0 0 2px rgba(255, 171, 0, 0.2);
|
273
231
|
border-right-width: 1px;
|
274
232
|
outline: 0;
|
275
233
|
}
|
276
234
|
.ant-input-status-warning .ant-input-prefix {
|
277
|
-
color:
|
235
|
+
color: #ffab00;
|
278
236
|
}
|
279
237
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
|
280
238
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
|
281
239
|
background: #fff;
|
282
|
-
border-color:
|
240
|
+
border-color: #f42d2d;
|
283
241
|
}
|
284
242
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
285
243
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
286
|
-
border-color:
|
287
|
-
box-shadow: 0 0 0 2px
|
244
|
+
border-color: #ff5c57;
|
245
|
+
box-shadow: 0 0 0 2px rgba(244, 45, 45, 0.2);
|
288
246
|
border-right-width: 1px;
|
289
247
|
outline: 0;
|
290
248
|
}
|
291
249
|
.ant-input-affix-wrapper-status-error .ant-input-prefix {
|
292
|
-
color:
|
250
|
+
color: #f42d2d;
|
293
251
|
}
|
294
252
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
|
295
253
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
|
296
254
|
background: #fff;
|
297
|
-
border-color:
|
255
|
+
border-color: #ffab00;
|
298
256
|
}
|
299
257
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
300
258
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
301
|
-
border-color:
|
302
|
-
box-shadow: 0 0 0 2px
|
259
|
+
border-color: #ffbf29;
|
260
|
+
box-shadow: 0 0 0 2px rgba(255, 171, 0, 0.2);
|
303
261
|
border-right-width: 1px;
|
304
262
|
outline: 0;
|
305
263
|
}
|
306
264
|
.ant-input-affix-wrapper-status-warning .ant-input-prefix {
|
307
|
-
color:
|
265
|
+
color: #ffab00;
|
308
266
|
}
|
309
267
|
.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,
|
310
268
|
.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input,
|
@@ -313,12 +271,12 @@ textarea.ant-input-affix-wrapper {
|
|
313
271
|
padding-right: 24px;
|
314
272
|
}
|
315
273
|
.ant-input-group-wrapper-status-error .ant-input-group-addon {
|
316
|
-
color:
|
317
|
-
border-color:
|
274
|
+
color: #f42d2d;
|
275
|
+
border-color: #f42d2d;
|
318
276
|
}
|
319
277
|
.ant-input-group-wrapper-status-warning .ant-input-group-addon {
|
320
|
-
color:
|
321
|
-
border-color:
|
278
|
+
color: #ffab00;
|
279
|
+
border-color: #ffab00;
|
322
280
|
}
|
323
281
|
.ant-input {
|
324
282
|
box-sizing: border-box;
|
@@ -332,12 +290,12 @@ textarea.ant-input-affix-wrapper {
|
|
332
290
|
width: 100%;
|
333
291
|
min-width: 0;
|
334
292
|
padding: 4px 11px;
|
335
|
-
color:
|
293
|
+
color: #4c4c4c;
|
336
294
|
font-size: 14px;
|
337
295
|
line-height: 1.5715;
|
338
296
|
background-color: #fff;
|
339
297
|
background-image: none;
|
340
|
-
border: 1px solid #
|
298
|
+
border: 1px solid #d2d2d2;
|
341
299
|
border-radius: 4px;
|
342
300
|
transition: all 0.3s;
|
343
301
|
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
@@ -367,7 +325,7 @@ textarea.ant-input-affix-wrapper {
|
|
367
325
|
text-overflow: ellipsis;
|
368
326
|
}
|
369
327
|
.ant-input:hover {
|
370
|
-
border-color:
|
328
|
+
border-color: #548aff;
|
371
329
|
border-right-width: 1px;
|
372
330
|
}
|
373
331
|
.ant-input-rtl .ant-input:hover {
|
@@ -376,8 +334,8 @@ textarea.ant-input-affix-wrapper {
|
|
376
334
|
}
|
377
335
|
.ant-input:focus,
|
378
336
|
.ant-input-focused {
|
379
|
-
border-color:
|
380
|
-
box-shadow: 0 0 0 2px
|
337
|
+
border-color: #548aff;
|
338
|
+
box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
|
381
339
|
border-right-width: 1px;
|
382
340
|
outline: 0;
|
383
341
|
}
|
@@ -387,27 +345,27 @@ textarea.ant-input-affix-wrapper {
|
|
387
345
|
border-left-width: 1px !important;
|
388
346
|
}
|
389
347
|
.ant-input-disabled {
|
390
|
-
color:
|
391
|
-
background-color: #
|
392
|
-
border-color: #
|
348
|
+
color: #a9a9a9;
|
349
|
+
background-color: #f1f1f1;
|
350
|
+
border-color: #d2d2d2;
|
393
351
|
box-shadow: none;
|
394
352
|
cursor: not-allowed;
|
395
353
|
opacity: 1;
|
396
354
|
}
|
397
355
|
.ant-input-disabled:hover {
|
398
|
-
border-color: #
|
356
|
+
border-color: #d2d2d2;
|
399
357
|
border-right-width: 1px;
|
400
358
|
}
|
401
359
|
.ant-input[disabled] {
|
402
|
-
color:
|
403
|
-
background-color: #
|
404
|
-
border-color: #
|
360
|
+
color: #a9a9a9;
|
361
|
+
background-color: #f1f1f1;
|
362
|
+
border-color: #d2d2d2;
|
405
363
|
box-shadow: none;
|
406
364
|
cursor: not-allowed;
|
407
365
|
opacity: 1;
|
408
366
|
}
|
409
367
|
.ant-input[disabled]:hover {
|
410
|
-
border-color: #
|
368
|
+
border-color: #d2d2d2;
|
411
369
|
border-right-width: 1px;
|
412
370
|
}
|
413
371
|
.ant-input-borderless,
|
@@ -442,7 +400,7 @@ textarea.ant-input {
|
|
442
400
|
box-sizing: border-box;
|
443
401
|
margin: 0;
|
444
402
|
padding: 0;
|
445
|
-
color:
|
403
|
+
color: #4c4c4c;
|
446
404
|
font-size: 14px;
|
447
405
|
font-variant: tabular-nums;
|
448
406
|
line-height: 1.5715;
|
@@ -504,12 +462,12 @@ textarea.ant-input {
|
|
504
462
|
.ant-input-group-addon {
|
505
463
|
position: relative;
|
506
464
|
padding: 0 11px;
|
507
|
-
color:
|
465
|
+
color: #4c4c4c;
|
508
466
|
font-weight: normal;
|
509
467
|
font-size: 14px;
|
510
468
|
text-align: center;
|
511
469
|
background-color: #fafafa;
|
512
|
-
border: 1px solid #
|
470
|
+
border: 1px solid #d2d2d2;
|
513
471
|
border-radius: 4px;
|
514
472
|
transition: all 0.3s;
|
515
473
|
}
|
@@ -523,7 +481,7 @@ textarea.ant-input {
|
|
523
481
|
}
|
524
482
|
.ant-input-group-addon .ant-select-open .ant-select-selector,
|
525
483
|
.ant-input-group-addon .ant-select-focused .ant-select-selector {
|
526
|
-
color:
|
484
|
+
color: #2c68ff;
|
527
485
|
}
|
528
486
|
.ant-input-group-addon .ant-cascader-picker {
|
529
487
|
margin: -9px -12px;
|
@@ -702,12 +660,12 @@ textarea.ant-input {
|
|
702
660
|
border-radius: 0 4px 4px 0;
|
703
661
|
}
|
704
662
|
.ant-input-group-rtl .ant-input-group-addon:first-child {
|
705
|
-
border-right: 1px solid #
|
663
|
+
border-right: 1px solid #d2d2d2;
|
706
664
|
border-left: 0;
|
707
665
|
}
|
708
666
|
.ant-input-group-rtl .ant-input-group-addon:last-child {
|
709
667
|
border-right: 0;
|
710
|
-
border-left: 1px solid #
|
668
|
+
border-left: 1px solid #d2d2d2;
|
711
669
|
border-radius: 4px 0 0 4px;
|
712
670
|
}
|
713
671
|
.ant-input-group-rtl.ant-input-group > .ant-input:last-child,
|
@@ -753,7 +711,7 @@ textarea.ant-input {
|
|
753
711
|
vertical-align: top;
|
754
712
|
}
|
755
713
|
.ant-input-password-icon.anticon {
|
756
|
-
color:
|
714
|
+
color: #a9a9a9;
|
757
715
|
cursor: pointer;
|
758
716
|
transition: all 0.3s;
|
759
717
|
}
|
@@ -776,7 +734,7 @@ textarea.ant-input {
|
|
776
734
|
}
|
777
735
|
.ant-input-textarea-show-count::after {
|
778
736
|
float: right;
|
779
|
-
color:
|
737
|
+
color: #a9a9a9;
|
780
738
|
white-space: nowrap;
|
781
739
|
content: attr(data-count);
|
782
740
|
pointer-events: none;
|
@@ -796,11 +754,11 @@ textarea.ant-input {
|
|
796
754
|
}
|
797
755
|
.ant-input-search .ant-input:hover,
|
798
756
|
.ant-input-search .ant-input:focus {
|
799
|
-
border-color:
|
757
|
+
border-color: #548aff;
|
800
758
|
}
|
801
759
|
.ant-input-search .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
802
760
|
.ant-input-search .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
803
|
-
border-left-color:
|
761
|
+
border-left-color: #548aff;
|
804
762
|
}
|
805
763
|
.ant-input-search .ant-input-affix-wrapper {
|
806
764
|
border-radius: 0;
|
@@ -819,7 +777,7 @@ textarea.ant-input {
|
|
819
777
|
border-radius: 0 4px 4px 0;
|
820
778
|
}
|
821
779
|
.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary) {
|
822
|
-
color:
|
780
|
+
color: #a9a9a9;
|
823
781
|
}
|
824
782
|
.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading::before {
|
825
783
|
top: 0;
|
@@ -875,12 +833,12 @@ textarea.ant-input {
|
|
875
833
|
}
|
876
834
|
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
877
835
|
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
878
|
-
border-right-color:
|
879
|
-
border-left-color: #
|
836
|
+
border-right-color: #548aff;
|
837
|
+
border-left-color: #d2d2d2;
|
880
838
|
}
|
881
839
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,
|
882
840
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper-focused {
|
883
|
-
border-right-color:
|
841
|
+
border-right-color: #548aff;
|
884
842
|
}
|
885
843
|
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon {
|
886
844
|
right: -1px;
|
package/es/input-number/index.js
CHANGED
@@ -77,7 +77,7 @@ var InputNumber = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
77
77
|
|
78
78
|
var disabled = React.useContext(DisabledContext);
|
79
79
|
var mergedDisabled = customDisabled || disabled;
|
80
|
-
var inputNumberClass = classNames((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-lg"), mergeSize === 'large'), _defineProperty(_classNames, "".concat(prefixCls, "-sm"), mergeSize === 'small'), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames, "".concat(prefixCls, "-
|
80
|
+
var inputNumberClass = classNames((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-lg"), mergeSize === 'large'), _defineProperty(_classNames, "".concat(prefixCls, "-sm"), mergeSize === 'small'), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames, "".concat(prefixCls, "-borderless"), !bordered), _defineProperty(_classNames, "".concat(prefixCls, "-in-form-item"), isFormItemInput), _classNames), getStatusClassNames(prefixCls, mergedStatus), className);
|
81
81
|
var element = /*#__PURE__*/React.createElement(RcInputNumber, _extends({
|
82
82
|
ref: inputRef,
|
83
83
|
disabled: mergedDisabled,
|