@cranberry-money/shared-constants 8.15.370 → 8.15.372
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/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +1 -0
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/sumsub-theme.d.ts +78 -0
- package/dist/ui/sumsub-theme.d.ts.map +1 -0
- package/dist/ui/sumsub-theme.js +84 -0
- package/dist/ui/sumsub-theme.js.map +1 -0
- package/package.json +1 -1
package/dist/ui/index.d.ts
CHANGED
package/dist/ui/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
package/dist/ui/index.js
CHANGED
package/dist/ui/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sumsub Mobile SDK Theme Configuration
|
|
3
|
+
* Customizes the identity verification widget to match Blueberry brand colors
|
|
4
|
+
*
|
|
5
|
+
* @see https://docs.sumsub.com/docs/plugins-customization
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Sumsub theme configuration for React Native SDK
|
|
9
|
+
* Theme must be wrapped in 'universal' key for cross-platform support
|
|
10
|
+
*/
|
|
11
|
+
export declare const SUMSUB_THEME: {
|
|
12
|
+
readonly universal: {
|
|
13
|
+
readonly colors: {
|
|
14
|
+
readonly primaryButtonBackground: "#6366f1";
|
|
15
|
+
readonly primaryButtonBackgroundHighlighted: "#5558e3";
|
|
16
|
+
readonly primaryButtonBackgroundDisabled: "#6366f180";
|
|
17
|
+
readonly primaryButtonContent: "#FFFFFF";
|
|
18
|
+
readonly primaryButtonContentHighlighted: "#FFFFFF";
|
|
19
|
+
readonly primaryButtonContentDisabled: "#FFFFFF80";
|
|
20
|
+
readonly secondaryButtonBackground: "#1F2937";
|
|
21
|
+
readonly secondaryButtonBackgroundHighlighted: "#374151";
|
|
22
|
+
readonly secondaryButtonBackgroundDisabled: "#1F293780";
|
|
23
|
+
readonly secondaryButtonContent: "#FFFFFF";
|
|
24
|
+
readonly secondaryButtonContentHighlighted: "#FFFFFF";
|
|
25
|
+
readonly secondaryButtonContentDisabled: "#FFFFFF80";
|
|
26
|
+
readonly backgroundCommon: "#111827";
|
|
27
|
+
readonly backgroundNeutral: "#1F2937";
|
|
28
|
+
readonly backgroundInfo: "#1E3A8A";
|
|
29
|
+
readonly backgroundSuccess: "#065F46";
|
|
30
|
+
readonly backgroundWarning: "#92400E";
|
|
31
|
+
readonly backgroundCritical: "#7F1D1D";
|
|
32
|
+
readonly contentLink: "#6366f1";
|
|
33
|
+
readonly contentStrong: "#F9FAFB";
|
|
34
|
+
readonly contentNeutral: "#D1D5DB";
|
|
35
|
+
readonly contentWeak: "#9CA3AF";
|
|
36
|
+
readonly contentInfo: "#60A5FA";
|
|
37
|
+
readonly contentSuccess: "#10B981";
|
|
38
|
+
readonly contentWarning: "#F59E0B";
|
|
39
|
+
readonly contentCritical: "#dc2626";
|
|
40
|
+
readonly fieldBackground: "#1F2937";
|
|
41
|
+
readonly fieldBackgroundInvalid: "#7F1D1D";
|
|
42
|
+
readonly fieldBorder: "#374151";
|
|
43
|
+
readonly fieldPlaceholder: "#9CA3AF";
|
|
44
|
+
readonly fieldContent: "#F9FAFB";
|
|
45
|
+
readonly fieldTint: "#6366f1";
|
|
46
|
+
readonly cameraBackground: "#000000";
|
|
47
|
+
readonly cameraBackgroundOverlay: "#00000080";
|
|
48
|
+
readonly cameraContent: "#FFFFFF";
|
|
49
|
+
readonly cardPlainBackground: "#1F2937";
|
|
50
|
+
readonly cardBorderedBackground: "#1F2937";
|
|
51
|
+
readonly listSeparator: "#374151";
|
|
52
|
+
readonly listSelectedItemBackground: "#374151";
|
|
53
|
+
readonly bottomSheetHandle: "#9CA3AF";
|
|
54
|
+
readonly bottomSheetBackground: "#1F2937";
|
|
55
|
+
readonly navigationBarItem: "#6366f1";
|
|
56
|
+
readonly alertTint: "#6366f1";
|
|
57
|
+
readonly toolbarTint: "#6366f1";
|
|
58
|
+
readonly toolbarBackground: "#111827";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Type for Sumsub theme configuration
|
|
64
|
+
*/
|
|
65
|
+
export type SumsubTheme = typeof SUMSUB_THEME;
|
|
66
|
+
/**
|
|
67
|
+
* Transak Widget Theme Configuration
|
|
68
|
+
* Customizes the buy/sell crypto widget to match Blueberry brand colors
|
|
69
|
+
*
|
|
70
|
+
* @see https://docs.transak.com/docs/visual-customization-and-data-display-options
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* Blueberry theme color for Transak widget
|
|
74
|
+
* Hex color code WITHOUT the # symbol (as required by Transak API)
|
|
75
|
+
* Used for buttons, links, and highlighted text
|
|
76
|
+
*/
|
|
77
|
+
export declare const TRANSAK_THEME_COLOR = "6366f1";
|
|
78
|
+
//# sourceMappingURL=sumsub-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sumsub-theme.d.ts","sourceRoot":"","sources":["../../src/ui/sumsub-theme.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEf,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,YAAY,CAAC;AAE9C;;;;;GAKG;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sumsub Mobile SDK Theme Configuration
|
|
3
|
+
* Customizes the identity verification widget to match Blueberry brand colors
|
|
4
|
+
*
|
|
5
|
+
* @see https://docs.sumsub.com/docs/plugins-customization
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Sumsub theme configuration for React Native SDK
|
|
9
|
+
* Theme must be wrapped in 'universal' key for cross-platform support
|
|
10
|
+
*/
|
|
11
|
+
export const SUMSUB_THEME = {
|
|
12
|
+
universal: {
|
|
13
|
+
colors: {
|
|
14
|
+
// Primary buttons - Blueberry blue (#6366f1)
|
|
15
|
+
primaryButtonBackground: '#6366f1',
|
|
16
|
+
primaryButtonBackgroundHighlighted: '#5558e3',
|
|
17
|
+
primaryButtonBackgroundDisabled: '#6366f180',
|
|
18
|
+
primaryButtonContent: '#FFFFFF',
|
|
19
|
+
primaryButtonContentHighlighted: '#FFFFFF',
|
|
20
|
+
primaryButtonContentDisabled: '#FFFFFF80',
|
|
21
|
+
// Secondary buttons - Dark theme
|
|
22
|
+
secondaryButtonBackground: '#1F2937',
|
|
23
|
+
secondaryButtonBackgroundHighlighted: '#374151',
|
|
24
|
+
secondaryButtonBackgroundDisabled: '#1F293780',
|
|
25
|
+
secondaryButtonContent: '#FFFFFF',
|
|
26
|
+
secondaryButtonContentHighlighted: '#FFFFFF',
|
|
27
|
+
secondaryButtonContentDisabled: '#FFFFFF80',
|
|
28
|
+
// Backgrounds - Blueberry dark theme
|
|
29
|
+
backgroundCommon: '#111827', // Primary dark background
|
|
30
|
+
backgroundNeutral: '#1F2937', // Secondary dark background
|
|
31
|
+
backgroundInfo: '#1E3A8A', // Info state background
|
|
32
|
+
backgroundSuccess: '#065F46', // Success state background
|
|
33
|
+
backgroundWarning: '#92400E', // Warning state background
|
|
34
|
+
backgroundCritical: '#7F1D1D', // Error state background
|
|
35
|
+
// Content/Text colors
|
|
36
|
+
contentLink: '#6366f1', // Links - Blueberry blue
|
|
37
|
+
contentStrong: '#F9FAFB', // Primary text - light
|
|
38
|
+
contentNeutral: '#D1D5DB', // Secondary text
|
|
39
|
+
contentWeak: '#9CA3AF', // Muted text
|
|
40
|
+
contentInfo: '#60A5FA', // Info text
|
|
41
|
+
contentSuccess: '#10B981', // Success text
|
|
42
|
+
contentWarning: '#F59E0B', // Warning text
|
|
43
|
+
contentCritical: '#dc2626', // Error text - Blueberry red
|
|
44
|
+
// Form fields
|
|
45
|
+
fieldBackground: '#1F2937',
|
|
46
|
+
fieldBackgroundInvalid: '#7F1D1D',
|
|
47
|
+
fieldBorder: '#374151',
|
|
48
|
+
fieldPlaceholder: '#9CA3AF',
|
|
49
|
+
fieldContent: '#F9FAFB',
|
|
50
|
+
fieldTint: '#6366f1', // Focus color - Blueberry blue
|
|
51
|
+
// Camera screen
|
|
52
|
+
cameraBackground: '#000000',
|
|
53
|
+
cameraBackgroundOverlay: '#00000080',
|
|
54
|
+
cameraContent: '#FFFFFF',
|
|
55
|
+
// Cards
|
|
56
|
+
cardPlainBackground: '#1F2937',
|
|
57
|
+
cardBorderedBackground: '#1F2937',
|
|
58
|
+
// Lists
|
|
59
|
+
listSeparator: '#374151',
|
|
60
|
+
listSelectedItemBackground: '#374151',
|
|
61
|
+
// Bottom sheets
|
|
62
|
+
bottomSheetHandle: '#9CA3AF',
|
|
63
|
+
bottomSheetBackground: '#1F2937',
|
|
64
|
+
// Navigation
|
|
65
|
+
navigationBarItem: '#6366f1', // Blueberry blue
|
|
66
|
+
alertTint: '#6366f1', // Blueberry blue
|
|
67
|
+
toolbarTint: '#6366f1', // Blueberry blue
|
|
68
|
+
toolbarBackground: '#111827', // Primary dark background
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Transak Widget Theme Configuration
|
|
74
|
+
* Customizes the buy/sell crypto widget to match Blueberry brand colors
|
|
75
|
+
*
|
|
76
|
+
* @see https://docs.transak.com/docs/visual-customization-and-data-display-options
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* Blueberry theme color for Transak widget
|
|
80
|
+
* Hex color code WITHOUT the # symbol (as required by Transak API)
|
|
81
|
+
* Used for buttons, links, and highlighted text
|
|
82
|
+
*/
|
|
83
|
+
export const TRANSAK_THEME_COLOR = '6366f1'; // Blueberry blue without #
|
|
84
|
+
//# sourceMappingURL=sumsub-theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sumsub-theme.js","sourceRoot":"","sources":["../../src/ui/sumsub-theme.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE;QACT,MAAM,EAAE;YACN,6CAA6C;YAC7C,uBAAuB,EAAE,SAAS;YAClC,kCAAkC,EAAE,SAAS;YAC7C,+BAA+B,EAAE,WAAW;YAC5C,oBAAoB,EAAE,SAAS;YAC/B,+BAA+B,EAAE,SAAS;YAC1C,4BAA4B,EAAE,WAAW;YAEzC,iCAAiC;YACjC,yBAAyB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