@bubo-squared/ui-framework 0.2.25 → 0.2.27
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 +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1153,7 +1153,8 @@ var Progress = React15.forwardRef(
|
|
|
1153
1153
|
label,
|
|
1154
1154
|
hint,
|
|
1155
1155
|
ariaLabel,
|
|
1156
|
-
|
|
1156
|
+
hideProgressLabel = false,
|
|
1157
|
+
useStatusColorOnComplete = 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:
|
|
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
|
-
"
|
|
1201
|
+
"h-full",
|
|
1202
|
+
useStatusColorOnComplete && clamped === 100 ? status === "success" ? "bg-(--color-success)" : status === "error" ? "bg-(--color-error)" : "bg-(--chart-brand)" : "bg-(--chart-brand)",
|
|
1201
1203
|
size === "lg" ? "rounded-4" : size === "md" ? "rounded-2" : "rounded-[1px]"
|
|
1202
1204
|
),
|
|
1203
1205
|
style: { width: `${clamped}%` }
|