Skip to content

Commit fbd6ece

Browse files
committed
@react-native-community/checkbox 0.5.0 + reason-react-native 0.63.0
1 parent 57162af commit fbd6ece

File tree

3 files changed

+19
-48
lines changed

3 files changed

+19
-48
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"access": "public"
66
},
77
"peerDependencies": {
8-
"@react-native-community/checkbox": "^0.4.0",
8+
"@react-native-community/checkbox": "^0.5.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/checkbox.git",
1313
"license": "MIT",
@@ -40,13 +40,13 @@
4040
"release": "npmpub"
4141
},
4242
"devDependencies": {
43-
"bs-platform": "^8.0.0",
43+
"bs-platform": "^8.2.0",
4444
"husky": "^4.0.0",
4545
"lint-staged": "^10.0.0",
4646
"npmpub": "^5.0.0",
4747
"prettier": "^2.0.0",
4848
"reason-react": "^0.9.0",
49-
"reason-react-native": "^0.62.0"
49+
"reason-react-native": "^0.63.0"
5050
},
5151
"prettier": {
5252
"trailingComma": "all"

src/ReactNativeCheckbox.re

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ external make:
2424
~onChange: CheckBoxEvent.t => unit=?,
2525
~onValueChange: bool => unit=?,
2626
~value: bool=?,
27-
// CheckBox Android props
2827
~disabled: bool=?,
28+
// CheckBox Android props
2929
~tintColors: tintColors=?,
3030
// CheckBox iOS props
3131
~lineWidth: float=?,
3232
~hideBox: bool=?,
33-
~boxType: [@bs.string] [ | `circle | `square]=?,
33+
~boxType: [ | `circle | `square]=?,
3434
~tintColor: Color.t=?,
3535
~onCheckColor: Color.t=?,
3636
~onFillColor: Color.t=?,
@@ -54,45 +54,15 @@ external make:
5454
| `fade
5555
]
5656
=?,
57-
// View props 0.62.0
58-
~accessibilityComponentType: [@bs.string] [
59-
| `none
60-
| `button
61-
| `radiobutton_checked
62-
| `radiobutton_unchecked
63-
]
64-
=?,
57+
// View props 0.63.0
58+
~accessibilityActions: array(Accessibility.actionInfo)=?,
6559
~accessibilityElementsHidden: bool=?,
6660
~accessibilityHint: string=?,
6761
~accessibilityIgnoresInvertColors: bool=?,
6862
~accessibilityLabel: string=?,
69-
~accessibilityLiveRegion: [@bs.string] [ | `none | `polite | `assertive]=?,
70-
~accessibilityRole: [@bs.string] [
71-
| `none
72-
| `button
73-
| `link
74-
| `search
75-
| `image
76-
| `keyboardkey
77-
| `text
78-
| `adjustable
79-
| `header
80-
| `summary
81-
| `imagebutton
82-
| `article
83-
| `banner
84-
| `complementary
85-
| `contentinfo
86-
| `form
87-
| `list
88-
| `listitem
89-
| `main
90-
| `navigation
91-
| `region
92-
]
93-
=?,
63+
~accessibilityLiveRegion: Accessibility.liveRegion=?,
64+
~accessibilityRole: Accessibility.role=?,
9465
~accessibilityState: Accessibility.state=?,
95-
~accessibilityTraits: array(AccessibilityTrait.t)=?,
9666
~accessibilityValue: Accessibility.value=?,
9767
~accessibilityViewIsModal: bool=?,
9868
~accessible: bool=?,
@@ -108,6 +78,7 @@ external make:
10878
=?,
10979
~nativeID: string=?,
11080
~needsOffscreenAlphaCompositing: bool=?,
81+
~onAccessibilityAction: Accessibility.actionEvent => unit=?,
11182
~onAccessibilityEscape: unit => unit=?,
11283
~onAccessibilityTap: unit => unit=?,
11384
~onLayout: Event.layoutEvent => unit=?,

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,10 @@ braces@^3.0.1:
258258
dependencies:
259259
fill-range "^7.0.1"
260260

261-
bs-platform@^8.0.0:
262-
version "8.0.3"
263-
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.0.3.tgz#574e41ec04fee381d4c400dac547735368caa48f"
264-
integrity sha512-I7wulOPM0/NGamwm9CDh9rGjW1oIKltPwwEIOJrL8DBFRXI8OFSACtWGlpaoOw76Xpf+KcVokr00keS2NlzA3A==
261+
bs-platform@^8.2.0:
262+
version "8.3.2"
263+
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.3.2.tgz#c307f1cc2d2397c3d088c7f3b62e9f493283cdcf"
264+
integrity sha512-iOTi5JIlNPoCPq31NS9ET79FLyCpwTL2JZbgHz35LzY9Bch1iDtbBR3FVGhRbjphxelAP4fLlFONfUNp5Y3a5g==
265265

266266
callsites@^3.0.0:
267267
version "3.1.0"
@@ -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.0"
1116-
resolved "https://registry.yarnpkg.com/reason-react-native/-/reason-react-native-0.62.0.tgz#0f10e442a5bbb1a05124c9f595fed79673b0218a"
1117-
integrity sha512-tq13KJHk0D0otBviH9DJvejdcncxhCu8qR+AAiOWq4oQBC0cm9Zrl6+h+Wi+80pc9Cbe8KyMhcZh9N7e/X2dFA==
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)