acud 1.2.20 → 1.2.22
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/acud.js +2 -2
- package/dist/acud.js.map +1 -1
- package/es/checkbox/style/index.css +19 -1
- package/es/checkbox/style/mixin.less +23 -1
- package/es/radio/style/index.css +12 -0
- package/es/radio/style/index.less +17 -0
- package/es/tree/tree.js +1 -1
- package/lib/checkbox/style/index.css +19 -1
- package/lib/checkbox/style/mixin.less +23 -1
- package/lib/radio/style/index.css +12 -0
- package/lib/radio/style/index.less +17 -0
- package/lib/tree/tree.js +1 -1
- package/package.json +1 -1
|
@@ -213,6 +213,9 @@
|
|
|
213
213
|
background-color: #FFFFFF;
|
|
214
214
|
border-color: #E8E9EB;
|
|
215
215
|
}
|
|
216
|
+
.acud-checkbox-button .acud-checkbox-button-checked-flag {
|
|
217
|
+
border-top-left-radius: 2px;
|
|
218
|
+
}
|
|
216
219
|
.acud-checkbox-button:hover {
|
|
217
220
|
color: #2468F2;
|
|
218
221
|
}
|
|
@@ -366,6 +369,9 @@
|
|
|
366
369
|
border-radius: 0;
|
|
367
370
|
border-width: 1px 0;
|
|
368
371
|
}
|
|
372
|
+
.acud-checkbox-button-group-item .acud-checkbox-button-checked-flag {
|
|
373
|
+
border-top-left-radius: 0;
|
|
374
|
+
}
|
|
369
375
|
.acud-checkbox-button-group-item::before {
|
|
370
376
|
box-sizing: content-box;
|
|
371
377
|
content: "";
|
|
@@ -399,7 +405,7 @@
|
|
|
399
405
|
display: none;
|
|
400
406
|
}
|
|
401
407
|
.acud-checkbox-button-group-item:first-child .acud-checkbox-button-checked-flag {
|
|
402
|
-
border-top-left-radius:
|
|
408
|
+
border-top-left-radius: 2px;
|
|
403
409
|
}
|
|
404
410
|
.acud-checkbox-button-group-item:last-child {
|
|
405
411
|
border-right-width: 1px;
|
|
@@ -457,3 +463,15 @@
|
|
|
457
463
|
background-color: #E8E9EB;
|
|
458
464
|
z-index: 1;
|
|
459
465
|
}
|
|
466
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
467
|
+
.acud-checkbox-button-group-item::before {
|
|
468
|
+
width: 0.5px;
|
|
469
|
+
top: -0.5px;
|
|
470
|
+
left: -0.5px;
|
|
471
|
+
}
|
|
472
|
+
.acud-checkbox-button-group-item::after {
|
|
473
|
+
width: 0.5px;
|
|
474
|
+
top: -0.5px;
|
|
475
|
+
right: 0;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
@@ -245,6 +245,9 @@
|
|
|
245
245
|
cursor: pointer;
|
|
246
246
|
position: relative;
|
|
247
247
|
display: inline-block;
|
|
248
|
+
.@{checkbox-button-prefix-cls}-checked-flag {
|
|
249
|
+
border-top-left-radius: 2px;
|
|
250
|
+
}
|
|
248
251
|
.basic-config(@checkbox-button-default-tp, @checkbox-button-default-p);
|
|
249
252
|
&-checked {
|
|
250
253
|
.basic-config(@checkbox-button-click-tp, @checkbox-button-click-p);
|
|
@@ -300,6 +303,9 @@
|
|
|
300
303
|
&-group-item {
|
|
301
304
|
border-radius: 0;
|
|
302
305
|
border-width: 1px 0;
|
|
306
|
+
.@{checkbox-button-prefix-cls}-checked-flag {
|
|
307
|
+
border-top-left-radius: 0;
|
|
308
|
+
}
|
|
303
309
|
&::before {
|
|
304
310
|
box-sizing: content-box;
|
|
305
311
|
content: "";
|
|
@@ -332,7 +338,7 @@
|
|
|
332
338
|
display: none;
|
|
333
339
|
}
|
|
334
340
|
.@{checkbox-button-prefix-cls}-checked-flag {
|
|
335
|
-
border-top-left-radius:
|
|
341
|
+
border-top-left-radius: 2px;
|
|
336
342
|
}
|
|
337
343
|
}
|
|
338
344
|
&:last-child {
|
|
@@ -399,6 +405,22 @@
|
|
|
399
405
|
}
|
|
400
406
|
}
|
|
401
407
|
}
|
|
408
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
409
|
+
.@{checkbox-button-prefix-cls} {
|
|
410
|
+
&-group-item {
|
|
411
|
+
&::before {
|
|
412
|
+
width: 0.5px;
|
|
413
|
+
top: -0.5px;
|
|
414
|
+
left: -0.5px;
|
|
415
|
+
}
|
|
416
|
+
&::after {
|
|
417
|
+
width: 0.5px;
|
|
418
|
+
top: -0.5px;
|
|
419
|
+
right: 0;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
402
424
|
}
|
|
403
425
|
|
|
404
426
|
|
package/es/radio/style/index.css
CHANGED
|
@@ -291,3 +291,15 @@ span.acud-radio-button {
|
|
|
291
291
|
background-color: #E8E9EB;
|
|
292
292
|
z-index: 1;
|
|
293
293
|
}
|
|
294
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
295
|
+
.acud-radio-group .acud-radio-button::before {
|
|
296
|
+
width: 0.5px;
|
|
297
|
+
top: -0.5px;
|
|
298
|
+
left: -0.5px;
|
|
299
|
+
}
|
|
300
|
+
.acud-radio-group .acud-radio-button::after {
|
|
301
|
+
width: 0.5px;
|
|
302
|
+
top: -0.5px;
|
|
303
|
+
right: 0;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
@@ -190,3 +190,20 @@
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
+
|
|
194
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
195
|
+
.@{radio-group-prefix-cls} {
|
|
196
|
+
.@{radio-button-prefix-cls} {
|
|
197
|
+
&::before {
|
|
198
|
+
width: 0.5px;
|
|
199
|
+
top: -0.5px;
|
|
200
|
+
left: -0.5px;
|
|
201
|
+
}
|
|
202
|
+
&::after {
|
|
203
|
+
width: 0.5px;
|
|
204
|
+
top: -0.5px;
|
|
205
|
+
right: 0;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
package/es/tree/tree.js
CHANGED
|
@@ -338,7 +338,7 @@ var Tree = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
340
|
return newItem;
|
|
341
|
-
}, [editable, onDelete, onSave, onAdd, onEditInputChange, showIconUtil, showPopoverUtil, searchText, prefixCls]);
|
|
341
|
+
}, [editable, onDelete, onSave, onAdd, onEditInputChange, showIconUtil, showPopoverUtil, searchText, prefixCls, customPopoverUtil]);
|
|
342
342
|
var formatedTreeData = useMemo(function () {
|
|
343
343
|
return formatTreeData(treeData);
|
|
344
344
|
}, [treeData, formatTreeData]);
|
|
@@ -213,6 +213,9 @@
|
|
|
213
213
|
background-color: #FFFFFF;
|
|
214
214
|
border-color: #E8E9EB;
|
|
215
215
|
}
|
|
216
|
+
.acud-checkbox-button .acud-checkbox-button-checked-flag {
|
|
217
|
+
border-top-left-radius: 2px;
|
|
218
|
+
}
|
|
216
219
|
.acud-checkbox-button:hover {
|
|
217
220
|
color: #2468F2;
|
|
218
221
|
}
|
|
@@ -366,6 +369,9 @@
|
|
|
366
369
|
border-radius: 0;
|
|
367
370
|
border-width: 1px 0;
|
|
368
371
|
}
|
|
372
|
+
.acud-checkbox-button-group-item .acud-checkbox-button-checked-flag {
|
|
373
|
+
border-top-left-radius: 0;
|
|
374
|
+
}
|
|
369
375
|
.acud-checkbox-button-group-item::before {
|
|
370
376
|
box-sizing: content-box;
|
|
371
377
|
content: "";
|
|
@@ -399,7 +405,7 @@
|
|
|
399
405
|
display: none;
|
|
400
406
|
}
|
|
401
407
|
.acud-checkbox-button-group-item:first-child .acud-checkbox-button-checked-flag {
|
|
402
|
-
border-top-left-radius:
|
|
408
|
+
border-top-left-radius: 2px;
|
|
403
409
|
}
|
|
404
410
|
.acud-checkbox-button-group-item:last-child {
|
|
405
411
|
border-right-width: 1px;
|
|
@@ -457,3 +463,15 @@
|
|
|
457
463
|
background-color: #E8E9EB;
|
|
458
464
|
z-index: 1;
|
|
459
465
|
}
|
|
466
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
467
|
+
.acud-checkbox-button-group-item::before {
|
|
468
|
+
width: 0.5px;
|
|
469
|
+
top: -0.5px;
|
|
470
|
+
left: -0.5px;
|
|
471
|
+
}
|
|
472
|
+
.acud-checkbox-button-group-item::after {
|
|
473
|
+
width: 0.5px;
|
|
474
|
+
top: -0.5px;
|
|
475
|
+
right: 0;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
@@ -245,6 +245,9 @@
|
|
|
245
245
|
cursor: pointer;
|
|
246
246
|
position: relative;
|
|
247
247
|
display: inline-block;
|
|
248
|
+
.@{checkbox-button-prefix-cls}-checked-flag {
|
|
249
|
+
border-top-left-radius: 2px;
|
|
250
|
+
}
|
|
248
251
|
.basic-config(@checkbox-button-default-tp, @checkbox-button-default-p);
|
|
249
252
|
&-checked {
|
|
250
253
|
.basic-config(@checkbox-button-click-tp, @checkbox-button-click-p);
|
|
@@ -300,6 +303,9 @@
|
|
|
300
303
|
&-group-item {
|
|
301
304
|
border-radius: 0;
|
|
302
305
|
border-width: 1px 0;
|
|
306
|
+
.@{checkbox-button-prefix-cls}-checked-flag {
|
|
307
|
+
border-top-left-radius: 0;
|
|
308
|
+
}
|
|
303
309
|
&::before {
|
|
304
310
|
box-sizing: content-box;
|
|
305
311
|
content: "";
|
|
@@ -332,7 +338,7 @@
|
|
|
332
338
|
display: none;
|
|
333
339
|
}
|
|
334
340
|
.@{checkbox-button-prefix-cls}-checked-flag {
|
|
335
|
-
border-top-left-radius:
|
|
341
|
+
border-top-left-radius: 2px;
|
|
336
342
|
}
|
|
337
343
|
}
|
|
338
344
|
&:last-child {
|
|
@@ -399,6 +405,22 @@
|
|
|
399
405
|
}
|
|
400
406
|
}
|
|
401
407
|
}
|
|
408
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
409
|
+
.@{checkbox-button-prefix-cls} {
|
|
410
|
+
&-group-item {
|
|
411
|
+
&::before {
|
|
412
|
+
width: 0.5px;
|
|
413
|
+
top: -0.5px;
|
|
414
|
+
left: -0.5px;
|
|
415
|
+
}
|
|
416
|
+
&::after {
|
|
417
|
+
width: 0.5px;
|
|
418
|
+
top: -0.5px;
|
|
419
|
+
right: 0;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
402
424
|
}
|
|
403
425
|
|
|
404
426
|
|
|
@@ -291,3 +291,15 @@ span.acud-radio-button {
|
|
|
291
291
|
background-color: #E8E9EB;
|
|
292
292
|
z-index: 1;
|
|
293
293
|
}
|
|
294
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
295
|
+
.acud-radio-group .acud-radio-button::before {
|
|
296
|
+
width: 0.5px;
|
|
297
|
+
top: -0.5px;
|
|
298
|
+
left: -0.5px;
|
|
299
|
+
}
|
|
300
|
+
.acud-radio-group .acud-radio-button::after {
|
|
301
|
+
width: 0.5px;
|
|
302
|
+
top: -0.5px;
|
|
303
|
+
right: 0;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
@@ -190,3 +190,20 @@
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
+
|
|
194
|
+
@media (-webkit-device-pixel-ratio: 1.5) {
|
|
195
|
+
.@{radio-group-prefix-cls} {
|
|
196
|
+
.@{radio-button-prefix-cls} {
|
|
197
|
+
&::before {
|
|
198
|
+
width: 0.5px;
|
|
199
|
+
top: -0.5px;
|
|
200
|
+
left: -0.5px;
|
|
201
|
+
}
|
|
202
|
+
&::after {
|
|
203
|
+
width: 0.5px;
|
|
204
|
+
top: -0.5px;
|
|
205
|
+
right: 0;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
package/lib/tree/tree.js
CHANGED
|
@@ -348,7 +348,7 @@ var Tree = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
|
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
350
|
return newItem;
|
|
351
|
-
}, [editable, onDelete, onSave, onAdd, onEditInputChange, showIconUtil, showPopoverUtil, searchText, prefixCls]);
|
|
351
|
+
}, [editable, onDelete, onSave, onAdd, onEditInputChange, showIconUtil, showPopoverUtil, searchText, prefixCls, customPopoverUtil]);
|
|
352
352
|
var formatedTreeData = (0, _react.useMemo)(function () {
|
|
353
353
|
return formatTreeData(treeData);
|
|
354
354
|
}, [treeData, formatTreeData]);
|