subos-frontend 1.0.19 → 1.0.21

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.js CHANGED
@@ -2244,8 +2244,30 @@ var SubscriptionUsageDisplay = ({
2244
2244
  const percentage = getProgressPercentage(used, total);
2245
2245
  const shouldShowProgress = showProgressBars || metric.showProgress;
2246
2246
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 border border-gray-200 rounded-lg bg-white space-y-1", children: [
2247
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-gray-500", children: metric.label }),
2248
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium", children: displayValue }),
2247
+ /* @__PURE__ */ jsxRuntime.jsx(
2248
+ "p",
2249
+ {
2250
+ className: "text-sm text-gray-500",
2251
+ style: {
2252
+ fontSize: "var(--subos-font-size-subscription-label, 0.875rem)",
2253
+ fontWeight: "var(--subos-font-weight-subscription-label, 400)",
2254
+ color: "var(--subos-color-subscription-label, #6c757d)"
2255
+ },
2256
+ children: metric.label
2257
+ }
2258
+ ),
2259
+ /* @__PURE__ */ jsxRuntime.jsx(
2260
+ "p",
2261
+ {
2262
+ className: "font-medium",
2263
+ style: {
2264
+ fontSize: "var(--subos-font-size-subscription-value, 1rem)",
2265
+ fontWeight: "var(--subos-font-weight-subscription-value, 500)",
2266
+ color: "var(--subos-color-subscription-value, inherit)"
2267
+ },
2268
+ children: displayValue
2269
+ }
2270
+ ),
2249
2271
  shouldShowProgress && total > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full bg-gray-200 rounded-full h-2", children: /* @__PURE__ */ jsxRuntime.jsx(
2250
2272
  "div",
2251
2273
  {