zebpay-ui 0.0.122 → 0.0.124
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/Accordion/index.d.ts +3 -0
- package/dist/cjs/components/Accordion/style.d.ts +5 -6
- package/dist/cjs/components/AccordionV2/index.d.ts +2 -0
- package/dist/cjs/components/AccordionV2/style.d.ts +6 -7
- package/dist/cjs/components/Button/styles.d.ts +6 -6
- package/dist/cjs/components/CalendarPicker/styles.d.ts +3 -3
- package/dist/cjs/components/Card/style.d.ts +2 -2
- package/dist/cjs/components/Checkbox/styles.d.ts +6 -6
- package/dist/cjs/components/Checkbox/typings.d.ts +1 -0
- package/dist/cjs/components/Divider/styles.d.ts +1 -1
- package/dist/cjs/components/IconBox/styles.d.ts +2 -2
- package/dist/cjs/components/Input/styles.d.ts +10 -13
- package/dist/cjs/components/Input/typings.d.ts +3 -2
- package/dist/cjs/components/InputDropDown/styles.d.ts +9 -9
- package/dist/cjs/components/MobileBottomDrawer/styles.d.ts +2 -2
- package/dist/cjs/components/MobileCalenderPicker/styles.d.ts +3 -3
- package/dist/cjs/components/Notes/index.d.ts +5 -0
- package/dist/cjs/components/Notes/style.d.ts +22 -0
- package/dist/cjs/components/Notes/typings.d.ts +14 -0
- package/dist/cjs/components/Pagination/styles.d.ts +5 -5
- package/dist/cjs/components/PinInput/style.d.ts +3 -3
- package/dist/cjs/components/Popper/styles.d.ts +2 -2
- package/dist/cjs/components/Radio/styles.d.ts +8 -4
- package/dist/cjs/components/Radio/typings.d.ts +3 -1
- package/dist/cjs/components/RadioGroup/styles.d.ts +3 -5
- package/dist/cjs/components/RadioGroup/typings.d.ts +3 -0
- package/dist/cjs/components/SearchInput/index.d.ts +3 -3
- package/dist/cjs/components/SearchInput/style.d.ts +3 -8
- package/dist/cjs/components/Select/styles.d.ts +1 -1
- package/dist/cjs/components/SidePanel/style.d.ts +4 -4
- package/dist/cjs/components/Switch/styles.d.ts +6 -6
- package/dist/cjs/components/Toast/index.d.ts +1 -1
- package/dist/cjs/components/Toast/styles.d.ts +20 -12
- package/dist/cjs/components/Toast/typings.d.ts +3 -1
- package/dist/cjs/components/Virtualize/styles.d.ts +3 -4
- package/dist/cjs/components/index.d.ts +2 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +28 -28
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/theme/componentColors.d.ts +12 -1
- package/dist/cjs/theme/index.d.ts +2 -4
- package/dist/cjs/theme/types.d.ts +13 -1
- package/dist/cjs/theme/zColorScheme.d.ts +2 -1
- package/dist/cjs/theme/zColors.d.ts +31 -13
- package/dist/esm/components/Accordion/index.d.ts +3 -0
- package/dist/esm/components/Accordion/style.d.ts +5 -6
- package/dist/esm/components/AccordionV2/index.d.ts +2 -0
- package/dist/esm/components/AccordionV2/style.d.ts +6 -7
- package/dist/esm/components/Button/styles.d.ts +6 -6
- package/dist/esm/components/CalendarPicker/styles.d.ts +3 -3
- package/dist/esm/components/Card/style.d.ts +2 -2
- package/dist/esm/components/Checkbox/styles.d.ts +6 -6
- package/dist/esm/components/Checkbox/typings.d.ts +1 -0
- package/dist/esm/components/Divider/styles.d.ts +1 -1
- package/dist/esm/components/IconBox/styles.d.ts +2 -2
- package/dist/esm/components/Input/styles.d.ts +10 -13
- package/dist/esm/components/Input/typings.d.ts +3 -2
- package/dist/esm/components/InputDropDown/styles.d.ts +9 -9
- package/dist/esm/components/MobileBottomDrawer/styles.d.ts +2 -2
- package/dist/esm/components/MobileCalenderPicker/styles.d.ts +3 -3
- package/dist/esm/components/Notes/index.d.ts +5 -0
- package/dist/esm/components/Notes/style.d.ts +22 -0
- package/dist/esm/components/Notes/typings.d.ts +14 -0
- package/dist/esm/components/Pagination/styles.d.ts +5 -5
- package/dist/esm/components/PinInput/style.d.ts +3 -3
- package/dist/esm/components/Popper/styles.d.ts +2 -2
- package/dist/esm/components/Radio/styles.d.ts +8 -4
- package/dist/esm/components/Radio/typings.d.ts +3 -1
- package/dist/esm/components/RadioGroup/styles.d.ts +3 -5
- package/dist/esm/components/RadioGroup/typings.d.ts +3 -0
- package/dist/esm/components/SearchInput/index.d.ts +3 -3
- package/dist/esm/components/SearchInput/style.d.ts +3 -8
- package/dist/esm/components/Select/styles.d.ts +1 -1
- package/dist/esm/components/SidePanel/style.d.ts +4 -4
- package/dist/esm/components/Switch/styles.d.ts +6 -6
- package/dist/esm/components/Toast/index.d.ts +1 -1
- package/dist/esm/components/Toast/styles.d.ts +20 -12
- package/dist/esm/components/Toast/typings.d.ts +3 -1
- package/dist/esm/components/Virtualize/styles.d.ts +3 -4
- package/dist/esm/components/index.d.ts +2 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +27 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/componentColors.d.ts +12 -1
- package/dist/esm/theme/index.d.ts +2 -4
- package/dist/esm/theme/types.d.ts +13 -1
- package/dist/esm/theme/zColorScheme.d.ts +2 -1
- package/dist/esm/theme/zColors.d.ts +31 -13
- package/package.json +1 -1
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
import type { Theme } from "../globalTypings";
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function getPanelBackground(mode: Theme): string;
|
|
3
|
+
export declare function getFieldBackground(mode: Theme): string;
|
|
4
|
+
export declare function getInputSurfaceBackground(mode: Theme): string;
|
|
5
|
+
export declare function getHoverBackground(mode: Theme): string;
|
|
6
|
+
export declare function getPrimaryTextColor(mode: Theme): string;
|
|
7
|
+
export declare function getMutedTextColor(mode: Theme): string;
|
|
8
|
+
export declare function getAccentTextColor(mode: Theme): string;
|
|
9
|
+
export declare function getSubtleBorderColor(mode: Theme): string;
|
|
10
|
+
export declare function getCardBorderColor(mode: Theme): string;
|
|
11
|
+
export declare function getDividerColor(mode: Theme): string;
|
|
12
|
+
export declare function getShimmerBackground(mode: Theme): string;
|
|
13
|
+
export declare function getIconBoxBackground(mode: Theme): string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export { ZThemeProvider, useZTheme, ThemeContext } from "./ZThemeProvider";
|
|
2
2
|
export type { ZThemeProviderProps, ThemeContextValue } from "./ZThemeProvider";
|
|
3
|
-
export { lightColorScheme, darkColorScheme, extraDarkColorScheme, getZColorSchemeForTheme, ZColors, ZGradientConst,
|
|
4
|
-
export { createLinearGradient, linearGradient, solidGradient, gradientFromConst, } from "./zGradients";
|
|
5
|
-
export type { GradientStop, ZGradientPalette } from "./zGradients";
|
|
3
|
+
export { lightColorScheme, darkColorScheme, extraDarkColorScheme, getZColorSchemeForTheme, ZColors, ZGradientConst, } from "./zColorScheme";
|
|
6
4
|
export { zColorTokens } from "./zColorTokens";
|
|
7
|
-
export type { ZColorScheme
|
|
5
|
+
export type { ZColorScheme } from "./types";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ZGradientPalette } from "./zGradients";
|
|
2
2
|
export interface TabColorScheme {
|
|
3
3
|
primaryActiveText: string;
|
|
4
4
|
primaryActiveFill: string;
|
|
@@ -28,6 +28,17 @@ export interface ZGradientScheme {
|
|
|
28
28
|
lightShimmer: string;
|
|
29
29
|
darkShimmer: string;
|
|
30
30
|
}
|
|
31
|
+
export interface ZShadowScheme {
|
|
32
|
+
float: string;
|
|
33
|
+
header: string;
|
|
34
|
+
card: string;
|
|
35
|
+
bottomSheet: string;
|
|
36
|
+
bottomArea: string;
|
|
37
|
+
blueCard: string;
|
|
38
|
+
hard: string;
|
|
39
|
+
otp: string;
|
|
40
|
+
blur: string;
|
|
41
|
+
}
|
|
31
42
|
export interface ZColorScheme {
|
|
32
43
|
primary: {
|
|
33
44
|
title: string;
|
|
@@ -132,4 +143,5 @@ export interface ZColorScheme {
|
|
|
132
143
|
tab: TabColorScheme;
|
|
133
144
|
gradients: ZGradientScheme;
|
|
134
145
|
gradientPalette: ZGradientPalette;
|
|
146
|
+
shadows: ZShadowScheme;
|
|
135
147
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../globalTypings";
|
|
2
2
|
import type { ZColorScheme } from "./types";
|
|
3
|
-
import { ZColors, ZGradientConst
|
|
3
|
+
import { ZColors, ZGradientConst } from "./zColors";
|
|
4
|
+
import { ZGradientColors, ZGradientConstCss } from "./zGradients";
|
|
4
5
|
/** Mobile v2 ZLightColorScheme */
|
|
5
6
|
export declare const lightColorScheme: ZColorScheme;
|
|
6
7
|
/** Mobile v2 ZDarkColorScheme — web blue / component `mode="dark"` */
|
|
@@ -9,40 +9,40 @@ export declare const ZColors: {
|
|
|
9
9
|
readonly Black: "#000000";
|
|
10
10
|
readonly White: "#FFFFFF";
|
|
11
11
|
readonly Transparent: "transparent";
|
|
12
|
-
readonly Overlay: "#
|
|
12
|
+
readonly Overlay: "#0C0C2466";
|
|
13
13
|
readonly Blue01: "#222245";
|
|
14
14
|
readonly Blue02: "#181837";
|
|
15
15
|
readonly Blue03: "#338FFF";
|
|
16
16
|
readonly Blue04: "#C0C0EE";
|
|
17
17
|
readonly Blue05: "#E9EFF6";
|
|
18
|
-
readonly Blue06: "#
|
|
18
|
+
readonly Blue06: "#338FFF33";
|
|
19
19
|
readonly Blue07: "#EEF5FF";
|
|
20
|
-
readonly Blue08: "#
|
|
20
|
+
readonly Blue08: "#C0C0EE33";
|
|
21
21
|
readonly Blue09: "#151532";
|
|
22
22
|
readonly Blue10: "#D9EAFF";
|
|
23
|
-
readonly Blue11: "#
|
|
23
|
+
readonly Blue11: "#338FFF0A";
|
|
24
24
|
readonly Blue12: "#EBF4FF";
|
|
25
25
|
readonly Grey01: "#C2C2DD";
|
|
26
26
|
readonly Grey02: "#34345A";
|
|
27
27
|
readonly Grey03: "#6B6B6B";
|
|
28
|
-
readonly Grey04: "#
|
|
28
|
+
readonly Grey04: "#C0C0EE33";
|
|
29
29
|
readonly Grey05: "#E1E3E6";
|
|
30
30
|
readonly Grey06: "#C2C2C8";
|
|
31
31
|
readonly Grey07: "#B5B5D3";
|
|
32
32
|
readonly Green01: "#1ECAA2";
|
|
33
33
|
readonly Green02: "#31826F";
|
|
34
34
|
readonly Green03: "#212F4C";
|
|
35
|
-
readonly Green04: "#
|
|
35
|
+
readonly Green04: "#1ECAA233";
|
|
36
36
|
readonly Green06: "#00A37D";
|
|
37
37
|
readonly Red01: "#EA6161";
|
|
38
38
|
readonly Red02: "#BF5555";
|
|
39
39
|
readonly Red03: "#302544";
|
|
40
|
-
readonly Red04: "#
|
|
40
|
+
readonly Red04: "#EA616133";
|
|
41
41
|
readonly Red06: "#DC5454";
|
|
42
42
|
readonly Yellow01: "#F9C35C";
|
|
43
43
|
readonly Yellow02: "#FFB100";
|
|
44
44
|
readonly Yellow03: "#2A273B";
|
|
45
|
-
readonly Yellow04: "#
|
|
45
|
+
readonly Yellow04: "#F9C35C33";
|
|
46
46
|
readonly Yellow05: "#986405";
|
|
47
47
|
readonly PrimaryTitleV4: "#F8F8F8";
|
|
48
48
|
readonly PrimaryWhiteV4: "#F8F8F8";
|
|
@@ -61,9 +61,9 @@ export declare const ZColors: {
|
|
|
61
61
|
readonly InputDefaultV4: "#14161C";
|
|
62
62
|
readonly InputDisabledStrokeV4: "#5F6267";
|
|
63
63
|
readonly FullScreenBg01: "#1D212B";
|
|
64
|
-
readonly ToastSuccessStrokeV4: "#
|
|
65
|
-
readonly ToastInfoStrokeV4: "#
|
|
66
|
-
readonly ToastErrorStrokeV4: "#
|
|
64
|
+
readonly ToastSuccessStrokeV4: "#038153B3";
|
|
65
|
+
readonly ToastInfoStrokeV4: "#B09600B3";
|
|
66
|
+
readonly ToastErrorStrokeV4: "#C94444B3";
|
|
67
67
|
readonly TagYellowStrokeV4: "#FFF15A";
|
|
68
68
|
readonly TagYellowTextV4: "#FFF15A";
|
|
69
69
|
readonly TagGreyTextV4: "#C4C4C4";
|
|
@@ -82,5 +82,23 @@ export declare const ZColors: {
|
|
|
82
82
|
readonly TabSecondaryV4: "#6A93FF";
|
|
83
83
|
readonly SheetScrimColor: "#F7252525";
|
|
84
84
|
};
|
|
85
|
-
export
|
|
86
|
-
|
|
85
|
+
export declare const ZShadows: {
|
|
86
|
+
float: string;
|
|
87
|
+
header: string;
|
|
88
|
+
card: string;
|
|
89
|
+
bottomSheet: string;
|
|
90
|
+
bottomArea: string;
|
|
91
|
+
blueCard: string;
|
|
92
|
+
hard: string;
|
|
93
|
+
otp: string;
|
|
94
|
+
blur: string;
|
|
95
|
+
};
|
|
96
|
+
/** Mirrored from mobile v2 ZGradientConst */
|
|
97
|
+
export declare const ZGradientConst: {
|
|
98
|
+
gradient1: readonly ["#5D7BFE", "#0974FF"];
|
|
99
|
+
gradient1V4: readonly ["#5786FF", "#3751FE"];
|
|
100
|
+
white: readonly ["#FFFFFF", "#FFFFFF"];
|
|
101
|
+
};
|
|
102
|
+
export declare const linearGradient: (from: string, to: string, angle?: string) => string;
|
|
103
|
+
export declare const solidGradient: (color: string) => string;
|
|
104
|
+
export declare const gradientFromConst: (colors: readonly [string, string]) => string;
|
|
@@ -5,11 +5,14 @@ import "./../../../dist/icons/icons.css";
|
|
|
5
5
|
import type { Theme } from "../../globalTypings";
|
|
6
6
|
interface AccordionProps {
|
|
7
7
|
title: React.ReactNode;
|
|
8
|
+
titleIcon?: string;
|
|
9
|
+
titleIconStyle?: SerializedStyles;
|
|
8
10
|
isOpen: boolean;
|
|
9
11
|
onToggle: (value: boolean) => void;
|
|
10
12
|
style?: SerializedStyles;
|
|
11
13
|
children?: ReactNode;
|
|
12
14
|
mode?: Theme;
|
|
15
|
+
disableBorder?: boolean;
|
|
13
16
|
}
|
|
14
17
|
declare const Accordion: FC<AccordionProps>;
|
|
15
18
|
export default Accordion;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const accordionWrapper: (isOpen: boolean,
|
|
3
|
-
export declare const accordionTitle: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const iconStyle: (isOpen: boolean) => import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const accordionWrapper: (isOpen: boolean, mode: Theme, disableBorder: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const accordionTitle: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const accordionTitleIcon: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const accordionContent: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const iconStyle: (isOpen: boolean, mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -5,6 +5,8 @@ import "./../../../dist/icons/icons.css";
|
|
|
5
5
|
import { Theme } from "../../globalTypings";
|
|
6
6
|
interface AccordionV2Props {
|
|
7
7
|
title: React.ReactNode;
|
|
8
|
+
titleIcon?: string;
|
|
9
|
+
titleIconStyle?: SerializedStyles;
|
|
8
10
|
isOpen: boolean;
|
|
9
11
|
onToggle: (value: boolean) => void;
|
|
10
12
|
style?: SerializedStyles;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const accordionWrapper: (isOpen: boolean,
|
|
3
|
-
export declare const accordionTitle: (
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const iconStyle: (isOpen: boolean) => import("@emotion/react").SerializedStyles;
|
|
1
|
+
import { Theme as ThemeType } from "../../globalTypings";
|
|
2
|
+
export declare const accordionWrapper: (isOpen: boolean, mode: ThemeType, disableBorder: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const accordionTitle: (mode: ThemeType) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const accordionTitleIcon: import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const accordionContent: (isOpen: boolean, mode: ThemeType) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const iconStyle: (isOpen: boolean, mode: ThemeType) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
2
|
export declare const general: (width?: number) => import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const linkButton:
|
|
4
|
-
export declare const primaryButton: (
|
|
5
|
-
export declare const secondaryButton: (
|
|
6
|
-
export declare const specialButton:
|
|
3
|
+
export declare const linkButton: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const primaryButton: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const secondaryButton: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const specialButton: import("@emotion/react").SerializedStyles;
|
|
7
7
|
export declare const specialButtonText: import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const specialButtonSmText: import("@emotion/react").SerializedStyles;
|
|
9
|
-
export declare const tertiaryButton:
|
|
9
|
+
export declare const tertiaryButton: import("@emotion/react").SerializedStyles;
|
|
10
10
|
export declare const tertiaryButtonText: import("@emotion/react").SerializedStyles;
|
|
11
|
-
export declare const tabButton:
|
|
11
|
+
export declare const tabButton: import("@emotion/react").SerializedStyles;
|
|
12
12
|
export declare const disabledButton: import("@emotion/react").SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
2
|
export declare const alignNav: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const monthArrow: (
|
|
4
|
-
export declare const navigationLabel: (
|
|
5
|
-
export declare const dateRangePicker: (
|
|
3
|
+
export declare const monthArrow: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const navigationLabel: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const dateRangePicker: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const cardStyle: (
|
|
2
|
+
export declare const cardStyle: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const cardHeader: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const cardBody: (
|
|
4
|
+
export declare const cardBody: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
2
|
+
export declare const DEFAULT_SIZE = 20;
|
|
3
|
+
export declare const checkboxContainer: (size?: number) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const labelContainer: (mode: Theme, size?: number, alignTop?: boolean) => import("@emotion/react").SerializedStyles;
|
|
4
5
|
export declare const disabledLabel: import("@emotion/react").SerializedStyles;
|
|
5
|
-
export declare const input: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const input: (size?: number, alignTop?: boolean) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const checkmark: (mode: Theme, size?: number, checked?: boolean, disabled?: boolean, alignTop?: boolean) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const checkIcon: (mode: Theme, size?: number) => import("@emotion/react").SerializedStyles;
|
|
7
9
|
export declare const checkLabel: import("@emotion/react").SerializedStyles;
|
|
8
|
-
export declare const checkComponent: import("@emotion/react").SerializedStyles;
|
|
9
|
-
export declare const checkmark: (theme: Theme, indeterminate?: boolean, alignTop?: boolean) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
2
|
import { DividerProps } from ".";
|
|
3
|
-
export declare const divider: (props: DividerProps,
|
|
3
|
+
export declare const divider: (props: DividerProps, mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
2
|
import { IconBoxProps } from ".";
|
|
3
|
-
export declare const container: (data: IconBoxProps,
|
|
4
|
-
export declare const withHoverStyle: (
|
|
3
|
+
export declare const container: (data: IconBoxProps, mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const withHoverStyle: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const invalidInputGroup: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const formLabel: (theme:
|
|
4
|
-
export declare const activeFormLabel: (theme:
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const fieldNoRounded: import("@emotion/react").SerializedStyles;
|
|
10
|
-
export declare const fieldSecondHalfRounded: import("@emotion/react").SerializedStyles;
|
|
11
|
-
export declare const fieldFirstHalfRounded: import("@emotion/react").SerializedStyles;
|
|
12
|
-
export declare const inputGroupText: (theme: InputTheme) => import("@emotion/react").SerializedStyles;
|
|
13
|
-
export declare const inputGroupPrepend: (theme: InputTheme) => import("@emotion/react").SerializedStyles;
|
|
1
|
+
import { Theme } from "../../globalTypings";
|
|
2
|
+
export declare const invalidInputGroup: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const formLabel: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const activeFormLabel: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const errorFormLabel: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const inputGroup: (theme: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const focusedInputGroup: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const formControl: (theme: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
14
9
|
export declare const infoCta: import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const infoText: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const errorText: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import React, { KeyboardEvent, WheelEvent } from "react";
|
|
3
3
|
import { Theme } from "../../globalTypings";
|
|
4
|
-
export type InputTheme = Theme | "inputExtraDark";
|
|
5
4
|
export interface InputTargetProps {
|
|
6
5
|
value: string;
|
|
7
6
|
name: string;
|
|
@@ -26,7 +25,8 @@ export interface InputProps {
|
|
|
26
25
|
onFocus?: () => void;
|
|
27
26
|
onBlur?: () => void;
|
|
28
27
|
autoComplete?: "on" | "off";
|
|
29
|
-
|
|
28
|
+
autoFocus?: boolean;
|
|
29
|
+
theme?: Theme;
|
|
30
30
|
onKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
31
31
|
onWheel?: (event: WheelEvent<HTMLInputElement>) => void;
|
|
32
32
|
onPaste?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
@@ -35,4 +35,5 @@ export interface InputProps {
|
|
|
35
35
|
patternType?: string;
|
|
36
36
|
disabled?: boolean;
|
|
37
37
|
invalid?: boolean;
|
|
38
|
+
inputGroupStyles?: SerializedStyles;
|
|
38
39
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
2
|
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const selectOverlay: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const icon: (
|
|
4
|
+
export declare const icon: (mode: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
5
5
|
export declare const input: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export declare const selectedElement: (open: boolean,
|
|
7
|
-
export declare const options: (
|
|
8
|
-
export declare const optionItem: (
|
|
9
|
-
export declare const optionsWrapper: (
|
|
10
|
-
export declare const displayComponent: (highlight: boolean,
|
|
11
|
-
export declare const main: (isOpen: boolean,
|
|
12
|
-
export declare const dropDown: (
|
|
6
|
+
export declare const selectedElement: (open: boolean, mode: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const options: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const optionItem: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
9
|
+
export declare const optionsWrapper: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const displayComponent: (highlight: boolean, mode: Theme, disabled: boolean) => import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const main: (isOpen: boolean, mode: Theme, disabled?: boolean, isError?: boolean) => import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const dropDown: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
13
13
|
export declare const optionsList: (isSearchable?: boolean) => import("@emotion/react").SerializedStyles;
|
|
14
14
|
export declare const inputSearch: import("@emotion/react").SerializedStyles;
|
|
15
15
|
export declare const dropdown: (posX: number, posY: number) => import("@emotion/react").SerializedStyles;
|
|
16
|
-
export declare const contentHeading: (
|
|
16
|
+
export declare const contentHeading: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
17
17
|
export declare const pillOptions: import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const bottomDrawer: (
|
|
2
|
+
export declare const bottomDrawer: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const backdrop: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const dragHandle: (
|
|
4
|
+
export declare const dragHandle: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -3,6 +3,6 @@ export declare const alignNav: import("@emotion/react").SerializedStyles;
|
|
|
3
3
|
export declare const monthArrow: import("@emotion/react").SerializedStyles;
|
|
4
4
|
export declare const navigationLabel: import("@emotion/react").SerializedStyles;
|
|
5
5
|
export declare const dateRangePicker: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export declare const lineBreak: (
|
|
7
|
-
export declare const heading: (
|
|
8
|
-
export declare const themedOverrides: (
|
|
6
|
+
export declare const lineBreak: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const heading: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const themedOverrides: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Theme } from "../../globalTypings";
|
|
2
|
+
import { NotesType } from "./typings";
|
|
3
|
+
type NoteColors = {
|
|
4
|
+
fill: string;
|
|
5
|
+
stroke: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
iconBoxBg: string;
|
|
10
|
+
arrow: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const getNoteColors: (mode: Theme, type: NotesType, isMobile: boolean) => NoteColors;
|
|
13
|
+
export declare const notesContainer: (mode: Theme, type: NotesType, isMobile: boolean, hasDescription: boolean) => import("@emotion/react").SerializedStyles;
|
|
14
|
+
export declare const image: import("@emotion/react").SerializedStyles;
|
|
15
|
+
export declare const notesContent: (isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
16
|
+
export declare const notesHeader: import("@emotion/react").SerializedStyles;
|
|
17
|
+
export declare const notesIconWrapper: (mode: Theme, type: NotesType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
18
|
+
export declare const notesTitle: (mode: Theme, type: NotesType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
19
|
+
export declare const notesDescription: (mode: Theme, type: NotesType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
20
|
+
export declare const notesIcon: (mode: Theme, type: NotesType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
21
|
+
export declare const notesArrow: (mode: Theme, type: NotesType, isMobile: boolean) => import("@emotion/react").SerializedStyles;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SerializedStyles } from "@emotion/react";
|
|
2
|
+
import { Theme } from "../../globalTypings";
|
|
3
|
+
export type NotesType = "info" | "error" | "success";
|
|
4
|
+
export interface NotesProps {
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
type?: NotesType;
|
|
8
|
+
mode?: Theme;
|
|
9
|
+
isMobile?: boolean;
|
|
10
|
+
showArrow?: boolean;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
style?: SerializedStyles;
|
|
13
|
+
notesImage?: string;
|
|
14
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const smallCardWithBg: (
|
|
3
|
-
export declare const arrow: (
|
|
4
|
-
export declare const pageLink: (
|
|
5
|
-
export declare const active: (
|
|
6
|
-
export declare const pageItem: (
|
|
2
|
+
export declare const smallCardWithBg: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const arrow: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const pageLink: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const active: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const pageItem: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
2
|
export declare const pins: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const label: (
|
|
3
|
+
export declare const label: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
4
|
export declare const inputFocused: (focused: boolean, inValid: boolean) => import("@emotion/react").SerializedStyles;
|
|
5
5
|
export declare const invalidPins: import("@emotion/react").SerializedStyles;
|
|
6
6
|
export declare const inputContainer: import("@emotion/react").SerializedStyles;
|
|
7
|
-
export declare const input: (
|
|
7
|
+
export declare const input: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const disabledInput: import("@emotion/react").SerializedStyles;
|
|
9
|
-
export declare const maskStyle: (
|
|
9
|
+
export declare const maskStyle: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from "../../globalTypings";
|
|
2
2
|
export declare const container: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const popup: (
|
|
4
|
-
export declare const closeButton: (
|
|
3
|
+
export declare const popup: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const closeButton: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
5
|
export declare const selectOverlay: import("@emotion/react").SerializedStyles;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
1
|
+
import type { Theme } from "../../globalTypings";
|
|
2
|
+
export declare const DEFAULT_SIZE = 20;
|
|
3
|
+
export declare const radioContainer: (size?: number) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const labelContainer: (mode: Theme, size?: number, isListView?: boolean) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const disabledLabel: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const input: (size?: number, isListView?: boolean) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const checkmark: (mode: Theme, size?: number, isListView?: boolean, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const innerDot: (mode: Theme, size?: number, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
5
9
|
export declare const listViewStyle: import("@emotion/react").SerializedStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { Theme } from "../../globalTypings";
|
|
3
|
+
import type { Theme } from "../../globalTypings";
|
|
4
4
|
export interface RadioProps {
|
|
5
5
|
selected: boolean;
|
|
6
6
|
onChange: (args: {
|
|
@@ -14,4 +14,6 @@ export interface RadioProps {
|
|
|
14
14
|
mode?: Theme;
|
|
15
15
|
checkmarkStyle?: SerializedStyles;
|
|
16
16
|
isListView?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
size?: number;
|
|
17
19
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const checkmark: (theme?: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
-
export declare const radioGroup: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const radioGroup: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const radioGroupInline: import("@emotion/react").SerializedStyles;
|
|
6
4
|
export declare const marginRight: import("@emotion/react").SerializedStyles;
|
|
7
|
-
export declare const defaultState: (
|
|
5
|
+
export declare const defaultState: (mode: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -6,6 +6,7 @@ export interface OptionProps {
|
|
|
6
6
|
value?: string | number;
|
|
7
7
|
label?: string | React.JSX.Element;
|
|
8
8
|
id: string;
|
|
9
|
+
disabled?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export interface RadioGroupProps {
|
|
11
12
|
defaultSelected?: string;
|
|
@@ -19,4 +20,6 @@ export interface RadioGroupProps {
|
|
|
19
20
|
options: Array<OptionProps>;
|
|
20
21
|
mode?: Theme;
|
|
21
22
|
isListView?: boolean;
|
|
23
|
+
size?: number;
|
|
24
|
+
disabled?: boolean;
|
|
22
25
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
import { InputTargetProps
|
|
5
|
-
import "
|
|
4
|
+
import { InputTargetProps } from "../Input/typings";
|
|
5
|
+
import { Theme } from "../../globalTypings";
|
|
6
6
|
interface SearchInputProps {
|
|
7
7
|
value: string | number;
|
|
8
8
|
placeholder?: string;
|
|
@@ -12,7 +12,7 @@ interface SearchInputProps {
|
|
|
12
12
|
disableShadow?: boolean;
|
|
13
13
|
style?: SerializedStyles;
|
|
14
14
|
isMobile?: boolean;
|
|
15
|
-
mode?:
|
|
15
|
+
mode?: Theme;
|
|
16
16
|
onFocus?: () => void;
|
|
17
17
|
onBlur?: () => void;
|
|
18
18
|
closeDropdown?: () => void;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
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
|
-
export declare const disableShadow: import("@emotion/react").SerializedStyles;
|
|
8
|
-
export declare const icon: (theme: InputTheme) => import("@emotion/react").SerializedStyles;
|
|
1
|
+
import { Theme } from "../../globalTypings";
|
|
2
|
+
export declare const inputGroupStyles: (theme: Theme, isMobile: boolean, customDarkBgcolor?: string, disableShadow?: boolean) => import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const icon: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Theme } from "../../globalTypings";
|
|
2
2
|
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const button: (theme?: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
4
|
export declare const active: (theme?: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Theme } from "../../globalTypings";
|
|
2
2
|
export type SidePanelPlacement = "left" | "right";
|
|
3
3
|
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const overlay: (
|
|
5
|
-
export declare const sidePanel: (placement: SidePanelPlacement, width: number,
|
|
4
|
+
export declare const overlay: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
export declare const sidePanel: (placement: SidePanelPlacement, width: number, mode?: Theme) => import("@emotion/react").SerializedStyles | undefined;
|
|
6
6
|
export declare const sidePanelOpen: import("@emotion/react").SerializedStyles;
|
|
7
7
|
export declare const header: import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const titleStyle: import("@emotion/react").SerializedStyles;
|
|
9
|
-
export declare const headerCTA: (
|
|
10
|
-
export declare const headerCloseCTA: (
|
|
9
|
+
export declare const headerCTA: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const headerCloseCTA: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|