@mysten/dapp-kit 1.0.5 → 1.0.6

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 (164) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/AccountDropdownMenu.css.d.ts +7 -0
  3. package/dist/components/AccountDropdownMenu.css.d.ts.map +1 -0
  4. package/dist/components/AccountDropdownMenu.d.ts +11 -0
  5. package/dist/components/AccountDropdownMenu.d.ts.map +1 -0
  6. package/dist/components/ConnectButton.d.ts +10 -0
  7. package/dist/components/ConnectButton.d.ts.map +1 -0
  8. package/dist/components/SuiClientProvider.d.ts +26 -0
  9. package/dist/components/SuiClientProvider.d.ts.map +1 -0
  10. package/dist/components/WalletProvider.d.ts +27 -0
  11. package/dist/components/WalletProvider.d.ts.map +1 -0
  12. package/dist/components/connect-modal/ConnectModal.css.d.ts +12 -0
  13. package/dist/components/connect-modal/ConnectModal.css.d.ts.map +1 -0
  14. package/dist/components/connect-modal/ConnectModal.d.ts +24 -0
  15. package/dist/components/connect-modal/ConnectModal.d.ts.map +1 -0
  16. package/dist/components/connect-modal/InfoSection.css.d.ts +2 -0
  17. package/dist/components/connect-modal/InfoSection.css.d.ts.map +1 -0
  18. package/dist/components/connect-modal/InfoSection.d.ts +7 -0
  19. package/dist/components/connect-modal/InfoSection.d.ts.map +1 -0
  20. package/dist/components/connect-modal/views/ConnectionStatus.css.d.ts +6 -0
  21. package/dist/components/connect-modal/views/ConnectionStatus.css.d.ts.map +1 -0
  22. package/dist/components/connect-modal/views/ConnectionStatus.d.ts +9 -0
  23. package/dist/components/connect-modal/views/ConnectionStatus.d.ts.map +1 -0
  24. package/dist/components/connect-modal/views/GettingStarted.css.d.ts +4 -0
  25. package/dist/components/connect-modal/views/GettingStarted.css.d.ts.map +1 -0
  26. package/dist/components/connect-modal/views/GettingStarted.d.ts +2 -0
  27. package/dist/components/connect-modal/views/GettingStarted.d.ts.map +1 -0
  28. package/dist/components/connect-modal/views/WhatIsAWallet.css.d.ts +3 -0
  29. package/dist/components/connect-modal/views/WhatIsAWallet.css.d.ts.map +1 -0
  30. package/dist/components/connect-modal/views/WhatIsAWallet.d.ts +2 -0
  31. package/dist/components/connect-modal/views/WhatIsAWallet.d.ts.map +1 -0
  32. package/dist/components/connect-modal/wallet-list/WalletList.css.d.ts +2 -0
  33. package/dist/components/connect-modal/wallet-list/WalletList.css.d.ts.map +1 -0
  34. package/dist/components/connect-modal/wallet-list/WalletList.d.ts +10 -0
  35. package/dist/components/connect-modal/wallet-list/WalletList.d.ts.map +1 -0
  36. package/dist/components/connect-modal/wallet-list/WalletListItem.css.d.ts +5 -0
  37. package/dist/components/connect-modal/wallet-list/WalletListItem.css.d.ts.map +1 -0
  38. package/dist/components/connect-modal/wallet-list/WalletListItem.d.ts +10 -0
  39. package/dist/components/connect-modal/wallet-list/WalletListItem.d.ts.map +1 -0
  40. package/dist/components/icons/BackIcon.d.ts +3 -0
  41. package/dist/components/icons/BackIcon.d.ts.map +1 -0
  42. package/dist/components/icons/CheckIcon.d.ts +3 -0
  43. package/dist/components/icons/CheckIcon.d.ts.map +1 -0
  44. package/dist/components/icons/ChevronIcon.d.ts +3 -0
  45. package/dist/components/icons/ChevronIcon.d.ts.map +1 -0
  46. package/dist/components/icons/CloseIcon.d.ts +3 -0
  47. package/dist/components/icons/CloseIcon.d.ts.map +1 -0
  48. package/dist/components/styling/InjectedThemeStyles.d.ts +7 -0
  49. package/dist/components/styling/InjectedThemeStyles.d.ts.map +1 -0
  50. package/dist/components/styling/StyleMarker.css.d.ts +2 -0
  51. package/dist/components/styling/StyleMarker.css.d.ts.map +1 -0
  52. package/dist/components/styling/StyleMarker.d.ts +3 -0
  53. package/dist/components/styling/StyleMarker.d.ts.map +1 -0
  54. package/dist/components/ui/Button.css.d.ts +34 -0
  55. package/dist/components/ui/Button.css.d.ts.map +1 -0
  56. package/dist/components/ui/Button.d.ts +9 -0
  57. package/dist/components/ui/Button.d.ts.map +1 -0
  58. package/dist/components/ui/Heading.css.d.ts +34 -0
  59. package/dist/components/ui/Heading.css.d.ts.map +1 -0
  60. package/dist/components/ui/Heading.d.ts +13 -0
  61. package/dist/components/ui/Heading.d.ts.map +1 -0
  62. package/dist/components/ui/IconButton.css.d.ts +2 -0
  63. package/dist/components/ui/IconButton.css.d.ts.map +1 -0
  64. package/dist/components/ui/IconButton.d.ts +7 -0
  65. package/dist/components/ui/IconButton.d.ts.map +1 -0
  66. package/dist/components/ui/Text.css.d.ts +34 -0
  67. package/dist/components/ui/Text.css.d.ts.map +1 -0
  68. package/dist/components/ui/Text.d.ts +13 -0
  69. package/dist/components/ui/Text.d.ts.map +1 -0
  70. package/dist/constants/styleDataAttribute.d.ts +6 -0
  71. package/dist/constants/styleDataAttribute.d.ts.map +1 -0
  72. package/dist/constants/walletDefaults.d.ts +7 -0
  73. package/dist/constants/walletDefaults.d.ts.map +1 -0
  74. package/dist/constants/walletMutationKeys.d.ts +14 -0
  75. package/dist/constants/walletMutationKeys.d.ts.map +1 -0
  76. package/dist/contexts/walletContext.d.ts +14 -0
  77. package/dist/contexts/walletContext.d.ts.map +1 -0
  78. package/dist/errors/walletErrors.d.ts +23 -0
  79. package/dist/errors/walletErrors.d.ts.map +1 -0
  80. package/dist/hooks/networkConfig.d.ts +11 -0
  81. package/dist/hooks/networkConfig.d.ts.map +1 -0
  82. package/dist/hooks/useResolveSuiNSNames.d.ts +4 -0
  83. package/dist/hooks/useResolveSuiNSNames.d.ts.map +1 -0
  84. package/dist/hooks/useSuiClient.d.ts +4 -0
  85. package/dist/hooks/useSuiClient.d.ts.map +1 -0
  86. package/dist/hooks/useSuiClientInfiniteQuery.d.ts +26 -0
  87. package/dist/hooks/useSuiClientInfiniteQuery.d.ts.map +1 -0
  88. package/dist/hooks/useSuiClientMutation.d.ts +5 -0
  89. package/dist/hooks/useSuiClientMutation.d.ts.map +1 -0
  90. package/dist/hooks/useSuiClientQueries.d.ts +28 -0
  91. package/dist/hooks/useSuiClientQueries.d.ts.map +1 -0
  92. package/dist/hooks/useSuiClientQuery.d.ts +39 -0
  93. package/dist/hooks/useSuiClientQuery.d.ts.map +1 -0
  94. package/dist/hooks/wallet/useAccounts.d.ts +6 -0
  95. package/dist/hooks/wallet/useAccounts.d.ts.map +1 -0
  96. package/dist/hooks/wallet/useAutoConnectWallet.d.ts +2 -0
  97. package/dist/hooks/wallet/useAutoConnectWallet.d.ts.map +1 -0
  98. package/dist/hooks/wallet/useConnectWallet.d.ts +16 -0
  99. package/dist/hooks/wallet/useConnectWallet.d.ts.map +1 -0
  100. package/dist/hooks/wallet/useCurrentAccount.d.ts +6 -0
  101. package/dist/hooks/wallet/useCurrentAccount.d.ts.map +1 -0
  102. package/dist/hooks/wallet/useCurrentWallet.d.ts +26 -0
  103. package/dist/hooks/wallet/useCurrentWallet.d.ts.map +1 -0
  104. package/dist/hooks/wallet/useDisconnectWallet.d.ts +10 -0
  105. package/dist/hooks/wallet/useDisconnectWallet.d.ts.map +1 -0
  106. package/dist/hooks/wallet/useSignAndExecuteTransaction.d.ts +30 -0
  107. package/dist/hooks/wallet/useSignAndExecuteTransaction.d.ts.map +1 -0
  108. package/dist/hooks/wallet/useSignPersonalMessage.d.ts +14 -0
  109. package/dist/hooks/wallet/useSignPersonalMessage.d.ts.map +1 -0
  110. package/dist/hooks/wallet/useSignTransaction.d.ts +18 -0
  111. package/dist/hooks/wallet/useSignTransaction.d.ts.map +1 -0
  112. package/dist/hooks/wallet/useSlushWallet.d.ts +6 -0
  113. package/dist/hooks/wallet/useSlushWallet.d.ts.map +1 -0
  114. package/dist/hooks/wallet/useSwitchAccount.d.ts +15 -0
  115. package/dist/hooks/wallet/useSwitchAccount.d.ts.map +1 -0
  116. package/dist/hooks/wallet/useUnsafeBurnerWallet.d.ts +2 -0
  117. package/dist/hooks/wallet/useUnsafeBurnerWallet.d.ts.map +1 -0
  118. package/dist/hooks/wallet/useWalletPropertiesChanged.d.ts +5 -0
  119. package/dist/hooks/wallet/useWalletPropertiesChanged.d.ts.map +1 -0
  120. package/dist/hooks/wallet/useWalletStore.d.ts +3 -0
  121. package/dist/hooks/wallet/useWalletStore.d.ts.map +1 -0
  122. package/dist/hooks/wallet/useWallets.d.ts +5 -0
  123. package/dist/hooks/wallet/useWallets.d.ts.map +1 -0
  124. package/dist/hooks/wallet/useWalletsChanged.d.ts +6 -0
  125. package/dist/hooks/wallet/useWalletsChanged.d.ts.map +1 -0
  126. package/dist/index.d.ts +26 -0
  127. package/dist/index.d.ts.map +1 -0
  128. package/dist/themes/lightTheme.d.ts +3 -0
  129. package/dist/themes/lightTheme.d.ts.map +1 -0
  130. package/dist/themes/themeContract.d.ts +141 -0
  131. package/dist/themes/themeContract.d.ts.map +1 -0
  132. package/dist/types/utilityTypes.d.ts +2 -0
  133. package/dist/types/utilityTypes.d.ts.map +1 -0
  134. package/dist/types.d.ts +3 -0
  135. package/dist/types.d.ts.map +1 -0
  136. package/dist/utils/assertUnreachable.d.ts +5 -0
  137. package/dist/utils/assertUnreachable.d.ts.map +1 -0
  138. package/dist/utils/stateStorage.d.ts +3 -0
  139. package/dist/utils/stateStorage.d.ts.map +1 -0
  140. package/dist/utils/walletUtils.d.ts +4 -0
  141. package/dist/utils/walletUtils.d.ts.map +1 -0
  142. package/dist/walletStore.d.ts +45 -0
  143. package/dist/walletStore.d.ts.map +1 -0
  144. package/docs/index.md +93 -0
  145. package/docs/llms-index.md +22 -0
  146. package/docs/rpc-hooks.md +166 -0
  147. package/docs/slush.md +29 -0
  148. package/docs/sui-client-provider.md +196 -0
  149. package/docs/themes.md +117 -0
  150. package/docs/wallet-components/ConnectButton.md +22 -0
  151. package/docs/wallet-components/ConnectModal.md +67 -0
  152. package/docs/wallet-hooks/useAccounts.md +36 -0
  153. package/docs/wallet-hooks/useAutoConnectWallet.md +29 -0
  154. package/docs/wallet-hooks/useConnectWallet.md +48 -0
  155. package/docs/wallet-hooks/useCurrentAccount.md +36 -0
  156. package/docs/wallet-hooks/useCurrentWallet.md +59 -0
  157. package/docs/wallet-hooks/useDisconnectWallet.md +26 -0
  158. package/docs/wallet-hooks/useSignAndExecuteTransaction.md +124 -0
  159. package/docs/wallet-hooks/useSignPersonalMessage.md +59 -0
  160. package/docs/wallet-hooks/useSignTransaction.md +67 -0
  161. package/docs/wallet-hooks/useSwitchAccount.md +47 -0
  162. package/docs/wallet-hooks/useWallets.md +38 -0
  163. package/docs/wallet-provider.md +38 -0
  164. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mysten/dapp-kit
