@expo/ui 56.0.12 → 56.0.14
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 +8 -0
- package/build/State/sharedObjectBrand.d.ts +8 -0
- package/build/State/sharedObjectBrand.d.ts.map +1 -0
- package/build/jetpack-compose/TextField/index.d.ts +7 -1
- package/build/jetpack-compose/TextField/index.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/ExpoUIModule.swift +4 -0
- package/ios/SliderView.swift +68 -37
- package/ios/State/WorkletCallbackClassDef.swift +4 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.12/expo.modules.ui-56.0.12-sources.jar → 56.0.14/expo.modules.ui-56.0.14-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.12/expo.modules.ui-56.0.12.module → 56.0.14/expo.modules.ui-56.0.14.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.12/expo.modules.ui-56.0.12.pom → 56.0.14/expo.modules.ui-56.0.14.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.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 +3 -3
- package/src/State/index.fx.ts +9 -10
- package/src/State/sharedObjectBrand.ts +20 -0
- package/src/jetpack-compose/TextField/index.tsx +10 -2
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.sha512 +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,19 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 56.0.14 — 2026-05-26
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [android] Fix `shape` prop on `TextField` / `OutlinedTextField`. ([#46206](https://github.com/expo/expo/pull/46206) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
18
|
+
- [iOS] Fix dotted line beneath Slider track when no label slots are provided ([#46218](https://github.com/expo/expo/pull/46218) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
19
|
+
|
|
20
|
+
## 56.0.13 — 2026-05-23
|
|
21
|
+
|
|
22
|
+
### 🐛 Bug fixes
|
|
23
|
+
|
|
24
|
+
- Scope the `@expo/ui` worklet SharedObject serializer to SharedObjects created by `@expo/ui`. ([#46139](https://github.com/expo/expo/pull/46139) by [@roitium](https://github.com/roitium))
|
|
25
|
+
|
|
13
26
|
## 56.0.12 — 2026-05-21
|
|
14
27
|
|
|
15
28
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -12,13 +12,13 @@ apply plugin: 'expo-module-gradle-plugin'
|
|
|
12
12
|
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
|
|
13
13
|
|
|
14
14
|
group = 'expo.modules.ui'
|
|
15
|
-
version = '56.0.
|
|
15
|
+
version = '56.0.14'
|
|
16
16
|
|
|
17
17
|
android {
|
|
18
18
|
namespace "expo.modules.ui"
|
|
19
19
|
defaultConfig {
|
|
20
20
|
versionCode 1
|
|
21
|
-
versionName "56.0.
|
|
21
|
+
versionName "56.0.14"
|
|
22
22
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
23
23
|
}
|
|
24
24
|
buildFeatures {
|
|
@@ -69,6 +69,10 @@ class ExpoUIModule : Module() {
|
|
|
69
69
|
callback.worklet = worklet
|
|
70
70
|
callback
|
|
71
71
|
}
|
|
72
|
+
|
|
73
|
+
Property("__expo_ui_shared_object__") { _: WorkletCallback ->
|
|
74
|
+
true
|
|
75
|
+
}
|
|
72
76
|
}
|
|
73
77
|
|
|
74
78
|
Class(ObservableState::class) {
|
|
@@ -76,6 +80,10 @@ class ExpoUIModule : Module() {
|
|
|
76
80
|
ObservableState(initial["value"])
|
|
77
81
|
}
|
|
78
82
|
|
|
83
|
+
Property("__expo_ui_shared_object__") { _: ObservableState ->
|
|
84
|
+
true
|
|
85
|
+
}
|
|
86
|
+
|
|
79
87
|
Function("getValue") { state: ObservableState ->
|
|
80
88
|
state.value
|
|
81
89
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const EXPO_SHARED_OBJECT_ID_KEY = "__expo_shared_object_id__";
|
|
2
|
+
export declare const EXPO_UI_SHARED_OBJECT_BRAND = "__expo_ui_shared_object__";
|
|
3
|
+
export type ExpoUISharedObject = {
|
|
4
|
+
[EXPO_SHARED_OBJECT_ID_KEY]: number;
|
|
5
|
+
[EXPO_UI_SHARED_OBJECT_BRAND]: true;
|
|
6
|
+
};
|
|
7
|
+
export declare function isExpoUISharedObject(value: unknown): value is ExpoUISharedObject;
|
|
8
|
+
//# sourceMappingURL=sharedObjectBrand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedObjectBrand.d.ts","sourceRoot":"","sources":["../../src/State/sharedObjectBrand.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,2BAA2B,8BAA8B,CAAC;AAEvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACpC,CAAC,2BAA2B,CAAC,EAAE,IAAI,CAAC;CACrC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,kBAAkB,CAWhF"}
|
|
@@ -2,6 +2,7 @@ import type { Ref } from 'react';
|
|
|
2
2
|
import type { ColorValue } from 'react-native';
|
|
3
3
|
import { type ObservableState } from '../../State';
|
|
4
4
|
import type { ModifierConfig } from '../../types';
|
|
5
|
+
import { type ShapeJSXElement } from '../Shape';
|
|
5
6
|
/**
|
|
6
7
|
* Can be used for imperatively focusing and setting text/selection on the `TextField` component.
|
|
7
8
|
*/
|
|
@@ -169,7 +170,12 @@ type BaseTextFieldProps = {
|
|
|
169
170
|
onValueChange?: (value: string) => void;
|
|
170
171
|
/** A callback triggered when the field gains or loses focus. */
|
|
171
172
|
onFocusChanged?: (focused: boolean) => void;
|
|
172
|
-
|
|
173
|
+
/**
|
|
174
|
+
* Shape used for the field's container outline/fill. Use the helpers from
|
|
175
|
+
* `Shape` (for example, `<Shape.Pill />` or `<Shape.RoundedCorner cornerRadii={...} />`).
|
|
176
|
+
* Defaults to the Material `OutlinedTextFieldDefaults.shape`/`TextFieldDefaults.shape`.
|
|
177
|
+
*/
|
|
178
|
+
shape?: ShapeJSXElement;
|
|
173
179
|
modifiers?: ModifierConfig[];
|
|
174
180
|
/** Slot children (e.g. `TextField.Label`, `TextField.Placeholder`). */
|
|
175
181
|
children?: React.ReactNode;
|
|
@@ -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;AAE/C,OAAO,EAAc,KAAK,eAAe,EAA4B,MAAM,aAAa,CAAC;AACzF,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,aAAa,CAAC;
|
|
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,KA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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"}
|
package/expo-module.config.json
CHANGED
package/ios/ExpoUIModule.swift
CHANGED
|
@@ -24,6 +24,10 @@ public final class ExpoUIModule: Module {
|
|
|
24
24
|
return ObservableState(value: initial["value"])
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
Property("__expo_ui_shared_object__") { (_: ObservableState) -> Bool in
|
|
28
|
+
true
|
|
29
|
+
}
|
|
30
|
+
|
|
27
31
|
Function("getValue") { (state: ObservableState) -> Any in
|
|
28
32
|
return state.value ?? NSNull()
|
|
29
33
|
}
|
package/ios/SliderView.swift
CHANGED
|
@@ -53,51 +53,82 @@ struct SliderView: ExpoSwiftUI.View {
|
|
|
53
53
|
let label = props.children?.slot("label")
|
|
54
54
|
let minimumValueLabel = props.children?.slot("minimum")
|
|
55
55
|
let maximumValueLabel = props.children?.slot("maximum")
|
|
56
|
+
let hasAnyLabel = label != nil || minimumValueLabel != nil || maximumValueLabel != nil
|
|
57
|
+
|
|
58
|
+
let handleEditingChanged: (Bool) -> Void = { isEditing in
|
|
59
|
+
self.isEditing = isEditing
|
|
60
|
+
props.onEditingChanged(["isEditing": isEditing])
|
|
61
|
+
}
|
|
56
62
|
|
|
57
63
|
if let min = props.min, let max = props.max, let step = props.step {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
if hasAnyLabel {
|
|
65
|
+
Slider(
|
|
66
|
+
value: clampedBinding,
|
|
67
|
+
in: min...max,
|
|
68
|
+
step: step,
|
|
69
|
+
label: { label },
|
|
70
|
+
minimumValueLabel: { minimumValueLabel },
|
|
71
|
+
maximumValueLabel: { maximumValueLabel },
|
|
72
|
+
onEditingChanged: handleEditingChanged
|
|
73
|
+
)
|
|
74
|
+
} else {
|
|
75
|
+
Slider(
|
|
76
|
+
value: clampedBinding,
|
|
77
|
+
in: min...max,
|
|
78
|
+
step: step,
|
|
79
|
+
onEditingChanged: handleEditingChanged
|
|
80
|
+
)
|
|
68
81
|
}
|
|
69
82
|
} else if let min = props.min, let max = props.max {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
83
|
+
if hasAnyLabel {
|
|
84
|
+
Slider(
|
|
85
|
+
value: clampedBinding,
|
|
86
|
+
in: min...max,
|
|
87
|
+
label: { label },
|
|
88
|
+
minimumValueLabel: { minimumValueLabel },
|
|
89
|
+
maximumValueLabel: { maximumValueLabel },
|
|
90
|
+
onEditingChanged: handleEditingChanged
|
|
91
|
+
)
|
|
92
|
+
} else {
|
|
93
|
+
Slider(
|
|
94
|
+
value: clampedBinding,
|
|
95
|
+
in: min...max,
|
|
96
|
+
onEditingChanged: handleEditingChanged
|
|
97
|
+
)
|
|
79
98
|
}
|
|
80
99
|
} else if let step = props.step {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
100
|
+
if hasAnyLabel {
|
|
101
|
+
Slider(
|
|
102
|
+
value: clampedBinding,
|
|
103
|
+
in: 0...1,
|
|
104
|
+
step: step,
|
|
105
|
+
label: { label },
|
|
106
|
+
minimumValueLabel: { minimumValueLabel },
|
|
107
|
+
maximumValueLabel: { maximumValueLabel },
|
|
108
|
+
onEditingChanged: handleEditingChanged
|
|
109
|
+
)
|
|
110
|
+
} else {
|
|
111
|
+
Slider(
|
|
112
|
+
value: clampedBinding,
|
|
113
|
+
in: 0...1,
|
|
114
|
+
step: step,
|
|
115
|
+
onEditingChanged: handleEditingChanged
|
|
116
|
+
)
|
|
91
117
|
}
|
|
92
118
|
} else {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
119
|
+
if hasAnyLabel {
|
|
120
|
+
Slider(
|
|
121
|
+
value: clampedBinding,
|
|
122
|
+
label: { label },
|
|
123
|
+
minimumValueLabel: { minimumValueLabel },
|
|
124
|
+
maximumValueLabel: { maximumValueLabel },
|
|
125
|
+
onEditingChanged: handleEditingChanged
|
|
126
|
+
)
|
|
127
|
+
} else {
|
|
128
|
+
Slider(
|
|
129
|
+
value: clampedBinding,
|
|
130
|
+
onEditingChanged: handleEditingChanged
|
|
131
|
+
)
|
|
101
132
|
}
|
|
102
133
|
}
|
|
103
134
|
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2cf329d52090d6202b7a70c1cb7c2a4b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cef9c4c1296a5c70d6a61965cba485c2dd802f47
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
01e5734d4e704ab1ff81ad1651eae63e0c5317dbba712328b1721270d303e0cf
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ba1daa456b3e0d92466af0c58b5ddd0bdd0a4c5f06c727bf7d34acd69e78c42187295b575199cefa3b2098d59eeb1ab6fcf2463c339fd6af2a186224a14f505d
|
|
Binary file
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
790df1c5a23dc1ac9a8521284af9bc15
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7100e52679119435cf14936c7a715d729b763e16
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
27c02acb624ed6593fe2380e495a636970bc9033ae9cd00132029c7b8ecf899e
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.aar.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b0183591c16d8ba78c2d0e6aad2044b660811a5fb2126302a5f746dff169fc93fd4547d4c73ccf35bfefa083fde9819acbf3bb0fa4f6c80869e0d225880047a2
|
|
@@ -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.14",
|
|
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.14.aar",
|
|
28
|
+
"url": "expo.modules.ui-56.0.14.aar",
|
|
29
|
+
"size": 1839545,
|
|
30
|
+
"sha512": "b0183591c16d8ba78c2d0e6aad2044b660811a5fb2126302a5f746dff169fc93fd4547d4c73ccf35bfefa083fde9819acbf3bb0fa4f6c80869e0d225880047a2",
|
|
31
|
+
"sha256": "27c02acb624ed6593fe2380e495a636970bc9033ae9cd00132029c7b8ecf899e",
|
|
32
|
+
"sha1": "7100e52679119435cf14936c7a715d729b763e16",
|
|
33
|
+
"md5": "790df1c5a23dc1ac9a8521284af9bc15"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -141,13 +141,13 @@
|
|
|
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.14.aar",
|
|
145
|
+
"url": "expo.modules.ui-56.0.14.aar",
|
|
146
|
+
"size": 1839545,
|
|
147
|
+
"sha512": "b0183591c16d8ba78c2d0e6aad2044b660811a5fb2126302a5f746dff169fc93fd4547d4c73ccf35bfefa083fde9819acbf3bb0fa4f6c80869e0d225880047a2",
|
|
148
|
+
"sha256": "27c02acb624ed6593fe2380e495a636970bc9033ae9cd00132029c7b8ecf899e",
|
|
149
|
+
"sha1": "7100e52679119435cf14936c7a715d729b763e16",
|
|
150
|
+
"md5": "790df1c5a23dc1ac9a8521284af9bc15"
|
|
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.14-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-56.0.14-sources.jar",
|
|
166
|
+
"size": 87333,
|
|
167
|
+
"sha512": "ba1daa456b3e0d92466af0c58b5ddd0bdd0a4c5f06c727bf7d34acd69e78c42187295b575199cefa3b2098d59eeb1ab6fcf2463c339fd6af2a186224a14f505d",
|
|
168
|
+
"sha256": "01e5734d4e704ab1ff81ad1651eae63e0c5317dbba712328b1721270d303e0cf",
|
|
169
|
+
"sha1": "cef9c4c1296a5c70d6a61965cba485c2dd802f47",
|
|
170
|
+
"md5": "2cf329d52090d6202b7a70c1cb7c2a4b"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
}
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.module.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0a721bf899f1bdd8a4aa077a61503718
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.module.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5ff8b4610fc4f797647ee63ab69d2b79c50dbe1a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b1290525991fc675f9a594aa80f72368959d61304f5aa977e0f39da91bce7e95
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
99d685ffb2acfcdfb4fb03f051e89d6d7970b36387e6dfabcc550dd3d4ee1d4a87551cdeb6f2f4261a3f1435ec3644b4336c5549d48845706ee2f3b4879bdd78
|
|
@@ -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.14</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.ui</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7603c21466f9d38f372627cfce26eea9
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
79e84c416a01fc5e0e0e796da3c1c30cb700d378
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
11e03a5068e44ce3f2e08bef38b2671f6758173d56ea8224bdb503e1075818aa
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.14/expo.modules.ui-56.0.14.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d4c5b72aa81972d7a9bb6524ac50c429eb06e5ad9e777ebe597100f045af91f423f322e9408756607a610e97d4c846e515c641a0b58aa832fb4d5a868052de22
|
|
@@ -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.14</latest>
|
|
7
|
+
<release>56.0.14</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>56.0.
|
|
9
|
+
<version>56.0.14</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260526084449</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
47004e939bc6ddeb1e06453d3e3dd92d
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9611bd9bb271b30f5e68a9dcad87f47c5d3f15ae
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ba6bf36b7d41aec2374d9801cde39c85c40d0fe5138468f00a4ec4a3a76a3d7b
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
704ac2b18dcf094dd583904f47a58e8084223ff773c9a601c60757f0d03622c5d61a0157e3e1fa7bcc8c5d13c51d0507bac27fa26363656f1324573b7224fb51
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/ui",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.14",
|
|
4
4
|
"description": "A collection of UI components",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.fx.js"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@types/react": "~19.2.0",
|
|
96
96
|
"react-native-reanimated": "4.3.1",
|
|
97
97
|
"react-native-worklets": "0.8.3",
|
|
98
|
-
"expo": "56.0.
|
|
98
|
+
"expo": "56.0.5",
|
|
99
99
|
"expo-module-scripts": "56.0.2"
|
|
100
100
|
},
|
|
101
101
|
"jest": {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"optional": true
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "f67a101bcbe56114e982184834b93da7bbed00af",
|
|
128
128
|
"scripts": {
|
|
129
129
|
"build": "expo-module build",
|
|
130
130
|
"clean": "expo-module clean",
|
package/src/State/index.fx.ts
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
import { installOnUIRuntime } from 'expo';
|
|
4
4
|
|
|
5
5
|
import { worklets } from './optionalWorklets';
|
|
6
|
+
import {
|
|
7
|
+
EXPO_SHARED_OBJECT_ID_KEY,
|
|
8
|
+
isExpoUISharedObject,
|
|
9
|
+
type ExpoUISharedObject,
|
|
10
|
+
} from './sharedObjectBrand';
|
|
6
11
|
|
|
7
|
-
type NativeSharedObject = { __expo_shared_object_id__: number };
|
|
8
12
|
type PackedSharedObject = { objectId: number };
|
|
9
13
|
|
|
10
14
|
let _serializerRegistered = false;
|
|
@@ -24,20 +28,15 @@ function registerSharedObjectSerializer(): void {
|
|
|
24
28
|
|
|
25
29
|
const { registerCustomSerializable } = worklets;
|
|
26
30
|
|
|
27
|
-
registerCustomSerializable<
|
|
31
|
+
registerCustomSerializable<ExpoUISharedObject, PackedSharedObject>({
|
|
28
32
|
name: 'ExpoSharedObject',
|
|
29
|
-
determine: (value): value is
|
|
33
|
+
determine: (value): value is ExpoUISharedObject => {
|
|
30
34
|
'worklet';
|
|
31
|
-
return (
|
|
32
|
-
value != null &&
|
|
33
|
-
typeof value === 'object' &&
|
|
34
|
-
'__expo_shared_object_id__' in value &&
|
|
35
|
-
(value as any).__expo_shared_object_id__ !== 0
|
|
36
|
-
);
|
|
35
|
+
return isExpoUISharedObject(value);
|
|
37
36
|
},
|
|
38
37
|
pack: (value) => {
|
|
39
38
|
'worklet';
|
|
40
|
-
return { objectId: value
|
|
39
|
+
return { objectId: value[EXPO_SHARED_OBJECT_ID_KEY] };
|
|
41
40
|
},
|
|
42
41
|
unpack: (packed) => {
|
|
43
42
|
'worklet';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const EXPO_SHARED_OBJECT_ID_KEY = '__expo_shared_object_id__';
|
|
2
|
+
export const EXPO_UI_SHARED_OBJECT_BRAND = '__expo_ui_shared_object__';
|
|
3
|
+
|
|
4
|
+
export type ExpoUISharedObject = {
|
|
5
|
+
[EXPO_SHARED_OBJECT_ID_KEY]: number;
|
|
6
|
+
[EXPO_UI_SHARED_OBJECT_BRAND]: true;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export function isExpoUISharedObject(value: unknown): value is ExpoUISharedObject {
|
|
10
|
+
'worklet';
|
|
11
|
+
if (value == null || typeof value !== 'object') {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
const obj = value as Partial<ExpoUISharedObject>;
|
|
15
|
+
return (
|
|
16
|
+
obj[EXPO_UI_SHARED_OBJECT_BRAND] === true &&
|
|
17
|
+
typeof obj[EXPO_SHARED_OBJECT_ID_KEY] === 'number' &&
|
|
18
|
+
obj[EXPO_SHARED_OBJECT_ID_KEY] !== 0
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -4,6 +4,7 @@ import type { ColorValue } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import { getStateId, type ObservableState, useWorkletProp, worklets } from '../../State';
|
|
6
6
|
import type { ModifierConfig, ViewEvent } from '../../types';
|
|
7
|
+
import { parseJSXShape, type ShapeJSXElement, type ShapeRecordProps } from '../Shape';
|
|
7
8
|
import { Slot } from '../SlotView';
|
|
8
9
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
9
10
|
|
|
@@ -210,7 +211,12 @@ type BaseTextFieldProps = {
|
|
|
210
211
|
onValueChange?: (value: string) => void;
|
|
211
212
|
/** A callback triggered when the field gains or loses focus. */
|
|
212
213
|
onFocusChanged?: (focused: boolean) => void;
|
|
213
|
-
|
|
214
|
+
/**
|
|
215
|
+
* Shape used for the field's container outline/fill. Use the helpers from
|
|
216
|
+
* `Shape` (for example, `<Shape.Pill />` or `<Shape.RoundedCorner cornerRadii={...} />`).
|
|
217
|
+
* Defaults to the Material `OutlinedTextFieldDefaults.shape`/`TextFieldDefaults.shape`.
|
|
218
|
+
*/
|
|
219
|
+
shape?: ShapeJSXElement;
|
|
214
220
|
modifiers?: ModifierConfig[];
|
|
215
221
|
/** Slot children (e.g. `TextField.Label`, `TextField.Placeholder`). */
|
|
216
222
|
children?: React.ReactNode;
|
|
@@ -241,7 +247,7 @@ type NativeTextFieldProps = Omit<
|
|
|
241
247
|
> & {
|
|
242
248
|
variant: 'filled' | 'outlined';
|
|
243
249
|
colors?: TextFieldColors;
|
|
244
|
-
shape?:
|
|
250
|
+
shape?: ShapeRecordProps;
|
|
245
251
|
children?: React.ReactNode;
|
|
246
252
|
value?: number | null;
|
|
247
253
|
selection?: number | null;
|
|
@@ -269,6 +275,7 @@ function useTransformedProps(
|
|
|
269
275
|
onValueChange,
|
|
270
276
|
onFocusChanged,
|
|
271
277
|
onSelectionChange,
|
|
278
|
+
shape,
|
|
272
279
|
...restProps
|
|
273
280
|
} = props;
|
|
274
281
|
|
|
@@ -280,6 +287,7 @@ function useTransformedProps(
|
|
|
280
287
|
...(modifiers ? createViewModifierEventListener(modifiers) : undefined),
|
|
281
288
|
...restProps,
|
|
282
289
|
variant,
|
|
290
|
+
shape: parseJSXShape(shape),
|
|
283
291
|
children,
|
|
284
292
|
value: getStateId(value),
|
|
285
293
|
selection: getStateId(selection),
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3c31f1e06290c7a6bd79ca48f3891a26
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
641e106db443c60a45679ceeb012d91ec9a8f92f
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d6ac0beac572ce308b1132edea5636af62174f38717a944fe96c577764fe15d0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
767b2296610e6f8c7a584cc65177bb80da1d6ac06ca34fab03e1ecc261103e45b6ea3cc85df9b91d984dcfa8707392dc9353135245a7b88c25d7416498c9d57b
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar
DELETED
|
Binary file
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
fc36f9fce95048c28a4acc8b50509b30
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
750d3c439cf2196017543dbf4c28e442c895c557
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ed094af4f078c995d22d917c31585c648c1183e1da60401608f75e3ad29bf052
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.aar.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b5c54535d0b6873bef37012f7f7e42c19624a7db690cac6b557fa7133c58d7bf2254857248138d5bed3283045f0cbf73312aa4b55842b1d7e550f6a7dc45bad9
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.module.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
eef5d5757d388925a1f3e9d1ed02b59f
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.module.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cab93bb248f06a9ee2df1551d3ccb9ddfd84c322
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
36e7da759de9a596e2a4c7b26e3e4a54073a974524e01b6c25f99668aca70b6b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3e1b568f079a427bee0cc7d6d6d32690660eb9a90564024e6a364b68e69ce696a57975a5bba2aaaa12e0a4601e4dcee32fc68fa2a963375a6d3449c42accaa77
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a7e8a4bbe019d2775b6068265e23e5f3
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
96e6da81640ed56f7773631ef4fe8c5ca4395452
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ddb648c60d7d51238351b98d9b7d34c7ad08e309e1db7714d6637ef1520b0e37
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.12/expo.modules.ui-56.0.12.pom.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4a8bb73ee6cb5e0962f54f445401023aabcc8b303f41dd1f11a824eaa72a1a79e843b213d94ed0866f4f5170ba773989a5c9b24baa1bba24c9acbf7eb20e9c02
|