jazz-tools 0.20.2 → 0.20.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/.turbo/turbo-build.log +43 -43
- package/CHANGELOG.md +18 -6
- package/dist/{chunk-Q5RNSSUM.js → chunk-XQ27DEA5.js} +8 -2
- package/dist/{chunk-Q5RNSSUM.js.map → chunk-XQ27DEA5.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/inspector/{custom-element-PWRX4VCA.js → custom-element-WOQY2M4W.js} +3 -3
- package/dist/inspector/{custom-element-PWRX4VCA.js.map → custom-element-WOQY2M4W.js.map} +1 -1
- package/dist/inspector/index.js +2 -2
- package/dist/inspector/index.js.map +1 -1
- package/dist/inspector/register-custom-element.js +1 -1
- package/dist/testing.js +1 -1
- package/dist/tools/subscribe/SubscriptionCache.d.ts.map +1 -1
- package/dist/tools/tests/testStorage.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/inspector/pages/performance/PerformancePage.tsx +2 -2
- package/src/react-core/tests/useCoState.test.ts +135 -0
- package/src/tools/subscribe/SubscriptionCache.ts +10 -1
- package/src/tools/tests/testStorage.ts +12 -10
package/dist/index.js
CHANGED
|
@@ -36919,11 +36919,11 @@ function PerformancePage({ onNavigate, style }) {
|
|
|
36919
36919
|
0,
|
|
36920
36920
|
(clampedStart - (displayRange?.min ?? 0)) / range * 100
|
|
36921
36921
|
);
|
|
36922
|
-
const width = Math.max(0
|
|
36922
|
+
const width = Math.max(0, (clampedEnd - clampedStart) / range * 100);
|
|
36923
36923
|
const color = entry.status === "pending" ? "var(--j-warning-color)" : entry.status === "error" ? "var(--j-error-color)" : "var(--j-success-color)";
|
|
36924
36924
|
return {
|
|
36925
36925
|
barLeft: `${left}%`,
|
|
36926
|
-
barWidth: `${width}%`,
|
|
36926
|
+
barWidth: width === 0 ? "1px" : `${width}%`,
|
|
36927
36927
|
barColor: color
|
|
36928
36928
|
};
|
|
36929
36929
|
};
|
|
@@ -37221,4 +37221,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
37221
37221
|
* LICENSE file in the root directory of this source tree.
|
|
37222
37222
|
*)
|
|
37223
37223
|
*/
|
|
37224
|
-
//# sourceMappingURL=custom-element-
|
|
37224
|
+
//# sourceMappingURL=custom-element-WOQY2M4W.js.map
|