@kdcloudjs/kdesign 1.1.0 → 1.1.3
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/CHANGELOG.md +63 -0
- package/dist/kdesign-complete.less +339 -310
- package/dist/kdesign.css +261 -207
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +50 -28
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +3 -3
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/usePopper.js +4 -4
- package/es/avatar/style/token.less +13 -8
- package/es/base-data/base-data.js +5 -1
- package/es/base-data/style/index.css +8 -3
- package/es/base-data/style/index.less +8 -3
- package/es/base-data/style/token.less +7 -0
- package/es/button/style/token.less +7 -5
- package/es/card/style/token.less +8 -8
- package/es/carousel/style/index.css +4 -4
- package/es/carousel/style/token.less +10 -9
- package/es/checkbox/checkbox.js +3 -4
- package/es/checkbox/style/index.css +36 -33
- package/es/checkbox/style/index.less +25 -18
- package/es/checkbox/style/token.less +34 -35
- package/es/city-picker/style/token.less +7 -7
- package/es/date-picker/style/index.css +8 -8
- package/es/date-picker/style/index.less +8 -8
- package/es/date-picker/style/token.less +3 -21
- package/es/form/Field.js +4 -2
- package/es/form/style/index.css +1 -2
- package/es/form/style/index.less +1 -2
- package/es/form/style/token.less +7 -12
- package/es/icon/interface.js +1 -1
- package/es/image/style/token.less +0 -13
- package/es/input/style/index.css +53 -50
- package/es/input/style/index.less +5 -4
- package/es/input/style/mixin.less +1 -0
- package/es/input/style/token.less +23 -20
- package/es/layout/style/index.css +1 -1
- package/es/layout/style/index.less +1 -1
- package/es/layout/style/token.less +5 -5
- package/es/menu/menu.js +1 -1
- package/es/menu/style/index.css +37 -31
- package/es/menu/style/index.less +14 -0
- package/es/menu/style/mixin.less +1 -1
- package/es/menu/style/token.less +13 -16
- package/es/message/content.js +7 -3
- package/es/message/style/index.css +30 -13
- package/es/message/style/index.less +22 -9
- package/es/message/style/token.less +29 -5
- package/es/pagination/pagination.js +4 -4
- package/es/pagination/style/index.css +70 -55
- package/es/pagination/style/index.less +61 -43
- package/es/pagination/style/token.less +9 -7
- package/es/progress/style/token.less +0 -8
- package/es/radio/radio.js +21 -8
- package/es/radio/style/token.less +0 -16
- package/es/select/style/index.css +2 -2
- package/es/select/style/token.less +2 -2
- package/es/stepper/style/index.css +1 -0
- package/es/stepper/style/index.less +1 -0
- package/es/stepper/style/token.less +8 -10
- package/es/style/icon/kdicon.css +224 -0
- package/es/style/icon/kdicon.woff +0 -0
- package/es/switch/style/token.less +0 -6
- package/es/timeline/style/token.less +0 -8
- package/es/tree/style/index.css +6 -3
- package/es/tree/style/index.less +4 -0
- package/es/tree/style/token.less +2 -2
- package/lib/_utils/usePopper.js +4 -4
- package/lib/avatar/style/token.less +13 -8
- package/lib/base-data/base-data.js +5 -1
- package/lib/base-data/style/index.css +8 -3
- package/lib/base-data/style/index.less +8 -3
- package/lib/base-data/style/token.less +7 -0
- package/lib/button/style/token.less +7 -5
- package/lib/card/style/token.less +8 -8
- package/lib/carousel/style/index.css +4 -4
- package/lib/carousel/style/token.less +10 -9
- package/lib/checkbox/checkbox.js +3 -4
- package/lib/checkbox/style/index.css +36 -33
- package/lib/checkbox/style/index.less +25 -18
- package/lib/checkbox/style/token.less +34 -35
- package/lib/city-picker/style/token.less +7 -7
- package/lib/date-picker/style/index.css +8 -8
- package/lib/date-picker/style/index.less +8 -8
- package/lib/date-picker/style/token.less +3 -21
- package/lib/form/Field.js +4 -2
- package/lib/form/style/index.css +1 -2
- package/lib/form/style/index.less +1 -2
- package/lib/form/style/token.less +7 -12
- package/lib/icon/interface.js +1 -1
- package/lib/image/style/token.less +0 -13
- package/lib/input/style/index.css +53 -50
- package/lib/input/style/index.less +5 -4
- package/lib/input/style/mixin.less +1 -0
- package/lib/input/style/token.less +23 -20
- package/lib/layout/style/index.css +1 -1
- package/lib/layout/style/index.less +1 -1
- package/lib/layout/style/token.less +5 -5
- package/lib/menu/menu.js +1 -1
- package/lib/menu/style/index.css +37 -31
- package/lib/menu/style/index.less +14 -0
- package/lib/menu/style/mixin.less +1 -1
- package/lib/menu/style/token.less +13 -16
- package/lib/message/content.js +7 -3
- package/lib/message/style/index.css +30 -13
- package/lib/message/style/index.less +22 -9
- package/lib/message/style/token.less +29 -5
- package/lib/pagination/pagination.js +4 -3
- package/lib/pagination/style/index.css +70 -55
- package/lib/pagination/style/index.less +61 -43
- package/lib/pagination/style/token.less +9 -7
- package/lib/progress/style/token.less +0 -8
- package/lib/radio/radio.js +21 -8
- package/lib/radio/style/token.less +0 -16
- package/lib/select/style/index.css +2 -2
- package/lib/select/style/token.less +2 -2
- package/lib/stepper/style/index.css +1 -0
- package/lib/stepper/style/index.less +1 -0
- package/lib/stepper/style/token.less +8 -10
- package/lib/style/icon/kdicon.css +224 -0
- package/lib/style/icon/kdicon.woff +0 -0
- package/lib/switch/style/token.less +0 -6
- package/lib/timeline/style/token.less +0 -8
- package/lib/tree/style/index.css +6 -3
- package/lib/tree/style/index.less +4 -0
- package/lib/tree/style/token.less +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "kdicon";
|
|
3
|
+
src: url("kdicon.woff?t=1648879081136") format("woff");
|
|
4
|
+
}
|
|
5
|
+
.kdicon {
|
|
6
|
+
font-family: 'kdicon' !important;
|
|
7
|
+
font-style:normal;
|
|
8
|
+
-webkit-font-smoothing: antialiased;
|
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
|
10
|
+
}
|
|
11
|
+
.kdicon-add-child:before { content: "\e6c0"; }
|
|
12
|
+
.kdicon-add-indentation:before { content: "\e6a7"; }
|
|
13
|
+
.kdicon-add-line:before { content: "\e6c5"; }
|
|
14
|
+
.kdicon-add-solid:before { content: "\e643"; }
|
|
15
|
+
.kdicon-add-word:before { content: "\e6ed"; }
|
|
16
|
+
.kdicon-add:before { content: "\e628"; }
|
|
17
|
+
.kdicon-address:before { content: "\e6cc"; }
|
|
18
|
+
.kdicon-align-center:before { content: "\e69a"; }
|
|
19
|
+
.kdicon-align-left:before { content: "\e6af"; }
|
|
20
|
+
.kdicon-align-right:before { content: "\e67a"; }
|
|
21
|
+
.kdicon-all-border:before { content: "\e677"; }
|
|
22
|
+
.kdicon-allowance-workbench:before { content: "\e714"; }
|
|
23
|
+
.kdicon-analysis:before { content: "\e6ce"; }
|
|
24
|
+
.kdicon-arrow-down-solid:before { content: "\e656"; }
|
|
25
|
+
.kdicon-arrow-down:before { content: "\e627"; }
|
|
26
|
+
.kdicon-arrow-left-solid:before { content: "\e657"; }
|
|
27
|
+
.kdicon-arrow-left:before { content: "\e63f"; }
|
|
28
|
+
.kdicon-arrow-right-solid:before { content: "\e655"; }
|
|
29
|
+
.kdicon-arrow-right:before { content: "\e62c"; }
|
|
30
|
+
.kdicon-arrow-up-solid:before { content: "\e654"; }
|
|
31
|
+
.kdicon-arrow-up:before { content: "\e62b"; }
|
|
32
|
+
.kdicon-arrow:before { content: "\e69c"; }
|
|
33
|
+
.kdicon-attachment:before { content: "\e694"; }
|
|
34
|
+
.kdicon-avatar-default:before { content: "\e717"; }
|
|
35
|
+
.kdicon-avatar-head-default:before { content: "\e718"; }
|
|
36
|
+
.kdicon-avatar-solid:before { content: "\e711"; }
|
|
37
|
+
.kdicon-back:before { content: "\e6cd"; }
|
|
38
|
+
.kdicon-bankcard:before { content: "\e705"; }
|
|
39
|
+
.kdicon-bellOutlined:before { content: "\e71a"; }
|
|
40
|
+
.kdicon-bold-solid:before { content: "\e668"; }
|
|
41
|
+
.kdicon-border:before { content: "\e6f9"; }
|
|
42
|
+
.kdicon-bottom-border:before { content: "\e704"; }
|
|
43
|
+
.kdicon-business-type:before { content: "\e716"; }
|
|
44
|
+
.kdicon-cancel:before { content: "\e68f"; }
|
|
45
|
+
.kdicon-cell:before { content: "\e692"; }
|
|
46
|
+
.kdicon-change:before { content: "\e6e2"; }
|
|
47
|
+
.kdicon-chart-display:before { content: "\e710"; }
|
|
48
|
+
.kdicon-chart:before { content: "\e6d0"; }
|
|
49
|
+
.kdicon-classify:before { content: "\e6d4"; }
|
|
50
|
+
.kdicon-close-bold:before { content: "\e647"; }
|
|
51
|
+
.kdicon-close-full-screen:before { content: "\e679"; }
|
|
52
|
+
.kdicon-close-solid:before { content: "\e644"; }
|
|
53
|
+
.kdicon-close:before { content: "\e62f"; }
|
|
54
|
+
.kdicon-cn:before { content: "\e6b5"; }
|
|
55
|
+
.kdicon-code:before { content: "\e6ca"; }
|
|
56
|
+
.kdicon-collect:before { content: "\e6ec"; }
|
|
57
|
+
.kdicon-comment:before { content: "\e6bc"; }
|
|
58
|
+
.kdicon-communication-solid:before { content: "\e65e"; }
|
|
59
|
+
.kdicon-contract:before { content: "\e69f"; }
|
|
60
|
+
.kdicon-cooperation:before { content: "\e6fb"; }
|
|
61
|
+
.kdicon-copy-code:before { content: "\e6e1"; }
|
|
62
|
+
.kdicon-copy:before { content: "\e678"; }
|
|
63
|
+
.kdicon-counterclockwise:before { content: "\e6e5"; }
|
|
64
|
+
.kdicon-customize:before { content: "\e707"; }
|
|
65
|
+
.kdicon-date-selection:before { content: "\e70f"; }
|
|
66
|
+
.kdicon-date:before { content: "\e6eb"; }
|
|
67
|
+
.kdicon-delete-indentation:before { content: "\e697"; }
|
|
68
|
+
.kdicon-delete-line:before { content: "\e68c"; }
|
|
69
|
+
.kdicon-delete-solid:before { content: "\e667"; }
|
|
70
|
+
.kdicon-delete:before { content: "\e6ee"; }
|
|
71
|
+
.kdicon-detail:before { content: "\e6c4"; }
|
|
72
|
+
.kdicon-detect:before { content: "\e68e"; }
|
|
73
|
+
.kdicon-division-solid:before { content: "\e65a"; }
|
|
74
|
+
.kdicon-double-arrow-left:before { content: "\e64a"; }
|
|
75
|
+
.kdicon-double-arrow-right:before { content: "\e649"; }
|
|
76
|
+
.kdicon-download:before { content: "\e70a"; }
|
|
77
|
+
.kdicon-edit-border:before { content: "\e6c8"; }
|
|
78
|
+
.kdicon-edit-view:before { content: "\e6c7"; }
|
|
79
|
+
.kdicon-edit:before { content: "\e6a6"; }
|
|
80
|
+
.kdicon-education:before { content: "\e69d"; }
|
|
81
|
+
.kdicon-eliminate-solid:before { content: "\e659"; }
|
|
82
|
+
.kdicon-en:before { content: "\e6b6"; }
|
|
83
|
+
.kdicon-enlarge:before { content: "\e6d5"; }
|
|
84
|
+
.kdicon-equal:before { content: "\e6a3"; }
|
|
85
|
+
.kdicon-exclamatory:before { content: "\e64e"; }
|
|
86
|
+
.kdicon-expand:before { content: "\e651"; }
|
|
87
|
+
.kdicon-experience:before { content: "\e6ff"; }
|
|
88
|
+
.kdicon-fail:before { content: "\e6a5"; }
|
|
89
|
+
.kdicon-feedback:before { content: "\e6d6"; }
|
|
90
|
+
.kdicon-female:before { content: "\e684"; }
|
|
91
|
+
.kdicon-filter-solid:before { content: "\e66a"; }
|
|
92
|
+
.kdicon-filter-switch:before { content: "\e6b1"; }
|
|
93
|
+
.kdicon-filter:before { content: "\e6a0"; }
|
|
94
|
+
.kdicon-finish:before { content: "\e6dc"; }
|
|
95
|
+
.kdicon-first:before { content: "\e630"; }
|
|
96
|
+
.kdicon-fixed-shrink:before { content: "\e693"; }
|
|
97
|
+
.kdicon-fixed-solid:before { content: "\e65f"; }
|
|
98
|
+
.kdicon-fixed-window:before { content: "\e6d1"; }
|
|
99
|
+
.kdicon-fixed:before { content: "\e6e3"; }
|
|
100
|
+
.kdicon-foldmenu:before { content: "\e70e"; }
|
|
101
|
+
.kdicon-font-background-solid:before { content: "\e673"; }
|
|
102
|
+
.kdicon-font-color-solid:before { content: "\e674"; }
|
|
103
|
+
.kdicon-forbid:before { content: "\e69b"; }
|
|
104
|
+
.kdicon-git:before { content: "\e6c1"; }
|
|
105
|
+
.kdicon-graffiti:before { content: "\e6fe"; }
|
|
106
|
+
.kdicon-greater-equal:before { content: "\e6d7"; }
|
|
107
|
+
.kdicon-have-attachment:before { content: "\e6a8"; }
|
|
108
|
+
.kdicon-hide:before { content: "\e6a9"; }
|
|
109
|
+
.kdicon-hyperlink:before { content: "\e6c9"; }
|
|
110
|
+
.kdicon-image:before { content: "\e687"; }
|
|
111
|
+
.kdicon-import:before { content: "\e6cb"; }
|
|
112
|
+
.kdicon-international:before { content: "\e719"; }
|
|
113
|
+
.kdicon-job-info:before { content: "\e68d"; }
|
|
114
|
+
.kdicon-last:before { content: "\e631"; }
|
|
115
|
+
.kdicon-left-border:before { content: "\e708"; }
|
|
116
|
+
.kdicon-left-extension:before { content: "\e6ae"; }
|
|
117
|
+
.kdicon-left-unfold-solid:before { content: "\e675"; }
|
|
118
|
+
.kdicon-left-unfold:before { content: "\e709"; }
|
|
119
|
+
.kdicon-like:before { content: "\e67f"; }
|
|
120
|
+
.kdicon-list:before { content: "\e6e6"; }
|
|
121
|
+
.kdicon-little-k:before { content: "\e700"; }
|
|
122
|
+
.kdicon-loadding-circle:before { content: "\e645"; }
|
|
123
|
+
.kdicon-loadding:before { content: "\e62d"; }
|
|
124
|
+
.kdicon-location-solid:before { content: "\e640"; }
|
|
125
|
+
.kdicon-location:before { content: "\e695"; }
|
|
126
|
+
.kdicon-lock-solid:before { content: "\e66b"; }
|
|
127
|
+
.kdicon-lock:before { content: "\e68b"; }
|
|
128
|
+
.kdicon-male:before { content: "\e683"; }
|
|
129
|
+
.kdicon-material:before { content: "\e6db"; }
|
|
130
|
+
.kdicon-medical-report:before { content: "\e703"; }
|
|
131
|
+
.kdicon-menu:before { content: "\e6d8"; }
|
|
132
|
+
.kdicon-merge-cell:before { content: "\e6f3"; }
|
|
133
|
+
.kdicon-more-info-solid:before { content: "\e660"; }
|
|
134
|
+
.kdicon-more-info:before { content: "\e6e4"; }
|
|
135
|
+
.kdicon-more-item:before { content: "\e6f4"; }
|
|
136
|
+
.kdicon-more:before { content: "\e6a1"; }
|
|
137
|
+
.kdicon-mosaic-solid:before { content: "\e663"; }
|
|
138
|
+
.kdicon-multiply:before { content: "\e65b"; }
|
|
139
|
+
.kdicon-my-receipt:before { content: "\e715"; }
|
|
140
|
+
.kdicon-no-border:before { content: "\e6f8"; }
|
|
141
|
+
.kdicon-not-equal:before { content: "\e6dd"; }
|
|
142
|
+
.kdicon-notice:before { content: "\e658"; }
|
|
143
|
+
.kdicon-oblique-solid:before { content: "\e66e"; }
|
|
144
|
+
.kdicon-operating-element:before { content: "\e6a4"; }
|
|
145
|
+
.kdicon-order-facet:before { content: "\e713"; }
|
|
146
|
+
.kdicon-order:before { content: "\e6d2"; }
|
|
147
|
+
.kdicon-ordered-list:before { content: "\e6fa"; }
|
|
148
|
+
.kdicon-person-solid:before { content: "\e669"; }
|
|
149
|
+
.kdicon-phone:before { content: "\e6d3"; }
|
|
150
|
+
.kdicon-platform:before { content: "\e6f1"; }
|
|
151
|
+
.kdicon-preview-view:before { content: "\e6ba"; }
|
|
152
|
+
.kdicon-preview:before { content: "\e6ac"; }
|
|
153
|
+
.kdicon-print:before { content: "\e690"; }
|
|
154
|
+
.kdicon-processing-solid:before { content: "\e665"; }
|
|
155
|
+
.kdicon-project:before { content: "\e681"; }
|
|
156
|
+
.kdicon-push-down:before { content: "\e702"; }
|
|
157
|
+
.kdicon-put-bottom:before { content: "\e6b4"; }
|
|
158
|
+
.kdicon-put-off:before { content: "\e685"; }
|
|
159
|
+
.kdicon-put-on:before { content: "\e6bd"; }
|
|
160
|
+
.kdicon-put-top:before { content: "\e6b3"; }
|
|
161
|
+
.kdicon-qrcode:before { content: "\e6df"; }
|
|
162
|
+
.kdicon-qualification-info:before { content: "\e6b2"; }
|
|
163
|
+
.kdicon-quit:before { content: "\e6fc"; }
|
|
164
|
+
.kdicon-quote-solid:before { content: "\e66d"; }
|
|
165
|
+
.kdicon-reduce:before { content: "\e696"; }
|
|
166
|
+
.kdicon-reduction:before { content: "\e6f2"; }
|
|
167
|
+
.kdicon-refresh-solid:before { content: "\e642"; }
|
|
168
|
+
.kdicon-refresh:before { content: "\e629"; }
|
|
169
|
+
.kdicon-report-form:before { content: "\e712"; }
|
|
170
|
+
.kdicon-reset:before { content: "\e6b9"; }
|
|
171
|
+
.kdicon-resign-report:before { content: "\e699"; }
|
|
172
|
+
.kdicon-return:before { content: "\e6e0"; }
|
|
173
|
+
.kdicon-right-bold:before { content: "\e648"; }
|
|
174
|
+
.kdicon-right-border:before { content: "\e67c"; }
|
|
175
|
+
.kdicon-right-extension:before { content: "\e6aa"; }
|
|
176
|
+
.kdicon-right-solid:before { content: "\e641"; }
|
|
177
|
+
.kdicon-right-unfold-solid:before { content: "\e672"; }
|
|
178
|
+
.kdicon-right-unfold:before { content: "\e6ab"; }
|
|
179
|
+
.kdicon-right:before { content: "\e62e"; }
|
|
180
|
+
.kdicon-rough-border:before { content: "\e6de"; }
|
|
181
|
+
.kdicon-save:before { content: "\e6c2"; }
|
|
182
|
+
.kdicon-scanning:before { content: "\e67d"; }
|
|
183
|
+
.kdicon-search-border:before { content: "\e6da"; }
|
|
184
|
+
.kdicon-search:before { content: "\e62a"; }
|
|
185
|
+
.kdicon-setting:before { content: "\e652"; }
|
|
186
|
+
.kdicon-share:before { content: "\e6cf"; }
|
|
187
|
+
.kdicon-shoppingcart:before { content: "\e6bf"; }
|
|
188
|
+
.kdicon-shrink:before { content: "\e6fd"; }
|
|
189
|
+
.kdicon-shutdown:before { content: "\e686"; }
|
|
190
|
+
.kdicon-spin:before { content: "\e6f7"; }
|
|
191
|
+
.kdicon-split:before { content: "\e6c3"; }
|
|
192
|
+
.kdicon-star:before { content: "\e653"; }
|
|
193
|
+
.kdicon-stop:before { content: "\e691"; }
|
|
194
|
+
.kdicon-strike-solid:before { content: "\e664"; }
|
|
195
|
+
.kdicon-sun-solid:before { content: "\e670"; }
|
|
196
|
+
.kdicon-switch-down:before { content: "\e698"; }
|
|
197
|
+
.kdicon-switch-up:before { content: "\e680"; }
|
|
198
|
+
.kdicon-switch:before { content: "\e6e7"; }
|
|
199
|
+
.kdicon-table-setting:before { content: "\e6c6"; }
|
|
200
|
+
.kdicon-task-process:before { content: "\e6ea"; }
|
|
201
|
+
.kdicon-timezone-solid:before { content: "\e662"; }
|
|
202
|
+
.kdicon-tips-solid:before { content: "\e66c"; }
|
|
203
|
+
.kdicon-tips:before { content: "\e650"; }
|
|
204
|
+
.kdicon-title-solid:before { content: "\e65c"; }
|
|
205
|
+
.kdicon-top-border:before { content: "\e6ef"; }
|
|
206
|
+
.kdicon-two-window:before { content: "\e6f6"; }
|
|
207
|
+
.kdicon-underline-solid:before { content: "\e671"; }
|
|
208
|
+
.kdicon-unfold-all:before { content: "\e6ad"; }
|
|
209
|
+
.kdicon-unfold:before { content: "\e6bb"; }
|
|
210
|
+
.kdicon-unfoldmenu:before { content: "\e70d"; }
|
|
211
|
+
.kdicon-unlock-solid:before { content: "\e666"; }
|
|
212
|
+
.kdicon-unlock:before { content: "\e69e"; }
|
|
213
|
+
.kdicon-upload-cloud:before { content: "\e632"; }
|
|
214
|
+
.kdicon-upload:before { content: "\e70b"; }
|
|
215
|
+
.kdicon-user-info:before { content: "\e682"; }
|
|
216
|
+
.kdicon-vertical-center:before { content: "\e6f5"; }
|
|
217
|
+
.kdicon-voice:before { content: "\e6d9"; }
|
|
218
|
+
.kdicon-waiting:before { content: "\e64b"; }
|
|
219
|
+
.kdicon-warning-solid:before { content: "\e64c"; }
|
|
220
|
+
.kdicon-warning:before { content: "\e64d"; }
|
|
221
|
+
.kdicon-workbench:before { content: "\e64f"; }
|
|
222
|
+
.kdicon-wrap:before { content: "\e6b0"; }
|
|
223
|
+
.kdicon-yunzhijia:before { content: "\e706"; }
|
|
224
|
+
.kdicon-zoom:before { content: "\e70c"; }
|
|
Binary file
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
@import '../../style/themes/token.less';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
3
|
@timeline-prefix: '--@{kd-prefix}-c-timeline';
|
|
6
|
-
|
|
7
|
-
|
|
8
4
|
@timeline-gap: 8px;
|
|
9
5
|
|
|
10
6
|
// @timeline-dot-size: var(~'@{timeline-prefix}-dot-sizing',9px);
|
|
@@ -12,10 +8,6 @@
|
|
|
12
8
|
|
|
13
9
|
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
11
|
// color
|
|
20
12
|
@timeline-finished-color: var(~'@{timeline-prefix}-finished-color',@color-theme);
|
|
21
13
|
@timeline-error-color: var(~'@{timeline-prefix}-error-color',@color-error);
|
package/es/tree/style/index.css
CHANGED
|
@@ -227,11 +227,14 @@
|
|
|
227
227
|
margin-left: 6px;
|
|
228
228
|
}
|
|
229
229
|
.kd-tree-node-selected {
|
|
230
|
-
background-color: var(--kd-c-tree-node-color-backgroung-checked, #
|
|
231
|
-
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme
|
|
230
|
+
background-color: var(--kd-c-tree-node-color-backgroung-checked, var(--kd-g-color-theme-3, #e3eeff)) !important;
|
|
231
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
232
232
|
}
|
|
233
233
|
.kd-tree-node-selected .kd-tree-node-title {
|
|
234
|
-
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme
|
|
234
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
235
|
+
}
|
|
236
|
+
.kd-tree-node-selected .kd-tree-node-icon {
|
|
237
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
235
238
|
}
|
|
236
239
|
.kd-tree-node-draggabled {
|
|
237
240
|
display: -webkit-box;
|
package/es/tree/style/index.less
CHANGED
package/es/tree/style/token.less
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
@tree-node-disabled-color: var(~'@{tree-prefix}-node-color-disabled', @color-disabled);
|
|
8
8
|
@tree-node-disabled-border-color: var(~'@{tree-prefix}-node-color-border-disabled', @color-border-disabled);
|
|
9
9
|
@tree-color-theme: var(~'@{tree-prefix}-color-theme', @color-theme);
|
|
10
|
-
@tree-node-checked-bg-color: var(~'@{tree-prefix}-node-color-backgroung-checked',
|
|
11
|
-
@tree-node-checked-text-color: var(~'@{tree-prefix}-node-color-text-checked', @color-theme
|
|
10
|
+
@tree-node-checked-bg-color: var(~'@{tree-prefix}-node-color-backgroung-checked', @color-theme-3);
|
|
11
|
+
@tree-node-checked-text-color: var(~'@{tree-prefix}-node-color-text-checked', @color-theme);
|
|
12
12
|
@tree-node-hover-bg-color: var(~'@{tree-prefix}-node-color-backgroung-hover', @color-hover);
|
|
13
13
|
@tree-node-icon-color-text: var(~'@{tree-prefix}-node-icon-color-text', #666666);
|
|
14
14
|
|
package/lib/_utils/usePopper.js
CHANGED
|
@@ -158,7 +158,7 @@ function usePopper(locatorElement, popperElement, props) {
|
|
|
158
158
|
_props$placement = props.placement,
|
|
159
159
|
placement = _props$placement === void 0 ? 'top' : _props$placement,
|
|
160
160
|
_props$gap = props.gap,
|
|
161
|
-
|
|
161
|
+
defaultGap = _props$gap === void 0 ? 4 : _props$gap,
|
|
162
162
|
_props$scrollHidden = props.scrollHidden,
|
|
163
163
|
scrollHidden = _props$scrollHidden === void 0 ? false : _props$scrollHidden,
|
|
164
164
|
_props$mouseEnterDela = props.mouseEnterDelay,
|
|
@@ -207,7 +207,7 @@ function usePopper(locatorElement, popperElement, props) {
|
|
|
207
207
|
top: 0,
|
|
208
208
|
left: 0
|
|
209
209
|
};
|
|
210
|
-
var gap =
|
|
210
|
+
var gap = defaultGap + (arrow ? 10 : 0);
|
|
211
211
|
|
|
212
212
|
var _useState = (0, _react.useState)(initPos),
|
|
213
213
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -467,8 +467,8 @@ function usePopper(locatorElement, popperElement, props) {
|
|
|
467
467
|
};
|
|
468
468
|
var popperNode = popperRef.current;
|
|
469
469
|
var locatorNode = locatorRef.current;
|
|
470
|
-
(0, _hooks.useResizeObserver)(popperNode, alignPopper);
|
|
471
|
-
(0, _hooks.useResizeObserver)(locatorNode, alignPopper);
|
|
470
|
+
(0, _hooks.useResizeObserver)(popperNode || document.body, alignPopper);
|
|
471
|
+
(0, _hooks.useResizeObserver)(locatorNode || document.body, alignPopper);
|
|
472
472
|
var showPopper = (0, _react.useCallback)(function (evType) {
|
|
473
473
|
if (!disabled) {
|
|
474
474
|
!exist && setExist(true);
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
@avatar-custom-prefix: '--@{kd-prefix}-c-avatar';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@avatar-size-x-small: var(~'@{avatar-custom-prefix}-size-x-small', 24px);
|
|
6
|
-
@avatar-size-small: var(~'@{avatar-custom-prefix}-size-small', 32px);
|
|
7
|
-
@avatar-size-base: var(~'@{avatar-custom-prefix}-size-base', 40px);
|
|
8
|
-
@avatar-size-large: var(~'@{avatar-custom-prefix}-size-large', 60px);
|
|
3
|
+
// color
|
|
4
|
+
@avatar-color-background: var(~'@{avatar-custom-prefix}-color-background', #B2B2B2);
|
|
9
5
|
|
|
10
6
|
// font
|
|
11
7
|
@avatar-font-size-x-small: var(~'@{avatar-custom-prefix}-font-size-x-small', 14px);
|
|
@@ -13,8 +9,17 @@
|
|
|
13
9
|
@avatar-font-size-base: var(~'@{avatar-custom-prefix}-font-size-base', 22px);
|
|
14
10
|
@avatar-font-size-large: var(~'@{avatar-custom-prefix}-font-size-large', 36px);
|
|
15
11
|
|
|
12
|
+
|
|
16
13
|
// radius
|
|
17
14
|
@avatar-border-radius: var(~'@{avatar-custom-prefix}-border-radius', 2px);
|
|
18
15
|
|
|
19
|
-
//
|
|
20
|
-
@avatar-
|
|
16
|
+
// sizing
|
|
17
|
+
@avatar-size-x-small: var(~'@{avatar-custom-prefix}-size-x-small', 24px);
|
|
18
|
+
@avatar-size-small: var(~'@{avatar-custom-prefix}-size-small', 32px);
|
|
19
|
+
@avatar-size-base: var(~'@{avatar-custom-prefix}-size-base', 40px);
|
|
20
|
+
@avatar-size-large: var(~'@{avatar-custom-prefix}-size-large', 60px);
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -673,7 +673,11 @@ var InternalBaseData = function InternalBaseData(props, ref) {
|
|
|
673
673
|
|
|
674
674
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
675
675
|
key: item.value,
|
|
676
|
-
className: "".concat(advancedSelectorfixCls, "-dropdown-options"),
|
|
676
|
+
className: (0, _classnames.default)("".concat(advancedSelectorfixCls, "-dropdown-options"), {
|
|
677
|
+
selected: seletedOptions.some(function (v) {
|
|
678
|
+
return v.value === item.value;
|
|
679
|
+
})
|
|
680
|
+
}),
|
|
677
681
|
onMouseDown: function onMouseDown() {
|
|
678
682
|
return handleSelect(item);
|
|
679
683
|
}
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
background: var(--kd-c-base-data-dropdown-radius-border, var(--kd-g-color-background, #fff));
|
|
147
147
|
overflow: auto;
|
|
148
148
|
max-height: var(--kd-c-base-data-dropdown-sizing-height, 400px);
|
|
149
|
+
color: var(--kd-c-base-data-color-text, #212121);
|
|
149
150
|
}
|
|
150
151
|
.kd-baseData-dropdown-columns,
|
|
151
152
|
.kd-baseData-dropdown-options {
|
|
@@ -156,12 +157,16 @@
|
|
|
156
157
|
-ms-flex-align: center;
|
|
157
158
|
align-items: center;
|
|
158
159
|
}
|
|
160
|
+
.kd-baseData-dropdown-columns.selected,
|
|
161
|
+
.kd-baseData-dropdown-options.selected {
|
|
162
|
+
color: var(--kd-c-base-data-option-color-text-active, var(--kd-g-color-theme, #5582f3));
|
|
163
|
+
}
|
|
159
164
|
.kd-baseData-dropdown-columns-item,
|
|
160
165
|
.kd-baseData-dropdown-options-item {
|
|
161
166
|
-webkit-box-flex: 1;
|
|
162
167
|
-ms-flex: 1;
|
|
163
168
|
flex: 1;
|
|
164
|
-
padding: 0 12px;
|
|
169
|
+
padding: 0 var(--kd-c-base-data-option-spacing-padding-vertical, 12px);
|
|
165
170
|
white-space: nowrap;
|
|
166
171
|
overflow: hidden;
|
|
167
172
|
text-overflow: ellipsis;
|
|
@@ -212,7 +217,7 @@
|
|
|
212
217
|
height: 200px;
|
|
213
218
|
}
|
|
214
219
|
.kd-baseData-dropdown-columns {
|
|
215
|
-
height: 36px;
|
|
220
|
+
height: var(--kd-c-base-data-dropdown-columns-height, 36px);
|
|
216
221
|
background: var(--kd-c-base-data-color-background-hover, var(--kd-g-color-hover, #f5f5f5));
|
|
217
222
|
}
|
|
218
223
|
.kd-baseData-dropdown-options {
|
|
@@ -225,7 +230,7 @@
|
|
|
225
230
|
visibility: visible;
|
|
226
231
|
}
|
|
227
232
|
.kd-baseData-dropdown-footer {
|
|
228
|
-
height: 40px;
|
|
233
|
+
height: var(--kd-c-base-data-dropdown-footer-height, 40px);
|
|
229
234
|
border-top: 1px solid var(--kd-c-base-data-footer-color-border, var(--kd-g-color-border-strong, #d9d9d9));
|
|
230
235
|
}
|
|
231
236
|
.kd-baseData-dropdown-footer-btn {
|
|
@@ -52,15 +52,20 @@
|
|
|
52
52
|
background: @base-data-dropdown-color-background;
|
|
53
53
|
overflow: auto;
|
|
54
54
|
max-height: @base-data-dropdown-height;
|
|
55
|
+
color: @base-data-color-text;
|
|
55
56
|
|
|
56
57
|
&-columns,
|
|
57
58
|
&-options {
|
|
58
59
|
display: flex;
|
|
59
60
|
align-items: center;
|
|
60
61
|
|
|
62
|
+
&.selected {
|
|
63
|
+
color: @base-data-option-color-text-active;
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
&-item {
|
|
62
67
|
flex: 1;
|
|
63
|
-
padding: 0
|
|
68
|
+
padding: 0 @base-data-option-spacing-padding-vertical;
|
|
64
69
|
white-space: nowrap;
|
|
65
70
|
overflow: hidden;
|
|
66
71
|
text-overflow: ellipsis;
|
|
@@ -104,7 +109,7 @@
|
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
&-columns {
|
|
107
|
-
height:
|
|
112
|
+
height: @base-data-dropdown-columns-height;
|
|
108
113
|
background: @base-data-hover-bg;
|
|
109
114
|
}
|
|
110
115
|
|
|
@@ -121,7 +126,7 @@
|
|
|
121
126
|
}
|
|
122
127
|
|
|
123
128
|
&-footer {
|
|
124
|
-
height:
|
|
129
|
+
height: @base-data-dropdown-footer-height;
|
|
125
130
|
border-top: 1px solid @base-data-footer-color-border;
|
|
126
131
|
|
|
127
132
|
&-btn {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// color
|
|
6
6
|
@base-data-border-color: var(~'@{base-data-custom-prefix}-color-border', #999);
|
|
7
7
|
@base-data-hover-bg: var(~'@{base-data-custom-prefix}-color-background-hover', @color-hover);
|
|
8
|
+
@base-data-color-text: var(~'@{base-data-custom-prefix}-color-text', #212121);
|
|
8
9
|
@base-data-color-border-hover: var(~'@{base-data-custom-prefix}-border-color-hover', @color-theme);
|
|
9
10
|
@base-data-dropdown-color-background: var(~'@{base-data-custom-prefix}-dropdown-radius-border', @color-background);
|
|
10
11
|
@base-data-dropdown-icon-text-color: var(~'@{base-data-custom-prefix}-dropdown-icon-color-text', @color-warning);
|
|
@@ -14,6 +15,7 @@
|
|
|
14
15
|
@base-data-footer-color-border: var(~'@{base-data-custom-prefix}-footer-color-border', @color-border-strong);
|
|
15
16
|
@base-data-icon-text-color-hover: var(~'@{base-data-custom-prefix}-icon-color-text-hover', @color-theme);
|
|
16
17
|
@base-data-footer-btn-text-color: var(~'@{base-data-custom-prefix}-footer-btn-color-text', @color-text-link);
|
|
18
|
+
@base-data-option-color-text-active: var(~'@{base-data-custom-prefix}-option-color-text-active', @color-theme);
|
|
17
19
|
|
|
18
20
|
// radius
|
|
19
21
|
@base-data-dropdown-radius-border: var(~'@{base-data-custom-prefix}-dropdown-radius-border', @radius-border);
|
|
@@ -22,6 +24,11 @@
|
|
|
22
24
|
@base-data-width: var(~'@{base-data-custom-prefix}-sizing-width', 230px);
|
|
23
25
|
@base-data-dropdown-height: var(~'@{base-data-custom-prefix}-dropdown-sizing-height', 400px);
|
|
24
26
|
@base-data-dropdown-options-height: var(~'@{base-data-custom-prefix}-dropdown-options-sizing-height', 32px);
|
|
27
|
+
@base-data-dropdown-columns-height: var(~'@{base-data-custom-prefix}-dropdown-columns-height', 36px);
|
|
28
|
+
@base-data-dropdown-footer-height: var(~'@{base-data-custom-prefix}-dropdown-footer-height', 40px);
|
|
29
|
+
|
|
30
|
+
// spacing
|
|
31
|
+
@base-data-option-spacing-padding-vertical: var(~'@{base-data-custom-prefix}-option-spacing-padding-vertical', 12px);
|
|
25
32
|
|
|
26
33
|
// z-index
|
|
27
34
|
@base-data-dropdown-z-index: var(~'@{base-data-custom-prefix}-dropdown-z-index', @z-index-popper);
|
|
@@ -56,17 +56,19 @@
|
|
|
56
56
|
@btn-background-ghost-g-text-color: var(~'@{button-custom-prefix}-background-ghost-color-text', @color-theme);
|
|
57
57
|
@btn-background-ghost-g-text-color-hover: var(~'@{button-custom-prefix}-background-ghost-color-text-hover', @color-white);
|
|
58
58
|
|
|
59
|
-
// duration
|
|
60
|
-
@btn-transition-fn: var(~'@{button-custom-prefix}-motion-timing-function', cubic-bezier(0.075, 0.82, 0.165, 1));
|
|
61
|
-
@btn-duration-fade: var(~'@{button-custom-prefix}-motion-duration-fade', @duration-slowly);
|
|
62
|
-
@btn-duration-wave: var(~'@{button-custom-prefix}-motion-duration-wave', @duration-quickly);
|
|
63
|
-
|
|
64
59
|
// font
|
|
65
60
|
@btn-g-font-weight: var(~'@{button-custom-prefix}-font-weight', @font-weight-light);
|
|
66
61
|
@btn-small-font-size: var(~'@{button-custom-prefix}-font-size-small', @font-size-small); // 小号 文字大小
|
|
67
62
|
@btn-middle-font-size: var(~'@{button-custom-prefix}-font-size-middle', @font-size-small); // 中号 文字大小
|
|
68
63
|
@btn-large-font-size: var(~'@{button-custom-prefix}-font-size-large', @font-size-large); // 大号 文字大小
|
|
69
64
|
|
|
65
|
+
// motion
|
|
66
|
+
@btn-transition-fn: var(~'@{button-custom-prefix}-motion-timing-function', cubic-bezier(0.075, 0.82, 0.165, 1));
|
|
67
|
+
@btn-duration-fade: var(~'@{button-custom-prefix}-motion-duration-fade', @duration-slowly);
|
|
68
|
+
@btn-duration-wave: var(~'@{button-custom-prefix}-motion-duration-wave', @duration-quickly);
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
70
72
|
// radius
|
|
71
73
|
@btn-g-radius-border: var(~'@{button-custom-prefix}-radius-border', @radius-border); //圆角
|
|
72
74
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
@card-prefix: '--@{kd-prefix}-c-card';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
// color
|
|
7
7
|
@card-color-background: var(~'@{card-prefix}-color-background', @color-white);
|
|
8
8
|
@card-actions-color: var(~'@{card-prefix}-actions-color', @color-theme);
|
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
@card-title-color: var(~'@{card-prefix}-title-color', @color-text-primary);
|
|
12
12
|
@card-content-color: var(~'@{card-prefix}-content-color', @color-text-secondary);
|
|
13
13
|
|
|
14
|
+
// font
|
|
15
|
+
@card-title-font-size: var(~'@{card-prefix}-title-font-size', @font-size-middle);
|
|
16
|
+
@card-content-font-size: var(~'@{card-prefix}-content-font-size', @font-size-small);
|
|
14
17
|
|
|
15
18
|
// sizing
|
|
16
19
|
@card-sizing-title-height: var(~'@{card-prefix}-sizing-title-height', 40px);
|
|
20
|
+
|
|
17
21
|
// spacing
|
|
18
22
|
@card-spacing-padding-horizontal: var(~'@{card-prefix}-spacing-padding-horizontal', 12px);
|
|
19
23
|
@card-spacing-padding-vertical: var(~'@{card-prefix}-spacing-padding-vertical', 8px);
|
|
20
24
|
|
|
21
|
-
// motion
|
|
22
|
-
// font
|
|
23
|
-
@card-title-font-size: var(~'@{card-prefix}-title-font-size', @font-size-middle);
|
|
24
|
-
@card-content-font-size: var(~'@{card-prefix}-content-font-size', @font-size-small);
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
top: 50%;
|
|
205
205
|
-webkit-transform: translateY(-50%);
|
|
206
206
|
transform: translateY(-50%);
|
|
207
|
-
left: var(--kd-c-carousel-spacing-margin-left,
|
|
207
|
+
left: var(--kd-c-carousel-spacing-margin-left, 12px);
|
|
208
208
|
}
|
|
209
209
|
.kd-carousel-slidebar-left > li {
|
|
210
210
|
margin: var(--kd-c-carousel-dots-spacing-margin, 4px) 0;
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
top: 50%;
|
|
223
223
|
-webkit-transform: translateY(-50%);
|
|
224
224
|
transform: translateY(-50%);
|
|
225
|
-
right: var(--kd-c-carousel-spacing-margin-right,
|
|
225
|
+
right: var(--kd-c-carousel-spacing-margin-right, 12px);
|
|
226
226
|
}
|
|
227
227
|
.kd-carousel-slidebar-right > li {
|
|
228
228
|
margin: var(--kd-c-carousel-dots-spacing-margin, 4px) 0;
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
left: 50%;
|
|
241
241
|
-webkit-transform: translateX(-50%);
|
|
242
242
|
transform: translateX(-50%);
|
|
243
|
-
bottom: var(--kd-c-carousel-spacing-margin-bottom,
|
|
243
|
+
bottom: var(--kd-c-carousel-spacing-margin-bottom, 12px);
|
|
244
244
|
}
|
|
245
245
|
.kd-carousel-slidebar-bottom > li {
|
|
246
246
|
margin: 0 var(--kd-c-carousel-dots-spacing-margin, 4px);
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
left: 50%;
|
|
259
259
|
-webkit-transform: translateX(-50%);
|
|
260
260
|
transform: translateX(-50%);
|
|
261
|
-
top: var(--kd-c-carousel-spacing-margin-top,
|
|
261
|
+
top: var(--kd-c-carousel-spacing-margin-top, 12px);
|
|
262
262
|
}
|
|
263
263
|
.kd-carousel-slidebar-top > li {
|
|
264
264
|
margin: 0 var(--kd-c-carousel-dots-spacing-margin, 4px);
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
@carousel-prefix: '--@{kd-prefix}-c-carousel';
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
@carousel-dots-
|
|
5
|
-
@carousel-dots-
|
|
6
|
-
@carousel-dots-margin-left: var(~'@{carousel-prefix}-spacing-margin-left', 15px); // 面板指示点到边界的边距
|
|
7
|
-
@carousel-dots-margin-right: var(~'@{carousel-prefix}-spacing-margin-right', 15px); // 面板指示点到边界的边距
|
|
8
|
-
@carousel-dots-marigin: var(~'@{carousel-prefix}-dots-spacing-margin', 4px); // 面板指示点的间距
|
|
3
|
+
// color
|
|
4
|
+
@carousel-dots-color-background: var(~'@{carousel-prefix}-dots-color-background', #D8D8D8); // 面板指示点的背景色
|
|
5
|
+
@carousel-dots-color-background-active: var(~'@{carousel-prefix}-dots-color-hover', #666666); // 面板指示点的背景色
|
|
9
6
|
|
|
10
7
|
// radius
|
|
11
8
|
@carousel-dots-boder-radius: var(~'@{carousel-prefix}-dots-border-radius', 2px); // 面板指示点的圆角
|
|
@@ -15,6 +12,10 @@
|
|
|
15
12
|
@carousel-dots-width: var(~'@{carousel-prefix}-dots-sizing-width', 12px); // 面板指示点的宽度
|
|
16
13
|
@carousel-dots-height: var(~'@{carousel-prefix}-dots-sizing-height', 4px); // 面板指示点的高度
|
|
17
14
|
|
|
18
|
-
//
|
|
19
|
-
@carousel-dots-
|
|
20
|
-
@carousel-dots-
|
|
15
|
+
// spacing
|
|
16
|
+
@carousel-dots-margin-top: var(~'@{carousel-prefix}-spacing-margin-top', 12px); // 面板指示点到边界的边距
|
|
17
|
+
@carousel-dots-margin-bottom: var(~'@{carousel-prefix}-spacing-margin-bottom', 12px); // 面板指示点到边界的边距
|
|
18
|
+
@carousel-dots-margin-left: var(~'@{carousel-prefix}-spacing-margin-left', 12px); // 面板指示点到边界的边距
|
|
19
|
+
@carousel-dots-margin-right: var(~'@{carousel-prefix}-spacing-margin-right', 12px); // 面板指示点到边界的边距
|
|
20
|
+
@carousel-dots-marigin: var(~'@{carousel-prefix}-dots-spacing-margin', 4px); // 面板指示点的间距
|
|
21
|
+
|
package/lib/checkbox/checkbox.js
CHANGED
|
@@ -87,8 +87,8 @@ var InternalCheckbox = function InternalCheckbox(props, ref) {
|
|
|
87
87
|
return selected ? false : indeterminate;
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
var getDefaultClassName = (0, _classnames.default)(className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(checkboxPrefixCls), true), (0, _defineProperty2.default)(_classNames, "".concat(checkboxPrefixCls, "-no-child"), !children), (0, _defineProperty2.default)(_classNames, (0, _concat.default)(_context = "".concat(checkboxPrefixCls, "-")).call(_context, size), true && !!children), (0, _defineProperty2.default)(_classNames, (0, _concat.default)(_context2 = "".concat(checkboxPrefixCls, "-")).call(_context2, checkboxType), true), (0, _defineProperty2.default)(_classNames, (0, _concat.default)(_context3 = "".concat(checkboxPrefixCls, "-")).call(_context3, checkboxType, "-disabled"), disabled), _classNames));
|
|
91
|
-
var getSquareClassName = (0, _classnames.default)(className, (_classNames2 = {}, (0, _defineProperty2.default)(_classNames2, "".concat(checkboxPrefixCls), true), (0, _defineProperty2.default)(_classNames2, (0, _concat.default)(_context4 = "".concat(checkboxPrefixCls, "-")).call(_context4, checkboxType), true), (0, _defineProperty2.default)(_classNames2, (0, _concat.default)(_context5 = "".concat(checkboxPrefixCls, "-")).call(_context5, checkboxType, "-disabled"), disabled), (0, _defineProperty2.default)(_classNames2, (0, _concat.default)(_context6 = "".concat(checkboxPrefixCls, "-")).call(_context6, checkboxType, "-checked"), selected && !disabled), _classNames2));
|
|
90
|
+
var getDefaultClassName = (0, _classnames.default)(className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(checkboxPrefixCls), true), (0, _defineProperty2.default)(_classNames, "".concat(checkboxPrefixCls, "-no-child"), !children), (0, _defineProperty2.default)(_classNames, (0, _concat.default)(_context = "".concat(checkboxPrefixCls, "-")).call(_context, size), true && !!children), (0, _defineProperty2.default)(_classNames, (0, _concat.default)(_context2 = "".concat(checkboxPrefixCls, "-")).call(_context2, checkboxType), true), (0, _defineProperty2.default)(_classNames, (0, _concat.default)(_context3 = "".concat(checkboxPrefixCls, "-")).call(_context3, checkboxType, "-disabled"), disabled), (0, _defineProperty2.default)(_classNames, "checked", selected), _classNames));
|
|
91
|
+
var getSquareClassName = (0, _classnames.default)(className, (_classNames2 = {}, (0, _defineProperty2.default)(_classNames2, "".concat(checkboxPrefixCls), true), (0, _defineProperty2.default)(_classNames2, (0, _concat.default)(_context4 = "".concat(checkboxPrefixCls, "-")).call(_context4, checkboxType), true), (0, _defineProperty2.default)(_classNames2, (0, _concat.default)(_context5 = "".concat(checkboxPrefixCls, "-")).call(_context5, checkboxType, "-disabled"), disabled), (0, _defineProperty2.default)(_classNames2, (0, _concat.default)(_context6 = "".concat(checkboxPrefixCls, "-")).call(_context6, checkboxType, "-checked"), selected && !disabled), (0, _defineProperty2.default)(_classNames2, "checked", selected), _classNames2));
|
|
92
92
|
var getRootClassName = isDefaultType() ? getDefaultClassName : getSquareClassName;
|
|
93
93
|
var inputClassName = (0, _classnames.default)((0, _defineProperty2.default)({}, "".concat(checkboxPrefixCls, "-input"), true));
|
|
94
94
|
var checkedWrapperClassName = (0, _classnames.default)((_classNames4 = {}, (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context7 = "".concat(checkboxPrefixCls, "-")).call(_context7, checkboxType, "-no-child"), !children), (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context8 = "".concat(checkboxPrefixCls, "-")).call(_context8, checkboxType, "-wrapper"), true), (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context9 = "".concat(checkboxPrefixCls, "-")).call(_context9, checkboxType, "-wrapper-size"), !!children), (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context10 = "".concat(checkboxPrefixCls, "-")).call(_context10, checkboxType, "-margin"), !!children), (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context11 = "".concat(checkboxPrefixCls, "-")).call(_context11, checkboxType, "-checked"), selected), (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context12 = "".concat(checkboxPrefixCls, "-")).call(_context12, checkboxType, "-indeterminate"), getIndeterminate()), (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context13 = "".concat(checkboxPrefixCls, "-")).call(_context13, checkboxType, "-disabled"), disabled && !selected), (0, _defineProperty2.default)(_classNames4, (0, _concat.default)(_context14 = "".concat(checkboxPrefixCls, "-")).call(_context14, checkboxType, "-checked-disabled"), disabled && selected), _classNames4));
|
|
@@ -134,8 +134,7 @@ var InternalCheckbox = function InternalCheckbox(props, ref) {
|
|
|
134
134
|
ref: ref,
|
|
135
135
|
value: value,
|
|
136
136
|
checked: selected,
|
|
137
|
-
disabled: disabled
|
|
138
|
-
name: name
|
|
137
|
+
disabled: disabled
|
|
139
138
|
})), children && /*#__PURE__*/_react.default.createElement("span", {
|
|
140
139
|
className: "".concat(checkboxPrefixCls, "-children")
|
|
141
140
|
}, children), !isDefaultType() && /*#__PURE__*/_react.default.createElement("span", {
|