Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

deps: Drop ronionoss icons

MohamedBasseme7c9f392b9e7
diff --git a/apps/mobile/components/ui/SearchInput/SearchInput.ios.tsx b/apps/mobile/components/ui/SearchInput/SearchInput.ios.tsx
index 969e48b2..0b1dd76c 100644
--- a/apps/mobile/components/ui/SearchInput/SearchInput.ios.tsx
+++ b/apps/mobile/components/ui/SearchInput/SearchInput.ios.tsx
@@ -11,11 +11,11 @@ import Animated, {
useDerivedValue,
withTiming,
} from "react-native-reanimated";
+import { TailwindResolver } from "@/components/TailwindResolver";
import { Text } from "@/components/ui/Text";
-import { useColorScheme } from "@/lib/useColorScheme";
import { cn } from "@/lib/utils";
import { useAugmentedRef, useControllableState } from "@rn-primitives/hooks";
-import { Icon } from "@roninoss/icons";
+import { SearchIcon } from "lucide-react-native";
import type { SearchInputProps } from "./types";
@@ -38,13 +38,12 @@ const SearchInput = React.forwardRef<
containerClassName,
iconContainerClassName,
className,
- iconColor,
+ iconColor: _iconColor,
onCancel,
...props
},
ref,
) => {
- const { colors } = useColorScheme();
const inputRef = useAugmentedRef({ ref, methods: { focus, blur, clear } });
const [showCancel, setShowCancel] = React.useState(false);
const showCancelDerivedValue = useDerivedValue(
@@ -140,7 +139,12 @@ const SearchInput = React.forwardRef<
iconContainerClassName,
)}
>
- <Icon color={iconColor ?? colors.grey3} name="magnify" size={22} />
+ <TailwindResolver
+ className="text-muted"
+ comp={(styles) => (
+ <SearchIcon color={styles?.color?.toString()} size={20} />
+ )}
+ />
</View>
<TextInput
ref={inputRef}
diff --git a/apps/mobile/components/ui/SearchInput/SearchInput.tsx b/apps/mobile/components/ui/SearchInput/SearchInput.tsx
index 7e816ab6..e028a07e 100644
--- a/apps/mobile/components/ui/SearchInput/SearchInput.tsx
+++ b/apps/mobile/components/ui/SearchInput/SearchInput.tsx
@@ -6,7 +6,7 @@ import { Button } from "@/components/ui/Button";
import { useColorScheme } from "@/lib/useColorScheme";
import { cn } from "@/lib/utils";
import { useAugmentedRef, useControllableState } from "@rn-primitives/hooks";
-import { Icon } from "@roninoss/icons";
+import { SearchIcon, XIcon } from "lucide-react-native";
import type { SearchInputProps } from "./types";
@@ -64,11 +64,7 @@ const SearchInput = React.forwardRef<
<TailwindResolver
className="text-muted"
comp={(styles) => (
- <Icon
- color={styles?.color?.toString()}
- name="magnify"
- size={24}
- />
+ <SearchIcon color={styles?.color?.toString()} size={24} />
)}
/>
</View>
@@ -94,11 +90,7 @@ const SearchInput = React.forwardRef<
<TailwindResolver
className="text-muted"
comp={(styles) => (
- <Icon
- name="close"
- size={24}
- color={styles?.color?.toString()}
- />
+ <XIcon size={24} color={styles?.color?.toString()} />
)}
/>
</Pressable>
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 61c6ec6e..8a942349 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -22,7 +22,6 @@
"@react-native-menu/menu": "^1.2.4",
"@rn-primitives/hooks": "^1.3.0",
"@rn-primitives/slot": "^1.2.0",
- "@roninoss/icons": "^0.0.4",
"@shopify/flash-list": "^2.0.3",
"@tanstack/react-query": "^5.80.3",
"class-variance-authority": "^0.7.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 841cacfb..e81712c6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -329,9 +329,6 @@ importers:
'@rn-primitives/slot':
specifier: ^1.2.0
- '@roninoss/icons':
- specifier: ^0.0.4
'@shopify/flash-list':
specifier: ^2.0.3
@@ -3359,9 +3356,6 @@ packages:
resolution: {integrity: sha512-HHQigo3rQWKMDzYDLkubN5WQOYXJJE2eNqIQC2axC2iO3mHdwnIR7FgZVvHWtBwAdzBgAP0ECp8KqS8TiMKvgw==}
- resolution: {integrity: sha512-TI+l71+5aSKnShYclFa14Kum+hQMZ86b95SH6tQUG3qZEmLTarvWpKwqtTwQKqvlJSJrpFiSFu3eCuZokY6zWA==}
-
resolution: {integrity: sha512-7T09UE9h8QDTsUeMGymB4i+iqvtEeaO5VvUjryFB4tugDTG/bkzViWA74hm5pfjjDEhYMXWaX112mcvhccmIwQ==}
peerDependencies:
@@ -5165,12 +5159,6 @@ packages:
cpu: [x64]
os: [win32]
- '@roninoss/[email protected]':
- resolution: {integrity: sha512-NtLj98Mk+iFk3fCcxl2XzhWWD5xHgqWdxgrI7ws8KNrOlCvNNgHCHzSFEJPipXxy1fTc0c4ZgJWZsfofKsbnWQ==}
- peerDependencies:
- react: '*'
- react-native: '*'
-
'@rushstack/[email protected]':
resolution: {integrity: sha512-5yXhzPFGEkVc9Fu92wsNJ9jlvdwz4RNb2bMso+/+TH0nMm1jDDDsOIf4l8GAkPxGuwPw5DH24RliWVfSPhlW/Q==}
peerDependencies:
@@ -13477,13 +13465,6 @@ packages:
resolution: {integrity: sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==}
hasBin: true
- resolution: {integrity: sha512-+Dwjb7LwHWIOVfAMgrDI5+iDtAGSXGgD3ACiqqf1gtm+eLY9uVL7gDPR6VWm5bhFPOyXQy2mijUZN70mu8l1dw==}
- peerDependencies:
- expo: '*'
- react: '*'
- react-native: '*'
-
resolution: {integrity: sha512-bYd2lrhc+VarcpkgWclcUi92wYCpOgMws9Sd1hG1ntAu0NEy+14CbotuFjshBU2kt9rYj9TSmDcybpxpeTU1fg==}
peerDependencies:
@@ -18070,8 +18051,6 @@ snapshots:
'@expo/[email protected]': {}
- '@expo/[email protected]': {}
-
dependencies:
@@ -20000,15 +19979,6 @@ snapshots:
'@rollup/[email protected]':
optional: true
- dependencies:
- '@expo/vector-icons': 13.0.0
- react: 19.1.0
- react-native: 0.79.3(@babel/[email protected])(@types/[email protected])([email protected])
- transitivePeerDependencies:
- - expo
-
'@rushstack/[email protected](@types/[email protected])':
dependencies:
ajv: 8.13.0
@@ -30166,12 +30136,6 @@ snapshots:
transitivePeerDependencies:
- encoding
- dependencies:
- react: 19.1.0
- react-native: 0.79.3(@babel/[email protected])(@types/[email protected])([email protected])
-
dependencies:
dequal: 2.0.3