react-native-ui-lib 7.43.0 → 7.44.0-snapshot.7204
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 +12 -0
- package/index.js +1 -0
- package/lib/android/build.gradle +5 -5
- package/lib/android/src/main/java/com/wix/reactnativeuilib/UiLibPackageList.java +0 -2
- package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/HighlighterViewManager.java +31 -23
- package/lib/android/src/main/java/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils.java +1 -1
- package/lib/components/HighlighterOverlayView/HighlighterViewNativeComponent.d.ts +61 -0
- package/lib/components/HighlighterOverlayView/HighlighterViewNativeComponent.js +2 -0
- package/lib/components/{HighlighterOverlayView.web.d.ts → HighlighterOverlayView/index.d.ts} +1 -1
- package/lib/components/HighlighterOverlayView/index.js +49 -0
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/CustomKeyboardView.android.d.ts +5 -2
- package/lib/components/Keyboard/KeyboardAccessoryView/CustomKeyboardView/CustomKeyboardView.android.js +51 -0
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/CustomKeyboardView.ios.d.ts +1 -1
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/CustomKeyboardView.ios.js +3 -3
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/CustomKeyboardView}/CustomKeyboardViewBase.d.ts +3 -0
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/CustomKeyboardView}/CustomKeyboardViewBase.js +1 -1
- package/lib/components/Keyboard/{KeyboardInput/utils → KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager}/__tests__/EventEmitterManager.spec.js +1 -1
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/KeyboardRegistry}/__tests__/KeyboardRegistry.spec.js +1 -1
- package/lib/components/Keyboard/{KeyboardInput/KeyboardRegistry.d.ts → KeyboardAccessoryView/KeyboardRegistry/index.d.ts} +1 -1
- package/lib/components/Keyboard/{KeyboardInput/KeyboardRegistry.js → KeyboardAccessoryView/KeyboardRegistry/index.js} +1 -1
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/KeyboardRegistry}/keyboardRegistry.api.json +9 -9
- package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.d.ts +26 -0
- package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.js +91 -0
- package/lib/components/Keyboard/{KeyboardInput/KeyboardAccessoryView.d.ts → KeyboardAccessoryView/index.d.ts} +11 -1
- package/lib/components/Keyboard/{KeyboardInput/KeyboardAccessoryView.js → KeyboardAccessoryView/index.js} +31 -5
- package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/keyboardAccessoryView.api.json +5 -5
- package/lib/components/Keyboard/{KeyboardTracking/KeyboardAwareInsetsView.d.ts → KeyboardAwareInsetsView/index.d.ts} +1 -1
- package/lib/components/Keyboard/{KeyboardTracking/KeyboardAwareInsetsView.js → KeyboardAwareInsetsView/index.js} +1 -1
- package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.ios.d.ts +1 -4
- package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.ios.js +5 -8
- package/lib/components/Keyboard/KeyboardTrackingView/KeyboardTrackingViewNativeComponent.d.ts +58 -0
- package/lib/components/Keyboard/KeyboardTrackingView/KeyboardTrackingViewNativeComponent.js +2 -0
- package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.d.ts +2 -2
- package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/keyboardTrackingView.api.json +11 -20
- package/lib/components/Keyboard/index.d.ts +6 -6
- package/lib/components/Keyboard/index.js +6 -6
- package/lib/components/SafeArea/SafeAreaInsetsManager.d.ts +8 -3
- package/lib/components/SafeArea/SafeAreaInsetsManager.js +89 -23
- package/lib/components/SafeArea/SafeAreaSpacerView.js +60 -9
- package/lib/package.json +1 -1
- package/lib/react-native.config.js +1 -3
- package/metro.config.js +2 -2
- package/package.json +24 -24
- package/react-native.config.js +1 -3
- package/src/commons/Constants.d.ts +1 -0
- package/src/commons/Constants.js +15 -6
- package/src/components/KeyboardAwareScrollView/KeyboardAwareBase.js +5 -1
- package/src/components/badge/index.d.ts +107 -47
- package/src/components/button/button.api.json +1 -1
- package/src/components/button/index.d.ts +53 -23
- package/src/components/button/types.d.ts +0 -1
- package/src/components/chip/index.js +37 -14
- package/src/components/drawer/Swipeable.js +1 -2
- package/src/components/drawer/index.js +31 -25
- package/src/components/expandableSection/index.js +3 -2
- package/src/components/fadedScrollView/index.js +7 -2
- package/src/components/picker/helpers/useFieldType.d.ts +53 -23
- package/src/components/slider/GradientSlider.d.ts +1 -1
- package/src/components/sortableGridList/SortableItem.js +13 -4
- package/src/components/sortableList/SortableListItem.js +13 -4
- package/src/components/stackAggregator/index.js +16 -11
- package/src/components/textField/Input.js +0 -1
- package/src/components/textField/presets/outline.d.ts +106 -46
- package/src/components/textField/presets/underline.d.ts +106 -46
- package/src/components/textField/usePreset.d.ts +72 -44
- package/src/incubator/dialog/index.js +1 -1
- package/src/incubator/dialog/useDialogContent.d.ts +1 -1
- package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReactHacks.java +0 -30
- package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReflectionUtils.java +0 -34
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/DefaultKeyListener.java +0 -33
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/KeyListenerProxy.java +0 -53
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerModule.java +0 -54
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerPackage.java +0 -28
- package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/ViewUtils.java +0 -36
- package/lib/components/HighlighterOverlayView.js +0 -40
- package/lib/components/Keyboard/KeyboardInput/CustomKeyboardView/CustomKeyboardView.android.js +0 -28
- package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.d.ts +0 -11
- package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.js +0 -17
- /package/lib/components/{HighlighterOverlayView.d.ts → HighlighterOverlayView/index.web.d.ts} +0 -0
- /package/lib/components/{HighlighterOverlayView.web.js → HighlighterOverlayView/index.web.js} +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.js +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.web.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.web.js +0 -0
- /package/lib/components/Keyboard/{KeyboardInput/utils/EventEmitterManager.d.ts → KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.d.ts} +0 -0
- /package/lib/components/Keyboard/{KeyboardInput/utils/EventEmitterManager.js → KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.js} +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.android.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.android.js +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.ios.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.ios.js +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/index.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/index.js +0 -0
- /package/lib/components/Keyboard/{KeyboardTracking → KeyboardAwareInsetsView}/keyboardAwareInsetsView.api.json +0 -0
- /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.android.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.android.js +0 -0
- /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.js +0 -0
- /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.web.d.ts +0 -0
- /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.web.js +0 -0
package/metro.config.js
CHANGED
|
@@ -5,9 +5,9 @@ const {assetExts, sourceExts} = defaultConfig.resolver;
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Metro configuration
|
|
8
|
-
* https://
|
|
8
|
+
* https://reactnative.dev/docs/metro
|
|
9
9
|
*
|
|
10
|
-
* @type {import('metro-config').MetroConfig}
|
|
10
|
+
* @type {import('@react-native/metro-config').MetroConfig}
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
const config = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-ui-lib",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.44.0-snapshot.7204",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"types": "src/index.d.ts",
|
|
6
6
|
"author": "Ethan Sharabi <ethan.shar@gmail.com>",
|
|
@@ -56,45 +56,46 @@
|
|
|
56
56
|
"react-native-redash": "^12.0.3",
|
|
57
57
|
"semver": "^5.5.0",
|
|
58
58
|
"tinycolor2": "^1.4.2",
|
|
59
|
-
"uilib-native": "
|
|
59
|
+
"uilib-native": "5.0.0-snapshot.7192",
|
|
60
60
|
"url-parse": "^1.2.0",
|
|
61
61
|
"wix-react-native-text-size": "1.0.9"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/cli": "^7.16.8",
|
|
65
|
-
"@babel/core": "^7.
|
|
65
|
+
"@babel/core": "^7.25.2",
|
|
66
66
|
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
|
|
67
|
-
"@babel/preset-env": "^7.
|
|
67
|
+
"@babel/preset-env": "^7.25.3",
|
|
68
68
|
"@babel/preset-react": "^7.10.1",
|
|
69
|
-
"@babel/runtime": "^7.
|
|
69
|
+
"@babel/runtime": "^7.26.10",
|
|
70
70
|
"@formatjs/intl-datetimeformat": "^6.0.3",
|
|
71
71
|
"@formatjs/intl-getcanonicallocales": "^2.0.2",
|
|
72
72
|
"@formatjs/intl-locale": "^3.0.3",
|
|
73
73
|
"@formatjs/intl-numberformat": "^8.0.4",
|
|
74
74
|
"@formatjs/intl-pluralrules": "^5.0.3",
|
|
75
75
|
"@react-native-community/blur": "4.4.1",
|
|
76
|
+
"@react-native-community/cli": "15.0.1",
|
|
77
|
+
"@react-native-community/cli-platform-android": "15.0.1",
|
|
78
|
+
"@react-native-community/cli-platform-ios": "15.0.1",
|
|
76
79
|
"@react-native-community/datetimepicker": "^3.4.6",
|
|
77
|
-
"@react-native-community/netinfo": "
|
|
78
|
-
"@react-native/babel-preset": "0.
|
|
79
|
-
"@react-native/eslint-config": "0.
|
|
80
|
-
"@react-native/metro-config": "0.
|
|
81
|
-
"@react-native/typescript-config": "0.
|
|
80
|
+
"@react-native-community/netinfo": "11.3.3",
|
|
81
|
+
"@react-native/babel-preset": "0.77.2",
|
|
82
|
+
"@react-native/eslint-config": "0.77.2",
|
|
83
|
+
"@react-native/metro-config": "0.77.2",
|
|
84
|
+
"@react-native/typescript-config": "0.77.2",
|
|
82
85
|
"@shopify/flash-list": "1.7.6",
|
|
83
86
|
"@testing-library/react-hooks": "^8.0.1",
|
|
84
87
|
"@testing-library/react-native": "^11.5.1",
|
|
85
88
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
86
|
-
"@types/jest": "^29.
|
|
89
|
+
"@types/jest": "^29.5.13",
|
|
87
90
|
"@types/lodash": "^4.0.0",
|
|
88
91
|
"@types/prop-types": "^15.5.3",
|
|
89
92
|
"@types/react": "18.3.7",
|
|
90
|
-
"@types/react-native": "0.73.0",
|
|
91
93
|
"@types/react-test-renderer": "^18.3.0",
|
|
92
94
|
"@types/tinycolor2": "^1.4.2",
|
|
93
95
|
"@types/url-parse": "^1.4.3",
|
|
94
96
|
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
|
95
97
|
"@typescript-eslint/parser": "^5.3.1",
|
|
96
98
|
"@welldone-software/why-did-you-render": "^3.2.1",
|
|
97
|
-
"babel-jest": "^29.6.3",
|
|
98
99
|
"babel-plugin-lodash": "^3.3.4",
|
|
99
100
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
100
101
|
"eslint": "8.19.0",
|
|
@@ -104,7 +105,6 @@
|
|
|
104
105
|
"eslint-plugin-react-native": "^4.0.0",
|
|
105
106
|
"jest": "^29.6.3",
|
|
106
107
|
"light-date": "^1.2.0",
|
|
107
|
-
"metro-react-native-babel-preset": "0.73.10",
|
|
108
108
|
"moment": "^2.24.0",
|
|
109
109
|
"object-hash": "^3.0.0",
|
|
110
110
|
"postcss": "^8.4.21",
|
|
@@ -114,27 +114,28 @@
|
|
|
114
114
|
"react": "18.2.0",
|
|
115
115
|
"react-autobind": "^1.0.6",
|
|
116
116
|
"react-dom": "^18.2.0",
|
|
117
|
-
"react-native": "0.
|
|
117
|
+
"react-native": "0.77.2",
|
|
118
118
|
"react-native-fs": "^2.20.0",
|
|
119
|
-
"react-native-gesture-handler": "2.
|
|
119
|
+
"react-native-gesture-handler": "2.22.1",
|
|
120
120
|
"react-native-haptic-feedback": "^1.11.0",
|
|
121
121
|
"react-native-linear-gradient": "2.6.2",
|
|
122
|
-
"react-native-mmkv": "2.
|
|
123
|
-
"react-native-navigation": "
|
|
122
|
+
"react-native-mmkv": "3.2.0",
|
|
123
|
+
"react-native-navigation": "8.1.0-rc01-snapshot.1710",
|
|
124
124
|
"react-native-reanimated": "3.16.7",
|
|
125
125
|
"react-native-shimmer-placeholder": "^2.0.6",
|
|
126
|
-
"react-native-svg": "15.2
|
|
126
|
+
"react-native-svg": "15.11.2",
|
|
127
127
|
"react-native-svg-transformer": "1.5.0",
|
|
128
|
-
"react-test-renderer": "18.
|
|
128
|
+
"react-test-renderer": "18.3.1",
|
|
129
129
|
"reassure": "^0.4.1",
|
|
130
|
+
"setimmediate": "^1.0.5",
|
|
130
131
|
"shell-utils": "^1.0.10",
|
|
131
132
|
"typescript": "5.0.4"
|
|
132
133
|
},
|
|
133
134
|
"peerDependencies": {
|
|
134
135
|
"react": ">=17.0.1",
|
|
135
|
-
"react-native": ">=0.
|
|
136
|
-
"react-native-gesture-handler": ">=2.
|
|
137
|
-
"react-native-reanimated": ">=
|
|
136
|
+
"react-native": ">=0.76.0",
|
|
137
|
+
"react-native-gesture-handler": ">=2.22.0",
|
|
138
|
+
"react-native-reanimated": ">=3.16.7",
|
|
138
139
|
"react-native-ui-lib": "*"
|
|
139
140
|
},
|
|
140
141
|
"jest": {
|
|
@@ -162,7 +163,6 @@
|
|
|
162
163
|
"engines": {
|
|
163
164
|
"node": ">=18"
|
|
164
165
|
},
|
|
165
|
-
"packageManager": "yarn@3.4.1",
|
|
166
166
|
"files": [
|
|
167
167
|
"*.js",
|
|
168
168
|
"*.d.ts",
|
package/react-native.config.js
CHANGED
|
@@ -10,11 +10,9 @@ module.exports = {
|
|
|
10
10
|
sourceDir: '../uilib-native/android/',
|
|
11
11
|
packageImportPath: `import com.wix.reactnativeuilib.dynamicfont.DynamicFontPackage;
|
|
12
12
|
import com.wix.reactnativeuilib.highlighterview.HighlighterViewPackage;
|
|
13
|
-
import com.wix.reactnativeuilib.keyboardinput.KeyboardInputPackage
|
|
14
|
-
import com.wix.reactnativeuilib.textinput.TextInputDelKeyHandlerPackage;`,
|
|
13
|
+
import com.wix.reactnativeuilib.keyboardinput.KeyboardInputPackage;`,
|
|
15
14
|
packageInstance: `new DynamicFontPackage(),
|
|
16
15
|
new HighlighterViewPackage(),
|
|
17
|
-
new TextInputDelKeyHandlerPackage(),
|
|
18
16
|
new KeyboardInputPackage(getApplication())`
|
|
19
17
|
}
|
|
20
18
|
}
|
|
@@ -43,6 +43,7 @@ declare const constants: {
|
|
|
43
43
|
addDimensionsEventListener: (callback: any) => import("react-native").EmitterSubscription;
|
|
44
44
|
removeDimensionsEventListener: (callback: any) => void;
|
|
45
45
|
readonly accessibility: {
|
|
46
|
+
isReduceMotionEnabled: boolean;
|
|
46
47
|
isScreenReaderEnabled: boolean;
|
|
47
48
|
};
|
|
48
49
|
backspaceKey: string;
|
package/src/commons/Constants.js
CHANGED
|
@@ -26,8 +26,13 @@ function setStatusBarHeight() {
|
|
|
26
26
|
} = NativeModules;
|
|
27
27
|
statusBarHeight = (StatusBar.currentHeight ?? StatusBarManager?.HEIGHT) || 0;
|
|
28
28
|
if (isIOS && StatusBarManager) {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
try {
|
|
30
|
+
// override guesstimate height with the actual height from StatusBarManager
|
|
31
|
+
StatusBarManager.getHeight(data => statusBarHeight = data.height);
|
|
32
|
+
} catch (error) {
|
|
33
|
+
console.warn('Constants: StatusBarManager.getHeight not available in new architecture, using fallback');
|
|
34
|
+
// Keep the fallback height we already set above
|
|
35
|
+
}
|
|
31
36
|
}
|
|
32
37
|
}
|
|
33
38
|
function getAspectRatio() {
|
|
@@ -44,16 +49,20 @@ export function updateConstants(dimensions) {
|
|
|
44
49
|
setStatusBarHeight();
|
|
45
50
|
}
|
|
46
51
|
const accessibility = {
|
|
52
|
+
isReduceMotionEnabled: false,
|
|
47
53
|
isScreenReaderEnabled: false
|
|
48
54
|
};
|
|
55
|
+
function handleReduceMotionChanged(isReduceMotionEnabled) {
|
|
56
|
+
accessibility.isReduceMotionEnabled = isReduceMotionEnabled;
|
|
57
|
+
}
|
|
49
58
|
function handleScreenReaderChanged(isScreenReaderEnabled) {
|
|
50
59
|
accessibility.isScreenReaderEnabled = isScreenReaderEnabled;
|
|
51
60
|
}
|
|
61
|
+
AccessibilityInfo.addEventListener('reduceMotionChanged', handleReduceMotionChanged);
|
|
52
62
|
AccessibilityInfo.addEventListener('screenReaderChanged', handleScreenReaderChanged);
|
|
53
|
-
function setAccessibility() {
|
|
54
|
-
AccessibilityInfo.
|
|
55
|
-
|
|
56
|
-
});
|
|
63
|
+
async function setAccessibility() {
|
|
64
|
+
accessibility.isReduceMotionEnabled = await AccessibilityInfo.isReduceMotionEnabled();
|
|
65
|
+
accessibility.isScreenReaderEnabled = await AccessibilityInfo.isScreenReaderEnabled();
|
|
57
66
|
}
|
|
58
67
|
setAccessibility();
|
|
59
68
|
const constants = {
|
|
@@ -107,7 +107,7 @@ export default class KeyboardAwareBase extends Component {
|
|
|
107
107
|
setTimeout(() => {
|
|
108
108
|
this._keyboardAwareView
|
|
109
109
|
.getScrollResponder()
|
|
110
|
-
.scrollResponderScrollNativeHandleToKeyboard(
|
|
110
|
+
.scrollResponderScrollNativeHandleToKeyboard(this.findNodeHandle(textInputRef),
|
|
111
111
|
this.props.scrollToInputAdditionalOffset,
|
|
112
112
|
true);
|
|
113
113
|
}, 0);
|
|
@@ -117,6 +117,10 @@ export default class KeyboardAwareBase extends Component {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
findNodeHandle(ref) {
|
|
121
|
+
return ref.current?.getNodeHandle?.() || ref?.getNodeHandle?.() || ReactNative.findNodeHandle(ref.current || ref);
|
|
122
|
+
}
|
|
123
|
+
|
|
120
124
|
_onKeyboardWillShow(event) {
|
|
121
125
|
this._scrollToFocusedTextInput();
|
|
122
126
|
|
|
@@ -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?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 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;
|
|
113
113
|
letterSpacing?: number | undefined;
|
|
114
114
|
lineHeight?: number | undefined;
|
|
115
115
|
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
|
|
@@ -131,31 +131,41 @@ 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?: 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;
|
|
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;
|
|
138
138
|
borderColor?: import("react-native").ColorValue | undefined;
|
|
139
139
|
borderCurve?: "circular" | "continuous" | undefined;
|
|
140
140
|
borderEndColor?: import("react-native").ColorValue | undefined;
|
|
141
|
-
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
142
|
-
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
141
|
+
borderEndEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
142
|
+
borderEndStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
143
143
|
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
144
|
-
borderRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
144
|
+
borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
145
145
|
borderRightColor?: import("react-native").ColorValue | undefined;
|
|
146
146
|
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
147
|
-
borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
148
|
-
borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
147
|
+
borderStartEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
148
|
+
borderStartStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
149
149
|
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
150
150
|
borderTopColor?: import("react-native").ColorValue | 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;
|
|
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;
|
|
155
159
|
opacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
156
160
|
elevation?: number | undefined;
|
|
157
161
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
158
|
-
|
|
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;
|
|
159
169
|
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
160
170
|
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
161
171
|
aspectRatio?: string | number | undefined;
|
|
@@ -167,14 +177,15 @@ declare function createStyles(props: BadgeProps): {
|
|
|
167
177
|
borderTopWidth?: number | undefined;
|
|
168
178
|
borderWidth?: number | undefined;
|
|
169
179
|
bottom?: import("react-native").DimensionValue | undefined;
|
|
170
|
-
|
|
180
|
+
boxSizing?: "border-box" | "content-box" | undefined;
|
|
181
|
+
display?: "none" | "flex" | "contents" | undefined;
|
|
171
182
|
end?: import("react-native").DimensionValue | undefined;
|
|
172
183
|
flex?: number | undefined;
|
|
173
184
|
flexBasis?: import("react-native").DimensionValue | undefined;
|
|
174
185
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
175
|
-
rowGap?: number | undefined;
|
|
176
|
-
gap?: number | undefined;
|
|
177
|
-
columnGap?: number | undefined;
|
|
186
|
+
rowGap?: string | number | undefined;
|
|
187
|
+
gap?: string | number | undefined;
|
|
188
|
+
columnGap?: string | number | undefined;
|
|
178
189
|
flexGrow?: number | undefined;
|
|
179
190
|
flexShrink?: number | undefined;
|
|
180
191
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
@@ -204,13 +215,32 @@ declare function createStyles(props: BadgeProps): {
|
|
|
204
215
|
paddingStart?: import("react-native").DimensionValue | undefined;
|
|
205
216
|
paddingTop?: import("react-native").DimensionValue | undefined;
|
|
206
217
|
paddingVertical?: import("react-native").DimensionValue | undefined;
|
|
207
|
-
position?: "absolute" | "relative" | undefined;
|
|
218
|
+
position?: "absolute" | "relative" | "static" | undefined;
|
|
208
219
|
right?: import("react-native").DimensionValue | undefined;
|
|
209
220
|
start?: import("react-native").DimensionValue | undefined;
|
|
210
221
|
top?: import("react-native").DimensionValue | undefined;
|
|
211
222
|
width?: import("react-native").DimensionValue | undefined;
|
|
212
223
|
zIndex?: number | undefined;
|
|
213
224
|
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;
|
|
214
244
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
215
245
|
shadowOffset?: Readonly<{
|
|
216
246
|
width: number;
|
|
@@ -218,7 +248,7 @@ declare function createStyles(props: BadgeProps): {
|
|
|
218
248
|
}> | undefined;
|
|
219
249
|
shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
220
250
|
shadowRadius?: number | undefined;
|
|
221
|
-
transform?: string | (({
|
|
251
|
+
transform?: string | readonly (({
|
|
222
252
|
perspective: import("react-native").AnimatableNumericValue;
|
|
223
253
|
} & {
|
|
224
254
|
rotate?: undefined;
|
|
@@ -339,7 +369,7 @@ declare function createStyles(props: BadgeProps): {
|
|
|
339
369
|
skewY?: undefined;
|
|
340
370
|
matrix?: undefined;
|
|
341
371
|
}) | ({
|
|
342
|
-
translateX: import("react-native").AnimatableNumericValue
|
|
372
|
+
translateX: import("react-native").AnimatableNumericValue | `${number}%`;
|
|
343
373
|
} & {
|
|
344
374
|
perspective?: undefined;
|
|
345
375
|
rotate?: undefined;
|
|
@@ -354,7 +384,7 @@ declare function createStyles(props: BadgeProps): {
|
|
|
354
384
|
skewY?: undefined;
|
|
355
385
|
matrix?: undefined;
|
|
356
386
|
}) | ({
|
|
357
|
-
translateY: import("react-native").AnimatableNumericValue
|
|
387
|
+
translateY: import("react-native").AnimatableNumericValue | `${number}%`;
|
|
358
388
|
} & {
|
|
359
389
|
perspective?: undefined;
|
|
360
390
|
rotate?: undefined;
|
|
@@ -431,7 +461,7 @@ declare function createStyles(props: BadgeProps): {
|
|
|
431
461
|
fontFamily?: string | undefined;
|
|
432
462
|
fontSize?: number | undefined;
|
|
433
463
|
fontStyle?: "normal" | "italic" | undefined;
|
|
434
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 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;
|
|
435
465
|
letterSpacing?: number | undefined;
|
|
436
466
|
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
|
|
437
467
|
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
@@ -453,31 +483,41 @@ declare function createStyles(props: BadgeProps): {
|
|
|
453
483
|
borderBlockEndColor?: import("react-native").ColorValue | undefined;
|
|
454
484
|
borderBlockStartColor?: import("react-native").ColorValue | undefined;
|
|
455
485
|
borderBottomColor?: import("react-native").ColorValue | 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;
|
|
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;
|
|
460
490
|
borderColor?: import("react-native").ColorValue | undefined;
|
|
461
491
|
borderCurve?: "circular" | "continuous" | undefined;
|
|
462
492
|
borderEndColor?: import("react-native").ColorValue | undefined;
|
|
463
|
-
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
464
|
-
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
493
|
+
borderEndEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
494
|
+
borderEndStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
465
495
|
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
466
|
-
borderRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
496
|
+
borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
467
497
|
borderRightColor?: import("react-native").ColorValue | undefined;
|
|
468
498
|
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
469
|
-
borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
470
|
-
borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
499
|
+
borderStartEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
500
|
+
borderStartStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
|
|
471
501
|
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
472
502
|
borderTopColor?: import("react-native").ColorValue | 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;
|
|
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;
|
|
477
511
|
opacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
478
512
|
elevation?: number | undefined;
|
|
479
513
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
480
|
-
|
|
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;
|
|
481
521
|
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
482
522
|
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
483
523
|
aspectRatio?: string | number | undefined;
|
|
@@ -489,14 +529,15 @@ declare function createStyles(props: BadgeProps): {
|
|
|
489
529
|
borderTopWidth?: number | undefined;
|
|
490
530
|
borderWidth?: number | undefined;
|
|
491
531
|
bottom?: import("react-native").DimensionValue | undefined;
|
|
492
|
-
|
|
532
|
+
boxSizing?: "border-box" | "content-box" | undefined;
|
|
533
|
+
display?: "none" | "flex" | "contents" | undefined;
|
|
493
534
|
end?: import("react-native").DimensionValue | undefined;
|
|
494
535
|
flex?: number | undefined;
|
|
495
536
|
flexBasis?: import("react-native").DimensionValue | undefined;
|
|
496
537
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
497
|
-
rowGap?: number | undefined;
|
|
498
|
-
gap?: number | undefined;
|
|
499
|
-
columnGap?: number | undefined;
|
|
538
|
+
rowGap?: string | number | undefined;
|
|
539
|
+
gap?: string | number | undefined;
|
|
540
|
+
columnGap?: string | number | undefined;
|
|
500
541
|
flexGrow?: number | undefined;
|
|
501
542
|
flexShrink?: number | undefined;
|
|
502
543
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
@@ -526,13 +567,32 @@ declare function createStyles(props: BadgeProps): {
|
|
|
526
567
|
paddingStart?: import("react-native").DimensionValue | undefined;
|
|
527
568
|
paddingTop?: import("react-native").DimensionValue | undefined;
|
|
528
569
|
paddingVertical?: import("react-native").DimensionValue | undefined;
|
|
529
|
-
position?: "absolute" | "relative" | undefined;
|
|
570
|
+
position?: "absolute" | "relative" | "static" | undefined;
|
|
530
571
|
right?: import("react-native").DimensionValue | undefined;
|
|
531
572
|
start?: import("react-native").DimensionValue | undefined;
|
|
532
573
|
top?: import("react-native").DimensionValue | undefined;
|
|
533
574
|
width?: import("react-native").DimensionValue | undefined;
|
|
534
575
|
zIndex?: number | undefined;
|
|
535
576
|
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;
|
|
536
596
|
shadowColor?: import("react-native").ColorValue | undefined;
|
|
537
597
|
shadowOffset?: Readonly<{
|
|
538
598
|
width: number;
|
|
@@ -540,7 +600,7 @@ declare function createStyles(props: BadgeProps): {
|
|
|
540
600
|
}> | undefined;
|
|
541
601
|
shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
542
602
|
shadowRadius?: number | undefined;
|
|
543
|
-
transform?: string | (({
|
|
603
|
+
transform?: string | readonly (({
|
|
544
604
|
perspective: import("react-native").AnimatableNumericValue;
|
|
545
605
|
} & {
|
|
546
606
|
rotate?: undefined;
|
|
@@ -661,7 +721,7 @@ declare function createStyles(props: BadgeProps): {
|
|
|
661
721
|
skewY?: undefined;
|
|
662
722
|
matrix?: undefined;
|
|
663
723
|
}) | ({
|
|
664
|
-
translateX: import("react-native").AnimatableNumericValue
|
|
724
|
+
translateX: import("react-native").AnimatableNumericValue | `${number}%`;
|
|
665
725
|
} & {
|
|
666
726
|
perspective?: undefined;
|
|
667
727
|
rotate?: undefined;
|
|
@@ -676,7 +736,7 @@ declare function createStyles(props: BadgeProps): {
|
|
|
676
736
|
skewY?: undefined;
|
|
677
737
|
matrix?: undefined;
|
|
678
738
|
}) | ({
|
|
679
|
-
translateY: import("react-native").AnimatableNumericValue
|
|
739
|
+
translateY: import("react-native").AnimatableNumericValue | `${number}%`;
|
|
680
740
|
} & {
|
|
681
741
|
perspective?: undefined;
|
|
682
742
|
rotate?: undefined;
|
|
@@ -770,7 +830,7 @@ declare const _default: React.ForwardRefExoticComponent<ViewProps & TouchableOpa
|
|
|
770
830
|
/**
|
|
771
831
|
* Defines how far a touch event can start away from the badge.
|
|
772
832
|
*/
|
|
773
|
-
hitSlop?: import("react-native").Insets | undefined;
|
|
833
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
774
834
|
/**
|
|
775
835
|
* width of border around the badge
|
|
776
836
|
*/
|
|
@@ -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"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"name": "animateTo",
|