zebpay-ui 0.0.124 → 0.0.126

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.
Files changed (105) hide show
  1. package/dist/cjs/components/Checkbox/styles.d.ts +1 -1
  2. package/dist/cjs/components/Input/typings.d.ts +1 -1
  3. package/dist/cjs/components/MobileCalenderPicker/styles.d.ts +3 -4
  4. package/dist/cjs/components/QuantityInput/index.d.ts +4 -0
  5. package/dist/cjs/components/QuantityInput/styles.d.ts +29 -0
  6. package/dist/cjs/components/QuantityInput/typings.d.ts +48 -0
  7. package/dist/cjs/components/SearchInput/index.d.ts +1 -0
  8. package/dist/cjs/components/Tabs/TabsDropdown/styles.d.ts +1 -2
  9. package/dist/cjs/components/Tabs/index.d.ts +0 -1
  10. package/dist/cjs/components/Tabs/styles.d.ts +8 -12
  11. package/dist/cjs/components/Tabs/typings.d.ts +1 -0
  12. package/dist/cjs/components/Tags/style.d.ts +3 -1
  13. package/dist/cjs/components/index.d.ts +2 -1
  14. package/dist/cjs/index.d.ts +2 -2
  15. package/dist/cjs/index.js +31 -31
  16. package/dist/cjs/index.js.map +1 -1
  17. package/dist/cjs/theme/index.d.ts +4 -5
  18. package/dist/cjs/theme/{ZThemeProvider.d.ts → v2/ZThemeProvider.d.ts} +1 -2
  19. package/dist/{esm/theme → cjs/theme/v2}/componentColors.d.ts +1 -1
  20. package/dist/cjs/theme/v2/index.d.ts +4 -0
  21. package/dist/{esm/theme → cjs/theme/v2}/zColorScheme.d.ts +1 -1
  22. package/dist/cjs/theme/v3/ZColorScheme.d.ts +14 -0
  23. package/dist/cjs/theme/v3/ZColors.d.ts +91 -0
  24. package/dist/cjs/theme/v3/ZGradientColors.d.ts +43 -0
  25. package/dist/cjs/theme/v3/ZThemeProvider.d.ts +18 -0
  26. package/dist/cjs/theme/v3/categories/ZBackgroundColors.d.ts +14 -0
  27. package/dist/cjs/theme/v3/categories/ZBannerColors.d.ts +17 -0
  28. package/dist/cjs/theme/v3/categories/ZBlurHighlightColor.d.ts +20 -0
  29. package/dist/cjs/theme/v3/categories/ZBottomSheetColors.d.ts +23 -0
  30. package/dist/cjs/theme/v3/categories/ZButtonColors.d.ts +92 -0
  31. package/dist/cjs/theme/v3/categories/ZCardColors.d.ts +38 -0
  32. package/dist/cjs/theme/v3/categories/ZGraphColor.d.ts +17 -0
  33. package/dist/cjs/theme/v3/categories/ZGraphicsColors.d.ts +44 -0
  34. package/dist/cjs/theme/v3/categories/ZIconColors.d.ts +53 -0
  35. package/dist/cjs/theme/v3/categories/ZInputFieldColors.d.ts +32 -0
  36. package/dist/cjs/theme/v3/categories/ZMiscGradients.d.ts +20 -0
  37. package/dist/cjs/theme/v3/categories/ZNavigationColors.d.ts +56 -0
  38. package/dist/cjs/theme/v3/categories/ZNoteColors.d.ts +26 -0
  39. package/dist/cjs/theme/v3/categories/ZPillsColors.d.ts +38 -0
  40. package/dist/cjs/theme/v3/categories/ZScrollBarColors.d.ts +14 -0
  41. package/dist/cjs/theme/v3/categories/ZSeparatorColors.d.ts +20 -0
  42. package/dist/cjs/theme/v3/categories/ZShimmerColors.d.ts +17 -0
  43. package/dist/cjs/theme/v3/categories/ZStatusTagColors.d.ts +32 -0
  44. package/dist/cjs/theme/v3/categories/ZTabColors.d.ts +89 -0
  45. package/dist/cjs/theme/v3/categories/ZTextColors.d.ts +41 -0
  46. package/dist/cjs/theme/v3/categories/ZToastColors.d.ts +47 -0
  47. package/dist/cjs/theme/v3/index.d.ts +8 -0
  48. package/dist/cjs/theme/v3/types.d.ts +220 -0
  49. package/dist/esm/components/Checkbox/styles.d.ts +1 -1
  50. package/dist/esm/components/Input/typings.d.ts +1 -1
  51. package/dist/esm/components/MobileCalenderPicker/styles.d.ts +3 -4
  52. package/dist/esm/components/QuantityInput/index.d.ts +4 -0
  53. package/dist/esm/components/QuantityInput/styles.d.ts +29 -0
  54. package/dist/esm/components/QuantityInput/typings.d.ts +48 -0
  55. package/dist/esm/components/SearchInput/index.d.ts +1 -0
  56. package/dist/esm/components/Tabs/TabsDropdown/styles.d.ts +1 -2
  57. package/dist/esm/components/Tabs/index.d.ts +0 -1
  58. package/dist/esm/components/Tabs/styles.d.ts +8 -12
  59. package/dist/esm/components/Tabs/typings.d.ts +1 -0
  60. package/dist/esm/components/Tags/style.d.ts +3 -1
  61. package/dist/esm/components/index.d.ts +2 -1
  62. package/dist/esm/index.d.ts +2 -2
  63. package/dist/esm/index.js +28 -28
  64. package/dist/esm/index.js.map +1 -1
  65. package/dist/esm/theme/index.d.ts +4 -5
  66. package/dist/esm/theme/{ZThemeProvider.d.ts → v2/ZThemeProvider.d.ts} +1 -2
  67. package/dist/{cjs/theme → esm/theme/v2}/componentColors.d.ts +1 -1
  68. package/dist/esm/theme/v2/index.d.ts +4 -0
  69. package/dist/{cjs/theme → esm/theme/v2}/zColorScheme.d.ts +1 -1
  70. package/dist/esm/theme/v3/ZColorScheme.d.ts +14 -0
  71. package/dist/esm/theme/v3/ZColors.d.ts +91 -0
  72. package/dist/esm/theme/v3/ZGradientColors.d.ts +43 -0
  73. package/dist/esm/theme/v3/ZThemeProvider.d.ts +18 -0
  74. package/dist/esm/theme/v3/categories/ZBackgroundColors.d.ts +14 -0
  75. package/dist/esm/theme/v3/categories/ZBannerColors.d.ts +17 -0
  76. package/dist/esm/theme/v3/categories/ZBlurHighlightColor.d.ts +20 -0
  77. package/dist/esm/theme/v3/categories/ZBottomSheetColors.d.ts +23 -0
  78. package/dist/esm/theme/v3/categories/ZButtonColors.d.ts +92 -0
  79. package/dist/esm/theme/v3/categories/ZCardColors.d.ts +38 -0
  80. package/dist/esm/theme/v3/categories/ZGraphColor.d.ts +17 -0
  81. package/dist/esm/theme/v3/categories/ZGraphicsColors.d.ts +44 -0
  82. package/dist/esm/theme/v3/categories/ZIconColors.d.ts +53 -0
  83. package/dist/esm/theme/v3/categories/ZInputFieldColors.d.ts +32 -0
  84. package/dist/esm/theme/v3/categories/ZMiscGradients.d.ts +20 -0
  85. package/dist/esm/theme/v3/categories/ZNavigationColors.d.ts +56 -0
  86. package/dist/esm/theme/v3/categories/ZNoteColors.d.ts +26 -0
  87. package/dist/esm/theme/v3/categories/ZPillsColors.d.ts +38 -0
  88. package/dist/esm/theme/v3/categories/ZScrollBarColors.d.ts +14 -0
  89. package/dist/esm/theme/v3/categories/ZSeparatorColors.d.ts +20 -0
  90. package/dist/esm/theme/v3/categories/ZShimmerColors.d.ts +17 -0
  91. package/dist/esm/theme/v3/categories/ZStatusTagColors.d.ts +32 -0
  92. package/dist/esm/theme/v3/categories/ZTabColors.d.ts +89 -0
  93. package/dist/esm/theme/v3/categories/ZTextColors.d.ts +41 -0
  94. package/dist/esm/theme/v3/categories/ZToastColors.d.ts +47 -0
  95. package/dist/esm/theme/v3/index.d.ts +8 -0
  96. package/dist/esm/theme/v3/types.d.ts +220 -0
  97. package/package.json +1 -1
  98. package/dist/cjs/theme/zColorTokens.d.ts +0 -40
  99. package/dist/esm/theme/zColorTokens.d.ts +0 -40
  100. /package/dist/cjs/theme/{types.d.ts → v2/types.d.ts} +0 -0
  101. /package/dist/cjs/theme/{zColors.d.ts → v2/zColors.d.ts} +0 -0
  102. /package/dist/cjs/theme/{zGradients.d.ts → v2/zGradients.d.ts} +0 -0
  103. /package/dist/esm/theme/{types.d.ts → v2/types.d.ts} +0 -0
  104. /package/dist/esm/theme/{zColors.d.ts → v2/zColors.d.ts} +0 -0
  105. /package/dist/esm/theme/{zGradients.d.ts → v2/zGradients.d.ts} +0 -0
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZNoteColors.kt
3
+ */
4
+ export declare const ZNoteColors: {
5
+ readonly light: {
6
+ readonly textRed: "#C72A2A";
7
+ readonly textYellow: "#E1A203";
8
+ readonly textGreen: "#107D63";
9
+ readonly borderDefault: "#D9E5FD";
10
+ readonly backgroundDefault: "#FAFDFF";
11
+ };
12
+ readonly dark: {
13
+ readonly textRed: "#F75C5C";
14
+ readonly textYellow: "#FBB127";
15
+ readonly textGreen: "#0FC985";
16
+ readonly borderDefault: "#1F2651";
17
+ readonly backgroundDefault: "#131C40";
18
+ };
19
+ readonly extraDark: {
20
+ readonly textRed: "#E75252";
21
+ readonly textYellow: "#FFF15A";
22
+ readonly textGreen: "#0FC985";
23
+ readonly borderDefault: "#1D212B";
24
+ readonly backgroundDefault: "#1D212B";
25
+ };
26
+ };
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZPillsColors.kt
3
+ */
4
+ export declare const ZPillsColors: {
5
+ readonly light: {
6
+ readonly textDefault: "#484865";
7
+ readonly textActive: "#FFFFFF";
8
+ readonly textDisabled: "#B5B5B5";
9
+ readonly fillDefault: "#F4F7FF";
10
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
11
+ readonly fillDisabled: "#F4F7FF";
12
+ readonly borderDefault: "#D9E5FD";
13
+ readonly borderActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
14
+ readonly boarderDisabled: "#B5B5B5";
15
+ };
16
+ readonly dark: {
17
+ readonly textDefault: "#ACB8F8";
18
+ readonly textActive: "#FFFFFF";
19
+ readonly textDisabled: "#828282";
20
+ readonly fillDefault: "#101535";
21
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
22
+ readonly fillDisabled: "#101535";
23
+ readonly borderDefault: "#43496D";
24
+ readonly borderActive: "linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 100%)";
25
+ readonly boarderDisabled: "#828282";
26
+ };
27
+ readonly extraDark: {
28
+ readonly textDefault: "#C0C7DC";
29
+ readonly textActive: "#F8F8F8";
30
+ readonly textDisabled: "#5F6267";
31
+ readonly fillDefault: "#14161C";
32
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
33
+ readonly fillDisabled: "#5F6267";
34
+ readonly borderDefault: "#26293E";
35
+ readonly borderActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
36
+ readonly boarderDisabled: "#5F6267";
37
+ };
38
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZScrollBarColors.kt
3
+ */
4
+ export declare const ZScrollBarColors: {
5
+ readonly light: {
6
+ readonly default: "#D9E5FD";
7
+ };
8
+ readonly dark: {
9
+ readonly default: "#2F2D5B";
10
+ };
11
+ readonly extraDark: {
12
+ readonly default: "#1D212B";
13
+ };
14
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZSeparatorColors.kt
3
+ */
4
+ export declare const ZSeparatorColors: {
5
+ readonly light: {
6
+ readonly solidDefault: "#D9E5FD";
7
+ readonly solidOnGradient: "#D9E5FD";
8
+ readonly gradientDefault: "linear-gradient(90deg, #DBE2FB00 0%, #D5E9FF 30%, #DBE9FB 70%, #DBE6FB00 100%)";
9
+ };
10
+ readonly dark: {
11
+ readonly solidDefault: "#202543";
12
+ readonly solidOnGradient: "#F3F5FF80";
13
+ readonly gradientDefault: "linear-gradient(90deg, #2F355400 0%, #393F61 30%, #393F61 70%, #2F355400 100%)";
14
+ };
15
+ readonly extraDark: {
16
+ readonly solidDefault: "#26293E";
17
+ readonly solidOnGradient: "#F6F9FF0D";
18
+ readonly gradientDefault: "linear-gradient(90deg, #1A1C27 0%, #1A1C27 100%)";
19
+ };
20
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZShimmerColors.kt
3
+ */
4
+ export declare const ZShimmerColors: {
5
+ readonly light: {
6
+ readonly shimmer01: "#F4F7FF";
7
+ readonly shimmer02: "#F6F9FF";
8
+ };
9
+ readonly dark: {
10
+ readonly shimmer01: "#131C40";
11
+ readonly shimmer02: "#101535";
12
+ };
13
+ readonly extraDark: {
14
+ readonly shimmer01: "#252A34";
15
+ readonly shimmer02: "#101535";
16
+ };
17
+ };
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZStatusTagColors.kt
3
+ */
4
+ export declare const ZStatusTagColors: {
5
+ readonly light: {
6
+ readonly text: "#FFFFFF";
7
+ readonly red: "#D94646";
8
+ readonly green: "#107D63";
9
+ readonly yellow: "#FBB127";
10
+ readonly blue: "#3563FD";
11
+ readonly blue02: "#8595BC";
12
+ readonly grey: "#828282";
13
+ };
14
+ readonly dark: {
15
+ readonly text: "#FFFFFF";
16
+ readonly red: "#D94646";
17
+ readonly green: "#107D63";
18
+ readonly yellow: "#FBB127";
19
+ readonly blue: "#3563FD";
20
+ readonly blue02: "#8595BC";
21
+ readonly grey: "#B5B5B5";
22
+ };
23
+ readonly extraDark: {
24
+ readonly text: "#F8F8F8";
25
+ readonly red: "#E75252";
26
+ readonly green: "#038153";
27
+ readonly yellow: "#B09600";
28
+ readonly blue: "#6A93FF";
29
+ readonly blue02: "#647096";
30
+ readonly grey: "#2B2B30";
31
+ };
32
+ };
@@ -0,0 +1,89 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZTabColors.kt
3
+ */
4
+ export declare const ZTabColors: {
5
+ readonly light: {
6
+ readonly primary: {
7
+ readonly textActive: "#FFFFFF";
8
+ readonly textDefault: "#484865";
9
+ readonly textDisable: "#B5B5B5";
10
+ readonly fillDefault: "#FAFDFF";
11
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
12
+ readonly fillDisable: "#F3F5FF80";
13
+ readonly borderDefault: "#D9E5FD";
14
+ readonly borderDisable: "#B5B5B5";
15
+ };
16
+ readonly secondary: {
17
+ readonly textDefault: "#484865";
18
+ readonly textActive: "#FFFFFF";
19
+ readonly textDisable: "#B5B5B5";
20
+ readonly fillDefault: "#F4F7FF";
21
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
22
+ readonly fillDisable: "#F4F7FF";
23
+ readonly borderDefault: "#D9E5FD";
24
+ readonly borderActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
25
+ readonly borderDisable: "#B5B5B5";
26
+ };
27
+ readonly tertiary: {
28
+ readonly textDefault: "#484865";
29
+ readonly textActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
30
+ readonly textDisable: "#B5B5B5";
31
+ };
32
+ };
33
+ readonly dark: {
34
+ readonly primary: {
35
+ readonly textActive: "#FFFFFF";
36
+ readonly textDefault: "#ACB8F8";
37
+ readonly textDisable: "#828282";
38
+ readonly fillDefault: "#131C40";
39
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
40
+ readonly fillDisable: "#131C40";
41
+ readonly borderDefault: "#43496D";
42
+ readonly borderDisable: "#828282";
43
+ };
44
+ readonly secondary: {
45
+ readonly textDefault: "#ACB8F8";
46
+ readonly textActive: "#FFFFFF";
47
+ readonly textDisable: "#828282";
48
+ readonly fillDefault: "#101535";
49
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
50
+ readonly fillDisable: "#101535";
51
+ readonly borderDefault: "#43496D";
52
+ readonly borderActive: "linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 100%)";
53
+ readonly borderDisable: "#828282";
54
+ };
55
+ readonly tertiary: {
56
+ readonly textDefault: "#ACB8F8";
57
+ readonly textActive: "linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 100%)";
58
+ readonly textDisable: "#828282";
59
+ };
60
+ };
61
+ readonly extraDark: {
62
+ readonly primary: {
63
+ readonly textActive: "#F8F8F8";
64
+ readonly textDefault: "#C0C7DC";
65
+ readonly textDisable: "#5F6267";
66
+ readonly fillDefault: "#14161C";
67
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
68
+ readonly fillDisable: "#5F6267";
69
+ readonly borderDefault: "#1A1C27";
70
+ readonly borderDisable: "#5F6267";
71
+ };
72
+ readonly secondary: {
73
+ readonly textDefault: "#C0C7DC";
74
+ readonly textActive: "#F8F8F8";
75
+ readonly textDisable: "#5F6267";
76
+ readonly fillDefault: "#14161C";
77
+ readonly fillActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
78
+ readonly fillDisable: "#5F6267";
79
+ readonly borderDefault: "#1A1C27";
80
+ readonly borderActive: "linear-gradient(90deg, #5786FF 0%, #3751FE 100%)";
81
+ readonly borderDisable: "#5F6267";
82
+ };
83
+ readonly tertiary: {
84
+ readonly textDefault: "#C0C7DC";
85
+ readonly textActive: "linear-gradient(90deg, #F8F8F8 0%, #F8F8F8 100%)";
86
+ readonly textDisable: "#5F6267";
87
+ };
88
+ };
89
+ };
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZTextColors.kt
3
+ */
4
+ export declare const ZTextColors: {
5
+ readonly light: {
6
+ readonly primary: "#34345A";
7
+ readonly secondary: "#484865";
8
+ readonly white: "#FFFFFF";
9
+ readonly disabled: "#B5B5B5";
10
+ readonly red: "#C72A2A";
11
+ readonly blue: "#3563FD";
12
+ readonly green: "#107D63";
13
+ readonly greenOnGradient: "#0FC985";
14
+ readonly yellow: "#E1A203";
15
+ readonly grey: "#828282";
16
+ };
17
+ readonly dark: {
18
+ readonly primary: "#FFFFFF";
19
+ readonly secondary: "#ACB8F8";
20
+ readonly white: "#FFFFFF";
21
+ readonly disabled: "#828282";
22
+ readonly red: "#F75C5C";
23
+ readonly blue: "#3563FD";
24
+ readonly green: "#0FC985";
25
+ readonly greenOnGradient: "#0FC985";
26
+ readonly yellow: "#FBB127";
27
+ readonly grey: "#B5B5B5";
28
+ };
29
+ readonly extraDark: {
30
+ readonly primary: "#F8F8F8";
31
+ readonly secondary: "#C0C7DC";
32
+ readonly white: "#F8F8F8";
33
+ readonly disabled: "#5F6267";
34
+ readonly red: "#E75252";
35
+ readonly blue: "#6A93FF";
36
+ readonly green: "#0FC985";
37
+ readonly greenOnGradient: "#0FC985";
38
+ readonly yellow: "#FBB127";
39
+ readonly grey: "#B5B5B5";
40
+ };
41
+ };
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Mirrored from mobile v3 ZToastColors.kt
3
+ */
4
+ export declare const ZToastColors: {
5
+ readonly light: {
6
+ readonly iconRed: "#C72A2A";
7
+ readonly iconYellow: "#EE9435";
8
+ readonly iconGreen: "#107D63";
9
+ readonly borderRed: "#C72A2A";
10
+ readonly borderYellow: "#EE9435";
11
+ readonly borderGreen: "#107D63";
12
+ readonly defaultBackgroundRed: "#FFDEE0";
13
+ readonly defaultBackgroundYellow: "#FFF6DB";
14
+ readonly defaultBackgroundGreen: "#DEFCF0";
15
+ readonly backgroundRed: "#E63946";
16
+ readonly backgroundYellow: "#EDA42D";
17
+ readonly backgroundGreen: "#06BD6E";
18
+ };
19
+ readonly dark: {
20
+ readonly iconRed: "#F75C5C";
21
+ readonly iconYellow: "#FBB127";
22
+ readonly iconGreen: "#0FC985";
23
+ readonly borderRed: "#F75C5C";
24
+ readonly borderYellow: "#FBB127";
25
+ readonly borderGreen: "#0FC985";
26
+ readonly defaultBackgroundRed: "#421F3B";
27
+ readonly defaultBackgroundYellow: "#3B2B0A";
28
+ readonly defaultBackgroundGreen: "#193D4E";
29
+ readonly backgroundRed: "#EA4E51";
30
+ readonly backgroundYellow: "#E3A43F";
31
+ readonly backgroundGreen: "#09B372";
32
+ };
33
+ readonly extraDark: {
34
+ readonly backgroundRed: "#E75252";
35
+ readonly backgroundYellow: "#B09600";
36
+ readonly backgroundGreen: "#038153";
37
+ readonly iconRed: "#F75C5C";
38
+ readonly iconYellow: "#FBB127";
39
+ readonly iconGreen: "#0FC985";
40
+ readonly borderRed: "#F75C5C";
41
+ readonly borderYellow: "#FBB127";
42
+ readonly borderGreen: "#0FC985";
43
+ readonly defaultBackgroundRed: "#421F3B";
44
+ readonly defaultBackgroundYellow: "#3B2B0A";
45
+ readonly defaultBackgroundGreen: "#193D4E";
46
+ };
47
+ };
@@ -0,0 +1,8 @@
1
+ export { ZThemeProviderV3, useZThemeV3, ThemeContextV3, } from "./ZThemeProvider";
2
+ export type { ZThemeProviderPropsV3, ThemeContextValueV3, } from "./ZThemeProvider";
3
+ export { ZColorsV3 } from "./ZColors";
4
+ export type { ZColorNameV3 } from "./ZColors";
5
+ export { ZGradientColorsV3 } from "./ZGradientColors";
6
+ export type { ZGradientColorNameV3 } from "./ZGradientColors";
7
+ export { lightColorSchemeV3, darkColorSchemeV3, extraDarkColorSchemeV3, getZColorSchemeForThemeV3, } from "./ZColorScheme";
8
+ export type { ZColorSchemeV3 } from "./types";
@@ -0,0 +1,220 @@
1
+ /**
2
+ * Types for mobile v3 ZColorScheme
3
+ */
4
+ export type ZColorSchemeV3 = {
5
+ background: {
6
+ default: string;
7
+ };
8
+ banner: {
9
+ default: string;
10
+ purple: string;
11
+ };
12
+ blurHighlight: {
13
+ green: string;
14
+ red: string;
15
+ yellow: string;
16
+ };
17
+ bottomSheet: {
18
+ scrim: string;
19
+ default: string;
20
+ green: string;
21
+ red: string;
22
+ };
23
+ buttons: {
24
+ primary: {
25
+ textActive: string;
26
+ textDisable: string;
27
+ fillActive: string;
28
+ fillRed: string;
29
+ fillGreen: string;
30
+ fillDisable: string;
31
+ };
32
+ secondary: {
33
+ textActive: string;
34
+ textWhite: string;
35
+ textDisable: string;
36
+ fillActive: string;
37
+ fillDisable: string;
38
+ borderActive: string;
39
+ borderDisable: string;
40
+ borderGreen: string;
41
+ borderRed: string;
42
+ };
43
+ tertiary: {
44
+ textActive: string;
45
+ textDisable: string;
46
+ textBlack: string;
47
+ textWhite: string;
48
+ tabActive: string;
49
+ cyclicActive: string;
50
+ };
51
+ };
52
+ card: {
53
+ default: string;
54
+ default02: string;
55
+ fill: string;
56
+ selected: string;
57
+ border: string;
58
+ borderYellow: string;
59
+ borderRed: string;
60
+ borderGreen: string;
61
+ borderBlue: string;
62
+ };
63
+ graph: {
64
+ green: string;
65
+ red: string;
66
+ };
67
+ graphics: {
68
+ rrMeterPrimary: string;
69
+ rrMeterSecondary: string;
70
+ pieChartGreen: string;
71
+ pieChartBlue: string;
72
+ pieChartPurple: string;
73
+ glowGreen: string;
74
+ glowRed: string;
75
+ graphGreen: string;
76
+ graphRed: string;
77
+ badgeActive: string;
78
+ badgeDefault: string;
79
+ };
80
+ icon: {
81
+ singleTonePrimary: string;
82
+ singleToneSecondary: string;
83
+ singleToneActive: string;
84
+ singleToneDisable: string;
85
+ singleToneWhite: string;
86
+ singleToneRed: string;
87
+ singleToneGreen: string;
88
+ singleToneYellow: string;
89
+ singleToneBlue: string;
90
+ singleToneGrey: string;
91
+ dualToneSolid: string;
92
+ dualToneGradient: string;
93
+ illustrationGreen: string;
94
+ illustrationRed: string;
95
+ };
96
+ inputField: {
97
+ borderDefault: string;
98
+ borderActive: string;
99
+ borderFilled: string;
100
+ borderError: string;
101
+ borderDisabled: string;
102
+ backgroundDefault: string;
103
+ backgroundDisabled: string;
104
+ };
105
+ misc: {
106
+ askGreen: string;
107
+ bidRed: string;
108
+ purple: string;
109
+ };
110
+ navigation: {
111
+ top: {
112
+ onSolidText: string;
113
+ onSolidIcon: string;
114
+ onSolidIconBg: string;
115
+ onSolidIconBorder: string;
116
+ onGradientText: string;
117
+ onGradientIcon: string;
118
+ onGradientIconBg: string;
119
+ onGradientIconBorder: string;
120
+ };
121
+ bottom: {
122
+ background: string;
123
+ active: string;
124
+ default: string;
125
+ };
126
+ };
127
+ note: {
128
+ textRed: string;
129
+ textYellow: string;
130
+ textGreen: string;
131
+ borderDefault: string;
132
+ backgroundDefault: string;
133
+ };
134
+ pills: {
135
+ textDefault: string;
136
+ textActive: string;
137
+ textDisabled: string;
138
+ fillDefault: string;
139
+ fillActive: string;
140
+ fillDisabled: string;
141
+ borderDefault: string;
142
+ borderActive: string;
143
+ boarderDisabled: string;
144
+ };
145
+ scrollBar: {
146
+ default: string;
147
+ };
148
+ separator: {
149
+ solidDefault: string;
150
+ solidOnGradient: string;
151
+ gradientDefault: string;
152
+ };
153
+ shimmer: {
154
+ shimmer01: string;
155
+ shimmer02: string;
156
+ };
157
+ status: {
158
+ text: string;
159
+ red: string;
160
+ green: string;
161
+ yellow: string;
162
+ blue: string;
163
+ blue02: string;
164
+ grey: string;
165
+ };
166
+ tab: {
167
+ primary: {
168
+ textActive: string;
169
+ textDefault: string;
170
+ textDisable: string;
171
+ fillDefault: string;
172
+ fillActive: string;
173
+ fillDisable: string;
174
+ borderDefault: string;
175
+ borderDisable: string;
176
+ };
177
+ secondary: {
178
+ textDefault: string;
179
+ textActive: string;
180
+ textDisable: string;
181
+ fillDefault: string;
182
+ fillActive: string;
183
+ fillDisable: string;
184
+ borderDefault: string;
185
+ borderActive: string;
186
+ borderDisable: string;
187
+ };
188
+ tertiary: {
189
+ textDefault: string;
190
+ textActive: string;
191
+ textDisable: string;
192
+ };
193
+ };
194
+ text: {
195
+ primary: string;
196
+ secondary: string;
197
+ white: string;
198
+ disabled: string;
199
+ red: string;
200
+ blue: string;
201
+ green: string;
202
+ greenOnGradient: string;
203
+ yellow: string;
204
+ grey: string;
205
+ };
206
+ toast: {
207
+ iconRed: string;
208
+ iconYellow: string;
209
+ iconGreen: string;
210
+ borderRed: string;
211
+ borderYellow: string;
212
+ borderGreen: string;
213
+ defaultBackgroundRed: string;
214
+ defaultBackgroundYellow: string;
215
+ defaultBackgroundGreen: string;
216
+ backgroundRed: string;
217
+ backgroundYellow: string;
218
+ backgroundGreen: string;
219
+ };
220
+ };
@@ -1,5 +1,5 @@
1
1
  import type { Theme } from "../../globalTypings";
2
- export declare const DEFAULT_SIZE = 20;
2
+ export declare const DEFAULT_SIZE = 18;
3
3
  export declare const checkboxContainer: (size?: number) => import("@emotion/react").SerializedStyles;
4
4
  export declare const labelContainer: (mode: Theme, size?: number, alignTop?: boolean) => import("@emotion/react").SerializedStyles;
5
5
  export declare const disabledLabel: import("@emotion/react").SerializedStyles;
@@ -35,5 +35,5 @@ export interface InputProps {
35
35
  patternType?: string;
36
36
  disabled?: boolean;
37
37
  invalid?: boolean;
38
- inputGroupStyles?: SerializedStyles;
38
+ inputGroupStyles?: SerializedStyles | SerializedStyles[];
39
39
  }
@@ -1,8 +1,7 @@
1
1
  import type { Theme } from "../../globalTypings";
2
2
  export declare const alignNav: import("@emotion/react").SerializedStyles;
3
- export declare const monthArrow: import("@emotion/react").SerializedStyles;
4
- export declare const navigationLabel: import("@emotion/react").SerializedStyles;
5
- export declare const dateRangePicker: import("@emotion/react").SerializedStyles;
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;
6
6
  export declare const lineBreak: (mode?: Theme) => import("@emotion/react").SerializedStyles;
7
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,4 @@
1
+ import React from "react";
2
+ import { QuantityInputProps } from "./typings";
3
+ declare const QuantityInput: React.FC<QuantityInputProps>;
4
+ export default QuantityInput;
@@ -0,0 +1,29 @@
1
+ import { Theme } from "../../globalTypings";
2
+ export declare const invalidShell: (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 shell: (theme: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
7
+ export declare const inputGroup: (theme: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
8
+ export declare const inputRow: (disabled?: boolean) => import("@emotion/react").SerializedStyles;
9
+ export declare const infoStrip: (theme: Theme) => import("@emotion/react").SerializedStyles;
10
+ export declare const infoStripLeft: import("@emotion/react").SerializedStyles;
11
+ export declare const infoStripRight: import("@emotion/react").SerializedStyles;
12
+ export declare const focusedShell: (theme: Theme) => import("@emotion/react").SerializedStyles;
13
+ export declare const formControl: (theme: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
14
+ export declare const infoCta: import("@emotion/react").SerializedStyles;
15
+ export declare const infoText: (theme: Theme) => import("@emotion/react").SerializedStyles;
16
+ export declare const errorText: (theme: Theme) => import("@emotion/react").SerializedStyles;
17
+ export declare const bottomMeta: import("@emotion/react").SerializedStyles;
18
+ export declare const unitTrigger: (theme: Theme, disabled?: boolean) => import("@emotion/react").SerializedStyles;
19
+ export declare const unitArrow: import("@emotion/react").SerializedStyles;
20
+ export declare const unitWrap: import("@emotion/react").SerializedStyles;
21
+ export declare const unitMenu: (theme: Theme, position?: {
22
+ top: number;
23
+ left: number;
24
+ minWidth: number;
25
+ }) => import("@emotion/react").SerializedStyles;
26
+ export declare const unitOverlay: import("@emotion/react").SerializedStyles;
27
+ export declare const unitOption: (theme: Theme, selected?: boolean) => import("@emotion/react").SerializedStyles;
28
+ export declare const unitDivider: (theme: Theme) => import("@emotion/react").SerializedStyles;
29
+ export declare const unitFooter: (theme: Theme) => import("@emotion/react").SerializedStyles;
@@ -0,0 +1,48 @@
1
+ import { SerializedStyles } from "@emotion/react";
2
+ import React, { KeyboardEvent, WheelEvent } from "react";
3
+ import { Theme } from "../../globalTypings";
4
+ import { InputTargetProps } from "../Input/typings";
5
+ export interface QuantityInputOption {
6
+ label: string | React.JSX.Element;
7
+ value: string;
8
+ showInfoStrip?: boolean;
9
+ }
10
+ export interface QuantityInputInfoStrip {
11
+ left?: string | React.JSX.Element;
12
+ right?: string | React.JSX.Element;
13
+ }
14
+ export interface QuantityInputProps {
15
+ label?: string;
16
+ placeholder: string;
17
+ value: string | number;
18
+ onChange: (target: InputTargetProps) => void;
19
+ name?: string;
20
+ infoText?: string;
21
+ errorText?: string;
22
+ type?: "text" | "number" | "password" | "email";
23
+ style?: SerializedStyles;
24
+ cta?: {
25
+ label: string;
26
+ onClick: () => void;
27
+ style?: SerializedStyles;
28
+ };
29
+ onFocus?: () => void;
30
+ onBlur?: () => void;
31
+ autoComplete?: "on" | "off";
32
+ autoFocus?: boolean;
33
+ theme?: Theme;
34
+ onKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
35
+ onWheel?: (event: WheelEvent<HTMLInputElement>) => void;
36
+ onPaste?: (event: React.ClipboardEvent<HTMLInputElement>) => void;
37
+ min?: number;
38
+ max?: number;
39
+ patternType?: string;
40
+ disabled?: boolean;
41
+ invalid?: boolean;
42
+ inputGroupStyles?: SerializedStyles;
43
+ options: QuantityInputOption[];
44
+ selectedUnit: string;
45
+ onUnitChange: (value: string) => void;
46
+ infoStrip?: QuantityInputInfoStrip;
47
+ }
48
+ export type { InputTargetProps };