@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,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-picker-calendar {
|
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;
|
@@ -74,7 +32,7 @@ html {
|
|
74
32
|
.ant-picker-calendar .ant-picker-panel {
|
75
33
|
background: #fff;
|
76
34
|
border: 0;
|
77
|
-
border-top: 1px solid
|
35
|
+
border-top: 1px solid #eeeeee;
|
78
36
|
border-radius: 0;
|
79
37
|
}
|
80
38
|
.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel,
|
@@ -137,13 +95,13 @@ html {
|
|
137
95
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,
|
138
96
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,
|
139
97
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today {
|
140
|
-
background:
|
98
|
+
background: #f0f7ff;
|
141
99
|
}
|
142
100
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,
|
143
101
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value,
|
144
102
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,
|
145
103
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value {
|
146
|
-
color:
|
104
|
+
color: #2c68ff;
|
147
105
|
}
|
148
106
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date {
|
149
107
|
display: block;
|
@@ -152,7 +110,7 @@ html {
|
|
152
110
|
margin: 0 4px;
|
153
111
|
padding: 4px 8px 0;
|
154
112
|
border: 0;
|
155
|
-
border-top: 2px solid
|
113
|
+
border-top: 2px solid #eeeeee;
|
156
114
|
border-radius: 0;
|
157
115
|
transition: background 0.3s;
|
158
116
|
}
|
@@ -165,15 +123,15 @@ html {
|
|
165
123
|
width: auto;
|
166
124
|
height: 86px;
|
167
125
|
overflow-y: auto;
|
168
|
-
color:
|
126
|
+
color: #4c4c4c;
|
169
127
|
line-height: 1.5715;
|
170
128
|
text-align: left;
|
171
129
|
}
|
172
130
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today {
|
173
|
-
border-color:
|
131
|
+
border-color: #2c68ff;
|
174
132
|
}
|
175
133
|
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value {
|
176
|
-
color:
|
134
|
+
color: #4c4c4c;
|
177
135
|
}
|
178
136
|
@media only screen and (max-width: 480px) {
|
179
137
|
.ant-picker-calendar-header {
|
package/es/card/style/index.css
CHANGED
@@ -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-card {
|
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;
|
@@ -70,17 +28,17 @@ html {
|
|
70
28
|
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
71
29
|
}
|
72
30
|
.ant-card-bordered {
|
73
|
-
border: 1px solid
|
31
|
+
border: 1px solid #eeeeee;
|
74
32
|
}
|
75
33
|
.ant-card-head {
|
76
34
|
min-height: 48px;
|
77
35
|
margin-bottom: -1px;
|
78
36
|
padding: 0 24px;
|
79
|
-
color:
|
37
|
+
color: #262626;
|
80
38
|
font-weight: 500;
|
81
39
|
font-size: 16px;
|
82
40
|
background: transparent;
|
83
|
-
border-bottom: 1px solid
|
41
|
+
border-bottom: 1px solid #eeeeee;
|
84
42
|
border-radius: 4px 4px 0 0;
|
85
43
|
}
|
86
44
|
.ant-card-head::before {
|
@@ -113,17 +71,17 @@ html {
|
|
113
71
|
.ant-card-head .ant-tabs-top {
|
114
72
|
clear: both;
|
115
73
|
margin-bottom: -17px;
|
116
|
-
color:
|
74
|
+
color: #4c4c4c;
|
117
75
|
font-weight: normal;
|
118
76
|
font-size: 14px;
|
119
77
|
}
|
120
78
|
.ant-card-head .ant-tabs-top-bar {
|
121
|
-
border-bottom: 1px solid
|
79
|
+
border-bottom: 1px solid #eeeeee;
|
122
80
|
}
|
123
81
|
.ant-card-extra {
|
124
82
|
margin-left: auto;
|
125
83
|
padding: 16px 0;
|
126
|
-
color:
|
84
|
+
color: #4c4c4c;
|
127
85
|
font-weight: normal;
|
128
86
|
font-size: 14px;
|
129
87
|
}
|
@@ -156,7 +114,7 @@ html {
|
|
156
114
|
padding: 24px;
|
157
115
|
border: 0;
|
158
116
|
border-radius: 0;
|
159
|
-
box-shadow: 1px 0 0 0
|
117
|
+
box-shadow: 1px 0 0 0 #eeeeee, 0 1px 0 0 #eeeeee, 1px 1px 0 0 #eeeeee, 1px 0 0 0 #eeeeee inset, 0 1px 0 0 #eeeeee inset;
|
160
118
|
transition: all 0.3s;
|
161
119
|
}
|
162
120
|
.ant-card-grid-hoverable:hover {
|
@@ -189,7 +147,7 @@ html {
|
|
189
147
|
padding: 0;
|
190
148
|
list-style: none;
|
191
149
|
background: #fff;
|
192
|
-
border-top: 1px solid
|
150
|
+
border-top: 1px solid #eeeeee;
|
193
151
|
}
|
194
152
|
.ant-card-actions::before {
|
195
153
|
display: table;
|
@@ -202,7 +160,7 @@ html {
|
|
202
160
|
}
|
203
161
|
.ant-card-actions > li {
|
204
162
|
margin: 12px 0;
|
205
|
-
color:
|
163
|
+
color: #a9a9a9;
|
206
164
|
text-align: center;
|
207
165
|
}
|
208
166
|
.ant-card-actions > li > span {
|
@@ -214,31 +172,31 @@ html {
|
|
214
172
|
cursor: pointer;
|
215
173
|
}
|
216
174
|
.ant-card-actions > li > span:hover {
|
217
|
-
color:
|
175
|
+
color: #2c68ff;
|
218
176
|
transition: color 0.3s;
|
219
177
|
}
|
220
178
|
.ant-card-actions > li > span a:not(.ant-btn),
|
221
179
|
.ant-card-actions > li > span > .anticon {
|
222
180
|
display: inline-block;
|
223
181
|
width: 100%;
|
224
|
-
color:
|
182
|
+
color: #a9a9a9;
|
225
183
|
line-height: 22px;
|
226
184
|
transition: color 0.3s;
|
227
185
|
}
|
228
186
|
.ant-card-actions > li > span a:not(.ant-btn):hover,
|
229
187
|
.ant-card-actions > li > span > .anticon:hover {
|
230
|
-
color:
|
188
|
+
color: #2c68ff;
|
231
189
|
}
|
232
190
|
.ant-card-actions > li > span > .anticon {
|
233
191
|
font-size: 16px;
|
234
192
|
line-height: 22px;
|
235
193
|
}
|
236
194
|
.ant-card-actions > li:not(:last-child) {
|
237
|
-
border-right: 1px solid
|
195
|
+
border-right: 1px solid #eeeeee;
|
238
196
|
}
|
239
197
|
.ant-card-rtl .ant-card-actions > li:not(:last-child) {
|
240
198
|
border-right: none;
|
241
|
-
border-left: 1px solid
|
199
|
+
border-left: 1px solid #eeeeee;
|
242
200
|
}
|
243
201
|
.ant-card-type-inner .ant-card-head {
|
244
202
|
padding: 0 24px;
|
@@ -282,14 +240,14 @@ html {
|
|
282
240
|
}
|
283
241
|
.ant-card-meta-title {
|
284
242
|
overflow: hidden;
|
285
|
-
color:
|
243
|
+
color: #262626;
|
286
244
|
font-weight: 500;
|
287
245
|
font-size: 16px;
|
288
246
|
white-space: nowrap;
|
289
247
|
text-overflow: ellipsis;
|
290
248
|
}
|
291
249
|
.ant-card-meta-description {
|
292
|
-
color:
|
250
|
+
color: #a9a9a9;
|
293
251
|
}
|
294
252
|
.ant-card-loading {
|
295
253
|
overflow: hidden;
|
@@ -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-carousel {
|
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;
|
package/es/cascader/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
+
import type { BaseOptionType, DefaultOptionType, FieldNames, MultipleCascaderProps as RcMultipleCascaderProps, SingleCascaderProps as RcSingleCascaderProps } from 'rc-cascader';
|
1
2
|
import * as React from 'react';
|
2
|
-
import type { SingleCascaderProps as RcSingleCascaderProps, MultipleCascaderProps as RcMultipleCascaderProps, FieldNames, BaseOptionType, DefaultOptionType } from 'rc-cascader';
|
3
3
|
import type { SizeType } from '../config-provider/SizeContext';
|
4
4
|
import type { SelectCommonPlacement } from '../_util/motion';
|
5
5
|
import type { InputStatus } from '../_util/statusUtils';
|
package/es/cascader/index.js
CHANGED
@@ -3,23 +3,23 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
3
|
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
4
4
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
5
5
|
import { __rest } from "tslib";
|
6
|
-
import
|
6
|
+
import LeftOutlined from "@ant-design/icons/es/icons/LeftOutlined";
|
7
|
+
import LoadingOutlined from "@ant-design/icons/es/icons/LoadingOutlined";
|
8
|
+
import RightOutlined from "@ant-design/icons/es/icons/RightOutlined";
|
7
9
|
import classNames from 'classnames';
|
8
10
|
import RcCascader from 'rc-cascader';
|
9
11
|
import omit from "rc-util/es/omit";
|
10
|
-
import
|
11
|
-
import LoadingOutlined from "@ant-design/icons/es/icons/LoadingOutlined";
|
12
|
-
import LeftOutlined from "@ant-design/icons/es/icons/LeftOutlined";
|
12
|
+
import * as React from 'react';
|
13
13
|
import { useContext } from 'react';
|
14
|
-
import warning from '../_util/warning';
|
15
14
|
import { ConfigContext } from '../config-provider';
|
16
15
|
import defaultRenderEmpty from '../config-provider/defaultRenderEmpty';
|
17
|
-
import SizeContext from '../config-provider/SizeContext';
|
18
16
|
import DisabledContext from '../config-provider/DisabledContext';
|
19
|
-
import
|
20
|
-
import { getTransitionName, getTransitionDirection } from '../_util/motion';
|
17
|
+
import SizeContext from '../config-provider/SizeContext';
|
21
18
|
import { FormItemInputContext } from '../form/context';
|
19
|
+
import getIcons from '../select/utils/iconUtil';
|
20
|
+
import { getTransitionDirection, getTransitionName } from '../_util/motion';
|
22
21
|
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
|
22
|
+
import warning from '../_util/warning';
|
23
23
|
var SHOW_CHILD = RcCascader.SHOW_CHILD,
|
24
24
|
SHOW_PARENT = RcCascader.SHOW_PARENT;
|
25
25
|
|
@@ -216,7 +216,11 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
216
216
|
showArrow: hasFeedback || showArrow
|
217
217
|
}));
|
218
218
|
});
|
219
|
-
|
219
|
+
|
220
|
+
if (process.env.NODE_ENV !== 'production') {
|
221
|
+
Cascader.displayName = 'Cascader';
|
222
|
+
}
|
223
|
+
|
220
224
|
Cascader.SHOW_PARENT = SHOW_PARENT;
|
221
225
|
Cascader.SHOW_CHILD = SHOW_CHILD;
|
222
226
|
export default Cascader;
|
@@ -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
|
@-webkit-keyframes antCheckboxEffect {
|
48
6
|
0% {
|
49
7
|
transform: scale(1);
|
@@ -68,7 +26,7 @@ html {
|
|
68
26
|
box-sizing: border-box;
|
69
27
|
margin: 0;
|
70
28
|
padding: 0;
|
71
|
-
color:
|
29
|
+
color: #4c4c4c;
|
72
30
|
font-size: 14px;
|
73
31
|
font-variant: tabular-nums;
|
74
32
|
line-height: 1.5715;
|
@@ -84,7 +42,7 @@ html {
|
|
84
42
|
.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner,
|
85
43
|
.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner,
|
86
44
|
.ant-cascader-checkbox-input:focus + .ant-cascader-checkbox-inner {
|
87
|
-
border-color:
|
45
|
+
border-color: #2c68ff;
|
88
46
|
}
|
89
47
|
.ant-cascader-checkbox-checked::after {
|
90
48
|
position: absolute;
|
@@ -92,7 +50,7 @@ html {
|
|
92
50
|
left: 0;
|
93
51
|
width: 100%;
|
94
52
|
height: 100%;
|
95
|
-
border: 1px solid
|
53
|
+
border: 1px solid #2c68ff;
|
96
54
|
border-radius: 4px;
|
97
55
|
visibility: hidden;
|
98
56
|
-webkit-animation: antCheckboxEffect 0.36s ease-in-out;
|
@@ -114,7 +72,7 @@ html {
|
|
114
72
|
height: 16px;
|
115
73
|
direction: ltr;
|
116
74
|
background-color: #fff;
|
117
|
-
border: 1px solid #
|
75
|
+
border: 1px solid #d2d2d2;
|
118
76
|
border-radius: 4px;
|
119
77
|
border-collapse: separate;
|
120
78
|
transition: all 0.3s;
|
@@ -158,14 +116,14 @@ html {
|
|
158
116
|
content: ' ';
|
159
117
|
}
|
160
118
|
.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner {
|
161
|
-
background-color:
|
162
|
-
border-color:
|
119
|
+
background-color: #2c68ff;
|
120
|
+
border-color: #2c68ff;
|
163
121
|
}
|
164
122
|
.ant-cascader-checkbox-disabled {
|
165
123
|
cursor: not-allowed;
|
166
124
|
}
|
167
125
|
.ant-cascader-checkbox-disabled.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner::after {
|
168
|
-
border-color:
|
126
|
+
border-color: #a9a9a9;
|
169
127
|
-webkit-animation-name: none;
|
170
128
|
animation-name: none;
|
171
129
|
}
|
@@ -174,17 +132,17 @@ html {
|
|
174
132
|
pointer-events: none;
|
175
133
|
}
|
176
134
|
.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner {
|
177
|
-
background-color: #
|
178
|
-
border-color: #
|
135
|
+
background-color: #f1f1f1;
|
136
|
+
border-color: #d2d2d2 !important;
|
179
137
|
}
|
180
138
|
.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after {
|
181
|
-
border-color: #
|
139
|
+
border-color: #f1f1f1;
|
182
140
|
border-collapse: separate;
|
183
141
|
-webkit-animation-name: none;
|
184
142
|
animation-name: none;
|
185
143
|
}
|
186
144
|
.ant-cascader-checkbox-disabled + span {
|
187
|
-
color:
|
145
|
+
color: #a9a9a9;
|
188
146
|
cursor: not-allowed;
|
189
147
|
}
|
190
148
|
.ant-cascader-checkbox-disabled:hover::after,
|
@@ -195,7 +153,7 @@ html {
|
|
195
153
|
box-sizing: border-box;
|
196
154
|
margin: 0;
|
197
155
|
padding: 0;
|
198
|
-
color:
|
156
|
+
color: #4c4c4c;
|
199
157
|
font-size: 14px;
|
200
158
|
font-variant: tabular-nums;
|
201
159
|
line-height: 1.5715;
|
@@ -230,7 +188,7 @@ html {
|
|
230
188
|
box-sizing: border-box;
|
231
189
|
margin: 0;
|
232
190
|
padding: 0;
|
233
|
-
color:
|
191
|
+
color: #4c4c4c;
|
234
192
|
font-size: 14px;
|
235
193
|
font-variant: tabular-nums;
|
236
194
|
line-height: 1.5715;
|
@@ -249,22 +207,22 @@ html {
|
|
249
207
|
}
|
250
208
|
.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner {
|
251
209
|
background-color: #fff;
|
252
|
-
border-color: #
|
210
|
+
border-color: #d2d2d2;
|
253
211
|
}
|
254
212
|
.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner::after {
|
255
213
|
top: 50%;
|
256
214
|
left: 50%;
|
257
215
|
width: 8px;
|
258
216
|
height: 8px;
|
259
|
-
background-color:
|
217
|
+
background-color: #2c68ff;
|
260
218
|
border: 0;
|
261
219
|
transform: translate(-50%, -50%) scale(1);
|
262
220
|
opacity: 1;
|
263
221
|
content: ' ';
|
264
222
|
}
|
265
223
|
.ant-cascader-checkbox-indeterminate.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner::after {
|
266
|
-
background-color:
|
267
|
-
border-color:
|
224
|
+
background-color: #a9a9a9;
|
225
|
+
border-color: #a9a9a9;
|
268
226
|
}
|
269
227
|
.ant-cascader {
|
270
228
|
width: 184px;
|
@@ -292,7 +250,7 @@ html {
|
|
292
250
|
overflow: auto;
|
293
251
|
vertical-align: top;
|
294
252
|
list-style: none;
|
295
|
-
border-right: 1px solid
|
253
|
+
border-right: 1px solid #eeeeee;
|
296
254
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
297
255
|
}
|
298
256
|
.ant-cascader-menu-item {
|
@@ -311,21 +269,21 @@ html {
|
|
311
269
|
background: #f5f5f5;
|
312
270
|
}
|
313
271
|
.ant-cascader-menu-item-disabled {
|
314
|
-
color:
|
272
|
+
color: #a9a9a9;
|
315
273
|
cursor: not-allowed;
|
316
274
|
}
|
317
275
|
.ant-cascader-menu-item-disabled:hover {
|
318
276
|
background: transparent;
|
319
277
|
}
|
320
278
|
.ant-cascader-menu-empty .ant-cascader-menu-item {
|
321
|
-
color:
|
279
|
+
color: #a9a9a9;
|
322
280
|
cursor: default;
|
323
281
|
pointer-events: none;
|
324
282
|
}
|
325
283
|
.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),
|
326
284
|
.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
|
327
285
|
font-weight: 600;
|
328
|
-
background-color:
|
286
|
+
background-color: #f0f7ff;
|
329
287
|
}
|
330
288
|
.ant-cascader-menu-item-content {
|
331
289
|
flex: auto;
|
@@ -333,12 +291,12 @@ html {
|
|
333
291
|
.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,
|
334
292
|
.ant-cascader-menu-item-loading-icon {
|
335
293
|
margin-left: 4px;
|
336
|
-
color:
|
294
|
+
color: #a9a9a9;
|
337
295
|
font-size: 10px;
|
338
296
|
}
|
339
297
|
.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,
|
340
298
|
.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon {
|
341
|
-
color:
|
299
|
+
color: #a9a9a9;
|
342
300
|
}
|
343
301
|
.ant-cascader-menu-item-keyword {
|
344
302
|
color: #ff5c57;
|
package/es/checkbox/Checkbox.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
3
3
|
import { __rest } from "tslib";
|
4
|
-
import * as React from 'react';
|
5
4
|
import classNames from 'classnames';
|
6
5
|
import RcCheckbox from 'rc-checkbox';
|
6
|
+
import * as React from 'react';
|
7
7
|
import { useContext } from 'react';
|
8
|
-
import { FormItemInputContext } from '../form/context';
|
9
|
-
import { GroupContext } from './Group';
|
10
8
|
import { ConfigContext } from '../config-provider';
|
9
|
+
import { FormItemInputContext } from '../form/context';
|
11
10
|
import warning from '../_util/warning';
|
11
|
+
import { GroupContext } from './Group';
|
12
12
|
|
13
13
|
var InternalCheckbox = function InternalCheckbox(_a, ref) {
|
14
14
|
var _classNames;
|
@@ -100,5 +100,9 @@ var InternalCheckbox = function InternalCheckbox(_a, ref) {
|
|
100
100
|
};
|
101
101
|
|
102
102
|
var Checkbox = /*#__PURE__*/React.forwardRef(InternalCheckbox);
|
103
|
-
|
103
|
+
|
104
|
+
if (process.env.NODE_ENV !== 'production') {
|
105
|
+
Checkbox.displayName = 'Checkbox';
|
106
|
+
}
|
107
|
+
|
104
108
|
export default Checkbox;
|