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 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, current));
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, current));
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: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.320",
3
+ "version": "1.0.321",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",