@antv/g 5.8.3 → 5.8.4
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/index.esm.js +3 -3
- package/dist/index.js +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.min.js +1 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -7447,7 +7447,7 @@ var DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
7447
7447
|
inherited: true
|
|
7448
7448
|
});
|
|
7449
7449
|
|
|
7450
|
-
if (resolved) {
|
|
7450
|
+
if (!isNil(resolved)) {
|
|
7451
7451
|
// object.parsedStyle[name] = resolved;
|
|
7452
7452
|
// return false;
|
|
7453
7453
|
return resolved;
|
|
@@ -7526,7 +7526,7 @@ var DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
7526
7526
|
|
|
7527
7527
|
if ( // usedValue instanceof CSSKeywordValue &&
|
|
7528
7528
|
usedValue === 'unset' || usedValue === 'initial' || usedValue === 'inherit') {
|
|
7529
|
-
return
|
|
7529
|
+
return;
|
|
7530
7530
|
} // else if (
|
|
7531
7531
|
// usedValue instanceof CSSUnitValue &&
|
|
7532
7532
|
// CSSUnitValue.isRelativeUnit(usedValue.unit)
|
|
@@ -7539,7 +7539,7 @@ var DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
7539
7539
|
}
|
|
7540
7540
|
}
|
|
7541
7541
|
|
|
7542
|
-
return
|
|
7542
|
+
return;
|
|
7543
7543
|
};
|
|
7544
7544
|
|
|
7545
7545
|
_proto.recalc = function recalc(object) {
|
package/dist/index.js
CHANGED
|
@@ -7427,7 +7427,7 @@ exports.DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
7427
7427
|
inherited: true
|
|
7428
7428
|
});
|
|
7429
7429
|
|
|
7430
|
-
if (resolved) {
|
|
7430
|
+
if (!isNil(resolved)) {
|
|
7431
7431
|
// object.parsedStyle[name] = resolved;
|
|
7432
7432
|
// return false;
|
|
7433
7433
|
return resolved;
|
|
@@ -7506,7 +7506,7 @@ exports.DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
7506
7506
|
|
|
7507
7507
|
if ( // usedValue instanceof CSSKeywordValue &&
|
|
7508
7508
|
usedValue === 'unset' || usedValue === 'initial' || usedValue === 'inherit') {
|
|
7509
|
-
return
|
|
7509
|
+
return;
|
|
7510
7510
|
} // else if (
|
|
7511
7511
|
// usedValue instanceof CSSUnitValue &&
|
|
7512
7512
|
// CSSUnitValue.isRelativeUnit(usedValue.unit)
|
|
@@ -7519,7 +7519,7 @@ exports.DefaultStyleValueRegistry = /*#__PURE__*/function () {
|
|
|
7519
7519
|
}
|
|
7520
7520
|
}
|
|
7521
7521
|
|
|
7522
|
-
return
|
|
7522
|
+
return;
|
|
7523
7523
|
};
|
|
7524
7524
|
|
|
7525
7525
|
_proto.recalc = function recalc(object) {
|
package/dist/index.umd.js
CHANGED
|
@@ -17308,7 +17308,7 @@
|
|
|
17308
17308
|
inherited: true
|
|
17309
17309
|
});
|
|
17310
17310
|
|
|
17311
|
-
if (resolved) {
|
|
17311
|
+
if (!isNil(resolved)) {
|
|
17312
17312
|
// object.parsedStyle[name] = resolved;
|
|
17313
17313
|
// return false;
|
|
17314
17314
|
return resolved;
|
|
@@ -17387,7 +17387,7 @@
|
|
|
17387
17387
|
|
|
17388
17388
|
if ( // usedValue instanceof CSSKeywordValue &&
|
|
17389
17389
|
usedValue === 'unset' || usedValue === 'initial' || usedValue === 'inherit') {
|
|
17390
|
-
return
|
|
17390
|
+
return;
|
|
17391
17391
|
} // else if (
|
|
17392
17392
|
// usedValue instanceof CSSUnitValue &&
|
|
17393
17393
|
// CSSUnitValue.isRelativeUnit(usedValue.unit)
|
|
@@ -17400,7 +17400,7 @@
|
|
|
17400
17400
|
}
|
|
17401
17401
|
}
|
|
17402
17402
|
|
|
17403
|
-
return
|
|
17403
|
+
return;
|
|
17404
17404
|
};
|
|
17405
17405
|
|
|
17406
17406
|
_proto.recalc = function recalc(object) {
|