@oxyhq/services 5.3.11 → 5.4.1
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/README.md +21 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +67 -0
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/icons/OxyServices.js +53 -0
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/core/index.js +119 -23
- package/lib/commonjs/core/index.js.map +1 -1
- package/lib/commonjs/index.js +2 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/lib/sonner.js +15 -11
- package/lib/commonjs/lib/sonner.js.map +1 -1
- package/lib/commonjs/node/index.js +2 -0
- package/lib/commonjs/node/index.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +109 -0
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -0
- package/lib/commonjs/ui/components/GroupedSection.js +33 -0
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -0
- package/lib/commonjs/ui/components/OxyProvider.js +95 -112
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +124 -0
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
- package/lib/commonjs/ui/components/QuickActions.js +87 -0
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -0
- package/lib/commonjs/ui/components/Section.js +36 -0
- package/lib/commonjs/ui/components/Section.js.map +1 -0
- package/lib/commonjs/ui/components/SectionTitle.js +35 -0
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -0
- package/lib/commonjs/ui/components/bottomSheet/index.js +6 -6
- package/lib/commonjs/ui/components/index.js +97 -0
- package/lib/commonjs/ui/components/index.js.map +1 -0
- package/lib/commonjs/ui/navigation/OxyRouter.js +20 -3
- package/lib/commonjs/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +190 -207
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountManagementDemo.js +299 -0
- package/lib/commonjs/ui/screens/AccountManagementDemo.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +669 -401
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +695 -498
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +451 -488
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +498 -185
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/BillingManagementScreen.js +636 -0
- package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js +2497 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +1620 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +117 -13
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignInScreen.js +1 -1
- package/lib/commonjs/ui/screens/SignUpScreen.js +1 -1
- package/lib/commonjs/utils/polyfills.js +42 -0
- package/lib/commonjs/utils/polyfills.js.map +1 -0
- package/lib/module/assets/assets/icons/OxyServices.tsx +67 -0
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/icons/OxyServices.js +46 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/core/index.js +119 -23
- package/lib/module/core/index.js.map +1 -1
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/sonner.js +13 -1
- package/lib/module/lib/sonner.js.map +1 -1
- package/lib/module/node/index.js +3 -0
- package/lib/module/node/index.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +104 -0
- package/lib/module/ui/components/GroupedItem.js.map +1 -0
- package/lib/module/ui/components/GroupedSection.js +28 -0
- package/lib/module/ui/components/GroupedSection.js.map +1 -0
- package/lib/module/ui/components/OxyProvider.js +97 -114
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +119 -0
- package/lib/module/ui/components/ProfileCard.js.map +1 -0
- package/lib/module/ui/components/QuickActions.js +82 -0
- package/lib/module/ui/components/QuickActions.js.map +1 -0
- package/lib/module/ui/components/Section.js +31 -0
- package/lib/module/ui/components/Section.js.map +1 -0
- package/lib/module/ui/components/SectionTitle.js +30 -0
- package/lib/module/ui/components/SectionTitle.js.map +1 -0
- package/lib/module/ui/components/bottomSheet/index.js +2 -5
- package/lib/module/ui/components/bottomSheet/index.js.map +1 -1
- package/lib/module/ui/components/index.js +18 -0
- package/lib/module/ui/components/index.js.map +1 -0
- package/lib/module/ui/navigation/OxyRouter.js +20 -3
- package/lib/module/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +191 -208
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountManagementDemo.js +296 -0
- package/lib/module/ui/screens/AccountManagementDemo.js.map +1 -0
- package/lib/module/ui/screens/AccountOverviewScreen.js +671 -403
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +698 -501
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +450 -488
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +498 -186
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/BillingManagementScreen.js +631 -0
- package/lib/module/ui/screens/BillingManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +2492 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +1615 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +118 -14
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/SignInScreen.js +1 -1
- package/lib/module/ui/screens/SignInScreen.js.map +1 -1
- package/lib/module/ui/screens/SignUpScreen.js +1 -1
- package/lib/module/ui/screens/SignUpScreen.js.map +1 -1
- package/lib/module/utils/polyfills.js +36 -0
- package/lib/module/utils/polyfills.js.map +1 -0
- package/lib/typescript/assets/icons/OxyServices.d.ts +29 -0
- package/lib/typescript/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/core/index.d.ts +26 -1
- package/lib/typescript/core/index.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/lib/sonner.d.ts +5 -1
- package/lib/typescript/lib/sonner.d.ts.map +1 -1
- package/lib/typescript/models/interfaces.d.ts +1 -2
- package/lib/typescript/models/interfaces.d.ts.map +1 -1
- package/lib/typescript/node/index.d.ts +1 -0
- package/lib/typescript/node/index.d.ts.map +1 -1
- package/lib/typescript/ui/components/GroupedItem.d.ts +17 -0
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts +19 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/ui/components/ProfileCard.d.ts +20 -0
- package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -0
- package/lib/typescript/ui/components/QuickActions.d.ts +15 -0
- package/lib/typescript/ui/components/QuickActions.d.ts.map +1 -0
- package/lib/typescript/ui/components/Section.d.ts +11 -0
- package/lib/typescript/ui/components/Section.d.ts.map +1 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts +9 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts.map +1 -0
- package/lib/typescript/ui/components/bottomSheet/index.d.ts +3 -2
- package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/ui/components/index.d.ts +13 -0
- package/lib/typescript/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +1 -1
- package/lib/typescript/ui/navigation/types.d.ts +8 -0
- package/lib/typescript/ui/navigation/types.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountManagementDemo.d.ts +8 -0
- package/lib/typescript/ui/screens/AccountManagementDemo.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +1 -4
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/BillingManagementScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/BillingManagementScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/utils/polyfills.d.ts +6 -0
- package/lib/typescript/utils/polyfills.d.ts.map +1 -0
- package/package.json +11 -3
- package/src/__tests__/polyfills.test.ts +30 -0
- package/src/__tests__/setup.ts +43 -0
- package/src/__tests__/ui/screens/AccountSettingsScreen.test.tsx +8 -8
- package/src/assets/icons/OxyServices.tsx +67 -0
- package/src/assets/icons/logo_OxyServices.svg +1 -0
- package/src/core/index.ts +127 -19
- package/src/index.ts +3 -0
- package/src/lib/sonner.ts +10 -1
- package/src/models/interfaces.ts +1 -2
- package/src/node/index.ts +3 -0
- package/src/ui/components/GroupedItem.tsx +118 -0
- package/src/ui/components/GroupedSection.tsx +45 -0
- package/src/ui/components/OxyProvider.tsx +95 -120
- package/src/ui/components/ProfileCard.tsx +129 -0
- package/src/ui/components/QuickActions.tsx +90 -0
- package/src/ui/components/Section.tsx +37 -0
- package/src/ui/components/SectionTitle.tsx +31 -0
- package/src/ui/components/bottomSheet/index.tsx +13 -11
- package/src/ui/components/index.ts +15 -0
- package/src/ui/navigation/OxyRouter.tsx +20 -3
- package/src/ui/navigation/types.ts +10 -1
- package/src/ui/screens/AccountCenterScreen.tsx +188 -159
- package/src/ui/screens/AccountManagementDemo.tsx +297 -0
- package/src/ui/screens/AccountOverviewScreen.tsx +474 -310
- package/src/ui/screens/AccountSettingsScreen.tsx +648 -463
- package/src/ui/screens/AccountSwitcherScreen.tsx +385 -449
- package/src/ui/screens/AppInfoScreen.tsx +571 -140
- package/src/ui/screens/BillingManagementScreen.tsx +589 -0
- package/src/ui/screens/FileManagementScreen.tsx +2513 -0
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +1628 -0
- package/src/ui/screens/ProfileScreen.tsx +101 -7
- package/src/ui/screens/SessionManagementScreen.tsx +1 -0
- package/src/ui/screens/SignInScreen.tsx +1 -1
- package/src/ui/screens/SignUpScreen.tsx +1 -1
- package/src/utils/polyfills.ts +34 -0
- package/lib/commonjs/lib/sonner.web.js +0 -17
- package/lib/commonjs/lib/sonner.web.js.map +0 -1
- package/lib/module/lib/sonner.web.js +0 -4
- package/lib/module/lib/sonner.web.js.map +0 -1
- package/lib/typescript/__tests__/ui/screens/AccountSettingsScreen.test.d.ts +0 -2
- package/lib/typescript/__tests__/ui/screens/AccountSettingsScreen.test.d.ts.map +0 -1
- package/lib/typescript/lib/sonner.web.d.ts +0 -2
- package/lib/typescript/lib/sonner.web.d.ts.map +0 -1
- package/src/lib/sonner.web.ts +0 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Text, TouchableOpacity, StyleSheet, ScrollView } from 'react-native';
|
|
3
|
+
import OxyProvider from '../components/OxyProvider';
|
|
4
|
+
import { OxyServices } from '../../core';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Demo component showcasing the complete account management UI flow
|
|
8
|
+
* This demonstrates how all the account screens work together
|
|
9
|
+
*/
|
|
10
|
+
const AccountManagementDemo: React.FC = () => {
|
|
11
|
+
const oxyServices = new OxyServices({
|
|
12
|
+
baseURL: 'https://api.oxy.so'
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<View style={styles.container}>
|
|
17
|
+
<ScrollView style={styles.content}>
|
|
18
|
+
<Text style={styles.title}>Account Management System Demo</Text>
|
|
19
|
+
<Text style={styles.description}>
|
|
20
|
+
Complete account management flow with 5 interconnected screens:
|
|
21
|
+
</Text>
|
|
22
|
+
|
|
23
|
+
<View style={styles.screensList}>
|
|
24
|
+
<ScreenCard
|
|
25
|
+
title="AccountCenterScreen"
|
|
26
|
+
description="Main account hub and entry point"
|
|
27
|
+
features={[
|
|
28
|
+
'User profile display',
|
|
29
|
+
'Quick access to all account features',
|
|
30
|
+
'Multi-account switching',
|
|
31
|
+
'Session management access'
|
|
32
|
+
]}
|
|
33
|
+
navigatesTo={['AccountOverview', 'AccountSwitcher', 'AccountSettings', 'SessionManagement']}
|
|
34
|
+
/>
|
|
35
|
+
|
|
36
|
+
<ScreenCard
|
|
37
|
+
title="AccountOverviewScreen"
|
|
38
|
+
description="Comprehensive account information and management"
|
|
39
|
+
features={[
|
|
40
|
+
'Detailed profile information',
|
|
41
|
+
'Account settings shortcuts',
|
|
42
|
+
'Subscription management',
|
|
43
|
+
'Privacy and security overview'
|
|
44
|
+
]}
|
|
45
|
+
navigatesTo={['AccountSettings', 'SessionManagement']}
|
|
46
|
+
/>
|
|
47
|
+
|
|
48
|
+
<ScreenCard
|
|
49
|
+
title="AccountSettingsScreen"
|
|
50
|
+
description="Complete account configuration and preferences"
|
|
51
|
+
features={[
|
|
52
|
+
'Profile editing (username, email, name)',
|
|
53
|
+
'Password management',
|
|
54
|
+
'Security settings',
|
|
55
|
+
'Notification preferences',
|
|
56
|
+
'Tabbed interface for organization'
|
|
57
|
+
]}
|
|
58
|
+
navigatesTo={['Previous screen via goBack()']}
|
|
59
|
+
/>
|
|
60
|
+
|
|
61
|
+
<ScreenCard
|
|
62
|
+
title="AccountSwitcherScreen"
|
|
63
|
+
description="Multi-account management and switching"
|
|
64
|
+
features={[
|
|
65
|
+
'View all saved accounts',
|
|
66
|
+
'Switch between accounts',
|
|
67
|
+
'Remove unwanted accounts',
|
|
68
|
+
'Device session management',
|
|
69
|
+
'Add new accounts'
|
|
70
|
+
]}
|
|
71
|
+
navigatesTo={['SignIn', 'Account switching']}
|
|
72
|
+
/>
|
|
73
|
+
|
|
74
|
+
<ScreenCard
|
|
75
|
+
title="SessionManagementScreen"
|
|
76
|
+
description="Active session management across devices"
|
|
77
|
+
features={[
|
|
78
|
+
'View all active sessions',
|
|
79
|
+
'Device information display',
|
|
80
|
+
'Logout specific sessions',
|
|
81
|
+
'Logout all sessions',
|
|
82
|
+
'Session security monitoring'
|
|
83
|
+
]}
|
|
84
|
+
navigatesTo={['Session logout actions']}
|
|
85
|
+
/>
|
|
86
|
+
</View>
|
|
87
|
+
|
|
88
|
+
<View style={styles.navigationFlow}>
|
|
89
|
+
<Text style={styles.sectionTitle}>Navigation Flow</Text>
|
|
90
|
+
<Text style={styles.flowDescription}>
|
|
91
|
+
The screens are designed with intuitive navigation patterns:
|
|
92
|
+
</Text>
|
|
93
|
+
|
|
94
|
+
<View style={styles.flowItem}>
|
|
95
|
+
<Text style={styles.flowStep}>1. Entry Point</Text>
|
|
96
|
+
<Text style={styles.flowText}>Users typically start at AccountCenterScreen</Text>
|
|
97
|
+
</View>
|
|
98
|
+
|
|
99
|
+
<View style={styles.flowItem}>
|
|
100
|
+
<Text style={styles.flowStep}>2. Explore</Text>
|
|
101
|
+
<Text style={styles.flowText}>Navigate to specific screens based on needs</Text>
|
|
102
|
+
</View>
|
|
103
|
+
|
|
104
|
+
<View style={styles.flowItem}>
|
|
105
|
+
<Text style={styles.flowStep}>3. Manage</Text>
|
|
106
|
+
<Text style={styles.flowText}>Perform account actions in specialized screens</Text>
|
|
107
|
+
</View>
|
|
108
|
+
|
|
109
|
+
<View style={styles.flowItem}>
|
|
110
|
+
<Text style={styles.flowStep}>4. Return</Text>
|
|
111
|
+
<Text style={styles.flowText}>Navigate back or to related screens seamlessly</Text>
|
|
112
|
+
</View>
|
|
113
|
+
</View>
|
|
114
|
+
|
|
115
|
+
<View style={styles.demoSection}>
|
|
116
|
+
<Text style={styles.sectionTitle}>Try the Demo</Text>
|
|
117
|
+
<TouchableOpacity style={styles.demoButton}>
|
|
118
|
+
<Text style={styles.demoButtonText}>
|
|
119
|
+
Launch Account Center
|
|
120
|
+
</Text>
|
|
121
|
+
</TouchableOpacity>
|
|
122
|
+
</View>
|
|
123
|
+
</ScrollView>
|
|
124
|
+
|
|
125
|
+
{/* The actual OxyProvider would be used here in a real implementation */}
|
|
126
|
+
<OxyProvider
|
|
127
|
+
oxyServices={oxyServices}
|
|
128
|
+
initialScreen="AccountCenter"
|
|
129
|
+
theme="light"
|
|
130
|
+
autoPresent={false}
|
|
131
|
+
/>
|
|
132
|
+
</View>
|
|
133
|
+
);
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
const ScreenCard: React.FC<{
|
|
137
|
+
title: string;
|
|
138
|
+
description: string;
|
|
139
|
+
features: string[];
|
|
140
|
+
navigatesTo: string[];
|
|
141
|
+
}> = ({ title, description, features, navigatesTo }) => (
|
|
142
|
+
<View style={styles.screenCard}>
|
|
143
|
+
<Text style={styles.screenTitle}>{title}</Text>
|
|
144
|
+
<Text style={styles.screenDescription}>{description}</Text>
|
|
145
|
+
|
|
146
|
+
<Text style={styles.featuresTitle}>Features:</Text>
|
|
147
|
+
{features.map((feature, index) => (
|
|
148
|
+
<Text key={index} style={styles.feature}>• {feature}</Text>
|
|
149
|
+
))}
|
|
150
|
+
|
|
151
|
+
<Text style={styles.navigationTitle}>Navigates to:</Text>
|
|
152
|
+
{navigatesTo.map((nav, index) => (
|
|
153
|
+
<Text key={index} style={styles.navigationItem}>→ {nav}</Text>
|
|
154
|
+
))}
|
|
155
|
+
</View>
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
const styles = StyleSheet.create({
|
|
159
|
+
container: {
|
|
160
|
+
flex: 1,
|
|
161
|
+
backgroundColor: '#F5F5F5',
|
|
162
|
+
},
|
|
163
|
+
content: {
|
|
164
|
+
flex: 1,
|
|
165
|
+
padding: 20,
|
|
166
|
+
},
|
|
167
|
+
title: {
|
|
168
|
+
fontSize: 28,
|
|
169
|
+
fontWeight: 'bold',
|
|
170
|
+
color: '#333',
|
|
171
|
+
marginBottom: 10,
|
|
172
|
+
textAlign: 'center',
|
|
173
|
+
},
|
|
174
|
+
description: {
|
|
175
|
+
fontSize: 16,
|
|
176
|
+
color: '#666',
|
|
177
|
+
marginBottom: 20,
|
|
178
|
+
textAlign: 'center',
|
|
179
|
+
lineHeight: 22,
|
|
180
|
+
},
|
|
181
|
+
screensList: {
|
|
182
|
+
marginBottom: 30,
|
|
183
|
+
},
|
|
184
|
+
screenCard: {
|
|
185
|
+
backgroundColor: '#FFFFFF',
|
|
186
|
+
borderRadius: 12,
|
|
187
|
+
padding: 20,
|
|
188
|
+
marginBottom: 16,
|
|
189
|
+
shadowColor: '#000',
|
|
190
|
+
shadowOffset: { width: 0, height: 2 },
|
|
191
|
+
shadowOpacity: 0.1,
|
|
192
|
+
shadowRadius: 4,
|
|
193
|
+
elevation: 3,
|
|
194
|
+
},
|
|
195
|
+
screenTitle: {
|
|
196
|
+
fontSize: 20,
|
|
197
|
+
fontWeight: 'bold',
|
|
198
|
+
color: '#0066CC',
|
|
199
|
+
marginBottom: 8,
|
|
200
|
+
},
|
|
201
|
+
screenDescription: {
|
|
202
|
+
fontSize: 14,
|
|
203
|
+
color: '#666',
|
|
204
|
+
marginBottom: 12,
|
|
205
|
+
lineHeight: 20,
|
|
206
|
+
},
|
|
207
|
+
featuresTitle: {
|
|
208
|
+
fontSize: 16,
|
|
209
|
+
fontWeight: '600',
|
|
210
|
+
color: '#333',
|
|
211
|
+
marginBottom: 8,
|
|
212
|
+
},
|
|
213
|
+
feature: {
|
|
214
|
+
fontSize: 14,
|
|
215
|
+
color: '#555',
|
|
216
|
+
marginBottom: 4,
|
|
217
|
+
marginLeft: 10,
|
|
218
|
+
},
|
|
219
|
+
navigationTitle: {
|
|
220
|
+
fontSize: 16,
|
|
221
|
+
fontWeight: '600',
|
|
222
|
+
color: '#333',
|
|
223
|
+
marginTop: 12,
|
|
224
|
+
marginBottom: 8,
|
|
225
|
+
},
|
|
226
|
+
navigationItem: {
|
|
227
|
+
fontSize: 14,
|
|
228
|
+
color: '#0066CC',
|
|
229
|
+
marginBottom: 4,
|
|
230
|
+
marginLeft: 10,
|
|
231
|
+
},
|
|
232
|
+
navigationFlow: {
|
|
233
|
+
backgroundColor: '#FFFFFF',
|
|
234
|
+
borderRadius: 12,
|
|
235
|
+
padding: 20,
|
|
236
|
+
marginBottom: 30,
|
|
237
|
+
shadowColor: '#000',
|
|
238
|
+
shadowOffset: { width: 0, height: 2 },
|
|
239
|
+
shadowOpacity: 0.1,
|
|
240
|
+
shadowRadius: 4,
|
|
241
|
+
elevation: 3,
|
|
242
|
+
},
|
|
243
|
+
sectionTitle: {
|
|
244
|
+
fontSize: 22,
|
|
245
|
+
fontWeight: 'bold',
|
|
246
|
+
color: '#333',
|
|
247
|
+
marginBottom: 12,
|
|
248
|
+
},
|
|
249
|
+
flowDescription: {
|
|
250
|
+
fontSize: 14,
|
|
251
|
+
color: '#666',
|
|
252
|
+
marginBottom: 16,
|
|
253
|
+
lineHeight: 20,
|
|
254
|
+
},
|
|
255
|
+
flowItem: {
|
|
256
|
+
flexDirection: 'row',
|
|
257
|
+
alignItems: 'flex-start',
|
|
258
|
+
marginBottom: 12,
|
|
259
|
+
},
|
|
260
|
+
flowStep: {
|
|
261
|
+
fontSize: 14,
|
|
262
|
+
fontWeight: 'bold',
|
|
263
|
+
color: '#0066CC',
|
|
264
|
+
minWidth: 80,
|
|
265
|
+
},
|
|
266
|
+
flowText: {
|
|
267
|
+
fontSize: 14,
|
|
268
|
+
color: '#555',
|
|
269
|
+
flex: 1,
|
|
270
|
+
lineHeight: 20,
|
|
271
|
+
},
|
|
272
|
+
demoSection: {
|
|
273
|
+
backgroundColor: '#FFFFFF',
|
|
274
|
+
borderRadius: 12,
|
|
275
|
+
padding: 20,
|
|
276
|
+
alignItems: 'center',
|
|
277
|
+
shadowColor: '#000',
|
|
278
|
+
shadowOffset: { width: 0, height: 2 },
|
|
279
|
+
shadowOpacity: 0.1,
|
|
280
|
+
shadowRadius: 4,
|
|
281
|
+
elevation: 3,
|
|
282
|
+
},
|
|
283
|
+
demoButton: {
|
|
284
|
+
backgroundColor: '#0066CC',
|
|
285
|
+
borderRadius: 25,
|
|
286
|
+
paddingHorizontal: 30,
|
|
287
|
+
paddingVertical: 12,
|
|
288
|
+
marginTop: 10,
|
|
289
|
+
},
|
|
290
|
+
demoButtonText: {
|
|
291
|
+
color: '#FFFFFF',
|
|
292
|
+
fontSize: 16,
|
|
293
|
+
fontWeight: '600',
|
|
294
|
+
},
|
|
295
|
+
});
|
|
296
|
+
|
|
297
|
+
export default AccountManagementDemo;
|