kaleido-ui 0.1.99 → 0.1.100

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.
@@ -1878,7 +1878,7 @@ function TransactionCard({
1878
1878
  direction,
1879
1879
  status,
1880
1880
  displayAmount,
1881
- unit = "sats",
1881
+ unit,
1882
1882
  subAmount,
1883
1883
  onSubAmountInfo,
1884
1884
  timestamp,
@@ -1952,11 +1952,11 @@ function TransactionCard({
1952
1952
  ),
1953
1953
  children: [
1954
1954
  isInbound ? "+" : "-",
1955
- displayAmount
1955
+ displayAmount,
1956
+ unit ? ` ${unit}` : ""
1956
1957
  ]
1957
1958
  }
1958
1959
  ),
1959
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "text-tiny text-muted-foreground font-medium tracking-wide uppercase mt-0.5", children: unit }),
1960
1960
  subAmount && (onSubAmountInfo ? (
1961
1961
  // The whole sub-line is the hit target; hover feedback is text
1962
1962
  // color only (no background), per design.
@@ -4580,7 +4580,8 @@ function ActivityList({
4580
4580
  subAmount: item.subAmount,
4581
4581
  onSubAmountInfo: item.onSubAmountInfo,
4582
4582
  timestamp: item.timestamp,
4583
- onClick: () => onExpandedChange?.(isExpanded ? null : item.id)
4583
+ onClick: () => onExpandedChange?.(isExpanded ? null : item.id),
4584
+ className: isExpanded ? "rounded-b-none" : void 0
4584
4585
  }
4585
4586
  ),
4586
4587
  isExpanded && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "bg-gradient-to-b from-white/[0.025] to-primary/[0.035] shadow-inner animate-in slide-in-from-top-2 duration-300", children: [
@@ -264,7 +264,8 @@ interface TransactionCardProps {
264
264
  status: StatusType;
265
265
  /** Formatted amount string (e.g. "1,234") */
266
266
  displayAmount: string;
267
- /** Unit label (e.g. "sats", "BTC") */
267
+ /** Unit label appended to the amount line (e.g. "USDT"). Omit when the
268
+ * formatted amount already carries its unit ("1 234 sats"). */
268
269
  unit?: string;
269
270
  /** Secondary amount under the unit — e.g. the sats leg an asset transfer
270
271
  * rode on ("588 sats" for an RGB-LN payment or an Arkade asset VTXO). */
@@ -264,7 +264,8 @@ interface TransactionCardProps {
264
264
  status: StatusType;
265
265
  /** Formatted amount string (e.g. "1,234") */
266
266
  displayAmount: string;
267
- /** Unit label (e.g. "sats", "BTC") */
267
+ /** Unit label appended to the amount line (e.g. "USDT"). Omit when the
268
+ * formatted amount already carries its unit ("1 234 sats"). */
268
269
  unit?: string;
269
270
  /** Secondary amount under the unit — e.g. the sats leg an asset transfer
270
271
  * rode on ("588 sats" for an RGB-LN payment or an Arkade asset VTXO). */
package/dist/web/index.js CHANGED
@@ -1690,7 +1690,7 @@ function TransactionCard({
1690
1690
  direction,
1691
1691
  status,
1692
1692
  displayAmount,
1693
- unit = "sats",
1693
+ unit,
1694
1694
  subAmount,
1695
1695
  onSubAmountInfo,
1696
1696
  timestamp,
@@ -1764,11 +1764,11 @@ function TransactionCard({
1764
1764
  ),
1765
1765
  children: [
1766
1766
  isInbound ? "+" : "-",
1767
- displayAmount
1767
+ displayAmount,
1768
+ unit ? ` ${unit}` : ""
1768
1769
  ]
1769
1770
  }
1770
1771
  ),
1771
- /* @__PURE__ */ jsx21("p", { className: "text-tiny text-muted-foreground font-medium tracking-wide uppercase mt-0.5", children: unit }),
1772
1772
  subAmount && (onSubAmountInfo ? (
1773
1773
  // The whole sub-line is the hit target; hover feedback is text
1774
1774
  // color only (no background), per design.
@@ -4398,7 +4398,8 @@ function ActivityList({
4398
4398
  subAmount: item.subAmount,
4399
4399
  onSubAmountInfo: item.onSubAmountInfo,
4400
4400
  timestamp: item.timestamp,
4401
- onClick: () => onExpandedChange?.(isExpanded ? null : item.id)
4401
+ onClick: () => onExpandedChange?.(isExpanded ? null : item.id),
4402
+ className: isExpanded ? "rounded-b-none" : void 0
4402
4403
  }
4403
4404
  ),
4404
4405
  isExpanded && /* @__PURE__ */ jsxs28("div", { className: "bg-gradient-to-b from-white/[0.025] to-primary/[0.035] shadow-inner animate-in slide-in-from-top-2 duration-300", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.99",
3
+ "version": "0.1.100",
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",