react-native-ui-lib 7.46.3-snapshot.7341 → 7.46.3-snapshot.7342

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/babel.config.js +0 -12
  2. package/index.js +0 -1
  3. package/lib/android/build.gradle +5 -5
  4. package/lib/android/src/main/java/com/wix/reactnativeuilib/UiLibPackageList.java +2 -0
  5. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/HighlighterViewManager.java +23 -31
  6. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReactHacks.java +30 -0
  7. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReflectionUtils.java +34 -0
  8. package/lib/android/src/main/java/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils.java +1 -1
  9. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/DefaultKeyListener.java +33 -0
  10. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/KeyListenerProxy.java +53 -0
  11. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerModule.java +54 -0
  12. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerPackage.java +28 -0
  13. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/ViewUtils.java +36 -0
  14. package/lib/components/{HighlighterOverlayView/index.d.ts → HighlighterOverlayView.d.ts} +1 -1
  15. package/lib/components/HighlighterOverlayView.js +40 -0
  16. package/lib/components/{HighlighterOverlayView/index.web.d.ts → HighlighterOverlayView.web.d.ts} +1 -1
  17. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.android.d.ts +2 -5
  18. package/lib/components/Keyboard/KeyboardInput/CustomKeyboardView/CustomKeyboardView.android.js +28 -0
  19. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.ios.d.ts +1 -1
  20. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.ios.js +3 -3
  21. package/lib/components/Keyboard/{KeyboardAccessoryView/CustomKeyboardView → KeyboardInput}/CustomKeyboardViewBase.d.ts +0 -3
  22. package/lib/components/Keyboard/{KeyboardAccessoryView/CustomKeyboardView → KeyboardInput}/CustomKeyboardViewBase.js +1 -1
  23. package/lib/components/Keyboard/{KeyboardAccessoryView/index.d.ts → KeyboardInput/KeyboardAccessoryView.d.ts} +1 -11
  24. package/lib/components/Keyboard/{KeyboardAccessoryView/index.js → KeyboardInput/KeyboardAccessoryView.js} +5 -31
  25. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/index.d.ts → KeyboardInput/KeyboardRegistry.d.ts} +1 -1
  26. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/index.js → KeyboardInput/KeyboardRegistry.js} +1 -1
  27. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry → KeyboardInput}/__tests__/KeyboardRegistry.spec.js +1 -1
  28. package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/keyboardAccessoryView.api.json +5 -5
  29. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry → KeyboardInput}/keyboardRegistry.api.json +9 -9
  30. package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.d.ts +11 -0
  31. package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.js +17 -0
  32. package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager → KeyboardInput/utils}/__tests__/EventEmitterManager.spec.js +1 -1
  33. package/lib/components/Keyboard/{KeyboardAwareInsetsView/index.d.ts → KeyboardTracking/KeyboardAwareInsetsView.d.ts} +1 -1
  34. package/lib/components/Keyboard/{KeyboardAwareInsetsView/index.js → KeyboardTracking/KeyboardAwareInsetsView.js} +1 -1
  35. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.ios.d.ts +4 -1
  36. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.ios.js +8 -5
  37. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.d.ts +2 -2
  38. package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/keyboardTrackingView.api.json +20 -11
  39. package/lib/components/Keyboard/index.d.ts +6 -6
  40. package/lib/components/Keyboard/index.js +6 -6
  41. package/lib/components/SafeArea/SafeAreaInsetsManager.d.ts +7 -21
  42. package/lib/components/SafeArea/SafeAreaInsetsManager.js +31 -95
  43. package/lib/components/SafeArea/SafeAreaSpacerView.d.ts +2 -2
  44. package/lib/components/SafeArea/SafeAreaSpacerView.js +9 -63
  45. package/lib/components/index.d.ts +1 -1
  46. package/lib/components/index.js +1 -1
  47. package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m +8 -52
  48. package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.h +7 -1
  49. package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.m +1 -1
  50. package/lib/ios/reactnativeuilib/keyboardtrackingview/KeyboardTrackingViewTempManager.m +41 -109
  51. package/lib/package.json +1 -1
  52. package/lib/react-native.config.js +3 -1
  53. package/metro.config.js +2 -2
  54. package/package.json +25 -25
  55. package/panningViews.d.ts +2 -0
  56. package/panningViews.js +1 -0
  57. package/react-native.config.js +3 -1
  58. package/scripts/release/prReleaseNotesCommon.js +15 -4
  59. package/sharedTransition.d.ts +2 -0
  60. package/sharedTransition.js +1 -0
  61. package/src/commons/Constants.js +5 -2
  62. package/src/components/KeyboardAwareScrollView/KeyboardAwareBase.js +1 -5
  63. package/src/components/actionSheet/index.d.ts +12 -2
  64. package/src/components/actionSheet/index.js +42 -3
  65. package/src/components/badge/index.d.ts +47 -107
  66. package/src/components/button/button.api.json +1 -1
  67. package/src/components/button/index.d.ts +23 -53
  68. package/src/components/button/types.d.ts +1 -0
  69. package/src/components/colorPicker/ColorPickerDialog.d.ts +1 -1
  70. package/src/components/colorPicker/ColorPickerDialog.js +1 -1
  71. package/src/components/dateTimePicker/index.d.ts +5 -186
  72. package/src/components/dateTimePicker/index.js +4 -3
  73. package/src/components/dialog/DialogDismissibleView.d.ts +34 -0
  74. package/src/components/dialog/DialogDismissibleView.js +184 -0
  75. package/src/components/dialog/OverlayFadingBackground.d.ts +14 -0
  76. package/src/components/dialog/OverlayFadingBackground.js +45 -0
  77. package/src/components/dialog/dialog.api.json +37 -31
  78. package/src/components/dialog/index.d.ts +105 -13
  79. package/src/components/dialog/index.js +212 -204
  80. package/src/components/drawer/Swipeable.js +2 -1
  81. package/src/components/drawer/index.js +25 -31
  82. package/src/components/fadedScrollView/index.js +2 -7
  83. package/src/components/featureHighlight/index.d.ts +1 -1
  84. package/src/components/index.js +19 -0
  85. package/src/components/marquee/types.js +1 -4
  86. package/src/components/modal/index.d.ts +0 -5
  87. package/src/components/modal/index.js +10 -14
  88. package/src/components/modal/modal.api.json +0 -5
  89. package/src/components/panningViews/asPanViewConsumer.d.ts +3 -0
  90. package/src/components/panningViews/asPanViewConsumer.js +16 -0
  91. package/src/components/panningViews/panDismissibleView.d.ts +51 -0
  92. package/src/components/panningViews/panDismissibleView.js +350 -0
  93. package/src/components/panningViews/panGestureView.d.ts +23 -0
  94. package/src/components/panningViews/panGestureView.js +156 -0
  95. package/src/components/panningViews/panListenerView.d.ts +66 -0
  96. package/src/components/panningViews/panListenerView.js +155 -0
  97. package/src/components/panningViews/panResponderView.d.ts +19 -0
  98. package/src/components/panningViews/panResponderView.js +79 -0
  99. package/src/components/panningViews/panningContext.d.ts +3 -0
  100. package/src/components/panningViews/panningContext.js +4 -0
  101. package/src/components/panningViews/panningProvider.d.ts +73 -0
  102. package/src/components/panningViews/panningProvider.js +101 -0
  103. package/src/components/picker/Picker.driver.new.d.ts +2 -2
  104. package/src/components/picker/Picker.driver.new.js +3 -3
  105. package/src/components/picker/PickerItem.js +20 -6
  106. package/src/components/picker/PickerPresenter.d.ts +1 -0
  107. package/src/components/picker/PickerPresenter.js +23 -1
  108. package/src/components/picker/api/picker.api.json +1 -0
  109. package/src/components/picker/api/pickerItem.api.json +5 -0
  110. package/src/components/picker/helpers/useFieldType.d.ts +23 -53
  111. package/src/components/picker/helpers/usePickerLabel.d.ts +1 -1
  112. package/src/components/picker/helpers/usePickerLabel.js +3 -2
  113. package/src/components/picker/helpers/usePickerMigrationWarnings.d.ts +1 -1
  114. package/src/components/picker/helpers/usePickerMigrationWarnings.js +12 -0
  115. package/src/components/picker/helpers/usePickerSearch.d.ts +1 -1
  116. package/src/components/picker/helpers/usePickerSearch.js +8 -4
  117. package/src/components/picker/helpers/usePickerSelection.d.ts +1 -1
  118. package/src/components/picker/helpers/usePickerSelection.js +10 -2
  119. package/src/components/picker/index.js +22 -4
  120. package/src/components/picker/types.d.ts +24 -1
  121. package/src/components/segmentedControl/index.js +3 -3
  122. package/src/components/sharedTransition/ShareTransitionContext.js +3 -0
  123. package/src/components/sharedTransition/SharedArea.js +153 -0
  124. package/src/components/sharedTransition/SourceElement.js +44 -0
  125. package/src/components/sharedTransition/TargetElement.js +38 -0
  126. package/src/components/sharedTransition/index.js +9 -0
  127. package/src/components/slider/GradientSlider.d.ts +1 -1
  128. package/src/components/sortableGridList/SortableItem.js +4 -13
  129. package/src/components/sortableList/SortableListItem.js +4 -13
  130. package/src/components/stackAggregator/index.js +11 -16
  131. package/src/components/text/Text.driver.new.d.ts +2 -2
  132. package/src/components/text/Text.driver.new.js +2 -2
  133. package/src/components/textField/Input.js +1 -0
  134. package/src/components/textField/TextField.driver.new.d.ts +2 -2
  135. package/src/components/textField/TextField.driver.new.js +2 -2
  136. package/src/components/textField/presets/outline.d.ts +46 -106
  137. package/src/components/textField/presets/underline.d.ts +46 -106
  138. package/src/components/textField/types.js +0 -1
  139. package/src/components/textField/usePreset.d.ts +44 -72
  140. package/src/components/timeline/types.js +0 -3
  141. package/src/incubator/dialog/dialog.api.json +54 -0
  142. package/src/{components → incubator}/dialog/dialogHeader.api.json +2 -2
  143. package/src/incubator/dialog/index.d.ts +15 -0
  144. package/src/incubator/dialog/index.js +218 -0
  145. package/src/{components → incubator}/dialog/types.d.ts +19 -0
  146. package/src/{components → incubator}/dialog/types.js +3 -1
  147. package/src/{components → incubator}/dialog/useDialogContent.d.ts +1 -1
  148. package/src/incubator/expandableOverlay/ExpandableOverlay.driver.js +1 -1
  149. package/src/incubator/expandableOverlay/index.d.ts +3 -42
  150. package/src/incubator/expandableOverlay/index.js +4 -1
  151. package/src/{hooks/useHiddenLocation/index.d.ts → incubator/hooks/useHiddenLocation.d.ts} +1 -1
  152. package/src/{hooks/useHiddenLocation/index.web.d.ts → incubator/hooks/useHiddenLocation.web.d.ts} +1 -1
  153. package/src/incubator/index.d.ts +2 -0
  154. package/src/incubator/index.js +2 -0
  155. package/src/{components → incubator}/panView/index.d.ts +3 -3
  156. package/src/{components → incubator}/panView/index.js +4 -4
  157. package/src/{components → incubator}/panView/usePanGesture.d.ts +1 -1
  158. package/src/incubator/toast/index.js +1 -1
  159. package/src/index.d.ts +10 -3
  160. package/src/index.js +162 -42
  161. package/src/testkit/index.d.ts +1 -1
  162. package/src/testkit/index.js +1 -1
  163. package/src/testkit/new/Component.driver.d.ts +1 -4
  164. package/src/testkit/new/Component.driver.js +3 -3
  165. package/lib/components/HighlighterOverlayView/index.js +0 -49
  166. package/lib/components/Keyboard/KeyboardAccessoryView/CustomKeyboardView/CustomKeyboardView.android.js +0 -51
  167. package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.d.ts +0 -26
  168. package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.js +0 -91
  169. package/lib/components/SafeArea/__tests__/SafeAreaInsetsManager.spec.js +0 -274
  170. package/lib/components/SafeArea/index.d.ts +0 -10
  171. package/lib/components/SafeArea/index.js +0 -11
  172. package/panView.d.ts +0 -2
  173. package/panView.js +0 -1
  174. /package/lib/components/{HighlighterOverlayView/index.web.js → HighlighterOverlayView.web.js} +0 -0
  175. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.d.ts +0 -0
  176. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.js +0 -0
  177. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.web.d.ts +0 -0
  178. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.web.js +0 -0
  179. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.android.d.ts +0 -0
  180. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.android.js +0 -0
  181. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.ios.d.ts +0 -0
  182. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.ios.js +0 -0
  183. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/index.d.ts +0 -0
  184. /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/index.js +0 -0
  185. /package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.d.ts → KeyboardInput/utils/EventEmitterManager.d.ts} +0 -0
  186. /package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.js → KeyboardInput/utils/EventEmitterManager.js} +0 -0
  187. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.android.d.ts +0 -0
  188. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.android.js +0 -0
  189. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.js +0 -0
  190. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.web.d.ts +0 -0
  191. /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.web.js +0 -0
  192. /package/lib/components/Keyboard/{KeyboardAwareInsetsView → KeyboardTracking}/keyboardAwareInsetsView.api.json +0 -0
  193. /package/src/{components → incubator}/dialog/Dialog.driver.new.d.ts +0 -0
  194. /package/src/{components → incubator}/dialog/Dialog.driver.new.js +0 -0
  195. /package/src/{components → incubator}/dialog/DialogHeader.d.ts +0 -0
  196. /package/src/{components → incubator}/dialog/DialogHeader.js +0 -0
  197. /package/src/{components → incubator}/dialog/useDialogContent.js +0 -0
  198. /package/src/{hooks/useHiddenLocation/index.js → incubator/hooks/useHiddenLocation.js} +0 -0
  199. /package/src/{hooks/useHiddenLocation/index.web.js → incubator/hooks/useHiddenLocation.web.js} +0 -0
  200. /package/src/{components → incubator}/panView/panningUtil.d.ts +0 -0
  201. /package/src/{components → incubator}/panView/panningUtil.js +0 -0
  202. /package/src/{components → incubator}/panView/usePanGesture.js +0 -0
