@bergetai/ui 0.14.1 → 0.14.2
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 +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1147,7 +1147,11 @@ function ProgressTrack({ className, ...props }) {
|
|
|
1147
1147
|
ProgressPrimitive.Track,
|
|
1148
1148
|
{
|
|
1149
1149
|
className: cn6(
|
|
1150
|
-
|
|
1150
|
+
// bg-secondary, not bg-muted: dark --muted resolves to granite-950,
|
|
1151
|
+
// the same value as --background (Bedrock) — the track would be
|
|
1152
|
+
// invisible on page backgrounds. --secondary stays visible on both
|
|
1153
|
+
// the base background and card surfaces, in both themes.
|
|
1154
|
+
"relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-secondary",
|
|
1151
1155
|
className
|
|
1152
1156
|
),
|
|
1153
1157
|
"data-slot": "progress-track",
|
|
@@ -1163,7 +1167,7 @@ function ProgressIndicator({
|
|
|
1163
1167
|
ProgressPrimitive.Indicator,
|
|
1164
1168
|
{
|
|
1165
1169
|
"data-slot": "progress-indicator",
|
|
1166
|
-
className: cn6("h-full bg-
|
|
1170
|
+
className: cn6("h-full bg-foreground transition-all", className),
|
|
1167
1171
|
...props
|
|
1168
1172
|
}
|
|
1169
1173
|
);
|