@navegarti/rn-design-system 0.7.3 → 0.7.7

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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
 
3
- import ChevronRight from 'lucide-react-native/dist/esm/icons/chevron-right';
3
+ import { faChevronRight } from '@fortawesome/pro-solid-svg-icons';
4
+ import Icon from "../../Icon/index.js";
4
5
  import { Text } from "../../Text/index.js";
5
6
  import { SeeAllButton } from "../styles.js";
6
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -14,7 +15,8 @@ const CarouselSeeAllButton = ({
14
15
  weight: "bold",
15
16
  color: color ?? '#014661',
16
17
  children: "Ver todos"
17
- }), /*#__PURE__*/_jsx(ChevronRight, {
18
+ }), /*#__PURE__*/_jsx(Icon, {
19
+ icon: faChevronRight,
18
20
  size: 12,
19
21
  color: color ?? '#014661'
20
22
  })]
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ const Icon = props => {
6
+ return /*#__PURE__*/_jsx(FontAwesomeIcon, {
7
+ icon: props.icon
8
+ });
9
+ };
10
+ export default Icon;
11
+ //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
- import Eye from 'lucide-react-native/dist/esm/icons/eye';
4
- import EyeOff from 'lucide-react-native/dist/esm/icons/eye-off';
3
+ import { faEye, faEyeSlash } from '@fortawesome/pro-solid-svg-icons';
4
+ import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome';
5
5
  import { Pressable } from 'react-native';
6
6
  import { useInputContext } from "../context.js";
7
7
  import { InputIcon } from "./input-icon.js";
@@ -20,9 +20,8 @@ export const InputPasswordToggle = () => {
20
20
  top: 10
21
21
  },
22
22
  onPress: toggleShowPassword,
23
- children: showPassword ? /*#__PURE__*/_jsx(EyeOff, {
24
- size: 20
25
- }) : /*#__PURE__*/_jsx(Eye, {
23
+ children: /*#__PURE__*/_jsx(FontAwesomeIcon, {
24
+ icon: showPassword ? faEyeSlash : faEye,
26
25
  size: 20
27
26
  })
28
27
  })
@@ -0,0 +1,9 @@
1
+ import type { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ type IconProps = {
3
+ icon: IconDefinition;
4
+ size?: number;
5
+ color?: string;
6
+ };
7
+ declare const Icon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Icon;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -121,7 +121,7 @@ export declare const InputBox: import("@emotion/native").StyledComponent<Omit<Re
121
121
  pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
122
122
  removeClippedSubviews?: boolean | undefined;
123
123
  experimental_accessibilityOrder?: Array<string> | undefined;
124
- }>, never>>, "style" | "experimental_accessibilityOrder">, "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "allowFontScaling" | "maxFontSizeMultiplier" | "numberOfLines" | "onPress" | "onPressIn" | "onPressOut" | "style" | "textAlign" | "onBlur" | "onFocus" | "rejectResponderTermination" | "onScroll" | "onContentSizeChange" | "scrollEnabled" | "value" | "onChange" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "keyboardAppearance" | "passwordRules" | "spellCheck" | "textContentType" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "disableFullscreenUI" | "importantForAutofill" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "rows" | "showSoftInputOnFocus" | "underlineColorAndroid" | "experimental_acceptDragAndDropTypes" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "forwardedRef" | "enterKeyHint" | "inputMode" | "keyboardType" | "maxLength" | "multiline" | "onChangeText" | "onEndEditing" | "onKeyPress" | "onSelectionChange" | "onSubmitEditing" | "placeholder" | "placeholderTextColor" | "readOnly" | "returnKeyType" | "secureTextEntry" | "selection" | "selectTextOnFocus" | "blurOnSubmit" | "submitBehavior"> & Omit<Readonly<{
124
+ }>, never>>, "style" | "experimental_accessibilityOrder">, "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "allowFontScaling" | "maxFontSizeMultiplier" | "numberOfLines" | "onPress" | "onPressIn" | "onPressOut" | "style" | "textAlign" | "onBlur" | "onFocus" | "rejectResponderTermination" | "onScroll" | "onContentSizeChange" | "scrollEnabled" | "rows" | "value" | "onChange" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "keyboardAppearance" | "passwordRules" | "spellCheck" | "textContentType" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "disableFullscreenUI" | "importantForAutofill" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "showSoftInputOnFocus" | "underlineColorAndroid" | "experimental_acceptDragAndDropTypes" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "forwardedRef" | "enterKeyHint" | "inputMode" | "keyboardType" | "maxLength" | "multiline" | "onChangeText" | "onEndEditing" | "onKeyPress" | "onSelectionChange" | "onSubmitEditing" | "placeholder" | "placeholderTextColor" | "readOnly" | "returnKeyType" | "secureTextEntry" | "selection" | "selectTextOnFocus" | "blurOnSubmit" | "submitBehavior"> & Omit<Readonly<{
125
125
  disableKeyboardShortcuts?: boolean | undefined;