@@ -109,7 +109,7 @@ declare function createStyles(props: BadgeProps): {
109
109
  fontFamily?: string | undefined;
110
110
  fontSize?: number | undefined;
111
111
  fontStyle?: "normal" | "italic" | undefined;
112
- fontWeight?: "black" | 900 | 600 | "light" | 100 | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 200 | 300 | 400 | 500 | 700 | 800 | "ultralight" | "thin" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | undefined;
112
+ fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
113
113
  letterSpacing?: number | undefined;
114
114
  lineHeight?: number | undefined;
115
115
  textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
@@ -131,41 +131,31 @@ declare function createStyles(props: BadgeProps): {
131
131
  borderBlockEndColor?: import("react-native").ColorValue | undefined;
132
132
  borderBlockStartColor?: import("react-native").ColorValue | undefined;
133
133
  borderBottomColor?: import("react-native").ColorValue | undefined;
134
- borderBottomEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
135
- borderBottomLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
136
- borderBottomRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
137
- borderBottomStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
134
+ borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
135
+ borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
136
+ borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
137
+ borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
138
138
  borderColor?: import("react-native").ColorValue | undefined;
139
139
  borderCurve?: "circular" | "continuous" | undefined;
140
140
  borderEndColor?: import("react-native").ColorValue | undefined;
141
- borderEndEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
142
- borderEndStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
141
+ borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
142
+ borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
143
143
  borderLeftColor?: import("react-native").ColorValue | undefined;
144
- borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
144
+ borderRadius?: import("react-native").AnimatableNumericValue | undefined;
145
145
  borderRightColor?: import("react-native").ColorValue | undefined;
146
146
  borderStartColor?: import("react-native").ColorValue | undefined;
147
- borderStartEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
148
- borderStartStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
147
+ borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
148
+ borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
149
149
  borderStyle?: "solid" | "dotted" | "dashed" | undefined;
150
150
  borderTopColor?: import("react-native").ColorValue | undefined;
151
- borderTopEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
152
- borderTopLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
153
- borderTopRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
154
- borderTopStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
155
- outlineColor?: import("react-native").ColorValue | undefined;
156
- outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
157
- outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
158
- outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
151
+ borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
152
+ borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
153
+ borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
154
+ borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
159
155
  opacity?: import("react-native").AnimatableNumericValue | undefined;
160
156
  elevation?: number | undefined;
161
157
  pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
162
- isolation?: "auto" | "isolate" | undefined;
163
- cursor?: import("react-native").CursorValue | undefined;
164
- boxShadow?: string | readonly import("react-native").BoxShadowValue[] | undefined;
165
- filter?: string | readonly import("react-native").FilterFunction[] | undefined;
166
- mixBlendMode?: import("react-native").BlendMode | undefined;
167
- experimental_backgroundImage?: string | readonly import("react-native").GradientValue[] | undefined;
168
- alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
158
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
169
159
  alignItems?: import("react-native").FlexAlignType | undefined;
170
160
  alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
171
161
  aspectRatio?: string | number | undefined;
@@ -177,15 +167,14 @@ declare function createStyles(props: BadgeProps): {
177
167
  borderTopWidth?: number | undefined;
178
168
  borderWidth?: number | undefined;
179
169
  bottom?: import("react-native").DimensionValue | undefined;
180
- boxSizing?: "border-box" | "content-box" | undefined;
181
- display?: "none" | "flex" | "contents" | undefined;
170
+ display?: "none" | "flex" | undefined;
182
171
  end?: import("react-native").DimensionValue | undefined;
183
172
  flex?: number | undefined;
184
173
  flexBasis?: import("react-native").DimensionValue | undefined;
185
174
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
186
- rowGap?: string | number | undefined;
187
- gap?: string | number | undefined;
188
- columnGap?: string | number | undefined;
175
+ rowGap?: number | undefined;
176
+ gap?: number | undefined;
177
+ columnGap?: number | undefined;
189
178
  flexGrow?: number | undefined;
190
179
  flexShrink?: number | undefined;
191
180
  flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
@@ -215,32 +204,13 @@ declare function createStyles(props: BadgeProps): {
215
204
  paddingStart?: import("react-native").DimensionValue | undefined;
216
205
  paddingTop?: import("react-native").DimensionValue | undefined;
217
206
  paddingVertical?: import("react-native").DimensionValue | undefined;
218
- position?: "absolute" | "relative" | "static" | undefined;
207
+ position?: "absolute" | "relative" | undefined;
219
208
  right?: import("react-native").DimensionValue | undefined;
220
209
  start?: import("react-native").DimensionValue | undefined;
221
210
  top?: import("react-native").DimensionValue | undefined;
222
211
  width?: import("react-native").DimensionValue | undefined;
223
212
  zIndex?: number | undefined;
224
213
  direction?: "ltr" | "rtl" | "inherit" | undefined;
225
- inset?: import("react-native").DimensionValue | undefined;
226
- insetBlock?: import("react-native").DimensionValue | undefined;
227
- insetBlockEnd?: import("react-native").DimensionValue | undefined;
228
- insetBlockStart?: import("react-native").DimensionValue | undefined;
229
- insetInline?: import("react-native").DimensionValue | undefined;
230
- insetInlineEnd?: import("react-native").DimensionValue | undefined;
231
- insetInlineStart?: import("react-native").DimensionValue | undefined;
232
- marginBlock?: import("react-native").DimensionValue | undefined;
233
- marginBlockEnd?: import("react-native").DimensionValue | undefined;
234
- marginBlockStart?: import("react-native").DimensionValue | undefined;
235
- marginInline?: import("react-native").DimensionValue | undefined;
236
- marginInlineEnd?: import("react-native").DimensionValue | undefined;
237
- marginInlineStart?: import("react-native").DimensionValue | undefined;
238
- paddingBlock?: import("react-native").DimensionValue | undefined;
239
- paddingBlockEnd?: import("react-native").DimensionValue | undefined;
240
- paddingBlockStart?: import("react-native").DimensionValue | undefined;
241
- paddingInline?: import("react-native").DimensionValue | undefined;
242
- paddingInlineEnd?: import("react-native").DimensionValue | undefined;
243
- paddingInlineStart?: import("react-native").DimensionValue | undefined;
244
214
  shadowColor?: import("react-native").ColorValue | undefined;
245
215
  shadowOffset?: Readonly<{
246
216
  width: number;
@@ -248,7 +218,7 @@ declare function createStyles(props: BadgeProps): {
248
218
  }> | undefined;
249
219
  shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
250
220
  shadowRadius?: number | undefined;
251
- transform?: string | readonly (({
221
+ transform?: string | (({
252
222
  perspective: import("react-native").AnimatableNumericValue;
253
223
  } & {
254
224
  rotate?: undefined;
@@ -369,7 +339,7 @@ declare function createStyles(props: BadgeProps): {
369
339
  skewY?: undefined;
370
340
  matrix?: undefined;
371
341
  }) | ({
372
- translateX: import("react-native").AnimatableNumericValue | `${number}%`;
342
+ translateX: import("react-native").AnimatableNumericValue;
373
343
  } & {
374
344
  perspective?: undefined;
375
345
  rotate?: undefined;
@@ -384,7 +354,7 @@ declare function createStyles(props: BadgeProps): {
384
354
  skewY?: undefined;
385
355
  matrix?: undefined;
386
356
  }) | ({
387
- translateY: import("react-native").AnimatableNumericValue | `${number}%`;
357
+ translateY: import("react-native").AnimatableNumericValue;
388
358
  } & {
389
359
  perspective?: undefined;
390
360
  rotate?: undefined;
@@ -461,7 +431,7 @@ declare function createStyles(props: BadgeProps): {
461
431
  fontFamily?: string | undefined;
462
432
  fontSize?: number | undefined;
463
433
  fontStyle?: "normal" | "italic" | undefined;
464
- fontWeight?: "black" | 900 | 600 | "light" | 100 | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 200 | 300 | 400 | 500 | 700 | 800 | "ultralight" | "thin" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | undefined;
434
+ fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
465
435
  letterSpacing?: number | undefined;
466
436
  textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
467
437
  textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
@@ -483,41 +453,31 @@ declare function createStyles(props: BadgeProps): {
483
453
  borderBlockEndColor?: import("react-native").ColorValue | undefined;
484
454
  borderBlockStartColor?: import("react-native").ColorValue | undefined;
485
455
  borderBottomColor?: import("react-native").ColorValue | undefined;
486
- borderBottomEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
487
- borderBottomLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
488
- borderBottomRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
489
- borderBottomStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
456
+ borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
457
+ borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
458
+ borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
459
+ borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
490
460
  borderColor?: import("react-native").ColorValue | undefined;
491
461
  borderCurve?: "circular" | "continuous" | undefined;
492
462
  borderEndColor?: import("react-native").ColorValue | undefined;
493
- borderEndEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
494
- borderEndStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
463
+ borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
464
+ borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
495
465
  borderLeftColor?: import("react-native").ColorValue | undefined;
496
- borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
466
+ borderRadius?: import("react-native").AnimatableNumericValue | undefined;
497
467
  borderRightColor?: import("react-native").ColorValue | undefined;
498
468
  borderStartColor?: import("react-native").ColorValue | undefined;
499
- borderStartEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
500
- borderStartStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
469
+ borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
470
+ borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
501
471
  borderStyle?: "solid" | "dotted" | "dashed" | undefined;
502
472
  borderTopColor?: import("react-native").ColorValue | undefined;
503
- borderTopEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
504
- borderTopLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
505
- borderTopRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
506
- borderTopStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
507
- outlineColor?: import("react-native").ColorValue | undefined;
508
- outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
509
- outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
510
- outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
473
+ borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
474
+ borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
475
+ borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
476
+ borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
511
477
  opacity?: import("react-native").AnimatableNumericValue | undefined;
512
478
  elevation?: number | undefined;
513
479
  pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
514
- isolation?: "auto" | "isolate" | undefined;
515
- cursor?: import("react-native").CursorValue | undefined;
516
- boxShadow?: string | readonly import("react-native").BoxShadowValue[] | undefined;
517
- filter?: string | readonly import("react-native").FilterFunction[] | undefined;
518
- mixBlendMode?: import("react-native").BlendMode | undefined;
519
- experimental_backgroundImage?: string | readonly import("react-native").GradientValue[] | undefined;
520
- alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
480
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
521
481
  alignItems?: import("react-native").FlexAlignType | undefined;
522
482
  alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
523
483
  aspectRatio?: string | number | undefined;
@@ -529,15 +489,14 @@ declare function createStyles(props: BadgeProps): {
529
489
  borderTopWidth?: number | undefined;
530
490
  borderWidth?: number | undefined;
531
491
  bottom?: import("react-native").DimensionValue | undefined;
532
- boxSizing?: "border-box" | "content-box" | undefined;
533
- display?: "none" | "flex" | "contents" | undefined;
492
+ display?: "none" | "flex" | undefined;
534
493
  end?: import("react-native").DimensionValue | undefined;
535
494
  flex?: number | undefined;
536
495
  flexBasis?: import("react-native").DimensionValue | undefined;
537
496
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
538
- rowGap?: string | number | undefined;
539
- gap?: string | number | undefined;
540
- columnGap?: string | number | undefined;
497
+ rowGap?: number | undefined;
498
+ gap?: number | undefined;
499
+ columnGap?: number | undefined;
541
500
  flexGrow?: number | undefined;
542
501
  flexShrink?: number | undefined;
543
502
  flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
@@ -567,32 +526,13 @@ declare function createStyles(props: BadgeProps): {
567
526
  paddingStart?: import("react-native").DimensionValue | undefined;
568
527
  paddingTop?: import("react-native").DimensionValue | undefined;
569
528
  paddingVertical?: import("react-native").DimensionValue | undefined;
570
- position?: "absolute" | "relative" | "static" | undefined;
529
+ position?: "absolute" | "relative" | undefined;
571
530
  right?: import("react-native").DimensionValue | undefined;
572
531
  start?: import("react-native").DimensionValue | undefined;
573
532
  top?: import("react-native").DimensionValue | undefined;
574
533
  width?: import("react-native").DimensionValue | undefined;
575
534
  zIndex?: number | undefined;
576
535
  direction?: "ltr" | "rtl" | "inherit" | undefined;
577
- inset?: import("react-native").DimensionValue | undefined;
578
- insetBlock?: import("react-native").DimensionValue | undefined;
579
- insetBlockEnd?: import("react-native").DimensionValue | undefined;
580
- insetBlockStart?: import("react-native").DimensionValue | undefined;
581
- insetInline?: import("react-native").DimensionValue | undefined;
582
- insetInlineEnd?: import("react-native").DimensionValue | undefined;
583
- insetInlineStart?: import("react-native").DimensionValue | undefined;
584
- marginBlock?: import("react-native").DimensionValue | undefined;
585
- marginBlockEnd?: import("react-native").DimensionValue | undefined;
586
- marginBlockStart?: import("react-native").DimensionValue | undefined;
587
- marginInline?: import("react-native").DimensionValue | undefined;
588
- marginInlineEnd?: import("react-native").DimensionValue | undefined;
589
- marginInlineStart?: import("react-native").DimensionValue | undefined;
590
- paddingBlock?: import("react-native").DimensionValue | undefined;
591
- paddingBlockEnd?: import("react-native").DimensionValue | undefined;
592
- paddingBlockStart?: import("react-native").DimensionValue | undefined;
593
- paddingInline?: import("react-native").DimensionValue | undefined;
594
- paddingInlineEnd?: import("react-native").DimensionValue | undefined;
595
- paddingInlineStart?: import("react-native").DimensionValue | undefined;
596
536
  shadowColor?: import("react-native").ColorValue | undefined;
597
537
  shadowOffset?: Readonly<{
598
538
  width: number;
@@ -600,7 +540,7 @@ declare function createStyles(props: BadgeProps): {
600
540
  }> | undefined;
601
541
  shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
602
542
  shadowRadius?: number | undefined;
603
- transform?: string | readonly (({
543
+ transform?: string | (({
604
544
  perspective: import("react-native").AnimatableNumericValue;
605
545
  } & {
606
546
  rotate?: undefined;
@@ -721,7 +661,7 @@ declare function createStyles(props: BadgeProps): {
721
661
  skewY?: undefined;
722
662
  matrix?: undefined;
723
663
  }) | ({
724
- translateX: import("react-native").AnimatableNumericValue | `${number}%`;
664
+ translateX: import("react-native").AnimatableNumericValue;
725
665
  } & {
726
666
  perspective?: undefined;
727
667
  rotate?: undefined;
@@ -736,7 +676,7 @@ declare function createStyles(props: BadgeProps): {
736
676
  skewY?: undefined;
737
677
  matrix?: undefined;
738
678
  }) | ({
739
- translateY: import("react-native").AnimatableNumericValue | `${number}%`;
679
+ translateY: import("react-native").AnimatableNumericValue;
740
680
  } & {
741
681
  perspective?: undefined;
742
682
  rotate?: undefined;
@@ -830,7 +770,7 @@ declare const _default: React.ForwardRefExoticComponent<ViewProps & TouchableOpa
830
770
  /**
831
771
  * Defines how far a touch event can start away from the badge.
832
772
  */
833
- hitSlop?: number | import("react-native").Insets | null | undefined;
773
+ hitSlop?: import("react-native").Insets | undefined;
834
774
  /**
835
775
  * width of border around the badge
836
776
  */
@@ -155,7 +155,7 @@
155
155
  {
156
156
  "name": "animateLayout",
157
157
  "type": "boolean",
158
- "description": "should animate layout change"
158
+ "description": "should animate layout change. Note: For Android you must set 'setLayoutAnimationEnabledExperimental(true)' via RN's 'UIManager'"
159
159
  },
160
160
  {
161
161
  "name": "animateTo",
@@ -39,7 +39,7 @@ declare class Button extends PureComponent<Props, ButtonState> {
39
39
  fontFamily?: string | undefined;
40
40
  fontSize?: number | undefined;
41
41
  fontStyle?: "normal" | "italic" | undefined;
42
- fontWeight?: "black" | 900 | 600 | "light" | 100 | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 200 | 300 | 400 | 500 | 700 | 800 | "ultralight" | "thin" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | undefined;
42
+ fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
43
43
  letterSpacing?: number | undefined;
44
44
  lineHeight?: number | undefined;
45
45
  textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
@@ -62,41 +62,31 @@ declare class Button extends PureComponent<Props, ButtonState> {
62
62
  borderBlockEndColor?: import("react-native").ColorValue | undefined;
63
63
  borderBlockStartColor?: import("react-native").ColorValue | undefined;
64
64
  borderBottomColor?: import("react-native").ColorValue | undefined;
65
- borderBottomEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
66
- borderBottomLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
67
- borderBottomRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
68
- borderBottomStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
65
+ borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
66
+ borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
67
+ borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
68
+ borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
69
69
  borderColor?: import("react-native").ColorValue | undefined;
70
70
  borderCurve?: "circular" | "continuous" | undefined;
71
71
  borderEndColor?: import("react-native").ColorValue | undefined;
72
- borderEndEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
73
- borderEndStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
72
+ borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
73
+ borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
74
74
  borderLeftColor?: import("react-native").ColorValue | undefined;
75
- borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
75
+ borderRadius?: import("react-native").AnimatableNumericValue | undefined;
76
76
  borderRightColor?: import("react-native").ColorValue | undefined;
77
77
  borderStartColor?: import("react-native").ColorValue | undefined;
78
- borderStartEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
79
- borderStartStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
78
+ borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
79
+ borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
80
80
  borderStyle?: "solid" | "dotted" | "dashed" | undefined;
81
81
  borderTopColor?: import("react-native").ColorValue | undefined;
82
- borderTopEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
83
- borderTopLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
84
- borderTopRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
85
- borderTopStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
86
- outlineColor?: import("react-native").ColorValue | undefined;
87
- outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
88
- outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
89
- outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
82
+ borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
83
+ borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
84
+ borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
85
+ borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
90
86
  opacity?: import("react-native").AnimatableNumericValue | undefined;
91
87
  elevation?: number | undefined;
92
88
  pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
93
- isolation?: "auto" | "isolate" | undefined;
94
- cursor?: import("react-native").CursorValue | undefined;
95
- boxShadow?: string | readonly import("react-native").BoxShadowValue[] | undefined;
96
- filter?: string | readonly import("react-native").FilterFunction[] | undefined;
97
- mixBlendMode?: import("react-native").BlendMode | undefined;
98
- experimental_backgroundImage?: string | readonly import("react-native").GradientValue[] | undefined;
99
- alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
89
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
100
90
  alignItems?: import("react-native").FlexAlignType | undefined;
101
91
  alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
102
92
  aspectRatio?: string | number | undefined;
@@ -108,15 +98,14 @@ declare class Button extends PureComponent<Props, ButtonState> {
108
98
  borderTopWidth?: number | undefined;
109
99
  borderWidth?: number | undefined;
110
100
  bottom?: import("react-native").DimensionValue | undefined;
111
- boxSizing?: "border-box" | "content-box" | undefined;
112
- display?: "none" | "flex" | "contents" | undefined;
101
+ display?: "none" | "flex" | undefined;
113
102
  end?: import("react-native").DimensionValue | undefined;
114
103
  flex?: number | undefined;
115
104
  flexBasis?: import("react-native").DimensionValue | undefined;
116
105
  flexDirection: "row" | "column" | "row-reverse" | "column-reverse";
117
- rowGap?: string | number | undefined;
118
- gap?: string | number | undefined;
119
- columnGap?: string | number | undefined;
106
+ rowGap?: number | undefined;
107
+ gap?: number | undefined;
108
+ columnGap?: number | undefined;
120
109
  flexGrow?: number | undefined;
121
110
  flexShrink?: number | undefined;
122
111
  flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
@@ -146,32 +135,13 @@ declare class Button extends PureComponent<Props, ButtonState> {
146
135
  paddingStart?: import("react-native").DimensionValue | undefined;
147
136
  paddingTop?: import("react-native").DimensionValue | undefined;
148
137
  paddingVertical?: import("react-native").DimensionValue | undefined;
149
- position?: "absolute" | "relative" | "static" | undefined;
138
+ position?: "absolute" | "relative" | undefined;
150
139
  right?: import("react-native").DimensionValue | undefined;
151
140
  start?: import("react-native").DimensionValue | undefined;
152
141
  top?: import("react-native").DimensionValue | undefined;
153
142
  width?: import("react-native").DimensionValue | undefined;
154
143
  zIndex?: number | undefined;
155
144
  direction?: "ltr" | "rtl" | "inherit" | undefined;
156
- inset?: import("react-native").DimensionValue | undefined;
157
- insetBlock?: import("react-native").DimensionValue | undefined;
158
- insetBlockEnd?: import("react-native").DimensionValue | undefined;
159
- insetBlockStart?: import("react-native").DimensionValue | undefined;
160
- insetInline?: import("react-native").DimensionValue | undefined;
161
- insetInlineEnd?: import("react-native").DimensionValue | undefined;
162
- insetInlineStart?: import("react-native").DimensionValue | undefined;
163
- marginBlock?: import("react-native").DimensionValue | undefined;
164
- marginBlockEnd?: import("react-native").DimensionValue | undefined;
165
- marginBlockStart?: import("react-native").DimensionValue | undefined;
166
- marginInline?: import("react-native").DimensionValue | undefined;
167
- marginInlineEnd?: import("react-native").DimensionValue | undefined;
168
- marginInlineStart?: import("react-native").DimensionValue | undefined;
169
- paddingBlock?: import("react-native").DimensionValue | undefined;
170
- paddingBlockEnd?: import("react-native").DimensionValue | undefined;
171
- paddingBlockStart?: import("react-native").DimensionValue | undefined;
172
- paddingInline?: import("react-native").DimensionValue | undefined;
173
- paddingInlineEnd?: import("react-native").DimensionValue | undefined;
174
- paddingInlineStart?: import("react-native").DimensionValue | undefined;
175
145
  shadowColor?: import("react-native").ColorValue | undefined;
176
146
  shadowOffset?: Readonly<{
177
147
  width: number;
@@ -179,7 +149,7 @@ declare class Button extends PureComponent<Props, ButtonState> {
179
149
  }> | undefined;
180
150
  shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
181
151
  shadowRadius?: number | undefined;
182
- transform?: string | readonly (({
152
+ transform?: string | (({
183
153
  perspective: import("react-native").AnimatableNumericValue;
184
154
  } & {
185
155
  rotate?: undefined;
@@ -300,7 +270,7 @@ declare class Button extends PureComponent<Props, ButtonState> {
300
270
  skewY?: undefined;
301
271
  matrix?: undefined;
302
272
  }) | ({
303
- translateX: import("react-native").AnimatableNumericValue | `${number}%`;
273
+ translateX: import("react-native").AnimatableNumericValue;
304
274
  } & {
305
275
  perspective?: undefined;
306
276
  rotate?: undefined;
@@ -315,7 +285,7 @@ declare class Button extends PureComponent<Props, ButtonState> {
315
285
  skewY?: undefined;
316
286
  matrix?: undefined;
317
287
  }) | ({
318
- translateY: import("react-native").AnimatableNumericValue | `${number}%`;
288
+ translateY: import("react-native").AnimatableNumericValue;
319
289
  } & {
320
290
  perspective?: undefined;
321
291
  rotate?: undefined;
@@ -131,6 +131,7 @@ export type ButtonProps = TouchableOpacityProps & TypographyModifiers & ColorsMo
131
131
  getActiveBackgroundColor?: (backgroundColor: string, props: any) => string;
132
132
  /**
133
133
  * should animate layout change
134
+ * Note?: For Android you must set 'setLayoutAnimationEnabledExperimental(true)' via RN's 'UIManager'
134
135
  */
135
136
  animateLayout?: boolean;
136
137
  /**
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { StyleProp, ViewStyle } from 'react-native';
3
- import { DialogProps } from '../dialog';
3
+ import { DialogProps } from '../../incubator/dialog';
4
4
  export interface ColorPickerDialogProps extends DialogProps {
5
5
  /**
6
6
  * The initial color to pass the picker dialog
@@ -3,7 +3,7 @@ import React, { useCallback, useEffect, useState } from 'react';
3
3
  import { LayoutAnimation, StyleSheet, Keyboard } from 'react-native';
4
4
  import { Constants, asBaseComponent } from "../../commons/new";
5
5
  import { Colors } from "../../style";
6
- import Dialog from "../dialog";
6
+ import Dialog from "../../incubator/dialog";
7
7
  import { getColorValue, getValidColorString, getTextColor, BORDER_RADIUS } from "./ColorPickerPresenter";
8
8
  import ColorPickerDialogHeader from "./ColorPickerDialogHeader";
9
9
  import ColorPickerPreview from "./ColorPickerPreview";