@aptos-labs/wallet-adapter-react 3.4.3 → 3.5.1

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 (35) hide show
  1. package/README.md +3 -1
  2. package/dist/WalletProvider.d.ts.map +1 -1
  3. package/dist/components/AboutAptosConnect.d.ts +60 -0
  4. package/dist/components/AboutAptosConnect.d.ts.map +1 -0
  5. package/dist/components/AptosPrivacyPolicy.d.ts +6 -15
  6. package/dist/components/AptosPrivacyPolicy.d.ts.map +1 -1
  7. package/dist/components/WalletItem.d.ts +7 -24
  8. package/dist/components/WalletItem.d.ts.map +1 -1
  9. package/dist/components/utils.d.ts +20 -0
  10. package/dist/components/utils.d.ts.map +1 -0
  11. package/dist/graphics/LinkGraphic.d.ts +3 -0
  12. package/dist/graphics/LinkGraphic.d.ts.map +1 -0
  13. package/dist/graphics/SmallAptosLogo.d.ts +1 -1
  14. package/dist/graphics/SmallAptosLogo.d.ts.map +1 -1
  15. package/dist/graphics/WalletGraphic.d.ts +3 -0
  16. package/dist/graphics/WalletGraphic.d.ts.map +1 -0
  17. package/dist/graphics/Web3Graphic.d.ts +3 -0
  18. package/dist/graphics/Web3Graphic.d.ts.map +1 -0
  19. package/dist/index.d.ts +1 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +421 -147
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.mjs +435 -168
  24. package/dist/index.mjs.map +1 -1
  25. package/package.json +2 -2
  26. package/src/WalletProvider.tsx +70 -45
  27. package/src/components/AboutAptosConnect.tsx +214 -0
  28. package/src/components/AptosPrivacyPolicy.tsx +14 -55
  29. package/src/components/WalletItem.tsx +60 -114
  30. package/src/components/utils.tsx +66 -0
  31. package/src/graphics/LinkGraphic.tsx +26 -0
  32. package/src/graphics/SmallAptosLogo.tsx +15 -4
  33. package/src/graphics/WalletGraphic.tsx +42 -0
  34. package/src/graphics/Web3Graphic.tsx +31 -0
  35. package/src/index.tsx +1 -0
package/README.md CHANGED
@@ -125,10 +125,12 @@ As part of the wallet adapter repo we provide a wallet connect UI package that p
125
125
 
126
126
  The available UI Packages are
127
127
 
