@expo/ui 56.0.1 → 56.0.3
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/CHANGELOG.md +13 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/ExpoUIModule.kt +7 -1
- package/android/src/main/java/expo/modules/ui/MaskView.kt +56 -0
- package/android/src/main/java/expo/modules/ui/TextFieldView.kt +27 -80
- package/android/src/main/java/expo/modules/ui/icon/IconView.kt +6 -1
- package/build/community/bottom-sheet/BottomSheet.android.d.ts.map +1 -1
- package/build/community/bottom-sheet/BottomSheet.ios.d.ts.map +1 -1
- package/build/community/masked-view/MaskedView.android.d.ts +8 -0
- package/build/community/masked-view/MaskedView.android.d.ts.map +1 -0
- package/build/community/masked-view/MaskedView.d.ts +10 -0
- package/build/community/masked-view/MaskedView.d.ts.map +1 -0
- package/build/community/masked-view/MaskedView.ios.d.ts +8 -0
- package/build/community/masked-view/MaskedView.ios.d.ts.map +1 -0
- package/build/community/masked-view/index.d.ts +4 -0
- package/build/community/masked-view/index.d.ts.map +1 -0
- package/build/community/masked-view/types.d.ts +19 -0
- package/build/community/masked-view/types.d.ts.map +1 -0
- package/build/community/picker/Picker.android.d.ts +10 -2
- package/build/community/picker/Picker.android.d.ts.map +1 -1
- package/build/community/picker/Picker.d.ts +10 -2
- package/build/community/picker/Picker.d.ts.map +1 -1
- package/build/community/picker/Picker.ios.d.ts +10 -2
- package/build/community/picker/Picker.ios.d.ts.map +1 -1
- package/build/community/picker/types.d.ts +12 -10
- package/build/community/picker/types.d.ts.map +1 -1
- package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts +4 -0
- package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
- package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +8 -0
- package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts.map +1 -1
- package/build/jetpack-compose/HorizontalPager/index.d.ts +2 -1
- package/build/jetpack-compose/HorizontalPager/index.d.ts.map +1 -1
- package/build/jetpack-compose/Icon/index.d.ts +12 -4
- package/build/jetpack-compose/Icon/index.d.ts.map +1 -1
- package/build/jetpack-compose/TextField/index.d.ts +21 -34
- package/build/jetpack-compose/TextField/index.d.ts.map +1 -1
- package/build/jetpack-compose/index.d.ts +2 -2
- package/build/jetpack-compose/index.d.ts.map +1 -1
- package/build/jetpack-compose/modifiers/index.d.ts +1 -1
- package/build/swift-ui/TextField/index.d.ts +1 -0
- package/build/swift-ui/TextField/index.d.ts.map +1 -1
- package/build/swift-ui/index.d.ts +1 -1
- package/build/swift-ui/index.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/TextFieldView.swift +15 -15
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.1/expo.modules.ui-56.0.1-sources.jar → 56.0.3/expo.modules.ui-56.0.3-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.1/expo.modules.ui-56.0.1.module → 56.0.3/expo.modules.ui-56.0.3.module} +23 -23
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.1/expo.modules.ui-56.0.1.pom → 56.0.3/expo.modules.ui-56.0.3.pom} +2 -2
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
- package/package.json +18 -14
- package/src/community/bottom-sheet/BottomSheet.android.tsx +3 -2
- package/src/community/bottom-sheet/BottomSheet.ios.tsx +3 -2
- package/src/community/masked-view/MaskedView.android.tsx +40 -0
- package/src/community/masked-view/MaskedView.ios.tsx +32 -0
- package/src/community/masked-view/MaskedView.tsx +34 -0
- package/src/community/masked-view/index.tsx +3 -0
- package/src/community/masked-view/types.ts +19 -0
- package/src/community/picker/Picker.android.tsx +12 -5
- package/src/community/picker/Picker.ios.tsx +9 -6
- package/src/community/picker/Picker.tsx +3 -4
- package/src/community/picker/types.tsx +24 -18
- package/src/jetpack-compose/DropdownMenu/DropdownMenuItem.tsx +4 -6
- package/src/jetpack-compose/HorizontalFloatingToolbar/index.tsx +8 -8
- package/src/jetpack-compose/HorizontalPager/index.tsx +3 -1
- package/src/jetpack-compose/Icon/index.tsx +18 -5
- package/src/jetpack-compose/TextField/index.tsx +30 -50
- package/src/jetpack-compose/index.ts +17 -2
- package/src/jetpack-compose/modifiers/index.ts +1 -1
- package/src/swift-ui/TextField/index.tsx +3 -0
- package/src/swift-ui/index.tsx +6 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.1/expo.modules.ui-56.0.1.pom.sha512 +0 -1
|
@@ -13,16 +13,22 @@ export type IconProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
source: ImageSourcePropType;
|
|
15
15
|
/**
|
|
16
|
-
* The tint color to apply to the icon.
|
|
17
|
-
*
|
|
16
|
+
* The tint color to apply to the icon. Accepts hex strings, named colors,
|
|
17
|
+
* or RGB arrays.
|
|
18
|
+
*
|
|
19
|
+
* - When omitted, the icon inherits the color from the surrounding
|
|
20
|
+
* `LocalContentColor` (e.g. the toolbar/FAB content color).
|
|
21
|
+
* - When set to `null`, no tint is applied — the icon is drawn with its
|
|
22
|
+
* original colors (`Color.Unspecified`). Use this for multicolored icons.
|
|
18
23
|
*
|
|
19
24
|
* @example
|
|
20
25
|
* ```tsx
|
|
21
26
|
* <Icon source={require('./assets/star.xml')} tint="#007AFF" />
|
|
22
27
|
* <Icon source={require('./assets/star.xml')} tint="blue" />
|
|
28
|
+
* <Icon source={require('./assets/multicolor.xml')} tint={null} />
|
|
23
29
|
* ```
|
|
24
30
|
*/
|
|
25
|
-
tint?: ColorValue;
|
|
31
|
+
tint?: ColorValue | null;
|
|
26
32
|
/**
|
|
27
33
|
* The size of the icon in density-independent pixels (dp).
|
|
28
34
|
* If not specified, the icon will use its intrinsic size.
|
|
@@ -66,8 +72,10 @@ export type IconProps = {
|
|
|
66
72
|
/**
|
|
67
73
|
* @hidden
|
|
68
74
|
*/
|
|
69
|
-
export type NativeIconProps = Omit<IconProps, 'source'> & {
|
|
75
|
+
export type NativeIconProps = Omit<IconProps, 'source' | 'tint'> & {
|
|
70
76
|
source: ImageResolvedAssetSource;
|
|
77
|
+
tint?: ColorValue;
|
|
78
|
+
inheritTint: boolean;
|
|
71
79
|
};
|
|
72
80
|
/**
|
|
73
81
|
* Displays an icon from an XML vector drawable or other image source.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Icon/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAE9B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,MAAM,SAAS,GAAG;IACtB;;;;;;;;;OASG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAE5B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Icon/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAE9B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,MAAM,SAAS,GAAG;IACtB;;;;;;;;;OASG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAE5B;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAEzB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;;OAWG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,GAAG;IACjE,MAAM,EAAE,wBAAwB,CAAC;IACjC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAuBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,2CAEpC"}
|
|
@@ -92,24 +92,15 @@ export type TextFieldColors = {
|
|
|
92
92
|
disabledSuffixColor?: ColorValue;
|
|
93
93
|
errorSuffixColor?: ColorValue;
|
|
94
94
|
};
|
|
95
|
-
export type TextFieldValue = {
|
|
96
|
-
text: string;
|
|
97
|
-
selection: {
|
|
98
|
-
start: number;
|
|
99
|
-
end: number;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
export type TextFieldValueLike = string | TextFieldValue;
|
|
103
95
|
/** Shared props between `TextField` and `OutlinedTextField`. */
|
|
104
|
-
type BaseTextFieldProps
|
|
96
|
+
type BaseTextFieldProps = {
|
|
105
97
|
ref?: Ref<TextFieldRef>;
|
|
106
98
|
/**
|
|
107
|
-
* An observable state that holds the current value. Create one with
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* If omitted, the field manages its own internal state.
|
|
99
|
+
* An observable state that holds the current text value. Create one with
|
|
100
|
+
* `useNativeState('initial text')`. If omitted, the field manages its own
|
|
101
|
+
* internal state.
|
|
111
102
|
*/
|
|
112
|
-
value?: ObservableState<
|
|
103
|
+
value?: ObservableState<string>;
|
|
113
104
|
/** If true, the text field will be focused automatically when mounted. @default false */
|
|
114
105
|
autoFocus?: boolean;
|
|
115
106
|
/** @default true */
|
|
@@ -138,10 +129,11 @@ type BaseTextFieldProps<T extends TextFieldValueLike = string> = {
|
|
|
138
129
|
backgroundColor?: ColorValue;
|
|
139
130
|
};
|
|
140
131
|
/**
|
|
141
|
-
* Observable state
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
132
|
+
* Observable state holding the current selection range. Create with
|
|
133
|
+
* `useNativeState({ start: 0, end: 0 })`. The field writes user-driven
|
|
134
|
+
* changes back to it, and writes from JS (or a worklet) update the
|
|
135
|
+
* cursor/selection in the field. Use `ref.setSelection(start, end)` for
|
|
136
|
+
* imperative one-shot updates.
|
|
145
137
|
*/
|
|
146
138
|
selection?: ObservableState<{
|
|
147
139
|
start: number;
|
|
@@ -149,10 +141,7 @@ type BaseTextFieldProps<T extends TextFieldValueLike = string> = {
|
|
|
149
141
|
}>;
|
|
150
142
|
/** Maximum number of characters allowed. Truncates natively as the user types. */
|
|
151
143
|
maxLength?: number;
|
|
152
|
-
/**
|
|
153
|
-
* Called when the selection range changes.
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
144
|
+
/** Called when the selection range changes. */
|
|
156
145
|
onSelectionChange?: (selection: {
|
|
157
146
|
start: number;
|
|
158
147
|
end: number;
|
|
@@ -172,15 +161,12 @@ type BaseTextFieldProps<T extends TextFieldValueLike = string> = {
|
|
|
172
161
|
keyboardOptions?: TextFieldKeyboardOptions;
|
|
173
162
|
keyboardActions?: TextFieldKeyboardActions;
|
|
174
163
|
/**
|
|
175
|
-
* Fires whenever the value changes.
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
* If marked with the `'worklet'` directive, runs synchronously on the UI thread;
|
|
181
|
-
* otherwise delivered asynchronously as a regular JS event.
|
|
164
|
+
* Fires whenever the text value changes. If marked with the `'worklet'`
|
|
165
|
+
* directive, runs synchronously on the UI thread; otherwise delivered
|
|
166
|
+
* asynchronously as a regular JS event. Use `onSelectionChange` (or read
|
|
167
|
+
* the `selection` observable) to react to selection-only changes.
|
|
182
168
|
*/
|
|
183
|
-
onValueChange?: (value:
|
|
169
|
+
onValueChange?: (value: string) => void;
|
|
184
170
|
/** A callback triggered when the field gains or loses focus. */
|
|
185
171
|
onFocusChanged?: (focused: boolean) => void;
|
|
186
172
|
shape?: object;
|
|
@@ -188,16 +174,16 @@ type BaseTextFieldProps<T extends TextFieldValueLike = string> = {
|
|
|
188
174
|
/** Slot children (e.g. `TextField.Label`, `TextField.Placeholder`). */
|
|
189
175
|
children?: React.ReactNode;
|
|
190
176
|
};
|
|
191
|
-
export type TextFieldProps
|
|
177
|
+
export type TextFieldProps = BaseTextFieldProps & {
|
|
192
178
|
colors?: TextFieldColors;
|
|
193
179
|
};
|
|
194
|
-
export type OutlinedTextFieldProps
|
|
180
|
+
export type OutlinedTextFieldProps = BaseTextFieldProps & {
|
|
195
181
|
colors?: TextFieldColors;
|
|
196
182
|
};
|
|
197
183
|
/**
|
|
198
184
|
* A Material3 `TextField`.
|
|
199
185
|
*/
|
|
200
|
-
declare function TextFieldComponent
|
|
186
|
+
declare function TextFieldComponent(props: TextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
201
187
|
declare namespace TextFieldComponent {
|
|
202
188
|
var Label: (props: {
|
|
203
189
|
children: React.ReactNode;
|
|
@@ -224,7 +210,7 @@ declare namespace TextFieldComponent {
|
|
|
224
210
|
/**
|
|
225
211
|
* A Material3 `OutlinedTextField` with a transparent background and border outline.
|
|
226
212
|
*/
|
|
227
|
-
declare function OutlinedTextFieldComponent
|
|
213
|
+
declare function OutlinedTextFieldComponent(props: OutlinedTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
228
214
|
declare namespace OutlinedTextFieldComponent {
|
|
229
215
|
var Label: (props: {
|
|
230
216
|
children: React.ReactNode;
|
|
@@ -249,4 +235,5 @@ declare namespace OutlinedTextFieldComponent {
|
|
|
249
235
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
250
236
|
}
|
|
251
237
|
export { TextFieldComponent as TextField, OutlinedTextFieldComponent as OutlinedTextField };
|
|
238
|
+
export { type ObservableState };
|
|
252
239
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/TextField/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGlE,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,aAAa,CAAC;AAM7D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,8BAA8B;IAC9B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B;;OAEG;IACH,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,WAAW,CAAC;AAEpF,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,SAAS,GACT,UAAU,GACV,OAAO,GACP,KAAK,GACL,gBAAgB,CAAC;AAErB,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,MAAM,GACN,IAAI,GACJ,QAAQ,GACR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6BAIvB;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;6BAI7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;8BAI5B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;wBAInC;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;wBAI7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;gCAIrB;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;AAwC5D,OAAO,EAAE,kBAAkB,IAAI,SAAS,EAAE,0BAA0B,IAAI,iBAAiB,EAAE,CAAC;AAG5F,OAAO,EAAE,KAAK,eAAe,EAAE,CAAC"}
|
|
@@ -26,12 +26,12 @@ export * from './Slider';
|
|
|
26
26
|
export * from './Spacer';
|
|
27
27
|
export * from './Switch';
|
|
28
28
|
export * from './SyncSwitch';
|
|
29
|
-
export
|
|
29
|
+
export { TextField, OutlinedTextField, type TextFieldProps, type TextFieldRef, type TextFieldCapitalization, type TextFieldImeAction, type TextFieldKeyboardOptions, type TextFieldKeyboardType, type TextFieldKeyboardActions, type TextFieldColors, } from './TextField';
|
|
30
30
|
export * from './ToggleButton';
|
|
31
31
|
export * from './Shape';
|
|
32
32
|
export * from './ModalBottomSheet';
|
|
33
33
|
export * from './Carousel';
|
|
34
|
-
export
|
|
34
|
+
export { HorizontalPager, type HorizontalPagerHandle, type HorizontalPagerProps, } from './HorizontalPager';
|
|
35
35
|
export * from './SearchBar';
|
|
36
36
|
export * from './DockedSearchBar';
|
|
37
37
|
export * from './HorizontalFloatingToolbar';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jetpack-compose/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,uCAAuC,CAAC;AAE/C,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CA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kB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -82,7 +82,7 @@ export declare const imePadding: () => import("./createModifier").ModifierConfig
|
|
|
82
82
|
export declare const offset: (x: number, y: number) => import("./createModifier").ModifierConfig;
|
|
83
83
|
/**
|
|
84
84
|
* Sets the background color.
|
|
85
|
-
* @param color -
|
|
85
|
+
* @param color - A color string (hex, e.g., `'#FF0000'`).
|
|
86
86
|
*/
|
|
87
87
|
export declare const background: (color: ColorValue) => import("./createModifier").ModifierConfig;
|
|
88
88
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/TextField/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGlE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,8BAA8B;IAC9B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B;;;OAGG;IACH,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhE,MAAM,MAAM,c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M,GAAG,IAAI,CAAC;CAClC,CAAC;AAWJ;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAkC9C;yBAlCe,SAAS;oCAPU;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;AA8ChE,OAAO,EAAE,KAAK,eAAe,EAAE,CAAC"}
|
|
@@ -37,7 +37,7 @@ export { useNativeState } from '../State/useNativeState';
|
|
|
37
37
|
export * from './SyncToggle';
|
|
38
38
|
export * from './TabView';
|
|
39
39
|
export * from './Toggle';
|
|
40
|
-
export
|
|
40
|
+
export { TextField, type TextFieldProps, type TextFieldRef, type TextFieldSelection, } from './TextField';
|
|
41
41
|
export * from './SecureField';
|
|
42
42
|
export * from './Namespace';
|
|
43
43
|
export * from './GlassEffectContainer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAE3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAA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,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
|
package/expo-module.config.json
CHANGED
package/ios/TextFieldView.swift
CHANGED
|
@@ -204,21 +204,6 @@ private struct StatefulSelectableTextField: View {
|
|
|
204
204
|
isFocused = true
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
.onChange(of: state.value as? String) { newValue in
|
|
208
|
-
if let max = props.maxLength, let str = newValue, str.count > max {
|
|
209
|
-
state.value = String(str.prefix(max))
|
|
210
|
-
return
|
|
211
|
-
}
|
|
212
|
-
props.onTextChange(["value": newValue])
|
|
213
|
-
props.onTextChangeSync?.invoke(arguments: [newValue])
|
|
214
|
-
}
|
|
215
|
-
.onChange(of: textManager.isFocused) { newValue in
|
|
216
|
-
isFocused = newValue
|
|
217
|
-
}
|
|
218
|
-
.onChange(of: isFocused) { newValue in
|
|
219
|
-
textManager.isFocused = newValue
|
|
220
|
-
props.onFocusChange(["value": newValue])
|
|
221
|
-
}
|
|
222
207
|
.onChange(of: localSelection) { newSel in
|
|
223
208
|
let text = (state.value as? String) ?? ""
|
|
224
209
|
var start = text.count
|
|
@@ -235,6 +220,21 @@ private struct StatefulSelectableTextField: View {
|
|
|
235
220
|
selection.value = ["start": start, "end": end]
|
|
236
221
|
props.onSelectionChange(["start": start, "end": end])
|
|
237
222
|
}
|
|
223
|
+
.onChange(of: state.value as? String) { newValue in
|
|
224
|
+
if let max = props.maxLength, let str = newValue, str.count > max {
|
|
225
|
+
state.value = String(str.prefix(max))
|
|
226
|
+
return
|
|
227
|
+
}
|
|
228
|
+
props.onTextChange(["value": newValue])
|
|
229
|
+
props.onTextChangeSync?.invoke(arguments: [newValue])
|
|
230
|
+
}
|
|
231
|
+
.onChange(of: textManager.isFocused) { newValue in
|
|
232
|
+
isFocused = newValue
|
|
233
|
+
}
|
|
234
|
+
.onChange(of: isFocused) { newValue in
|
|
235
|
+
textManager.isFocused = newValue
|
|
236
|
+
props.onFocusChange(["value": newValue])
|
|
237
|
+
}
|
|
238
238
|
.onChange(of: selection.value as? NSDictionary) { _ in
|
|
239
239
|
guard let start = extractInt(selection.value, "start"),
|
|
240
240
|
let end = extractInt(selection.value, "end") else { return }
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
813c4db4263146688584a4c5f309f653
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
15482bf66b78fc5bb944571c2ee52b665c21b307
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e144b778f1df5f7e73be22ffe120819c376f3309599468cc22a5c5528ce3ad84
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
788dc7a233524ec8b7eed4a0f242bf546284f3a2ea501806e2e90047c3221702430584413d684677dc330195a378feed1bb1956e2d980c8f689ebce716cf54b6
|
|
Binary file
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ec6173e86a8ac7f1e588b08dc6ff96b1
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f071c18852f0767d13d3b64a54aac75cb42108bd
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c04258a22308940aa735f6f81a47fa83d842db257c39396b2e3d9007cb6802fb
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.aar.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
24e656ae1e397c8abea2fb5a2d49bc826a58f84afd58b3104ff22cede3fcf720f86ac532223279fa5efda5c402d0c75f3ab700bdcbb5b0847c2618028243c04c
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.ui",
|
|
5
5
|
"module": "expo.modules.ui",
|
|
6
|
-
"version": "56.0.
|
|
6
|
+
"version": "56.0.3",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.ui-56.0.
|
|
28
|
-
"url": "expo.modules.ui-56.0.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.ui-56.0.3.aar",
|
|
28
|
+
"url": "expo.modules.ui-56.0.3.aar",
|
|
29
|
+
"size": 1740154,
|
|
30
|
+
"sha512": "24e656ae1e397c8abea2fb5a2d49bc826a58f84afd58b3104ff22cede3fcf720f86ac532223279fa5efda5c402d0c75f3ab700bdcbb5b0847c2618028243c04c",
|
|
31
|
+
"sha256": "c04258a22308940aa735f6f81a47fa83d842db257c39396b2e3d9007cb6802fb",
|
|
32
|
+
"sha1": "f071c18852f0767d13d3b64a54aac75cb42108bd",
|
|
33
|
+
"md5": "ec6173e86a8ac7f1e588b08dc6ff96b1"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -135,19 +135,19 @@
|
|
|
135
135
|
"group": "io.github.lukmccall.pika",
|
|
136
136
|
"module": "pika-api",
|
|
137
137
|
"version": {
|
|
138
|
-
"requires": "0.
|
|
138
|
+
"requires": "0.3.2"
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
],
|
|
142
142
|
"files": [
|
|
143
143
|
{
|
|
144
|
-
"name": "expo.modules.ui-56.0.
|
|
145
|
-
"url": "expo.modules.ui-56.0.
|
|
146
|
-
"size":
|
|
147
|
-
"sha512": "
|
|
148
|
-
"sha256": "
|
|
149
|
-
"sha1": "
|
|
150
|
-
"md5": "
|
|
144
|
+
"name": "expo.modules.ui-56.0.3.aar",
|
|
145
|
+
"url": "expo.modules.ui-56.0.3.aar",
|
|
146
|
+
"size": 1740154,
|
|
147
|
+
"sha512": "24e656ae1e397c8abea2fb5a2d49bc826a58f84afd58b3104ff22cede3fcf720f86ac532223279fa5efda5c402d0c75f3ab700bdcbb5b0847c2618028243c04c",
|
|
148
|
+
"sha256": "c04258a22308940aa735f6f81a47fa83d842db257c39396b2e3d9007cb6802fb",
|
|
149
|
+
"sha1": "f071c18852f0767d13d3b64a54aac75cb42108bd",
|
|
150
|
+
"md5": "ec6173e86a8ac7f1e588b08dc6ff96b1"
|
|
151
151
|
}
|
|
152
152
|
]
|
|
153
153
|
},
|
|
@@ -161,13 +161,13 @@
|
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
{
|
|
164
|
-
"name": "expo.modules.ui-56.0.
|
|
165
|
-
"url": "expo.modules.ui-56.0.
|
|
166
|
-
"size":
|
|
167
|
-
"sha512": "
|
|
168
|
-
"sha256": "
|
|
169
|
-
"sha1": "
|
|
170
|
-
"md5": "
|
|
164
|
+
"name": "expo.modules.ui-56.0.3-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-56.0.3-sources.jar",
|
|
166
|
+
"size": 82167,
|
|
167
|
+
"sha512": "788dc7a233524ec8b7eed4a0f242bf546284f3a2ea501806e2e90047c3221702430584413d684677dc330195a378feed1bb1956e2d980c8f689ebce716cf54b6",
|
|
168
|
+
"sha256": "e144b778f1df5f7e73be22ffe120819c376f3309599468cc22a5c5528ce3ad84",
|
|
169
|
+
"sha1": "15482bf66b78fc5bb944571c2ee52b665c21b307",
|
|
170
|
+
"md5": "813c4db4263146688584a4c5f309f653"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
}
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9a80adc4e838c59474bb9026acd53433
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5a7ca98cf0b7d42beb78532a4de00ee4d1597e6e
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1b1e0569740ff5fbfa0a3412f1efbf8f7a5b3d577239f108ba4a5d51b39d41e6
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.module.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5d627db27038fcf6c659f4b5d030a112c19097b15258e490b60da47867204ddffed145a62b649b24be23e8ddb6668b98c31a14059489398be5c8f76782138a82
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>expo.modules.ui</groupId>
|
|
11
11
|
<artifactId>expo.modules.ui</artifactId>
|
|
12
|
-
<version>56.0.
|
|
12
|
+
<version>56.0.3</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.ui</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
<dependency>
|
|
118
118
|
<groupId>io.github.lukmccall.pika</groupId>
|
|
119
119
|
<artifactId>pika-api</artifactId>
|
|
120
|
-
<version>0.
|
|
120
|
+
<version>0.3.2</version>
|
|
121
121
|
<scope>runtime</scope>
|
|
122
122
|
</dependency>
|
|
123
123
|
</dependencies>
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0d85db163ef7ad2031fd783734fbbfc2
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b6801cacf665cc9e2aecf9d0bb04c98f0ed1aa29
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8879720c37c6bebdc6150d3fed464da86ddcece3b0e75759ce3ab7f48943fe06
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.3/expo.modules.ui-56.0.3.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2ecda699c389b7f19611c8a6c00c5011f69fdfb9d25c02997f93ee1e8037fc441b499a230e68ad1683bd3a3f3b5e08c139e04268319788a2c9852eb148bbb356
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.ui</groupId>
|
|
4
4
|
<artifactId>expo.modules.ui</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>56.0.
|
|
7
|
-
<release>56.0.
|
|
6
|
+
<latest>56.0.3</latest>
|
|
7
|
+
<release>56.0.3</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>56.0.
|
|
9
|
+
<version>56.0.3</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260507183248</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2702a9cd8caa702a371daaa128e279b6
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
28b12bfa1f6047e1d7d83a26d0634e6ea132984d
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
bec6765e9b4021cab658bdd7166664ad2965e243fe454dceb03eee957a882710
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7d81095908e1c9f3e0480cb0787557ebc93b0721ba5da187bbabf0b2efb1f05ca77ff00d9fac3de537706e203024f5439428a890074ef651b619864bd44e2d44
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/ui",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.3",
|
|
4
4
|
"description": "A collection of UI components",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.fx.js"
|
|
@@ -43,19 +43,15 @@
|
|
|
43
43
|
"types": "./build/community/picker/index.d.ts",
|
|
44
44
|
"default": "./src/community/picker/index.tsx"
|
|
45
45
|
},
|
|
46
|
+
"./community/masked-view": {
|
|
47
|
+
"types": "./build/community/masked-view/index.d.ts",
|
|
48
|
+
"default": "./src/community/masked-view/index.tsx"
|
|
49
|
+
},
|
|
46
50
|
"./babel-plugin": {
|
|
47
51
|
"types": "./plugin/babel-plugin.d.ts",
|
|
48
52
|
"default": "./plugin/babel-plugin.js"
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
|
-
"scripts": {
|
|
52
|
-
"build": "expo-module build",
|
|
53
|
-
"clean": "expo-module clean",
|
|
54
|
-
"lint": "expo-module lint",
|
|
55
|
-
"test": "expo-module test",
|
|
56
|
-
"prepublishOnly": "expo-module prepublishOnly",
|
|
57
|
-
"expo-module": "expo-module"
|
|
58
|
-
},
|
|
59
55
|
"homepage": "https://docs.expo.dev/versions/latest/sdk/ui/",
|
|
60
56
|
"repository": {
|
|
61
57
|
"type": "git",
|
|
@@ -85,16 +81,17 @@
|
|
|
85
81
|
"@types/babel__core": "^7.20.5",
|
|
86
82
|
"@types/node": "^22.14.0",
|
|
87
83
|
"@types/react": "~19.2.0",
|
|
88
|
-
"expo-module-scripts": "56.0.0",
|
|
89
84
|
"react-native-reanimated": "4.3.0",
|
|
90
|
-
"react-native-worklets": "0.8.3"
|
|
85
|
+
"react-native-worklets": "0.8.3",
|
|
86
|
+
"expo": "56.0.0-preview.6",
|
|
87
|
+
"expo-module-scripts": "56.0.2"
|
|
91
88
|
},
|
|
92
89
|
"jest": {
|
|
93
90
|
"preset": "expo-module-scripts"
|
|
94
91
|
},
|
|
95
92
|
"peerDependencies": {
|
|
96
93
|
"@babel/core": "*",
|
|
97
|
-
"expo": "
|
|
94
|
+
"expo": "*",
|
|
98
95
|
"react": "*",
|
|
99
96
|
"react-dom": "*",
|
|
100
97
|
"react-native": "*",
|
|
@@ -115,5 +112,12 @@
|
|
|
115
112
|
"optional": true
|
|
116
113
|
}
|
|
117
114
|
},
|
|
118
|
-
"gitHead": "
|
|
119
|
-
|
|
115
|
+
"gitHead": "d7b4e5edff4bf2e619d2c2f16d158798c6d592ef",
|
|
116
|
+
"scripts": {
|
|
117
|
+
"build": "expo-module build",
|
|
118
|
+
"clean": "expo-module clean",
|
|
119
|
+
"lint": "expo-module lint",
|
|
120
|
+
"test": "expo-module test",
|
|
121
|
+
"expo-module": "expo-module"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
2
|
-
import { StyleSheet, View } from 'react-native';
|
|
2
|
+
import { StyleSheet, useWindowDimensions, View } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import { BottomSheetContext, BottomSheetInternalContext } from './context';
|
|
5
5
|
import type { BottomSheetMethods, BottomSheetProps } from './types';
|
|
@@ -65,6 +65,7 @@ export function BottomSheet(props: BottomSheetProps) {
|
|
|
65
65
|
backgroundStyle,
|
|
66
66
|
children,
|
|
67
67
|
} = props;
|
|
68
|
+
const { width } = useWindowDimensions();
|
|
68
69
|
|
|
69
70
|
const hasMultipleSnapPoints = snapPointsProp != null && snapPointsProp.length > 1;
|
|
70
71
|
const fitToContents = enableDynamicSizing && (!snapPointsProp || snapPointsProp.length === 0);
|
|
@@ -196,7 +197,7 @@ export function BottomSheet(props: BottomSheetProps) {
|
|
|
196
197
|
return (
|
|
197
198
|
<BottomSheetInternalContext.Provider value={internalContextValue}>
|
|
198
199
|
<BottomSheetContext.Provider value={methods}>
|
|
199
|
-
<Host
|
|
200
|
+
<Host style={{ position: 'absolute', width }}>
|
|
200
201
|
<ModalBottomSheet
|
|
201
202
|
ref={sheetRef}
|
|
202
203
|
onDismissRequest={handleDismiss}
|