Skip to content

Commit 76b24b5

Browse files
committed
rescript 8.2 reason-react-native 0.63.0 compat
1 parent 7b4f33d commit 76b24b5

File tree

4 files changed

+17
-75
lines changed

4 files changed

+17
-75
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
"release": "npmpub"
3838
},
3939
"devDependencies": {
40-
"bs-platform": "^8.0.0",
40+
"bs-platform": "^8.2.0",
4141
"husky": "^4.0.0",
4242
"lint-staged": "^10.0.0",
4343
"npmpub": "^5.0.0",
4444
"prettier": "^2.0.0",
4545
"reason-react": "^0.9.0",
46-
"reason-react-native": "^0.62.0"
46+
"reason-react-native": "^0.63.0"
4747
},
4848
"prettier": {
4949
"trailingComma": "all"

src/ReactNativePicker.re

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -15,45 +15,15 @@ external make:
1515
~prompt: string=?,
1616
// iOS only
1717
~itemStyle: ReactNative.Style.t=?,
18-
// View props 0.62.0
19-
~accessibilityComponentType: [
20-
| `none
21-
| `button
22-
| `radiobutton_checked
23-
| `radiobutton_unchecked
24-
]
25-
=?,
18+
// View props 0.63.0
19+
~accessibilityActions: array(Accessibility.actionInfo)=?,
2620
~accessibilityElementsHidden: bool=?,
2721
~accessibilityHint: string=?,
2822
~accessibilityIgnoresInvertColors: bool=?,
2923
~accessibilityLabel: string=?,
30-
~accessibilityLiveRegion: [ | `none | `polite | `assertive]=?,
31-
~accessibilityRole: [
32-
| `none
33-
| `button
34-
| `link
35-
| `search
36-
| `image
37-
| `keyboardkey
38-
| `text
39-
| `adjustable
40-
| `header
41-
| `summary
42-
| `imagebutton
43-
| `article
44-
| `banner
45-
| `complementary
46-
| `contentinfo
47-
| `form
48-
| `list
49-
| `listitem
50-
| `main
51-
| `navigation
52-
| `region
53-
]
54-
=?,
24+
~accessibilityLiveRegion: Accessibility.liveRegion=?,
25+
~accessibilityRole: Accessibility.role=?,
5526
~accessibilityState: Accessibility.state=?,
56-
~accessibilityTraits: array(AccessibilityTrait.t)=?,
5727
~accessibilityValue: Accessibility.value=?,
5828
~accessibilityViewIsModal: bool=?,
5929
~accessible: bool=?,
@@ -69,6 +39,7 @@ external make:
6939
=?,
7040
~nativeID: string=?,
7141
~needsOffscreenAlphaCompositing: bool=?,
42+
~onAccessibilityAction: Accessibility.actionEvent => unit=?,
7243
~onAccessibilityEscape: unit => unit=?,
7344
~onAccessibilityTap: unit => unit=?,
7445
~onLayout: Event.layoutEvent => unit=?,

src/ReactNativePickerIOS.re

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,15 @@ external make:
99
~onValueChange: ('a, int) => unit=?,
1010
~selectedValue: 'a=?,
1111
~itemStyle: ReactNative.Style.t=?,
12-
// View props 0.62.0
13-
~accessibilityComponentType: [
14-
| `none
15-
| `button
16-
| `radiobutton_checked
17-
| `radiobutton_unchecked
18-
]
19-
=?,
12+
// View props 0.63.0
13+
~accessibilityActions: array(Accessibility.actionInfo)=?,
2014
~accessibilityElementsHidden: bool=?,
2115
~accessibilityHint: string=?,
2216
~accessibilityIgnoresInvertColors: bool=?,
2317
~accessibilityLabel: string=?,
24-
~accessibilityLiveRegion: [ | `none | `polite | `assertive]=?,
25-
~accessibilityRole: [
26-
| `none
27-
| `button
28-
| `link
29-
| `search
30-
| `image
31-
| `keyboardkey
32-
| `text
33-
| `adjustable
34-
| `header
35-
| `summary
36-
| `imagebutton
37-
| `article
38-
| `banner
39-
| `complementary
40-
| `contentinfo
41-
| `form
42-
| `list
43-
| `listitem
44-
| `main
45-
| `navigation
46-
| `region
47-
]
48-
=?,
18+
~accessibilityLiveRegion: Accessibility.liveRegion=?,
19+
~accessibilityRole: Accessibility.role=?,
4920
~accessibilityState: Accessibility.state=?,
50-
~accessibilityTraits: array(AccessibilityTrait.t)=?,
5121
~accessibilityValue: Accessibility.value=?,
5222
~accessibilityViewIsModal: bool=?,
5323
~accessible: bool=?,
@@ -63,6 +33,7 @@ external make:
6333
=?,
6434
~nativeID: string=?,
6535
~needsOffscreenAlphaCompositing: bool=?,
36+
~onAccessibilityAction: Accessibility.actionEvent => unit=?,
6637
~onAccessibilityEscape: unit => unit=?,
6738
~onAccessibilityTap: unit => unit=?,
6839
~onLayout: Event.layoutEvent => unit=?,

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ braces@^3.0.1:
251251
dependencies:
252252
fill-range "^7.0.1"
253253

254-
bs-platform@^8.0.0:
254+
bs-platform@^8.2.0:
255255
version "8.3.2"
256256
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.3.2.tgz#c307f1cc2d2397c3d088c7f3b62e9f493283cdcf"
257257
integrity sha512-iOTi5JIlNPoCPq31NS9ET79FLyCpwTL2JZbgHz35LzY9Bch1iDtbBR3FVGhRbjphxelAP4fLlFONfUNp5Y3a5g==
@@ -1111,10 +1111,10 @@ readjson@^2.0.1:
11111111
dependencies:
11121112
try-catch "^3.0.0"
11131113

1114-
reason-react-native@^0.62.0:
1115-
version "0.62.3"
1116-
resolved "https://registry.yarnpkg.com/reason-react-native/-/reason-react-native-0.62.3.tgz#a2653e735b5a006c7efcb20dcdf0e2ebe922cf8f"
1117-
integrity sha512-PA//0AZVVEB8iJKjYxOoFarXrMhhr7H++k9n7SmwVNy+XeUtwCiTIytqi29dCILtfNieHfT7+WTPpEzg2koOBg==
1114+
reason-react-native@^0.63.0:
1115+
version "0.63.0"
1116+
resolved "https://registry.yarnpkg.com/reason-react-native/-/reason-react-native-0.63.0.tgz#08de85136a41809b9a66cac066d4ea6975406000"
1117+
integrity sha512-rE1OOph5Jxceost2ahdvX+VXJ2RPNyefX9FMXa/OXgqmLKjFeZuyVOySUj41UoohOYyKmZWbgansDGccwYrdUQ==
11181118

11191119
reason-react@^0.9.0:
11201120
version "0.9.1"

0 commit comments

Comments
 (0)