@jsenv/navi 0.26.23 → 0.26.25
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/jsenv_navi.js +17 -10
- package/dist/jsenv_navi.js.map +12 -13
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -5450,15 +5450,18 @@ const stateSignal = (defaultValue, options = {}) => {
|
|
|
5450
5450
|
}
|
|
5451
5451
|
return value;
|
|
5452
5452
|
}
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5453
|
+
|
|
5454
|
+
const hasAutoFix = Boolean(validity.validSuggestion);
|
|
5455
|
+
if (hasAutoFix) {
|
|
5456
|
+
if (debug) {
|
|
5457
|
+
console.debug(
|
|
5458
|
+
`[stateSignal:${signalIdString}] validation failed: ${validity.message}`,
|
|
5459
|
+
);
|
|
5460
|
+
}
|
|
5461
|
+
} else {
|
|
5462
|
+
console.warn(
|
|
5463
|
+
`[stateSignal:${signalIdString}] validation failed with no valid suggestion: ${validity.message}`,
|
|
5464
|
+
);
|
|
5462
5465
|
}
|
|
5463
5466
|
if (validity.validSuggestion) {
|
|
5464
5467
|
const validValue = validity.validSuggestion.value;
|
|
@@ -19653,7 +19656,11 @@ const LoadingIndicatorFluid = ({
|
|
|
19653
19656
|
setContainerWidth(width);
|
|
19654
19657
|
setContainerHeight(height);
|
|
19655
19658
|
if (radius === undefined || radius === "inherit") {
|
|
19656
|
-
const
|
|
19659
|
+
const parentEl = indicatorEl.parentElement;
|
|
19660
|
+
// Prefer the inline style (always available, even before layout is computed).
|
|
19661
|
+
// Fall back to computed longhands — getComputedStyle shorthand may return ""
|
|
19662
|
+
// if the browser hasn't resolved the layout yet.
|
|
19663
|
+
const radius = parentEl.style.borderRadius || parentEl.style.borderTopLeftRadius || getComputedStyle(parentEl).borderTopLeftRadius || "0px";
|
|
19657
19664
|
setContainerRadius(radius);
|
|
19658
19665
|
}
|
|
19659
19666
|
let animationFrameId = null;
|