shineout 1.12.6-beta.9 → 1.12.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/css/Cascader/Cascader.js +2 -4
- package/css/Cascader/Result.js +1 -1
- package/css/Checkbox/styles/checkinput.css +7 -16
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +912 -972
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/theme.antd.css +1 -1
- package/dist/theme.antd2.css +1 -1
- package/dist/theme.default.css +1 -1
- package/dist/theme.shineout.css +1 -1
- package/es/Cascader/Cascader.js +2 -4
- package/es/Cascader/Result.js +1 -1
- package/es/Checkbox/styles/checkinput.less +16 -14
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/Cascader/Cascader.js +2 -4
- package/lib/Cascader/Result.js +1 -1
- package/lib/Checkbox/styles/checkinput.less +16 -14
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/Cascader/Cascader.js
CHANGED
|
@@ -300,10 +300,8 @@ function (_PureComponent) {
|
|
|
300
300
|
|
|
301
301
|
_proto.handleRemove = function handleRemove(node) {
|
|
302
302
|
var onChange = this.props.onChange;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
datum.set(dataKey, 0);
|
|
306
|
-
if (onChange) onChange(datum.getValue(), node);
|
|
303
|
+
this.datum.set(this.datum.getKey(node), 0);
|
|
304
|
+
if (onChange) onChange(this.datum.getValue(), node);
|
|
307
305
|
};
|
|
308
306
|
|
|
309
307
|
_proto.handleState = function handleState(focus, e) {
|
package/css/Cascader/Result.js
CHANGED
|
@@ -347,7 +347,7 @@ function (_PureComponent) {
|
|
|
347
347
|
renderItem = _this$props7.renderItem,
|
|
348
348
|
renderResult = _this$props7.renderResult,
|
|
349
349
|
compressed = _this$props7.compressed;
|
|
350
|
-
var nodes = value.map(function (v) {
|
|
350
|
+
var nodes = (value || []).map(function (v) {
|
|
351
351
|
return datum.getDataById(v);
|
|
352
352
|
});
|
|
353
353
|
var render = renderResult || renderItem;
|
|
@@ -52,20 +52,23 @@
|
|
|
52
52
|
box-shadow: 0 0 0 8px var(--primary-color-fade-0, rgba(51, 153, 255, 0));
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput {
|
|
55
|
+
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput:not(.so-checkinput-checked) {
|
|
56
56
|
background: var(--button-disabled-bg, #f5f5f5);
|
|
57
57
|
color: var(--button-disabled-color, rgba(0, 0, 0, 0.45));
|
|
58
58
|
}
|
|
59
|
-
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput:hover {
|
|
59
|
+
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput:not(.so-checkinput-checked):hover {
|
|
60
60
|
background: var(--button-disabled-bg, #f5f5f5);
|
|
61
61
|
color: var(--button-disabled-color, rgba(0, 0, 0, 0.45));
|
|
62
62
|
}
|
|
63
|
-
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput:not(:first-child)::before {
|
|
63
|
+
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput:not(.so-checkinput-checked):not(:first-child)::before {
|
|
64
64
|
background-color: var(--button-disabled-delimiter, #d9d9d9);
|
|
65
65
|
}
|
|
66
|
-
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput:not(:last-child)::after {
|
|
66
|
+
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput:not(.so-checkinput-checked):not(:last-child)::after {
|
|
67
67
|
background-color: var(--button-disabled-delimiter, #d9d9d9);
|
|
68
68
|
}
|
|
69
|
+
.so-checkinput-button > .so-checkinput.so-checkinput-disabled.so-checkinput-checked {
|
|
70
|
+
opacity: 0.4;
|
|
71
|
+
}
|
|
69
72
|
.so-checkinput-button.so-checkinput-small .so-checkinput {
|
|
70
73
|
padding: var(--button-padding-small-vertical, 5px) var(--button-padding-small-horizontal, 10px);
|
|
71
74
|
border-radius: 0px;
|
|
@@ -295,18 +298,6 @@ fieldset[disabled] .so-checkinput-button .so-checkinput.so-checkinput-checked:ac
|
|
|
295
298
|
-webkit-animation: none;
|
|
296
299
|
animation: none;
|
|
297
300
|
}
|
|
298
|
-
.so-checkinput-button .so-checkinput.so-checkinput-checked[disabled]:hover,
|
|
299
|
-
fieldset[disabled] .so-checkinput-button .so-checkinput.so-checkinput-checked:hover,
|
|
300
|
-
.so-checkinput-button .so-checkinput.so-checkinput-checked[disabled]:focus,
|
|
301
|
-
fieldset[disabled] .so-checkinput-button .so-checkinput.so-checkinput-checked:focus {
|
|
302
|
-
background: var(--button-disabled-bg, #f5f5f5);
|
|
303
|
-
color: var(--button-disabled-color, rgba(0, 0, 0, 0.45));
|
|
304
|
-
}
|
|
305
|
-
.so-checkinput-button .so-checkinput.so-checkinput-checked[disabled]:active,
|
|
306
|
-
fieldset[disabled] .so-checkinput-button .so-checkinput.so-checkinput-checked:active {
|
|
307
|
-
-webkit-animation: none;
|
|
308
|
-
animation: none;
|
|
309
|
-
}
|
|
310
301
|
.so-checkinput-button .so-checkinput.so-checkinput-checked:before {
|
|
311
302
|
background: var(--primary-color, #3399ff);
|
|
312
303
|
}
|
package/css/index.d.ts
CHANGED