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.
Files changed (98) hide show
  1. package/babel.config.js +12 -0
  2. package/index.js +1 -0
  3. package/lib/android/build.gradle +5 -5
  4. package/lib/android/src/main/java/com/wix/reactnativeuilib/UiLibPackageList.java +0 -2
  5. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/HighlighterViewManager.java +31 -23
  6. package/lib/android/src/main/java/com/wix/reactnativeuilib/keyboardinput/utils/RuntimeUtils.java +1 -1
  7. package/lib/components/HighlighterOverlayView/HighlighterViewNativeComponent.d.ts +61 -0
  8. package/lib/components/HighlighterOverlayView/HighlighterViewNativeComponent.js +2 -0
  9. package/lib/components/{HighlighterOverlayView.web.d.ts → HighlighterOverlayView/index.d.ts} +1 -1
  10. package/lib/components/HighlighterOverlayView/index.js +49 -0
  11. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/CustomKeyboardView.android.d.ts +5 -2
  12. package/lib/components/Keyboard/KeyboardAccessoryView/CustomKeyboardView/CustomKeyboardView.android.js +51 -0
  13. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/CustomKeyboardView.ios.d.ts +1 -1
  14. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/CustomKeyboardView.ios.js +3 -3
  15. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/CustomKeyboardView}/CustomKeyboardViewBase.d.ts +3 -0
  16. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/CustomKeyboardView}/CustomKeyboardViewBase.js +1 -1
  17. package/lib/components/Keyboard/{KeyboardInput/utils → KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager}/__tests__/EventEmitterManager.spec.js +1 -1
  18. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/KeyboardRegistry}/__tests__/KeyboardRegistry.spec.js +1 -1
  19. package/lib/components/Keyboard/{KeyboardInput/KeyboardRegistry.d.ts → KeyboardAccessoryView/KeyboardRegistry/index.d.ts} +1 -1
  20. package/lib/components/Keyboard/{KeyboardInput/KeyboardRegistry.js → KeyboardAccessoryView/KeyboardRegistry/index.js} +1 -1
  21. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView/KeyboardRegistry}/keyboardRegistry.api.json +9 -9
  22. package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.d.ts +26 -0
  23. package/lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.js +91 -0
  24. package/lib/components/Keyboard/{KeyboardInput/KeyboardAccessoryView.d.ts → KeyboardAccessoryView/index.d.ts} +11 -1
  25. package/lib/components/Keyboard/{KeyboardInput/KeyboardAccessoryView.js → KeyboardAccessoryView/index.js} +31 -5
  26. package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/keyboardAccessoryView.api.json +5 -5
  27. package/lib/components/Keyboard/{KeyboardTracking/KeyboardAwareInsetsView.d.ts → KeyboardAwareInsetsView/index.d.ts} +1 -1
  28. package/lib/components/Keyboard/{KeyboardTracking/KeyboardAwareInsetsView.js → KeyboardAwareInsetsView/index.js} +1 -1
  29. package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.ios.d.ts +1 -4
  30. package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.ios.js +5 -8
  31. package/lib/components/Keyboard/KeyboardTrackingView/KeyboardTrackingViewNativeComponent.d.ts +58 -0
  32. package/lib/components/Keyboard/KeyboardTrackingView/KeyboardTrackingViewNativeComponent.js +2 -0
  33. package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.d.ts +2 -2
  34. package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/keyboardTrackingView.api.json +11 -20
  35. package/lib/components/Keyboard/index.d.ts +6 -6
  36. package/lib/components/Keyboard/index.js +6 -6
  37. package/lib/components/SafeArea/SafeAreaInsetsManager.d.ts +8 -3
  38. package/lib/components/SafeArea/SafeAreaInsetsManager.js +89 -23
  39. package/lib/components/SafeArea/SafeAreaSpacerView.js +60 -9
  40. package/lib/package.json +1 -1
  41. package/lib/react-native.config.js +1 -3
  42. package/metro.config.js +2 -2
  43. package/package.json +24 -24
  44. package/react-native.config.js +1 -3
  45. package/src/commons/Constants.d.ts +1 -0
  46. package/src/commons/Constants.js +15 -6
  47. package/src/components/KeyboardAwareScrollView/KeyboardAwareBase.js +5 -1
  48. package/src/components/badge/index.d.ts +107 -47
  49. package/src/components/button/button.api.json +1 -1
  50. package/src/components/button/index.d.ts +53 -23
  51. package/src/components/button/types.d.ts +0 -1
  52. package/src/components/chip/index.js +37 -14
  53. package/src/components/drawer/Swipeable.js +1 -2
  54. package/src/components/drawer/index.js +31 -25
  55. package/src/components/expandableSection/index.js +3 -2
  56. package/src/components/fadedScrollView/index.js +7 -2
  57. package/src/components/picker/helpers/useFieldType.d.ts +53 -23
  58. package/src/components/slider/GradientSlider.d.ts +1 -1
  59. package/src/components/sortableGridList/SortableItem.js +13 -4
  60. package/src/components/sortableList/SortableListItem.js +13 -4
  61. package/src/components/stackAggregator/index.js +16 -11
  62. package/src/components/textField/Input.js +0 -1
  63. package/src/components/textField/presets/outline.d.ts +106 -46
  64. package/src/components/textField/presets/underline.d.ts +106 -46
  65. package/src/components/textField/usePreset.d.ts +72 -44
  66. package/src/incubator/dialog/index.js +1 -1
  67. package/src/incubator/dialog/useDialogContent.d.ts +1 -1
  68. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReactHacks.java +0 -30
  69. package/lib/android/src/main/java/com/wix/reactnativeuilib/highlighterview/ReflectionUtils.java +0 -34
  70. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/DefaultKeyListener.java +0 -33
  71. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/KeyListenerProxy.java +0 -53
  72. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerModule.java +0 -54
  73. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/TextInputDelKeyHandlerPackage.java +0 -28
  74. package/lib/android/src/main/java/com/wix/reactnativeuilib/textinput/ViewUtils.java +0 -36
  75. package/lib/components/HighlighterOverlayView.js +0 -40
  76. package/lib/components/Keyboard/KeyboardInput/CustomKeyboardView/CustomKeyboardView.android.js +0 -28
  77. package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.d.ts +0 -11
  78. package/lib/components/Keyboard/KeyboardInput/utils/KeyboardUtils.js +0 -17
  79. /package/lib/components/{HighlighterOverlayView.d.ts → HighlighterOverlayView/index.web.d.ts} +0 -0
  80. /package/lib/components/{HighlighterOverlayView.web.js → HighlighterOverlayView/index.web.js} +0 -0
  81. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.d.ts +0 -0
  82. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.js +0 -0
  83. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.web.d.ts +0 -0
  84. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/CustomKeyboardView/index.web.js +0 -0
  85. /package/lib/components/Keyboard/{KeyboardInput/utils/EventEmitterManager.d.ts → KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.d.ts} +0 -0
  86. /package/lib/components/Keyboard/{KeyboardInput/utils/EventEmitterManager.js → KeyboardAccessoryView/KeyboardRegistry/EventEmitterManager/index.js} +0 -0
  87. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.android.d.ts +0 -0
  88. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.android.js +0 -0
  89. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.ios.d.ts +0 -0
  90. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/TextInputKeyboardManager.ios.js +0 -0
  91. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/index.d.ts +0 -0
  92. /package/lib/components/Keyboard/{KeyboardInput → KeyboardAccessoryView}/TextInputKeyboardManager/index.js +0 -0
  93. /package/lib/components/Keyboard/{KeyboardTracking → KeyboardAwareInsetsView}/keyboardAwareInsetsView.api.json +0 -0
  94. /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.android.d.ts +0 -0
  95. /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/KeyboardTrackingView.android.js +0 -0
  96. /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.js +0 -0
  97. /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.web.d.ts +0 -0
  98. /package/lib/components/Keyboard/{KeyboardTracking/KeyboardTrackingView → KeyboardTrackingView}/index.web.js +0 -0
