@jsenv/navi 0.18.8 → 0.18.9
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 +10 -0
- package/dist/jsenv_navi.js.map +4 -3
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -29681,6 +29681,14 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
|
|
|
29681
29681
|
border-color: transparent;
|
|
29682
29682
|
}
|
|
29683
29683
|
}
|
|
29684
|
+
&[data-transition] {
|
|
29685
|
+
.navi_meter_fill {
|
|
29686
|
+
transition: clip-path 0.4s ease;
|
|
29687
|
+
}
|
|
29688
|
+
&[data-fill-round] .navi_meter_fill {
|
|
29689
|
+
transition: width 0.4s ease;
|
|
29690
|
+
}
|
|
29691
|
+
}
|
|
29684
29692
|
}
|
|
29685
29693
|
`;
|
|
29686
29694
|
const MeterStyleCSSVars = {
|
|
@@ -29706,6 +29714,7 @@ const Meter = ({
|
|
|
29706
29714
|
fillOnly,
|
|
29707
29715
|
fillRound = fillOnly,
|
|
29708
29716
|
borderless,
|
|
29717
|
+
transition,
|
|
29709
29718
|
style,
|
|
29710
29719
|
...props
|
|
29711
29720
|
}) => {
|
|
@@ -29762,6 +29771,7 @@ const Meter = ({
|
|
|
29762
29771
|
"data-fill-only": fillOnly ? "" : undefined,
|
|
29763
29772
|
"data-fill-round": fillRound ? "" : undefined,
|
|
29764
29773
|
"data-borderless": borderless ? "" : undefined,
|
|
29774
|
+
"data-transition": transition ? "" : undefined,
|
|
29765
29775
|
style: {
|
|
29766
29776
|
"--x-fill-ratio": fillRatio,
|
|
29767
29777
|
"--x-fill-color": fillColorVar,
|