Skip to content

Commit 83be9ac

Browse files
authored
few mobile tweaks, dependencies bump (#2110)
1 parent a92a063 commit 83be9ac

6 files changed

Lines changed: 32 additions & 27 deletions

File tree

bun.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/Library/index.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,13 @@ export default function Library({ library, skipMetadata, showTrendingMark }: Pro
3535
return (
3636
<View
3737
style={[
38-
tw` mb-4 border rounded-md flex-row overflow-hidden border-palette-gray2 dark:border-default`,
38+
tw`mb-4 border rounded-md flex-row overflow-hidden border-palette-gray2 dark:border-default`,
3939
isSmallScreen && tw`flex-col`,
4040
skipMetadata && tw`w-[48.5%] mx-[0.75%] min-h-[206px]`,
41-
skipMetadata &&
42-
(isSmallScreen || isBelowMaxWidth) &&
43-
tw`max-h-auto w-[98.5%] max-w-[98.5%]`,
41+
skipMetadata && (isSmallScreen || isBelowMaxWidth) && tw`w-[98.5%] max-w-[98.5%]`,
4442
library.unmaintained && tw`opacity-85`,
4543
]}>
46-
<View style={tw`pb-3.5 flex-1 p-4 pl-5`}>
44+
<View style={[tw`pb-3.5 flex-1 p-4 pl-5`, isSmallScreen && tw`pt-2.5 pb-3 px-3.5`]}>
4745
{library.unmaintained && (
4846
<View
4947
style={
@@ -56,7 +54,7 @@ export default function Library({ library, skipMetadata, showTrendingMark }: Pro
5654
</View>
5755
)}
5856
{showTrendingMark && library.popularity && (
59-
<View style={tw`flex-row justify-between items-start gap-6 mb-1`}>
57+
<View style={tw`flex-row justify-between items-center gap-6 mb-1`}>
6058
<Tooltip sideOffset={8} trigger={<TrendingMark library={library} />}>
6159
Trending Score is based on the last week to last month download rate.
6260
</Tooltip>
@@ -102,7 +100,7 @@ export default function Library({ library, skipMetadata, showTrendingMark }: Pro
102100
</View>
103101
)}
104102
{hasSecondaryMetadata ? (
105-
<View style={[tw`w-full mt-auto`, isSmallScreen && tw`relative min-h-auto mt-1.5 -mb-1`]}>
103+
<View style={[tw`w-full mt-auto`, isSmallScreen && tw`relative min-h-0 mt-0`]}>
106104
<View style={[tw`flex-row items-center mt-3 flex-wrap gap-2.5 gap-y-0.5`]}>
107105
<MetaData library={library} secondary />
108106
</View>

components/Navigation.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ export default function Navigation({
2828
{header ? (
2929
header
3030
) : (
31-
<View style={[tw`py-10 overflow-hidden bg-palette-gray6 dark:bg-dark`, style]}>
31+
<View
32+
style={[
33+
tw`py-10 overflow-hidden bg-palette-gray6 dark:bg-dark`,
34+
isSmallScreen && tw`py-6`,
35+
style,
36+
]}>
3237
<Logo
3338
width={580}
3439
height={520}

components/Search.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export default function Search({ query, total }: Props) {
7373
<TextInput
7474
ref={inputRef}
7575
id="search"
76+
autoComplete="off"
7677
onKeyPress={event => {
7778
if ('key' in event) {
7879
if (

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@radix-ui/react-tooltip": "^1.2.8",
2626
"@react-native-async-storage/async-storage": "^2.2.0",
2727
"@react-native-picker/picker": "^2.11.4",
28-
"@sentry/react": "^10.32.1",
28+
"@sentry/react": "^10.33.0",
2929
"crypto-js": "^4.2.0",
3030
"es-toolkit": "^1.43.0",
3131
"expo": "54.0.31",
@@ -49,7 +49,7 @@
4949
"swr": "^2.3.8",
5050
"tailwindcss": "^3.4.19",
5151
"twrnc": "^4.16.0",
52-
"use-debounce": "^10.0.6"
52+
"use-debounce": "^10.1.0"
5353
},
5454
"devDependencies": {
5555
"@eslint/json": "^0.14.0",
@@ -58,7 +58,7 @@
5858
"@prettier/plugin-oxc": "^0.1.3",
5959
"@types/bun": "^1.3.5",
6060
"@types/crypto-js": "^4.2.2",
61-
"@types/react": "^19.2.7",
61+
"@types/react": "^19.2.8",
6262
"@vercel/blob": "^0.27.3",
6363
"ajv-cli": "^5.0.0",
6464
"browserslist": "^4.28.1",

react-native-libraries.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15067,6 +15067,7 @@
1506715067
},
1506815068
{
1506915069
"githubUrl": "https://github.com/bluesky-social/expo-image-crop-tool",
15070+
"npmPkg": "@bsky.app/expo-image-crop-tool",
1507015071
"examples": ["https://github.com/bluesky-social/expo-image-crop-tool/tree/main/example"],
1507115072
"ios": true,
1507215073
"android": true

0 commit comments

Comments
 (0)