kaleido-ui 0.1.96 → 0.1.97

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.
@@ -1879,6 +1879,7 @@ function TransactionCard({
1879
1879
  status,
1880
1880
  displayAmount,
1881
1881
  unit = "sats",
1882
+ subAmount,
1882
1883
  timestamp,
1883
1884
  onClick,
1884
1885
  className
@@ -1954,7 +1955,8 @@ function TransactionCard({
1954
1955
  ]
1955
1956
  }
1956
1957
  ),
1957
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "text-tiny text-muted-foreground font-medium tracking-wide uppercase mt-0.5", children: unit })
1958
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "text-tiny text-muted-foreground font-medium tracking-wide uppercase mt-0.5", children: unit }),
1959
+ subAmount && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "text-tiny text-muted-foreground/70 font-medium tracking-wide tabular-nums mt-0.5", children: subAmount })
1958
1960
  ] })
1959
1961
  ]
1960
1962
  }
@@ -4555,6 +4557,7 @@ function ActivityList({
4555
4557
  status: item.status,
4556
4558
  displayAmount: item.displayAmount,
4557
4559
  unit: item.unit,
4560
+ subAmount: item.subAmount,
4558
4561
  timestamp: item.timestamp,
4559
4562
  onClick: () => onExpandedChange?.(isExpanded ? null : item.id)
4560
4563
  }
@@ -266,12 +266,15 @@ interface TransactionCardProps {
266
266
  displayAmount: string;
267
267
  /** Unit label (e.g. "sats", "BTC") */
268
268
  unit?: string;
269
+ /** Secondary amount under the unit — e.g. the sats leg an asset transfer
270
+ * rode on ("588 sats" for an RGB-LN payment or an Arkade asset VTXO). */
271
+ subAmount?: string;
269
272
  /** Unix timestamp in seconds */
270
273
  timestamp: number;
271
274
  onClick?: () => void;
272
275
  className?: string;
273
276
  }
274
- declare function TransactionCard({ direction, status, displayAmount, unit, timestamp, onClick, className, }: TransactionCardProps): react_jsx_runtime.JSX.Element;
277
+ declare function TransactionCard({ direction, status, displayAmount, unit, subAmount, timestamp, onClick, className, }: TransactionCardProps): react_jsx_runtime.JSX.Element;
275
278
 
276
279
  declare const APP_ICON_NAMES: {
277
280
  readonly activity: "history";
@@ -802,6 +805,8 @@ interface ActivityListItem<TData = unknown> {
802
805
  status: StatusType;
803
806
  displayAmount: string;
804
807
  unit?: string;
808
+ /** Secondary amount under the unit (e.g. the sats leg of an asset transfer). */
809
+ subAmount?: string;
805
810
  timestamp: number;
806
811
  network?: NetworkType;
807
812
  label?: string;
@@ -266,12 +266,15 @@ interface TransactionCardProps {
266
266
  displayAmount: string;
267
267
  /** Unit label (e.g. "sats", "BTC") */
268
268
  unit?: string;
269
+ /** Secondary amount under the unit — e.g. the sats leg an asset transfer
270
+ * rode on ("588 sats" for an RGB-LN payment or an Arkade asset VTXO). */
271
+ subAmount?: string;
269
272
  /** Unix timestamp in seconds */
270
273
  timestamp: number;
271
274
  onClick?: () => void;
272
275
  className?: string;
273
276
  }
274
- declare function TransactionCard({ direction, status, displayAmount, unit, timestamp, onClick, className, }: TransactionCardProps): react_jsx_runtime.JSX.Element;
277
+ declare function TransactionCard({ direction, status, displayAmount, unit, subAmount, timestamp, onClick, className, }: TransactionCardProps): react_jsx_runtime.JSX.Element;
275
278
 
276
279
  declare const APP_ICON_NAMES: {
277
280
  readonly activity: "history";
@@ -802,6 +805,8 @@ interface ActivityListItem<TData = unknown> {
802
805
  status: StatusType;
803
806
  displayAmount: string;
804
807
  unit?: string;
808
+ /** Secondary amount under the unit (e.g. the sats leg of an asset transfer). */
809
+ subAmount?: string;
805
810
  timestamp: number;
806
811
  network?: NetworkType;
807
812
  label?: string;
package/dist/web/index.js CHANGED
@@ -1691,6 +1691,7 @@ function TransactionCard({
1691
1691
  status,
1692
1692
  displayAmount,
1693
1693
  unit = "sats",
1694
+ subAmount,
1694
1695
  timestamp,
1695
1696
  onClick,
1696
1697
  className
@@ -1766,7 +1767,8 @@ function TransactionCard({
1766
1767
  ]
1767
1768
  }
1768
1769
  ),
1769
- /* @__PURE__ */ jsx21("p", { className: "text-tiny text-muted-foreground font-medium tracking-wide uppercase mt-0.5", children: unit })
1770
+ /* @__PURE__ */ jsx21("p", { className: "text-tiny text-muted-foreground font-medium tracking-wide uppercase mt-0.5", children: unit }),
1771
+ subAmount && /* @__PURE__ */ jsx21("p", { className: "text-tiny text-muted-foreground/70 font-medium tracking-wide tabular-nums mt-0.5", children: subAmount })
1770
1772
  ] })
1771
1773
  ]
1772
1774
  }
@@ -4373,6 +4375,7 @@ function ActivityList({
4373
4375
  status: item.status,
4374
4376
  displayAmount: item.displayAmount,
4375
4377
  unit: item.unit,
4378
+ subAmount: item.subAmount,
4376
4379
  timestamp: item.timestamp,
4377
4380
  onClick: () => onExpandedChange?.(isExpanded ? null : item.id)
4378
4381
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "description": "KaleidoSwap shared UI library — design tokens, web components (Tailwind + Radix), and React Native components extending WDK UI Kit",
5
5
  "license": "MIT",
6
6
  "type": "module",