vpt-sebraeds 0.0.91 → 0.0.92

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.
Files changed (149) hide show
  1. package/README.md +11 -9
  2. package/components/Accordion/Accordion.stories.jsx +1 -1
  3. package/components/Accordion/index.jsx +1 -1
  4. package/components/Avatar/index.jsx +1 -1
  5. package/components/BottomSheet/BottomSheet.jsx +1 -1
  6. package/components/BottomSheet/BottomSheet.stories.jsx +1 -2
  7. package/components/Bullet/index.jsx +1 -1
  8. package/components/Button/index.jsx +68 -5
  9. package/components/ButtonGroup/index.tsx +1 -1
  10. package/components/CNAESelectItem/index.jsx +1 -1
  11. package/components/Checkbox/index.jsx +1 -1
  12. package/components/EventListItem/index.tsx +1 -1
  13. package/components/ExpandableNumberDisplay/index.tsx +1 -1
  14. package/components/FilterTag/index.jsx +1 -1
  15. package/components/FilterableMultiSelect/index.jsx +1 -1
  16. package/components/FilterableUniSelect/index.jsx +1 -1
  17. package/components/GeneralInformationCard/index.tsx +1 -1
  18. package/components/Header/v1/components/SwitchAccount.jsx +1 -1
  19. package/components/Header/v1/components/Variants.jsx +1 -1
  20. package/components/Header/v2/parts/Hero.jsx +1 -1
  21. package/components/Header/v2/parts/SwitchAccount.jsx +1 -1
  22. package/components/Header/v2/parts/Variants.jsx +1 -1
  23. package/components/Input/InputUnderline.tsx +1 -1
  24. package/components/Input/index.jsx +1 -1
  25. package/components/Link/index.jsx +1 -1
  26. package/components/MiniEventCard/index.jsx +1 -1
  27. package/components/NavigationItem/index.tsx +1 -1
  28. package/components/NotificationDialog/index.jsx +1 -1
  29. package/components/ProgressChart/index.jsx +1 -1
  30. package/components/RangeSlider/index.tsx +1 -1
  31. package/components/Search/index.jsx +1 -1
  32. package/components/Select/index.jsx +1 -1
  33. package/components/SelectableOption/SelectableOption.stories.jsx +139 -139
  34. package/components/SelectableOption/index.jsx +261 -261
  35. package/components/Shortcut/index.jsx +1 -1
  36. package/components/ShuffleItem/index.jsx +1 -1
  37. package/components/StackedBar/StackedBar.stories.jsx +122 -122
  38. package/components/StackedBar/index.jsx +241 -241
  39. package/components/Table/index.jsx +1 -1
  40. package/components/TaggedInputText/index.jsx +1 -1
  41. package/components/TaskCard/index.jsx +1 -1
  42. package/components/Templates/Loading/Icons/index.jsx +76 -0
  43. package/components/Templates/Loading/Loading.stories.jsx +200 -0
  44. package/components/Templates/Loading/README.md +41 -0
  45. package/components/Templates/Loading/assets/almost-there.svg +111 -0
  46. package/components/Templates/Loading/assets/something-wrong.svg +55 -0
  47. package/components/Templates/Loading/context/index.jsx +24 -0
  48. package/components/Templates/Loading/index.jsx +540 -0
  49. package/components/Templates/StatusFeedback/Icons/index.jsx +119 -0
  50. package/components/Templates/StatusFeedback/README.md +33 -0
  51. package/components/Templates/StatusFeedback/StatusFeedback.stories.jsx +96 -0
  52. package/components/Templates/StatusFeedback/assets/action-success.svg +22 -0
  53. package/components/Templates/StatusFeedback/assets/action-unsuccess.svg +26 -0
  54. package/components/Templates/StatusFeedback/assets/not-found.svg +18 -0
  55. package/components/Templates/StatusFeedback/context/index.jsx +26 -0
  56. package/components/Templates/StatusFeedback/index.jsx +377 -0
  57. package/components/Tools/NavigationButton/NavigationButton.stories.jsx +1 -1
  58. package/components/Tools/NavigationButton/index.jsx +1 -1
  59. package/components/Tools/SearchResult/index.jsx +1 -1
  60. package/components/TooltipCard/index.jsx +1 -1
  61. package/components/Typography/RichText/index.d.ts +2 -0
  62. package/components/Typography/RichText/index.js +8 -0
  63. package/components/{SEText → Typography/SEText}/index.d.ts +3 -1
  64. package/components/Typography/SEText/index.js +248 -0
  65. package/components/{SEText → Typography/SEText}/styles.js +19 -1
  66. package/components/Typography/Typography.stories.jsx +28 -203
  67. package/components/Typography/index.jsx +5 -61
  68. package/dist/components/Accordion/index.js +1 -1
  69. package/dist/components/Avatar/index.js +1 -1
  70. package/dist/components/BottomSheet/BottomSheet.js +1 -1
  71. package/dist/components/Bullet/index.js +1 -1
  72. package/dist/components/Button/index.d.ts +12 -1
  73. package/dist/components/Button/index.d.ts.map +1 -1
  74. package/dist/components/Button/index.js +46 -6
  75. package/dist/components/ButtonGroup/index.js +1 -1
  76. package/dist/components/CNAESelectItem/index.js +1 -1
  77. package/dist/components/Checkbox/index.js +1 -1
  78. package/dist/components/EventListItem/index.js +1 -1
  79. package/dist/components/ExpandableNumberDisplay/index.js +1 -1
  80. package/dist/components/FilterTag/index.js +1 -1
  81. package/dist/components/FilterableMultiSelect/index.js +1 -1
  82. package/dist/components/FilterableUniSelect/index.js +1 -1
  83. package/dist/components/GeneralInformationCard/index.js +1 -1
  84. package/dist/components/Header/v1/components/SwitchAccount.js +1 -1
  85. package/dist/components/Header/v1/components/Variants.js +1 -1
  86. package/dist/components/Header/v2/parts/Hero.js +1 -1
  87. package/dist/components/Header/v2/parts/SwitchAccount.js +1 -1
  88. package/dist/components/Header/v2/parts/Variants.js +1 -1
  89. package/dist/components/Input/InputUnderline.js +1 -1
  90. package/dist/components/Input/index.js +1 -1
  91. package/dist/components/Link/index.js +1 -1
  92. package/dist/components/MiniEventCard/index.js +1 -1
  93. package/dist/components/NavigationItem/index.js +1 -1
  94. package/dist/components/NotificationDialog/index.js +1 -1
  95. package/dist/components/ProgressChart/index.js +1 -1
  96. package/dist/components/RangeSlider/index.js +1 -1
  97. package/dist/components/Search/index.js +1 -1
  98. package/dist/components/Select/index.js +1 -1
  99. package/dist/components/SelectableOption/index.js +17 -17
  100. package/dist/components/Shortcut/index.js +1 -1
  101. package/dist/components/ShuffleItem/index.js +1 -1
  102. package/dist/components/StackedBar/index.js +23 -23
  103. package/dist/components/Table/index.js +1 -1
  104. package/dist/components/TaggedInputText/index.js +1 -1
  105. package/dist/components/TaskCard/index.js +1 -1
  106. package/dist/components/Templates/Loading/Icons/index.d.ts +12 -0
  107. package/dist/components/Templates/Loading/Icons/index.d.ts.map +1 -0
  108. package/dist/components/Templates/Loading/Icons/index.js +61 -0
  109. package/dist/components/Templates/Loading/assets/almost-there.svg +111 -0
  110. package/dist/components/Templates/Loading/assets/something-wrong.svg +55 -0
  111. package/dist/components/Templates/Loading/context/index.d.ts +9 -0
  112. package/dist/components/Templates/Loading/context/index.d.ts.map +1 -0
  113. package/dist/components/Templates/Loading/context/index.js +16 -0
  114. package/dist/components/Templates/Loading/index.d.ts +141 -0
  115. package/dist/components/Templates/Loading/index.d.ts.map +1 -0
  116. package/dist/components/Templates/Loading/index.js +316 -0
  117. package/dist/components/Templates/StatusFeedback/Icons/index.d.ts +21 -0
  118. package/dist/components/Templates/StatusFeedback/Icons/index.d.ts.map +1 -0
  119. package/dist/components/Templates/StatusFeedback/Icons/index.js +85 -0
  120. package/dist/components/Templates/StatusFeedback/assets/action-success.svg +22 -0
  121. package/dist/components/Templates/StatusFeedback/assets/action-unsuccess.svg +26 -0
  122. package/dist/components/Templates/StatusFeedback/assets/not-found.svg +18 -0
  123. package/dist/components/Templates/StatusFeedback/context/index.d.ts +9 -0
  124. package/dist/components/Templates/StatusFeedback/context/index.d.ts.map +1 -0
  125. package/dist/components/Templates/StatusFeedback/context/index.js +16 -0
  126. package/dist/components/Templates/StatusFeedback/index.d.ts +102 -0
  127. package/dist/components/Templates/StatusFeedback/index.d.ts.map +1 -0
  128. package/dist/components/Templates/StatusFeedback/index.js +230 -0
  129. package/dist/components/Tools/NavigationButton/index.js +1 -1
  130. package/dist/components/Tools/SearchResult/index.js +1 -1
  131. package/dist/components/TooltipCard/index.js +1 -1
  132. package/dist/components/Typography/RichText/index.d.ts +4 -0
  133. package/dist/components/Typography/RichText/index.d.ts.map +1 -0
  134. package/dist/components/Typography/RichText/index.js +6 -0
  135. package/dist/components/Typography/SEText/index.d.ts +60 -0
  136. package/dist/components/Typography/SEText/index.d.ts.map +1 -0
  137. package/dist/components/Typography/SEText/index.js +172 -0
  138. package/dist/components/Typography/SEText/styles.d.ts +442 -0
  139. package/dist/components/Typography/SEText/styles.d.ts.map +1 -0
  140. package/dist/components/Typography/SEText/styles.js +36 -0
  141. package/dist/components/Typography/index.d.ts +6 -13
  142. package/dist/components/Typography/index.d.ts.map +1 -1
  143. package/dist/components/Typography/index.js +5 -42
  144. package/dist/src/index.d.ts +4 -1
  145. package/dist/src/index.d.ts.map +1 -1
  146. package/dist/src/index.js +4 -1
  147. package/package.json +1 -1
  148. package/src/index.ts +4 -1
  149. package/components/SEText/index.js +0 -154
