@expo/ui 56.0.13 → 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 +7 -0
- package/android/build.gradle +2 -2
- 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/SliderView.swift +68 -37
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13.module → 56.0.14/expo.modules.ui-56.0.14.module} +7 -7
- 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.13/expo.modules.ui-56.0.13.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/jetpack-compose/TextField/index.tsx +10 -2
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.sha512 +0 -1
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13-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.13/expo.modules.ui-56.0.13-sources.jar.md5 → 56.0.14/expo.modules.ui-56.0.14-sources.jar.md5} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13-sources.jar.sha1 → 56.0.14/expo.modules.ui-56.0.14-sources.jar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13-sources.jar.sha256 → 56.0.14/expo.modules.ui-56.0.14-sources.jar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13-sources.jar.sha512 → 56.0.14/expo.modules.ui-56.0.14-sources.jar.sha512} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13.aar → 56.0.14/expo.modules.ui-56.0.14.aar} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13.aar.md5 → 56.0.14/expo.modules.ui-56.0.14.aar.md5} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13.aar.sha1 → 56.0.14/expo.modules.ui-56.0.14.aar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13.aar.sha256 → 56.0.14/expo.modules.ui-56.0.14.aar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.13/expo.modules.ui-56.0.13.aar.sha512 → 56.0.14/expo.modules.ui-56.0.14.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
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
|
+
|
|
13
20
|
## 56.0.13 — 2026-05-23
|
|
14
21
|
|
|
15
22
|
### 🐛 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 {
|
|
@@ -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.ts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C;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;;AAuB5D;;GAEG;AACH,iBAAS,0BAA0B,CAAC,KAAK,EAAE,sBAAsB,2CAEhE;kBAFQ,0BAA0B;uBAlDb;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;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"}
|
package/expo-module.config.json
CHANGED
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
|
}
|
|
@@ -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,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.ui-56.0.
|
|
28
|
-
"url": "expo.modules.ui-56.0.
|
|
27
|
+
"name": "expo.modules.ui-56.0.14.aar",
|
|
28
|
+
"url": "expo.modules.ui-56.0.14.aar",
|
|
29
29
|
"size": 1839545,
|
|
30
30
|
"sha512": "b0183591c16d8ba78c2d0e6aad2044b660811a5fb2126302a5f746dff169fc93fd4547d4c73ccf35bfefa083fde9819acbf3bb0fa4f6c80869e0d225880047a2",
|
|
31
31
|
"sha256": "27c02acb624ed6593fe2380e495a636970bc9033ae9cd00132029c7b8ecf899e",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
],
|
|
142
142
|
"files": [
|
|
143
143
|
{
|
|
144
|
-
"name": "expo.modules.ui-56.0.
|
|
145
|
-
"url": "expo.modules.ui-56.0.
|
|
144
|
+
"name": "expo.modules.ui-56.0.14.aar",
|
|
145
|
+
"url": "expo.modules.ui-56.0.14.aar",
|
|
146
146
|
"size": 1839545,
|
|
147
147
|
"sha512": "b0183591c16d8ba78c2d0e6aad2044b660811a5fb2126302a5f746dff169fc93fd4547d4c73ccf35bfefa083fde9819acbf3bb0fa4f6c80869e0d225880047a2",
|
|
148
148
|
"sha256": "27c02acb624ed6593fe2380e495a636970bc9033ae9cd00132029c7b8ecf899e",
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
{
|
|
164
|
-
"name": "expo.modules.ui-56.0.
|
|
165
|
-
"url": "expo.modules.ui-56.0.
|
|
164
|
+
"name": "expo.modules.ui-56.0.14-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-56.0.14-sources.jar",
|
|
166
166
|
"size": 87333,
|
|
167
167
|
"sha512": "ba1daa456b3e0d92466af0c58b5ddd0bdd0a4c5f06c727bf7d34acd69e78c42187295b575199cefa3b2098d59eeb1ab6fcf2463c339fd6af2a186224a14f505d",
|
|
168
168
|
"sha256": "01e5734d4e704ab1ff81ad1651eae63e0c5317dbba712328b1721270d303e0cf",
|
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",
|
|
@@ -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),
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.module.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c30efce3b9524fae26a1869700309868
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.module.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
67f652cbe1468c6ceb907731fe60ff97cc1bff96
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
854df66783f41ed70dd19dd6afe5646db18cf61061ce4585b4f25ebe67e81b77
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a6d2d44f252e301e377e1fa2be07e0b7e037901c646f8709daca729a9224fdad29524ce15dee7fb3e107a8bcae1408663a2ee3334fec0dc0a037543fb84d12d3
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
df92320a2d8b606aeef5d84882135c24
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b96318ebe9b77f2b92f3e7dae791d89f29e641b1
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3d8cc3df4a43507f29fd66b6ff34f2420134523b09f36b481a832542e09d86a2
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.13/expo.modules.ui-56.0.13.pom.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
404c23354cbbe0c8b677ec3e3b152e0b929154bf6c1c057918c1f02e713043f0db1fafe1f0c2766658843c713f94e7d2390b0ed03c1117a10d8790bcd5713d0e
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|