@pushchain/ui-kit 1.1.29 → 1.1.30

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,9 @@
1
+ @pushchain/ui-kit@1.1.30 (2025-08-11)
2
+
3
+ - fix: fix the vertical position of the iframe modal
4
+
5
+ ---
6
+
1
7
  @pushchain/ui-kit@1.1.29 (2025-08-11)
2
8
 
3
9
  - 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.29",
3
+ "version": "1.1.30",
4
4
  "homepage": "https://push.org",
5
5
  "keywords": [
6
6
  "pushchain",
@@ -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 - 24
27
+ ? triggerRect.bottom - 16
28
28
  : spaceAbove >= modalHeight
29
- ? triggerRect.top - modalHeight + 24
29
+ ? triggerRect.top - modalHeight + 16
30
30
  : Math.max(viewportHeight - modalHeight, 0);
31
31
  const left = spaceRight >= modalWidth
32
32
  ? triggerRect.left - 35