@mysten/dapp-kit 1.0.4 → 1.0.5
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 +14 -0
- package/package.json +10 -13
- package/dist/components/AccountDropdownMenu.css.d.ts +0 -7
- package/dist/components/AccountDropdownMenu.css.d.ts.map +0 -1
- package/dist/components/AccountDropdownMenu.d.ts +0 -11
- package/dist/components/AccountDropdownMenu.d.ts.map +0 -1
- package/dist/components/ConnectButton.d.ts +0 -10
- package/dist/components/ConnectButton.d.ts.map +0 -1
- package/dist/components/SuiClientProvider.d.ts +0 -26
- package/dist/components/SuiClientProvider.d.ts.map +0 -1
- package/dist/components/WalletProvider.d.ts +0 -27
- package/dist/components/WalletProvider.d.ts.map +0 -1
- package/dist/components/connect-modal/ConnectModal.css.d.ts +0 -12
- package/dist/components/connect-modal/ConnectModal.css.d.ts.map +0 -1
- package/dist/components/connect-modal/ConnectModal.d.ts +0 -24
- package/dist/components/connect-modal/ConnectModal.d.ts.map +0 -1
- package/dist/components/connect-modal/InfoSection.css.d.ts +0 -2
- package/dist/components/connect-modal/InfoSection.css.d.ts.map +0 -1
- package/dist/components/connect-modal/InfoSection.d.ts +0 -7
- package/dist/components/connect-modal/InfoSection.d.ts.map +0 -1
- package/dist/components/connect-modal/views/ConnectionStatus.css.d.ts +0 -6
- package/dist/components/connect-modal/views/ConnectionStatus.css.d.ts.map +0 -1
- package/dist/components/connect-modal/views/ConnectionStatus.d.ts +0 -9
- package/dist/components/connect-modal/views/ConnectionStatus.d.ts.map +0 -1
- package/dist/components/connect-modal/views/GettingStarted.css.d.ts +0 -4
- package/dist/components/connect-modal/views/GettingStarted.css.d.ts.map +0 -1
- package/dist/components/connect-modal/views/GettingStarted.d.ts +0 -2
- package/dist/components/connect-modal/views/GettingStarted.d.ts.map +0 -1
- package/dist/components/connect-modal/views/WhatIsAWallet.css.d.ts +0 -3
- package/dist/components/connect-modal/views/WhatIsAWallet.css.d.ts.map +0 -1
- package/dist/components/connect-modal/views/WhatIsAWallet.d.ts +0 -2
- package/dist/components/connect-modal/views/WhatIsAWallet.d.ts.map +0 -1
- package/dist/components/connect-modal/wallet-list/WalletList.css.d.ts +0 -2
- package/dist/components/connect-modal/wallet-list/WalletList.css.d.ts.map +0 -1
- package/dist/components/connect-modal/wallet-list/WalletList.d.ts +0 -10
- package/dist/components/connect-modal/wallet-list/WalletList.d.ts.map +0 -1
- package/dist/components/connect-modal/wallet-list/WalletListItem.css.d.ts +0 -5
- package/dist/components/connect-modal/wallet-list/WalletListItem.css.d.ts.map +0 -1
- package/dist/components/connect-modal/wallet-list/WalletListItem.d.ts +0 -10
- package/dist/components/connect-modal/wallet-list/WalletListItem.d.ts.map +0 -1
- package/dist/components/icons/BackIcon.d.ts +0 -3
- package/dist/components/icons/BackIcon.d.ts.map +0 -1
- package/dist/components/icons/CheckIcon.d.ts +0 -3
- package/dist/components/icons/CheckIcon.d.ts.map +0 -1
- package/dist/components/icons/ChevronIcon.d.ts +0 -3
- package/dist/components/icons/ChevronIcon.d.ts.map +0 -1
- package/dist/components/icons/CloseIcon.d.ts +0 -3
- package/dist/components/icons/CloseIcon.d.ts.map +0 -1
- package/dist/components/styling/InjectedThemeStyles.d.ts +0 -7
- package/dist/components/styling/InjectedThemeStyles.d.ts.map +0 -1
- package/dist/components/styling/StyleMarker.css.d.ts +0 -2
- package/dist/components/styling/StyleMarker.css.d.ts.map +0 -1
- package/dist/components/styling/StyleMarker.d.ts +0 -3
- package/dist/components/styling/StyleMarker.d.ts.map +0 -1
- package/dist/components/ui/Button.css.d.ts +0 -34
- package/dist/components/ui/Button.css.d.ts.map +0 -1
- package/dist/components/ui/Button.d.ts +0 -9
- package/dist/components/ui/Button.d.ts.map +0 -1
- package/dist/components/ui/Heading.css.d.ts +0 -34
- package/dist/components/ui/Heading.css.d.ts.map +0 -1
- package/dist/components/ui/Heading.d.ts +0 -13
- package/dist/components/ui/Heading.d.ts.map +0 -1
- package/dist/components/ui/IconButton.css.d.ts +0 -2
- package/dist/components/ui/IconButton.css.d.ts.map +0 -1
- package/dist/components/ui/IconButton.d.ts +0 -7
- package/dist/components/ui/IconButton.d.ts.map +0 -1
- package/dist/components/ui/Text.css.d.ts +0 -34
- package/dist/components/ui/Text.css.d.ts.map +0 -1
- package/dist/components/ui/Text.d.ts +0 -13
- package/dist/components/ui/Text.d.ts.map +0 -1
- package/dist/constants/styleDataAttribute.d.ts +0 -6
- package/dist/constants/styleDataAttribute.d.ts.map +0 -1
- package/dist/constants/walletDefaults.d.ts +0 -7
- package/dist/constants/walletDefaults.d.ts.map +0 -1
- package/dist/constants/walletMutationKeys.d.ts +0 -14
- package/dist/constants/walletMutationKeys.d.ts.map +0 -1
- package/dist/contexts/walletContext.d.ts +0 -14
- package/dist/contexts/walletContext.d.ts.map +0 -1
- package/dist/errors/walletErrors.d.ts +0 -23
- package/dist/errors/walletErrors.d.ts.map +0 -1
- package/dist/hooks/networkConfig.d.ts +0 -11
- package/dist/hooks/networkConfig.d.ts.map +0 -1
- package/dist/hooks/useResolveSuiNSNames.d.ts +0 -4
- package/dist/hooks/useResolveSuiNSNames.d.ts.map +0 -1
- package/dist/hooks/useSuiClient.d.ts +0 -4
- package/dist/hooks/useSuiClient.d.ts.map +0 -1
- package/dist/hooks/useSuiClientInfiniteQuery.d.ts +0 -26
- package/dist/hooks/useSuiClientInfiniteQuery.d.ts.map +0 -1
- package/dist/hooks/useSuiClientMutation.d.ts +0 -5
- package/dist/hooks/useSuiClientMutation.d.ts.map +0 -1
- package/dist/hooks/useSuiClientQueries.d.ts +0 -28
- package/dist/hooks/useSuiClientQueries.d.ts.map +0 -1
- package/dist/hooks/useSuiClientQuery.d.ts +0 -39
- package/dist/hooks/useSuiClientQuery.d.ts.map +0 -1
- package/dist/hooks/wallet/useAccounts.d.ts +0 -6
- package/dist/hooks/wallet/useAccounts.d.ts.map +0 -1
- package/dist/hooks/wallet/useAutoConnectWallet.d.ts +0 -2
- package/dist/hooks/wallet/useAutoConnectWallet.d.ts.map +0 -1
- package/dist/hooks/wallet/useConnectWallet.d.ts +0 -16
- package/dist/hooks/wallet/useConnectWallet.d.ts.map +0 -1
- package/dist/hooks/wallet/useCurrentAccount.d.ts +0 -6
- package/dist/hooks/wallet/useCurrentAccount.d.ts.map +0 -1
- package/dist/hooks/wallet/useCurrentWallet.d.ts +0 -26
- package/dist/hooks/wallet/useCurrentWallet.d.ts.map +0 -1
- package/dist/hooks/wallet/useDisconnectWallet.d.ts +0 -10
- package/dist/hooks/wallet/useDisconnectWallet.d.ts.map +0 -1
- package/dist/hooks/wallet/useSignAndExecuteTransaction.d.ts +0 -30
- package/dist/hooks/wallet/useSignAndExecuteTransaction.d.ts.map +0 -1
- package/dist/hooks/wallet/useSignPersonalMessage.d.ts +0 -14
- package/dist/hooks/wallet/useSignPersonalMessage.d.ts.map +0 -1
- package/dist/hooks/wallet/useSignTransaction.d.ts +0 -18
- package/dist/hooks/wallet/useSignTransaction.d.ts.map +0 -1
- package/dist/hooks/wallet/useSlushWallet.d.ts +0 -6
- package/dist/hooks/wallet/useSlushWallet.d.ts.map +0 -1
- package/dist/hooks/wallet/useSwitchAccount.d.ts +0 -15
- package/dist/hooks/wallet/useSwitchAccount.d.ts.map +0 -1
- package/dist/hooks/wallet/useUnsafeBurnerWallet.d.ts +0 -2
- package/dist/hooks/wallet/useUnsafeBurnerWallet.d.ts.map +0 -1
- package/dist/hooks/wallet/useWalletPropertiesChanged.d.ts +0 -5
- package/dist/hooks/wallet/useWalletPropertiesChanged.d.ts.map +0 -1
- package/dist/hooks/wallet/useWalletStore.d.ts +0 -3
- package/dist/hooks/wallet/useWalletStore.d.ts.map +0 -1
- package/dist/hooks/wallet/useWallets.d.ts +0 -5
- package/dist/hooks/wallet/useWallets.d.ts.map +0 -1
- package/dist/hooks/wallet/useWalletsChanged.d.ts +0 -6
- package/dist/hooks/wallet/useWalletsChanged.d.ts.map +0 -1
- package/dist/index.d.ts +0 -26
- package/dist/index.d.ts.map +0 -1
- package/dist/themes/lightTheme.d.ts +0 -3
- package/dist/themes/lightTheme.d.ts.map +0 -1
- package/dist/themes/themeContract.d.ts +0 -141
- package/dist/themes/themeContract.d.ts.map +0 -1
- package/dist/types/utilityTypes.d.ts +0 -2
- package/dist/types/utilityTypes.d.ts.map +0 -1
- package/dist/types.d.ts +0 -3
- package/dist/types.d.ts.map +0 -1
- package/dist/utils/assertUnreachable.d.ts +0 -5
- package/dist/utils/assertUnreachable.d.ts.map +0 -1
- package/dist/utils/stateStorage.d.ts +0 -3
- package/dist/utils/stateStorage.d.ts.map +0 -1
- package/dist/utils/walletUtils.d.ts +0 -4
- package/dist/utils/walletUtils.d.ts.map +0 -1
- package/dist/walletStore.d.ts +0 -45
- package/dist/walletStore.d.ts.map +0 -1
- package/docs/index.md +0 -91
- package/docs/llms-index.md +0 -27
- package/docs/rpc-hooks.md +0 -161
- package/docs/slush.md +0 -29
- package/docs/sui-client-provider.md +0 -191
- package/docs/themes.md +0 -115
- package/docs/wallet-components/ConnectButton.md +0 -22
- package/docs/wallet-components/ConnectModal.md +0 -66
- package/docs/wallet-hooks/useAccounts.md +0 -36
- package/docs/wallet-hooks/useAutoConnectWallet.md +0 -29
- package/docs/wallet-hooks/useConnectWallet.md +0 -48
- package/docs/wallet-hooks/useCurrentAccount.md +0 -36
- package/docs/wallet-hooks/useCurrentWallet.md +0 -59
- package/docs/wallet-hooks/useDisconnectWallet.md +0 -26
- package/docs/wallet-hooks/useSignAndExecuteTransaction.md +0 -124
- package/docs/wallet-hooks/useSignPersonalMessage.md +0 -59
- package/docs/wallet-hooks/useSignTransaction.md +0 -67
- package/docs/wallet-hooks/useSwitchAccount.md +0 -47
- package/docs/wallet-hooks/useWallets.md +0 -38
- package/docs/wallet-provider.md +0 -37
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mysten/dapp-kit
|
|
2
2
|
|
|
3
|
+
## 1.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9e067cf: Validate the new per-package release flow end-to-end across every public @mysten package.
|
|
8
|
+
No functional changes — empty patch bump to force the orchestrator to dispatch every
|
|
9
|
+
release-<pkg>.yml workflow with `dry_run=false` so each package publishes via OIDC trusted
|
|
10
|
+
publishing.
|
|
11
|
+
- Updated dependencies [9e067cf]
|
|
12
|
+
- @mysten/slush-wallet@1.0.4
|
|
13
|
+
- @mysten/sui@2.16.1
|
|
14
|
+
- @mysten/utils@0.3.2
|
|
15
|
+
- @mysten/wallet-standard@0.20.2
|
|
16
|
+
|
|
3
17
|
## 1.0.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Mysten Labs <build@mystenlabs.com>",
|
|
4
4
|
"description": "A collection of React hooks and components for interacting with the Sui blockchain and wallets.",
|
|
5
5
|
"homepage": "https://sdk.mystenlabs.com/dapp-kit",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.5",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"files": [
|
|
9
9
|
"CHANGELOG.md",
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@tanstack/react-query": "^5.90.16",
|
|
39
38
|
"@testing-library/dom": "^10.4.1",
|
|
40
39
|
"@testing-library/jest-dom": "^6.9.1",
|
|
41
40
|
"@testing-library/react": "^16.3.1",
|
|
@@ -48,16 +47,14 @@
|
|
|
48
47
|
"@vanilla-extract/vite-plugin": "^5.1.4",
|
|
49
48
|
"autoprefixer": "^10.4.23",
|
|
50
49
|
"esbuild": "^0.27.2",
|
|
51
|
-
"happy-dom": "^20.
|
|
50
|
+
"happy-dom": "^20.8.8",
|
|
52
51
|
"jsdom": "^27.4.0",
|
|
53
|
-
"postcss": "^8.5.
|
|
52
|
+
"postcss": "^8.5.14",
|
|
54
53
|
"postcss-prefix-selector": "^2.1.1",
|
|
55
|
-
"react": "^19.2.3",
|
|
56
54
|
"react-dom": "^19.2.3",
|
|
57
55
|
"typescript": "^5.9.3",
|
|
58
|
-
"vite": "^
|
|
59
|
-
"vitest": "^4.0.17"
|
|
60
|
-
"@mysten/sui": "^2.8.0"
|
|
56
|
+
"vite": "^8.0.5",
|
|
57
|
+
"vitest": "^4.0.17"
|
|
61
58
|
},
|
|
62
59
|
"dependencies": {
|
|
63
60
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
@@ -68,14 +65,14 @@
|
|
|
68
65
|
"@vanilla-extract/recipes": "^0.5.7",
|
|
69
66
|
"clsx": "^2.1.1",
|
|
70
67
|
"zustand": "^5.0.10",
|
|
71
|
-
"@mysten/
|
|
72
|
-
"@mysten/
|
|
73
|
-
"@mysten/wallet
|
|
68
|
+
"@mysten/utils": "^0.3.2",
|
|
69
|
+
"@mysten/wallet-standard": "^0.20.2",
|
|
70
|
+
"@mysten/slush-wallet": "^1.0.4"
|
|
74
71
|
},
|
|
75
72
|
"peerDependencies": {
|
|
76
73
|
"@tanstack/react-query": "^5.0.0",
|
|
77
74
|
"react": "*",
|
|
78
|
-
"@mysten/sui": "^2.
|
|
75
|
+
"@mysten/sui": "^2.16.1"
|
|
79
76
|
},
|
|
80
77
|
"sideEffects": [
|
|
81
78
|
"*.css.ts",
|
|
@@ -84,7 +81,7 @@
|
|
|
84
81
|
"scripts": {
|
|
85
82
|
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|
|
86
83
|
"build": "tsx scripts/build.ts",
|
|
87
|
-
"build:docs": "
|
|
84
|
+
"build:docs": "node ../../../docs/scripts/build-docs.ts",
|
|
88
85
|
"test": "pnpm test:typecheck && pnpm vitest run",
|
|
89
86
|
"test:typecheck": "tsc -b ./test",
|
|
90
87
|
"prettier:check": "prettier -c --ignore-unknown .",
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GettingStarted.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/GettingStarted.tsx"],"names":[],"mappings":"AAQA,wBAAgB,cAAc,4CA6B7B"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WhatIsAWallet.d.ts","sourceRoot":"","sources":["../../../../src/components/connect-modal/views/WhatIsAWallet.tsx"],"names":[],"mappings":"AAOA,wBAAgB,aAAa,4CAe5B"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StyleMarker.css.d.ts","sourceRoot":"","sources":["../../../src/components/styling/StyleMarker.css.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.css.d.ts","sourceRoot":"","sources":["../../../src/components/ui/IconButton.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,QAQpB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|