zebpay-ui 0.0.38 → 0.0.39
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/Input/styles.d.ts +5 -5
- package/dist/cjs/components/Input/typings.d.ts +1 -0
- package/dist/cjs/components/Shimmer/index.d.ts +1 -7
- package/dist/cjs/components/Shimmer/style.d.ts +2 -1
- package/dist/cjs/components/Shimmer/typings.d.ts +10 -0
- package/dist/cjs/components/Tabs/styles.d.ts +3 -2
- package/dist/cjs/components/Tabs/typings.d.ts +2 -0
- package/dist/cjs/globalTypings.d.ts +1 -0
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/colors.d.ts +1 -0
- package/dist/esm/components/Input/styles.d.ts +5 -5
- package/dist/esm/components/Input/typings.d.ts +1 -0
- package/dist/esm/components/Shimmer/index.d.ts +1 -7
- package/dist/esm/components/Shimmer/style.d.ts +2 -1
- package/dist/esm/components/Shimmer/typings.d.ts +10 -0
- package/dist/esm/components/Tabs/styles.d.ts +3 -2
- package/dist/esm/components/Tabs/typings.d.ts +2 -0
- package/dist/esm/globalTypings.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles/colors.d.ts +1 -0
- package/dist/icons/icons.css +19 -16
- package/dist/icons/icons.eot +0 -0
- package/dist/icons/icons.html +9 -0
- package/dist/icons/icons.json +14 -13
- package/dist/icons/icons.ts +17 -13
- package/dist/icons/icons.woff +0 -0
- package/dist/icons/icons.woff2 +0 -0
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const invalidInputGroup: import("@emotion/utils").SerializedStyles;
|
|
2
|
-
export declare const formLabel: import("@emotion/utils").SerializedStyles;
|
|
3
|
-
export declare const activeFormLabel: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
export declare const formLabel: (theme: "dark" | "light") => import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const activeFormLabel: (theme: "dark" | "light") => import("@emotion/utils").SerializedStyles;
|
|
4
4
|
export declare const inputGroup: import("@emotion/utils").SerializedStyles;
|
|
5
5
|
export declare const focusedInputGroup: import("@emotion/utils").SerializedStyles;
|
|
6
|
-
export declare const formControl: import("@emotion/utils").SerializedStyles;
|
|
6
|
+
export declare const formControl: (theme: "dark" | "light") => import("@emotion/utils").SerializedStyles;
|
|
7
7
|
export declare const fieldFullRounded: import("@emotion/utils").SerializedStyles;
|
|
8
8
|
export declare const fieldNoRounded: import("@emotion/utils").SerializedStyles;
|
|
9
9
|
export declare const fieldSecondHalfRounded: import("@emotion/utils").SerializedStyles;
|
|
10
10
|
export declare const fieldFirstHalfRounded: import("@emotion/utils").SerializedStyles;
|
|
11
|
-
export declare const inputGroupText: import("@emotion/utils").SerializedStyles;
|
|
12
|
-
export declare const inputGroupPrepend: import("@emotion/utils").SerializedStyles;
|
|
11
|
+
export declare const inputGroupText: (theme: "dark" | "light") => import("@emotion/utils").SerializedStyles;
|
|
12
|
+
export declare const inputGroupPrepend: (theme: "dark" | "light") => import("@emotion/utils").SerializedStyles;
|
|
13
13
|
export declare const infoCta: import("@emotion/utils").SerializedStyles;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/** @jsxImportSource @emotion/react */
|
|
2
|
-
import { SerializedStyles } from "@emotion/react";
|
|
3
1
|
import React from "react";
|
|
4
|
-
|
|
5
|
-
height: number;
|
|
6
|
-
width: number;
|
|
7
|
-
style?: SerializedStyles;
|
|
8
|
-
}
|
|
2
|
+
import { ShimmerProps } from "./typings";
|
|
9
3
|
declare const Shimmer: React.FC<ShimmerProps>;
|
|
10
4
|
export default Shimmer;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { Theme } from "../../globalTypings";
|
|
1
2
|
export declare const shimmerAnimation: (width: number) => import("@emotion/react").Keyframes;
|
|
2
|
-
export declare const shimmerContainer: (width: number) => import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const shimmerContainer: (theme: Theme, width: number) => import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
import { Theme } from "../../globalTypings";
|
|
3
|
+
export interface ShimmerProps {
|
|
4
|
+
height: number;
|
|
5
|
+
width: number;
|
|
6
|
+
style?: SerializedStyles;
|
|
7
|
+
mode?: Theme;
|
|
8
|
+
sizeType?: SizeType;
|
|
9
|
+
}
|
|
10
|
+
export declare type SizeType = "px" | "%";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { Theme } from "../../globalTypings";
|
|
1
2
|
export declare const customNav: import("@emotion/utils").SerializedStyles;
|
|
2
3
|
export declare const disabledNav: import("@emotion/utils").SerializedStyles;
|
|
3
4
|
export declare const tertiaryNav: import("@emotion/utils").SerializedStyles;
|
|
4
5
|
export declare const primaryNav: import("@emotion/utils").SerializedStyles;
|
|
5
6
|
export declare const primary: import("@emotion/utils").SerializedStyles;
|
|
6
7
|
export declare const primaryActive: import("@emotion/utils").SerializedStyles;
|
|
7
|
-
export declare const secondary: import("@emotion/utils").SerializedStyles;
|
|
8
|
-
export declare const secondaryActive: import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const secondary: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
9
|
+
export declare const secondaryActive: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
9
10
|
export declare const tertiary: import("@emotion/utils").SerializedStyles;
|
|
10
11
|
export declare const tertiaryActive: import("@emotion/utils").SerializedStyles;
|
|
11
12
|
export declare const backgroundButton: (color: string) => import("@emotion/utils").SerializedStyles;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SerializedStyles } from "@emotion/react";
|
|
3
|
+
import { Theme } from "../../globalTypings";
|
|
3
4
|
export declare type TabType = "primary" | "secondary" | "tertiary";
|
|
4
5
|
export interface TabItem {
|
|
5
6
|
title: JSX.Element | string;
|
|
@@ -16,4 +17,5 @@ export interface TabProps {
|
|
|
16
17
|
type: TabType;
|
|
17
18
|
style?: SerializedStyles;
|
|
18
19
|
disabled?: boolean;
|
|
20
|
+
theme?: Theme;
|
|
19
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type Theme = "light" | "dark";
|