zebpay-ui 0.0.117 → 0.0.118
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/SearchInput/index.d.ts +2 -3
- package/dist/cjs/components/SearchInput/style.d.ts +7 -7
- package/dist/cjs/components/Tabs/TabsDropdown/index.d.ts +2 -0
- package/dist/cjs/components/Tabs/TabsDropdown/styles.d.ts +3 -2
- package/dist/cjs/components/Tabs/styles.d.ts +1 -0
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/SearchInput/index.d.ts +2 -3
- package/dist/esm/components/SearchInput/style.d.ts +7 -7
- package/dist/esm/components/Tabs/TabsDropdown/index.d.ts +2 -0
- package/dist/esm/components/Tabs/TabsDropdown/styles.d.ts +3 -2
- package/dist/esm/components/Tabs/styles.d.ts +1 -0
- package/dist/esm/index.js +27 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/icons/icons.css +203 -200
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +9 -0
- package/dist/icons/icons.json +198 -197
- package/dist/icons/icons.ts +201 -197
- package/dist/icons/icons.woff +0 -0
- package/dist/icons/icons.woff2 +0 -0
- package/package.json +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
import { InputTargetProps } from "./../Input/typings";
|
|
4
|
+
import { InputTargetProps, InputTheme } from "./../Input/typings";
|
|
5
5
|
import "./../../../dist/icons/icons.css";
|
|
6
|
-
import { Theme } from "../../globalTypings";
|
|
7
6
|
interface SearchInputProps {
|
|
8
7
|
value: string | number;
|
|
9
8
|
placeholder?: string;
|
|
@@ -13,7 +12,7 @@ interface SearchInputProps {
|
|
|
13
12
|
disableShadow?: boolean;
|
|
14
13
|
style?: SerializedStyles;
|
|
15
14
|
isMobile?: boolean;
|
|
16
|
-
mode?:
|
|
15
|
+
mode?: InputTheme;
|
|
17
16
|
onFocus?: () => void;
|
|
18
17
|
onBlur?: () => void;
|
|
19
18
|
closeDropdown?: () => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const inputGroup: (theme:
|
|
3
|
-
export declare const inputPrepend: (theme:
|
|
4
|
-
export declare const focused: (theme:
|
|
5
|
-
export declare const searchInput: (isMobile: boolean, theme:
|
|
6
|
-
export declare const searchButton: (theme:
|
|
1
|
+
import { InputTheme } from "../Input/typings";
|
|
2
|
+
export declare const inputGroup: (theme: InputTheme, inFocus?: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const inputPrepend: (theme: InputTheme, isFocused: boolean, customDarkBgcolor?: string) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const focused: (theme: InputTheme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const searchInput: (isMobile: boolean, theme: InputTheme, isFocused: boolean, onClear?: boolean, customDarkBgcolor?: string) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const searchButton: (theme: InputTheme, customDarkBgcolor?: string) => import("@emotion/react").SerializedStyles;
|
|
7
7
|
export declare const disableShadow: import("@emotion/react").SerializedStyles;
|
|
8
|
-
export declare const icon: (theme:
|
|
8
|
+
export declare const icon: (theme: InputTheme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import React from "react";
|
|
3
|
+
import { Theme } from "../../../globalTypings";
|
|
3
4
|
import { TabItem, TabType } from "../typings";
|
|
4
5
|
interface TabsDropdownProps {
|
|
5
6
|
isSelected: boolean;
|
|
@@ -8,6 +9,7 @@ interface TabsDropdownProps {
|
|
|
8
9
|
list: TabItem[];
|
|
9
10
|
onChange: (value: TabItem) => void;
|
|
10
11
|
type: TabType;
|
|
12
|
+
theme: Theme;
|
|
11
13
|
}
|
|
12
14
|
declare const TabsDropdown: React.FC<TabsDropdownProps>;
|
|
13
15
|
export default TabsDropdown;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Theme } from "../../../globalTypings";
|
|
1
2
|
export declare const tabDropdown: import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const menu: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const menuItem: (isSelected: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const menu: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const menuItem: (isSelected: boolean, theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
5
|
export declare const activeItem: import("@emotion/react").SerializedStyles;
|
|
5
6
|
export declare const tertiaryNotActive: import("@emotion/react").SerializedStyles;
|
|
6
7
|
export declare const selectOverlay: import("@emotion/react").SerializedStyles;
|
|
@@ -8,6 +8,7 @@ export declare const primaryActive: import("@emotion/react").SerializedStyles;
|
|
|
8
8
|
export declare const primaryActiveAfter: import("@emotion/react").SerializedStyles;
|
|
9
9
|
export declare const primaryLight: import("@emotion/react").SerializedStyles;
|
|
10
10
|
export declare const primaryLightActive: import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const primaryExtraDark: import("@emotion/react").SerializedStyles;
|
|
11
12
|
export declare const primaryExtraDarkActive: import("@emotion/react").SerializedStyles;
|
|
12
13
|
export declare const secondary: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
13
14
|
export declare const secondaryActive: (theme: Theme) => import("@emotion/react").SerializedStyles;
|