@rhinestone/deposit-modal 0.1.54 → 0.1.56
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/{DepositModalReown-5QKEE7R3.mjs → DepositModalReown-A5YFTV2E.mjs} +2 -2
- package/dist/{DepositModalReown-XKP2Z55X.cjs → DepositModalReown-ZBBLHE6Z.cjs} +3 -3
- package/dist/{WithdrawModalReown-ZQCNJLSP.cjs → WithdrawModalReown-45SPXE5O.cjs} +3 -3
- package/dist/{WithdrawModalReown-DN6OKFGR.mjs → WithdrawModalReown-GS2QN3GA.mjs} +2 -2
- package/dist/{chunk-EAEDK474.cjs → chunk-3UQQU6BE.cjs} +11 -7
- package/dist/{chunk-QJVXCBUI.cjs → chunk-6BYN2IMR.cjs} +82 -82
- package/dist/{chunk-AJUR6FAP.mjs → chunk-6KDGB2W2.mjs} +2 -2
- package/dist/{chunk-XXB2LVUB.mjs → chunk-IUKSOPEY.mjs} +32 -12
- package/dist/{chunk-JQTV5JTB.mjs → chunk-LY3AZLPH.mjs} +11 -7
- package/dist/{chunk-GOMHX544.cjs → chunk-TVGZCNBW.cjs} +77 -57
- package/dist/deposit.cjs +3 -3
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/reown.cjs +4 -4
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +3 -3
- package/dist/{types-BPE95RUG.d.ts → types-B7UuWCtD.d.ts} +1 -0
- package/dist/{types-Cm5vGVK2.d.cts → types-CL7ec666.d.cts} +1 -0
- package/dist/withdraw.cjs +3 -3
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModalInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6KDGB2W2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
7
|
} from "./chunk-MBURQ26S.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LY3AZLPH.mjs";
|
|
9
9
|
import "./chunk-CIXHTOO3.mjs";
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6BYN2IMRcjs = require('./chunk-6BYN2IMR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkN2Y34LQOcjs = require('./chunk-N2Y34LQO.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-3UQQU6BE.cjs');
|
|
9
9
|
require('./chunk-R6U6BHCV.cjs');
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
@@ -32,7 +32,7 @@ function DepositModalWithReown(props) {
|
|
|
32
32
|
reown.disconnect();
|
|
33
33
|
}, [reown.disconnect]);
|
|
34
34
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35
|
-
|
|
35
|
+
_chunk6BYN2IMRcjs.DepositModalInner,
|
|
36
36
|
{
|
|
37
37
|
...props,
|
|
38
38
|
reownWallet: reownWithSolana,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkTVGZCNBWcjs = require('./chunk-TVGZCNBW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkN2Y34LQOcjs = require('./chunk-N2Y34LQO.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-3UQQU6BE.cjs');
|
|
9
9
|
require('./chunk-R6U6BHCV.cjs');
|
|
10
10
|
|
|
11
11
|
// src/WithdrawModalReown.tsx
|
|
@@ -20,7 +20,7 @@ function WithdrawModalWithReown(props) {
|
|
|
20
20
|
reown.disconnect();
|
|
21
21
|
}, [reown.disconnect]);
|
|
22
22
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23
|
-
|
|
23
|
+
_chunkTVGZCNBWcjs.WithdrawModalInner,
|
|
24
24
|
{
|
|
25
25
|
...props,
|
|
26
26
|
reownWallet: reown,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WithdrawModalInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IUKSOPEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
7
|
} from "./chunk-MBURQ26S.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LY3AZLPH.mjs";
|
|
9
9
|
import "./chunk-CIXHTOO3.mjs";
|
|
10
10
|
|
|
11
11
|
// src/WithdrawModalReown.tsx
|
|
@@ -810,12 +810,12 @@ function formatUserError(raw) {
|
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
// src/core/theme.ts
|
|
813
|
-
var
|
|
814
|
-
none: "0",
|
|
815
|
-
sm: "8px",
|
|
816
|
-
md: "10px",
|
|
817
|
-
lg: "14px",
|
|
818
|
-
full: "9999px"
|
|
813
|
+
var RADIUS_SCALE = {
|
|
814
|
+
none: { sm: "0", md: "0", lg: "0" },
|
|
815
|
+
sm: { sm: "4px", md: "6px", lg: "8px" },
|
|
816
|
+
md: { sm: "8px", md: "10px", lg: "14px" },
|
|
817
|
+
lg: { sm: "10px", md: "14px", lg: "18px" },
|
|
818
|
+
full: { sm: "9999px", md: "9999px", lg: "9999px" }
|
|
819
819
|
};
|
|
820
820
|
function applyTheme(element, theme) {
|
|
821
821
|
if (!element) return;
|
|
@@ -848,7 +848,11 @@ function applyTheme(element, theme) {
|
|
|
848
848
|
element.style.setProperty("--rs-background", theme.backgroundColor);
|
|
849
849
|
}
|
|
850
850
|
if (_optionalChain([theme, 'optionalAccess', _45 => _45.radius])) {
|
|
851
|
-
|
|
851
|
+
const scale = RADIUS_SCALE[theme.radius];
|
|
852
|
+
element.style.setProperty("--rs-radius-sm", scale.sm);
|
|
853
|
+
element.style.setProperty("--rs-radius-md", scale.md);
|
|
854
|
+
element.style.setProperty("--rs-radius-lg", scale.lg);
|
|
855
|
+
element.style.setProperty("--rs-radius", scale.md);
|
|
852
856
|
}
|
|
853
857
|
}
|
|
854
858
|
|