react-native-elearn-ui 0.1.18 → 0.1.19
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.
|
@@ -192,7 +192,7 @@ export const QBankTopicScreen = ({
|
|
|
192
192
|
}],
|
|
193
193
|
children: /*#__PURE__*/_jsx(Icon, {
|
|
194
194
|
name: link.icon,
|
|
195
|
-
size:
|
|
195
|
+
size: 20,
|
|
196
196
|
color: link.color
|
|
197
197
|
})
|
|
198
198
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
@@ -236,12 +236,12 @@ export const QBankTopicScreen = ({
|
|
|
236
236
|
uri: iconUrl
|
|
237
237
|
},
|
|
238
238
|
style: {
|
|
239
|
-
width:
|
|
240
|
-
height:
|
|
239
|
+
width: 24,
|
|
240
|
+
height: 24
|
|
241
241
|
}
|
|
242
242
|
}) : /*#__PURE__*/_jsx(Icon, {
|
|
243
243
|
name: item.icon,
|
|
244
|
-
size:
|
|
244
|
+
size: 20,
|
|
245
245
|
color: theme.primary
|
|
246
246
|
})
|
|
247
247
|
}), /*#__PURE__*/_jsxs(View, {
|
|
@@ -323,9 +323,9 @@ const styles = StyleSheet.create({
|
|
|
323
323
|
},
|
|
324
324
|
quickLinksCard: {
|
|
325
325
|
backgroundColor: '#FFFFFF',
|
|
326
|
-
padding:
|
|
327
|
-
borderRadius:
|
|
328
|
-
marginBottom:
|
|
326
|
+
padding: 16,
|
|
327
|
+
borderRadius: 12,
|
|
328
|
+
marginBottom: 16,
|
|
329
329
|
shadowColor: '#000',
|
|
330
330
|
shadowOffset: {
|
|
331
331
|
width: 0,
|
|
@@ -345,9 +345,9 @@ const styles = StyleSheet.create({
|
|
|
345
345
|
flex: 1
|
|
346
346
|
},
|
|
347
347
|
quickLinkIconCircle: {
|
|
348
|
-
width:
|
|
349
|
-
height:
|
|
350
|
-
borderRadius:
|
|
348
|
+
width: 40,
|
|
349
|
+
height: 40,
|
|
350
|
+
borderRadius: 20,
|
|
351
351
|
justifyContent: 'center',
|
|
352
352
|
alignItems: 'center',
|
|
353
353
|
marginBottom: 8
|
|
@@ -368,9 +368,9 @@ const styles = StyleSheet.create({
|
|
|
368
368
|
},
|
|
369
369
|
topicCardMockup: {
|
|
370
370
|
backgroundColor: '#FFFFFF',
|
|
371
|
-
padding:
|
|
372
|
-
marginBottom:
|
|
373
|
-
borderRadius:
|
|
371
|
+
padding: 12,
|
|
372
|
+
marginBottom: 10,
|
|
373
|
+
borderRadius: 10,
|
|
374
374
|
borderWidth: 1,
|
|
375
375
|
borderColor: '#E2E8F0'
|
|
376
376
|
},
|
|
@@ -379,20 +379,20 @@ const styles = StyleSheet.create({
|
|
|
379
379
|
alignItems: 'center'
|
|
380
380
|
},
|
|
381
381
|
topicIconBox: {
|
|
382
|
-
width:
|
|
383
|
-
height:
|
|
384
|
-
borderRadius:
|
|
382
|
+
width: 44,
|
|
383
|
+
height: 44,
|
|
384
|
+
borderRadius: 10,
|
|
385
385
|
justifyContent: 'center',
|
|
386
386
|
alignItems: 'center',
|
|
387
|
-
marginRight:
|
|
387
|
+
marginRight: 12
|
|
388
388
|
},
|
|
389
389
|
topicInfo: {
|
|
390
390
|
flex: 1
|
|
391
391
|
},
|
|
392
392
|
topicTitle: {
|
|
393
|
-
fontSize:
|
|
393
|
+
fontSize: 15,
|
|
394
394
|
fontWeight: '600',
|
|
395
|
-
marginBottom:
|
|
395
|
+
marginBottom: 6
|
|
396
396
|
},
|
|
397
397
|
progressBarBgMockup: {
|
|
398
398
|
height: 6,
|
package/package.json
CHANGED
|
@@ -113,7 +113,7 @@ export const QBankTopicScreen: React.FC<QBankTopicScreenProps> = ({
|
|
|
113
113
|
}}
|
|
114
114
|
>
|
|
115
115
|
<View style={[styles.quickLinkIconCircle, { backgroundColor: bgCol }]}>
|
|
116
|
-
<Icon name={link.icon as IconName} size={
|
|
116
|
+
<Icon name={link.icon as IconName} size={20} color={link.color} />
|
|
117
117
|
</View>
|
|
118
118
|
<Typography variant="caption" color={theme.textPrimary} style={styles.quickLinkLabel}>
|
|
119
119
|
{link.label}
|
|
@@ -145,9 +145,9 @@ export const QBankTopicScreen: React.FC<QBankTopicScreenProps> = ({
|
|
|
145
145
|
<View style={styles.topicRow}>
|
|
146
146
|
<View style={[styles.topicIconBox, { backgroundColor: iconBg }]}>
|
|
147
147
|
{iconUrl ? (
|
|
148
|
-
<Image source={{uri: iconUrl}} style={{width:
|
|
148
|
+
<Image source={{uri: iconUrl}} style={{width: 24, height: 24}} />
|
|
149
149
|
) : (
|
|
150
|
-
<Icon name={item.icon as IconName} size={
|
|
150
|
+
<Icon name={item.icon as IconName} size={20} color={theme.primary} />
|
|
151
151
|
)}
|
|
152
152
|
</View>
|
|
153
153
|
<View style={styles.topicInfo}>
|
|
@@ -223,9 +223,9 @@ const styles = StyleSheet.create({
|
|
|
223
223
|
},
|
|
224
224
|
quickLinksCard: {
|
|
225
225
|
backgroundColor: '#FFFFFF',
|
|
226
|
-
padding:
|
|
227
|
-
borderRadius:
|
|
228
|
-
marginBottom:
|
|
226
|
+
padding: 16,
|
|
227
|
+
borderRadius: 12,
|
|
228
|
+
marginBottom: 16,
|
|
229
229
|
shadowColor: '#000',
|
|
230
230
|
shadowOffset: { width: 0, height: 2 },
|
|
231
231
|
shadowOpacity: 0.05,
|
|
@@ -242,9 +242,9 @@ const styles = StyleSheet.create({
|
|
|
242
242
|
flex: 1,
|
|
243
243
|
},
|
|
244
244
|
quickLinkIconCircle: {
|
|
245
|
-
width:
|
|
246
|
-
height:
|
|
247
|
-
borderRadius:
|
|
245
|
+
width: 40,
|
|
246
|
+
height: 40,
|
|
247
|
+
borderRadius: 20,
|
|
248
248
|
justifyContent: 'center',
|
|
249
249
|
alignItems: 'center',
|
|
250
250
|
marginBottom: 8,
|
|
@@ -265,9 +265,9 @@ const styles = StyleSheet.create({
|
|
|
265
265
|
},
|
|
266
266
|
topicCardMockup: {
|
|
267
267
|
backgroundColor: '#FFFFFF',
|
|
268
|
-
padding:
|
|
269
|
-
marginBottom:
|
|
270
|
-
borderRadius:
|
|
268
|
+
padding: 12,
|
|
269
|
+
marginBottom: 10,
|
|
270
|
+
borderRadius: 10,
|
|
271
271
|
borderWidth: 1,
|
|
272
272
|
borderColor: '#E2E8F0',
|
|
273
273
|
},
|
|
@@ -276,20 +276,20 @@ const styles = StyleSheet.create({
|
|
|
276
276
|
alignItems: 'center',
|
|
277
277
|
},
|
|
278
278
|
topicIconBox: {
|
|
279
|
-
width:
|
|
280
|
-
height:
|
|
281
|
-
borderRadius:
|
|
279
|
+
width: 44,
|
|
280
|
+
height: 44,
|
|
281
|
+
borderRadius: 10,
|
|
282
282
|
justifyContent: 'center',
|
|
283
283
|
alignItems: 'center',
|
|
284
|
-
marginRight:
|
|
284
|
+
marginRight: 12,
|
|
285
285
|
},
|
|
286
286
|
topicInfo: {
|
|
287
287
|
flex: 1,
|
|
288
288
|
},
|
|
289
289
|
topicTitle: {
|
|
290
|
-
fontSize:
|
|
290
|
+
fontSize: 15,
|
|
291
291
|
fontWeight: '600',
|
|
292
|
-
marginBottom:
|
|
292
|
+
marginBottom: 6,
|
|
293
293
|
},
|
|
294
294
|
progressBarBgMockup: {
|
|
295
295
|
height: 6,
|