-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.ts
More file actions
283 lines (279 loc) · 8.22 KB
/
Copy pathdata.ts
File metadata and controls
283 lines (279 loc) · 8.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
export interface DemoScreen {
id: string;
title: string;
description: string;
component: React.ComponentType;
category: 'UI' | 'Animation' | 'Platform' | 'Utility';
}
export const demoScreens: DemoScreen[] = [
// UI / Layout primitives
{
id: 'layout-flexbox',
title: 'Layout & Flexbox',
description: 'Interactive Flexbox layout demonstration',
component: require('./demos/LayoutFlexbox').default,
category: 'UI'
},
{
id: 'view-basics',
title: 'View Basics',
description: 'Basic View component with styling and layout',
component: require('./demos/ViewBasics').default,
category: 'UI'
},
{
id: 'text-styling',
title: 'Text Styling',
description: 'Text component with various styling options',
component: require('./demos/TextStyling').default,
category: 'UI'
},
{
id: 'scrollview-demo',
title: 'ScrollView Demo',
description: 'ScrollView with content and refresh control',
component: require('./demos/ScrollViewDemo').default,
category: 'UI'
},
{
id: 'flatlist-demo',
title: 'FlatList Demo',
description: 'FlatList with optimized rendering',
component: require('./demos/FlatListDemo').default,
category: 'UI'
},
{
id: 'textinput-demo',
title: 'TextInput Demo',
description: 'TextInput with various configurations',
component: require('./demos/TextInputDemo').default,
category: 'UI'
},
{
id: 'pressable-demo',
title: 'Pressable Demo',
description: 'Pressable component with feedback',
component: require('./demos/PressableDemo').default,
category: 'UI'
},
{
id: 'modal-demo',
title: 'Modal Demo',
description: 'Modal component with animations',
component: require('./demos/ModalDemo').default,
category: 'UI'
},
{
id: 'button-demo',
title: 'Button Demo',
description: 'Basic button component with platform styling',
component: require('./demos/ButtonDemo').default,
category: 'UI'
},
{
id: 'switch-demo',
title: 'Switch Demo',
description: 'Boolean toggle switch component',
component: require('./demos/SwitchDemo').default,
category: 'UI'
},
{
id: 'touchablehighlight-demo',
title: 'TouchableHighlight Demo',
description: 'Touchable with highlight feedback',
component: require('./demos/TouchableHighlightDemo').default,
category: 'UI'
},
{
id: 'imagebackground-demo',
title: 'ImageBackground Demo',
description: 'Image as background container',
component: require('./demos/ImageBackgroundDemo').default,
category: 'UI'
},
// Animation & Gesture
{
id: 'animated-opacity',
title: 'Animated Opacity',
description: 'Animated opacity with timing function',
component: require('./demos/AnimatedOpacityLoop').default,
category: 'Animation'
},
{
id: 'drag-box',
title: 'Drag Box',
description: 'Draggable box using PanResponder',
component: require('./demos/DragBoxPanResponder').default,
category: 'Animation'
},
{
id: 'layout-animation',
title: 'Layout Animation',
description: 'LayoutAnimation for view transitions',
component: require('./demos/LayoutAnimationDemo').default,
category: 'Animation'
},
// Platform & Device APIs
{
id: 'device-info',
title: 'Device Info',
description: 'Device dimensions, pixel ratio, and appearance',
component: require('./demos/DeviceInfoDemo').default,
category: 'Platform'
},
{
id: 'clipboard-demo',
title: 'Clipboard Demo',
description: 'Copy and paste functionality',
component: require('./demos/ClipboardCopyPaste').default,
category: 'Platform'
},
{
id: 'dark-mode',
title: 'Dark Mode',
description: 'Dark mode listener and theme switching',
component: require('./demos/DarkModeListener').default,
category: 'Platform'
},
{
id: 'vibration-demo',
title: 'Vibration Demo',
description: 'Device vibration patterns',
component: require('./demos/VibrationDemo').default,
category: 'Platform'
},
{
id: 'activityindicator-demo',
title: 'ActivityIndicator Demo',
description: 'Loading indicators with different styles',
component: require('./demos/ActivityIndicatorDemo').default,
category: 'UI'
},
{
id: 'image-demo',
title: 'Image Demo',
description: 'Display images from various sources',
component: require('./demos/ImageDemo').default,
category: 'UI'
},
{
id: 'safeareaview-demo',
title: 'SafeAreaView Demo',
description: 'Safe area handling for different devices',
component: require('./demos/SafeAreaViewDemo').default,
category: 'UI'
},
{
id: 'statusbar-demo',
title: 'StatusBar Demo',
description: 'Status bar styling and configuration',
component: require('./demos/StatusBarDemo').default,
category: 'UI'
},
{
id: 'sectionlist-demo',
title: 'SectionList Demo',
description: 'Grouped data display with sections',
component: require('./demos/SectionListDemo').default,
category: 'UI'
},
{
id: 'touchableopacity-demo',
title: 'TouchableOpacity Demo',
description: 'Touchable elements with opacity feedback',
component: require('./demos/TouchableOpacityDemo').default,
category: 'UI'
},
{
id: 'share-demo',
title: 'Share Demo',
description: 'Native sharing functionality',
component: require('./demos/ShareDemo').default,
category: 'Platform'
},
{
id: 'backhandler-demo',
title: 'BackHandler Demo',
description: 'Android hardware back button handling',
component: require('./demos/BackHandlerDemo').default,
category: 'Platform'
},
{
id: 'appstate-demo',
title: 'AppState Demo',
description: 'Application state lifecycle management',
component: require('./demos/AppStateDemo').default,
category: 'Platform'
},
{
id: 'alert-demo',
title: 'Alert Demo',
description: 'Native alert dialogs with customizable options',
component: require('./demos/AlertDemo').default,
category: 'Platform'
},
{
id: 'linking-demo',
title: 'Linking Demo',
description: 'Deep linking and URL handling',
component: require('./demos/LinkingDemo').default,
category: 'Platform'
},
{
id: 'keyboard-avoiding-view-demo',
title: 'KeyboardAvoidingView Demo',
description: 'Keyboard-aware view with multiple behaviors',
component: require('./demos/KeyboardAvoidingViewDemo').default,
category: 'UI'
},
{
id: 'platform-demo',
title: 'Platform Demo',
description: 'Platform detection and platform-specific code',
component: require('./demos/PlatformDemo').default,
category: 'Platform'
},
{
id: 'permissions-android-demo',
title: 'PermissionsAndroid Demo',
description: 'Android runtime permissions management',
component: require('./demos/PermissionsAndroidDemo').default,
category: 'Platform'
},
{
id: 'interaction-manager-demo',
title: 'InteractionManager Demo',
description: 'Schedule tasks after interactions complete',
component: require('./demos/InteractionManagerDemo').default,
category: 'Utility'
},
{
id: 'accessibility-info-demo',
title: 'AccessibilityInfo Demo',
description: 'Accessibility settings and announcements',
component: require('./demos/AccessibilityInfoDemo').default,
category: 'Platform'
},
{
id: 'toast-android-demo',
title: 'ToastAndroid Demo',
description: 'Android toast notifications and positioning',
component: require('./demos/ToastAndroidDemo').default,
category: 'Platform'
},
{
id: 'virtualizedlist-demo',
title: 'VirtualizedList Demo',
description: 'Efficient rendering of large datasets',
component: require('./demos/VirtualizedListDemo').default,
category: 'UI'
},
// Utilities
{
id: 'stylesheet-demo',
title: 'StyleSheet Demo',
description: 'StyleSheet.create and optimization',
component: require('./demos/StyleSheetDemo').default,
category: 'Utility'
}
];