@zydon/common 2.0.3 → 2.0.4
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/chunk-JWVPX7Y7.mjs +6 -0
- package/dist/components/ModalActions/index.d.ts +10 -0
- package/dist/components/ModalActions/index.mjs +6 -0
- package/dist/components/Portal/index.mjs +1 -6
- package/dist/components/SelectableCards/index.mjs +2 -2
- package/dist/components/SwapList/index.mjs +1 -1
- package/dist/components/form/Address/index.mjs +1 -1
- package/dist/components/form/SelectableCards/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/{chunk-CKOWGDWH.mjs → chunk-XKSDKMZ4.mjs} +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
import { createPortal } from 'react-dom';
|
|
3
|
+
|
|
4
|
+
var d=({children:e,container:o,waitBeforeShow:t=50})=>{let[m,n]=useState(!1);return useEffect(()=>{let s=setTimeout(()=>n(!0),t);return ()=>clearTimeout(s)},[t]),t?m?createPortal(e,document.getElementById(o)||document.body):null:createPortal(e,document.getElementById(o)||document.body)},P=d;
|
|
5
|
+
|
|
6
|
+
export { P as a };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ModalActionsProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare const ModalActions: ({ children, id, }: PropsWithChildren<ModalActionsProps>) => react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { ModalActions as default };
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { createPortal } from 'react-dom';
|
|
3
|
-
|
|
4
|
-
var d=({children:e,container:o,waitBeforeShow:t=50})=>{let[m,n]=useState(!1);return useEffect(()=>{let s=setTimeout(()=>n(!0),t);return ()=>clearTimeout(s)},[t]),t?m?createPortal(e,document.getElementById(o)||document.body):null:createPortal(e,document.getElementById(o)||document.body)},P=d;
|
|
5
|
-
|
|
6
|
-
export { P as default };
|
|
1
|
+
export { a as default } from '../../chunk-JWVPX7Y7.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-2ZLS7IUJ.mjs';
|
|
1
|
+
export { a as default } from '../../chunk-XKSDKMZ4.mjs';
|
|
3
2
|
import '../../chunk-OUPUY4L2.mjs';
|
|
3
|
+
import '../../chunk-2ZLS7IUJ.mjs';
|
|
4
4
|
import '../../chunk-WHA7HOMZ.mjs';
|
|
5
5
|
import '../../chunk-SXVKHA6L.mjs';
|
|
6
6
|
import '../../chunk-MUAMRRNL.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b, a as a$4 } from '../../chunk-MAKO5GLN.mjs';
|
|
2
|
-
import { a as a$1 } from '../../chunk-2ZLS7IUJ.mjs';
|
|
3
2
|
import { a } from '../../chunk-OUPUY4L2.mjs';
|
|
3
|
+
import { a as a$1 } from '../../chunk-2ZLS7IUJ.mjs';
|
|
4
4
|
import { a as a$2 } from '../../chunk-WHA7HOMZ.mjs';
|
|
5
5
|
import { a as a$3 } from '../../chunk-SXVKHA6L.mjs';
|
|
6
6
|
import '../../chunk-MUAMRRNL.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as a$1 } from '../../../chunk-HQYCK4C3.mjs';
|
|
2
1
|
import { a as a$2 } from '../../../chunk-ZREC5BF3.mjs';
|
|
2
|
+
import { a as a$1 } from '../../../chunk-HQYCK4C3.mjs';
|
|
3
3
|
import { a as a$3 } from '../../../chunk-POP3P3YE.mjs';
|
|
4
4
|
import '../../../chunk-6UGYYTYE.mjs';
|
|
5
5
|
import '../../../chunk-D6NU2WRK.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-2ZLS7IUJ.mjs';
|
|
1
|
+
import { a } from '../../../chunk-XKSDKMZ4.mjs';
|
|
3
2
|
import '../../../chunk-OUPUY4L2.mjs';
|
|
3
|
+
import '../../../chunk-2ZLS7IUJ.mjs';
|
|
4
4
|
import '../../../chunk-WHA7HOMZ.mjs';
|
|
5
5
|
import '../../../chunk-SXVKHA6L.mjs';
|
|
6
6
|
import '../../../chunk-MUAMRRNL.mjs';
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as a$3 } from './chunk-2ZLS7IUJ.mjs';
|
|
2
1
|
import { a as a$1 } from './chunk-OUPUY4L2.mjs';
|
|
2
|
+
import { a as a$3 } from './chunk-2ZLS7IUJ.mjs';
|
|
3
3
|
import { a as a$4 } from './chunk-WHA7HOMZ.mjs';
|
|
4
4
|
import { a as a$2 } from './chunk-SXVKHA6L.mjs';
|
|
5
5
|
import { a as a$5 } from './chunk-QHCGLZFD.mjs';
|