@@ -20,7 +20,15 @@ external make:
2020 (
2121 ~ref : ref =?,
2222 // DateTimePicker props
23- ~display : [@ bs . string ] [ | ` default | ` spinner | ` calendar | ` clock ] =?,
23+ ~display : [
24+ | ` default
25+ | ` spinner
26+ | ` calendar
27+ | ` clock
28+ | ` compact
29+ | ` inline
30+ ]
31+ =?,
2432 ~is24Hour : bool =?,
2533 ~locale : locale =?,
2634 ~maximumDate : Js . Date . t =?,
@@ -39,51 +47,21 @@ external make:
3947 | [@ bs . as "30" ] `_30
4048 ]
4149 =?,
42- ~mode : [@ bs . string ] [ | ` date | ` time | ` datetime | ` countdown ] =?,
50+ ~mode : [ | ` date | ` time | ` datetime | ` countdown ] =?,
4351 ~neutralButtonLabel : string =?,
4452 ~onChange : (PickerEvent . t , Js . Date . t ) => unit =?,
4553 ~textColor : string =?,
4654 ~timeZoneOffsetInMinutes : int =?,
4755 ~value : Js . Date . t ,
48- // View props 0.62.0
49- ~accessibilityComponentType : [@ bs . string ] [
50- | ` none
51- | ` button
52- | ` radiobutton_checked
53- | ` radiobutton_unchecked
54- ]
55- =?,
56+ // View props 0.63.0
57+ ~accessibilityActions : array (Accessibility . actionInfo )=?,
5658 ~accessibilityElementsHidden : bool =?,
5759 ~accessibilityHint : string =?,
5860 ~accessibilityIgnoresInvertColors : bool =?,
5961 ~accessibilityLabel : string =?,
60- ~accessibilityLiveRegion : [@ bs . string ] [ | ` none | ` polite | ` assertive ] =?,
61- ~accessibilityRole : [@ bs . string ] [
62- | ` none
63- | ` button
64- | ` link
65- | ` search
66- | ` image
67- | ` keyboardkey
68- | ` text
69- | ` adjustable
70- | ` header
71- | ` summary
72- | ` imagebutton
73- | ` article
74- | ` banner
75- | ` complementary
76- | ` contentinfo
77- | ` form
78- | ` list
79- | ` listitem
80- | ` main
81- | ` navigation
82- | ` region
83- ]
84- =?,
62+ ~accessibilityLiveRegion : Accessibility . liveRegion =?,
63+ ~accessibilityRole : Accessibility . role =?,
8564 ~accessibilityState : Accessibility . state =?,
86- ~accessibilityTraits : array (AccessibilityTrait . t )=?,
8765 ~accessibilityValue : Accessibility . value =?,
8866 ~accessibilityViewIsModal : bool =?,
8967 ~accessible : bool =?,
@@ -99,6 +77,7 @@ external make:
9977 =?,
10078 ~nativeID : string =?,
10179 ~needsOffscreenAlphaCompositing : bool =?,
80+ ~onAccessibilityAction : Accessibility . actionEvent => unit =?,
10281 ~onAccessibilityEscape : unit => unit =?,
10382 ~onAccessibilityTap : unit => unit =?,
10483 ~onLayout : Event . layoutEvent => unit =?,
0 commit comments