vpt-sebraeds 0.0.35 → 0.0.37
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/components/NavigationItem/index.tsx +5 -6
- package/components/ShuffleItem/index.jsx +1 -1
- package/dist/components/NavigationItem/index.d.ts.map +1 -1
- package/dist/components/NavigationItem/index.js +5 -6
- package/dist/components/ShuffleItem/index.d.ts.map +1 -1
- package/dist/components/ShuffleItem/index.js +2 -1
- package/package.json +1 -1
|
@@ -61,10 +61,7 @@ const NavigationItem: React.FC<NavigationItemProps> = ({
|
|
|
61
61
|
styles.iconContainer,
|
|
62
62
|
size === 'small' ? styles.iconContainerSmall : size === 'large' ? styles.iconContainerLarge : styles.iconContainerMedium,
|
|
63
63
|
variant === 'selected' ? styles.iconContainerSelected : variant === 'disabled' ? styles.iconContainerDisabled : styles.iconContainerDefault,
|
|
64
|
-
layout === 'expanded' &&
|
|
65
|
-
styles.iconContainerExpanded,
|
|
66
|
-
{ alignSelf: iconAlignment }
|
|
67
|
-
],
|
|
64
|
+
layout === 'expanded' && styles.iconContainerExpanded,
|
|
68
65
|
layout === 'list' && styles.iconContainerHidden,
|
|
69
66
|
iconBackgroundColor && { backgroundColor: iconBackgroundColor },
|
|
70
67
|
];
|
|
@@ -262,7 +259,7 @@ const styles = StyleSheet.create({
|
|
|
262
259
|
// Container Base
|
|
263
260
|
container: {
|
|
264
261
|
flexDirection: 'row',
|
|
265
|
-
alignItems: '
|
|
262
|
+
alignItems: 'center',
|
|
266
263
|
backgroundColor: '#FFFFFF',
|
|
267
264
|
borderRadius: 12,
|
|
268
265
|
borderWidth: 1.5,
|
|
@@ -321,6 +318,7 @@ const styles = StyleSheet.create({
|
|
|
321
318
|
},
|
|
322
319
|
// Container expandido com descrição
|
|
323
320
|
containerExpanded: {
|
|
321
|
+
alignItems: 'flex-start',
|
|
324
322
|
paddingTop: 16, // Padding superior menor para alinhar melhor
|
|
325
323
|
paddingBottom: 20, // Padding inferior maior para dar espaço para a descrição
|
|
326
324
|
minHeight: 110, // Altura maior para corresponder à imagem de referência
|
|
@@ -330,7 +328,7 @@ const styles = StyleSheet.create({
|
|
|
330
328
|
iconContainer: {
|
|
331
329
|
alignItems: 'center',
|
|
332
330
|
justifyContent: 'center',
|
|
333
|
-
alignSelf: '
|
|
331
|
+
alignSelf: 'center',
|
|
334
332
|
marginRight: 12,
|
|
335
333
|
position: 'relative',
|
|
336
334
|
},
|
|
@@ -369,6 +367,7 @@ const styles = StyleSheet.create({
|
|
|
369
367
|
width: 40,
|
|
370
368
|
height: 40,
|
|
371
369
|
borderRadius: 6,
|
|
370
|
+
alignSelf: 'flex-start',
|
|
372
371
|
},
|
|
373
372
|
iconContainerHidden: {
|
|
374
373
|
width: 0,
|
|
@@ -219,7 +219,6 @@ const ShuffleItem = ({
|
|
|
219
219
|
name={icon}
|
|
220
220
|
size={20}
|
|
221
221
|
color={iconColor}
|
|
222
|
-
style={styles.contentIcon}
|
|
223
222
|
/>
|
|
224
223
|
</View>
|
|
225
224
|
) : (
|
|
@@ -515,6 +514,7 @@ const styles = StyleSheet.create({
|
|
|
515
514
|
borderRadius: 6,
|
|
516
515
|
justifyContent: 'center',
|
|
517
516
|
alignItems: 'center',
|
|
517
|
+
alignSelf: 'center',
|
|
518
518
|
marginRight: 12,
|
|
519
519
|
},
|
|
520
520
|
textContainer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/NavigationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsC,SAAS,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAInG,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAC9C,IAAI,CAAC,EAAE,OA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EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC;CACzC;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqOjD,CAAC;AA4QF,eAAe,cAAc,CAAC"}
|
|
@@ -19,10 +19,7 @@ const NavigationItem = ({ iconName, label, variant = 'default', size = 'medium',
|
|
|
19
19
|
styles.iconContainer,
|
|
20
20
|
size === 'small' ? styles.iconContainerSmall : size === 'large' ? styles.iconContainerLarge : styles.iconContainerMedium,
|
|
21
21
|
variant === 'selected' ? styles.iconContainerSelected : variant === 'disabled' ? styles.iconContainerDisabled : styles.iconContainerDefault,
|
|
22
|
-
layout === 'expanded' &&
|
|
23
|
-
styles.iconContainerExpanded,
|
|
24
|
-
{ alignSelf: iconAlignment }
|
|
25
|
-
],
|
|
22
|
+
layout === 'expanded' && styles.iconContainerExpanded,
|
|
26
23
|
layout === 'list' && styles.iconContainerHidden,
|
|
27
24
|
iconBackgroundColor && { backgroundColor: iconBackgroundColor },
|
|
28
25
|
];
|
|
@@ -165,7 +162,7 @@ const styles = StyleSheet.create({
|
|
|
165
162
|
// Container Base
|
|
166
163
|
container: {
|
|
167
164
|
flexDirection: 'row',
|
|
168
|
-
alignItems: '
|
|
165
|
+
alignItems: 'center',
|
|
169
166
|
backgroundColor: '#FFFFFF',
|
|
170
167
|
borderRadius: 12,
|
|
171
168
|
borderWidth: 1.5,
|
|
@@ -221,6 +218,7 @@ const styles = StyleSheet.create({
|
|
|
221
218
|
},
|
|
222
219
|
// Container expandido com descrição
|
|
223
220
|
containerExpanded: {
|
|
221
|
+
alignItems: 'flex-start',
|
|
224
222
|
paddingTop: 16, // Padding superior menor para alinhar melhor
|
|
225
223
|
paddingBottom: 20, // Padding inferior maior para dar espaço para a descrição
|
|
226
224
|
minHeight: 110, // Altura maior para corresponder à imagem de referência
|
|
@@ -229,7 +227,7 @@ const styles = StyleSheet.create({
|
|
|
229
227
|
iconContainer: {
|
|
230
228
|
alignItems: 'center',
|
|
231
229
|
justifyContent: 'center',
|
|
232
|
-
alignSelf: '
|
|
230
|
+
alignSelf: 'center',
|
|
233
231
|
marginRight: 12,
|
|
234
232
|
position: 'relative',
|
|
235
233
|
},
|
|
@@ -266,6 +264,7 @@ const styles = StyleSheet.create({
|
|
|
266
264
|
width: 40,
|
|
267
265
|
height: 40,
|
|
268
266
|
borderRadius: 6,
|
|
267
|
+
alignSelf: 'flex-start',
|
|
269
268
|
},
|
|
270
269
|
iconContainerHidden: {
|
|
271
270
|
width: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/ShuffleItem/index.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/ShuffleItem/index.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA2ZC;kBAnakD,OAAO"}
|
|
@@ -133,7 +133,7 @@ const ShuffleItem = ({ title = 'Nome da Ferramenta', subtitle = 'Lorem Máxima L
|
|
|
133
133
|
{showAddButton && (<View style={styles.dragAreaForAddButton}/>)}
|
|
134
134
|
<TouchableOpacity style={styles.content} onPress={onPress} activeOpacity={0.7}>
|
|
135
135
|
{!showAddButton && (iconContainerColor ? (<View style={[styles.iconContainer, { backgroundColor: iconContainerColor, opacity: iconOpacity }]}>
|
|
136
|
-
<Icon name={icon} size={20} color={iconColor}
|
|
136
|
+
<Icon name={icon} size={20} color={iconColor}/>
|
|
137
137
|
</View>) : (<Icon name={icon} size={20} color={getActionIconColor()} style={[styles.contentIcon, { opacity: iconOpacity }]}/>))}
|
|
138
138
|
|
|
139
139
|
<View style={styles.textContainer}>
|
|
@@ -309,6 +309,7 @@ const styles = StyleSheet.create({
|
|
|
309
309
|
borderRadius: 6,
|
|
310
310
|
justifyContent: 'center',
|
|
311
311
|
alignItems: 'center',
|
|
312
|
+
alignSelf: 'center',
|
|
312
313
|
marginRight: 12,
|
|
313
314
|
},
|
|
314
315
|
textContainer: {
|