126
126
  clearButtonMode?: ("never" | "while-editing" | "unless-editing" | "always") | undefined;
127
127
  clearTextOnFocus?: boolean | undefined;
@@ -138,7 +138,7 @@ export declare const InputBox: import("@emotion/native").StyledComponent<Omit<Re
138
138
  lineBreakStrategyIOS?: ("none" | "standard" | "hangul-word" | "push-out") | undefined;
139
139
  lineBreakModeIOS?: ("wordWrapping" | "char" | "clip" | "head" | "middle" | "tail") | undefined;
140
140
  smartInsertDelete?: boolean | undefined;
141
- }>, "selectionColor" | "textBreakStrategy" | "allowFontScaling" | "maxFontSizeMultiplier" | "numberOfLines" | "onPress" | "onPressIn" | "onPressOut" | "style" | "textAlign" | "onBlur" | "onFocus" | "onScroll" | "onContentSizeChange" | "value" | "onChange" | "cursorColor" | "selectionHandleColor" | "disableFullscreenUI" | "importantForAutofill" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "rows" | "showSoftInputOnFocus" | "underlineColorAndroid" | "experimental_acceptDragAndDropTypes" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "forwardedRef" | "enterKeyHint" | "inputMode" | "keyboardType" | "maxLength" | "multiline" | "onChangeText" | "onEndEditing" | "onKeyPress" | "onSelectionChange" | "onSubmitEditing" | "placeholder" | "placeholderTextColor" | "readOnly" | "returnKeyType" | "secureTextEntry" | "selection" | "selectTextOnFocus" | "blurOnSubmit" | "submitBehavior"> & Omit<Readonly<{
141
+ }>, "selectionColor" | "textBreakStrategy" | "allowFontScaling" | "maxFontSizeMultiplier" | "numberOfLines" | "onPress" | "onPressIn" | "onPressOut" | "style" | "textAlign" | "onBlur" | "onFocus" | "onScroll" | "onContentSizeChange" | "rows" | "value" | "onChange" | "cursorColor" | "selectionHandleColor" | "disableFullscreenUI" | "importantForAutofill" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "showSoftInputOnFocus" | "underlineColorAndroid" | "experimental_acceptDragAndDropTypes" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "forwardedRef" | "enterKeyHint" | "inputMode" | "keyboardType" | "maxLength" | "multiline" | "onChangeText" | "onEndEditing" | "onKeyPress" | "onSelectionChange" | "onSubmitEditing" | "placeholder" | "placeholderTextColor" | "readOnly" | "returnKeyType" | "secureTextEntry" | "selection" | "selectTextOnFocus" | "blurOnSubmit" | "submitBehavior"> & Omit<Readonly<{
142
142
  cursorColor?: import("react-native").ColorValue | undefined;
143
143
  selectionHandleColor?: import("react-native").ColorValue | undefined;
144
144
  disableFullscreenUI?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navegarti/rn-design-system",
3
- "version": "0.7.3",
3
+ "version": "0.7.7",
4
4
  "description": "Components and functions to help navegar projects",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -74,24 +74,42 @@
74
74
  "registry": "https://registry.npmjs.org/",
75
75
  "access": "public"
76
76
  },
