zebpay-ui 0.0.129 → 0.0.131
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/PinInput/style.d.ts +9 -7
- package/dist/cjs/components/PinInput/typing.d.ts +8 -1
- package/dist/cjs/globalTypings.d.ts +2 -0
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/theme/v2/types.d.ts +10 -0
- package/dist/cjs/theme/v2/zColors.d.ts +22 -6
- package/dist/cjs/theme/v2/zGradients.d.ts +3 -1
- package/dist/cjs/theme/v3/ZColorScheme.d.ts +2 -0
- package/dist/cjs/theme/v3/ZColors.d.ts +15 -0
- package/dist/cjs/theme/v3/ZGradientColors.d.ts +4 -0
- package/dist/cjs/theme/v3/categories/ZBannerColors.d.ts +3 -0
- package/dist/cjs/theme/v3/categories/ZBottomSheetColors.d.ts +3 -3
- package/dist/cjs/theme/v3/categories/ZButtonColors.d.ts +8 -2
- package/dist/cjs/theme/v3/categories/ZCardColors.d.ts +3 -0
- package/dist/cjs/theme/v3/categories/ZIconColors.d.ts +4 -1
- package/dist/cjs/theme/v3/categories/ZInputFieldColors.d.ts +3 -3
- package/dist/cjs/theme/v3/categories/ZNavigationColors.d.ts +9 -0
- package/dist/cjs/theme/v3/categories/ZPillsColors.d.ts +1 -1
- package/dist/cjs/theme/v3/categories/ZSeparatorColors.d.ts +1 -1
- package/dist/cjs/theme/v3/categories/ZStatusTagColors.d.ts +1 -1
- package/dist/cjs/theme/v3/categories/ZTabColors.d.ts +1 -1
- package/dist/cjs/theme/v3/categories/ZTextColors.d.ts +1 -1
- package/dist/cjs/theme/v3/types.d.ts +8 -0
- package/dist/esm/components/PinInput/style.d.ts +9 -7
- package/dist/esm/components/PinInput/typing.d.ts +8 -1
- package/dist/esm/globalTypings.d.ts +2 -0
- package/dist/esm/index.js +31 -31
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/v2/types.d.ts +10 -0
- package/dist/esm/theme/v2/zColors.d.ts +22 -6
- package/dist/esm/theme/v2/zGradients.d.ts +3 -1
- package/dist/esm/theme/v3/ZColorScheme.d.ts +2 -0
- package/dist/esm/theme/v3/ZColors.d.ts +15 -0
- package/dist/esm/theme/v3/ZGradientColors.d.ts +4 -0
- package/dist/esm/theme/v3/categories/ZBannerColors.d.ts +3 -0
- package/dist/esm/theme/v3/categories/ZBottomSheetColors.d.ts +3 -3
- package/dist/esm/theme/v3/categories/ZButtonColors.d.ts +8 -2
- package/dist/esm/theme/v3/categories/ZCardColors.d.ts +3 -0
- package/dist/esm/theme/v3/categories/ZIconColors.d.ts +4 -1
- package/dist/esm/theme/v3/categories/ZInputFieldColors.d.ts +3 -3
- package/dist/esm/theme/v3/categories/ZNavigationColors.d.ts +9 -0
- package/dist/esm/theme/v3/categories/ZPillsColors.d.ts +1 -1
- package/dist/esm/theme/v3/categories/ZSeparatorColors.d.ts +1 -1
- package/dist/esm/theme/v3/categories/ZStatusTagColors.d.ts +1 -1
- package/dist/esm/theme/v3/categories/ZTabColors.d.ts +1 -1
- package/dist/esm/theme/v3/categories/ZTextColors.d.ts +1 -1
- package/dist/esm/theme/v3/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export interface TabColorScheme {
|
|
|
5
5
|
primaryDefaultFill: string;
|
|
6
6
|
primaryDefaultText: string;
|
|
7
7
|
primaryStroke: string;
|
|
8
|
+
primaryDefaultStroke: string;
|
|
8
9
|
secondaryActiveTab: string;
|
|
9
10
|
secondaryDefaultTab: string;
|
|
10
11
|
tertiaryFill: string;
|
|
@@ -25,6 +26,7 @@ export interface ButtonColorScheme {
|
|
|
25
26
|
}
|
|
26
27
|
export interface ZGradientScheme {
|
|
27
28
|
primary: string;
|
|
29
|
+
primaryText: string;
|
|
28
30
|
tertiary: string;
|
|
29
31
|
banner: string;
|
|
30
32
|
positiveGraph: string;
|
|
@@ -66,6 +68,8 @@ export interface ZColorScheme {
|
|
|
66
68
|
fullScreenBg: string;
|
|
67
69
|
fullScreenFg01: string;
|
|
68
70
|
fullScreenFg02: string;
|
|
71
|
+
cardBg: string;
|
|
72
|
+
cardBorder: string;
|
|
69
73
|
};
|
|
70
74
|
icon: {
|
|
71
75
|
primary: string;
|
|
@@ -82,6 +86,7 @@ export interface ZColorScheme {
|
|
|
82
86
|
fiat: string;
|
|
83
87
|
rnr: string;
|
|
84
88
|
navGrey: string;
|
|
89
|
+
coinBorder: string;
|
|
85
90
|
};
|
|
86
91
|
functional: {
|
|
87
92
|
green: string;
|
|
@@ -97,8 +102,10 @@ export interface ZColorScheme {
|
|
|
97
102
|
yellowTrans: string;
|
|
98
103
|
greyTrans: string;
|
|
99
104
|
redTag: string;
|
|
105
|
+
redTagText: string;
|
|
100
106
|
greenTag: string;
|
|
101
107
|
greyTag: string;
|
|
108
|
+
leverageTag: string;
|
|
102
109
|
};
|
|
103
110
|
toast: {
|
|
104
111
|
successFill: string;
|
|
@@ -141,6 +148,9 @@ export interface ZColorScheme {
|
|
|
141
148
|
header: string;
|
|
142
149
|
listing: string;
|
|
143
150
|
table: string;
|
|
151
|
+
onGradientIcon: string;
|
|
152
|
+
onGradientIconBg: string;
|
|
153
|
+
onGradientIconBorder: string;
|
|
144
154
|
};
|
|
145
155
|
input: {
|
|
146
156
|
default: string;
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
* Primitive palette mirrored from mobile v2 design system:
|
|
3
3
|
* zebpay_multiplatform/design/v2/.../znew/color/ZColors.kt
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Web uses RGBA-style hex (#RRGGBB / #RRGGBBAA), never Android ARGB.
|
|
6
|
+
* Token suffix "V4" matches Kotlin dark-palette revision names — design module is v2.
|
|
7
7
|
*/
|
|
8
8
|
export declare const ZColors: {
|
|
9
9
|
readonly Black: "#000000";
|
|
10
10
|
readonly White: "#FFFFFF";
|
|
11
|
+
readonly White01: "#FAFDFF";
|
|
11
12
|
readonly Transparent: "transparent";
|
|
12
13
|
readonly Overlay: "#0C0C2466";
|
|
13
14
|
readonly Blue01: "#222245";
|
|
@@ -22,6 +23,8 @@ export declare const ZColors: {
|
|
|
22
23
|
readonly Blue10: "#D9EAFF";
|
|
23
24
|
readonly Blue11: "#338FFF0A";
|
|
24
25
|
readonly Blue12: "#EBF4FF";
|
|
26
|
+
readonly BlueV404: "#1D212B";
|
|
27
|
+
readonly Blue013: "#D9E5FD";
|
|
25
28
|
readonly Grey01: "#C2C2DD";
|
|
26
29
|
readonly Grey02: "#34345A";
|
|
27
30
|
readonly Grey03: "#6B6B6B";
|
|
@@ -54,7 +57,8 @@ export declare const ZColors: {
|
|
|
54
57
|
readonly GreenV4: "#0FC985";
|
|
55
58
|
readonly GreenTransBgV4: "#0E362F";
|
|
56
59
|
readonly GreyTransBgV4: "#14161C";
|
|
57
|
-
readonly RedTagTextV4: "#
|
|
60
|
+
readonly RedTagTextV4: "#F15757";
|
|
61
|
+
readonly RedTagText01V4: "#FF9BA3";
|
|
58
62
|
readonly IconTapSelectedV4: "#6A93FF";
|
|
59
63
|
readonly IconSecondaryV4: "#8B95B0";
|
|
60
64
|
readonly IconTapableSelectedV4: "#5786FF";
|
|
@@ -70,10 +74,11 @@ export declare const ZColors: {
|
|
|
70
74
|
readonly TagGreyFilledV4: "#313337";
|
|
71
75
|
readonly HeaderSecondaryFillV4: "#14161C";
|
|
72
76
|
readonly TabAccentV4: "#4660FE";
|
|
73
|
-
/**
|
|
77
|
+
/** Kotlin ARGB 0x004660FE → web #RRGGBBAA */
|
|
74
78
|
readonly SecondaryFillV4: "#4660FE00";
|
|
75
79
|
readonly SecondaryTextV4: "#F8F8F8";
|
|
76
80
|
readonly FunctionalGreenV4: "#038153";
|
|
81
|
+
readonly FunctionalGreen02V4: "#15B178";
|
|
77
82
|
readonly FunctionalRedV4: "#E75252";
|
|
78
83
|
readonly FunctionalRed02V4: "#C94444";
|
|
79
84
|
readonly FunctionalYellowV4: "#B09600";
|
|
@@ -83,7 +88,18 @@ export declare const ZColors: {
|
|
|
83
88
|
readonly SuccessIconV4: "#15B178";
|
|
84
89
|
readonly ErrorIconV4: "#B84242";
|
|
85
90
|
readonly TabSecondaryV4: "#6A93FF";
|
|
86
|
-
|
|
91
|
+
/** Kotlin ARGB 0xF7252525 → web #RRGGBBAA */
|
|
92
|
+
readonly SheetScrimColor: "#252525F7";
|
|
93
|
+
/** Kotlin ARGB 0x30C0C0EE → web #RRGGBBAA */
|
|
94
|
+
readonly leverageNewV4: "#C0C0EE30";
|
|
95
|
+
readonly LightCoinBorder: "#E9EFF6";
|
|
96
|
+
readonly DarkCoinBorder: "#5F6267";
|
|
97
|
+
readonly onGradientIconLight: "#FFFFFF";
|
|
98
|
+
readonly onGradientIconBgLight: "#F6F9FF0D";
|
|
99
|
+
readonly onGradientIconBorderLight: "#F3F5FF80";
|
|
100
|
+
readonly onGradientIconDark: "#F8F8F8";
|
|
101
|
+
readonly onGradientIconBgDark: "#FFFFFF0D";
|
|
102
|
+
readonly onGradientIconBorderDark: "#FFFFFF66";
|
|
87
103
|
};
|
|
88
104
|
export declare const ZShadows: {
|
|
89
105
|
float: string;
|
|
@@ -102,7 +118,7 @@ export declare const ZShadows: {
|
|
|
102
118
|
/** Mirrored from mobile v2 ZGradientConst */
|
|
103
119
|
export declare const ZGradientConst: {
|
|
104
120
|
gradient1: readonly ["#5D7BFE", "#0974FF"];
|
|
105
|
-
gradient1V4: readonly ["#5786FF", "#
|
|
121
|
+
gradient1V4: readonly ["#5786FF", "#5786FF"];
|
|
106
122
|
gradientBlueV4: readonly ["#5786FF", "#3751FE"];
|
|
107
123
|
white: readonly ["#FFFFFF", "#FFFFFF"];
|
|
108
124
|
};
|
|
@@ -20,7 +20,7 @@ export declare const ZGradientConst: {
|
|
|
20
20
|
readonly shimmer2: readonly ["rgba(61, 61, 102, 0.92)", "#1E1E41"];
|
|
21
21
|
readonly shimmer3: readonly ["#E9EFF6", "rgba(207, 207, 207, 0)"];
|
|
22
22
|
readonly gradientBlue: readonly ["#4672DB", "#1C49B6"];
|
|
23
|
-
readonly gradient1V4: readonly ["#5786FF", "#
|
|
23
|
+
readonly gradient1V4: readonly ["#5786FF", "#5786FF"];
|
|
24
24
|
readonly gradientBlueV4: readonly ["#5786FF", "#3751FE"];
|
|
25
25
|
readonly gradient3V4: readonly ["#1D2A50", "#17203B"];
|
|
26
26
|
readonly shimmer1V4: readonly ["#252A34", "#313747"];
|
|
@@ -32,6 +32,7 @@ export declare const ZGradientConst: {
|
|
|
32
32
|
readonly gradientRedV4: string;
|
|
33
33
|
readonly purple06: string;
|
|
34
34
|
readonly header: string;
|
|
35
|
+
readonly headerV4: string;
|
|
35
36
|
readonly bottomBarLight: string;
|
|
36
37
|
readonly bottomBarV4: string;
|
|
37
38
|
};
|
|
@@ -56,6 +57,7 @@ export declare const ZGradientConstCss: {
|
|
|
56
57
|
readonly gradientRedV4: string;
|
|
57
58
|
readonly purple06: string;
|
|
58
59
|
readonly header: string;
|
|
60
|
+
readonly headerV4: string;
|
|
59
61
|
readonly bottomBarLight: string;
|
|
60
62
|
readonly bottomBarV4: string;
|
|
61
63
|
};
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Mirrored from mobile v3 ZColorScheme.kt
|
|
3
3
|
* Theme keys match web/v2: light | dark | extraDark
|
|
4
4
|
* (mobile Kotlin companion `v4Dark` → web `extraDark`)
|
|
5
|
+
*
|
|
6
|
+
* Color values stay web RGBA (#RRGGBB / #RRGGBBAA / rgba(...)), not Android ARGB.
|
|
5
7
|
*/
|
|
6
8
|
import type { Theme } from "../../globalTypings";
|
|
7
9
|
import type { ZColorSchemeV3 } from "./types";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Primitive palette mirrored from mobile v3:
|
|
3
3
|
* zebpay_multiplatform/design/v3/.../v3/color/ZColors.kt
|
|
4
|
+
*
|
|
5
|
+
* Web uses RGBA-style hex (#RRGGBB / #RRGGBBAA), never Android ARGB.
|
|
6
|
+
* Kotlin Color(0xAARRGGBB) → web #RRGGBBAA (or #RRGGBB when AA=FF).
|
|
4
7
|
*/
|
|
5
8
|
export declare const ZColorsV3: {
|
|
6
9
|
readonly Primary01: "#34345A";
|
|
@@ -11,7 +14,9 @@ export declare const ZColorsV3: {
|
|
|
11
14
|
readonly White01: "#FAFDFF";
|
|
12
15
|
readonly White02: "#F4F7FF";
|
|
13
16
|
readonly White03: "#F6F9FF";
|
|
17
|
+
/** Kotlin ARGB 0x80F3F5FF → web #RRGGBBAA */
|
|
14
18
|
readonly White04: "#F3F5FF80";
|
|
19
|
+
/** Kotlin ARGB 0x0DF6F9FF → web #RRGGBBAA */
|
|
15
20
|
readonly White05: "#F6F9FF0D";
|
|
16
21
|
readonly Black01: "#0C0E29";
|
|
17
22
|
readonly Black02: "#101535";
|
|
@@ -19,6 +24,7 @@ export declare const ZColorsV3: {
|
|
|
19
24
|
readonly Black04: "#2F2D5B";
|
|
20
25
|
readonly Black05: "#202543";
|
|
21
26
|
readonly Black06: "#43496D";
|
|
27
|
+
/** Kotlin ARGB 0xB3191A39 → web #RRGGBBAA */
|
|
22
28
|
readonly Black07: "#191A39B3";
|
|
23
29
|
readonly Grey01: "#828282";
|
|
24
30
|
readonly Grey02: "#B5B5B5";
|
|
@@ -49,7 +55,9 @@ export declare const ZColorsV3: {
|
|
|
49
55
|
readonly Yellow05: "#FFF6DB";
|
|
50
56
|
readonly Yellow06: "#EDA42D";
|
|
51
57
|
readonly Yellow07: "#E3A43F";
|
|
58
|
+
/** Kotlin ARGB 0x801F3C63 → web #RRGGBBAA */
|
|
52
59
|
readonly Blur01: "#1F3C6380";
|
|
60
|
+
/** Kotlin ARGB 0x8016205E → web #RRGGBBAA */
|
|
53
61
|
readonly Blur02: "#16205E80";
|
|
54
62
|
readonly FiatColor: "#309BF2";
|
|
55
63
|
readonly CryptoColor: "#A76AF6";
|
|
@@ -73,7 +81,9 @@ export declare const ZColorsV3: {
|
|
|
73
81
|
readonly V4Yellow01: "#B09600";
|
|
74
82
|
readonly V4Yellow02: "#FFF15A";
|
|
75
83
|
readonly V4White01: "#F8F8F8";
|
|
84
|
+
/** Kotlin ARGB 0x0DFFFFFF → web #RRGGBBAA */
|
|
76
85
|
readonly V4WhiteTransparent: "#FFFFFF0D";
|
|
86
|
+
/** Kotlin ARGB 0x66FFFFFF → web #RRGGBBAA */
|
|
77
87
|
readonly V4WhiteTransparent01: "#FFFFFF66";
|
|
78
88
|
readonly V4Primary01: "#4D4CFE";
|
|
79
89
|
readonly V4Red02: "#C24239";
|
|
@@ -87,5 +97,10 @@ export declare const ZColorsV3: {
|
|
|
87
97
|
readonly V4IllustrationRed01: "#F75C5C";
|
|
88
98
|
readonly V4Banner01: "#17293B";
|
|
89
99
|
readonly V4CyclicTextColor: "#6A93FF";
|
|
100
|
+
readonly TabTextActive: "#6A93FF";
|
|
101
|
+
/** Kotlin ARGB 0x99252525 → web #RRGGBBAA */
|
|
102
|
+
readonly SheetScrimColor: "#25252599";
|
|
103
|
+
readonly LightCoinBorder: "#E9EFF6";
|
|
104
|
+
readonly DarkCoinBorder: "#5F6267";
|
|
90
105
|
};
|
|
91
106
|
export type ZColorNameV3 = keyof typeof ZColorsV3;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Gradient primitives mirrored from mobile v3 ZGradientColors.kt
|
|
3
|
+
*
|
|
4
|
+
* Web uses RGBA-style hex (#RRGGBB / #RRGGBBAA) in stops, never Android ARGB.
|
|
5
|
+
* Kotlin Color(0xAARRGGBB) → web #RRGGBBAA.
|
|
3
6
|
*/
|
|
4
7
|
export declare const ZGradientColorsV3: {
|
|
5
8
|
readonly Primary01: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
@@ -39,5 +42,6 @@ export declare const ZGradientColorsV3: {
|
|
|
39
42
|
readonly V4Gradient08: "linear-gradient(180deg, #22D4AB33 0%, #59DA8900 100%)";
|
|
40
43
|
readonly V4Gradient09: "linear-gradient(180deg, #D4222233 0%, #DA595900 100%)";
|
|
41
44
|
readonly V4GradientCyclic: "linear-gradient(180deg, #D4222233 0%, #DA595900 100%)";
|
|
45
|
+
readonly V4Primary01: "linear-gradient(90deg, #5786FF 0%, #5786FF 100%)";
|
|
42
46
|
};
|
|
43
47
|
export type ZGradientColorNameV3 = keyof typeof ZGradientColorsV3;
|
|
@@ -5,13 +5,16 @@ export declare const ZBannerColors: {
|
|
|
5
5
|
readonly light: {
|
|
6
6
|
readonly default: "linear-gradient(65deg, #E9F7FF 0%, #D8EDFF 31%, #F5FCF0 60.5%, #E6EEFF 84.5691%)";
|
|
7
7
|
readonly purple: "linear-gradient(287deg, #BE23E7 0%, #5132D9 54%, #3794FF 100%)";
|
|
8
|
+
readonly stripGradient: "linear-gradient(65deg, #E9F7FF 0%, #D8EDFF 31%, #F5FCF0 60.5%, #E6EEFF 84.5691%)";
|
|
8
9
|
};
|
|
9
10
|
readonly dark: {
|
|
10
11
|
readonly default: "linear-gradient(65deg, #0A1244 0%, #182D80 50%, #130955 100%)";
|
|
11
12
|
readonly purple: "linear-gradient(287deg, #BE23E7 0%, #5132D9 54%, #3794FF 100%)";
|
|
13
|
+
readonly stripGradient: "linear-gradient(176deg, #1C355B 3.1%, #22375A 97.44%)";
|
|
12
14
|
};
|
|
13
15
|
readonly extraDark: {
|
|
14
16
|
readonly default: "linear-gradient(356deg, #1D2A50 2.56%, #17203B 96.9%)";
|
|
15
17
|
readonly purple: "linear-gradient(287deg, #BE23E7 0%, #5132D9 54%, #3794FF 100%)";
|
|
18
|
+
readonly stripGradient: "linear-gradient(176deg, #1C355B 3.1%, #22375A 97.44%)";
|
|
16
19
|
};
|
|
17
20
|
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const ZBottomSheetColors: {
|
|
5
5
|
readonly light: {
|
|
6
|
-
readonly scrim: "#
|
|
6
|
+
readonly scrim: "#25252599";
|
|
7
7
|
readonly default: "#FFFFFF";
|
|
8
8
|
readonly green: "linear-gradient(0deg, #EFFFF1 0%, #59DA89 100%)";
|
|
9
9
|
readonly red: "linear-gradient(0deg, #FFEFEF 0%, #FF9D9D 100%)";
|
|
10
10
|
};
|
|
11
11
|
readonly dark: {
|
|
12
|
-
readonly scrim: "#
|
|
12
|
+
readonly scrim: "#25252599";
|
|
13
13
|
readonly default: "#0C0E29";
|
|
14
14
|
readonly green: "linear-gradient(0deg, #110B4B 40%, #1DAB62 100%)";
|
|
15
15
|
readonly red: "linear-gradient(0deg, #120C4B 23%, #FF6767 77%)";
|
|
@@ -18,6 +18,6 @@ export declare const ZBottomSheetColors: {
|
|
|
18
18
|
readonly default: "#000000";
|
|
19
19
|
readonly green: "linear-gradient(90deg, #000000 0%, #000000 100%)";
|
|
20
20
|
readonly red: "linear-gradient(90deg, #000000 0%, #000000 100%)";
|
|
21
|
-
readonly scrim: "#
|
|
21
|
+
readonly scrim: "#25252599";
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -16,6 +16,8 @@ export declare const ZButtonColors: {
|
|
|
16
16
|
readonly textWhite: "#FFFFFF";
|
|
17
17
|
readonly textDisable: "#B5B5B5";
|
|
18
18
|
readonly fillActive: "#FAFDFF";
|
|
19
|
+
readonly fillBannerActive: "#FAFDFF";
|
|
20
|
+
readonly textBannerActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
19
21
|
readonly fillDisable: "#FAFDFF";
|
|
20
22
|
readonly borderActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
21
23
|
readonly borderDisable: "#B5B5B5";
|
|
@@ -45,6 +47,8 @@ export declare const ZButtonColors: {
|
|
|
45
47
|
readonly textWhite: "#FFFFFF";
|
|
46
48
|
readonly textDisable: "#828282";
|
|
47
49
|
readonly fillActive: "#101535";
|
|
50
|
+
readonly fillBannerActive: "#FAFDFF";
|
|
51
|
+
readonly textBannerActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
48
52
|
readonly fillDisable: "#101535";
|
|
49
53
|
readonly borderActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
50
54
|
readonly borderDisable: "#828282";
|
|
@@ -74,11 +78,13 @@ export declare const ZButtonColors: {
|
|
|
74
78
|
readonly textWhite: "#F8F8F8";
|
|
75
79
|
readonly textDisable: "#F8F8F8";
|
|
76
80
|
readonly fillActive: "#000000";
|
|
81
|
+
readonly fillBannerActive: "#FAFDFF";
|
|
82
|
+
readonly textBannerActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
77
83
|
readonly fillDisable: "#5F6267";
|
|
78
84
|
readonly borderActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
79
85
|
readonly borderDisable: "#5F6267";
|
|
80
|
-
readonly borderGreen: "linear-gradient(90deg, #
|
|
81
|
-
readonly borderRed: "linear-gradient(90deg, #
|
|
86
|
+
readonly borderGreen: "linear-gradient(90deg, #3DC489 0%, #0F9F5A 100%)";
|
|
87
|
+
readonly borderRed: "linear-gradient(90deg, #F65053 0%, #D12A2D 100%)";
|
|
82
88
|
};
|
|
83
89
|
readonly tertiary: {
|
|
84
90
|
readonly textActive: "linear-gradient(90deg, #F8F8F8 0%, #F8F8F8 100%)";
|
|
@@ -6,6 +6,7 @@ export declare const ZCardColors: {
|
|
|
6
6
|
readonly default: "#FAFDFF";
|
|
7
7
|
readonly default02: "#FAFDFF";
|
|
8
8
|
readonly fill: "#FAFDFF";
|
|
9
|
+
readonly fillGradient: "linear-gradient(70deg, #02376E 0.0169%, #0E1A2B 50.1233%, #112842 87.1258%)";
|
|
9
10
|
readonly selected: "#F4F7FF";
|
|
10
11
|
readonly border: "#D9E5FD";
|
|
11
12
|
readonly borderYellow: "#E1A203";
|
|
@@ -17,6 +18,7 @@ export declare const ZCardColors: {
|
|
|
17
18
|
readonly default: "#131C40";
|
|
18
19
|
readonly default02: "#131C40";
|
|
19
20
|
readonly fill: "#131C40";
|
|
21
|
+
readonly fillGradient: "linear-gradient(70deg, #02376E 0.0169%, #0E1A2B 50.1233%, #112842 87.1258%)";
|
|
20
22
|
readonly selected: "#101535";
|
|
21
23
|
readonly border: "#1F2651";
|
|
22
24
|
readonly borderYellow: "#FBB127";
|
|
@@ -28,6 +30,7 @@ export declare const ZCardColors: {
|
|
|
28
30
|
readonly default: "#1D212B";
|
|
29
31
|
readonly default02: "#14161C";
|
|
30
32
|
readonly fill: "#1D212B";
|
|
33
|
+
readonly fillGradient: "linear-gradient(356deg, #1D2A50 2.56%, #17203B 96.9%)";
|
|
31
34
|
readonly selected: "#1D212B";
|
|
32
35
|
readonly border: "#1D212B";
|
|
33
36
|
readonly borderYellow: "#FBB127";
|
|
@@ -17,6 +17,7 @@ export declare const ZIconColors: {
|
|
|
17
17
|
readonly dualToneGradient: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
18
18
|
readonly illustrationGreen: "linear-gradient(0deg, #22D4AB33 20%, #59DA8900 100%)";
|
|
19
19
|
readonly illustrationRed: "linear-gradient(180deg, #F75C5C33 20%, #F75C5C00 100%)";
|
|
20
|
+
readonly illustrationCoinBorder: "#E9EFF6";
|
|
20
21
|
};
|
|
21
22
|
readonly dark: {
|
|
22
23
|
readonly singleTonePrimary: "#FFFFFF";
|
|
@@ -33,6 +34,7 @@ export declare const ZIconColors: {
|
|
|
33
34
|
readonly dualToneGradient: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
34
35
|
readonly illustrationGreen: "linear-gradient(0deg, #22D4AB33 20%, #59DA8900 100%)";
|
|
35
36
|
readonly illustrationRed: "linear-gradient(180deg, #F75C5C33 20%, #F75C5C00 100%)";
|
|
37
|
+
readonly illustrationCoinBorder: "#5F6267";
|
|
36
38
|
};
|
|
37
39
|
readonly extraDark: {
|
|
38
40
|
readonly singleTonePrimary: "#F8F8F8";
|
|
@@ -44,10 +46,11 @@ export declare const ZIconColors: {
|
|
|
44
46
|
readonly singleToneGreen: "#0FC985";
|
|
45
47
|
readonly singleToneYellow: "#FFF15A";
|
|
46
48
|
readonly singleToneBlue: "#6A93FF";
|
|
47
|
-
readonly singleToneGrey: "#
|
|
49
|
+
readonly singleToneGrey: "#828282";
|
|
48
50
|
readonly dualToneSolid: "#F8F8F8";
|
|
49
51
|
readonly dualToneGradient: "linear-gradient(90deg, #6A93FF 0%, #6A93FF 100%)";
|
|
50
52
|
readonly illustrationGreen: "linear-gradient(0deg, #22D4AB33 20%, #59DA8900 100%)";
|
|
51
53
|
readonly illustrationRed: "linear-gradient(180deg, #F75C5C33 20%, #F75C5C00 100%)";
|
|
54
|
+
readonly illustrationCoinBorder: "#5F6267";
|
|
52
55
|
};
|
|
53
56
|
};
|
|
@@ -23,10 +23,10 @@ export declare const ZInputFieldColors: {
|
|
|
23
23
|
readonly extraDark: {
|
|
24
24
|
readonly borderDefault: "#26293E";
|
|
25
25
|
readonly borderActive: "#4D4CFE";
|
|
26
|
-
readonly borderFilled: "#
|
|
26
|
+
readonly borderFilled: "#26293E";
|
|
27
27
|
readonly borderError: "#E75252";
|
|
28
28
|
readonly borderDisabled: "#5F6267";
|
|
29
|
-
readonly backgroundDefault: "#
|
|
30
|
-
readonly backgroundDisabled: "#
|
|
29
|
+
readonly backgroundDefault: "#1D212B";
|
|
30
|
+
readonly backgroundDisabled: "#1D212B";
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -12,6 +12,9 @@ export declare const ZNavigationColors: {
|
|
|
12
12
|
readonly onGradientIcon: "#FFFFFF";
|
|
13
13
|
readonly onGradientIconBg: "#F6F9FF0D";
|
|
14
14
|
readonly onGradientIconBorder: "#F3F5FF80";
|
|
15
|
+
readonly onSheetGradientIcon: "#FFFFFF";
|
|
16
|
+
readonly onSheetGradientIconBg: "#F6F9FF0D";
|
|
17
|
+
readonly onSheetGradientIconBorder: "#F3F5FF80";
|
|
15
18
|
};
|
|
16
19
|
readonly bottom: {
|
|
17
20
|
readonly background: "#FFFFFF";
|
|
@@ -29,6 +32,9 @@ export declare const ZNavigationColors: {
|
|
|
29
32
|
readonly onGradientIcon: "#FFFFFF";
|
|
30
33
|
readonly onGradientIconBg: "#F6F9FF0D";
|
|
31
34
|
readonly onGradientIconBorder: "#F3F5FF80";
|
|
35
|
+
readonly onSheetGradientIcon: "#FFFFFF";
|
|
36
|
+
readonly onSheetGradientIconBg: "#F6F9FF0D";
|
|
37
|
+
readonly onSheetGradientIconBorder: "#F3F5FF80";
|
|
32
38
|
};
|
|
33
39
|
readonly bottom: {
|
|
34
40
|
readonly background: "#0C0E29";
|
|
@@ -46,6 +52,9 @@ export declare const ZNavigationColors: {
|
|
|
46
52
|
readonly onGradientIcon: "#F8F8F8";
|
|
47
53
|
readonly onGradientIconBg: "#FFFFFF0D";
|
|
48
54
|
readonly onGradientIconBorder: "#FFFFFF66";
|
|
55
|
+
readonly onSheetGradientIcon: "#F8F8F8";
|
|
56
|
+
readonly onSheetGradientIconBg: "#F6F9FF0D";
|
|
57
|
+
readonly onSheetGradientIconBorder: "#26293E";
|
|
49
58
|
};
|
|
50
59
|
readonly bottom: {
|
|
51
60
|
readonly background: "#000000";
|
|
@@ -28,7 +28,7 @@ export declare const ZPillsColors: {
|
|
|
28
28
|
readonly textDefault: "#C0C7DC";
|
|
29
29
|
readonly textActive: "#F8F8F8";
|
|
30
30
|
readonly textDisabled: "#5F6267";
|
|
31
|
-
readonly fillDefault: "#
|
|
31
|
+
readonly fillDefault: "#000000";
|
|
32
32
|
readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
|
|
33
33
|
readonly fillDisabled: "#5F6267";
|
|
34
34
|
readonly borderDefault: "#26293E";
|
|
@@ -15,6 +15,6 @@ export declare const ZSeparatorColors: {
|
|
|
15
15
|
readonly extraDark: {
|
|
16
16
|
readonly solidDefault: "#26293E";
|
|
17
17
|
readonly solidOnGradient: "#F6F9FF0D";
|
|
18
|
-
readonly gradientDefault: "linear-gradient(90deg, #
|
|
18
|
+
readonly gradientDefault: "linear-gradient(90deg, #26293E00 0%, #26293E 30%, #26293E 70%, #26293E00 100%)";
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -82,7 +82,7 @@ export declare const ZTabColors: {
|
|
|
82
82
|
};
|
|
83
83
|
readonly tertiary: {
|
|
84
84
|
readonly textDefault: "#C0C7DC";
|
|
85
|
-
readonly textActive: "linear-gradient(90deg, #
|
|
85
|
+
readonly textActive: "linear-gradient(90deg, #6A93FF 0%, #6A93FF 100%)";
|
|
86
86
|
readonly textDisable: "#5F6267";
|
|
87
87
|
};
|
|
88
88
|
};
|
|
@@ -8,6 +8,7 @@ export type ZColorSchemeV3 = {
|
|
|
8
8
|
banner: {
|
|
9
9
|
default: string;
|
|
10
10
|
purple: string;
|
|
11
|
+
stripGradient: string;
|
|
11
12
|
};
|
|
12
13
|
blurHighlight: {
|
|
13
14
|
green: string;
|
|
@@ -34,6 +35,8 @@ export type ZColorSchemeV3 = {
|
|
|
34
35
|
textWhite: string;
|
|
35
36
|
textDisable: string;
|
|
36
37
|
fillActive: string;
|
|
38
|
+
fillBannerActive: string;
|
|
39
|
+
textBannerActive: string;
|
|
37
40
|
fillDisable: string;
|
|
38
41
|
borderActive: string;
|
|
39
42
|
borderDisable: string;
|
|
@@ -53,6 +56,7 @@ export type ZColorSchemeV3 = {
|
|
|
53
56
|
default: string;
|
|
54
57
|
default02: string;
|
|
55
58
|
fill: string;
|
|
59
|
+
fillGradient: string;
|
|
56
60
|
selected: string;
|
|
57
61
|
border: string;
|
|
58
62
|
borderYellow: string;
|
|
@@ -92,6 +96,7 @@ export type ZColorSchemeV3 = {
|
|
|
92
96
|
dualToneGradient: string;
|
|
93
97
|
illustrationGreen: string;
|
|
94
98
|
illustrationRed: string;
|
|
99
|
+
illustrationCoinBorder: string;
|
|
95
100
|
};
|
|
96
101
|
inputField: {
|
|
97
102
|
borderDefault: string;
|
|
@@ -117,6 +122,9 @@ export type ZColorSchemeV3 = {
|
|
|
117
122
|
onGradientIcon: string;
|
|
118
123
|
onGradientIconBg: string;
|
|
119
124
|
onGradientIconBorder: string;
|
|
125
|
+
onSheetGradientIcon: string;
|
|
126
|
+
onSheetGradientIconBg: string;
|
|
127
|
+
onSheetGradientIconBorder: string;
|
|
120
128
|
};
|
|
121
129
|
bottom: {
|
|
122
130
|
background: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import type { Theme } from "../../globalTypings";
|
|
1
|
+
import type { ThemeVersion, Theme } from "../../globalTypings";
|
|
2
|
+
import type { PinInputBorderRadiusType } from "./typing";
|
|
3
|
+
export declare const resolveBorderRadius: (borderRadius?: number, borderRadiusType?: PinInputBorderRadiusType) => string;
|
|
2
4
|
export declare const pins: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const label: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const label: (mode?: Theme, version?: ThemeVersion, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const labelError: (mode?: Theme, version?: ThemeVersion) => import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const inputFocused: (focused: boolean, inValid: boolean, mode?: Theme, version?: ThemeVersion) => import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const invalidPins: (mode?: Theme, version?: ThemeVersion) => import("@emotion/react").SerializedStyles;
|
|
6
9
|
export declare const inputContainer: import("@emotion/react").SerializedStyles;
|
|
7
|
-
export declare const input: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const maskStyle: (mode?: Theme) => import("@emotion/react").SerializedStyles;
|
|
10
|
+
export declare const input: (mode?: Theme, version?: ThemeVersion, borderRadius?: number, borderRadiusType?: PinInputBorderRadiusType, disabled?: boolean) => import("@emotion/react").SerializedStyles;
|
|
11
|
+
export declare const maskStyle: (mode?: Theme, version?: ThemeVersion) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import type { Theme } from "../../globalTypings";
|
|
3
|
+
import type { ThemeVersion, Theme } from "../../globalTypings";
|
|
4
|
+
export type PinInputBorderRadiusType = "px" | "%";
|
|
4
5
|
export type PinInputProps = {
|
|
5
6
|
label?: string;
|
|
6
7
|
values: string[];
|
|
@@ -18,6 +19,12 @@ export type PinInputProps = {
|
|
|
18
19
|
inputContainerStyle?: SerializedStyles;
|
|
19
20
|
inputFieldStyle?: SerializedStyles;
|
|
20
21
|
mode?: Theme;
|
|
22
|
+
/** Color scheme generation — defaults to v2 */
|
|
23
|
+
version?: ThemeVersion;
|
|
24
|
+
/** Cell corner radius value — defaults to 5 */
|
|
25
|
+
borderRadius?: number;
|
|
26
|
+
/** Unit for borderRadius — `"px"` (default) or `"%"` */
|
|
27
|
+
borderRadiusType?: PinInputBorderRadiusType;
|
|
21
28
|
} & Pick<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "id" | "inputMode" | "onBlur" | "onFocus" | "onKeyDown" | "placeholder">;
|
|
22
29
|
export type PinInputFieldProps = {
|
|
23
30
|
index: number;
|