design-zystem 1.0.320 → 1.0.321
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/ui/index.js +1 -1
- package/dist/ui/index.mjs +1 -1
- package/package.json +1 -1
package/dist/ui/index.js
CHANGED
|
@@ -3157,7 +3157,7 @@ var ProgressBar = ({
|
|
|
3157
3157
|
const display = (v) => formatValue ? formatValue(v) : String(v);
|
|
3158
3158
|
const editable = Boolean(onChange);
|
|
3159
3159
|
if (!editable) {
|
|
3160
|
-
const readOnlyPercent = Math.max(0, Math.min(100,
|
|
3160
|
+
const readOnlyPercent = Math.max(0, Math.min(100, percent));
|
|
3161
3161
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Layout, { column: true, fullWidth: true, gap: 1, className, children: [
|
|
3162
3162
|
label && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-xs text-grey-600", children: label }),
|
|
3163
3163
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Layout, { fullWidth: true, align: "center", gap: 2, children: [
|
package/dist/ui/index.mjs
CHANGED
|
@@ -3005,7 +3005,7 @@ var ProgressBar = ({
|
|
|
3005
3005
|
const display = (v) => formatValue ? formatValue(v) : String(v);
|
|
3006
3006
|
const editable = Boolean(onChange);
|
|
3007
3007
|
if (!editable) {
|
|
3008
|
-
const readOnlyPercent = Math.max(0, Math.min(100,
|
|
3008
|
+
const readOnlyPercent = Math.max(0, Math.min(100, percent));
|
|
3009
3009
|
return /* @__PURE__ */ jsxs20(Layout, { column: true, fullWidth: true, gap: 1, className, children: [
|
|
3010
3010
|
label && /* @__PURE__ */ jsx41("span", { className: "text-xs text-grey-600", children: label }),
|
|
3011
3011
|
/* @__PURE__ */ jsxs20(Layout, { fullWidth: true, align: "center", gap: 2, children: [
|