zebpay-ui 0.0.59 → 0.0.61
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.
- package/dist/cjs/components/Radio/styles.d.ts +2 -1
- package/dist/cjs/components/Radio/typings.d.ts +3 -0
- package/dist/cjs/components/SearchInput/index.d.ts +3 -0
- package/dist/cjs/components/SearchInput/style.d.ts +7 -5
- package/dist/cjs/components/Shimmer/style.d.ts +3 -2
- package/dist/cjs/components/Shimmer/typings.d.ts +2 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/Radio/styles.d.ts +2 -1
- package/dist/esm/components/Radio/typings.d.ts +3 -0
- package/dist/esm/components/SearchInput/index.d.ts +3 -0
- package/dist/esm/components/SearchInput/style.d.ts +7 -5
- package/dist/esm/components/Shimmer/style.d.ts +3 -2
- package/dist/esm/components/Shimmer/typings.d.ts +2 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/icons/icons.css +143 -131
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +36 -0
- package/dist/icons/icons.json +132 -128
- package/dist/icons/icons.ts +144 -128
- package/dist/icons/icons.woff +0 -0
- package/dist/icons/icons.woff2 +0 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
2
|
+
import { SizeType } from "./typings";
|
|
3
|
+
export declare const shimmerAnimation: (width: number, widthSizeType: SizeType) => import("@emotion/react").Keyframes;
|
|
4
|
+
export declare const shimmerContainer: (theme: Theme, width: number, widthSizeType: SizeType) => import("@emotion/utils").SerializedStyles;
|
|
4
5
|
export declare const lightDarkShimmer: import("@emotion/utils").SerializedStyles;
|
|
5
6
|
export declare const translate: (width: number) => import("@emotion/react").Keyframes;
|
|
6
7
|
export declare const shimmerLine: (width: number) => import("@emotion/utils").SerializedStyles;
|