@bubo-squared/ui-framework 0.2.25 → 0.2.26

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/index.cjs CHANGED
@@ -1153,7 +1153,8 @@ var Progress = React15.forwardRef(
1153
1153
  label,
1154
1154
  hint,
1155
1155
  ariaLabel,
1156
- showProgressLabel = true,
1156
+ hideProgressLabel = false,
1157
+ successBarColorOnComplete = false,
1157
1158
  hideHint,
1158
1159
  size = "lg",
1159
1160
  status = "default",
@@ -1169,7 +1170,7 @@ var Progress = React15.forwardRef(
1169
1170
  Field,
1170
1171
  {
1171
1172
  label,
1172
- labelRight: showProgressLabel && label != null ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "footnote text-(--color-secondary)", children: percentageLabel }) : void 0,
1173
+ labelRight: !hideProgressLabel && label != null ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "footnote text-(--color-secondary)", children: percentageLabel }) : void 0,
1173
1174
  hint,
1174
1175
  hideHint,
1175
1176
  status,
@@ -1197,7 +1198,8 @@ var Progress = React15.forwardRef(
1197
1198
  "div",
1198
1199
  {
1199
1200
  className: cn(
1200
- "bg-(--chart-brand) h-full",
1201
+ "h-full",
1202
+ successBarColorOnComplete && clamped === 100 ? "bg-(--color-success)" : "bg-(--chart-brand)",
1201
1203
  size === "lg" ? "rounded-4" : size === "md" ? "rounded-2" : "rounded-[1px]"
1202
1204
  ),
1203
1205
  style: { width: `${clamped}%` }