kaleido-ui 0.1.28 → 0.1.29
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/web/index.cjs +3 -2
- package/dist/web/index.d.cts +7 -1
- package/dist/web/index.d.ts +7 -1
- package/dist/web/index.js +3 -2
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -5293,7 +5293,8 @@ function DepositGeneratedView({
|
|
|
5293
5293
|
setAmount,
|
|
5294
5294
|
setInvoiceStatus,
|
|
5295
5295
|
showQrNetworkBadge = true,
|
|
5296
|
-
onRegenerate
|
|
5296
|
+
onRegenerate,
|
|
5297
|
+
showRegenerate = true
|
|
5297
5298
|
}) {
|
|
5298
5299
|
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "space-y-3 animate-in fade-in zoom-in-95 duration-300", children: [
|
|
5299
5300
|
(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: [
|
|
@@ -5441,7 +5442,7 @@ function DepositGeneratedView({
|
|
|
5441
5442
|
]
|
|
5442
5443
|
}
|
|
5443
5444
|
),
|
|
5444
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
5445
|
+
showRegenerate && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
5445
5446
|
"button",
|
|
5446
5447
|
{
|
|
5447
5448
|
type: "button",
|
package/dist/web/index.d.cts
CHANGED
|
@@ -1175,8 +1175,14 @@ interface DepositGeneratedViewProps {
|
|
|
1175
1175
|
* not refire on cleared state — e.g. RGB on-chain.
|
|
1176
1176
|
*/
|
|
1177
1177
|
onRegenerate?: () => Promise<void> | void;
|
|
1178
|
+
/**
|
|
1179
|
+
* Hide the "New Address" / "New Invoice" round button. Use when the
|
|
1180
|
+
* regenerate flow is broken or unsupported for the current path so the
|
|
1181
|
+
* user doesn't get stuck on a non-functional control.
|
|
1182
|
+
*/
|
|
1183
|
+
showRegenerate?: boolean;
|
|
1178
1184
|
}
|
|
1179
|
-
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, showQrNetworkBadge, onRegenerate, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
|
|
1185
|
+
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, showQrNetworkBadge, onRegenerate, showRegenerate, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
|
|
1180
1186
|
|
|
1181
1187
|
interface DepositPreGenerationAsset {
|
|
1182
1188
|
ticker?: string;
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1175,8 +1175,14 @@ interface DepositGeneratedViewProps {
|
|
|
1175
1175
|
* not refire on cleared state — e.g. RGB on-chain.
|
|
1176
1176
|
*/
|
|
1177
1177
|
onRegenerate?: () => Promise<void> | void;
|
|
1178
|
+
/**
|
|
1179
|
+
* Hide the "New Address" / "New Invoice" round button. Use when the
|
|
1180
|
+
* regenerate flow is broken or unsupported for the current path so the
|
|
1181
|
+
* user doesn't get stuck on a non-functional control.
|
|
1182
|
+
*/
|
|
1183
|
+
showRegenerate?: boolean;
|
|
1178
1184
|
}
|
|
1179
|
-
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, showQrNetworkBadge, onRegenerate, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
|
|
1185
|
+
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, showQrNetworkBadge, onRegenerate, showRegenerate, }: DepositGeneratedViewProps): react_jsx_runtime.JSX.Element;
|
|
1180
1186
|
|
|
1181
1187
|
interface DepositPreGenerationAsset {
|
|
1182
1188
|
ticker?: string;
|
package/dist/web/index.js
CHANGED
|
@@ -5138,7 +5138,8 @@ function DepositGeneratedView({
|
|
|
5138
5138
|
setAmount,
|
|
5139
5139
|
setInvoiceStatus,
|
|
5140
5140
|
showQrNetworkBadge = true,
|
|
5141
|
-
onRegenerate
|
|
5141
|
+
onRegenerate,
|
|
5142
|
+
showRegenerate = true
|
|
5142
5143
|
}) {
|
|
5143
5144
|
return /* @__PURE__ */ jsxs43("div", { className: "space-y-3 animate-in fade-in zoom-in-95 duration-300", children: [
|
|
5144
5145
|
(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: [
|
|
@@ -5286,7 +5287,7 @@ function DepositGeneratedView({
|
|
|
5286
5287
|
]
|
|
5287
5288
|
}
|
|
5288
5289
|
),
|
|
5289
|
-
/* @__PURE__ */ jsx56("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ jsx56(
|
|
5290
|
+
showRegenerate && /* @__PURE__ */ jsx56("div", { className: "flex justify-center pt-1", children: /* @__PURE__ */ jsx56(
|
|
5290
5291
|
"button",
|
|
5291
5292
|
{
|
|
5292
5293
|
type: "button",
|
package/package.json
CHANGED