package/README.md CHANGED
@@ -26,7 +26,8 @@ Referências diretas:
26
26
  - Tokens por aspecto: [components/styles/tokens/](file:///Users/tegra/sebrae/storybook/dev/components/styles/tokens)
27
27
  - Entry point compatível: [components/styles/tokens.ts](file:///Users/tegra/sebrae/storybook/dev/components/styles/tokens.ts)
28
28
  - Tipografia centralizada: [typography.ts](file:///Users/tegra/sebrae/storybook/dev/components/styles/tokens/typography.ts)
29
- - Texto padronizado: [SEText/index.js](file:///Users/tegra/sebrae/storybook/dev/components/SEText/index.js)
29
+ - Texto padronizado: [RichText/index.js](file:///Users/tegra/sebrae/storybook/dev/components/RichText/index.js)
30
+ - Base compatível de tipografia: [SEText/index.js](file:///Users/tegra/sebrae/storybook/dev/components/SEText/index.js)
30
31
  - Regras do projeto: [AGENTS.md](file:///Users/tegra/sebrae/storybook/dev/AGENTS.md)
31
32
 
32
33
  ## ✅ Requisitos
@@ -53,13 +54,14 @@ npm install
53
54
  Padrão de construção esperado:
54
55
 
55
56
  - Componentes novos devem seguir composição e contexto quando houver partes acopladas semanticamente.
56
- - Tipografia deve ser aplicada com `SEText` ou via `tokens.textStyles`/`tokens.typography`.
57
+ - Tipografia deve ser aplicada com `RichText`, `SEText` compatível ou via `tokens.textStyles`/`tokens.typography`.
57
58
  - Estilos estáticos devem usar `StyleSheet.create` e tokens semânticos.
58
59
 
59
60
  Exemplos de componentes:
60
61
 
61
62
  - Accordion, Button, Checkbox, FilterTag, Input, Modal, Navbar, Pagination,
62
- Datepicker, Dropdown, Card, Toast, Typography, SEIcon, SEText, e muitos outros.
63
+ Datepicker, Dropdown, Card, Toast, Typography, SEIcon, RichText, SEText,
64
+ e muitos outros.
63
65
 
64
66
  ## 🚀 Como Usar
65
67
 
@@ -128,7 +130,7 @@ Uso recomendado em componentes:
128
130
 
129
131
  ```tsx
130
132
  import { StyleSheet, View } from 'react-native'
131
- import SEText from 'vpt-sebraeds/components/SEText'
133
+ import RichText from 'vpt-sebraeds/components/RichText'
132
134
  import tokens from 'vpt-sebraeds/components/styles/tokens'
133
135
 
134
136
  const styles = StyleSheet.create({
@@ -145,10 +147,10 @@ const styles = StyleSheet.create({
145
147
  export function ExemploTokenizado() {
146
148
  return (
147
149
  <View style={styles.card}>
148
- <SEText type="ns-heading-5">Título</SEText>
149
- <SEText type="ns-sm-body" color={tokens.colors.text.secondary}>
150
+ <RichText type="ns-heading-5">Título</RichText>
151
+ <RichText type="ns-sm-body" color={tokens.colors.text.secondary}>
150
152
  Conteúdo seguindo os tokens do projeto
151
- </SEText>
153
+ </RichText>
152
154
  </View>
153
155
  )
154
156
  }
@@ -170,10 +172,10 @@ Exemplo conceitual:
170
172
  ```tsx
171
173
  <Card>
172
174
  <Card.Header>
173
- <SEText type="ns-heading-5">Título</SEText>
175
+ <RichText type="ns-heading-5">Título</RichText>
174
176
  </Card.Header>
175
177
  <Card.Body>
176
- <SEText type="ns-sm-body">Conteúdo</SEText>
178
+ <RichText type="ns-sm-body">Conteúdo</RichText>
177
179
  </Card.Body>
178
180
  </Card>
179
181
  ```
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { View } from 'react-native';
3
3
  import Accordion from '.';
4
- import SEText from '../SEText';
4
+ import SEText from '../Typography/SEText';
5
5
 
6
6
  const meta = {
7
7
  title: 'Atom/Accordion',
@@ -2,7 +2,7 @@ import React, { useState, useRef, useEffect, useContext, createContext } from 'r
2
2
  import { View, TouchableOpacity, StyleSheet, Animated, LayoutAnimation, Platform, UIManager } from 'react-native';
3
3
  import PropTypes from 'prop-types';
4
4
  import Icon from '../Icon';
5
- import SEText from '../SEText';
5
+ import SEText from '../Typography/SEText';
6
6
  import tokens from '../styles/tokens';
7
7
 
8
8
  if (Platform.OS === 'android' && UIManager.setLayoutAnimationEnabledExperimental) {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TouchableOpacity, Image, StyleSheet, View } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
 
5
5
  const Avatar = ({
6
6
  size = 'medium',
@@ -11,7 +11,7 @@ import {
11
11
  } from 'react-native';
12
12
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
13
13
  import Icon from '../Icon';
14
- import SEText from '../SEText';
14
+ import SEText from '../Typography/SEText';
15
15
 
16
16
  const { height: screenHeight, width: screenWidth } = Dimensions.get('window');
17
17
 
@@ -4,7 +4,7 @@ import BottomSheet, { BottomSheetNomeEmpresa } from ".";
4
4
  import Button from "../Button";
5
5
  import { ListaDeEstados } from "./Components/ListaDeEstados";
6
6
  import ActionButtons from "./Components/ActionButtons";
7
- import SEText from "../SEText";
7
+ import SEText from "../Typography/SEText";
8
8
 
9
9
 
10
10
  const meta = {
@@ -538,4 +538,3 @@ export const AlinhadoAoCentro = {
538
538
  <BottomSheetMock showIcon={true} showSlot={true} actions="two-vertical" headerAlignment="center" />
539
539
  ),
540
540
  };
541
-
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
3
3
  import { View, StyleSheet } from 'react-native';
4
4
 
5
5
  import Icon from '../Icon';
6
- import SEText from '../SEText';
6
+ import SEText from '../Typography/SEText';
7
7
  import tokens from '../styles/tokens';
8
8
 
9
9
  const VARIANTS = {
@@ -1,9 +1,10 @@
1
1
  import React, { useMemo, useState } from 'react';
2
2
  import { TouchableOpacity, StyleSheet, View } from 'react-native';
3
3
  import Icon from '../Icon';
4
- import SEText from '../SEText';
4
+ import SEText from '../Typography/SEText';
5
5
 
6
6
  const Button = ({
7
+ children,
7
8
  label,
8
9
  size = 'medium',
9
10
  variant = 'filled',
@@ -16,9 +17,26 @@ const Button = ({
16
17
  iconColor,
17
18
  badge,
18
19
  testID,
20
+ style,
21
+ contentStyle,
22
+ textStyle,
23
+ backgroundColor,
24
+ borderColor,
25
+ textColor,
26
+ borderStyle,
27
+ borderWidth,
28
+ borderRadius,
29
+ contentAlignment = 'center',
19
30
  }) => {
20
31
  const [isFocused, setIsFocused] = useState(false);
21
- const iconOnly = useMemo(() => !label && iconName, [label, iconName]);
32
+ const content = children ?? label;
33
+ const hasContent = content !== undefined && content !== null && content !== false;
34
+ const shouldWrapContent = typeof content === 'string' || typeof content === 'number';
35
+ const shouldUseCustomContentLayout =
36
+ children !== undefined ||
37
+ contentAlignment !== 'center' ||
38
+ !!contentStyle;
39
+ const iconOnly = useMemo(() => !hasContent && iconName, [hasContent, iconName]);
22
40
 
23
41
  const sizeOptions = {
24
42
  large: {
@@ -123,6 +141,14 @@ const Button = ({
123
141
  // if (disabled) baseStyle.push(styles.containerDisabled);
124
142
  if (isFocused && !disabled) baseStyle.push(variantOptions[variant].focused);
125
143
 
144
+ baseStyle.push({
145
+ ...(backgroundColor ? { backgroundColor } : {}),
146
+ ...(borderColor ? { borderColor } : {}),
147
+ ...(borderStyle ? { borderStyle } : {}),
148
+ ...(borderWidth !== undefined ? { borderWidth } : {}),
149
+ ...(borderRadius !== undefined ? { borderRadius } : {}),
150
+ });
151
+
126
152
  return baseStyle;
127
153
  };
128
154
 
@@ -135,9 +161,34 @@ const Button = ({
135
161
  // Estado
136
162
  if (disabled) baseStyle.push(styles.labelDisabled);
137
163
 
164
+ if (textColor) {
165
+ baseStyle.push({ color: textColor });
166
+ }
167
+
168
+ if (textStyle) {
169
+ baseStyle.push(textStyle);
170
+ }
171
+
138
172
  return baseStyle;
139
173
  };
140
174
 
175
+ const getContentContainerStyle = () => {
176
+ const alignmentMap = {
177
+ left: 'flex-start',
178
+ center: 'center',
179
+ right: 'flex-end',
180
+ };
181
+
182
+ return [
183
+ styles.contentContainer,
184
+ shouldUseCustomContentLayout && styles.contentContainerFlexible,
185
+ shouldUseCustomContentLayout && {
186
+ justifyContent: alignmentMap[contentAlignment] || alignmentMap.center,
187
+ },
188
+ contentStyle,
189
+ ];
190
+ };
191
+
141
192
  const getIconSize = () => {
142
193
  switch (size) {
143
194
  case 'large':
@@ -202,7 +253,8 @@ const Button = ({
202
253
  style={[
203
254
  getContainerStyle(),
204
255
  iconOnly && styles.iconOnlyContainer,
205
- expand && styles.expand
256
+ expand && styles.expand,
257
+ style,
206
258
  ]}
207
259
  onPress={onPress}
208
260
  disabled={disabled}
@@ -211,7 +263,7 @@ const Button = ({
211
263
  activeOpacity={0.95}
212
264
  testID={testID}
213
265
  >
214
- <View style={styles.contentContainer}>
266
+ <View style={getContentContainerStyle()}>
215
267
  {iconOnly && renderIcon()}
216
268
 
217
269
  {!iconOnly && (
@@ -221,7 +273,15 @@ const Button = ({
221
273
  iconPosition === 'both') &&
222
274
  renderIcon()
223
275
  }
224
- <SEText type={getSETextType()} style={getLabelStyle()}>{label}</SEText>
276
+ {hasContent && (
277
+ shouldWrapContent ? (
278
+ <SEText type={getSETextType()} style={getLabelStyle()}>
279
+ {content}
280
+ </SEText>
281
+ ) : (
282
+ content
283
+ )
284
+ )}
225
285
  {renderBadge()}
226
286
  {(
227
287
  iconPosition === 'right' ||
@@ -240,6 +300,9 @@ const styles = StyleSheet.create({
240
300
  flexDirection: 'row',
241
301
  alignItems: 'center',
242
302
  },
303
+ contentContainerFlexible: {
304
+ width: '100%',
305
+ },
243
306
  container: {
244
307
  alignItems: 'center',
245
308
  justifyContent: 'center',
@@ -7,7 +7,7 @@ import {
7
7
  View,
8
8
  ViewStyle,
9
9
  } from 'react-native';
10
- import SEText from '../SEText';
10
+ import SEText from '../Typography/SEText';
11
11
  import Icon from '../Icon';
12
12
 
13
13
  const { useCallback, useMemo, useState, createContext, useContext } = React;
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Pressable, StyleSheet, View } from 'react-native';
4
4
  import SEIcon from '../SEIcon';
5
- import SEText from '../SEText';
5
+ import SEText from '../Typography/SEText';
6
6
 
7
7
  const COLORS = {
8
8
  white: '#FFFFFF',
@@ -6,7 +6,7 @@ import {
6
6
  StyleSheet,
7
7
  } from 'react-native';
8
8
  import Icon from '../Icon';
9
- import SEText from '../SEText';
9
+ import SEText from '../Typography/SEText';
10
10
  import { fontFamily } from '../utils/fontFamily';
11
11
 
12
12
  const Checkbox = ({ label, checked, disabled, variant, onChange, noBorder = false, testID }) => {
@@ -12,7 +12,7 @@ import Icon from '../Icon';
12
12
  import Tag from '../Tag';
13
13
  import tokens from '../styles/tokens';
14
14
  import { fontFamily } from '../utils/fontFamily';
15
- import SEText from '../SEText';
15
+ import SEText from '../Typography/SEText';
16
16
 
17
17
  export type EventListItemKind = 'detailed' | 'simple';
18
18
 
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { View, StyleSheet, TouchableOpacity, Platform } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
  import Icon from '../Icon';
5
5
 
6
6
  export interface ExpandableNumberDisplayProps {
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { TouchableOpacity, StyleSheet, View } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
 
5
5
  const FilterTag = ({ label, onRemove, color }) => {
6
6
  const [isHovered, setIsHovered] = useState(false);
@@ -9,7 +9,7 @@ import {
9
9
  TouchableWithoutFeedback
10
10
  } from 'react-native';
11
11
  import Icon from '../Icon';
12
- import SEText from '../SEText';
12
+ import SEText from '../Typography/SEText';
13
13
  import ScrollBar from '../ScrollBar';
14
14
  import { set } from 'lodash';
15
15
 
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
2
2
  import { View, TextInput, StyleSheet, TouchableOpacity, Platform } from 'react-native';
3
3
  import Icon from '../Icon';
4
4
  import ScrollBar from '../ScrollBar';
5
- import SEText from '../SEText';
5
+ import SEText from '../Typography/SEText';
6
6
 
7
7
  const CustomRadio = ({ selected, iconColor, size = 20 }) => {
8
8
  return (
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { View, StyleSheet, TouchableOpacity } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
  import Icon from '../Icon';
5
5
 
6
6
  export interface GeneralInformationCardProps {
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useMemo, useState, useRef } from 'react';
2
2
  import { FlatList, Modal, Pressable, StyleSheet, TouchableOpacity, View, Dimensions } from 'react-native';
3
3
  import Icon from '../../../Icon';
4
- import SEText from '../../../SEText';
4
+ import SEText from '../../../Typography/SEText';
5
5
  import { useHeader } from './Context';
6
6
 
7
7
  const { height: SCREEN_HEIGHT, width: SCREEN_WIDTH } = Dimensions.get('window');
@@ -4,7 +4,7 @@ import { View, StyleSheet, TouchableOpacity } from 'react-native';
4
4
  import Button from '../../../Button';
5
5
  import Avatar from '../../../Avatar';
6
6
  import Icon from '../../../Icon';
7
- import SEText from '../../../SEText';
7
+ import SEText from '../../../Typography/SEText';
8
8
 
9
9
  export function Default({ showSwitchAccount = true, showShortcut = true }) {
10
10
  const headerOpt = useHeader();
@@ -1,7 +1,7 @@
1
1
  import React from 'react'
2
2
  import { StyleSheet, TouchableOpacity, View } from 'react-native'
3
3
  import PropTypes from 'prop-types'
4
- import SEText from '../../../SEText'
4
+ import SEText from '../../../Typography/SEText'
5
5
  import Shortcut from './Shortcut'
6
6
  import Icon from '../../../Icon'
7
7
 
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useMemo, useRef, useState } from 'react'
2
2
  import { Dimensions, FlatList, Modal, Pressable, StyleSheet, TouchableOpacity, View } from 'react-native'
3
3
  import Icon from '../../../Icon'
4
- import SEText from '../../../SEText'
4
+ import SEText from '../../../Typography/SEText'
5
5
  import { useHeaderV2 } from './Context'
6
6
 
7
7
  const { height: SCREEN_HEIGHT } = Dimensions.get('window')
@@ -3,7 +3,7 @@ import { Image, TouchableOpacity, View } from 'react-native'
3
3
  import Avatar from '../../../Avatar'
4
4
  import Button from '../../../Button'
5
5
  import Icon from '../../../Icon'
6
- import SEText from '../../../SEText'
6
+ import SEText from '../../../Typography/SEText'
7
7
  import Header from '.'
8
8
  import BackButton from './BackButton'
9
9
  import { useHeaderV2 } from './Context'
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { View, TextInput, StyleSheet, TextInputProps } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
  import tokens from '../styles/tokens';
5
5
 
6
6
  export interface InputTextProps extends TextInputProps {
@@ -2,7 +2,7 @@ import React, { useCallback, useState } from 'react';
2
2
  import { View, TextInput, StyleSheet, TouchableOpacity } from 'react-native';
3
3
  import Icon from '../Icon';
4
4
  import TooltipCard from '../TooltipCard';
5
- import SEText from '../SEText';
5
+ import SEText from '../Typography/SEText';
6
6
  import InputUnderline from './InputUnderline';
7
7
  import tokens from '../styles/tokens';
8
8
 
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from 'react';
2
2
  import { TouchableOpacity, StyleSheet, View } from 'react-native';
3
3
  import Icon from '../Icon';
4
- import SEText from '../SEText';
4
+ import SEText from '../Typography/SEText';
5
5
 
6
6
  const Link = ({ label, onPress, visited = false }) => {
7
7
  const [isFocused, setIsFocused] = useState(false);
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { StyleSheet, View } from 'react-native';
3
3
 
4
4
  import Icon from '../Icon';
5
- import SEText from '../SEText';
5
+ import SEText from '../Typography/SEText';
6
6
 
7
7
  const MiniEventCardIcon = ({
8
8
  name = 'calendar-event-line',
@@ -1,7 +1,7 @@
1
1
  import React, { createContext, useContext, useMemo } from 'react';
2
2
  import { View, StyleSheet, TouchableOpacity, ViewStyle, StyleProp, TextStyle } from 'react-native';
3
3
  import Icon from '../Icon';
4
- import SEText from '../SEText';
4
+ import SEText from '../Typography/SEText';
5
5
 
6
6
  type NavigationItemVariant = 'default' | 'selected' | 'disabled' | 'highlight';
7
7
  type NavigationItemSize = 'small' | 'medium' | 'large';
@@ -2,7 +2,7 @@ import React, { useMemo, createContext, useContext } from 'react';
2
2
  import { View, StyleSheet } from 'react-native';
3
3
  import PropTypes from 'prop-types';
4
4
  import Icon from '../Icon';
5
- import SEText from '../SEText';
5
+ import SEText from '../Typography/SEText';
6
6
  import Button from '../Button';
7
7
  import tokens from '../styles/tokens';
8
8
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { View, StyleSheet } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
 
5
5
  export const ProgressChart = ({
6
6
  title = "Progresso",
@@ -1,6 +1,6 @@
1
1
  import React, { useState, useRef, useMemo, useEffect } from 'react';
2
2
  import { View, StyleSheet, Platform, PanResponder, LayoutChangeEvent } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
 
5
5
  export interface RangeSliderProps {
6
6
  /**
@@ -2,7 +2,7 @@ import React, { useCallback, useState } from 'react';
2
2
  import { View, TextInput, StyleSheet, Pressable } from 'react-native';
3
3
  import Icon from '../Icon';
4
4
  import TooltipCard from '../TooltipCard';
5
- import SEText from '../SEText';
5
+ import SEText from '../Typography/SEText';
6
6
  import { fontFamily } from '../utils/fontFamily';
7
7
 
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { useState, useEffect } from 'react';
2
2
  import { View, TouchableOpacity, StyleSheet } from 'react-native';
3
- import SEText from '../SEText';
3
+ import SEText from '../Typography/SEText';
4
4
  import Icon from '../Icon';
5
5
  import Dropdown from '../Dropdown';
6
6