2
2
 
3
+ ## 1.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - f7de3e5: Restore type definitions in published package.
8
+ - f7de3e5: Restore docs in published tarballs.
9
+ - Updated dependencies [f7de3e5]
10
+ - @mysten/slush-wallet@1.0.5
11
+ - @mysten/sui@2.16.2
12
+ - @mysten/utils@0.3.3
13
+ - @mysten/wallet-standard@0.20.3
14
+
3
15
  ## 1.0.5
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,7 @@
1
+ export declare const connectedAccount: string;
2
+ export declare const menuContainer: string;
3
+ export declare const menuContent: string;
4
+ export declare const menuItem: string;
5
+ export declare const switchAccountMenuItem: string;
6
+ export declare const separator: string;
7
+ //# sourceMappingURL=AccountDropdownMenu.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDropdownMenu.css.d.ts","sourceRoot":"","sources":["../../src/components/AccountDropdownMenu.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB,QAE3B,CAAC;AAEH,eAAO,MAAM,aAAa,QAExB,CAAC;AAEH,eAAO,MAAM,WAAW,QAUtB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAYnB,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAIhC,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { WalletAccount } from '@mysten/wallet-standard';
2
+ type AccountDropdownMenuProps = {
3
+ currentAccount: WalletAccount;
4
+ };
5
+ export declare function AccountDropdownMenu({ currentAccount }: AccountDropdownMenuProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function AccountDropdownMenuItem({ account, active, }: {
7
+ account: WalletAccount;
8
+ active?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=AccountDropdownMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDropdownMenu.d.ts","sourceRoot":"","sources":["../../src/components/AccountDropdownMenu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAe7D,KAAK,wBAAwB,GAAG;IAC/B,cAAc,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,cAAc,EAAE,EAAE,wBAAwB,2CA0C/E;AAED,wBAAgB,uBAAuB,CAAC,EACvC,OAAO,EACP,MAAM,GACN,EAAE;IACF,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,2CAaA"}
@@ -0,0 +1,10 @@
1
+ import type { WalletWithRequiredFeatures } from '@mysten/wallet-standard';
2
+ import type { ButtonHTMLAttributes, ReactNode } from 'react';
3
+ type ConnectButtonProps = {
4
+ connectText?: ReactNode;
5
+ /** Filter the wallets shown in the connect modal */
6
+ walletFilter?: (wallet: WalletWithRequiredFeatures) => boolean;
7
+ } & ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare function ConnectButton({ connectText, walletFilter, ...buttonProps }: ConnectButtonProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ConnectButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectButton.d.ts","sourceRoot":"","sources":["../../src/components/ConnectButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQ7D,KAAK,kBAAkB,GAAG;IACzB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oDAAoD;IACpD,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,0BAA0B,KAAK,OAAO,CAAC;CAC/D,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,wBAAgB,aAAa,CAAC,EAC7B,WAA8B,EAC9B,YAAY,EACZ,GAAG,WAAW,EACd,EAAE,kBAAkB,2CAcpB"}
@@ -0,0 +1,26 @@
1
+ import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
2
+ import type { NetworkConfig } from '../hooks/networkConfig.js';
3
+ type NetworkConfigs<T extends NetworkConfig | SuiJsonRpcClient = NetworkConfig | SuiJsonRpcClient> = Record<string, T>;
4
+ export interface SuiClientProviderContext {
5
+ client: SuiJsonRpcClient;
6
+ networks: NetworkConfigs;
7
+ network: string;
8
+ config: NetworkConfig | null;
9
+ selectNetwork: (network: string) => void;
10
+ }
11
+ export declare const SuiClientContext: import("react").Context<SuiClientProviderContext | null>;
12
+ export type SuiClientProviderProps<T extends NetworkConfigs> = {
13
+ createClient?: (name: keyof T, config: T[keyof T]) => SuiJsonRpcClient;
14
+ children: React.ReactNode;
15
+ networks?: T;
16
+ onNetworkChange?: (network: keyof T & string) => void;
17
+ } & ({
18
+ defaultNetwork?: keyof T & string;
19
+ network?: never;
20
+ } | {
21
+ defaultNetwork?: never;
22
+ network?: keyof T & string;
23
+ });
24
+ export declare function SuiClientProvider<T extends NetworkConfigs>(props: SuiClientProviderProps<T>): import("react/jsx-runtime").JSX.Element;
25
+ export {};
26
+ //# sourceMappingURL=SuiClientProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuiClientProvider.d.ts","sourceRoot":"","sources":["../../src/components/SuiClientProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,EAA6C,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIlG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,cAAc,CAAC,CAAC,SAAS,aAAa,GAAG,gBAAgB,GAAG,aAAa,GAAG,gBAAgB,IAChG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAEnB,MAAM,WAAW,wBAAwB;IACxC,MAAM,EAAE,gBAAgB,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,aAAa,GAAG,IAAI,CAAC;IAC7B,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,gBAAgB,0DAAuD,CAAC;AAErF,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,cAAc,IAAI;IAC9D,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,gBAAgB,CAAC;IACvE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,MAAM,KAAK,IAAI,CAAC;CACtD,GAAG,CACD;IACA,cAAc,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;IAClC,OAAO,CAAC,EAAE,KAAK,CAAC;CACf,GACD;IACA,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;CAC1B,CACH,CAAC;AAiBF,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,cAAc,EAAE,KAAK,EAAE,sBAAsB,CAAC,CAAC,CAAC,2CAwC3F"}
@@ -0,0 +1,27 @@
1
+ import type { WalletWithFeatures, WalletWithRequiredFeatures } from '@mysten/wallet-standard';
2
+ import type { ReactNode } from 'react';
3
+ import type { StateStorage } from 'zustand/middleware';
4
+ import type { SlushWalletConfig } from '../hooks/wallet/useSlushWallet.js';
5
+ import type { Theme } from '../themes/themeContract.js';
6
+ export type WalletProviderProps = {
7
+ /** A list of wallets that are sorted to the top of the wallet list, if they are available to connect to. By default, wallets are sorted by the order they are loaded in. */
8
+ preferredWallets?: string[];
9
+ /** A filter function to select wallets that support features required for the dApp to function. This filters the list of wallets presented to users when selecting a wallet to connect from, ensuring that only wallets that meet the dApps requirements can connect. */
10
+ walletFilter?: (wallet: WalletWithRequiredFeatures) => boolean;
11
+ /** Enables the development-only unsafe burner wallet, which can be useful for testing. */
12
+ enableUnsafeBurner?: boolean;
13
+ /** Enables automatically reconnecting to the most recently used wallet account upon mounting. */
14
+ autoConnect?: boolean;
15
+ /** Enables the Slush wallet */
16
+ slushWallet?: SlushWalletConfig;
17
+ /** Configures how the most recently connected to wallet account is stored. Set to `null` to disable persisting state entirely. Defaults to using localStorage if it is available. */
18
+ storage?: StateStorage | null;
19
+ /** The key to use to store the most recently connected wallet account. */
20
+ storageKey?: string;
21
+ /** The theme to use for styling UI components. Defaults to using the light theme. */
22
+ theme?: Theme | null;
23
+ children: ReactNode;
24
+ };
25
+ export type { WalletWithFeatures };
26
+ export declare function WalletProvider({ preferredWallets, walletFilter, storage, storageKey, enableUnsafeBurner, autoConnect, slushWallet, theme, children, }: WalletProviderProps): import("react/jsx-runtime").JSX.Element;
27
+ //# sourceMappingURL=WalletProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletProvider.d.ts","sourceRoot":"","sources":["../../src/components/WalletProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAUvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAM3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAMxD,MAAM,MAAM,mBAAmB,GAAG;IACjC,4KAA4K;IAC5K,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE5B,yQAAyQ;IACzQ,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,0BAA0B,KAAK,OAAO,CAAC;IAE/D,0FAA0F;IAC1F,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,iGAAiG;IACjG,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAEhC,qLAAqL;IACrL,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAE9B,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,qFAAqF;IACrF,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAErB,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,wBAAgB,cAAc,CAAC,EAC9B,gBAA4C,EAC5C,YAAoC,EACpC,OAAyB,EACzB,UAAgC,EAChC,kBAA0B,EAC1B,WAAmB,EACnB,WAAW,EACX,KAAkB,EAClB,QAAQ,GACR,EAAE,mBAAmB,2CAwBrB"}
@@ -0,0 +1,12 @@
1
+ export declare const overlay: string;
2
+ export declare const title: string;
3
+ export declare const content: string;
4
+ export declare const whatIsAWalletButton: string;
5
+ export declare const viewContainer: string;
6
+ export declare const selectedViewContainer: string;
7
+ export declare const backButtonContainer: string;
8
+ export declare const closeButtonContainer: string;
9
+ export declare const walletListContent: string;
10
+ export declare const walletListContainer: string;
11
+ export declare const walletListContainerWithViewSelected: string;
12
+ //# sourceMappingURL=ConnectModal.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectModal.css.d.ts","sourceRoot":"","sources":["../../../src/components/connect-modal/ConnectModal.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,QAMlB,CAAC;AAEH,eAAO,MAAM,KAAK,QAEhB,CAAC;AAEH,eAAO,MAAM,OAAO,QAwBlB,CAAC;AAEH,eAAO,MAAM,mBAAmB,QAQ9B,CAAC;AAEH,eAAO,MAAM,aAAa,QASxB,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAEhC,CAAC;AAEH,eAAO,MAAM,mBAAmB,QAS9B,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAI/B,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAY5B,CAAC;AAEH,eAAO,MAAM,mBAAmB,QAa9B,CAAC;AAEH,eAAO,MAAM,mCAAmC,QAO9C,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { WalletWithRequiredFeatures } from '@mysten/wallet-standard';
2
+ import type { ReactNode } from 'react';
3
+ type ControlledModalProps = {
4
+ /** The controlled open state of the dialog. */
5
+ open: boolean;
6
+ /** Event handler called when the open state of the dialog changes. */
7
+ onOpenChange: (open: boolean) => void;
8
+ defaultOpen?: never;
9
+ };
10
+ type UncontrolledModalProps = {
11
+ open?: never;
12
+ onOpenChange?: never;
13
+ /** The open state of the dialog when it is initially rendered. Use when you do not need to control its open state. */
14
+ defaultOpen?: boolean;
15
+ };
16
+ type ConnectModalProps = {
17
+ /** The trigger button that opens the dialog. */
18
+ trigger: NonNullable<ReactNode>;
19
+ /** Filter the wallets shown in the modal. */
20
+ walletFilter?: (wallet: WalletWithRequiredFeatures) => boolean;
21
+ } & (ControlledModalProps | UncontrolledModalProps);
22
+ export declare function ConnectModal({ trigger, open, defaultOpen, onOpenChange, walletFilter, }: ConnectModalProps): import("react/jsx-runtime").JSX.Element;
23
+ export {};
24
+ //# sourceMappingURL=ConnectModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectModal.d.ts","sourceRoot":"","sources":["../../../src/components/connect-modal/ConnectModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAI1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmBvC,KAAK,oBAAoB,GAAG;IAC3B,+CAA+C;IAC/C,IAAI,EAAE,OAAO,CAAC;IAEd,sEAAsE;IACtE,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAEtC,WAAW,CAAC,EAAE,KAAK,CAAC;CACpB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC;IAEb,YAAY,CAAC,EAAE,KAAK,CAAC;IAErB,sHAAsH;IACtH,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACxB,gDAAgD;IAChD,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEhC,6CAA6C;IAC7C,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,0BAA0B,KAAK,OAAO,CAAC;CAC/D,GAAG,CAAC,oBAAoB,GAAG,sBAAsB,CAAC,CAAC;AAEpD,wBAAgB,YAAY,CAAC,EAC5B,OAAO,EACP,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,YAAoC,GACpC,EAAE,iBAAiB,2CAkHnB"}
@@ -0,0 +1,2 @@
1
+ export declare const container: string;
2
+ //# sourceMappingURL=InfoSection.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoSection.css.d.ts","sourceRoot":"","sources":["../../../src/components/connect-modal/InfoSection.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,QAIpB,CAAC"}
@@ -0,0 +1,7 @@
1
+ type InfoSectionProps = {
2
+ title: string;
3
+ children: string;
4
+ };
5
+ export declare function InfoSection({ title, children }: InfoSectionProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=InfoSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoSection.d.ts","sourceRoot":"","sources":["../../../src/components/connect-modal/InfoSection.tsx"],"names":[],"mappings":"AAOA,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAWhE"}
@@ -0,0 +1,6 @@
1
+ export declare const container: string;
2
+ export declare const walletIcon: string;
3
+ export declare const title: string;
4
+ export declare const connectionStatus: string;
5
+ export declare const retryButtonContainer: string;
6
+ //# sourceMappingURL=ConnectionStatus.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionStatus.css.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/ConnectionStatus.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,QAMpB,CAAC;AAEH,eAAO,MAAM,UAAU,QAKrB,CAAC;AAEH,eAAO,MAAM,KAAK,QAEhB,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAE3B,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAI/B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { WalletWithRequiredFeatures } from '@mysten/wallet-standard';
2
+ type ConnectionStatusProps = {
3
+ selectedWallet: WalletWithRequiredFeatures;
4
+ hadConnectionError: boolean;
5
+ onRetryConnection: (selectedWallet: WalletWithRequiredFeatures) => void;
6
+ };
7
+ export declare function ConnectionStatus({ selectedWallet, hadConnectionError, onRetryConnection, }: ConnectionStatusProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=ConnectionStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/ConnectionStatus.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAO1E,KAAK,qBAAqB,GAAG;IAC5B,cAAc,EAAE,0BAA0B,CAAC;IAC3C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,CAAC,cAAc,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAChC,cAAc,EACd,kBAAkB,EAClB,iBAAiB,GACjB,EAAE,qBAAqB,2CA+BvB"}
@@ -0,0 +1,4 @@
1
+ export declare const container: string;
2
+ export declare const content: string;
3
+ export declare const installButtonContainer: string;
4
+ //# sourceMappingURL=GettingStarted.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GettingStarted.css.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/GettingStarted.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,QAIpB,CAAC;AAEH,eAAO,MAAM,OAAO,QAOlB,CAAC;AAEH,eAAO,MAAM,sBAAsB,QAIjC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function GettingStarted(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=GettingStarted.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GettingStarted.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/GettingStarted.tsx"],"names":[],"mappings":"AAQA,wBAAgB,cAAc,4CA6B7B"}
@@ -0,0 +1,3 @@
1
+ export declare const container: string;
2
+ export declare const content: string;
3
+ //# sourceMappingURL=WhatIsAWallet.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WhatIsAWallet.css.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/WhatIsAWallet.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,QAIpB,CAAC;AAEH,eAAO,MAAM,OAAO,QAOlB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function WhatIsAWallet(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=WhatIsAWallet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WhatIsAWallet.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/WhatIsAWallet.tsx"],"names":[],"mappings":"AAOA,wBAAgB,aAAa,4CAe5B"}
@@ -0,0 +1,2 @@
1
+ export declare const container: string;
2
+ //# sourceMappingURL=WalletList.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletList.css.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/wallet-list/WalletList.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,QAIpB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { WalletWithRequiredFeatures } from '@mysten/wallet-standard';
2
+ type WalletListProps = {
3
+ selectedWalletName?: string;
4
+ onPlaceholderClick: () => void;
5
+ onSelect: (wallet: WalletWithRequiredFeatures) => void;
6
+ wallets: WalletWithRequiredFeatures[];
7
+ };
8
+ export declare function WalletList({ selectedWalletName, onPlaceholderClick, onSelect, wallets, }: WalletListProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=WalletList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletList.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/wallet-list/WalletList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAO1E,KAAK,eAAe,GAAG;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,EAAE,CAAC,MAAM,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACvD,OAAO,EAAE,0BAA0B,EAAE,CAAC;CACtC,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAC1B,kBAAkB,EAClB,kBAAkB,EAClB,QAAQ,EACR,OAAO,GACP,EAAE,eAAe,2CAuBjB"}
@@ -0,0 +1,5 @@
1
+ export declare const container: string;
2
+ export declare const walletItem: string;
3
+ export declare const selectedWalletItem: string;
4
+ export declare const walletIcon: string;
5
+ //# sourceMappingURL=WalletListItem.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletListItem.css.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/wallet-list/WalletListItem.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,QAEpB,CAAC;AAEH,eAAO,MAAM,UAAU,QAUrB,CAAC;AAEH,eAAO,MAAM,kBAAkB,QAG7B,CAAC;AAEH,eAAO,MAAM,UAAU,QAMrB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from 'react';
2
+ type WalletListItemProps = {
3
+ name: string;
4
+ icon: ReactNode;
5
+ isSelected?: boolean;
6
+ onClick: () => void;
7
+ };
8
+ export declare function WalletListItem({ name, icon, onClick, isSelected }: WalletListItemProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=WalletListItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/wallet-list/WalletListItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,KAAK,mBAAmB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,UAAkB,EAAE,EAAE,mBAAmB,2CAmB9F"}
@@ -0,0 +1,3 @@
1
+ import type { ComponentProps } from 'react';
2
+ export declare function BackIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=BackIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/BackIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CASpD"}
@@ -0,0 +1,3 @@
1
+ import type { ComponentProps } from 'react';
2
+ export declare function CheckIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=CheckIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CheckIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CASrD"}
@@ -0,0 +1,3 @@
1
+ import type { ComponentProps } from 'react';
2
+ export declare function ChevronIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ChevronIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChevronIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ChevronIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CAYvD"}
@@ -0,0 +1,3 @@
1
+ import type { ComponentProps } from 'react';
2
+ export declare function CloseIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=CloseIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CloseIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CASrD"}
@@ -0,0 +1,7 @@
1
+ import type { Theme } from '../../themes/themeContract.js';
2
+ type InjectedThemeStylesProps = {
3
+ theme: Theme;
4
+ };
5
+ export declare function InjectedThemeStyles({ theme }: InjectedThemeStylesProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=InjectedThemeStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InjectedThemeStyles.d.ts","sourceRoot":"","sources":["../../../src/components/styling/InjectedThemeStyles.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAgB,KAAK,EAAa,MAAM,+BAA+B,CAAC;AAEpF,KAAK,wBAAwB,GAAG;IAC/B,KAAK,EAAE,KAAK,CAAC;CACb,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,wBAAwB,2CActE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=StyleMarker.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StyleMarker.css.d.ts","sourceRoot":"","sources":["../../../src/components/styling/StyleMarker.css.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import './StyleMarker.css.js';
2
+ export declare const StyleMarker: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
3
+ //# sourceMappingURL=StyleMarker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StyleMarker.d.ts","sourceRoot":"","sources":["../../../src/components/styling/StyleMarker.tsx"],"names":[],"mappings":"AASA,OAAO,sBAAsB,CAAC;AAM9B,eAAO,MAAM,WAAW,4LAOtB,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { RecipeVariants } from '@vanilla-extract/recipes';
2
+ export declare const buttonVariants: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ variant: {
4
+ primary: {
5
+ backgroundColor: `var(--${string})`;
6
+ color: `var(--${string})`;
7
+ boxShadow: `var(--${string})`;
8
+ ':hover': {
9
+ backgroundColor: `var(--${string})`;
10
+ };
11
+ };
12
+ outline: {
13
+ borderWidth: number;
14
+ borderStyle: "solid";
15
+ borderColor: `var(--${string})`;
16
+ color: `var(--${string})`;
17
+ ':hover': {
18
+ backgroundColor: `var(--${string})`;
19
+ };
20
+ };
21
+ };
22
+ size: {
23
+ md: {
24
+ borderRadius: `var(--${string})`;
25
+ padding: "8px 16px";
26
+ };
27
+ lg: {
28
+ borderRadius: `var(--${string})`;
29
+ padding: "16px 24px ";
30
+ };
31
+ };
32
+ }>;
33
+ export type ButtonVariants = RecipeVariants<typeof buttonVariants>;
34
+ //# sourceMappingURL=Button.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Button.css.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ButtonHTMLAttributes } from 'react';
2
+ declare const Button: import("react").ForwardRefExoticComponent<{
3
+ asChild?: boolean;
4
+ } & ButtonHTMLAttributes<HTMLButtonElement> & {
5
+ variant?: "outline" | "primary" | undefined;
6
+ size?: "md" | "lg" | undefined;
7
+ } & import("react").RefAttributes<HTMLButtonElement>>;
8
+ export { Button };
9
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Button.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAWlD,QAAA,MAAM,MAAM;cAJD,OAAO;;;;qDAejB,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { RecipeVariants } from '@vanilla-extract/recipes';
2
+ export declare const headingVariants: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ size: {
4
+ sm: {
5
+ fontSize: `var(--${string})`;
6
+ };
7
+ md: {
8
+ fontSize: `var(--${string})`;
9
+ };
10
+ lg: {
11
+ fontSize: `var(--${string})`;
12
+ };
13
+ xl: {
14
+ fontSize: `var(--${string})`;
15
+ };
16
+ };
17
+ weight: {
18
+ normal: {
19
+ fontWeight: `var(--${string})`;
20
+ };
21
+ bold: {
22
+ fontWeight: `var(--${string})`;
23
+ };
24
+ };
25
+ truncate: {
26
+ true: {
27
+ overflow: "hidden";
28
+ textOverflow: "ellipsis";
29
+ whiteSpace: "nowrap";
30
+ };
31
+ };
32
+ }>;
33
+ export type HeadingVariants = RecipeVariants<typeof headingVariants>;
34
+ //# sourceMappingURL=Heading.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.css.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Heading.css.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { HeadingVariants } from './Heading.css.js';
2
+ type HeadingAsChildProps = {
3
+ asChild?: boolean;
4
+ as?: never;
5
+ };
6
+ type HeadingAsProps = {
7
+ as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
8
+ asChild?: never;
9
+ };
10
+ type HeadingProps = (HeadingAsChildProps | HeadingAsProps) & React.HTMLAttributes<HTMLHeadingElement> & HeadingVariants;
11
+ declare const Heading: import("react").ForwardRefExoticComponent<HeadingProps & import("react").RefAttributes<HTMLHeadingElement>>;
12
+ export { Heading };
13
+ //# sourceMappingURL=Heading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Heading.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,KAAK,mBAAmB,GAAG;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,KAAK,CAAC;CACX,CAAC;AAEF,KAAK,cAAc,GAAG;IACrB,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,KAAK,CAAC;CAChB,CAAC;AAEF,KAAK,YAAY,GAAG,CAAC,mBAAmB,GAAG,cAAc,CAAC,GACzD,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,GACxC,eAAe,CAAC;AAEjB,QAAA,MAAM,OAAO,6GAwBZ,CAAC;AAGF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const container: string;
2
+ //# sourceMappingURL=IconButton.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.css.d.ts","sourceRoot":"","sources":["../../../src/components/ui/IconButton.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,QAQpB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ButtonHTMLAttributes } from 'react';
2
+ declare const IconButton: import("react").ForwardRefExoticComponent<{
3
+ asChild?: boolean;
4
+ 'aria-label': string;
5
+ } & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
6
+ export { IconButton };
7
+ //# sourceMappingURL=IconButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/ui/IconButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAUlD,QAAA,MAAM,UAAU;cAJL,OAAO;kBACH,MAAM;+FAQpB,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { RecipeVariants } from '@vanilla-extract/recipes';
2
+ export declare const textVariants: import("@vanilla-extract/recipes").RuntimeFn<{
3
+ size: {
4
+ sm: {
5
+ fontSize: `var(--${string})`;
6
+ };
7
+ };
8
+ weight: {
9
+ normal: {
10
+ fontWeight: `var(--${string})`;
11
+ };
12
+ medium: {
13
+ fontWeight: `var(--${string})`;
14
+ };
15
+ bold: {
16
+ fontWeight: `var(--${string})`;
17
+ };
18
+ };
19
+ color: {
20
+ muted: {
21
+ color: `var(--${string})`;
22
+ };
23
+ danger: {
24
+ color: `var(--${string})`;
25
+ };
26
+ };
27
+ mono: {
28
+ true: {
29
+ fontFamily: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace";
30
+ };
31
+ };
32
+ }>;
33
+ export type TextVariants = RecipeVariants<typeof textVariants>;
34
+ //# sourceMappingURL=Text.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.css.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Text.css.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { TextVariants } from './Text.css.js';
2
+ type TextAsChildProps = {
3
+ asChild?: boolean;
4
+ as?: never;
5
+ };
6
+ type TextDivProps = {
7
+ as: 'div';
8
+ asChild?: never;
9
+ };
10
+ type TextProps = (TextAsChildProps | TextDivProps) & React.HTMLAttributes<HTMLDivElement> & TextVariants;
11
+ declare const Text: import("react").ForwardRefExoticComponent<TextProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ export { Text };
13
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Text.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,KAAK,gBAAgB,GAAG;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,KAAK,CAAC;CACX,CAAC;AAEF,KAAK,YAAY,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAEnD,KAAK,SAAS,GAAG,CAAC,gBAAgB,GAAG,YAAY,CAAC,GACjD,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACpC,YAAY,CAAC;AAEd,QAAA,MAAM,IAAI,sGAyBT,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const styleDataAttributeName = "data-dapp-kit";
2
+ export declare const styleDataAttributeSelector = "[data-dapp-kit]";
3
+ export declare const styleDataAttribute: {
4
+ "data-dapp-kit": string;
5
+ };
6
+ //# sourceMappingURL=styleDataAttribute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styleDataAttribute.d.ts","sourceRoot":"","sources":["../../src/constants/styleDataAttribute.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,kBAAkB,CAAC;AAEtD,eAAO,MAAM,0BAA0B,oBAAgC,CAAC;AAExE,eAAO,MAAM,kBAAkB;;CAAmC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { WalletWithRequiredFeatures } from '@mysten/wallet-standard';
2
+ export declare const SUI_WALLET_NAME = "Sui Wallet";
3
+ export declare const DEFAULT_STORAGE: import("zustand/middleware").StateStorage<unknown>;
4
+ export declare const DEFAULT_STORAGE_KEY = "sui-dapp-kit:wallet-connection-info";
5
+ export declare const DEFAULT_WALLET_FILTER: (wallet: WalletWithRequiredFeatures) => boolean;
6
+ export declare const DEFAULT_PREFERRED_WALLETS: string[];
7
+ //# sourceMappingURL=walletDefaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"walletDefaults.d.ts","sourceRoot":"","sources":["../../src/constants/walletDefaults.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAqB,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAK7F,eAAO,MAAM,eAAe,eAAe,CAAC;AAE5C,eAAO,MAAM,eAAe,oDACgE,CAAC;AAE7F,eAAO,MAAM,mBAAmB,wCAAwC,CAAC;AAOzE,eAAO,MAAM,qBAAqB,GAAI,QAAQ,0BAA0B,YACd,CAAC;AAE3D,eAAO,MAAM,yBAAyB,UAAuC,CAAC"}