128
- - [shadcn/ui](../wallet-adapter-react/src/WalletItem.tsx)
128
+ - [shadcn/ui](../../apps/nextjs-example/README.md#use-shadcnui-wallet-selector-for-your-own-app)
129
129
  - [Ant Design](<(../wallet-adapter-ant-design/)>)
130
130
  - [MUI](../wallet-adapter-mui-design/)
131
131
 
132
+ If you want to create your own wallet selector UI from existing components and styles in your app, `@aptos-labs/wallet-adapter-react` provides a series of headless components and utilities to simplify this process so that you can focus on writing CSS instead of implementing business logic. For more information, check out the [Building Your Own Wallet Selector](./docs/BYO-wallet-selector.md) document.
133
+
132
134
  #### Examples
133
135
 
134
136
  ##### Initialize Aptos
@@ -1 +1 @@
1
- {"version":3,"file":"WalletProvider.d.ts","sourceRoot":"","sources":["../src/WalletProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,SAAS,EAKV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAIV,MAAM,EAaN,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAc,MAAM,iCAAiC,CAAC;AAEzE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAcD;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,EAAE,EAAE,CAAC,wBAAwB,CA2PnE,CAAC"}
1
+ {"version":3,"file":"WalletProvider.d.ts","sourceRoot":"","sources":["../src/WalletProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAA4C,MAAM,OAAO,CAAC;AAEhF,OAAO,KAAK,EAIV,MAAM,EAaN,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAc,MAAM,iCAAiC,CAAC;AAEzE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAcD;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,EAAE,EAAE,CAAC,wBAAwB,CA2RnE,CAAC"}
@@ -0,0 +1,60 @@
1
+ import { ForwardRefExoticComponent, ReactNode, RefAttributes, SVGProps } from "react";
2
+ import { HeadlessComponentProps } from "./utils";
3
+ export declare const EXPLORE_ECOSYSTEM_URL = "https://aptosfoundation.org/ecosystem/projects/all";
4
+ declare const educationScreenIndicators: ForwardRefExoticComponent<HeadlessComponentProps & RefAttributes<HTMLButtonElement>>[];
5
+ export interface AboutAptosConnectEducationScreen {
6
+ /** A component that renders an SVG to illustrate the idea of the current screen. */
7
+ Graphic: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
8
+ /** A headless component that renders the title of the current screen. */
9
+ Title: ForwardRefExoticComponent<HeadlessComponentProps & RefAttributes<HTMLHeadingElement>>;
10
+ /** A headless component that renders the description text of the current screen. */
11
+ Description: ForwardRefExoticComponent<HeadlessComponentProps & RefAttributes<HTMLParagraphElement>>;
12
+ /** The index of the current education screen */
13
+ screenIndex: number;
14
+ /** The total number of education screens. */
15
+ totalScreens: number;
16
+ /**
17
+ * An array of headless components for indicating the current screen of the set.
18
+ * Each indicator will navigate the user to the screen it represents when clicked.
19
+ */
20
+ screenIndicators: typeof educationScreenIndicators;
21
+ /**
22
+ * A function that navigates the user to the previous education screen.
23
+ * If the user is on the first education screen, they will be navigated to the
24
+ * initial wallet selection screen.
25
+ */
26
+ back: () => void;
27
+ /**
28
+ * A function that navigates the user to the next education screen.
29
+ * If the user is on the last education screen, they will be navigated to the
30
+ * initial wallet selection screen.
31
+ */
32
+ next: () => void;
33
+ /** A function that navigates the user to the initial wallet selection screen. */
34
+ cancel: () => void;
35
+ }
36
+ export interface AboutAptosConnectProps {
37
+ /**
38
+ * A function for defining how each education screen should be rendered.
39
+ * Each screen is modeled as a uniform set of headless components and utilities
40
+ * that allow you to construct your UI and apply your own styles.
41
+ */
42
+ renderEducationScreen: (screen: AboutAptosConnectEducationScreen) => ReactNode;
43
+ /**
44
+ * The initial wallet selection UI that will be replaced by the education
45
+ * screens when `AboutAptosConnect.Trigger` is clicked.
46
+ */
47
+ children?: ReactNode;
48
+ }
49
+ /**
50
+ * A headless component for rendering education screens that explain the basics
51
+ * of Aptos Connect and web3 wallets.
52
+ */
53
+ export declare const AboutAptosConnect: {
54
+ ({ renderEducationScreen, children }: AboutAptosConnectProps): import("react/jsx-runtime").JSX.Element;
55
+ displayName: string;
56
+ } & {
57
+ Trigger: ForwardRefExoticComponent<HeadlessComponentProps & RefAttributes<HTMLButtonElement>>;
58
+ };
59
+ export {};
60
+ //# sourceMappingURL=AboutAptosConnect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AboutAptosConnect.d.ts","sourceRoot":"","sources":["../../src/components/AboutAptosConnect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,QAAQ,EAMT,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,sBAAsB,EAA2B,MAAM,SAAS,CAAC;AAE1E,eAAO,MAAM,qBAAqB,uDACoB,CAAC;AAgEvD,QAAA,MAAM,yBAAyB,wFAoB5B,CAAC;AAEJ,MAAM,WAAW,gCAAgC;IAC/C,oFAAoF;IACpF,OAAO,EAAE,yBAAyB,CAChC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,aAAa,CAAC,CACpE,CAAC;IACF,yEAAyE;IACzE,KAAK,EAAE,yBAAyB,CAC9B,sBAAsB,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAC3D,CAAC;IACF,oFAAoF;IACpF,WAAW,EAAE,yBAAyB,CACpC,sBAAsB,GAAG,aAAa,CAAC,oBAAoB,CAAC,CAC7D,CAAC;IACF,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,gBAAgB,EAAE,OAAO,yBAAyB,CAAC;IACnD;;;;OAIG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,iFAAiF;IACjF,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,qBAAqB,EAAE,CACrB,MAAM,EAAE,gCAAgC,KACrC,SAAS,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAmDD;;;GAGG;AACH,eAAO,MAAM,iBAAiB;0CArDqB,sBAAsB;;;;CAuDvE,CAAC"}
@@ -1,22 +1,13 @@
1
- import { ReactNode } from "react";
1
+ /// <reference types="react" />
2
+ import { HeadlessComponentProps } from "./utils";
2
3
  export declare const APTOS_PRIVACY_POLICY_URL = "https://aptoslabs.com/privacy";
3
- export interface AptosPrivacyPolicyProps {
4
- /** A class name for styling the element. */
5
- className?: string;
6
- /**
7
- * Whether to render as the child element instead of the default element provided.
8
- * All props will be merged into the child element.
9
- */
10
- asChild?: boolean;
11
- children?: ReactNode;
12
- }
13
4
  /**
14
5
  * A headless component for rendering the Aptos Labs privacy policy disclaimer
15
6
  * that should be placed under the Aptos Connect login options.
16
7
  */
17
- export declare const AptosPrivacyPolicy: import("react").ForwardRefExoticComponent<AptosPrivacyPolicyProps & import("react").RefAttributes<HTMLDivElement>> & {
18
- Disclaimer: import("react").ForwardRefExoticComponent<AptosPrivacyPolicyProps & import("react").RefAttributes<HTMLSpanElement>>;
19
- Link: import("react").ForwardRefExoticComponent<AptosPrivacyPolicyProps & import("react").RefAttributes<HTMLAnchorElement>>;
20
- PoweredBy: import("react").ForwardRefExoticComponent<Pick<AptosPrivacyPolicyProps, "className"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ export declare const AptosPrivacyPolicy: import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLDivElement>> & {
9
+ Disclaimer: import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLSpanElement>>;
10
+ Link: import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLAnchorElement>>;
11
+ PoweredBy: import("react").ForwardRefExoticComponent<Pick<HeadlessComponentProps, "className"> & import("react").RefAttributes<HTMLDivElement>>;
21
12
  };
22
13
  //# sourceMappingURL=AptosPrivacyPolicy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AptosPrivacyPolicy.d.ts","sourceRoot":"","sources":["../../src/components/AptosPrivacyPolicy.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAG9C,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AAExE,MAAM,WAAW,uBAAuB;IACtC,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA6DD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;CAI7B,CAAC"}
1
+ {"version":3,"file":"AptosPrivacyPolicy.d.ts","sourceRoot":"","sources":["../../src/components/AptosPrivacyPolicy.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,sBAAsB,EAA2B,MAAM,SAAS,CAAC;AAE1E,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AA+BxE;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;CAI7B,CAAC"}
@@ -1,34 +1,17 @@
1
+ /// <reference types="react" />
1
2
  import { AnyAptosWallet } from "@aptos-labs/wallet-adapter-core";
2
- import { ReactNode } from "react";
3
- export interface WalletItemProps {
3
+ import { HeadlessComponentProps } from "./utils";
4
+ export interface WalletItemProps extends HeadlessComponentProps {
4
5
  /** The wallet option to be displayed. */
5
6
  wallet: AnyAptosWallet;
6
7
  /** A callback to be invoked when the wallet is connected. */
7
8
  onConnect?: () => void;
8
- /** A class name for styling the wrapper element. */
9
- className?: string;
10
- /**
11
- * Whether to render as the child element instead of the default `div` provided.
12
- * All props will be merged into the child element.
13
- */
14
- asChild?: boolean;
15
- children?: ReactNode;
16
- }
17
- export interface WalletItemElementProps {
18
- /** A class name for styling the element. */
19
- className?: string;
20
- /**
21
- * Whether to render as the child element instead of the default element provided.
22
- * All props will be merged into the child element.
23
- */
24
- asChild?: boolean;
25
- children?: ReactNode;
26
9
  }
27
10
  /** A headless component for rendering a wallet option's name, icon, and either connect button or install link. */
28
11
  export declare const WalletItem: import("react").ForwardRefExoticComponent<WalletItemProps & import("react").RefAttributes<HTMLDivElement>> & {
29
- Icon: import("react").ForwardRefExoticComponent<WalletItemElementProps & import("react").RefAttributes<HTMLImageElement>>;
30
- Name: import("react").ForwardRefExoticComponent<WalletItemElementProps & import("react").RefAttributes<HTMLDivElement>>;
31
- ConnectButton: import("react").ForwardRefExoticComponent<WalletItemElementProps & import("react").RefAttributes<HTMLButtonElement>>;
32
- InstallLink: import("react").ForwardRefExoticComponent<WalletItemElementProps & import("react").RefAttributes<HTMLAnchorElement>>;
12
+ Icon: import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLImageElement>>;
13
+ Name: import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLDivElement>>;
14
+ ConnectButton: import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLButtonElement>>;
15
+ InstallLink: import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLAnchorElement>>;
33
16
  };
34
17
  //# sourceMappingURL=WalletItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WalletItem.d.ts","sourceRoot":"","sources":["../../src/components/WalletItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAGf,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,SAAS,EAKV,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,eAAe;IAC9B,yCAAyC;IACzC,MAAM,EAAE,cAAc,CAAC;IACvB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAmID,kHAAkH;AAClH,eAAO,MAAM,UAAU;;;;;CAKrB,CAAC"}
1
+ {"version":3,"file":"WalletItem.d.ts","sourceRoot":"","sources":["../../src/components/WalletItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,cAAc,EAGf,MAAM,iCAAiC,CAAC;AAIzC,OAAO,EAAE,sBAAsB,EAA2B,MAAM,SAAS,CAAC;AAE1E,MAAM,WAAW,eAAgB,SAAQ,sBAAsB;IAC7D,yCAAyC;IACzC,MAAM,EAAE,cAAc,CAAC;IACvB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAqGD,kHAAkH;AAClH,eAAO,MAAM,UAAU;;;;;CAKrB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { ReactNode } from "react";
2
+ export interface HeadlessComponentProps {
3
+ /** A class name for styling the element. */
4
+ className?: string;
5
+ /**
6
+ * Whether to render as the child element instead of the default element provided.
7
+ * All props will be merged into the child element.
8
+ */
9
+ asChild?: boolean;
10
+ children?: ReactNode;
11
+ }
12
+ /**
13
+ * Gets an HTML element type from its tag name
14
+ * @example
15
+ * HTMLElementFromTag<"img"> // resolved type: HTMLImageElement
16
+ */
17
+ type HTMLElementFromTag<T extends keyof JSX.IntrinsicElements> = JSX.IntrinsicElements[T] extends React.ClassAttributes<infer Element> ? Element : HTMLElement;
18
+ export declare function createHeadlessComponent<TElement extends keyof JSX.IntrinsicElements>(displayName: string, elementType: TElement, props?: JSX.IntrinsicElements[TElement] | ((displayName: string) => JSX.IntrinsicElements[TElement])): import("react").ForwardRefExoticComponent<HeadlessComponentProps & import("react").RefAttributes<HTMLElementFromTag<TElement>>>;
19
+ export {};
20
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/components/utils.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAE9C,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,KAAK,kBAAkB,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,iBAAiB,IAC3D,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,KAAK,CAAC,eAAe,CAAC,MAAM,OAAO,CAAC,GACjE,OAAO,GACP,WAAW,CAAC;AAElB,wBAAgB,uBAAuB,CACrC,QAAQ,SAAS,MAAM,GAAG,CAAC,iBAAiB,EAE5C,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,QAAQ,EACrB,KAAK,CAAC,EACF,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,GAC/B,CAAC,CAAC,WAAW,EAAE,MAAM,KAAK,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,mIAkC/D"}
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from "react";
2
+ export declare const LinkGraphic: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ //# sourceMappingURL=LinkGraphic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkGraphic.d.ts","sourceRoot":"","sources":["../../src/graphics/LinkGraphic.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE7C,eAAO,MAAM,WAAW,gIAsBvB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { SVGProps } from "react";
2
- export declare function SmallAptosLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
+ export declare const SmallAptosLogo: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
3
  //# sourceMappingURL=SmallAptosLogo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SmallAptosLogo.d.ts","sourceRoot":"","sources":["../../src/graphics/SmallAptosLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,wBAAgB,cAAc,CAAC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,2CAW5D"}
1
+ {"version":3,"file":"SmallAptosLogo.d.ts","sourceRoot":"","sources":["../../src/graphics/SmallAptosLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE7C,eAAO,MAAM,cAAc,gIAqBzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from "react";
2
+ export declare const WalletGraphic: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ //# sourceMappingURL=WalletGraphic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletGraphic.d.ts","sourceRoot":"","sources":["../../src/graphics/WalletGraphic.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE7C,eAAO,MAAM,aAAa,gIAsCzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from "react";
2
+ export declare const Web3Graphic: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ //# sourceMappingURL=Web3Graphic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Web3Graphic.d.ts","sourceRoot":"","sources":["../../src/graphics/Web3Graphic.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE7C,eAAO,MAAM,WAAW,gIA2BvB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "@aptos-labs/wallet-adapter-core";
2
2
  export * from "./WalletProvider";
3
+ export * from "./components/AboutAptosConnect";
3
4
  export * from "./components/AptosPrivacyPolicy";
4
5
  export * from "./components/WalletItem";
5
6
  export * from "./useWallet";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC"}