vpt-sebraeds 0.0.103 → 0.0.107

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.
@@ -31,6 +31,7 @@ const BottomSheet = ({
31
31
  closeButtonTestID,
32
32
  fitAvailableHeight = false,
33
33
  paddingHorizontal = 20,
34
+ scrollRef,
34
35
  }) => {
35
36
  const insets = useSafeAreaInsets();
36
37
 
@@ -127,6 +128,7 @@ const BottomSheet = ({
127
128
  )}
128
129
 
129
130
  <ScrollView
131
+ ref={scrollRef}
130
132
  showsVerticalScrollIndicator={showsVerticalScrollIndicator}
131
133
  contentContainerStyle={styles.scrollContent}
132
134
  style={scrollViewStyle}
@@ -28,6 +28,9 @@ const Icon = ({
28
28
  case 'boletoDasMei':
29
29
  const BoletoDasMei = require('../SEIcon/CustomIcon/boletoDasMei').default;
30
30
  return <BoletoDasMei width={size} height={size} style={style} />;
31
+ case 'libras':
32
+ const Libras = require('../SEIcon/CustomIcon/libras').default;
33
+ return <Libras width={size} height={size} color={color} style={style} />;
31
34
  // Adicione mais casos aqui para outros ícones customizados
32
35
  default:
33
36
  break;
@@ -74,6 +74,7 @@ import NavigationItemV2 from 'vpt-sebraeds/components/NavigationItem/V2';
74
74
  | `accessibilityHint` | `string` | `'Abrir item'` com `onPress`; nenhuma sem | Rótulo do navigationIcon no handoff. |
75
75
  | `style` | `ViewStyle` | — | Ex.: largura definida pelo contexto. |
76
76
  | `testID` | `string` | — | Container; conteúdo pressionável `${testID}-main`; chevron `${testID}-navigation-icon`. |
77
+ | `navigationIcon` | `string` | `'arrow-right-s-line'` | Nome do ícone Remix do navigationIcon (ex.: `'external-link-line'` para links externos). |
77
78
 
78
79
  Demais subcomponentes: `Leading { icon?, custom?, alt?, children?, style?, testID? }`, `Content { children, style? }`, `Title { children, style? }`, `Description { children, style? }`, `AssistText { children, testID? }`, `Points { children, testID? }`, `Actions { children, testID? }`, `Action { children, onPress?, accessibilityLabel?, testID? }`.
79
80
 
@@ -199,6 +199,8 @@ const ORIENTATIONS = ['horizontal', 'vertical'];
199
199
  * como filhos diretos.
200
200
  * @param {string} [props.testID] - Identificador do container; o conteúdo pressionável recebe
201
201
  * `${testID}-main` e o navigationIcon `${testID}-navigation-icon`.
202
+ * @param {string} [props.navigationIcon='arrow-right-s-line'] - Nome do ícone Remix do navigationIcon
203
+ * (ex.: `'external-link-line'` para links externos).
202
204
  * @returns {React.ReactElement} O NavigationItemV2.
203
205
  */
204
206
  const Root = ({
@@ -212,6 +214,7 @@ const Root = ({
212
214
  style,
213
215
  children,
214
216
  testID,
217
+ navigationIcon: navigationIconName = tokens.layout.trailing.iconName,
215
218
  }) => {
216
219
  const [isPressed, setIsPressed] = useState(false);
217
220
  const { focus, blur, focusedStyle } = useFocus();
@@ -299,7 +302,7 @@ const Root = ({
299
302
  importantForAccessibility="no-hide-descendants"
300
303
  >
301
304
  <BaseIcon
302
- name={tokens.layout.trailing.iconName}
305
+ name={navigationIconName}
303
306
  size={tokens.layout.trailing.iconSize}
304
307
  color={tokens.colors.navigationIcon}
305
308
  />
@@ -0,0 +1,18 @@
1
+ import * as React from "react"
2
+ import Svg, { Path } from "react-native-svg"
3
+ const libras = ({ color = "#2A4FDA", ...props }) => (
4
+ <Svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width={24}
7
+ height={24}
8
+ viewBox="0 0 24 24"
9
+ fill="none"
10
+ {...props}
11
+ >
12
+ <Path
13
+ fill={color}
14
+ d="M5.29195 18.0524C5.27938 18.0771 5.26203 18.099 5.24091 18.1169C5.21978 18.1348 5.19531 18.1483 5.16891 18.1567C5.14251 18.165 5.11471 18.168 5.08714 18.1655C5.05956 18.163 5.03277 18.155 5.0083 18.1421C4.52064 17.8629 4.1122 17.464 3.82154 16.983C3.36347 16.2071 3.30967 15.7865 3.30478 15.7425C3.29984 15.7141 3.30079 15.685 3.30756 15.657C3.31433 15.629 3.32679 15.6027 3.34414 15.5797C3.3615 15.5567 3.3834 15.5376 3.40847 15.5234C3.43354 15.5092 3.46126 15.5003 3.4899 15.4973C3.51855 15.4943 3.54751 15.4972 3.57499 15.5058C3.60247 15.5145 3.62788 15.5287 3.64965 15.5475C3.67142 15.5664 3.68909 15.5895 3.70155 15.6155C3.71401 15.6414 3.72101 15.6697 3.7221 15.6985C3.7221 15.6985 3.77101 16.0718 4.18344 16.7695C4.43437 17.1829 4.7853 17.5266 5.20392 17.7688C5.22858 17.7814 5.25051 17.7987 5.26845 17.8198C5.28639 17.8409 5.29999 17.8653 5.30847 17.8916C5.31695 17.918 5.32015 17.9458 5.31787 17.9734C5.3156 18.0009 5.30789 18.0278 5.29521 18.0524H5.29195ZM6.3809 17.5063C6.36506 17.5452 6.338 17.5786 6.30317 17.6021C6.26834 17.6256 6.22731 17.6382 6.18528 17.6384C6.15835 17.6385 6.13169 17.6329 6.10703 17.6221C5.59404 17.3928 5.14841 17.0358 4.81268 16.5853C4.28125 15.8566 4.1867 15.4442 4.17855 15.4001C4.17165 15.3475 4.18493 15.2942 4.21572 15.2509C4.24652 15.2076 4.29254 15.1776 4.34455 15.1669C4.39657 15.1561 4.45072 15.1655 4.49613 15.193C4.54154 15.2206 4.57484 15.2643 4.58935 15.3154C4.58935 15.3154 4.67575 15.6822 5.15338 16.3375C5.44273 16.7246 5.82514 17.0325 6.26516 17.2324C6.29103 17.2425 6.31464 17.2576 6.33464 17.2769C6.35465 17.2961 6.37064 17.3191 6.3817 17.3446C6.39277 17.3701 6.39868 17.3975 6.3991 17.4252C6.39952 17.453 6.39445 17.4805 6.38416 17.5063H6.3809ZM5.36205 14.735C4.97234 13.6341 4.69596 12.4964 4.53718 11.3394C4.44426 10.821 4.17039 10.1787 3.23305 8.8534C2.60507 7.98607 2.03856 7.07584 1.53768 6.1294C1.39912 5.85553 1.6632 5.47733 1.99576 5.47733C2.07304 5.48016 2.14883 5.49951 2.21801 5.5341C2.28718 5.56869 2.34814 5.6177 2.39677 5.67784C2.863 6.18808 4.51599 8.24698 4.76378 8.4915C4.90032 8.62671 5.07825 8.71223 5.26912 8.7344C5.46637 8.7344 5.58538 8.55182 5.34901 7.93562C4.91049 6.79451 3.72699 4.27753 3.49062 3.676C3.16459 2.82179 3.65364 2.75007 3.65364 2.75007C3.7465 2.68473 3.8564 2.6479 3.96988 2.6441C4.05916 2.64781 4.14571 2.6759 4.22015 2.72533C4.29458 2.77476 4.35405 2.84365 4.3921 2.92449C4.69531 3.42659 6.44611 6.95915 6.66455 7.27214C6.77214 7.42538 6.89277 7.5346 6.99058 7.5346C7.08839 7.5346 7.1536 7.41723 7.14381 7.10749C7.12425 6.49944 6.87973 2.88863 6.73791 1.70187C6.68737 1.27966 7.14056 1.06774 7.35085 1.0498H7.36715C7.50308 1.07082 7.63116 1.12701 7.73867 1.21279C7.84619 1.29858 7.92942 1.41098 7.98009 1.53885C8.0616 1.79968 8.77724 6.28589 8.8506 6.84829C8.89135 7.15639 9.05763 7.3781 9.22391 7.3781C9.36085 7.3781 9.49778 7.21509 9.55809 6.83363C9.69014 5.97779 10.4074 2.51369 10.4742 2.07354C10.528 1.71654 10.7416 1.59591 10.9796 1.59591C11.0344 1.59673 11.089 1.60273 11.1426 1.61384C11.2915 1.63418 11.4269 1.71069 11.5212 1.82769C11.6154 1.94468 11.6614 2.0933 11.6496 2.24308C11.6349 2.56911 11.273 6.93307 11.335 8.41489C10.8118 8.63822 10.2736 8.82451 9.72436 8.9724L9.67709 8.98545L9.62982 9.00175L9.35758 9.10118C9.30541 9.10118 9.20434 9.1126 9.13424 9.11586C8.66802 9.13868 7.89043 9.17617 7.51712 9.87551C7.42871 10.0405 7.37684 10.2225 7.36503 10.4093C7.35321 10.596 7.38174 10.7832 7.44866 10.9579C7.70786 11.6508 8.43653 11.9752 8.65498 12.0567L8.70877 12.0795C9.00872 12.2001 9.33965 12.3093 10.0895 12.3093C10.4579 12.3093 10.916 12.2849 11.4882 12.2327C11.3855 12.4854 11.2355 12.7805 11.1459 12.9598L11.066 13.1228C10.872 13.5108 10.0977 14.59 8.76257 16.3375C8.54611 16.3125 8.3284 16.3 8.11051 16.3C7.72799 16.3005 7.34623 16.3338 6.96939 16.3994C6.96939 16.3994 5.92609 16.2234 5.36531 14.7285L5.36205 14.735ZM20.3074 11.9051C20.0215 13.0375 19.6217 14.138 19.1141 15.1899C18.9038 15.6789 18.7767 16.3587 18.8272 17.9823C18.8702 19.0493 18.8397 20.1179 18.7359 21.1807C18.7125 21.2886 18.6513 21.3846 18.5635 21.4515C18.4757 21.5184 18.3669 21.5519 18.2567 21.5459C18.1308 21.546 18.0098 21.4976 17.9187 21.4108C17.8276 21.324 17.7735 21.2054 17.7676 21.0796C17.6616 20.395 17.4236 17.7655 17.3552 17.4264C17.3144 17.2276 17.1416 16.9032 16.9509 16.9032C16.8156 16.9032 16.6705 17.0662 16.5597 17.565C16.2939 18.7567 15.8848 21.5084 15.7446 22.1392C15.6044 22.7701 15.3631 22.8451 15.2164 22.8451C15.1761 22.8456 15.1362 22.8379 15.099 22.8223H15.0827C15.0112 22.8266 14.9397 22.8148 14.8733 22.7877C14.807 22.7607 14.7476 22.7192 14.6994 22.6662C14.6512 22.6131 14.6156 22.55 14.595 22.4814C14.5744 22.4128 14.5695 22.3404 14.5806 22.2697C14.6067 21.6812 15.1055 17.772 15.0958 17.3906C15.0958 17.1607 15.0322 16.9765 14.9181 16.9765C14.8415 16.9765 14.7388 17.058 14.61 17.2651C14.2839 17.7818 12.4908 20.9231 11.9544 21.9925C11.9062 22.0841 11.8325 22.1597 11.7423 22.2103C11.652 22.261 11.5491 22.2844 11.4458 22.2778C11.3208 22.2791 11.1973 22.2506 11.0856 22.1947C10.903 22.0887 10.7595 21.6942 10.8345 21.4334C10.9095 21.1726 12.8005 17.0319 13.0515 16.5298C13.2146 16.1908 13.1575 15.8517 12.926 15.8517C12.8103 15.8517 12.6505 15.9365 12.4549 16.15C11.8697 16.7907 9.35758 19.2783 9.05437 19.606C9.00643 19.6682 8.94565 19.7193 8.87617 19.7559C8.80668 19.7924 8.73013 19.8136 8.65172 19.8179C8.49297 19.8075 8.34472 19.7349 8.23929 19.6157C8.12693 19.5161 8.05667 19.3774 8.04275 19.2279C8.02882 19.0784 8.07228 18.9291 8.1643 18.8104C8.37134 18.5284 11.4833 14.5997 11.9805 13.607C12.45 12.6664 13.2732 11.209 11.7311 11.209C11.6431 11.209 11.5485 11.209 11.4458 11.2237C10.8361 11.2791 10.4009 11.3019 10.0781 11.3019C9.38693 11.3019 9.22716 11.1992 9.01198 11.1161C8.68595 10.9954 8.26374 10.6792 8.41861 10.389C8.57348 10.0988 9.34454 10.226 9.65916 10.1135L9.97378 9.9994C9.97378 9.9994 11.3692 9.63425 12.256 9.13052C13.1428 8.6268 15.13 7.77097 15.6647 7.67316C15.9144 7.62423 16.1682 7.59858 16.4227 7.59654C16.747 7.585 17.0704 7.63706 17.3747 7.74978C17.7855 7.93725 18.1898 8.84036 19.9113 9.60979C19.9096 9.61142 20.6726 10.3434 20.3107 11.8986L20.3074 11.9051ZM21.2399 12.4349C21.2139 12.482 21.1708 12.5173 21.1196 12.5337C21.0683 12.55 21.0127 12.5461 20.9643 12.5227C20.9158 12.4993 20.8782 12.4582 20.8591 12.4079C20.84 12.3576 20.8409 12.3019 20.8617 12.2523C20.8617 12.2523 21.0133 11.9083 21.0247 11.0981C21.0257 10.6151 20.9064 10.1394 20.6774 9.71413C20.652 9.67232 20.6419 9.62294 20.6489 9.57448C20.6559 9.52603 20.6797 9.48155 20.716 9.44871C20.7523 9.41587 20.7989 9.39673 20.8478 9.39459C20.8967 9.39245 20.9449 9.40745 20.9839 9.437C21.0052 9.45389 21.0234 9.47429 21.0377 9.49731C21.3069 9.99011 21.4465 10.5432 21.4436 11.1047C21.4355 11.998 21.2627 12.3876 21.2431 12.4284L21.2399 12.4349ZM22.4788 11.385C22.3761 12.2816 22.1674 12.6484 22.143 12.6892C22.1295 12.7144 22.111 12.7366 22.0886 12.7544C22.0662 12.7723 22.0405 12.7853 22.0129 12.7929C21.9853 12.8004 21.9564 12.8022 21.9281 12.7982C21.8998 12.7942 21.8726 12.7845 21.8481 12.7696C21.8237 12.7547 21.8026 12.735 21.786 12.7117C21.7695 12.6883 21.7578 12.6619 21.7519 12.6339C21.7459 12.6059 21.7457 12.577 21.7513 12.549C21.7569 12.5209 21.7681 12.4943 21.7843 12.4707C21.7843 12.4707 21.9702 12.1447 22.0615 11.3394C22.1107 10.8585 22.0378 10.3729 21.8495 9.92768C21.8265 9.88399 21.8194 9.83362 21.8296 9.78528C21.8397 9.73693 21.8664 9.69365 21.9051 9.66292C21.9438 9.63218 21.9919 9.61591 22.0413 9.61693C22.0907 9.61794 22.1382 9.63618 22.1756 9.66849C22.2026 9.68883 22.2239 9.71577 22.2375 9.74673C22.4562 10.2611 22.5403 10.8227 22.482 11.3785L22.4788 11.385Z"
15
+ />
16
+ </Svg>
17
+ )
18
+ export default libras
@@ -1,5 +1,5 @@
1
1
  export default BottomSheet;
2
- declare function BottomSheet({ isOpen, setIsOpen, children, title, subtitle, showHeader, fullScreen, tall, headerIcon, headerAlignment, showsVerticalScrollIndicator, footer, closeButtonTestID, fitAvailableHeight, paddingHorizontal, }: {
2
+ declare function BottomSheet({ isOpen, setIsOpen, children, title, subtitle, showHeader, fullScreen, tall, headerIcon, headerAlignment, showsVerticalScrollIndicator, footer, closeButtonTestID, fitAvailableHeight, paddingHorizontal, scrollRef, }: {
3
3
  isOpen?: boolean | undefined;
4
4
  setIsOpen?: (() => void) | undefined;
5
5
  children: any;
@@ -15,6 +15,7 @@ declare function BottomSheet({ isOpen, setIsOpen, children, title, subtitle, sho
15
15
  closeButtonTestID: any;
16
16
  fitAvailableHeight?: boolean | undefined;
17
17
  paddingHorizontal?: number | undefined;
18
+ scrollRef: any;
18
19
  }): React.JSX.Element;
19
20
  import React from 'react';
20
21
  //# sourceMappingURL=BottomSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../components/BottomSheet/BottomSheet.jsx"],"names":[],"mappings":";AAiBA;;;;;;;;;;;;;;;;sBAuIC;kBAxJiB,OAAO"}
1
+ {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../components/BottomSheet/BottomSheet.jsx"],"names":[],"mappings":";AAiBA;;;;;;;;;;;;;;;;;sBAyIC;kBA1JiB,OAAO"}
@@ -4,7 +4,7 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context';
4
4
  import Icon from '../Icon';
5
5
  import SEText from '../Typography/SEText';
6
6
  const { height: screenHeight, width: screenWidth } = Dimensions.get('window');
7
- const BottomSheet = ({ isOpen = false, setIsOpen = () => { }, children, title, subtitle, showHeader = true, fullScreen = false, tall = false, headerIcon = null, headerAlignment = 'left', showsVerticalScrollIndicator = true, footer, closeButtonTestID, fitAvailableHeight = false, paddingHorizontal = 20, }) => {
7
+ const BottomSheet = ({ isOpen = false, setIsOpen = () => { }, children, title, subtitle, showHeader = true, fullScreen = false, tall = false, headerIcon = null, headerAlignment = 'left', showsVerticalScrollIndicator = true, footer, closeButtonTestID, fitAvailableHeight = false, paddingHorizontal = 20, scrollRef, }) => {
8
8
  const insets = useSafeAreaInsets();
9
9
  const isHeaderCentered = headerAlignment === 'center';
10
10
  const validTitle = title && typeof title === 'string' ? title : '';
@@ -76,7 +76,7 @@ const BottomSheet = ({ isOpen = false, setIsOpen = () => { }, children, title, s
76
76
  </SEText>)}
77
77
  </View>)}
78
78
 
79
- <ScrollView showsVerticalScrollIndicator={showsVerticalScrollIndicator} contentContainerStyle={styles.scrollContent} style={scrollViewStyle} keyboardShouldPersistTaps="handled" bounces={Platform.OS === 'ios'} nestedScrollEnabled scrollEventThrottle={16} keyboardDismissMode="on-drag">
79
+ <ScrollView ref={scrollRef} showsVerticalScrollIndicator={showsVerticalScrollIndicator} contentContainerStyle={styles.scrollContent} style={scrollViewStyle} keyboardShouldPersistTaps="handled" bounces={Platform.OS === 'ios'} nestedScrollEnabled scrollEventThrottle={16} keyboardDismissMode="on-drag">
80
80
  <View style={styles.contentContainer}>{children}</View>
81
81
  </ScrollView>
82
82
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Icon/index.jsx"],"names":[],"mappings":";AAIA;;;;;;yCA+BC;kBAnCiB,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Icon/index.jsx"],"names":[],"mappings":";AAIA;;;;;;yCAkCC;kBAtCiB,OAAO"}
@@ -21,6 +21,9 @@ const Icon = ({ name, size = 24, color = '#4F7CFE', style = {}, custom = null, }
21
21
  case 'boletoDasMei':
22
22
  const BoletoDasMei = require('../SEIcon/CustomIcon/boletoDasMei').default;
23
23
  return <BoletoDasMei width={size} height={size} style={style}/>;
24
+ case 'libras':
25
+ const Libras = require('../SEIcon/CustomIcon/libras').default;
26
+ return <Libras width={size} height={size} color={color} style={style}/>;
24
27
  // Adicione mais casos aqui para outros ícones customizados
25
28
  default:
26
29
  break;
@@ -64,9 +64,11 @@ import tokens from './tokens';
64
64
  * como filhos diretos.
65
65
  * @param {string} [props.testID] - Identificador do container; o conteúdo pressionável recebe
66
66
  * `${testID}-main` e o navigationIcon `${testID}-navigation-icon`.
67
+ * @param {string} [props.navigationIcon='arrow-right-s-line'] - Nome do ícone Remix do navigationIcon
68
+ * (ex.: `'external-link-line'` para links externos).
67
69
  * @returns {React.ReactElement} O NavigationItemV2.
68
70
  */
69
- declare function Root({ variant, orientation, stateModifier, onPress, accessibilityRole, accessibilityLabel, accessibilityHint, style, children, testID, }: {
71
+ declare function Root({ variant, orientation, stateModifier, onPress, accessibilityRole, accessibilityLabel, accessibilityHint, style, children, testID, navigationIcon: navigationIconName, }: {
70
72
  variant?: "default" | "outline" | "fullBleed" | undefined;
71
73
  orientation?: "horizontal" | "vertical" | undefined;
72
74
  stateModifier?: "press" | "rest" | undefined;
@@ -77,5 +79,6 @@ declare function Root({ variant, orientation, stateModifier, onPress, accessibil
77
79
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
78
80
  children?: React.ReactNode;
79
81
  testID?: string | undefined;
82
+ navigationIcon?: string | undefined;
80
83
  }): React.ReactElement;
81
84
  //# sourceMappingURL=Root.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../../components/NavigationItem/V2/Root.jsx"],"names":[],"mappings":"AAMA,+DAAsE;AAc/D,8CATM;IACR,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAC7C,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC;IACjD,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,eAAe,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD,CAYH;;;;;;;;;;;AAiBM,2CAGQ;AAQR,yCAHI,KAAK,CAAC,SAAS,GACb,MAAM,GAAG,SAAS,CAU9B;AAgBM,0CAJI,KAAK,CAAC,SAAS,cACf,MAAM,GACJ,KAAK,CAAC,SAAS,EAAE,CAgBtB;;kBAhG0D,OAAO;mBAItD,UAAU;AAkK7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,4JArBG;IAAoD,OAAO;IAEjB,WAAW;IAEpB,aAAa;IAGnB,OAAO,UAApB,IAAI;IACgB,iBAAiB;IAE5B,kBAAkB;IAClB,iBAAiB;IAE2C,KAAK,GAAhF,OAAO,cAAc,EAAE,SAAS,CAAC,OAAO,cAAc,EAAE,SAAS,CAAC;IAE1C,QAAQ,GAAhC,KAAK,CAAC,SAAS;IAEA,MAAM;CAE7B,GAAU,KAAK,CAAC,YAAY,CAsK9B"}
1
+ {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../../components/NavigationItem/V2/Root.jsx"],"names":[],"mappings":"AAMA,+DAAsE;AAc/D,8CATM;IACR,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAC7C,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC;IACjD,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,eAAe,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD,CAYH;;;;;;;;;;;AAiBM,2CAGQ;AAQR,yCAHI,KAAK,CAAC,SAAS,GACb,MAAM,GAAG,SAAS,CAU9B;AAgBM,0CAJI,KAAK,CAAC,SAAS,cACf,MAAM,GACJ,KAAK,CAAC,SAAS,EAAE,CAgBtB;;kBAhG0D,OAAO;mBAItD,UAAU;AAkK7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,gMAvBG;IAAoD,OAAO;IAEjB,WAAW;IAEpB,aAAa;IAGnB,OAAO,UAApB,IAAI;IACgB,iBAAiB;IAE5B,kBAAkB;IAClB,iBAAiB;IAE2C,KAAK,GAAhF,OAAO,cAAc,EAAE,SAAS,CAAC,OAAO,cAAc,EAAE,SAAS,CAAC;IAE1C,QAAQ,GAAhC,KAAK,CAAC,SAAS;IAEA,MAAM;IAEN,cAAc;CAErC,GAAU,KAAK,CAAC,YAAY,CAuK9B"}
@@ -185,9 +185,11 @@ const ORIENTATIONS = ['horizontal', 'vertical'];
185
185
  * como filhos diretos.
186
186
  * @param {string} [props.testID] - Identificador do container; o conteúdo pressionável recebe
187
187
  * `${testID}-main` e o navigationIcon `${testID}-navigation-icon`.
188
+ * @param {string} [props.navigationIcon='arrow-right-s-line'] - Nome do ícone Remix do navigationIcon
189
+ * (ex.: `'external-link-line'` para links externos).
188
190
  * @returns {React.ReactElement} O NavigationItemV2.
189
191
  */
190
- const Root = ({ variant = 'default', orientation = 'horizontal', stateModifier = 'rest', onPress, accessibilityRole, accessibilityLabel, accessibilityHint, style, children, testID, }) => {
192
+ const Root = ({ variant = 'default', orientation = 'horizontal', stateModifier = 'rest', onPress, accessibilityRole, accessibilityLabel, accessibilityHint, style, children, testID, navigationIcon: navigationIconName = tokens.layout.trailing.iconName, }) => {
191
193
  const [isPressed, setIsPressed] = useState(false);
192
194
  const { focus, blur, focusedStyle } = useFocus();
193
195
  const resolvedVariant = VARIANTS.includes(variant) ? variant : 'default';
@@ -242,7 +244,7 @@ const Root = ({ variant = 'default', orientation = 'horizontal', stateModifier =
242
244
  {regions.supplement}
243
245
  </View>) : null;
244
246
  const navigationIcon = (<View style={styles.trailing} testID={testID ? `${testID}-navigation-icon` : undefined} accessibilityElementsHidden importantForAccessibility="no-hide-descendants">
245
- <BaseIcon name={tokens.layout.trailing.iconName} size={tokens.layout.trailing.iconSize} color={tokens.colors.navigationIcon}/>
247
+ <BaseIcon name={navigationIconName} size={tokens.layout.trailing.iconSize} color={tokens.colors.navigationIcon}/>
246
248
  </View>);
247
249
  return (<NavigationItemV2Context.Provider value={contextValue}>
248
250
  <View style={[
@@ -0,0 +1,7 @@
1
+ export default libras;
2
+ declare function libras({ color, ...props }: {
3
+ [x: string]: any;
4
+ color?: string | undefined;
5
+ }): React.JSX.Element;
6
+ import * as React from "react";
7
+ //# sourceMappingURL=libras.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libras.d.ts","sourceRoot":"","sources":["../../../../components/SEIcon/CustomIcon/libras.jsx"],"names":[],"mappings":";AAEA;;;sBAcC;uBAhBsB,OAAO"}
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import Svg, { Path } from "react-native-svg";
3
+ const libras = ({ color = "#2A4FDA", ...props }) => (<Svg xmlns="http://www.w3.org/2000/svg" width={24} height={24} viewBox="0 0 24 24" fill="none" {...props}>
4
+ <Path fill={color} d="M5.29195 18.0524C5.27938 18.0771 5.26203 18.099 5.24091 18.1169C5.21978 18.1348 5.19531 18.1483 5.16891 18.1567C5.14251 18.165 5.11471 18.168 5.08714 18.1655C5.05956 18.163 5.03277 18.155 5.0083 18.1421C4.52064 17.8629 4.1122 17.464 3.82154 16.983C3.36347 16.2071 3.30967 15.7865 3.30478 15.7425C3.29984 15.7141 3.30079 15.685 3.30756 15.657C3.31433 15.629 3.32679 15.6027 3.34414 15.5797C3.3615 15.5567 3.3834 15.5376 3.40847 15.5234C3.43354 15.5092 3.46126 15.5003 3.4899 15.4973C3.51855 15.4943 3.54751 15.4972 3.57499 15.5058C3.60247 15.5145 3.62788 15.5287 3.64965 15.5475C3.67142 15.5664 3.68909 15.5895 3.70155 15.6155C3.71401 15.6414 3.72101 15.6697 3.7221 15.6985C3.7221 15.6985 3.77101 16.0718 4.18344 16.7695C4.43437 17.1829 4.7853 17.5266 5.20392 17.7688C5.22858 17.7814 5.25051 17.7987 5.26845 17.8198C5.28639 17.8409 5.29999 17.8653 5.30847 17.8916C5.31695 17.918 5.32015 17.9458 5.31787 17.9734C5.3156 18.0009 5.30789 18.0278 5.29521 18.0524H5.29195ZM6.3809 17.5063C6.36506 17.5452 6.338 17.5786 6.30317 17.6021C6.26834 17.6256 6.22731 17.6382 6.18528 17.6384C6.15835 17.6385 6.13169 17.6329 6.10703 17.6221C5.59404 17.3928 5.14841 17.0358 4.81268 16.5853C4.28125 15.8566 4.1867 15.4442 4.17855 15.4001C4.17165 15.3475 4.18493 15.2942 4.21572 15.2509C4.24652 15.2076 4.29254 15.1776 4.34455 15.1669C4.39657 15.1561 4.45072 15.1655 4.49613 15.193C4.54154 15.2206 4.57484 15.2643 4.58935 15.3154C4.58935 15.3154 4.67575 15.6822 5.15338 16.3375C5.44273 16.7246 5.82514 17.0325 6.26516 17.2324C6.29103 17.2425 6.31464 17.2576 6.33464 17.2769C6.35465 17.2961 6.37064 17.3191 6.3817 17.3446C6.39277 17.3701 6.39868 17.3975 6.3991 17.4252C6.39952 17.453 6.39445 17.4805 6.38416 17.5063H6.3809ZM5.36205 14.735C4.97234 13.6341 4.69596 12.4964 4.53718 11.3394C4.44426 10.821 4.17039 10.1787 3.23305 8.8534C2.60507 7.98607 2.03856 7.07584 1.53768 6.1294C1.39912 5.85553 1.6632 5.47733 1.99576 5.47733C2.07304 5.48016 2.14883 5.49951 2.21801 5.5341C2.28718 5.56869 2.34814 5.6177 2.39677 5.67784C2.863 6.18808 4.51599 8.24698 4.76378 8.4915C4.90032 8.62671 5.07825 8.71223 5.26912 8.7344C5.46637 8.7344 5.58538 8.55182 5.34901 7.93562C4.91049 6.79451 3.72699 4.27753 3.49062 3.676C3.16459 2.82179 3.65364 2.75007 3.65364 2.75007C3.7465 2.68473 3.8564 2.6479 3.96988 2.6441C4.05916 2.64781 4.14571 2.6759 4.22015 2.72533C4.29458 2.77476 4.35405 2.84365 4.3921 2.92449C4.69531 3.42659 6.44611 6.95915 6.66455 7.27214C6.77214 7.42538 6.89277 7.5346 6.99058 7.5346C7.08839 7.5346 7.1536 7.41723 7.14381 7.10749C7.12425 6.49944 6.87973 2.88863 6.73791 1.70187C6.68737 1.27966 7.14056 1.06774 7.35085 1.0498H7.36715C7.50308 1.07082 7.63116 1.12701 7.73867 1.21279C7.84619 1.29858 7.92942 1.41098 7.98009 1.53885C8.0616 1.79968 8.77724 6.28589 8.8506 6.84829C8.89135 7.15639 9.05763 7.3781 9.22391 7.3781C9.36085 7.3781 9.49778 7.21509 9.55809 6.83363C9.69014 5.97779 10.4074 2.51369 10.4742 2.07354C10.528 1.71654 10.7416 1.59591 10.9796 1.59591C11.0344 1.59673 11.089 1.60273 11.1426 1.61384C11.2915 1.63418 11.4269 1.71069 11.5212 1.82769C11.6154 1.94468 11.6614 2.0933 11.6496 2.24308C11.6349 2.56911 11.273 6.93307 11.335 8.41489C10.8118 8.63822 10.2736 8.82451 9.72436 8.9724L9.67709 8.98545L9.62982 9.00175L9.35758 9.10118C9.30541 9.10118 9.20434 9.1126 9.13424 9.11586C8.66802 9.13868 7.89043 9.17617 7.51712 9.87551C7.42871 10.0405 7.37684 10.2225 7.36503 10.4093C7.35321 10.596 7.38174 10.7832 7.44866 10.9579C7.70786 11.6508 8.43653 11.9752 8.65498 12.0567L8.70877 12.0795C9.00872 12.2001 9.33965 12.3093 10.0895 12.3093C10.4579 12.3093 10.916 12.2849 11.4882 12.2327C11.3855 12.4854 11.2355 12.7805 11.1459 12.9598L11.066 13.1228C10.872 13.5108 10.0977 14.59 8.76257 16.3375C8.54611 16.3125 8.3284 16.3 8.11051 16.3C7.72799 16.3005 7.34623 16.3338 6.96939 16.3994C6.96939 16.3994 5.92609 16.2234 5.36531 14.7285L5.36205 14.735ZM20.3074 11.9051C20.0215 13.0375 19.6217 14.138 19.1141 15.1899C18.9038 15.6789 18.7767 16.3587 18.8272 17.9823C18.8702 19.0493 18.8397 20.1179 18.7359 21.1807C18.7125 21.2886 18.6513 21.3846 18.5635 21.4515C18.4757 21.5184 18.3669 21.5519 18.2567 21.5459C18.1308 21.546 18.0098 21.4976 17.9187 21.4108C17.8276 21.324 17.7735 21.2054 17.7676 21.0796C17.6616 20.395 17.4236 17.7655 17.3552 17.4264C17.3144 17.2276 17.1416 16.9032 16.9509 16.9032C16.8156 16.9032 16.6705 17.0662 16.5597 17.565C16.2939 18.7567 15.8848 21.5084 15.7446 22.1392C15.6044 22.7701 15.3631 22.8451 15.2164 22.8451C15.1761 22.8456 15.1362 22.8379 15.099 22.8223H15.0827C15.0112 22.8266 14.9397 22.8148 14.8733 22.7877C14.807 22.7607 14.7476 22.7192 14.6994 22.6662C14.6512 22.6131 14.6156 22.55 14.595 22.4814C14.5744 22.4128 14.5695 22.3404 14.5806 22.2697C14.6067 21.6812 15.1055 17.772 15.0958 17.3906C15.0958 17.1607 15.0322 16.9765 14.9181 16.9765C14.8415 16.9765 14.7388 17.058 14.61 17.2651C14.2839 17.7818 12.4908 20.9231 11.9544 21.9925C11.9062 22.0841 11.8325 22.1597 11.7423 22.2103C11.652 22.261 11.5491 22.2844 11.4458 22.2778C11.3208 22.2791 11.1973 22.2506 11.0856 22.1947C10.903 22.0887 10.7595 21.6942 10.8345 21.4334C10.9095 21.1726 12.8005 17.0319 13.0515 16.5298C13.2146 16.1908 13.1575 15.8517 12.926 15.8517C12.8103 15.8517 12.6505 15.9365 12.4549 16.15C11.8697 16.7907 9.35758 19.2783 9.05437 19.606C9.00643 19.6682 8.94565 19.7193 8.87617 19.7559C8.80668 19.7924 8.73013 19.8136 8.65172 19.8179C8.49297 19.8075 8.34472 19.7349 8.23929 19.6157C8.12693 19.5161 8.05667 19.3774 8.04275 19.2279C8.02882 19.0784 8.07228 18.9291 8.1643 18.8104C8.37134 18.5284 11.4833 14.5997 11.9805 13.607C12.45 12.6664 13.2732 11.209 11.7311 11.209C11.6431 11.209 11.5485 11.209 11.4458 11.2237C10.8361 11.2791 10.4009 11.3019 10.0781 11.3019C9.38693 11.3019 9.22716 11.1992 9.01198 11.1161C8.68595 10.9954 8.26374 10.6792 8.41861 10.389C8.57348 10.0988 9.34454 10.226 9.65916 10.1135L9.97378 9.9994C9.97378 9.9994 11.3692 9.63425 12.256 9.13052C13.1428 8.6268 15.13 7.77097 15.6647 7.67316C15.9144 7.62423 16.1682 7.59858 16.4227 7.59654C16.747 7.585 17.0704 7.63706 17.3747 7.74978C17.7855 7.93725 18.1898 8.84036 19.9113 9.60979C19.9096 9.61142 20.6726 10.3434 20.3107 11.8986L20.3074 11.9051ZM21.2399 12.4349C21.2139 12.482 21.1708 12.5173 21.1196 12.5337C21.0683 12.55 21.0127 12.5461 20.9643 12.5227C20.9158 12.4993 20.8782 12.4582 20.8591 12.4079C20.84 12.3576 20.8409 12.3019 20.8617 12.2523C20.8617 12.2523 21.0133 11.9083 21.0247 11.0981C21.0257 10.6151 20.9064 10.1394 20.6774 9.71413C20.652 9.67232 20.6419 9.62294 20.6489 9.57448C20.6559 9.52603 20.6797 9.48155 20.716 9.44871C20.7523 9.41587 20.7989 9.39673 20.8478 9.39459C20.8967 9.39245 20.9449 9.40745 20.9839 9.437C21.0052 9.45389 21.0234 9.47429 21.0377 9.49731C21.3069 9.99011 21.4465 10.5432 21.4436 11.1047C21.4355 11.998 21.2627 12.3876 21.2431 12.4284L21.2399 12.4349ZM22.4788 11.385C22.3761 12.2816 22.1674 12.6484 22.143 12.6892C22.1295 12.7144 22.111 12.7366 22.0886 12.7544C22.0662 12.7723 22.0405 12.7853 22.0129 12.7929C21.9853 12.8004 21.9564 12.8022 21.9281 12.7982C21.8998 12.7942 21.8726 12.7845 21.8481 12.7696C21.8237 12.7547 21.8026 12.735 21.786 12.7117C21.7695 12.6883 21.7578 12.6619 21.7519 12.6339C21.7459 12.6059 21.7457 12.577 21.7513 12.549C21.7569 12.5209 21.7681 12.4943 21.7843 12.4707C21.7843 12.4707 21.9702 12.1447 22.0615 11.3394C22.1107 10.8585 22.0378 10.3729 21.8495 9.92768C21.8265 9.88399 21.8194 9.83362 21.8296 9.78528C21.8397 9.73693 21.8664 9.69365 21.9051 9.66292C21.9438 9.63218 21.9919 9.61591 22.0413 9.61693C22.0907 9.61794 22.1382 9.63618 22.1756 9.66849C22.2026 9.68883 22.2239 9.71577 22.2375 9.74673C22.4562 10.2611 22.5403 10.8227 22.482 11.3785L22.4788 11.385Z"/>
5
+ </Svg>);
6
+ export default libras;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vpt-sebraeds",
3
- "version": "0.0.103",
3
+ "version": "0.0.107",
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",