kaleido-ui 0.1.13 → 0.1.15

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.
@@ -171,6 +171,8 @@
171
171
  --font-sans: 'Satoshi', system-ui, -apple-system, sans-serif;
172
172
  --font-display: 'Satoshi', system-ui, -apple-system, sans-serif;
173
173
  --font-mono: 'Geist Mono', monospace;
174
+ --text-mini: 9px;
175
+ --text-mini--line-height: 12px;
174
176
  --text-xxs: 10px;
175
177
  --text-xxs--line-height: 14px;
176
178
  --text-tiny: 11px;
@@ -314,6 +314,7 @@ var fontFamily = {
314
314
  mono: "'Geist Mono', monospace"
315
315
  };
316
316
  var typeScale = {
317
+ mini: ["9px", "12px"],
317
318
  xxs: ["10px", "14px"],
318
319
  tiny: ["11px", "16px"],
319
320
  caption: ["13px", "18px"],
@@ -216,6 +216,7 @@ declare const fontFamily: {
216
216
  * Type scale — [fontSize, lineHeight]
217
217
  */
218
218
  declare const typeScale: {
219
+ readonly mini: readonly ["9px", "12px"];
219
220
  readonly xxs: readonly ["10px", "14px"];
220
221
  readonly tiny: readonly ["11px", "16px"];
221
222
  readonly caption: readonly ["13px", "18px"];
@@ -216,6 +216,7 @@ declare const fontFamily: {
216
216
  * Type scale — [fontSize, lineHeight]
217
217
  */
218
218
  declare const typeScale: {
219
+ readonly mini: readonly ["9px", "12px"];
219
220
  readonly xxs: readonly ["10px", "14px"];
220
221
  readonly tiny: readonly ["11px", "16px"];
221
222
  readonly caption: readonly ["13px", "18px"];
@@ -276,6 +276,7 @@ var fontFamily = {
276
276
  mono: "'Geist Mono', monospace"
277
277
  };
278
278
  var typeScale = {
279
+ mini: ["9px", "12px"],
279
280
  xxs: ["10px", "14px"],
280
281
  tiny: ["11px", "16px"],
281
282
  caption: ["13px", "18px"],
@@ -177,6 +177,7 @@ var fontFamily = {
177
177
  mono: "'Geist Mono', monospace"
178
178
  };
179
179
  var typeScale = {
180
+ mini: ["9px", "12px"],
180
181
  xxs: ["10px", "14px"],
181
182
  tiny: ["11px", "16px"],
182
183
  caption: ["13px", "18px"],
@@ -142,6 +142,7 @@ declare const fontFamily: {
142
142
  * Type scale — [fontSize, lineHeight]
143
143
  */
144
144
  declare const typeScale: {
145
+ readonly mini: readonly ["9px", "12px"];
145
146
  readonly xxs: readonly ["10px", "14px"];
146
147
  readonly tiny: readonly ["11px", "16px"];
147
148
  readonly caption: readonly ["13px", "18px"];
@@ -142,6 +142,7 @@ declare const fontFamily: {
142
142
  * Type scale — [fontSize, lineHeight]
143
143
  */
144
144
  declare const typeScale: {
145
+ readonly mini: readonly ["9px", "12px"];
145
146
  readonly xxs: readonly ["10px", "14px"];
146
147
  readonly tiny: readonly ["11px", "16px"];
147
148
  readonly caption: readonly ["13px", "18px"];
@@ -136,6 +136,7 @@ var fontFamily = {
136
136
  mono: "'Geist Mono', monospace"
137
137
  };
138
138
  var typeScale = {
139
+ mini: ["9px", "12px"],
139
140
  xxs: ["10px", "14px"],
140
141
  tiny: ["11px", "16px"],
141
142
  caption: ["13px", "18px"],
@@ -2062,7 +2062,7 @@ function FilterDropdown({
2062
2062
  "span",
2063
2063
  {
2064
2064
  className: cn(
2065
- "shrink-0 text-xxs font-black uppercase tracking-wide",
2065
+ "shrink-0 text-mini font-bold uppercase tracking-wider",
2066
2066
  isFiltered ? "text-muted-foreground" : "text-white/45"
2067
2067
  ),
2068
2068
  children: label
@@ -5207,7 +5207,8 @@ function DepositGeneratedView({
5207
5207
  setAddress,
5208
5208
  setRecipientId,
5209
5209
  setAmount,
5210
- setInvoiceStatus
5210
+ setInvoiceStatus,
5211
+ onRegenerate
5211
5212
  }) {
5212
5213
  return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "space-y-3 animate-in fade-in zoom-in-95 duration-300", children: [
5213
5214
  (network === "lightning" || network === "arkade" && arkSubMode === "ark") && isBtc && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-col gap-1.5 rounded-xl border border-white/8 bg-white/3 p-2.5", children: [
@@ -5279,7 +5280,10 @@ function DepositGeneratedView({
5279
5280
  }
5280
5281
  ),
5281
5282
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(QrCode, { value: address, size: 188 }),
5282
- isInvoicePaid && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(PaidOverlay, {})
5283
+ isInvoicePaid && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(PaidOverlay, {}),
5284
+ loading && !isInvoicePaid && // Loading scrim — sits over the QR while a fresh address/invoice
5285
+ // is being fetched (e.g. after the New Address button).
5286
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "absolute inset-0 flex items-center justify-center rounded-2xl bg-white/80 backdrop-blur-sm", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "material-symbols-outlined animate-spin text-icon-3xl text-network-bitcoin", children: "progress_activity" }) })
5283
5287
  ]
5284
5288
  }
5285
5289
  ),
@@ -5352,22 +5356,31 @@ function DepositGeneratedView({
5352
5356
  ]
5353
5357
  }
5354
5358
  ),
5355
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5359
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5356
5360
  "button",
5357
5361
  {
5358
5362
  type: "button",
5363
+ "aria-label": `New ${network === "lightning" ? "invoice" : "address"}`,
5364
+ title: `New ${network === "lightning" ? "invoice" : "address"}`,
5365
+ disabled: loading,
5359
5366
  onClick: () => {
5367
+ if (onRegenerate) {
5368
+ void onRegenerate();
5369
+ return;
5370
+ }
5360
5371
  setAddress("");
5361
5372
  setRecipientId("");
5362
5373
  setAmount("");
5363
5374
  setInvoiceStatus(null);
5364
5375
  },
5365
- className: "flex items-center justify-center gap-1.5 rounded-xl bg-primary/15 px-5 py-3 text-xs font-bold text-primary transition-all hover:bg-primary/25 active:scale-[0.98]",
5366
- children: [
5367
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "material-symbols-outlined text-icon-sm", children: "refresh" }),
5368
- "New ",
5369
- network === "lightning" ? "Invoice" : "Address"
5370
- ]
5376
+ className: "flex size-10 items-center justify-center rounded-full bg-primary/15 text-primary transition-all hover:bg-primary/25 active:scale-[0.98] disabled:opacity-50",
5377
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5378
+ "span",
5379
+ {
5380
+ className: cn("material-symbols-outlined text-icon-md", loading && "animate-spin"),
5381
+ children: "refresh"
5382
+ }
5383
+ )
5371
5384
  }
5372
5385
  ) })
5373
5386
  ] });
