@worldcoin/idkit 0.2.5 → 0.2.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.
@@ -0,0 +1,6 @@
1
+ import type { FC } from 'react';
2
+ type Props = {
3
+ className?: string;
4
+ };
5
+ declare const AboutWorldID: FC<Props>;
6
+ export default AboutWorldID;
@@ -0,0 +1,2 @@
1
+ declare const SelectMethodState: () => JSX.Element;
2
+ export default SelectMethodState;
@@ -4,6 +4,8 @@ type Props = {
4
4
  default: string;
5
5
  mobile: string;
6
6
  } | null;
7
+ showQR: boolean;
8
+ setShowQR: (show: boolean | ((state: boolean) => boolean)) => void;
7
9
  };
8
10
  declare const QRState: FC<Props>;
9
11
  export default QRState;
@@ -0,0 +1,3 @@
1
+ import type { FC, HTMLAttributes } from 'react';
2
+ declare const HumanIcon: FC<HTMLAttributes<SVGElement>>;
3
+ export default HumanIcon;
@@ -0,0 +1,3 @@
1
+ import type { FC, HTMLAttributes } from 'react';
2
+ declare const InfoIcon: FC<HTMLAttributes<SVGElement>>;
3
+ export default InfoIcon;
@@ -0,0 +1,3 @@
1
+ import type { FC, HTMLAttributes } from 'react';
2
+ declare const LockIcon: FC<HTMLAttributes<SVGElement>>;
3
+ export default LockIcon;
@@ -1,4 +1,3 @@
1
- declare const WorldIDWordmark: ({ className }: {
2
- className?: string | undefined;
3
- }) => JSX.Element;
1
+ import type { HTMLAttributes, FC } from 'react';
2
+ declare const WorldIDWordmark: FC<HTMLAttributes<SVGElement>>;
4
3
  export default WorldIDWordmark;
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes, FC } from 'react';
2
+ declare const WorldcoinIcon: FC<HTMLAttributes<SVGElement>>;
3
+ export default WorldcoinIcon;
@@ -1,5 +1,3 @@
1
- import type { CSSProperties } from 'react';
2
- declare const WorldcoinLogomark: ({ style }: {
3
- style?: CSSProperties | undefined;
4
- }) => JSX.Element;
1
+ import type { FC, HTMLAttributes } from 'react';
2
+ declare const WorldcoinLogomark: FC<HTMLAttributes<SVGElement>>;
5
3
  export default WorldcoinLogomark;
@@ -1,6 +1,7 @@
1
1
  import type { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
2
- type Props = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & {
2
+ type Props = Omit<DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & {
3
3
  border?: string;
4
- };
5
- declare const WorldIDIcon: ({ border, ...props }: Props) => JSX.Element;
4
+ size?: 'md' | 'sm';
5
+ }, 'height' | 'src' | 'width'>;
6
+ declare const WorldIDIcon: ({ border, size, ...props }: Props) => JSX.Element;
6
7
  export default WorldIDIcon;