@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
@@ -2,53 +2,11 @@
|
|
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-radio-group {
|
48
6
|
box-sizing: border-box;
|
49
7
|
margin: 0;
|
50
8
|
padding: 0;
|
51
|
-
color:
|
9
|
+
color: #4c4c4c;
|
52
10
|
font-size: 14px;
|
53
11
|
font-variant: tabular-nums;
|
54
12
|
line-height: 1.5715;
|
@@ -67,7 +25,7 @@ html {
|
|
67
25
|
box-sizing: border-box;
|
68
26
|
margin: 0;
|
69
27
|
padding: 0;
|
70
|
-
color:
|
28
|
+
color: #4c4c4c;
|
71
29
|
font-size: 14px;
|
72
30
|
font-variant: tabular-nums;
|
73
31
|
line-height: 1.5715;
|
@@ -96,7 +54,7 @@ html {
|
|
96
54
|
box-sizing: border-box;
|
97
55
|
margin: 0;
|
98
56
|
padding: 0;
|
99
|
-
color:
|
57
|
+
color: #4c4c4c;
|
100
58
|
font-size: 14px;
|
101
59
|
font-variant: tabular-nums;
|
102
60
|
line-height: 1.5715;
|
@@ -111,10 +69,10 @@ html {
|
|
111
69
|
.ant-radio-wrapper:hover .ant-radio,
|
112
70
|
.ant-radio:hover .ant-radio-inner,
|
113
71
|
.ant-radio-input:focus + .ant-radio-inner {
|
114
|
-
border-color:
|
72
|
+
border-color: #2c68ff;
|
115
73
|
}
|
116
74
|
.ant-radio-input:focus + .ant-radio-inner {
|
117
|
-
box-shadow: 0 0 0 3px
|
75
|
+
box-shadow: 0 0 0 3px #f0f7ff;
|
118
76
|
}
|
119
77
|
.ant-radio-checked::after {
|
120
78
|
position: absolute;
|
@@ -122,7 +80,7 @@ html {
|
|
122
80
|
left: 0;
|
123
81
|
width: 100%;
|
124
82
|
height: 100%;
|
125
|
-
border: 1px solid
|
83
|
+
border: 1px solid #2c68ff;
|
126
84
|
border-radius: 50%;
|
127
85
|
visibility: hidden;
|
128
86
|
-webkit-animation: antRadioEffect 0.36s ease-in-out;
|
@@ -143,7 +101,7 @@ html {
|
|
143
101
|
width: 16px;
|
144
102
|
height: 16px;
|
145
103
|
background-color: #fff;
|
146
|
-
border-color: #
|
104
|
+
border-color: #d2d2d2;
|
147
105
|
border-style: solid;
|
148
106
|
border-width: 1px;
|
149
107
|
border-radius: 50%;
|
@@ -158,7 +116,7 @@ html {
|
|
158
116
|
height: 16px;
|
159
117
|
margin-top: -8px;
|
160
118
|
margin-left: -8px;
|
161
|
-
background-color:
|
119
|
+
background-color: #2c68ff;
|
162
120
|
border-top: 0;
|
163
121
|
border-left: 0;
|
164
122
|
border-radius: 16px;
|
@@ -178,10 +136,10 @@ html {
|
|
178
136
|
opacity: 0;
|
179
137
|
}
|
180
138
|
.ant-radio.ant-radio-disabled .ant-radio-inner {
|
181
|
-
border-color: #
|
139
|
+
border-color: #d2d2d2;
|
182
140
|
}
|
183
141
|
.ant-radio-checked .ant-radio-inner {
|
184
|
-
border-color:
|
142
|
+
border-color: #2c68ff;
|
185
143
|
}
|
186
144
|
.ant-radio-checked .ant-radio-inner::after {
|
187
145
|
transform: scale(0.5);
|
@@ -192,7 +150,7 @@ html {
|
|
192
150
|
cursor: not-allowed;
|
193
151
|
}
|
194
152
|
.ant-radio-disabled .ant-radio-inner {
|
195
|
-
background-color: #
|
153
|
+
background-color: #f1f1f1;
|
196
154
|
cursor: not-allowed;
|
197
155
|
}
|
198
156
|
.ant-radio-disabled .ant-radio-inner::after {
|
@@ -202,7 +160,7 @@ html {
|
|
202
160
|
cursor: not-allowed;
|
203
161
|
}
|
204
162
|
.ant-radio-disabled + span {
|
205
|
-
color:
|
163
|
+
color: #a9a9a9;
|
206
164
|
cursor: not-allowed;
|
207
165
|
}
|
208
166
|
span.ant-radio + * {
|
@@ -215,18 +173,18 @@ span.ant-radio + * {
|
|
215
173
|
height: 32px;
|
216
174
|
margin: 0;
|
217
175
|
padding: 0 15px;
|
218
|
-
color:
|
176
|
+
color: #4c4c4c;
|
219
177
|
font-size: 14px;
|
220
178
|
line-height: 30px;
|
221
179
|
background: #fff;
|
222
|
-
border: 1px solid #
|
180
|
+
border: 1px solid #d2d2d2;
|
223
181
|
border-top-width: 1.02px;
|
224
182
|
border-left-width: 0;
|
225
183
|
cursor: pointer;
|
226
184
|
transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
|
227
185
|
}
|
228
186
|
.ant-radio-button-wrapper a {
|
229
|
-
color:
|
187
|
+
color: #4c4c4c;
|
230
188
|
}
|
231
189
|
.ant-radio-button-wrapper > .ant-radio-button {
|
232
190
|
position: absolute;
|
@@ -255,12 +213,12 @@ span.ant-radio + * {
|
|
255
213
|
width: 1px;
|
256
214
|
height: 100%;
|
257
215
|
padding: 1px 0;
|
258
|
-
background-color: #
|
216
|
+
background-color: #d2d2d2;
|
259
217
|
transition: background-color 0.3s;
|
260
218
|
content: '';
|
261
219
|
}
|
262
220
|
.ant-radio-button-wrapper:first-child {
|
263
|
-
border-left: 1px solid #
|
221
|
+
border-left: 1px solid #d2d2d2;
|
264
222
|
border-radius: 4px 0 0 4px;
|
265
223
|
}
|
266
224
|
.ant-radio-button-wrapper:last-child {
|
@@ -271,10 +229,10 @@ span.ant-radio + * {
|
|
271
229
|
}
|
272
230
|
.ant-radio-button-wrapper:hover {
|
273
231
|
position: relative;
|
274
|
-
color:
|
232
|
+
color: #2c68ff;
|
275
233
|
}
|
276
234
|
.ant-radio-button-wrapper:focus-within {
|
277
|
-
box-shadow: 0 0 0 3px
|
235
|
+
box-shadow: 0 0 0 3px #f0f7ff;
|
278
236
|
}
|
279
237
|
.ant-radio-button-wrapper .ant-radio-inner,
|
280
238
|
.ant-radio-button-wrapper input[type='checkbox'],
|
@@ -286,70 +244,70 @@ span.ant-radio + * {
|
|
286
244
|
}
|
287
245
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
|
288
246
|
z-index: 1;
|
289
|
-
color:
|
247
|
+
color: #2c68ff;
|
290
248
|
background: #fff;
|
291
|
-
border-color:
|
249
|
+
border-color: #2c68ff;
|
292
250
|
}
|
293
251
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
|
294
|
-
background-color:
|
252
|
+
background-color: #2c68ff;
|
295
253
|
}
|
296
254
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
|
297
|
-
border-color:
|
255
|
+
border-color: #2c68ff;
|
298
256
|
}
|
299
257
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
|
300
|
-
color:
|
301
|
-
border-color:
|
258
|
+
color: #548aff;
|
259
|
+
border-color: #548aff;
|
302
260
|
}
|
303
261
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {
|
304
|
-
background-color:
|
262
|
+
background-color: #548aff;
|
305
263
|
}
|
306
264
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
|
307
|
-
color:
|
308
|
-
border-color:
|
265
|
+
color: #1a4ad9;
|
266
|
+
border-color: #1a4ad9;
|
309
267
|
}
|
310
268
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before {
|
311
|
-
background-color:
|
269
|
+
background-color: #1a4ad9;
|
312
270
|
}
|
313
271
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
|
314
|
-
box-shadow: 0 0 0 3px
|
272
|
+
box-shadow: 0 0 0 3px #f0f7ff;
|
315
273
|
}
|
316
274
|
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
|
317
275
|
color: #fff;
|
318
|
-
background:
|
319
|
-
border-color:
|
276
|
+
background: #2c68ff;
|
277
|
+
border-color: #2c68ff;
|
320
278
|
}
|
321
279
|
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
|
322
280
|
color: #fff;
|
323
|
-
background:
|
324
|
-
border-color:
|
281
|
+
background: #548aff;
|
282
|
+
border-color: #548aff;
|
325
283
|
}
|
326
284
|
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
|
327
285
|
color: #fff;
|
328
|
-
background:
|
329
|
-
border-color:
|
286
|
+
background: #1a4ad9;
|
287
|
+
border-color: #1a4ad9;
|
330
288
|
}
|
331
289
|
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
|
332
|
-
box-shadow: 0 0 0 3px
|
290
|
+
box-shadow: 0 0 0 3px #f0f7ff;
|
333
291
|
}
|
334
292
|
.ant-radio-button-wrapper-disabled {
|
335
|
-
color:
|
336
|
-
background-color: #
|
337
|
-
border-color: #
|
293
|
+
color: #a9a9a9;
|
294
|
+
background-color: #f1f1f1;
|
295
|
+
border-color: #d2d2d2;
|
338
296
|
cursor: not-allowed;
|
339
297
|
}
|
340
298
|
.ant-radio-button-wrapper-disabled:first-child,
|
341
299
|
.ant-radio-button-wrapper-disabled:hover {
|
342
|
-
color:
|
343
|
-
background-color: #
|
344
|
-
border-color: #
|
300
|
+
color: #a9a9a9;
|
301
|
+
background-color: #f1f1f1;
|
302
|
+
border-color: #d2d2d2;
|
345
303
|
}
|
346
304
|
.ant-radio-button-wrapper-disabled:first-child {
|
347
|
-
border-left-color: #
|
305
|
+
border-left-color: #d2d2d2;
|
348
306
|
}
|
349
307
|
.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
|
350
|
-
color:
|
308
|
+
color: #a9a9a9;
|
351
309
|
background-color: #e6e6e6;
|
352
|
-
border-color: #
|
310
|
+
border-color: #d2d2d2;
|
353
311
|
box-shadow: none;
|
354
312
|
}
|
355
313
|
@-webkit-keyframes antRadioEffect {
|
@@ -389,15 +347,15 @@ span.ant-radio + * {
|
|
389
347
|
left: 0;
|
390
348
|
}
|
391
349
|
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child {
|
392
|
-
border-right: 1px solid #
|
350
|
+
border-right: 1px solid #d2d2d2;
|
393
351
|
border-radius: 0 4px 4px 0;
|
394
352
|
}
|
395
353
|
.ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {
|
396
|
-
border-right-color:
|
354
|
+
border-right-color: #548aff;
|
397
355
|
}
|
398
356
|
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child {
|
399
357
|
border-radius: 4px 0 0 4px;
|
400
358
|
}
|
401
359
|
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child {
|
402
|
-
border-right-color: #
|
360
|
+
border-right-color: #d2d2d2;
|
403
361
|
}
|
package/lib/rate/index.js
CHANGED
@@ -55,7 +55,11 @@ var Rate = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
55
55
|
direction: direction
|
56
56
|
}));
|
57
57
|
});
|
58
|
-
|
58
|
+
|
59
|
+
if (process.env.NODE_ENV !== 'production') {
|
60
|
+
Rate.displayName = 'Rate';
|
61
|
+
}
|
62
|
+
|
59
63
|
Rate.defaultProps = {
|
60
64
|
character: /*#__PURE__*/React.createElement(_StarFilled["default"], null)
|
61
65
|
};
|
package/lib/rate/style/index.css
CHANGED
@@ -2,51 +2,9 @@
|
|
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-rate {
|
48
6
|
box-sizing: border-box;
|
49
|
-
color:
|
7
|
+
color: #4c4c4c;
|
50
8
|
font-size: 14px;
|
51
9
|
font-variant: tabular-nums;
|
52
10
|
line-height: 1.5715;
|
@@ -90,7 +48,7 @@ html {
|
|
90
48
|
}
|
91
49
|
.ant-rate-star-first,
|
92
50
|
.ant-rate-star-second {
|
93
|
-
color:
|
51
|
+
color: #eeeeee;
|
94
52
|
transition: all 0.3s;
|
95
53
|
-webkit-user-select: none;
|
96
54
|
-moz-user-select: none;
|
@@ -2,62 +2,20 @@
|
|
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-result {
|
48
6
|
padding: 48px 32px;
|
49
7
|
}
|
50
8
|
.ant-result-success .ant-result-icon > .anticon {
|
51
|
-
color:
|
9
|
+
color: #36c626;
|
52
10
|
}
|
53
11
|
.ant-result-error .ant-result-icon > .anticon {
|
54
|
-
color:
|
12
|
+
color: #f42d2d;
|
55
13
|
}
|
56
14
|
.ant-result-info .ant-result-icon > .anticon {
|
57
|
-
color:
|
15
|
+
color: #2c68ff;
|
58
16
|
}
|
59
17
|
.ant-result-warning .ant-result-icon > .anticon {
|
60
|
-
color:
|
18
|
+
color: #ffab00;
|
61
19
|
}
|
62
20
|
.ant-result-image {
|
63
21
|
width: 250px;
|
@@ -72,13 +30,13 @@ html {
|
|
72
30
|
font-size: 72px;
|
73
31
|
}
|
74
32
|
.ant-result-title {
|
75
|
-
color:
|
33
|
+
color: #262626;
|
76
34
|
font-size: 24px;
|
77
35
|
line-height: 1.8;
|
78
36
|
text-align: center;
|
79
37
|
}
|
80
38
|
.ant-result-subtitle {
|
81
|
-
color:
|
39
|
+
color: #a9a9a9;
|
82
40
|
font-size: 14px;
|
83
41
|
line-height: 1.6;
|
84
42
|
text-align: center;
|
package/lib/segmented/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
+
import type { SegmentedLabeledOption as RcSegmentedLabeledOption, SegmentedProps as RCSegmentedProps, SegmentedRawOption } from 'rc-segmented';
|
1
2
|
import * as React from 'react';
|
2
|
-
import type { SegmentedProps as RCSegmentedProps, SegmentedRawOption, SegmentedLabeledOption as RcSegmentedLabeledOption } from 'rc-segmented';
|
3
3
|
import type { SizeType } from '../config-provider/SizeContext';
|
4
4
|
export type { SegmentedValue } from 'rc-segmented';
|
5
5
|
interface SegmentedLabeledOptionWithoutIcon extends RcSegmentedLabeledOption {
|
package/lib/segmented/index.js
CHANGED
@@ -17,12 +17,12 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
17
17
|
|
18
18
|
var _tslib = require("tslib");
|
19
19
|
|
20
|
-
var React = _interopRequireWildcard(require("react"));
|
21
|
-
|
22
20
|
var _classnames = _interopRequireDefault(require("classnames"));
|
23
21
|
|
24
22
|
var _rcSegmented = _interopRequireDefault(require("rc-segmented"));
|
25
23
|
|
24
|
+
var React = _interopRequireWildcard(require("react"));
|
25
|
+
|
26
26
|
var _configProvider = require("../config-provider");
|
27
27
|
|
28
28
|
var _SizeContext = _interopRequireDefault(require("../config-provider/SizeContext"));
|
@@ -79,7 +79,11 @@ var Segmented = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
79
79
|
direction: direction
|
80
80
|
}));
|
81
81
|
});
|
82
|
-
|
82
|
+
|
83
|
+
if (process.env.NODE_ENV !== 'production') {
|
84
|
+
Segmented.displayName = 'Segmented';
|
85
|
+
}
|
86
|
+
|
83
87
|
Segmented.defaultProps = {
|
84
88
|
options: []
|
85
89
|
};
|
@@ -2,52 +2,10 @@
|
|
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
|
.segmented-disabled-item,
|
48
6
|
.segmented-disabled-item:hover,
|
49
7
|
.segmented-disabled-item:focus {
|
50
|
-
color:
|
8
|
+
color: #a9a9a9;
|
51
9
|
cursor: not-allowed;
|
52
10
|
}
|
53
11
|
.segmented-item-selected {
|
@@ -65,7 +23,7 @@ html {
|
|
65
23
|
box-sizing: border-box;
|
66
24
|
margin: 0;
|
67
25
|
padding: 0;
|
68
|
-
color:
|
26
|
+
color: #4c4c4c;
|
69
27
|
font-size: 14px;
|
70
28
|
font-variant: tabular-nums;
|
71
29
|
line-height: 1.5715;
|
@@ -147,7 +105,7 @@ html {
|
|
147
105
|
.ant-segmented-item-disabled,
|
148
106
|
.ant-segmented-item-disabled:hover,
|
149
107
|
.ant-segmented-item-disabled:focus {
|
150
|
-
color:
|
108
|
+
color: #a9a9a9;
|
151
109
|
cursor: not-allowed;
|
152
110
|
}
|
153
111
|
.ant-segmented-thumb {
|