kaleido-ui 0.1.121 → 0.1.122
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/LICENSE +21 -0
- package/dist/web/index.cjs +2 -5
- package/dist/web/index.d.cts +3 -1
- package/dist/web/index.d.ts +3 -1
- package/dist/web/index.js +2 -5
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 KaleidoSwap
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/web/index.cjs
CHANGED
|
@@ -5506,6 +5506,7 @@ function WithdrawConfirmation({
|
|
|
5506
5506
|
routeAccount,
|
|
5507
5507
|
routeMethod,
|
|
5508
5508
|
estimatedFee,
|
|
5509
|
+
feeIsExact = false,
|
|
5509
5510
|
feeRate,
|
|
5510
5511
|
addressType,
|
|
5511
5512
|
decodedRgbInvoice,
|
|
@@ -5569,11 +5570,7 @@ function WithdrawConfirmation({
|
|
|
5569
5570
|
children: [
|
|
5570
5571
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-sm text-muted-foreground", children: reviewLabels?.estimatedNetworkFee ?? "Estimated network fee" }),
|
|
5571
5572
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex flex-col items-end", children: [
|
|
5572
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.
|
|
5573
|
-
"~",
|
|
5574
|
-
estimatedFee.toLocaleString(),
|
|
5575
|
-
" sats"
|
|
5576
|
-
] }),
|
|
5573
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-sm text-white", children: `${feeIsExact ? "" : "~"}${estimatedFee.toLocaleString()} sats` }),
|
|
5577
5574
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "mt-0.5 text-xxs font-bold capitalize tracking-wider text-primary", children: feeRate })
|
|
5578
5575
|
] })
|
|
5579
5576
|
]
|
package/dist/web/index.d.cts
CHANGED
|
@@ -1140,6 +1140,8 @@ interface WithdrawConfirmationProps {
|
|
|
1140
1140
|
routeAccount?: string;
|
|
1141
1141
|
routeMethod?: string;
|
|
1142
1142
|
estimatedFee: number;
|
|
1143
|
+
/** The fee is quoted, not estimated: drop the `~`. Defaults to false. */
|
|
1144
|
+
feeIsExact?: boolean;
|
|
1143
1145
|
feeRate: string;
|
|
1144
1146
|
addressType: WithdrawAddressType;
|
|
1145
1147
|
decodedRgbInvoice: WithdrawConfirmationRgbInvoice | null;
|
|
@@ -1153,7 +1155,7 @@ interface WithdrawConfirmationProps {
|
|
|
1153
1155
|
};
|
|
1154
1156
|
handleConfirmSend: () => void;
|
|
1155
1157
|
}
|
|
1156
|
-
declare function WithdrawConfirmation({ isConfirming, isPollingStatus, setShowConfirmation, displayAmount, selectedAssetId, selectedAsset, destination, networkLabel, routeAccount, routeMethod, estimatedFee, feeRate, addressType, decodedRgbInvoice, witnessAmountSat, amount, reviewLabels, handleConfirmSend, }: WithdrawConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
1158
|
+
declare function WithdrawConfirmation({ isConfirming, isPollingStatus, setShowConfirmation, displayAmount, selectedAssetId, selectedAsset, destination, networkLabel, routeAccount, routeMethod, estimatedFee, feeIsExact, feeRate, addressType, decodedRgbInvoice, witnessAmountSat, amount, reviewLabels, handleConfirmSend, }: WithdrawConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
1157
1159
|
|
|
1158
1160
|
interface WithdrawSuccessProps {
|
|
1159
1161
|
displayAmount: number;
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1140,6 +1140,8 @@ interface WithdrawConfirmationProps {
|
|
|
1140
1140
|
routeAccount?: string;
|
|
1141
1141
|
routeMethod?: string;
|
|
1142
1142
|
estimatedFee: number;
|
|
1143
|
+
/** The fee is quoted, not estimated: drop the `~`. Defaults to false. */
|
|
1144
|
+
feeIsExact?: boolean;
|
|
1143
1145
|
feeRate: string;
|
|
1144
1146
|
addressType: WithdrawAddressType;
|
|
1145
1147
|
decodedRgbInvoice: WithdrawConfirmationRgbInvoice | null;
|
|
@@ -1153,7 +1155,7 @@ interface WithdrawConfirmationProps {
|
|
|
1153
1155
|
};
|
|
1154
1156
|
handleConfirmSend: () => void;
|
|
1155
1157
|
}
|
|
1156
|
-
declare function WithdrawConfirmation({ isConfirming, isPollingStatus, setShowConfirmation, displayAmount, selectedAssetId, selectedAsset, destination, networkLabel, routeAccount, routeMethod, estimatedFee, feeRate, addressType, decodedRgbInvoice, witnessAmountSat, amount, reviewLabels, handleConfirmSend, }: WithdrawConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
1158
|
+
declare function WithdrawConfirmation({ isConfirming, isPollingStatus, setShowConfirmation, displayAmount, selectedAssetId, selectedAsset, destination, networkLabel, routeAccount, routeMethod, estimatedFee, feeIsExact, feeRate, addressType, decodedRgbInvoice, witnessAmountSat, amount, reviewLabels, handleConfirmSend, }: WithdrawConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
1157
1159
|
|
|
1158
1160
|
interface WithdrawSuccessProps {
|
|
1159
1161
|
displayAmount: number;
|
package/dist/web/index.js
CHANGED
|
@@ -5318,6 +5318,7 @@ function WithdrawConfirmation({
|
|
|
5318
5318
|
routeAccount,
|
|
5319
5319
|
routeMethod,
|
|
5320
5320
|
estimatedFee,
|
|
5321
|
+
feeIsExact = false,
|
|
5321
5322
|
feeRate,
|
|
5322
5323
|
addressType,
|
|
5323
5324
|
decodedRgbInvoice,
|
|
@@ -5381,11 +5382,7 @@ function WithdrawConfirmation({
|
|
|
5381
5382
|
children: [
|
|
5382
5383
|
/* @__PURE__ */ jsx51("span", { className: "text-sm text-muted-foreground", children: reviewLabels?.estimatedNetworkFee ?? "Estimated network fee" }),
|
|
5383
5384
|
/* @__PURE__ */ jsxs38("div", { className: "flex flex-col items-end", children: [
|
|
5384
|
-
/* @__PURE__ */
|
|
5385
|
-
"~",
|
|
5386
|
-
estimatedFee.toLocaleString(),
|
|
5387
|
-
" sats"
|
|
5388
|
-
] }),
|
|
5385
|
+
/* @__PURE__ */ jsx51("span", { className: "text-sm text-white", children: `${feeIsExact ? "" : "~"}${estimatedFee.toLocaleString()} sats` }),
|
|
5389
5386
|
/* @__PURE__ */ jsx51("span", { className: "mt-0.5 text-xxs font-bold capitalize tracking-wider text-primary", children: feeRate })
|
|
5390
5387
|
] })
|
|
5391
5388
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kaleido-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.122",
|
|
4
4
|
"description": "KaleidoSwap shared UI library \u2014 design tokens, web components (Tailwind + Radix), and React Native components extending WDK UI Kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|