@bluxcc/react 0.1.2 → 0.1.3

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.
@@ -15,3 +15,5 @@ export declare const ArrowDropUp: () => React.JSX.Element;
15
15
  export declare const RedAlert: () => React.JSX.Element;
16
16
  export declare const Upstream: () => React.JSX.Element;
17
17
  export declare const Globe: () => React.JSX.Element;
18
+ export declare const SmallEmailIcon: () => React.JSX.Element;
19
+ export declare const EmailIcon: () => React.JSX.Element;
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
- export declare const AlbedoIcon: () => React.JSX.Element;
3
- export declare const RabetIcon: () => React.JSX.Element;
4
- export declare const FreighterIcon: () => React.JSX.Element;
5
- export declare const XBullIcon: () => React.JSX.Element;
6
- export declare const LobstrIcon: () => React.JSX.Element;
7
- export declare const StellarIcon: ({ fill }: {
2
+ export declare const AlbedoLogo: () => React.JSX.Element;
3
+ export declare const RabetLogo: () => React.JSX.Element;
4
+ export declare const FreighterLogo: () => React.JSX.Element;
5
+ export declare const XBullLogo: () => React.JSX.Element;
6
+ export declare const LobstrLogo: () => React.JSX.Element;
7
+ export declare const StellarLogo: ({ fill }: {
8
8
  fill?: string;
9
9
  }) => React.JSX.Element;
10
- export declare const StellarSmallIcon: ({ fill }: {
10
+ export declare const StellarSmallLogo: ({ fill }: {
11
11
  fill?: string;
12
12
  }) => React.JSX.Element;
13
+ export declare const GoogleLogo: () => React.JSX.Element;
@@ -1,10 +1,14 @@
1
1
  import React from 'react';
2
2
  type CardItemProps = {
3
- variant?: 'social' | 'default';
3
+ variant?: 'social' | 'default' | 'input';
4
4
  startIcon: React.ReactNode;
5
5
  endArrow?: boolean;
6
- label: string;
6
+ label?: string;
7
7
  onClick?: () => void;
8
+ onChange?: (value: string) => void;
9
+ onEnter?: (value: string) => void;
10
+ onSubmit?: (value: string) => void;
11
+ inputType?: 'text' | 'password' | 'number' | 'email' | string;
8
12
  };
9
- declare const CardItem: React.FC<CardItemProps>;
13
+ declare const CardItem: ({ variant, startIcon, endArrow, label, onClick, onChange, onEnter, onSubmit, inputType, }: CardItemProps) => React.JSX.Element;
10
14
  export default CardItem;
@@ -1,3 +1,8 @@
1
1
  import React from 'react';
2
- declare const OTPInput: React.FC;
2
+ interface OTPInputProps {
3
+ otp: string[];
4
+ setOtp: (otp: string[]) => void;
5
+ error?: boolean;
6
+ }
7
+ declare const OTPInput: React.FC<OTPInputProps>;
3
8
  export default OTPInput;
@@ -8,7 +8,6 @@ interface ModalProps {
8
8
  onInfo?: () => void;
9
9
  closeButton?: boolean;
10
10
  title: string;
11
- initialHeight: number;
12
11
  }
13
- declare const Modal: ({ isOpen, onClose, onBack, onInfo, children, title, icon, initialHeight, closeButton, }: ModalProps) => React.JSX.Element | null;
12
+ declare const Modal: ({ isOpen, onClose, onBack, onInfo, children, title, icon, closeButton, }: ModalProps) => React.JSX.Element | null;
14
13
  export default Modal;
@@ -1,6 +1,4 @@
1
- import { ModalHeights } from '../types';
2
1
  import { IAppearance } from '../types';
3
- export declare const MODAL_HEIGHTS: ModalHeights;
4
2
  export declare const HORIZON_SERVERS: {
5
3
  public: string;
6
4
  testnet: string;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const ConfirmCode: () => React.JSX.Element;
2
+ declare const ConfirmCode: React.FC;
3
3
  export default ConfirmCode;
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
- import { ContextState, IProviderConfig, IAppearance } from '../types';
2
+ import { ContextState, IProviderConfig } from '../types';
3
3
  export declare const ProviderContext: React.Context<ContextState | null>;
4
- export declare const BluxProvider: ({ config, isDemo, appearance, children, }: {
4
+ export declare const BluxProvider: ({ config, isDemo, children, }: {
5
5
  isDemo?: boolean;
6
- appearance?: IAppearance;
7
6
  config: IProviderConfig;
8
7
  children: React.ReactNode;
9
8
  }) => React.JSX.Element;