@juspay/blend-design-system 0.0.10 → 0.0.11-beta

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.
@@ -17,7 +17,7 @@ export type ChartDataPoint = {
17
17
  };
18
18
  export type StatCardChange = {
19
19
  value: number;
20
- type: ChangeType;
20
+ valueType: ChangeType;
21
21
  };
22
22
  export type StatCardProps = {
23
23
  title: string;
package/dist/main.js CHANGED
@@ -47892,9 +47892,9 @@ const Zoe = ({
47892
47892
  {
47893
47893
  display: "flex",
47894
47894
  alignItems: "center",
47895
- color: (r == null ? void 0 : r.type) === Uo.INCREASE ? h.stats.change.text.increase.color : h.stats.change.text.decrease.color,
47895
+ color: (r == null ? void 0 : r.valueType) === Uo.INCREASE ? h.stats.change.text.increase.color : h.stats.change.text.decrease.color,
47896
47896
  children: [
47897
- r.type === Uo.INCREASE ? /* @__PURE__ */ p(
47897
+ r.valueType === Uo.INCREASE ? /* @__PURE__ */ p(
47898
47898
  pv,
47899
47899
  {
47900
47900
  size: parseInt(
@@ -47919,8 +47919,8 @@ const Zoe = ({
47919
47919
  re,
47920
47920
  {
47921
47921
  as: "span",
47922
- fontSize: h.stats.change.text[r == null ? void 0 : r.type].fontSize,
47923
- fontWeight: h.stats.change.text[r == null ? void 0 : r.type].fontWeight,
47922
+ fontSize: h.stats.change.text[r == null ? void 0 : r.valueType].fontSize,
47923
+ fontWeight: h.stats.change.text[r == null ? void 0 : r.valueType].fontWeight,
47924
47924
  children: [
47925
47925
  r.value >= 0 ? "+" : "",
47926
47926
  r.value.toFixed(2),
@@ -48244,9 +48244,9 @@ const Zoe = ({
48244
48244
  re,
48245
48245
  {
48246
48246
  as: "span",
48247
- color: h.stats.change.text[(r == null ? void 0 : r.type) ?? Uo.INCREASE].color,
48248
- fontSize: h.stats.change.text[(r == null ? void 0 : r.type) ?? Uo.INCREASE].fontSize,
48249
- fontWeight: h.stats.change.text[(r == null ? void 0 : r.type) ?? Uo.INCREASE].fontWeight,
48247
+ color: h.stats.change.text[(r == null ? void 0 : r.valueType) ?? Uo.INCREASE].color,
48248
+ fontSize: h.stats.change.text[(r == null ? void 0 : r.valueType) ?? Uo.INCREASE].fontSize,
48249
+ fontWeight: h.stats.change.text[(r == null ? void 0 : r.valueType) ?? Uo.INCREASE].fontWeight,
48250
48250
  children: E
48251
48251
  }
48252
48252
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@juspay/blend-design-system",
3
3
  "private": false,
4
- "version": "0.0.10",
4
+ "version": "0.0.11-beta",
5
5
  "description": "A comprehensive React component library and design system by Juspay",
6
6
  "type": "module",
7
7
  "main": "./dist/main.js",