zebpay-ui 0.0.113 → 0.0.115

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.
@@ -14,7 +14,7 @@ export interface InputProps {
14
14
  prependItem?: string | React.JSX.Element;
15
15
  infoText?: string;
16
16
  errorText?: string;
17
- type?: "text" | "number" | "password";
17
+ type?: "text" | "number" | "password" | "email";
18
18
  style?: SerializedStyles;
19
19
  cta?: {
20
20
  label: string;
@@ -1,5 +1,6 @@
1
1
  /** @jsxImportSource @emotion/react */
2
2
  import { FC } from "react";
3
+ import { SidePanelPlacement } from "./style";
3
4
  import "./../../../dist/icons/icons.css";
4
5
  import { SerializedStyles } from "@emotion/react";
5
6
  interface SidePanelProps {
@@ -16,6 +17,8 @@ interface SidePanelProps {
16
17
  children?: React.ReactNode;
17
18
  closeStyle?: SerializedStyles;
18
19
  onOverlayClick?: () => void;
20
+ placement?: SidePanelPlacement;
21
+ width?: number;
19
22
  }
20
23
  declare const SidePanel: FC<SidePanelProps>;
21
24
  export default SidePanel;
@@ -1,6 +1,7 @@
1
+ export type SidePanelPlacement = "left" | "right";
1
2
  export declare const wrapper: import("@emotion/react").SerializedStyles;
2
3
  export declare const overlay: import("@emotion/react").SerializedStyles;
3
- export declare const sidePanel: import("@emotion/react").SerializedStyles;
4
+ export declare const sidePanel: (placement: SidePanelPlacement, width: number) => import("@emotion/react").SerializedStyles | undefined;
4
5
  export declare const sidePanelOpen: import("@emotion/react").SerializedStyles;
5
6
  export declare const header: import("@emotion/react").SerializedStyles;
6
7
  export declare const titleStyle: import("@emotion/react").SerializedStyles;
@@ -10,4 +10,4 @@ export declare const switchLabel: import("@emotion/react").SerializedStyles;
10
10
  export declare const labelHidden: import("@emotion/react").SerializedStyles;
11
11
  export declare const circleWithIcon: import("@emotion/react").SerializedStyles;
12
12
  export declare const iconInsideCircle: (size?: "small" | "medium") => import("@emotion/react").SerializedStyles;
13
- export declare const lockedCircle: (size?: "small" | "medium", checked?: boolean) => import("@emotion/react").SerializedStyles;
13
+ export declare const lockedCircle: (checked?: boolean) => import("@emotion/react").SerializedStyles;