@openfort/react 0.0.10 → 0.0.12

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.
@@ -2,6 +2,9 @@ type Logo = {
2
2
  testnet?: boolean;
3
3
  };
4
4
  export declare const Ethereum: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const LensChain: ({ testnet, ...props }: {
6
+ testnet?: boolean;
7
+ }) => import("react/jsx-runtime").JSX.Element;
5
8
  export declare const Polygon: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
6
9
  export declare const Optimism: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
7
10
  export declare const Arbitrum: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
@@ -11,6 +14,9 @@ declare const _default: {
11
14
  Base: ({ testnet, ...props }: {
12
15
  testnet?: boolean;
13
16
  }) => import("react/jsx-runtime").JSX.Element;
17
+ LensChain: ({ testnet, ...props }: {
18
+ testnet?: boolean;
19
+ }) => import("react/jsx-runtime").JSX.Element;
14
20
  Ethereum: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
15
21
  Polygon: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
16
22
  Optimism: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
@@ -16,6 +16,7 @@ export declare const Coinbase: ({ background, ...props }: {
16
16
  [x: string]: any;
17
17
  background?: boolean | undefined;
18
18
  }) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const FamilyAccount: () => import("react/jsx-runtime").JSX.Element;
19
20
  export declare const Family: ({ ...props }: {
20
21
  [x: string]: any;
21
22
  }) => import("react/jsx-runtime").JSX.Element;
@@ -87,6 +88,7 @@ export declare const providersLogos: {
87
88
  google: import("react/jsx-runtime").JSX.Element;
88
89
  twitter: import("react/jsx-runtime").JSX.Element;
89
90
  facebook: import("react/jsx-runtime").JSX.Element;
91
+ discord: import("react/jsx-runtime").JSX.Element;
90
92
  };
91
93
  declare const _default: {
92
94
  Mock: ({ ...props }: {
@@ -113,6 +115,7 @@ declare const _default: {
113
115
  Family: ({ ...props }: {
114
116
  [x: string]: any;
115
117
  }) => import("react/jsx-runtime").JSX.Element;
118
+ FamilyAccount: () => import("react/jsx-runtime").JSX.Element;
116
119
  Trust: ({ theme, ...props }: {
117
120
  [x: string]: any;
118
121
  theme?: string | undefined;
@@ -1,4 +1,5 @@
1
1
  export declare const ConnectorButton: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLButtonElement, import("framer-motion").HTMLMotionProps<"button">>, any, {}, never>;
2
+ export declare const ConnectorAnchor: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLAnchorElement, import("framer-motion").HTMLMotionProps<"a">>, any, {}, never>;
2
3
  export declare const ConnectorLabel: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLSpanElement, import("framer-motion").HTMLMotionProps<"span">>, any, {}, never>;
3
4
  export declare const ConnectorIcon: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
4
5
  export declare const RecentlyUsedTag: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLSpanElement, import("framer-motion").HTMLMotionProps<"span">>, any, {}, never>;
@@ -18,7 +18,8 @@ type ModalProps = {
18
18
  };
19
19
  };
20
20
  declare const Modal: React.FC<ModalProps>;
21
- export declare const OrDivider: ({ children }: {
21
+ export declare const OrDivider: ({ children, hideHr, }: {
22
22
  children?: React.ReactNode;
23
+ hideHr?: boolean;
23
24
  }) => import("react/jsx-runtime").JSX.Element;
24
25
  export default Modal;
@@ -1,6 +1,8 @@
1
1
  export declare const ErrorMessage: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
2
2
  export declare const PageContent: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
3
- export declare const TextWithHr: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
3
+ export declare const TextWithHr: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {
4
+ $disableHr?: boolean;
5
+ }, never>;
4
6
  export declare const ModalHeading: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
5
7
  export declare const ModalContentContainer: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
6
8
  export declare const ModalContent: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
@@ -25,6 +25,7 @@ export declare enum UIAuthProvider {
25
25
  GOOGLE = "google",
26
26
  TWITTER = "twitter",
27
27
  FACEBOOK = "facebook",
28
+ DISCORD = "discord",
28
29
  EMAIL = "email",
29
30
  WALLET = "wallet",
30
31
  GUEST = "guest"
@@ -1,3 +1,4 @@
1
+ export declare const Container: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
1
2
  export declare const InfoBox: import("styled-components").StyledComponent<"div", any, {}, never>;
2
3
  export declare const InfoBoxButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
3
4
  export declare const LearnMoreContainer: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
@@ -7,7 +7,7 @@ type DefaultConfigProps = {
7
7
  appIcon?: string;
8
8
  appDescription?: string;
9
9
  appUrl?: string;
10
- walletConnectProjectId: string;
10
+ walletConnectProjectId?: string;
11
11
  coinbaseWalletPreference?: CoinbaseWalletParameters<'4'>['preference'];
12
12
  } & Partial<CreateConfigParameters>;
13
13
  declare const defaultConfig: ({ appName, appIcon, appDescription, appUrl, walletConnectProjectId, coinbaseWalletPreference, chains, client, ...props }: DefaultConfigProps) => CreateConfigParameters;
@@ -1,7 +1,9 @@
1
1
  import { type Connector } from 'wagmi';
2
2
  export declare function useConnectors(): readonly Connector<import("wagmi").CreateConnectorFn>[];
3
- export declare function useConnector(id: string, uuid?: string): Connector;
4
- export declare function useInjectedConnector(uuid?: string): Connector;
5
- export declare function useWalletConnectConnector(): Connector;
6
- export declare function useCoinbaseWalletConnector(): Connector;
7
- export declare function useMetaMaskConnector(): Connector;
3
+ export declare function useConnector(id: string, uuid?: string): Connector<import("wagmi").CreateConnectorFn> | undefined;
4
+ export declare function useFamilyAccountsConnector(): Connector<import("wagmi").CreateConnectorFn> | undefined;
5
+ export declare function useFamilyConnector(): Connector<import("wagmi").CreateConnectorFn> | undefined;
6
+ export declare function useInjectedConnector(uuid?: string): Connector<import("wagmi").CreateConnectorFn> | undefined;
7
+ export declare function useWalletConnectConnector(): Connector<import("wagmi").CreateConnectorFn> | undefined;
8
+ export declare function useCoinbaseWalletConnector(): Connector<import("wagmi").CreateConnectorFn> | undefined;
9
+ export declare function useMetaMaskConnector(): Connector<import("wagmi").CreateConnectorFn> | undefined;
@@ -1 +1,2 @@
1
- export default function useLocales(replacements?: any): any;
1
+ import { LocaleProps } from '../localizations/locales';
2
+ export default function useLocales(replacements?: any): LocaleProps;