@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.
- package/dist/@fle-ui/next.css +1815 -5117
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +6350 -6356
- package/dist/@fle-ui/next.js.map +1 -1
- package/dist/@fle-ui/next.min.css +3 -3
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +5 -5
- 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 +12 -54
- 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 +23 -65
- 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 +17 -59
- 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 +44 -86
- 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 +2 -44
- package/es/modal/style/index.js +2 -1
- package/es/modal/style/index.less +0 -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 +97 -116
- package/es/pagination/style/index.less +64 -21
- package/es/popconfirm/style/index.css +0 -42
- package/es/popover/index.js +5 -1
- package/es/popover/style/index.css +11 -53
- 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 +3 -3
- package/es/style/index.css +13 -55
- package/es/style/themes/default.less +29 -55
- package/es/style/themes/index.less +2 -3
- package/es/style/themes/variable.less +1 -4
- 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 +25 -67
- 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 +6 -48
- 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 +23 -65
- 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 +12 -54
- 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 +23 -65
- 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 +17 -59
- 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 +44 -86
- package/lib/message/style/index.css +5 -47
- package/lib/modal/style/confirm.less +2 -2
- package/lib/modal/style/index.css +2 -44
- package/lib/modal/style/index.less +0 -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 +97 -116
- package/lib/pagination/style/index.less +64 -21
- package/lib/popconfirm/style/index.css +0 -42
- package/lib/popover/index.js +5 -1
- package/lib/popover/style/index.css +11 -53
- 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 +3 -3
- package/lib/style/index.css +13 -55
- package/lib/style/themes/default.less +29 -55
- package/lib/style/themes/index.less +2 -3
- package/lib/style/themes/variable.less +1 -4
- 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 +25 -67
- 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 +6 -48
- 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 +23 -65
- 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
@@ -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:
|
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 #
|
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:
|
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:
|
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
|
}
|
103
61
|
.ant-input-number-affix-wrapper-disabled {
|
104
|
-
color:
|
105
|
-
background-color: #
|
106
|
-
border-color: #
|
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: #
|
70
|
+
border-color: #d2d2d2;
|
113
71
|
border-right-width: 1px;
|
114
72
|
}
|
115
73
|
.ant-input-number-affix-wrapper[disabled] {
|
116
|
-
color:
|
117
|
-
background-color: #
|
118
|
-
border-color: #
|
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: #
|
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:
|
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:
|
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:
|
214
|
-
box-shadow: 0 0 0 2px
|
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:
|
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:
|
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:
|
229
|
-
box-shadow: 0 0 0 2px
|
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:
|
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:
|
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:
|
244
|
-
box-shadow: 0 0 0 2px
|
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:
|
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:
|
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:
|
259
|
-
box-shadow: 0 0 0 2px
|
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:
|
222
|
+
color: #ffab00;
|
265
223
|
}
|
266
224
|
.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {
|
267
|
-
color:
|
268
|
-
border-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:
|
272
|
-
border-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:
|
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 #
|
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:
|
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:
|
328
|
-
box-shadow: 0 0 0 2px
|
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:
|
334
|
-
background-color: #
|
335
|
-
border-color: #
|
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: #
|
299
|
+
border-color: #d2d2d2;
|
342
300
|
border-right-width: 1px;
|
343
301
|
}
|
344
302
|
.ant-input-number[disabled] {
|
345
|
-
color:
|
346
|
-
background-color: #
|
347
|
-
border-color: #
|
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: #
|
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:
|
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:
|
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 #
|
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:
|
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 #
|
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 #
|
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:
|
625
|
+
color: #a9a9a9;
|
668
626
|
font-weight: bold;
|
669
627
|
line-height: 0;
|
670
628
|
text-align: center;
|
671
|
-
border-left: 1px solid #
|
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:
|
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:
|
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:
|
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:
|
733
|
-
box-shadow: 0 0 0 2px
|
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:
|
739
|
-
background-color: #
|
740
|
-
border-color: #
|
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: #
|
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 #
|
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:
|
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:
|
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 #
|
853
|
+
border-right: 1px solid #d2d2d2;
|
896
854
|
border-left: 0;
|
897
855
|
}
|
898
856
|
.ant-input-number-rtl .ant-input-number-handler-wrap {
|
package/lib/layout/Sider.js
CHANGED
@@ -17,24 +17,24 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
17
17
|
|
18
18
|
var _tslib = require("tslib");
|
19
19
|
|
20
|
-
var React = _interopRequireWildcard(require("react"));
|
21
|
-
|
22
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
23
|
-
|
24
|
-
var _omit = _interopRequireDefault(require("rc-util/lib/omit"));
|
25
|
-
|
26
20
|
var _BarsOutlined = _interopRequireDefault(require("@ant-design/icons/BarsOutlined"));
|
27
21
|
|
22
|
+
var _LeftOutlined = _interopRequireDefault(require("@ant-design/icons/LeftOutlined"));
|
23
|
+
|
28
24
|
var _RightOutlined = _interopRequireDefault(require("@ant-design/icons/RightOutlined"));
|
29
25
|
|
30
|
-
var
|
26
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
31
27
|
|
32
|
-
var
|
28
|
+
var _omit = _interopRequireDefault(require("rc-util/lib/omit"));
|
29
|
+
|
30
|
+
var React = _interopRequireWildcard(require("react"));
|
33
31
|
|
34
32
|
var _configProvider = require("../config-provider");
|
35
33
|
|
36
34
|
var _isNumeric = _interopRequireDefault(require("../_util/isNumeric"));
|
37
35
|
|
36
|
+
var _layout = require("./layout");
|
37
|
+
|
38
38
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
39
39
|
|
40
40
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -224,6 +224,10 @@ var Sider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
224
224
|
value: contextValue
|
225
225
|
}, renderSider());
|
226
226
|
});
|
227
|
-
|
227
|
+
|
228
|
+
if (process.env.NODE_ENV !== 'production') {
|
229
|
+
Sider.displayName = 'Sider';
|
230
|
+
}
|
231
|
+
|
228
232
|
var _default = Sider;
|
229
233
|
exports["default"] = _default;
|
package/lib/layout/layout.js
CHANGED
@@ -19,10 +19,10 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
19
19
|
|
20
20
|
var _tslib = require("tslib");
|
21
21
|
|
22
|
-
var React = _interopRequireWildcard(require("react"));
|
23
|
-
|
24
22
|
var _classnames = _interopRequireDefault(require("classnames"));
|
25
23
|
|
24
|
+
var React = _interopRequireWildcard(require("react"));
|
25
|
+
|
26
26
|
var _configProvider = require("../config-provider");
|
27
27
|
|
28
28
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
@@ -58,7 +58,11 @@ function generator(_ref) {
|
|
58
58
|
tagName: tagName
|
59
59
|
}, props));
|
60
60
|
});
|
61
|
-
|
61
|
+
|
62
|
+
if (process.env.NODE_ENV !== 'production') {
|
63
|
+
Adapter.displayName = displayName;
|
64
|
+
}
|
65
|
+
|
62
66
|
return Adapter;
|
63
67
|
};
|
64
68
|
}
|
@@ -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:
|
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:
|
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:
|
119
|
+
color: #4c4c4c;
|
162
120
|
background: #fff;
|
163
121
|
}
|
164
122
|
.ant-layout-sider-light .ant-layout-sider-zero-width-trigger {
|
165
|
-
color:
|
123
|
+
color: #4c4c4c;
|
166
124
|
background: #fff;
|
167
125
|
}
|
168
126
|
.ant-layout-rtl {
|