@luno-kit/ui 0.0.1 → 0.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/index.d.cts CHANGED
@@ -51,7 +51,6 @@ interface LunokitTheme {
51
51
  info: string;
52
52
  infoForeground: string;
53
53
  skeleton: string;
54
- cutLine: string;
55
54
  };
56
55
  fonts: {
57
56
  body: string;
@@ -110,4 +109,21 @@ interface LunoKitProviderProps {
110
109
  }
111
110
  declare const LunoKitProvider: React.FC<LunoKitProviderProps>;
112
111
 
113
- export { ConnectButton, LunoKitProvider, type LunoKitProviderProps, type LunokitTheme, type ThemeMode, useLunoTheme };
112
+ declare const useConnectModal: () => {
113
+ isOpen: boolean;
114
+ open?: () => void;
115
+ close: () => void;
116
+ };
117
+ declare const useAccountModal: () => {
118
+ isOpen: boolean;
119
+ open?: () => void;
120
+ close: () => void;
121
+ };
122
+ declare const useChainModal: () => {
123
+ isOpen: boolean;
124
+ open?: () => void;
125
+ close: () => void;
126
+ };
127
+ declare const useCloseAllModals: () => () => void;
128
+
129
+ export { ConnectButton, LunoKitProvider, type LunoKitProviderProps, type LunokitTheme, type ThemeMode, useAccountModal, useChainModal, useCloseAllModals, useConnectModal, useLunoTheme };
package/dist/index.d.ts CHANGED
@@ -51,7 +51,6 @@ interface LunokitTheme {
51
51
  info: string;
52
52
  infoForeground: string;
53
53
  skeleton: string;
54
- cutLine: string;
55
54
  };
56
55
  fonts: {
57
56
  body: string;
@@ -110,4 +109,21 @@ interface LunoKitProviderProps {
110
109
  }
111
110
  declare const LunoKitProvider: React.FC<LunoKitProviderProps>;
112
111
 
113
- export { ConnectButton, LunoKitProvider, type LunoKitProviderProps, type LunokitTheme, type ThemeMode, useLunoTheme };
112
+ declare const useConnectModal: () => {
113
+ isOpen: boolean;
114
+ open?: () => void;
115
+ close: () => void;
116
+ };
117
+ declare const useAccountModal: () => {
118
+ isOpen: boolean;
119
+ open?: () => void;
120
+ close: () => void;
121
+ };
122
+ declare const useChainModal: () => {
123
+ isOpen: boolean;
124
+ open?: () => void;
125
+ close: () => void;
126
+ };
127
+ declare const useCloseAllModals: () => () => void;
128
+
129
+ export { ConnectButton, LunoKitProvider, type LunoKitProviderProps, type LunokitTheme, type ThemeMode, useAccountModal, useChainModal, useCloseAllModals, useConnectModal, useLunoTheme };