Skip to content

Commit dcb2469

Browse files
committed
rescript 8.2 + reason-react-native 0.63
1 parent a4f6862 commit dcb2469

File tree

3 files changed

+16
-45
lines changed

3 files changed

+16
-45
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"peerDependencies": {
88
"@react-native-community/slider": "^3.0.0",
99
"reason-react": "^0.9.0",
10-
"reason-react-native": "^0.62.0"
10+
"reason-react-native": "^0.63.0"
1111
},
1212
"repository": "https://github.com/reason-react-native/slider.git",
1313
"license": "MIT",
@@ -38,13 +38,13 @@
3838
"release": "npmpub"
3939
},
4040
"devDependencies": {
41-
"bs-platform": "^8.0.0",
41+
"bs-platform": "^8.2.0",
4242
"husky": "^4.0.0",
4343
"lint-staged": "^10.0.0",
4444
"npmpub": "^5.0.0",
4545
"prettier": "^2.0.0",
4646
"reason-react": "^0.9.0",
47-
"reason-react-native": "^0.62.0"
47+
"reason-react-native": "^0.63.0"
4848
},
4949
"prettier": {
5050
"trailingComma": "all"

src/ReactNativeSlider.re

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -26,45 +26,15 @@ external make:
2626
~inverted: bool=?,
2727
// Android
2828
~thumbTintColor: string=?,
29-
// View props 0.62.0
30-
~accessibilityComponentType: [@bs.string] [
31-
| `none
32-
| `button
33-
| `radiobutton_checked
34-
| `radiobutton_unchecked
35-
]
36-
=?,
29+
// View props 0.63.0
30+
~accessibilityActions: array(Accessibility.actionInfo)=?,
3731
~accessibilityElementsHidden: bool=?,
3832
~accessibilityHint: string=?,
3933
~accessibilityIgnoresInvertColors: bool=?,
4034
~accessibilityLabel: string=?,
41-
~accessibilityLiveRegion: [@bs.string] [ | `none | `polite | `assertive]=?,
42-
~accessibilityRole: [@bs.string] [
43-
| `none
44-
| `button
45-
| `link
46-
| `search
47-
| `image
48-
| `keyboardkey
49-
| `text
50-
| `adjustable
51-
| `header
52-
| `summary
53-
| `imagebutton
54-
| `article
55-
| `banner
56-
| `complementary
57-
| `contentinfo
58-
| `form
59-
| `list
60-
| `listitem
61-
| `main
62-
| `navigation
63-
| `region
64-
]
65-
=?,
35+
~accessibilityLiveRegion: Accessibility.liveRegion=?,
36+
~accessibilityRole: Accessibility.role=?,
6637
~accessibilityState: Accessibility.state=?,
67-
~accessibilityTraits: array(AccessibilityTrait.t)=?,
6838
~accessibilityValue: Accessibility.value=?,
6939
~accessibilityViewIsModal: bool=?,
7040
~accessible: bool=?,
@@ -80,6 +50,7 @@ external make:
8050
=?,
8151
~nativeID: string=?,
8252
~needsOffscreenAlphaCompositing: bool=?,
53+
~onAccessibilityAction: Accessibility.actionEvent => unit=?,
8354
~onAccessibilityEscape: unit => unit=?,
8455
~onAccessibilityTap: unit => unit=?,
8556
~onLayout: Event.layoutEvent => unit=?,

yarn.lock

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

254-
bs-platform@^8.0.0:
255-
version "8.0.3"
256-
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.0.3.tgz#574e41ec04fee381d4c400dac547735368caa48f"
257-
integrity sha512-I7wulOPM0/NGamwm9CDh9rGjW1oIKltPwwEIOJrL8DBFRXI8OFSACtWGlpaoOw76Xpf+KcVokr00keS2NlzA3A==
254+
bs-platform@^8.2.0:
255+
version "8.3.2"
256+
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.3.2.tgz#c307f1cc2d2397c3d088c7f3b62e9f493283cdcf"
257+
integrity sha512-iOTi5JIlNPoCPq31NS9ET79FLyCpwTL2JZbgHz35LzY9Bch1iDtbBR3FVGhRbjphxelAP4fLlFONfUNp5Y3a5g==
258258

259259
callsites@^3.0.0:
260260
version "3.1.0"
@@ -1104,10 +1104,10 @@ readjson@^2.0.1:
11041104
dependencies:
11051105
try-catch "^3.0.0"
11061106

1107-
reason-react-native@^0.62.0:
1108-
version "0.62.0"
1109-
resolved "https://registry.yarnpkg.com/reason-react-native/-/reason-react-native-0.62.0.tgz#0f10e442a5bbb1a05124c9f595fed79673b0218a"
1110-
integrity sha512-tq13KJHk0D0otBviH9DJvejdcncxhCu8qR+AAiOWq4oQBC0cm9Zrl6+h+Wi+80pc9Cbe8KyMhcZh9N7e/X2dFA==
1107+
reason-react-native@^0.63.0:
1108+
version "0.63.0"
1109+
resolved "https://registry.yarnpkg.com/reason-react-native/-/reason-react-native-0.63.0.tgz#08de85136a41809b9a66cac066d4ea6975406000"
1110+
integrity sha512-rE1OOph5Jxceost2ahdvX+VXJ2RPNyefX9FMXa/OXgqmLKjFeZuyVOySUj41UoohOYyKmZWbgansDGccwYrdUQ==
11111111

11121112
reason-react@^0.9.0:
11131113
version "0.9.1"

0 commit comments

Comments
 (0)