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.
- package/babel.config.js +0 -12
- package/index.js +0 -1
- package/lib/android/build.gradle +5 -5
- package/lib/android/src/main/java/com/wix/reactnativeuilib/UiLibPackageList.java +2 -0
- package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/HighlighterViewManager.java +23 -31
- package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReactHacks.java +30 -0
- package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReflectionUtils.java +34 -0
- package/lib/android/src/main/java/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils.java +1 -1
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/DefaultKeyListener.java +33 -0
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/KeyListenerProxy.java +53 -0
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerModule.java +54 -0
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerPackage.java +28 -0
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/ViewUtils.java +36 -0
- package/lib/components/{HighlighterOverlayView/index.d.ts → HighlighterOverlayView.d.ts} +1 -1
- package/lib/components/HighlighterOverlayView.js +40 -0
- package/lib/components/{HighlighterOverlayView/index.web.d.ts → HighlighterOverlayView.web.d.ts} +1 -1
- package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.android.d.ts +2 -5
- package/lib/components/Keyboard/KeyboardInput/CustomKeyboardView/CustomKeyboardView.android.js +28 -0
- package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.ios.d.ts +1 -1
- package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/CustomKeyboardView.ios.js +3 -3
- package/lib/components/Keyboard/{KeyboardAccessoryView/CustomKeyboardView → KeyboardInput}/CustomKeyboardViewBase.d.ts +0 -3
- package/lib/components/Keyboard/{KeyboardAccessoryView/CustomKeyboardView → KeyboardInput}/CustomKeyboardViewBase.js +1 -1
- package/lib/components/Keyboard/{KeyboardAccessoryView/index.d.ts → KeyboardInput/KeyboardAccessoryView.d.ts} +1 -11
- package/lib/components/Keyboard/{KeyboardAccessoryView/index.js → KeyboardInput/KeyboardAccessoryView.js} +5 -31
- package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/index.d.ts → KeyboardInput/KeyboardRegistry.d.ts} +1 -1
- package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/index.js → KeyboardInput/KeyboardRegistry.js} +1 -1
- package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry → KeyboardInput}/__tests__/KeyboardRegistry.spec.js +1 -1
- package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/keyboardAccessoryView.api.json +5 -5
- package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry → KeyboardInput}/keyboardRegistry.api.json +9 -9
- package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.d.ts +11 -0
- package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.js +17 -0
- package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager → KeyboardInput/utils}/__tests__/EventEmitterManager.spec.js +1 -1
- package/lib/components/Keyboard/{KeyboardAwareInsetsView/index.d.ts → KeyboardTracking/KeyboardAwareInsetsView.d.ts} +1 -1
- package/lib/components/Keyboard/{KeyboardAwareInsetsView/index.js → KeyboardTracking/KeyboardAwareInsetsView.js} +1 -1
- package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.ios.d.ts +4 -1
- package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.ios.js +8 -5
- package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.d.ts +2 -2
- package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/keyboardTrackingView.api.json +20 -11
- package/lib/components/Keyboard/index.d.ts +6 -6
- package/lib/components/Keyboard/index.js +6 -6
- package/lib/components/SafeArea/SafeAreaInsetsManager.d.ts +7 -21
- package/lib/components/SafeArea/SafeAreaInsetsManager.js +31 -95
- package/lib/components/SafeArea/SafeAreaSpacerView.d.ts +2 -2
- package/lib/components/SafeArea/SafeAreaSpacerView.js +9 -63
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +1 -1
- package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomInputControllerTemp.m +8 -52
- package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.h +7 -1
- package/lib/ios/reactnativeuilib/keyboardinput/rctcustomInputcontroller/RCTCustomKeyboardViewControllerTemp.m +1 -1
- package/lib/ios/reactnativeuilib/keyboardtrackingview/KeyboardTrackingViewTempManager.m +41 -109
- package/lib/package.json +1 -1
- package/lib/react-native.config.js +3 -1
- package/metro.config.js +2 -2
- package/package.json +25 -25
- package/panningViews.d.ts +2 -0
- package/panningViews.js +1 -0
- package/react-native.config.js +3 -1
- package/scripts/release/prReleaseNotesCommon.js +15 -4
- package/sharedTransition.d.ts +2 -0
- package/sharedTransition.js +1 -0
- package/src/commons/Constants.js +5 -2
- package/src/components/KeyboardAwareScrollView/KeyboardAwareBase.js +1 -5
- package/src/components/actionSheet/index.d.ts +12 -2
- package/src/components/actionSheet/index.js +42 -3
- package/src/components/badge/index.d.ts +47 -107
- package/src/components/button/button.api.json +1 -1
- package/src/components/button/index.d.ts +23 -53
- package/src/components/button/types.d.ts +1 -0
- package/src/components/colorPicker/ColorPickerDialog.d.ts +1 -1
- package/src/components/colorPicker/ColorPickerDialog.js +1 -1
- package/src/components/dateTimePicker/index.d.ts +5 -186
- package/src/components/dateTimePicker/index.js +4 -3
- package/src/components/dialog/DialogDismissibleView.d.ts +34 -0
- package/src/components/dialog/DialogDismissibleView.js +184 -0
- package/src/components/dialog/OverlayFadingBackground.d.ts +14 -0
- package/src/components/dialog/OverlayFadingBackground.js +45 -0
- package/src/components/dialog/dialog.api.json +37 -31
- package/src/components/dialog/index.d.ts +105 -13
- package/src/components/dialog/index.js +212 -204
- package/src/components/drawer/Swipeable.js +2 -1
- package/src/components/drawer/index.js +25 -31
- package/src/components/fadedScrollView/index.js +2 -7
- package/src/components/featureHighlight/index.d.ts +1 -1
- package/src/components/index.js +19 -0
- package/src/components/marquee/types.js +1 -4
- package/src/components/modal/index.d.ts +0 -5
- package/src/components/modal/index.js +10 -14
- package/src/components/modal/modal.api.json +0 -5
- package/src/components/panningViews/asPanViewConsumer.d.ts +3 -0
- package/src/components/panningViews/asPanViewConsumer.js +16 -0
- package/src/components/panningViews/panDismissibleView.d.ts +51 -0
- package/src/components/panningViews/panDismissibleView.js +350 -0
- package/src/components/panningViews/panGestureView.d.ts +23 -0
- package/src/components/panningViews/panGestureView.js +156 -0
- package/src/components/panningViews/panListenerView.d.ts +66 -0
- package/src/components/panningViews/panListenerView.js +155 -0
- package/src/components/panningViews/panResponderView.d.ts +19 -0
- package/src/components/panningViews/panResponderView.js +79 -0
- package/src/components/panningViews/panningContext.d.ts +3 -0
- package/src/components/panningViews/panningContext.js +4 -0
- package/src/components/panningViews/panningProvider.d.ts +73 -0
- package/src/components/panningViews/panningProvider.js +101 -0
- package/src/components/picker/Picker.driver.new.d.ts +2 -2
- package/src/components/picker/Picker.driver.new.js +3 -3
- package/src/components/picker/PickerItem.js +20 -6
- package/src/components/picker/PickerPresenter.d.ts +1 -0
- package/src/components/picker/PickerPresenter.js +23 -1
- package/src/components/picker/api/picker.api.json +1 -0
- package/src/components/picker/api/pickerItem.api.json +5 -0
- package/src/components/picker/helpers/useFieldType.d.ts +23 -53
- package/src/components/picker/helpers/usePickerLabel.d.ts +1 -1
- package/src/components/picker/helpers/usePickerLabel.js +3 -2
- package/src/components/picker/helpers/usePickerMigrationWarnings.d.ts +1 -1
- package/src/components/picker/helpers/usePickerMigrationWarnings.js +12 -0
- package/src/components/picker/helpers/usePickerSearch.d.ts +1 -1
- package/src/components/picker/helpers/usePickerSearch.js +8 -4
- package/src/components/picker/helpers/usePickerSelection.d.ts +1 -1
- package/src/components/picker/helpers/usePickerSelection.js +10 -2
- package/src/components/picker/index.js +22 -4
- package/src/components/picker/types.d.ts +24 -1
- package/src/components/segmentedControl/index.js +3 -3
- package/src/components/sharedTransition/ShareTransitionContext.js +3 -0
- package/src/components/sharedTransition/SharedArea.js +153 -0
- package/src/components/sharedTransition/SourceElement.js +44 -0
- package/src/components/sharedTransition/TargetElement.js +38 -0
- package/src/components/sharedTransition/index.js +9 -0
- package/src/components/slider/GradientSlider.d.ts +1 -1
- package/src/components/sortableGridList/SortableItem.js +4 -13
- package/src/components/sortableList/SortableListItem.js +4 -13
- package/src/components/stackAggregator/index.js +11 -16
- package/src/components/text/Text.driver.new.d.ts +2 -2
- package/src/components/text/Text.driver.new.js +2 -2
- package/src/components/textField/Input.js +1 -0
- package/src/components/textField/TextField.driver.new.d.ts +2 -2
- package/src/components/textField/TextField.driver.new.js +2 -2
- package/src/components/textField/presets/outline.d.ts +46 -106
- package/src/components/textField/presets/underline.d.ts +46 -106
- package/src/components/textField/types.js +0 -1
- package/src/components/textField/usePreset.d.ts +44 -72
- package/src/components/timeline/types.js +0 -3
- package/src/incubator/dialog/dialog.api.json +54 -0
- package/src/{components → incubator}/dialog/dialogHeader.api.json +2 -2
- package/src/incubator/dialog/index.d.ts +15 -0
- package/src/incubator/dialog/index.js +218 -0
- package/src/{components → incubator}/dialog/types.d.ts +19 -0
- package/src/{components → incubator}/dialog/types.js +3 -1
- package/src/{components → incubator}/dialog/useDialogContent.d.ts +1 -1
- package/src/incubator/expandableOverlay/ExpandableOverlay.driver.js +1 -1
- package/src/incubator/expandableOverlay/index.d.ts +3 -42
- package/src/incubator/expandableOverlay/index.js +4 -1
- package/src/{hooks/useHiddenLocation/index.d.ts → incubator/hooks/useHiddenLocation.d.ts} +1 -1
- package/src/{hooks/useHiddenLocation/index.web.d.ts → incubator/hooks/useHiddenLocation.web.d.ts} +1 -1
- package/src/incubator/index.d.ts +2 -0
- package/src/incubator/index.js +2 -0
- package/src/{components → incubator}/panView/index.d.ts +3 -3
- package/src/{components → incubator}/panView/index.js +4 -4
- package/src/{components → incubator}/panView/usePanGesture.d.ts +1 -1
- package/src/incubator/toast/index.js +1 -1
- package/src/index.d.ts +10 -3
- package/src/index.js +162 -42
- package/src/testkit/index.d.ts +1 -1
- package/src/testkit/index.js +1 -1
- package/src/testkit/new/Component.driver.d.ts +1 -4
- package/src/testkit/new/Component.driver.js +3 -3
- package/lib/components/HighlighterOverlayView/index.js +0 -49
- package/lib/components/Keyboard/KeyboardAccessoryView/CustomKeyboardView/CustomKeyboardView.android.js +0 -51
- package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.d.ts +0 -26
- package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.js +0 -91
- package/lib/components/SafeArea/__tests__/SafeAreaInsetsManager.spec.js +0 -274
- package/lib/components/SafeArea/index.d.ts +0 -10
- package/lib/components/SafeArea/index.js +0 -11
- package/panView.d.ts +0 -2
- package/panView.js +0 -1
- /package/lib/components/{HighlighterOverlayView/index.web.js → HighlighterOverlayView.web.js} +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.js +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.web.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/CustomKeyboardView/index.web.js +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.android.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.android.js +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.ios.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/TextInputKeyboardManager.ios.js +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/index.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView → KeyboardInput}/TextInputKeyboardManager/index.js +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.d.ts → KeyboardInput/utils/EventEmitterManager.d.ts} +0 -0
- /package/lib/components/Keyboard/{KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.js → KeyboardInput/utils/EventEmitterManager.js} +0 -0
- /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.android.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/KeyboardTrackingView.android.js +0 -0
- /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.js +0 -0
- /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.web.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardTrackingView → KeyboardTracking/KeyboardTrackingView}/index.web.js +0 -0
- /package/lib/components/Keyboard/{KeyboardAwareInsetsView → KeyboardTracking}/keyboardAwareInsetsView.api.json +0 -0
- /package/src/{components → incubator}/dialog/Dialog.driver.new.d.ts +0 -0
- /package/src/{components → incubator}/dialog/Dialog.driver.new.js +0 -0
- /package/src/{components → incubator}/dialog/DialogHeader.d.ts +0 -0
- /package/src/{components → incubator}/dialog/DialogHeader.js +0 -0
- /package/src/{components → incubator}/dialog/useDialogContent.js +0 -0
- /package/src/{hooks/useHiddenLocation/index.js → incubator/hooks/useHiddenLocation.js} +0 -0
- /package/src/{hooks/useHiddenLocation/index.web.js → incubator/hooks/useHiddenLocation.web.js} +0 -0
- /package/src/{components → incubator}/panView/panningUtil.d.ts +0 -0
- /package/src/{components → incubator}/panView/panningUtil.js +0 -0
- /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?: "
|
|
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?:
|
|
135
|
-
borderBottomLeftRadius?:
|
|
136
|
-
borderBottomRightRadius?:
|
|
137
|
-
borderBottomStartRadius?:
|
|
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?:
|
|
142
|
-
borderEndStartRadius?:
|
|
141
|
+
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
142
|
+
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
143
143
|
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
144
|
-
borderRadius?:
|
|
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?:
|
|
148
|
-
borderStartStartRadius?:
|
|
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?:
|
|
152
|
-
borderTopLeftRadius?:
|
|
153
|
-
borderTopRightRadius?:
|
|
154
|
-
borderTopStartRadius?:
|
|
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
|
-
|
|
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
|
-
|
|
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?:
|
|
187
|
-
gap?:
|
|
188
|
-
columnGap?:
|
|
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" |
|
|
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 |
|
|
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
|
|
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
|
|
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?: "
|
|
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?:
|
|
487
|
-
borderBottomLeftRadius?:
|
|
488
|
-
borderBottomRightRadius?:
|
|
489
|
-
borderBottomStartRadius?:
|
|
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?:
|
|
494
|
-
borderEndStartRadius?:
|
|
463
|
+
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
464
|
+
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
495
465
|
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
496
|
-
borderRadius?:
|
|
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?:
|
|
500
|
-
borderStartStartRadius?:
|
|
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?:
|
|
504
|
-
borderTopLeftRadius?:
|
|
505
|
-
borderTopRightRadius?:
|
|
506
|
-
borderTopStartRadius?:
|
|
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
|
-
|
|
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
|
-
|
|
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?:
|
|
539
|
-
gap?:
|
|
540
|
-
columnGap?:
|
|
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" |
|
|
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 |
|
|
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
|
|
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
|
|
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?:
|
|
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?: "
|
|
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?:
|
|
66
|
-
borderBottomLeftRadius?:
|
|
67
|
-
borderBottomRightRadius?:
|
|
68
|
-
borderBottomStartRadius?:
|
|
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?:
|
|
73
|
-
borderEndStartRadius?:
|
|
72
|
+
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
73
|
+
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
74
74
|
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
75
|
-
borderRadius?:
|
|
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?:
|
|
79
|
-
borderStartStartRadius?:
|
|
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?:
|
|
83
|
-
borderTopLeftRadius?:
|
|
84
|
-
borderTopRightRadius?:
|
|
85
|
-
borderTopStartRadius?:
|
|
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
|
-
|
|
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
|
-
|
|
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?:
|
|
118
|
-
gap?:
|
|
119
|
-
columnGap?:
|
|
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" |
|
|
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 |
|
|
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
|
|
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
|
|
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 '
|
|
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 "
|
|
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";
|