Skip to content

Commit 94345d9

Browse files
committed
Bump project dependencies and fix tests
1 parent 5b21ab4 commit 94345d9

7 files changed

+2497
-2431
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ web-build
6565

6666
# Code Coverage
6767
/coverage/
68+
69+
# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
70+
# The following patterns were generated by expo-cli
71+
72+
expo-env.d.ts
73+
# @end expo-cli

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -50,36 +50,36 @@
5050
"registry": "https://registry.npmjs.org/"
5151
},
5252
"devDependencies": {
53-
"@commitlint/config-conventional": "^18.6.3",
53+
"@commitlint/config-conventional": "^19.2.2",
5454
"@react-native-community/eslint-config": "^3.2.0",
5555
"@release-it/conventional-changelog": "^8.0.1",
5656
"@testing-library/jest-native": "^5.4.3",
57-
"@testing-library/react-native": "^12.5.1",
57+
"@testing-library/react-native": "^12.5.2",
5858
"@types/color": "^3.0.6",
5959
"@types/jest": "^29.5.12",
6060
"@types/react": "^18.3.3",
6161
"@types/react-native-vector-icons": "^6.4.18",
6262
"@types/react-test-renderer": "^18.3.0",
6363
"babel-loader": "^9.1.3",
64-
"caniuse-lite": "^1.0.30001641",
65-
"commitlint": "^18.6.1",
64+
"caniuse-lite": "^1.0.30001646",
65+
"commitlint": "^19.3.0",
6666
"eslint": "^8.57.0",
6767
"eslint-config-prettier": "^9.1.0",
68-
"eslint-plugin-prettier": "^5.1.3",
69-
"husky": "^9.0.11",
68+
"eslint-plugin-prettier": "^5.2.1",
69+
"husky": "^9.1.4",
7070
"jest": "^29.7.0",
7171
"metro-react-native-babel-preset": "^0.77.0",
7272
"pod-install": "^0.2.2",
7373
"prettier": "^3.3.2",
7474
"react": "^18.3.1",
75-
"react-native": "^0.73.9",
76-
"react-native-builder-bob": "^0.26.0",
77-
"react-native-paper": "^5.12.3",
75+
"react-native": "^0.74.4",
76+
"react-native-builder-bob": "^0.29.0",
77+
"react-native-paper": "^5.12.5",
7878
"react-native-safe-area-context": "^4.10.8",
7979
"react-native-vector-icons": "^10.1.0",
8080
"react-test-renderer": "^18.3.1",
81-
"release-it": "^17.5.0",
82-
"typescript": "^5.5.3"
81+
"release-it": "^17.6.0",
82+
"typescript": "~5.5.3"
8383
},
8484
"peerDependencies": {
8585
"react": "*",

src/Time/TimeInput.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import React from 'react'
1919
import { sharedStyles } from '../shared/styles'
2020

2121
interface TimeInputProps
22-
extends Omit<Omit<TextInputProps, 'value'>, 'onFocus'> {
22+
extends Omit<Omit<Omit<TextInputProps, 'value'>, 'onFocus'>, 'onPress'> {
2323
value: number
2424
clockType: PossibleClockTypes
2525
onPress?: (type: PossibleClockTypes) => any

src/__tests__/Date/__snapshots__/AnimatedCrossView.test.tsx.snap

+108-82
Original file line numberDiff line numberDiff line change
@@ -3920,6 +3920,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
39203920
style={
39213921
[
39223922
{
3923+
"flexGrow": 1,
39233924
"paddingBottom": 0,
39243925
"paddingTop": 0,
39253926
},
@@ -3930,104 +3931,130 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
39303931
}
39313932
>
39323933
<View
3933-
collapsable={false}
39343934
pointerEvents="none"
39353935
style={
3936-
{
3937-
"bottom": 0,
3938-
"left": 0,
3939-
"opacity": 0,
3940-
"position": "absolute",
3941-
"right": 0,
3942-
"top": 0,
3943-
"transform": [
3944-
{
3945-
"translateX": 4,
3946-
},
3947-
],
3948-
"width": 750,
3949-
"zIndex": 3,
3950-
}
3936+
[
3937+
{
3938+
"bottom": 0,
3939+
"left": 0,
3940+
"position": "absolute",
3941+
"right": 0,
3942+
"top": 0,
3943+
},
3944+
{
3945+
"overflow": "hidden",
3946+
},
3947+
]
39513948
}
39523949
>
3953-
<Text
3950+
<View
39543951
collapsable={false}
3955-
maxFontSizeMultiplier={1.5}
3956-
numberOfLines={1}
3957-
onLayout={[Function]}
3958-
onTextLayout={[Function]}
3952+
pointerEvents="none"
39593953
style={
39603954
{
3961-
"color": "rgba(103, 80, 164, 1)",
3962-
"fontFamily": "System",
3963-
"fontSize": 16,
3964-
"fontWeight": undefined,
3955+
"bottom": 0,
39653956
"left": 0,
3966-
"letterSpacing": 0.15,
3967-
"lineHeight": undefined,
3968-
"maxWidth": 73,
39693957
"opacity": 0,
3970-
"paddingLeft": 16,
3971-
"paddingRight": 16,
39723958
"position": "absolute",
3973-
"textAlign": "left",
3974-
"top": 30,
3959+
"right": 0,
3960+
"top": 0,
39753961
"transform": [
39763962
{
3977-
"translateX": 0,
3978-
},
3979-
{
3980-
"translateY": -12,
3981-
},
3982-
{
3983-
"scale": 0.75,
3963+
"translateX": 4,
39843964
},
39853965
],
3986-
"writingDirection": "ltr",
3966+
"width": 750,
3967+
"zIndex": 3,
39873968
}
39883969
}
3989-
testID="text-input-flat-label-active"
39903970
>
3991-
MM/DD/YYYY
3992-
</Text>
3993-
<Text
3994-
collapsable={false}
3995-
maxFontSizeMultiplier={1.5}
3996-
numberOfLines={1}
3997-
style={
3998-
{
3999-
"color": "rgba(73, 69, 79, 1)",
4000-
"fontFamily": "System",
4001-
"fontSize": 16,
4002-
"fontWeight": undefined,
4003-
"left": 0,
4004-
"letterSpacing": 0.15,
4005-
"lineHeight": undefined,
4006-
"maxWidth": 73,
4007-
"opacity": 0,
4008-
"paddingLeft": 16,
4009-
"paddingRight": 16,
4010-
"position": "absolute",
4011-
"textAlign": "left",
4012-
"top": 30,
4013-
"transform": [
4014-
{
4015-
"translateX": 0,
4016-
},
3971+
<View
3972+
style={
3973+
{
3974+
"width": 97.33333333333333,
3975+
}
3976+
}
3977+
>
3978+
<Text
3979+
collapsable={false}
3980+
maxFontSizeMultiplier={1.5}
3981+
numberOfLines={1}
3982+
onLayout={[Function]}
3983+
onTextLayout={[Function]}
3984+
style={
40173985
{
4018-
"translateY": -12,
4019-
},
3986+
"color": "rgba(103, 80, 164, 1)",
3987+
"fontFamily": "System",
3988+
"fontSize": 16,
3989+
"fontWeight": undefined,
3990+
"left": 0,
3991+
"letterSpacing": 0.15,
3992+
"lineHeight": undefined,
3993+
"maxWidth": 97.33333333333333,
3994+
"opacity": 0,
3995+
"paddingLeft": 16,
3996+
"paddingRight": 16,
3997+
"position": "absolute",
3998+
"textAlign": "left",
3999+
"top": 30,
4000+
"transform": [
4001+
{
4002+
"translateX": 0,
4003+
},
4004+
{
4005+
"translateY": -12,
4006+
},
4007+
{
4008+
"scale": 0.75,
4009+
},
4010+
],
4011+
"writingDirection": "ltr",
4012+
}
4013+
}
4014+
testID="text-input-flat-label-active"
4015+
>
4016+
MM/DD/YYYY
4017+
</Text>
4018+
<Text
4019+
collapsable={false}
4020+
maxFontSizeMultiplier={1.5}
4021+
numberOfLines={1}
4022+
style={
40204023
{
4021-
"scale": 0.75,
4022-
},
4023-
],
4024-
"writingDirection": "ltr",
4025-
}
4026-
}
4027-
testID="text-input-flat-label-inactive"
4028-
>
4029-
MM/DD/YYYY
4030-
</Text>
4024+
"color": "rgba(73, 69, 79, 1)",
4025+
"fontFamily": "System",
4026+
"fontSize": 16,
4027+
"fontWeight": undefined,
4028+
"left": 0,
4029+
"letterSpacing": 0.15,
4030+
"lineHeight": undefined,
4031+
"maxWidth": 97.33333333333333,
4032+
"opacity": 0,
4033+
"paddingLeft": 16,
4034+
"paddingRight": 16,
4035+
"position": "absolute",
4036+
"textAlign": "left",
4037+
"top": 30,
4038+
"transform": [
4039+
{
4040+
"translateX": 0,
4041+
},
4042+
{
4043+
"translateY": -12,
4044+
},
4045+
{
4046+
"scale": 0.75,
4047+
},
4048+
],
4049+
"writingDirection": "ltr",
4050+
}
4051+
}
4052+
testID="text-input-flat-label-inactive"
4053+
>
4054+
MM/DD/YYYY
4055+
</Text>
4056+
</View>
4057+
</View>
40314058
</View>
40324059
<TextInput
40334060
autoComplete="off"
@@ -4049,11 +4076,10 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
40494076
style={
40504077
[
40514078
{
4079+
"flexGrow": 1,
40524080
"margin": 0,
40534081
},
4054-
{
4055-
"height": 56,
4056-
},
4082+
{},
40574083
{
40584084
"paddingBottom": 4,
40594085
"paddingTop": 24,

0 commit comments

Comments
 (0)