@@ -25,6 +25,7 @@ const StackAggregator = props => {
25
25
  collapsed = true,
26
26
  disablePresses = false,
27
27
  onItemPress,
28
+ backgroundColor,
28
29
  contentContainerStyle,
29
30
  itemBorderRadius = 0,
30
31
  onCollapseWillChange,
@@ -36,11 +37,11 @@ const StackAggregator = props => {
36
37
  useEffect(() => {
37
38
  setIsCollapsed(collapsed);
38
39
  }, [collapsed]);
39
- useDidUpdate(() => {
40
+ useDidUpdate(async () => {
40
41
  onCollapseWillChange?.(isCollapsed);
41
- animate();
42
+ await animate();
42
43
  onCollapseChanged?.(isCollapsed);
43
- }, [isCollapsed, onCollapseWillChange, onCollapseChanged]);
44
+ }, [isCollapsed, itemsCount]);
44
45
 
45
46
  /** Animations */
46
47
 
@@ -52,10 +53,10 @@ const StackAggregator = props => {
52
53
  const easeOut = Easing.bezier(0, 0, 0.58, 1);
53
54
  const getItemScale = useCallback(index => {
54
55
  if (isCollapsed) {
55
- if (index === itemsCount - 2) {
56
+ if (index === 1) {
56
57
  return 0.95;
57
58
  }
58
- if (index === itemsCount - 1) {
59
+ if (index === 2) {
59
60
  return 0.9;
60
61
  }
61
62
  }
@@ -123,10 +124,10 @@ const StackAggregator = props => {
123
124
 
124
125
  const getTop = index => {
125
126
  let start = 0;
126
- if (index === itemsCount - 2) {
127
+ if (index === 1) {
127
128
  start += PEEP;
128
129
  }
129
- if (index === itemsCount - 1) {
130
+ if (index === 2) {
130
131
  start += PEEP * 2;
131
132
  }
132
133
  return start;
@@ -149,6 +150,11 @@ const StackAggregator = props => {
149
150
  zIndex: itemsCount
150
151
  }];
151
152
  }, [firstItemHeight, itemsCount]);
153
+ const cardStyle = useMemo(() => {
154
+ return backgroundColor ? [styles.card, {
155
+ backgroundColor
156
+ }] : styles.card;
157
+ }, [backgroundColor]);
152
158
 
153
159
  /** Events */
154
160
 
@@ -167,7 +173,7 @@ const StackAggregator = props => {
167
173
  /** Renders */
168
174
 
169
175
  const renderItem = (item, index) => {
170
- return <Animated.View onLayout={index === 0 ? onLayout : undefined} style={[Constants.isIOS && styles.containerShadow, contentContainerStyle,
176
+ return <Animated.View onLayout={index === 0 ? onLayout : undefined} style={[Constants.isIOS && (index === 0 || index === 1 || index === 2 || !isCollapsed) && styles.containerShadow, contentContainerStyle,
171
177
  //@ts-expect-error 'position' doesn't match AnimatedInterpolation type
172
178
  getItemStyle(index), {
173
179
  borderRadius: Constants.isIOS ? itemBorderRadius : undefined,
@@ -179,7 +185,7 @@ const StackAggregator = props => {
179
185
  width: Constants.windowWidth - 40,
180
186
  height: isCollapsed ? firstItemHeight : undefined
181
187
  }]} collapsable={false}>
182
- <Card style={styles.card} onPress={() => _onItemPress(index)} borderRadius={itemBorderRadius} elevation={5}>
188
+ <Card style={cardStyle} onPress={() => _onItemPress(index)} borderRadius={itemBorderRadius} elevation={5}>
183
189
  <Animated.View style={index !== 0 ? {
184
190
  opacity: animatedContentOpacity
185
191
  } : undefined} collapsable={false}>
@@ -231,8 +237,7 @@ const styles = StyleSheet.create({
231
237
  },
232
238
  card: {
233
239
  overflow: 'hidden',
234
- flexShrink: 1,
235
- backgroundColor: 'transparent'
240
+ flexShrink: 1
236
241
  },
237
242
  button: {
238
243
  zIndex: 100
@@ -81,7 +81,6 @@ const styles = StyleSheet.create({
81
81
  })
82
82
  },
83
83
  webStyle: {
84
- // @ts-expect-error
85
84
  outlineWidth: 0
86
85
  }
87
86
  });
@@ -36,7 +36,7 @@ declare const _default: {
36
36
  fontFamily?: string | undefined;
37
37
  fontSize?: number | undefined;
38
38
  fontStyle?: "normal" | "italic" | undefined;
39
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
39
+ 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;
40
40
  letterSpacing?: number | undefined;
41
41
  textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
42
42
  textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
@@ -58,31 +58,41 @@ declare const _default: {
58
58
  borderBlockEndColor?: import("react-native").ColorValue | undefined;
59
59
  borderBlockStartColor?: import("react-native").ColorValue | undefined;
60
60
  borderBottomColor?: import("react-native").ColorValue | undefined;
61
- borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
62
- borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
63
- borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
64
- borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
61
+ borderBottomEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
62
+ borderBottomLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
63
+ borderBottomRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
64
+ borderBottomStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
65
65
  borderColor?: import("react-native").ColorValue | undefined;
66
66
  borderCurve?: "circular" | "continuous" | undefined;
67
67
  borderEndColor?: import("react-native").ColorValue | undefined;
68
- borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
69
- borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
68
+ borderEndEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
69
+ borderEndStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
70
70
  borderLeftColor?: import("react-native").ColorValue | undefined;
71
- borderRadius?: import("react-native").AnimatableNumericValue | undefined;
71
+ borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
72
72
  borderRightColor?: import("react-native").ColorValue | undefined;
73
73
  borderStartColor?: import("react-native").ColorValue | undefined;
74
- borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
75
- borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
74
+ borderStartEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
75
+ borderStartStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
76
76
  borderStyle?: "solid" | "dotted" | "dashed" | undefined;
77
77
  borderTopColor?: import("react-native").ColorValue | undefined;
78
- borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
79
- borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
80
- borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
81
- borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
78
+ borderTopEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
79
+ borderTopLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
80
+ borderTopRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
81
+ borderTopStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
82
+ outlineColor?: import("react-native").ColorValue | undefined;
83
+ outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
84
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
85
+ outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
82
86
  opacity?: import("react-native").AnimatableNumericValue | undefined;
83
87
  elevation?: number | undefined;
84
88
  pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
85
- alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
89
+ isolation?: "auto" | "isolate" | undefined;
90
+ cursor?: import("react-native").CursorValue | undefined;
91
+ boxShadow?: string | readonly import("react-native").BoxShadowValue[] | undefined;
92
+ filter?: string | readonly import("react-native").FilterFunction[] | undefined;
93
+ mixBlendMode?: import("react-native").BlendMode | undefined;
94
+ experimental_backgroundImage?: string | readonly import("react-native").GradientValue[] | undefined;
95
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
86
96
  alignItems?: import("react-native").FlexAlignType | undefined;
87
97
  alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
88
98
  aspectRatio?: string | number | undefined;
@@ -94,14 +104,15 @@ declare const _default: {
94
104
  borderTopWidth?: number | undefined;
95
105
  borderWidth?: number | undefined;
96
106
  bottom?: import("react-native").DimensionValue | undefined;
97
- display?: "none" | "flex" | undefined;
107
+ boxSizing?: "border-box" | "content-box" | undefined;
108
+ display?: "none" | "flex" | "contents" | undefined;
98
109
  end?: import("react-native").DimensionValue | undefined;
99
110
  flex?: number | undefined;
100
111
  flexBasis?: import("react-native").DimensionValue | undefined;
101
112
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
102
- rowGap?: number | undefined;
103
- gap?: number | undefined;
104
- columnGap?: number | undefined;
113
+ rowGap?: string | number | undefined;
114
+ gap?: string | number | undefined;
115
+ columnGap?: string | number | undefined;
105
116
  flexGrow?: number | undefined;
106
117
  flexShrink?: number | undefined;
107
118
  flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
@@ -130,13 +141,32 @@ declare const _default: {
130
141
  paddingStart?: import("react-native").DimensionValue | undefined;
131
142
  paddingTop?: import("react-native").DimensionValue | undefined;
132
143
  paddingVertical?: import("react-native").DimensionValue | undefined;
133
- position?: "absolute" | "relative" | undefined;
144
+ position?: "absolute" | "relative" | "static" | undefined;
134
145
  right?: import("react-native").DimensionValue | undefined;
135
146
  start?: import("react-native").DimensionValue | undefined;
136
147
  top?: import("react-native").DimensionValue | undefined;
137
148
  width?: import("react-native").DimensionValue | undefined;
138
149
  zIndex?: number | undefined;
139
150
  direction?: "ltr" | "rtl" | "inherit" | undefined;
151
+ inset?: import("react-native").DimensionValue | undefined;
152
+ insetBlock?: import("react-native").DimensionValue | undefined;
153
+ insetBlockEnd?: import("react-native").DimensionValue | undefined;
154
+ insetBlockStart?: import("react-native").DimensionValue | undefined;
155
+ insetInline?: import("react-native").DimensionValue | undefined;
156
+ insetInlineEnd?: import("react-native").DimensionValue | undefined;
157
+ insetInlineStart?: import("react-native").DimensionValue | undefined;
158
+ marginBlock?: import("react-native").DimensionValue | undefined;
159
+ marginBlockEnd?: import("react-native").DimensionValue | undefined;
160
+ marginBlockStart?: import("react-native").DimensionValue | undefined;
161
+ marginInline?: import("react-native").DimensionValue | undefined;
162
+ marginInlineEnd?: import("react-native").DimensionValue | undefined;
163
+ marginInlineStart?: import("react-native").DimensionValue | undefined;
164
+ paddingBlock?: import("react-native").DimensionValue | undefined;
165
+ paddingBlockEnd?: import("react-native").DimensionValue | undefined;
166
+ paddingBlockStart?: import("react-native").DimensionValue | undefined;
167
+ paddingInline?: import("react-native").DimensionValue | undefined;
168
+ paddingInlineEnd?: import("react-native").DimensionValue | undefined;
169
+ paddingInlineStart?: import("react-native").DimensionValue | undefined;
140
170
  shadowColor?: import("react-native").ColorValue | undefined;
141
171
  shadowOffset?: Readonly<{
142
172
  width: number;
@@ -144,7 +174,7 @@ declare const _default: {
144
174
  }> | undefined;
145
175
  shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
146
176
  shadowRadius?: number | undefined;
147
- transform?: string | (({
177
+ transform?: string | readonly (({
148
178
  perspective: import("react-native").AnimatableNumericValue;
149
179
  } & {
150
180
  rotate?: undefined;
@@ -265,7 +295,7 @@ declare const _default: {
265
295
  skewY?: undefined;
266
296
  matrix?: undefined;
267
297
  }) | ({
268
- translateX: import("react-native").AnimatableNumericValue;
298
+ translateX: import("react-native").AnimatableNumericValue | `${number}%`;
269
299
  } & {
270
300
  perspective?: undefined;
271
301
  rotate?: undefined;
@@ -280,7 +310,7 @@ declare const _default: {
280
310
  skewY?: undefined;
281
311
  matrix?: undefined;
282
312
  }) | ({
283
- translateY: import("react-native").AnimatableNumericValue;
313
+ translateY: import("react-native").AnimatableNumericValue | `${number}%`;
284
314
  } & {
285
315
  perspective?: undefined;
286
316
  rotate?: undefined;
@@ -356,7 +386,7 @@ declare const _default: {
356
386
  fontFamily?: string | undefined;
357
387
  fontSize?: number | undefined;
358
388
  fontStyle?: "normal" | "italic" | undefined;
359
- fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
389
+ 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;
360
390
  letterSpacing?: number | undefined;
361
391
  lineHeight?: number | undefined;
362
392
  textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
@@ -379,31 +409,41 @@ declare const _default: {
379
409
  borderBlockEndColor?: import("react-native").ColorValue | undefined;
380
410
  borderBlockStartColor?: import("react-native").ColorValue | undefined;
381
411
  borderBottomColor?: import("react-native").ColorValue | undefined;
382
- borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
383
- borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
384
- borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
385
- borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
412
+ borderBottomEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
413
+ borderBottomLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
414
+ borderBottomRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
415
+ borderBottomStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
386
416
  borderColor?: import("react-native").ColorValue | undefined;
387
417
  borderCurve?: "circular" | "continuous" | undefined;
388
418
  borderEndColor?: import("react-native").ColorValue | undefined;
389
- borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
390
- borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
419
+ borderEndEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
420
+ borderEndStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
391
421
  borderLeftColor?: import("react-native").ColorValue | undefined;
392
- borderRadius?: import("react-native").AnimatableNumericValue | undefined;
422
+ borderRadius?: string | import("react-native").AnimatableNumericValue | undefined;
393
423
  borderRightColor?: import("react-native").ColorValue | undefined;
394
424
  borderStartColor?: import("react-native").ColorValue | undefined;
395
- borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
396
- borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
425
+ borderStartEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
426
+ borderStartStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
397
427
  borderStyle?: "solid" | "dotted" | "dashed" | undefined;
398
428
  borderTopColor?: import("react-native").ColorValue | undefined;
399
- borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
400
- borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
401
- borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
402
- borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
429
+ borderTopEndRadius?: string | import("react-native").AnimatableNumericValue | undefined;
430
+ borderTopLeftRadius?: string | import("react-native").AnimatableNumericValue | undefined;
431
+ borderTopRightRadius?: string | import("react-native").AnimatableNumericValue | undefined;
432
+ borderTopStartRadius?: string | import("react-native").AnimatableNumericValue | undefined;
433
+ outlineColor?: import("react-native").ColorValue | undefined;
434
+ outlineOffset?: import("react-native").AnimatableNumericValue | undefined;
435
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
436
+ outlineWidth?: import("react-native").AnimatableNumericValue | undefined;
403
437
  opacity?: import("react-native").AnimatableNumericValue | undefined;
404
438
  elevation?: number | undefined;
405
439
  pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
406
- alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
440
+ isolation?: "auto" | "isolate" | undefined;
441
+ cursor?: import("react-native").CursorValue | undefined;
442
+ boxShadow?: string | readonly import("react-native").BoxShadowValue[] | undefined;
443
+ filter?: string | readonly import("react-native").FilterFunction[] | undefined;
444
+ mixBlendMode?: import("react-native").BlendMode | undefined;
445
+ experimental_backgroundImage?: string | readonly import("react-native").GradientValue[] | undefined;
446
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
407
447
  alignItems?: import("react-native").FlexAlignType | undefined;
408
448
  alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
409
449
  aspectRatio?: string | number | undefined;
@@ -415,14 +455,15 @@ declare const _default: {
415
455
  borderTopWidth?: number | undefined;
416
456
  borderWidth?: number | undefined;
417
457
  bottom?: import("react-native").DimensionValue | undefined;
418
- display?: "none" | "flex" | undefined;
458
+ boxSizing?: "border-box" | "content-box" | undefined;
459
+ display?: "none" | "flex" | "contents" | undefined;
419
460
  end?: import("react-native").DimensionValue | undefined;
420
461
  flex?: number | undefined;
421
462
  flexBasis?: import("react-native").DimensionValue | undefined;
422
463
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
423
- rowGap?: number | undefined;
424
- gap?: number | undefined;
425
- columnGap?: number | undefined;
464
+ rowGap?: string | number | undefined;
465
+ gap?: string | number | undefined;
466
+ columnGap?: string | number | undefined;
426
467
  flexGrow?: number | undefined;
427
468
  flexShrink?: number | undefined;
428
469
  flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
@@ -452,13 +493,32 @@ declare const _default: {
452
493
  paddingStart?: import("react-native").DimensionValue | undefined;
453
494
  paddingTop?: import("react-native").DimensionValue | undefined;
454
495
  paddingVertical?: import("react-native").DimensionValue | undefined;
455
- position?: "absolute" | "relative" | undefined;
496
+ position?: "absolute" | "relative" | "static" | undefined;
456
497
  right?: import("react-native").DimensionValue | undefined;
457
498
  start?: import("react-native").DimensionValue | undefined;
458
499
  top?: import("react-native").DimensionValue | undefined;
459
500
  width?: import("react-native").DimensionValue | undefined;
460
501
  zIndex?: number | undefined;
461
502
  direction?: "ltr" | "rtl" | "inherit" | undefined;
503
+ inset?: import("react-native").DimensionValue | undefined;
504
+ insetBlock?: import("react-native").DimensionValue | undefined;
505
+ insetBlockEnd?: import("react-native").DimensionValue | undefined;
506
+ insetBlockStart?: import("react-native").DimensionValue | undefined;
507
+ insetInline?: import("react-native").DimensionValue | undefined;
508
+ insetInlineEnd?: import("react-native").DimensionValue | undefined;
509
+ insetInlineStart?: import("react-native").DimensionValue | undefined;
510
+ marginBlock?: import("react-native").DimensionValue | undefined;
511
+ marginBlockEnd?: import("react-native").DimensionValue | undefined;
512
+ marginBlockStart?: import("react-native").DimensionValue | undefined;
513
+ marginInline?: import("react-native").DimensionValue | undefined;
514
+ marginInlineEnd?: import("react-native").DimensionValue | undefined;
515
+ marginInlineStart?: import("react-native").DimensionValue | undefined;
516
+ paddingBlock?: import("react-native").DimensionValue | undefined;
517
+ paddingBlockEnd?: import("react-native").DimensionValue | undefined;
518
+ paddingBlockStart?: import("react-native").DimensionValue | undefined;
519
+ paddingInline?: import("react-native").DimensionValue | undefined;
520
+ paddingInlineEnd?: import("react-native").DimensionValue | undefined;
521
+ paddingInlineStart?: import("react-native").DimensionValue | undefined;
462
522
  shadowColor?: import("react-native").ColorValue | undefined;
463
523
  shadowOffset?: Readonly<{
464
524
  width: number;
@@ -466,7 +526,7 @@ declare const _default: {
466
526
  }> | undefined;
467
527
  shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
468
528
  shadowRadius?: number | undefined;
469
- transform?: string | (({
529
+ transform?: string | readonly (({
470
530
  perspective: import("react-native").AnimatableNumericValue;
471
531
  } & {
472
532
  rotate?: undefined;
@@ -587,7 +647,7 @@ declare const _default: {
587
647
  skewY?: undefined;
588
648
  matrix?: undefined;
589
649
  }) | ({
590
- translateX: import("react-native").AnimatableNumericValue;
650
+ translateX: import("react-native").AnimatableNumericValue | `${number}%`;
591
651
  } & {
592
652
  perspective?: undefined;
593
653
  rotate?: undefined;
@@ -602,7 +662,7 @@ declare const _default: {
602
662
  skewY?: undefined;
603
663
  matrix?: undefined;
604
664
  }) | ({
605
- translateY: import("react-native").AnimatableNumericValue;
665
+ translateY: import("react-native").AnimatableNumericValue | `${number}%`;
606
666
  } & {
607
667
  perspective?: undefined;
608
668
  rotate?: undefined;