zebpay-ui 0.0.128 → 0.0.129

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.
@@ -1,4 +1,4 @@
1
1
  export { ZThemeProvider, useZTheme, ThemeContext } from "./ZThemeProvider";
2
2
  export type { ZThemeProviderProps, ThemeContextValue } from "./ZThemeProvider";
3
3
  export { lightColorScheme, darkColorScheme, extraDarkColorScheme, getZColorSchemeForTheme, ZColors, ZGradientConst, } from "./zColorScheme";
4
- export type { ZColorScheme } from "./types";
4
+ export type { ZColorScheme, ButtonColorScheme } from "./types";
@@ -14,6 +14,15 @@ export interface TabColorScheme {
14
14
  tertiaryDefaultText: string;
15
15
  tertiaryDefaultStroke: string;
16
16
  }
17
+ /** Mirrored from mobile v2 ZButtonColors (Buttons.kt) */
18
+ export interface ButtonColorScheme {
19
+ primaryFill: string;
20
+ primaryText: string;
21
+ secondaryFill: string;
22
+ secondaryText: string;
23
+ secondaryStroke: string;
24
+ disabled: string;
25
+ }
17
26
  export interface ZGradientScheme {
18
27
  primary: string;
19
28
  tertiary: string;
@@ -141,6 +150,7 @@ export interface ZColorScheme {
141
150
  };
142
151
  overlay: string;
143
152
  tab: TabColorScheme;
153
+ button: ButtonColorScheme;
144
154
  gradients: ZGradientScheme;
145
155
  gradientPalette: ZGradientPalette;
146
156
  shadows: ZShadowScheme;
@@ -70,6 +70,9 @@ export declare const ZColors: {
70
70
  readonly TagGreyFilledV4: "#313337";
71
71
  readonly HeaderSecondaryFillV4: "#14161C";
72
72
  readonly TabAccentV4: "#4660FE";
73
+ /** Android ARGB 0x004660FE — transparent secondary button fill (darkV4) */
74
+ readonly SecondaryFillV4: "#4660FE00";
75
+ readonly SecondaryTextV4: "#F8F8F8";
73
76
  readonly FunctionalGreenV4: "#038153";
74
77
  readonly FunctionalRedV4: "#E75252";
75
78
  readonly FunctionalRed02V4: "#C94444";
@@ -100,6 +103,7 @@ export declare const ZShadows: {
100
103
  export declare const ZGradientConst: {
101
104
  gradient1: readonly ["#5D7BFE", "#0974FF"];
102
105
  gradient1V4: readonly ["#5786FF", "#3751FE"];
106
+ gradientBlueV4: readonly ["#5786FF", "#3751FE"];
103
107
  white: readonly ["#FFFFFF", "#FFFFFF"];
104
108
  };
105
109
  export declare const linearGradient: (from: string, to: string, angle?: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zebpay-ui",
3
- "version": "0.0.128",
3
+ "version": "0.0.129",
4
4
  "description": "A lightweight component and utilities library Design System created using React",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",