zebpay-ui 0.0.60 → 0.0.62

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.
@@ -1,3 +1,4 @@
1
+ import { Theme } from "../../globalTypings";
1
2
  export declare const container: import("@emotion/utils").SerializedStyles;
2
3
  export declare const input: import("@emotion/utils").SerializedStyles;
3
- export declare const checkmark: import("@emotion/utils").SerializedStyles;
4
+ export declare const checkmark: (theme: Theme) => import("@emotion/utils").SerializedStyles;
@@ -1,5 +1,6 @@
1
1
  import { SerializedStyles } from "@emotion/react";
2
2
  import { ReactText } from "react";
3
+ import { Theme } from "../../globalTypings";
3
4
  export interface RadioProps {
4
5
  selected: boolean;
5
6
  onChange: (args: {
@@ -10,4 +11,6 @@ export interface RadioProps {
10
11
  label?: string | JSX.Element;
11
12
  name: string;
12
13
  style?: SerializedStyles;
14
+ mode?: Theme;
15
+ checkmarkStyle?: SerializedStyles;
13
16
  }
@@ -3,6 +3,7 @@ import React from "react";
3
3
  import { SerializedStyles } from "@emotion/react";
4
4
  import { InputTargetProps } from "./../Input/typings";
5
5
  import "./../../../dist/icons/icons.css";
6
+ import { Theme } from "../../globalTypings";
6
7
  interface SearchInputProps {
7
8
  value: React.ReactText;
8
9
  placeholder?: string;
@@ -11,6 +12,8 @@ interface SearchInputProps {
11
12
  autoFocus?: boolean;
12
13
  disableShadow?: boolean;
13
14
  style?: SerializedStyles;
15
+ isMobile?: boolean;
16
+ mode?: Theme;
14
17
  }
15
18
  declare const SearchInput: React.FC<SearchInputProps>;
16
19
  export default SearchInput;
@@ -1,6 +1,8 @@
1
- export declare const inputGroup: (inFocus?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
2
- export declare const inputPrepend: import("@emotion/utils").SerializedStyles;
3
- export declare const focused: import("@emotion/utils").SerializedStyles;
4
- export declare const searchInput: (onClear?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
5
- export declare const searchButton: import("@emotion/utils").SerializedStyles;
1
+ import { Theme } from "../../globalTypings";
2
+ export declare const inputGroup: (theme: Theme, inFocus?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
3
+ export declare const inputPrepend: (theme: Theme) => import("@emotion/utils").SerializedStyles;
4
+ export declare const focused: (theme: Theme) => import("@emotion/utils").SerializedStyles;
5
+ export declare const searchInput: (isMobile: boolean, theme: Theme, onClear?: boolean | undefined) => import("@emotion/utils").SerializedStyles;
6
+ export declare const searchButton: (theme: Theme) => import("@emotion/utils").SerializedStyles;
6
7
  export declare const disableShadow: import("@emotion/utils").SerializedStyles;
8
+ export declare const icon: (theme: Theme) => import("@emotion/utils").SerializedStyles;