@pushchain/ui-kit 1.1.29 → 1.1.31
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
@pushchain/ui-kit@1.1.31 (2025-08-12)
|
|
2
|
+
|
|
3
|
+
- chore: add test comment to trigger GitHub Action 1
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
@pushchain/ui-kit@1.1.30 (2025-08-11)
|
|
8
|
+
|
|
9
|
+
- fix: fix the vertical position of the iframe modal
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
@pushchain/ui-kit@1.1.29 (2025-08-11)
|
|
2
14
|
|
|
3
15
|
- chore: upgrade the core sdk to v1.1.29
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushchain/ui-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.31",
|
|
4
4
|
"homepage": "https://push.org",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pushchain",
|
|
@@ -43,6 +43,5 @@
|
|
|
43
43
|
"scripts": {
|
|
44
44
|
"release:stable": "npx nx run ui-kit:nx-release-publish --otp=1",
|
|
45
45
|
"release:alpha": "npx nx run ui-kit:nx-release-alpha-publish --otp=1"
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
}
|
|
46
|
+
}
|
|
47
|
+
}
|
package/src/index.js
CHANGED
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ui-kit/src/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ui-kit/src/index.ts"],"names":[],"mappings":";;;AAAA,2BAAyB;AAEzB,gDAAsB;AAEtB,yCAAyC"}
|
|
@@ -24,9 +24,9 @@ function useSmartModalPosition(triggerRef, modalWidth = 450, modalHeight = 675,
|
|
|
24
24
|
const spaceRight = viewportWidth - triggerRect.left;
|
|
25
25
|
const spaceLeft = triggerRect.right;
|
|
26
26
|
const top = spaceBelow >= modalHeight
|
|
27
|
-
? triggerRect.bottom -
|
|
27
|
+
? triggerRect.bottom - 16
|
|
28
28
|
: spaceAbove >= modalHeight
|
|
29
|
-
? triggerRect.top - modalHeight +
|
|
29
|
+
? triggerRect.top - modalHeight + 16
|
|
30
30
|
: Math.max(viewportHeight - modalHeight, 0);
|
|
31
31
|
const left = spaceRight >= modalWidth
|
|
32
32
|
? triggerRect.left - 35
|
|
@@ -7,7 +7,6 @@ export declare const pushWalletDonut: {
|
|
|
7
7
|
readonly url: "https://explorer.testnet.push.org";
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
blockTime?: number | undefined;
|
|
11
10
|
contracts?: viemChains.Prettify<{
|
|
12
11
|
[key: string]: import("viem").ChainContract | {
|
|
13
12
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -26,7 +25,6 @@ export declare const pushWalletDonut: {
|
|
|
26
25
|
readonly name: "PUSH";
|
|
27
26
|
readonly symbol: "PUSH";
|
|
28
27
|
};
|
|
29
|
-
experimental_preconfirmationTime?: number | undefined;
|
|
30
28
|
rpcUrls: {
|
|
31
29
|
readonly default: {
|
|
32
30
|
readonly http: readonly ["https://evm.rpc-testnet-donut-node1.push.org/"];
|