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