@matchain/matchid-sdk-react 0.1.56-alpha.0 → 0.1.56-alpha.10

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.
Files changed (83) hide show
  1. package/dist/api.d.mts +2 -2
  2. package/dist/api.d.ts +2 -2
  3. package/dist/api.js +67 -48
  4. package/dist/api.js.map +1 -1
  5. package/dist/api.mjs +4 -4
  6. package/dist/assets/lottie.d.mts +1 -1
  7. package/dist/assets/lottie.d.ts +1 -1
  8. package/dist/assets/lottie.js +5 -0
  9. package/dist/assets/lottie.js.map +1 -1
  10. package/dist/assets/lottie.mjs +3 -1
  11. package/dist/chains.d.mts +1 -1
  12. package/dist/chains.d.ts +1 -1
  13. package/dist/{chunk-FKXS2XRG.mjs → chunk-FQ6PYZPD.mjs} +94 -1
  14. package/dist/chunk-FQ6PYZPD.mjs.map +1 -0
  15. package/dist/{chunk-SG45XKMV.mjs → chunk-JCMQBWWW.mjs} +2 -2
  16. package/dist/chunk-LOZCAT7A.mjs +7732 -0
  17. package/dist/chunk-LOZCAT7A.mjs.map +1 -0
  18. package/dist/{chunk-XR24AYII.mjs → chunk-XM6CYEXN.mjs} +6 -1
  19. package/dist/chunk-XM6CYEXN.mjs.map +1 -0
  20. package/dist/components.d.mts +3 -3
  21. package/dist/components.d.ts +3 -3
  22. package/dist/components.js +506 -368
  23. package/dist/components.js.map +1 -1
  24. package/dist/components.mjs +3 -3
  25. package/dist/hooks.d.mts +2 -3
  26. package/dist/hooks.d.ts +2 -3
  27. package/dist/hooks.js +249 -184
  28. package/dist/hooks.js.map +1 -1
  29. package/dist/hooks.mjs +5 -3
  30. package/dist/icon.d.mts +2 -2
  31. package/dist/icon.d.ts +2 -2
  32. package/dist/icon.js +93 -0
  33. package/dist/icon.js.map +1 -1
  34. package/dist/icon.mjs +11 -1
  35. package/dist/{index-FKxw4Vaa.d.mts → index-84CqVi2I.d.mts} +1 -1
  36. package/dist/{index-4dZbgWG2.d.ts → index-BNqdFiOo.d.ts} +1 -1
  37. package/dist/{index-C82WIWvx.d.ts → index-BctnHnJp.d.ts} +21 -3
  38. package/dist/{index-BKSGbw7b.d.mts → index-BqI0PEIi.d.mts} +2 -2
  39. package/dist/{index-CDTTHSh0.d.mts → index-CHgaOUiW.d.mts} +6586 -138
  40. package/dist/{index-CDTTHSh0.d.ts → index-CHgaOUiW.d.ts} +6586 -138
  41. package/dist/{index-TjbO7d74.d.mts → index-Car1jFyN.d.mts} +1 -1
  42. package/dist/{index-B50DU_xT.d.mts → index-CboftuIp.d.mts} +2 -0
  43. package/dist/{index-B50DU_xT.d.ts → index-CboftuIp.d.ts} +2 -0
  44. package/dist/{index-CwHXzvvB.d.ts → index-CcVHENNv.d.ts} +1 -1
  45. package/dist/{index-DK7l3lsH.d.ts → index-Cqdz_5bE.d.ts} +10 -4
  46. package/dist/{index-BtjgRcNJ.d.ts → index-CvzpMw3N.d.ts} +2 -2
  47. package/dist/index-D2E53ZMV.d.mts +7134 -0
  48. package/dist/{index-BXbfmVoU.d.mts → index-DVlulZhE.d.mts} +2 -2
  49. package/dist/{index-D7E317WV.d.mts → index-DkijpM5Q.d.mts} +21 -3
  50. package/dist/index-DwmrgZa2.d.ts +7134 -0
  51. package/dist/{index-YPRyEYt6.d.mts → index-DxHhOW24.d.mts} +10 -4
  52. package/dist/{index-CsUEaGtM.d.ts → index-qmC4zt6V.d.ts} +2 -2
  53. package/dist/index.css +227 -30
  54. package/dist/index.d.mts +167 -89
  55. package/dist/index.d.ts +167 -89
  56. package/dist/index.js +625 -430
  57. package/dist/index.js.map +1 -1
  58. package/dist/index.mjs +4 -4
  59. package/dist/{types-DEsY_CPH.d.mts → types-BrVeC0c8.d.mts} +5 -1
  60. package/dist/{types-DEsY_CPH.d.ts → types-BrVeC0c8.d.ts} +5 -1
  61. package/dist/types.d.mts +1 -1
  62. package/dist/types.d.ts +1 -1
  63. package/dist/ui.d.mts +3 -3
  64. package/dist/ui.d.ts +3 -3
  65. package/dist/ui.js +253 -162
  66. package/dist/ui.js.map +1 -1
  67. package/dist/ui.mjs +5 -3
  68. package/example/package.json +1 -2
  69. package/example/src/pages/UI/components/Checkbox.tsx +10 -0
  70. package/example/src/pages/UI/components/Input.tsx +12 -0
  71. package/example/src/pages/UI/components/Modal.tsx +38 -0
  72. package/example/src/pages/UI/index.tsx +6 -0
  73. package/example/src/pages/Wallet/index.tsx +90 -88
  74. package/example/yarn.lock +2251 -27
  75. package/package.json +8 -4
  76. package/dist/chunk-FGJ25ONR.mjs +0 -7621
  77. package/dist/chunk-FGJ25ONR.mjs.map +0 -1
  78. package/dist/chunk-FKXS2XRG.mjs.map +0 -1
  79. package/dist/chunk-XR24AYII.mjs.map +0 -1
  80. package/dist/index-CHG4-0Z1.d.mts +0 -3333
  81. package/dist/index-D1Ep9UMx.d.ts +0 -3333
  82. package/example/package-lock.json +0 -2965
  83. /package/dist/{chunk-SG45XKMV.mjs.map → chunk-JCMQBWWW.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
- import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-DEsY_CPH.mjs';
3
+ import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-BrVeC0c8.mjs';
4
4
  import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.mjs';
5
5
 
6
6
  declare const bindCexApi: (data: {
@@ -13,6 +13,7 @@ declare const matchMain: {
13
13
  readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
14
14
  };
15
15
  };
16
+ ensTlds?: readonly string[] | undefined;
16
17
  id: 698;
17
18
  name: "Matchain";
18
19
  nativeCurrency: {
@@ -55,6 +56,7 @@ declare const matchTest: {
55
56
  readonly blockCreated: 5317080;
56
57
  };
57
58
  };
59
+ ensTlds?: readonly string[] | undefined;
58
60
  id: 699;
59
61
  name: "MatchTest";
60
62
  nativeCurrency: {
@@ -13,6 +13,7 @@ declare const matchMain: {
13
13
  readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
14
14
  };
15
15
  };
16
+ ensTlds?: readonly string[] | undefined;
16
17
  id: 698;
17
18
  name: "Matchain";
18
19
  nativeCurrency: {
@@ -55,6 +56,7 @@ declare const matchTest: {
55
56
  readonly blockCreated: 5317080;
56
57
  };
57
58
  };
59
+ ensTlds?: readonly string[] | undefined;
58
60
  id: 699;
59
61
  name: "MatchTest";
60
62
  nativeCurrency: {
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
- import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-DEsY_CPH.js';
3
+ import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-BrVeC0c8.js';
4
4
  import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
5
5
 
6
6
  declare const bindCexApi: (data: {
@@ -1,6 +1,6 @@
1
- import { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-BtjgRcNJ.js';
1
+ import { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CvzpMw3N.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-DEsY_CPH.js';
3
+ import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-BrVeC0c8.js';
4
4
  import { Hash, Chain } from 'viem';
5
5
  import * as React$1 from 'react';
6
6
  import React__default, { CSSProperties } from 'react';
@@ -64,8 +64,14 @@ declare const LazyLottie: (props: {
64
64
  style?: React.CSSProperties;
65
65
  }) => React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
66
66
 
67
+ declare function Checkbox({ checked, onChange }: {
68
+ checked?: boolean;
69
+ onChange?: (checked: boolean) => void;
70
+ }): react_jsx_runtime.JSX.Element;
71
+
67
72
  declare const index_AlphaAvatar: typeof AlphaAvatar;
68
73
  declare const index_Button: typeof Button;
74
+ declare const index_Checkbox: typeof Checkbox;
69
75
  declare const index_ConfirmModal: typeof ConfirmModal;
70
76
  declare const index_Drawer: typeof Drawer;
71
77
  declare const index_Field: typeof Field;
@@ -80,7 +86,7 @@ declare const index_Skeleton: typeof Skeleton;
80
86
  declare const index_Switch: typeof Switch;
81
87
  declare const index_Tabs: typeof Tabs;
82
88
  declare namespace index {
83
- export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_ConfirmModal as ConfirmModal, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, LazyLottie as Lottie, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
89
+ export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Checkbox as Checkbox, index_ConfirmModal as ConfirmModal, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, LazyLottie as Lottie, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
84
90
  }
85
91
 
86
- export { AlphaAvatar as A, Drawer as D, LazyLottie as L, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
92
+ export { AlphaAvatar as A, Checkbox as C, Drawer as D, LazyLottie as L, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default, { ReactNode, PropsWithChildren } from 'react';
3
- import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-DEsY_CPH.js';
3
+ import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-BrVeC0c8.js';
4
4
 
5
5
  declare function Field({ label, children, error, required, className }: {
6
6
  label: ReactNode;
@@ -9,7 +9,7 @@ declare function Field({ label, children, error, required, className }: {
9
9
  className?: string;
10
10
  } & PropsWithChildren): react_jsx_runtime.JSX.Element;
11
11
 
12
- declare function Input({ onChange, type, after, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
12
+ declare function Input({ onChange, type, after, showLength, showClear, className, rows, maxRows, children, ...props }: InputProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
13
13
 
14
14
  declare function Button({ size, disabled, loading, children, onClick, highlight, block, type, rounded, className, style, dataset }: ButtonProps & {
15
15
  dataset?: {