From e7c9f392b9e7f232b0836b9d3d3f00cbfdf215b8 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 31 Aug 2025 16:15:53 +0100 Subject: deps: Drop ronionoss icons --- apps/mobile/components/ui/SearchInput/SearchInput.ios.tsx | 14 +++++++++----- apps/mobile/components/ui/SearchInput/SearchInput.tsx | 14 +++----------- apps/mobile/package.json | 1 - 3 files changed, 12 insertions(+), 17 deletions(-) (limited to 'apps/mobile') 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, )} > - + ( + + )} + /> ( - + )} /> @@ -94,11 +90,7 @@ const SearchInput = React.forwardRef< ( - + )} /> 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", -- cgit v1.2.3-70-g09d2