77
+ "dependencies": {
78
+ "@emotion/native": "^11.11.0",
79
+ "@emotion/react": "^11.14.0",
80
+ "@fnando/cnpj": "^2.0.0",
81
+ "@fnando/cpf": "^1.0.2",
82
+ "@fortawesome/fontawesome-svg-core": "^7.1.0",
83
+ "@fortawesome/pro-solid-svg-icons": "^7.1.0",
84
+ "@fortawesome/react-native-fontawesome": "^0.3.2",
85
+ "@react-native-community/netinfo": "^11.5.2",
86
+ "@react-native-picker/picker": "^2.11.4",
87
+ "@tanstack/react-form": "^1.28.0",
88
+ "@tanstack/react-query": "^5.90.20",
89
+ "axios": "1.13.0",
90
+ "date-fns": "^4.1.0",
91
+ "jail-monkey": "^2.8.4",
92
+ "libphonenumber-js": "^1.12.36",
93
+ "react-native-mask-input": "^1.2.3",
94
+ "react-native-nitro-modules": "^0.33.7",
95
+ "react-native-permissions": "^5.4.4",
96
+ "react-native-picker-select": "^9.3.1",
97
+ "react-native-svg": "^15.15.3",
98
+ "zod": "^4.3.6",
99
+ "zustand": "^5.0.11"
100
+ },
77
101
  "devDependencies": {
78
102
  "@biomejs/biome": "^2.3.14",
79
103
  "@commitlint/config-conventional": "^20.4.1",
80
- "@react-native-community/netinfo": "^11.5.2",
81
- "@react-native-picker/picker": "^2.11.4",
82
104
  "@react-native/babel-preset": "0.83.1",
83
105
  "@release-it/conventional-changelog": "^10.0.5",
84
- "@tanstack/react-form": "^1.28.0",
85
- "@tanstack/react-query": "^5.90.20",
86
106
  "@types/jest": "^30.0.0",
87
107
  "@types/prop-types": "^15",
88
108
  "@types/react": "^19.2.13",
89
- "axios": "^1.13.5",
90
109
  "babel-plugin-react-compiler": "^1.0.0",
91
110
  "commitlint": "^20.4.1",
92
111
  "del-cli": "^7.0.0",
93
112
  "expo-checkbox": "^5.0.8",
94
- "jail-monkey": "^2.8.4",
95
113
  "jest": "^30.2.0",
96
114
  "lefthook": "^2.1.0",
97
115
  "prettier": "^3.8.1",
@@ -99,26 +117,8 @@
99
117
  "react": "19.2.4",
100
118
  "react-native": "0.83.1",
101
119
  "react-native-builder-bob": "^0.40.17",
102
- "react-native-nitro-modules": "^0.33.7",
103
- "react-native-permissions": "^5.4.4",
104
120
  "release-it": "^19.2.4",
105
- "typescript": "^5.9.3",
106
- "zod": "^4.3.6"
107
- },
108
- "peerDependencies": {
109
- "@react-native-community/netinfo": ">=11.0.0",
110
- "@react-native-picker/picker": ">=2.0.0",
111
- "@tanstack/react-form": "^1.28.0",
112
- "@tanstack/react-query": "^5.90.20",
113
- "axios": "^1.13.5",
114
- "expo-checkbox": ">=3.0.0",
115
- "jail-monkey": ">=2.0.0",
116
- "react": "*",
117
- "react-native": "*",
118
- "react-native-nitro-modules": "^0.33.7",
119
- "react-native-permissions": ">=4.0.0",
120
- "react-native-svg": ">=15.0.0",
121
- "zod": "^4.3.6"
121
+ "typescript": "^5.9.3"
122
122
  },
123
123
  "peerDependenciesMeta": {
124
124
  "@react-native-community/netinfo": {
@@ -152,7 +152,7 @@
152
152
  "workspaces": [
153
153
  "example"
154
154
  ],
155
- "packageManager": "yarn@4.11.0",
155
+ "packageManager": "yarn@4.12.0",
156
156
  "react-native-builder-bob": {
157
157
  "source": "src",
158
158
  "output": "lib",
@@ -225,17 +225,5 @@
225
225
  "release-it"
226
226
  ],
227
227
  "version": "0.57.0"
228
- },
229
- "dependencies": {
230
- "@emotion/native": "^11.11.0",
231
- "@emotion/react": "^11.14.0",
232
- "@fnando/cnpj": "^2.0.0",
233
- "@fnando/cpf": "^1.0.2",
234
- "date-fns": "^4.1.0",
235
- "libphonenumber-js": "^1.12.36",
236
- "lucide-react-native": "^0.563.0",
237
- "react-native-mask-input": "^1.2.3",
238
- "react-native-picker-select": "^9.3.1",
239
- "zustand": "^5.0.11"
240
228
  }
241
229
  }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.test.d.ts.map