vpt-sebraeds 0.0.51 → 0.0.53
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/Shortcut/index.jsx +37 -6
- package/components/Tools/NavigationButton/NavigationButton.stories.jsx +3 -1
- package/components/Tools/NavigationButton/index.jsx +20 -5
- package/dist/components/Shortcut/index.d.ts +5 -1
- package/dist/components/Shortcut/index.d.ts.map +1 -1
- package/dist/components/Shortcut/index.js +30 -5
- package/dist/components/Tools/NavigationButton/index.d.ts +2 -1
- package/dist/components/Tools/NavigationButton/index.d.ts.map +1 -1
- package/dist/components/Tools/NavigationButton/index.js +12 -6
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -0
- package/package.json +2 -2
- package/src/index.ts +5 -0
|
@@ -119,6 +119,19 @@ const variants = {
|
|
|
119
119
|
color: '#E2FF66',
|
|
120
120
|
},
|
|
121
121
|
},
|
|
122
|
+
toolCard: {
|
|
123
|
+
container: {
|
|
124
|
+
backgroundColor: '#fff',
|
|
125
|
+
borderColor: '#E2E9FC',
|
|
126
|
+
borderWidth: 2,
|
|
127
|
+
},
|
|
128
|
+
icon: { color: '#263582' },
|
|
129
|
+
label: { color: '#081032' },
|
|
130
|
+
badge: {
|
|
131
|
+
backgroundColor: '#111C44',
|
|
132
|
+
color: '#E2FF66',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
122
135
|
};
|
|
123
136
|
|
|
124
137
|
const Shortcut = ({
|
|
@@ -129,7 +142,12 @@ const Shortcut = ({
|
|
|
129
142
|
style,
|
|
130
143
|
onPress,
|
|
131
144
|
transparentColor = '#ffffff', // Nova prop para controlar a cor do transparent
|
|
132
|
-
aspectRatio = 'default' // Nova prop: 'default' ou 'wide' (39/34)
|
|
145
|
+
aspectRatio = 'default', // Nova prop: 'default' ou 'wide' (39/34)
|
|
146
|
+
// Props para customização de cores
|
|
147
|
+
iconColor = null,
|
|
148
|
+
labelColor = null,
|
|
149
|
+
borderColor = null,
|
|
150
|
+
backgroundColor = null,
|
|
133
151
|
}) => {
|
|
134
152
|
const [isFocused, setIsFocused] = useState(false);
|
|
135
153
|
|
|
@@ -153,18 +171,31 @@ const Shortcut = ({
|
|
|
153
171
|
|
|
154
172
|
const v = updatedVariants[variant] || updatedVariants.filled;
|
|
155
173
|
|
|
174
|
+
// Aplicar cores customizadas se fornecidas
|
|
175
|
+
const finalIconColor = iconColor || v.icon.color;
|
|
176
|
+
const finalLabelColor = labelColor || v.label.color;
|
|
177
|
+
const finalBorderColor = borderColor || v.container.borderColor;
|
|
178
|
+
const finalBackgroundColor = backgroundColor || v.container.backgroundColor;
|
|
179
|
+
|
|
156
180
|
// Usar ícone específico para variação transparent
|
|
157
181
|
const finalIconName = variant === 'transparent' ? 'pencil-line' : iconName;
|
|
158
182
|
|
|
159
183
|
// Calcular dimensões baseadas no aspect ratio
|
|
160
184
|
const containerStyle = aspectRatio === 'wide' ? styles.containerWide : {};
|
|
161
185
|
|
|
186
|
+
// Container style com cores customizadas
|
|
187
|
+
const customContainerStyle = {
|
|
188
|
+
...v.container,
|
|
189
|
+
borderColor: finalBorderColor,
|
|
190
|
+
backgroundColor: finalBackgroundColor,
|
|
191
|
+
};
|
|
192
|
+
|
|
162
193
|
return (
|
|
163
194
|
<TouchableOpacity
|
|
164
195
|
style={[
|
|
165
196
|
styles.container,
|
|
166
197
|
containerStyle,
|
|
167
|
-
|
|
198
|
+
customContainerStyle,
|
|
168
199
|
isFocused && getContainerStyle(variant),
|
|
169
200
|
style
|
|
170
201
|
]}
|
|
@@ -178,10 +209,10 @@ const Shortcut = ({
|
|
|
178
209
|
<SEText type="ns-sm-body-semibold" style={[styles.badgeText, { color: v.badge.color }]}>{badge}</SEText>
|
|
179
210
|
</View>
|
|
180
211
|
)}
|
|
181
|
-
<Icon name={finalIconName} size={32} color={
|
|
182
|
-
<SEText
|
|
183
|
-
type="ns-sm-body-bold"
|
|
184
|
-
style={[styles.label,
|
|
212
|
+
<Icon name={finalIconName} size={32} color={finalIconColor} style={styles.icon} />
|
|
213
|
+
<SEText
|
|
214
|
+
type="ns-sm-body-bold"
|
|
215
|
+
style={[styles.label, { color: finalLabelColor }]}
|
|
185
216
|
numberOfLines={2}
|
|
186
217
|
ellipsizeMode="tail"
|
|
187
218
|
>
|
|
@@ -91,9 +91,10 @@ export const Default = {
|
|
|
91
91
|
style={{ marginBottom: 12 }}
|
|
92
92
|
/>
|
|
93
93
|
|
|
94
|
-
{/* hidden content (masked) */}
|
|
94
|
+
{/* hidden content (masked) - press the eye icon to toggle */}
|
|
95
95
|
<NavigationButton
|
|
96
96
|
title="Tool's Name"
|
|
97
|
+
description="R$ 5.021,01"
|
|
97
98
|
maskedContent={true}
|
|
98
99
|
labels={[
|
|
99
100
|
{ text: 'Label', leftIcon: 'home-4-line', rightIcon: 'home-4-line' },
|
|
@@ -114,6 +115,7 @@ export const Default = {
|
|
|
114
115
|
|
|
115
116
|
<NavigationButton
|
|
116
117
|
title="Tool's Name"
|
|
118
|
+
description="R$ 5.021,01"
|
|
117
119
|
maskedContent={true}
|
|
118
120
|
labels={[]}
|
|
119
121
|
/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
2
|
import { View, StyleSheet, Pressable } from 'react-native';
|
|
3
3
|
import SEText from '../../SEText';
|
|
4
4
|
import Icon from '../../Icon';
|
|
@@ -39,6 +39,7 @@ const NavigationButton = ({
|
|
|
39
39
|
|
|
40
40
|
// Valor com ícone
|
|
41
41
|
valueIconName = 'eye-line',
|
|
42
|
+
maskedValueIconName = 'eye-off-line',
|
|
42
43
|
valueIconSize = 16,
|
|
43
44
|
valueIconColor = '#485274',
|
|
44
45
|
|
|
@@ -87,6 +88,7 @@ const NavigationButton = ({
|
|
|
87
88
|
};
|
|
88
89
|
|
|
89
90
|
const isCustomIcon = iconType && iconType !== 'Remix';
|
|
91
|
+
const [masked, setMasked] = useState(maskedContent);
|
|
90
92
|
|
|
91
93
|
const renderDescription = () => {
|
|
92
94
|
if (hideContent) {
|
|
@@ -94,15 +96,22 @@ const NavigationButton = ({
|
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
if (maskedContent) {
|
|
99
|
+
const isCurrentlyMasked = masked;
|
|
97
100
|
return (
|
|
98
101
|
<View style={styles.valueContainer}>
|
|
99
|
-
<
|
|
102
|
+
<Pressable onPress={() => setMasked((prev) => !prev)} hitSlop={8}>
|
|
103
|
+
<Icon
|
|
104
|
+
name={isCurrentlyMasked ? maskedValueIconName : valueIconName}
|
|
105
|
+
size={valueIconSize}
|
|
106
|
+
color={valueIconColor}
|
|
107
|
+
/>
|
|
108
|
+
</Pressable>
|
|
100
109
|
<SEText
|
|
101
110
|
type={descriptionType}
|
|
102
111
|
color={descriptionColor}
|
|
103
112
|
style={styles.valueText}
|
|
104
113
|
>
|
|
105
|
-
••••••
|
|
114
|
+
{isCurrentlyMasked ? '••••••' : description}
|
|
106
115
|
</SEText>
|
|
107
116
|
</View>
|
|
108
117
|
);
|
|
@@ -126,13 +135,19 @@ const NavigationButton = ({
|
|
|
126
135
|
if (showValueIcon) {
|
|
127
136
|
return (
|
|
128
137
|
<View style={styles.valueContainer}>
|
|
129
|
-
<
|
|
138
|
+
<Pressable onPress={() => setMasked((prev) => !prev)} hitSlop={8}>
|
|
139
|
+
<Icon
|
|
140
|
+
name={masked ? maskedValueIconName : valueIconName}
|
|
141
|
+
size={valueIconSize}
|
|
142
|
+
color={valueIconColor}
|
|
143
|
+
/>
|
|
144
|
+
</Pressable>
|
|
130
145
|
<SEText
|
|
131
146
|
type={descriptionType}
|
|
132
147
|
color={descriptionColor}
|
|
133
148
|
style={styles.valueText}
|
|
134
149
|
>
|
|
135
|
-
{description}
|
|
150
|
+
{masked ? '••••••' : description}
|
|
136
151
|
</SEText>
|
|
137
152
|
</View>
|
|
138
153
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Shortcut;
|
|
2
|
-
declare function Shortcut({ label, iconName, variant, badge, style, onPress, transparentColor, aspectRatio }: {
|
|
2
|
+
declare function Shortcut({ label, iconName, variant, badge, style, onPress, transparentColor, aspectRatio, iconColor, labelColor, borderColor, backgroundColor, }: {
|
|
3
3
|
label?: string | undefined;
|
|
4
4
|
iconName?: string | undefined;
|
|
5
5
|
variant?: string | undefined;
|
|
@@ -8,6 +8,10 @@ declare function Shortcut({ label, iconName, variant, badge, style, onPress, tra
|
|
|
8
8
|
onPress: any;
|
|
9
9
|
transparentColor?: string | undefined;
|
|
10
10
|
aspectRatio?: string | undefined;
|
|
11
|
+
iconColor?: null | undefined;
|
|
12
|
+
labelColor?: null | undefined;
|
|
13
|
+
borderColor?: null | undefined;
|
|
14
|
+
backgroundColor?: null | undefined;
|
|
11
15
|
}): React.JSX.Element;
|
|
12
16
|
import React from 'react';
|
|
13
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Shortcut/index.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Shortcut/index.jsx"],"names":[],"mappings":";AAwIA;;;;;;;;;;;;;sBAsFC;kBA9N+B,OAAO"}
|
|
@@ -118,11 +118,25 @@ const variants = {
|
|
|
118
118
|
color: '#E2FF66',
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
|
+
toolCard: {
|
|
122
|
+
container: {
|
|
123
|
+
backgroundColor: '#fff',
|
|
124
|
+
borderColor: '#E2E9FC',
|
|
125
|
+
borderWidth: 2,
|
|
126
|
+
},
|
|
127
|
+
icon: { color: '#263582' },
|
|
128
|
+
label: { color: '#081032' },
|
|
129
|
+
badge: {
|
|
130
|
+
backgroundColor: '#111C44',
|
|
131
|
+
color: '#E2FF66',
|
|
132
|
+
},
|
|
133
|
+
},
|
|
121
134
|
};
|
|
122
135
|
const Shortcut = ({ label = 'Label', iconName = 'file-2-line', // Volta para o ícone padrão original
|
|
123
136
|
variant = 'filled', badge, style, onPress, transparentColor = '#ffffff', // Nova prop para controlar a cor do transparent
|
|
124
|
-
aspectRatio = 'default' // Nova prop: 'default' ou 'wide' (39/34)
|
|
125
|
-
|
|
137
|
+
aspectRatio = 'default', // Nova prop: 'default' ou 'wide' (39/34)
|
|
138
|
+
// Props para customização de cores
|
|
139
|
+
iconColor = null, labelColor = null, borderColor = null, backgroundColor = null, }) => {
|
|
126
140
|
const [isFocused, setIsFocused] = useState(false);
|
|
127
141
|
// Atualizar a variação transparent dinamicamente
|
|
128
142
|
const updatedVariants = {
|
|
@@ -142,22 +156,33 @@ aspectRatio = 'default' // Nova prop: 'default' ou 'wide' (39/34)
|
|
|
142
156
|
},
|
|
143
157
|
};
|
|
144
158
|
const v = updatedVariants[variant] || updatedVariants.filled;
|
|
159
|
+
// Aplicar cores customizadas se fornecidas
|
|
160
|
+
const finalIconColor = iconColor || v.icon.color;
|
|
161
|
+
const finalLabelColor = labelColor || v.label.color;
|
|
162
|
+
const finalBorderColor = borderColor || v.container.borderColor;
|
|
163
|
+
const finalBackgroundColor = backgroundColor || v.container.backgroundColor;
|
|
145
164
|
// Usar ícone específico para variação transparent
|
|
146
165
|
const finalIconName = variant === 'transparent' ? 'pencil-line' : iconName;
|
|
147
166
|
// Calcular dimensões baseadas no aspect ratio
|
|
148
167
|
const containerStyle = aspectRatio === 'wide' ? styles.containerWide : {};
|
|
168
|
+
// Container style com cores customizadas
|
|
169
|
+
const customContainerStyle = {
|
|
170
|
+
...v.container,
|
|
171
|
+
borderColor: finalBorderColor,
|
|
172
|
+
backgroundColor: finalBackgroundColor,
|
|
173
|
+
};
|
|
149
174
|
return (<TouchableOpacity style={[
|
|
150
175
|
styles.container,
|
|
151
176
|
containerStyle,
|
|
152
|
-
|
|
177
|
+
customContainerStyle,
|
|
153
178
|
isFocused && getContainerStyle(variant),
|
|
154
179
|
style
|
|
155
180
|
]} onPress={onPress} onPressIn={() => setIsFocused(true)} onPressOut={() => setIsFocused(false)} activeOpacity={0.95}>
|
|
156
181
|
{badge && (<View style={[styles.badge, { backgroundColor: v.badge.backgroundColor }]}>
|
|
157
182
|
<SEText type="ns-sm-body-semibold" style={[styles.badgeText, { color: v.badge.color }]}>{badge}</SEText>
|
|
158
183
|
</View>)}
|
|
159
|
-
<Icon name={finalIconName} size={32} color={
|
|
160
|
-
<SEText type="ns-sm-body-bold" style={[styles.label,
|
|
184
|
+
<Icon name={finalIconName} size={32} color={finalIconColor} style={styles.icon}/>
|
|
185
|
+
<SEText type="ns-sm-body-bold" style={[styles.label, { color: finalLabelColor }]} numberOfLines={2} ellipsizeMode="tail">
|
|
161
186
|
{label}
|
|
162
187
|
</SEText>
|
|
163
188
|
</TouchableOpacity>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default NavigationButton;
|
|
2
|
-
declare function NavigationButton({ title, description, alertMessage, hideContent, maskedContent, showValueIcon, iconType, iconName, iconSize, iconColor, iconContainerSize, iconContainerRadius, iconContainerColor, titleType, titleColor, titleLineHeight, descriptionType, descriptionColor, descriptionLineHeight, alertIconName, alertIconSize, alertColor, valueIconName, valueIconSize, valueIconColor, showArrow, arrowIconName, arrowIconSize, arrowIconColor, labels, labelTextType, labelTextColor, labelIconSize, labelIconColor, dividerColor, variant, backgroundColor, filledBackgroundColor, borderColor, borderWidth, borderRadius, paddingHorizontal, paddingVertical, minHeight, onPress, style, }: {
|
|
2
|
+
declare function NavigationButton({ title, description, alertMessage, hideContent, maskedContent, showValueIcon, iconType, iconName, iconSize, iconColor, iconContainerSize, iconContainerRadius, iconContainerColor, titleType, titleColor, titleLineHeight, descriptionType, descriptionColor, descriptionLineHeight, alertIconName, alertIconSize, alertColor, valueIconName, maskedValueIconName, valueIconSize, valueIconColor, showArrow, arrowIconName, arrowIconSize, arrowIconColor, labels, labelTextType, labelTextColor, labelIconSize, labelIconColor, dividerColor, variant, backgroundColor, filledBackgroundColor, borderColor, borderWidth, borderRadius, paddingHorizontal, paddingVertical, minHeight, onPress, style, }: {
|
|
3
3
|
title?: string | undefined;
|
|
4
4
|
description?: string | undefined;
|
|
5
5
|
alertMessage?: null | undefined;
|
|
@@ -23,6 +23,7 @@ declare function NavigationButton({ title, description, alertMessage, hideConten
|
|
|
23
23
|
alertIconSize?: number | undefined;
|
|
24
24
|
alertColor?: string | undefined;
|
|
25
25
|
valueIconName?: string | undefined;
|
|
26
|
+
maskedValueIconName?: string | undefined;
|
|
26
27
|
valueIconSize?: number | undefined;
|
|
27
28
|
valueIconColor?: string | undefined;
|
|
28
29
|
showArrow?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/Tools/NavigationButton/index.jsx"],"names":[],"mappings":";AAMA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/Tools/NavigationButton/index.jsx"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAsSC;kBA5S+B,OAAO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
2
|
import { View, StyleSheet, Pressable } from 'react-native';
|
|
3
3
|
import SEText from '../../SEText';
|
|
4
4
|
import Icon from '../../Icon';
|
|
@@ -15,7 +15,7 @@ descriptionType = 'ns-xxs-body', descriptionColor = '#485274', descriptionLineHe
|
|
|
15
15
|
// Alerta
|
|
16
16
|
alertIconName = 'alert-line', alertIconSize = 16, alertColor = '#E53935',
|
|
17
17
|
// Valor com ícone
|
|
18
|
-
valueIconName = 'eye-line', valueIconSize = 16, valueIconColor = '#485274',
|
|
18
|
+
valueIconName = 'eye-line', maskedValueIconName = 'eye-off-line', valueIconSize = 16, valueIconColor = '#485274',
|
|
19
19
|
// Seta
|
|
20
20
|
showArrow = true, arrowIconName = 'arrow-right-line', arrowIconSize = 20, arrowIconColor = '#1B244B',
|
|
21
21
|
// Labels
|
|
@@ -39,15 +39,19 @@ onPress, style, }) => {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
const isCustomIcon = iconType && iconType !== 'Remix';
|
|
42
|
+
const [masked, setMasked] = useState(maskedContent);
|
|
42
43
|
const renderDescription = () => {
|
|
43
44
|
if (hideContent) {
|
|
44
45
|
return null;
|
|
45
46
|
}
|
|
46
47
|
if (maskedContent) {
|
|
48
|
+
const isCurrentlyMasked = masked;
|
|
47
49
|
return (<View style={styles.valueContainer}>
|
|
48
|
-
<
|
|
50
|
+
<Pressable onPress={() => setMasked((prev) => !prev)} hitSlop={8}>
|
|
51
|
+
<Icon name={isCurrentlyMasked ? maskedValueIconName : valueIconName} size={valueIconSize} color={valueIconColor}/>
|
|
52
|
+
</Pressable>
|
|
49
53
|
<SEText type={descriptionType} color={descriptionColor} style={styles.valueText}>
|
|
50
|
-
••••••
|
|
54
|
+
{isCurrentlyMasked ? '••••••' : description}
|
|
51
55
|
</SEText>
|
|
52
56
|
</View>);
|
|
53
57
|
}
|
|
@@ -61,9 +65,11 @@ onPress, style, }) => {
|
|
|
61
65
|
}
|
|
62
66
|
if (showValueIcon) {
|
|
63
67
|
return (<View style={styles.valueContainer}>
|
|
64
|
-
<
|
|
68
|
+
<Pressable onPress={() => setMasked((prev) => !prev)} hitSlop={8}>
|
|
69
|
+
<Icon name={masked ? maskedValueIconName : valueIconName} size={valueIconSize} color={valueIconColor}/>
|
|
70
|
+
</Pressable>
|
|
65
71
|
<SEText type={descriptionType} color={descriptionColor} style={styles.valueText}>
|
|
66
|
-
{description}
|
|
72
|
+
{masked ? '••••••' : description}
|
|
67
73
|
</SEText>
|
|
68
74
|
</View>);
|
|
69
75
|
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -60,4 +60,7 @@ export { default as Toggle } from '../components/Toggle';
|
|
|
60
60
|
export { default as TooltipCard } from '../components/TooltipCard';
|
|
61
61
|
export { default as Typography } from '../components/Typography';
|
|
62
62
|
export { default as SEText } from '../components/SEText';
|
|
63
|
+
export { default as SearchResult } from '../components/Tools/SearchResult';
|
|
64
|
+
export { default as NavigationButton } from '../components/Tools/NavigationButton';
|
|
65
|
+
export { default as SEIcon } from '../components/SEIcon';
|
|
63
66
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,OA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,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAGzD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAGzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -71,6 +71,10 @@ export { default as Toggle } from '../components/Toggle';
|
|
|
71
71
|
export { default as TooltipCard } from '../components/TooltipCard';
|
|
72
72
|
export { default as Typography } from '../components/Typography';
|
|
73
73
|
export { default as SEText } from '../components/SEText';
|
|
74
|
+
// Tools
|
|
75
|
+
export { default as SearchResult } from '../components/Tools/SearchResult';
|
|
76
|
+
export { default as NavigationButton } from '../components/Tools/NavigationButton';
|
|
77
|
+
export { default as SEIcon } from '../components/SEIcon';
|
|
74
78
|
// ==================================
|
|
75
79
|
// EXPORTAÇÃO DE TIPOS (OPCIONAL)
|
|
76
80
|
// ==================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vpt-sebraeds",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"description": "Biblioteca de componentes React Native do Sebrae",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -122,4 +122,4 @@
|
|
|
122
122
|
"react-native-web": "^0.20.0"
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
}
|
|
125
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -80,6 +80,11 @@ export { default as TooltipCard } from '../components/TooltipCard';
|
|
|
80
80
|
export { default as Typography } from '../components/Typography';
|
|
81
81
|
export { default as SEText } from '../components/SEText';
|
|
82
82
|
|
|
83
|
+
// Tools
|
|
84
|
+
export { default as SearchResult } from '../components/Tools/SearchResult';
|
|
85
|
+
export { default as NavigationButton } from '../components/Tools/NavigationButton';
|
|
86
|
+
export { default as SEIcon } from '../components/SEIcon';
|
|
87
|
+
|
|
83
88
|
// ==================================
|
|
84
89
|
// EXPORTAÇÃO DE TIPOS (OPCIONAL)
|
|
85
90
|
// ==================================
|