@@ -6024,49 +6037,53 @@ function DepositInvoiceGeneration({
6024
6037
  ] })
6025
6038
  }
6026
6039
  ),
6027
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex-shrink-0 border-b border-border bg-background px-4 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "space-y-2", children: [
6028
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { children: [
6029
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Destination Account" }),
6030
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: availableAccounts.map((account) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6031
- AccountChoiceChip,
6032
- {
6033
- account,
6034
- active: isBtc ? btcSelectedAccount === account : selectedAccount === account,
6035
- onClick: () => {
6036
- if (isBtc) {
6037
- if (account === "SPARK") {
6038
- setWalletChoice("SPARK");
6039
- setNetwork("spark");
6040
- } else if (account === "ARKADE") {
6041
- setNetwork("arkade");
6042
- setWalletChoice("RGB");
6040
+ (() => {
6041
+ const hideDestinationRail = isNewAsset && (network === "spark" || network === "arkade");
6042
+ if (hideDestinationRail) return null;
6043
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex-shrink-0 border-b border-border bg-background px-4 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "space-y-2", children: [
6044
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { children: [
6045
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Destination Account" }),
6046
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: availableAccounts.map((account) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6047
+ AccountChoiceChip,
6048
+ {
6049
+ account,
6050
+ active: isBtc ? btcSelectedAccount === account : selectedAccount === account,
6051
+ onClick: () => {
6052
+ if (isBtc) {
6053
+ if (account === "SPARK") {
6054
+ setWalletChoice("SPARK");
6055
+ setNetwork("spark");
6056
+ } else if (account === "ARKADE") {
6057
+ setNetwork("arkade");
6058
+ setWalletChoice("RGB");
6059
+ } else {
6060
+ setWalletChoice("RGB");
6061
+ setNetwork("onchain");
6062
+ }
6043
6063
  } else {
6044
- setWalletChoice("RGB");
6045
- setNetwork("onchain");
6064
+ handleAccountSelect(account);
6046
6065
  }
6047
- } else {
6048
- handleAccountSelect(account);
6049
6066
  }
6050
- }
6051
- },
6052
- account
6053
- )) })
6054
- ] }),
6055
- !isBtc && !(isNewAsset && (network === "spark" || network === "arkade")) && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { children: [
6056
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Transfer Method" }),
6057
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: methodOptions.map(({ method, enabled, disabledReason }) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6058
- MethodChoiceChip,
6059
- {
6060
- method,
6061
- active: currentMethod === method,
6062
- enabled,
6063
- disabledReason,
6064
- onClick: () => enabled && applyMethodSelection(selectedAccount, method)
6065
- },
6066
- method
6067
- )) })
6068
- ] })
6069
- ] }) }),
6067
+ },
6068
+ account
6069
+ )) })
6070
+ ] }),
6071
+ !isBtc && !(isNewAsset && (network === "spark" || network === "arkade")) && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { children: [
6072
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Transfer Method" }),
6073
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: methodOptions.map(({ method, enabled, disabledReason }) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6074
+ MethodChoiceChip,
6075
+ {
6076
+ method,
6077
+ active: currentMethod === method,
6078
+ enabled,
6079
+ disabledReason,
6080
+ onClick: () => enabled && applyMethodSelection(selectedAccount, method)
6081
+ },
6082
+ method
6083
+ )) })
6084
+ ] })
6085
+ ] }) });
6086
+ })(),
6070
6087
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ScrollArea, { className: "flex-1", viewportAs: "main", viewportClassName: "space-y-2.5 px-4 py-2.5", children: isBtc && accountReceiveResult ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6071
6088
  BtcUnifiedReceive,
6072
6089
  {
@@ -1142,8 +1142,15 @@ interface DepositGeneratedViewProps {
1142
1142
  * compatibility — it is no longer invoked.
1143
1143
  */
1144
1144
  handleDone?: () => void;
1145
+ /**
1146
+ * Optional regenerate callback. When provided, the "New Address" button
1147
+ * calls it directly (instead of just clearing local state via the
1148
+ * setters above). Required for flows whose auto-generation effect does
1149
+ * not refire on cleared state — e.g. RGB on-chain.
1150
+ */
1151
+ onRegenerate?: () => Promise<void> | void;
1145
1152
  }
1146
- declare function DepositGeneratedView({ network, net, isBtc, address, addressLabel, recipientId, arkSubMode, invoiceStatus, isInvoicePending, isInvoicePaid, isInvoiceFailedOrExpired, amount, handleAmountChange, loading, copied, copyToClipboard, getUnitLabel, selectedAsset, maxDepositAmount, setAddress, setRecipientId, setAmount, setInvoiceStatus, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
1153
+ declare function DepositGeneratedView({ network, net, isBtc, address, addressLabel, recipientId, arkSubMode, invoiceStatus, isInvoicePending, isInvoicePaid, isInvoiceFailedOrExpired, amount, handleAmountChange, loading, copied, copyToClipboard, getUnitLabel, selectedAsset, maxDepositAmount, setAddress, setRecipientId, setAmount, setInvoiceStatus, onRegenerate, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
1147
1154
 
1148
1155
  interface DepositPreGenerationAsset {
1149
1156
  ticker?: string;
@@ -1142,8 +1142,15 @@ interface DepositGeneratedViewProps {
1142
1142
  * compatibility — it is no longer invoked.
1143
1143
  */
1144
1144
  handleDone?: () => void;
1145
+ /**
1146
+ * Optional regenerate callback. When provided, the "New Address" button
1147
+ * calls it directly (instead of just clearing local state via the
1148
+ * setters above). Required for flows whose auto-generation effect does
1149
+ * not refire on cleared state — e.g. RGB on-chain.
1150
+ */
1151
+ onRegenerate?: () => Promise<void> | void;
1145
1152
  }
1146
- declare function DepositGeneratedView({ network, net, isBtc, address, addressLabel, recipientId, arkSubMode, invoiceStatus, isInvoicePending, isInvoicePaid, isInvoiceFailedOrExpired, amount, handleAmountChange, loading, copied, copyToClipboard, getUnitLabel, selectedAsset, maxDepositAmount, setAddress, setRecipientId, setAmount, setInvoiceStatus, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
1153
+ declare function DepositGeneratedView({ network, net, isBtc, address, addressLabel, recipientId, arkSubMode, invoiceStatus, isInvoicePending, isInvoicePaid, isInvoiceFailedOrExpired, amount, handleAmountChange, loading, copied, copyToClipboard, getUnitLabel, selectedAsset, maxDepositAmount, setAddress, setRecipientId, setAmount, setInvoiceStatus, onRegenerate, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
1147
1154
 
1148
1155
  interface DepositPreGenerationAsset {
1149
1156
  ticker?: string;
package/dist/web/index.js CHANGED
@@ -1907,7 +1907,7 @@ function FilterDropdown({
1907
1907
  "span",
1908
1908
  {
1909
1909
  className: cn(
1910
- "shrink-0 text-xxs font-black uppercase tracking-wide",
1910
+ "shrink-0 text-mini font-bold uppercase tracking-wider",
1911
1911
  isFiltered ? "text-muted-foreground" : "text-white/45"
1912
1912
  ),
1913
1913
  children: label
@@ -5052,7 +5052,8 @@ function DepositGeneratedView({
5052
5052
  setAddress,
5053
5053
  setRecipientId,
5054
5054
  setAmount,
5055
- setInvoiceStatus
5055
+ setInvoiceStatus,
5056
+ onRegenerate
5056
5057
  }) {
5057
5058
  return /* @__PURE__ */ jsxs43("div", { className: "space-y-3 animate-in fade-in zoom-in-95 duration-300", children: [
5058
5059
  (network === "lightning" || network === "arkade" && arkSubMode === "ark") && isBtc && /* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-1.5 rounded-xl border border-white/8 bg-white/3 p-2.5", children: [
@@ -5124,7 +5125,10 @@ function DepositGeneratedView({
5124
5125
  }
5125
5126
  ),
5126
5127
  /* @__PURE__ */ jsx56(QrCode, { value: address, size: 188 }),
5127
- isInvoicePaid && /* @__PURE__ */ jsx56(PaidOverlay, {})
5128
+ isInvoicePaid && /* @__PURE__ */ jsx56(PaidOverlay, {}),
5129
+ loading && !isInvoicePaid && // Loading scrim — sits over the QR while a fresh address/invoice
5130
+ // is being fetched (e.g. after the New Address button).
5131
+ /* @__PURE__ */ jsx56("div", { className: "absolute inset-0 flex items-center justify-center rounded-2xl bg-white/80 backdrop-blur-sm", children: /* @__PURE__ */ jsx56("span", { className: "material-symbols-outlined animate-spin text-icon-3xl text-network-bitcoin", children: "progress_activity" }) })
5128
5132
  ]
5129
5133
  }
5130
5134
  ),
@@ -5197,22 +5201,31 @@ function DepositGeneratedView({
5197
5201
  ]
5198
5202
  }
5199
5203
  ),
5200
- /* @__PURE__ */ jsx56("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ jsxs43(
5204
+ /* @__PURE__ */ jsx56("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ jsx56(
5201
5205
  "button",
5202
5206
  {
5203
5207
  type: "button",
5208
+ "aria-label": `New ${network === "lightning" ? "invoice" : "address"}`,
5209
+ title: `New ${network === "lightning" ? "invoice" : "address"}`,
5210
+ disabled: loading,
5204
5211
  onClick: () => {
5212
+ if (onRegenerate) {
5213
+ void onRegenerate();
5214
+ return;
5215
+ }
5205
5216
  setAddress("");
5206
5217
  setRecipientId("");
5207
5218
  setAmount("");
5208
5219
  setInvoiceStatus(null);
5209
5220
  },
5210
- className: "flex items-center justify-center gap-1.5 rounded-xl bg-primary/15 px-5 py-3 text-xs font-bold text-primary transition-all hover:bg-primary/25 active:scale-[0.98]",
5211
- children: [
5212
- /* @__PURE__ */ jsx56("span", { className: "material-symbols-outlined text-icon-sm", children: "refresh" }),
5213
- "New ",
5214
- network === "lightning" ? "Invoice" : "Address"
5215
- ]
5221
+ className: "flex size-10 items-center justify-center rounded-full bg-primary/15 text-primary transition-all hover:bg-primary/25 active:scale-[0.98] disabled:opacity-50",
5222
+ children: /* @__PURE__ */ jsx56(
5223
+ "span",
5224
+ {
5225
+ className: cn("material-symbols-outlined text-icon-md", loading && "animate-spin"),
5226
+ children: "refresh"
5227
+ }
5228
+ )
5216
5229
  }
5217
5230
  ) })
5218
5231
  ] });
@@ -5869,49 +5882,53 @@ function DepositInvoiceGeneration({
5869
5882
  ] })
5870
5883
  }
5871
5884
  ),
5872
- /* @__PURE__ */ jsx59("div", { className: "flex-shrink-0 border-b border-border bg-background px-4 py-2", children: /* @__PURE__ */ jsxs46("div", { className: "space-y-2", children: [
5873
- /* @__PURE__ */ jsxs46("div", { children: [
5874
- /* @__PURE__ */ jsx59("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Destination Account" }),
5875
- /* @__PURE__ */ jsx59("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: availableAccounts.map((account) => /* @__PURE__ */ jsx59(
5876
- AccountChoiceChip,
5877
- {
5878
- account,
5879
- active: isBtc ? btcSelectedAccount === account : selectedAccount === account,
5880
- onClick: () => {
5881
- if (isBtc) {
5882
- if (account === "SPARK") {
5883
- setWalletChoice("SPARK");
5884
- setNetwork("spark");
5885
- } else if (account === "ARKADE") {
5886
- setNetwork("arkade");
5887
- setWalletChoice("RGB");
5885
+ (() => {
5886
+ const hideDestinationRail = isNewAsset && (network === "spark" || network === "arkade");
5887
+ if (hideDestinationRail) return null;
5888
+ return /* @__PURE__ */ jsx59("div", { className: "flex-shrink-0 border-b border-border bg-background px-4 py-2", children: /* @__PURE__ */ jsxs46("div", { className: "space-y-2", children: [
5889
+ /* @__PURE__ */ jsxs46("div", { children: [
5890
+ /* @__PURE__ */ jsx59("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Destination Account" }),
5891
+ /* @__PURE__ */ jsx59("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: availableAccounts.map((account) => /* @__PURE__ */ jsx59(
5892
+ AccountChoiceChip,
5893
+ {
5894
+ account,
5895
+ active: isBtc ? btcSelectedAccount === account : selectedAccount === account,
5896
+ onClick: () => {
5897
+ if (isBtc) {
5898
+ if (account === "SPARK") {
5899
+ setWalletChoice("SPARK");
5900
+ setNetwork("spark");
5901
+ } else if (account === "ARKADE") {
5902
+ setNetwork("arkade");
5903
+ setWalletChoice("RGB");
5904
+ } else {
5905
+ setWalletChoice("RGB");
5906
+ setNetwork("onchain");
5907
+ }
5888
5908
  } else {
5889
- setWalletChoice("RGB");
5890
- setNetwork("onchain");
5909
+ handleAccountSelect(account);
5891
5910
  }
5892
- } else {
5893
- handleAccountSelect(account);
5894
5911
  }
5895
- }
5896
- },
5897
- account
5898
- )) })
5899
- ] }),
5900
- !isBtc && !(isNewAsset && (network === "spark" || network === "arkade")) && /* @__PURE__ */ jsxs46("div", { children: [
5901
- /* @__PURE__ */ jsx59("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Transfer Method" }),
5902
- /* @__PURE__ */ jsx59("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: methodOptions.map(({ method, enabled, disabledReason }) => /* @__PURE__ */ jsx59(
5903
- MethodChoiceChip,
5904
- {
5905
- method,
5906
- active: currentMethod === method,
5907
- enabled,
5908
- disabledReason,
5909
- onClick: () => enabled && applyMethodSelection(selectedAccount, method)
5910
- },
5911
- method
5912
- )) })
5913
- ] })
5914
- ] }) }),
5912
+ },
5913
+ account
5914
+ )) })
5915
+ ] }),
5916
+ !isBtc && !(isNewAsset && (network === "spark" || network === "arkade")) && /* @__PURE__ */ jsxs46("div", { children: [
5917
+ /* @__PURE__ */ jsx59("p", { className: "text-xxs font-bold uppercase tracking-widest text-white/35", children: "Transfer Method" }),
5918
+ /* @__PURE__ */ jsx59("div", { className: "mt-1.5 flex gap-1.5 overflow-x-auto no-scrollbar", children: methodOptions.map(({ method, enabled, disabledReason }) => /* @__PURE__ */ jsx59(
5919
+ MethodChoiceChip,
5920
+ {
5921
+ method,
5922
+ active: currentMethod === method,
5923
+ enabled,
5924
+ disabledReason,
5925
+ onClick: () => enabled && applyMethodSelection(selectedAccount, method)
5926
+ },
5927
+ method
5928
+ )) })
5929
+ ] })
5930
+ ] }) });
5931
+ })(),
5915
5932
  /* @__PURE__ */ jsx59(ScrollArea, { className: "flex-1", viewportAs: "main", viewportClassName: "space-y-2.5 px-4 py-2.5", children: isBtc && accountReceiveResult ? /* @__PURE__ */ jsx59(
5916
5933
  BtcUnifiedReceive,
5917
5934
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
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",