@jsenv/navi 0.26.21 → 0.26.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/jsenv_navi.js +5 -4
- package/dist/jsenv_navi.js.map +9 -8
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -19645,16 +19645,16 @@ const LoadingIndicatorFluid = ({
|
|
|
19645
19645
|
if (!indicatorEl) {
|
|
19646
19646
|
return null;
|
|
19647
19647
|
}
|
|
19648
|
-
if (radius === undefined || radius === "inherit") {
|
|
19649
|
-
const radius = getComputedStyle(indicatorEl).borderRadius;
|
|
19650
|
-
setContainerRadius(radius);
|
|
19651
|
-
}
|
|
19652
19648
|
const {
|
|
19653
19649
|
width,
|
|
19654
19650
|
height
|
|
19655
19651
|
} = indicatorEl.getBoundingClientRect();
|
|
19656
19652
|
setContainerWidth(width);
|
|
19657
19653
|
setContainerHeight(height);
|
|
19654
|
+
if (radius === undefined || radius === "inherit") {
|
|
19655
|
+
const radius = getComputedStyle(indicatorEl).borderRadius;
|
|
19656
|
+
setContainerRadius(radius);
|
|
19657
|
+
}
|
|
19658
19658
|
let animationFrameId = null;
|
|
19659
19659
|
// Create a resize observer to detect changes in the container's dimensions
|
|
19660
19660
|
const resizeObserver = new ResizeObserver(entries => {
|
|
@@ -19775,6 +19775,7 @@ const LoadingRectangleSvg = ({
|
|
|
19775
19775
|
style: "overflow: visible",
|
|
19776
19776
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19777
19777
|
"shape-rendering": "geometricPrecision",
|
|
19778
|
+
"data-radius": radius,
|
|
19778
19779
|
children: [isCircle ? jsx("circle", {
|
|
19779
19780
|
cx: margin + drawableWidth / 2,
|
|
19780
19781
|
cy: margin + drawableHeight / 2,
|