@expo/ui 57.0.2 → 57.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 +16 -0
- package/android/build.gradle +2 -2
- package/build/community/masked-view/MaskedView.android.d.ts.map +1 -1
- package/build/community/masked-view/MaskedView.ios.d.ts.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +49 -1
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/Modifiers/ShapeTypes.swift +50 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +144 -0
- package/ios/TextFieldView.swift +29 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2.module → 57.0.3/expo.modules.ui-57.0.3.module} +7 -7
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2.pom → 57.0.3/expo.modules.ui-57.0.3.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.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 +5 -4
- package/src/community/masked-view/MaskedView.android.tsx +5 -2
- package/src/community/masked-view/MaskedView.ios.tsx +5 -2
- package/src/swift-ui/modifiers/index.ts +81 -0
- package/CLAUDE.md +0 -54
- package/CONTRIBUTING.md +0 -30
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.sha512 +0 -1
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2-sources.jar → 57.0.3/expo.modules.ui-57.0.3-sources.jar} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2-sources.jar.md5 → 57.0.3/expo.modules.ui-57.0.3-sources.jar.md5} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2-sources.jar.sha1 → 57.0.3/expo.modules.ui-57.0.3-sources.jar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2-sources.jar.sha256 → 57.0.3/expo.modules.ui-57.0.3-sources.jar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2-sources.jar.sha512 → 57.0.3/expo.modules.ui-57.0.3-sources.jar.sha512} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2.aar → 57.0.3/expo.modules.ui-57.0.3.aar} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2.aar.md5 → 57.0.3/expo.modules.ui-57.0.3.aar.md5} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2.aar.sha1 → 57.0.3/expo.modules.ui-57.0.3.aar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2.aar.sha256 → 57.0.3/expo.modules.ui-57.0.3.aar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.2/expo.modules.ui-57.0.2.aar.sha512 → 57.0.3/expo.modules.ui-57.0.3.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,22 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 57.0.3 — 2026-07-03
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- [iOS] Added `accessibilityAddTraits` and `accessibilityRemoveTraits` SwiftUI modifiers, accepting an array of trait names. ([#47387](https://github.com/expo/expo/pull/47387) by [@ramonclaudio](https://github.com/ramonclaudio))
|
|
18
|
+
- [iOS] Added the SwiftUI `strokeBorder` modifier with a full `StrokeStyle` (line width, cap, join, miter limit, dash array, dash phase) for dashed and dotted inset borders that follow the shape's corners. ([#47426](https://github.com/expo/expo/pull/47426) by [@ramonclaudio](https://github.com/ramonclaudio))
|
|
19
|
+
|
|
20
|
+
### 🐛 Bug fixes
|
|
21
|
+
|
|
22
|
+
- [iOS] Fix the SwiftUI `TextField` crashing with "String index is out of bounds" on iOS 18 when JS writes new text into a focused field that holds an active text selection. ([#47447](https://github.com/expo/expo/pull/47447) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
23
|
+
- [iOS][android] Fix `community/masked-view` doubling offsets and transforms by re-applying the user-supplied `style` to the inner mask/content `View` wrappers. ([#47067](https://github.com/expo/expo/issues/47067) by [@tsushanth](https://github.com/tsushanth))
|
|
24
|
+
|
|
25
|
+
### 💡 Others
|
|
26
|
+
|
|
27
|
+
- Removed `CLAUDE.md` and `CONTRIBUTING.md` from publishing and fixed side effects. ([#47451](https://github.com/expo/expo/pull/47451) by [@kudo](https://github.com/kudo))
|
|
28
|
+
|
|
13
29
|
## 57.0.2 — 2026-07-01
|
|
14
30
|
|
|
15
31
|
### 🐛 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 = '57.0.
|
|
15
|
+
version = '57.0.3'
|
|
16
16
|
|
|
17
17
|
android {
|
|
18
18
|
namespace "expo.modules.ui"
|
|
19
19
|
defaultConfig {
|
|
20
20
|
versionCode 1
|
|
21
|
-
versionName "57.0.
|
|
21
|
+
versionName "57.0.3"
|
|
22
22
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
23
23
|
}
|
|
24
24
|
buildFeatures {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaskedView.android.d.ts","sourceRoot":"","sources":["../../../src/community/masked-view/MaskedView.android.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAY/C;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"MaskedView.android.d.ts","sourceRoot":"","sources":["../../../src/community/masked-view/MaskedView.android.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAY/C;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAqBhD;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaskedView.ios.d.ts","sourceRoot":"","sources":["../../../src/community/masked-view/MaskedView.ios.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAK/C;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"MaskedView.ios.d.ts","sourceRoot":"","sources":["../../../src/community/masked-view/MaskedView.ios.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAK/C;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAqBhD;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -174,6 +174,36 @@ export declare const border: (params: {
|
|
|
174
174
|
color: Color;
|
|
175
175
|
width?: number;
|
|
176
176
|
}) => ModifierConfig;
|
|
177
|
+
/**
|
|
178
|
+
* The characteristics of a stroke that traces a path.
|
|
179
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/strokestyle).
|
|
180
|
+
*/
|
|
181
|
+
export type StrokeStyle = {
|
|
182
|
+
/** The width of the stroked line. @default 1 */
|
|
183
|
+
lineWidth?: number;
|
|
184
|
+
/** The endpoint style of a line segment. @default 'butt' */
|
|
185
|
+
lineCap?: 'butt' | 'round' | 'square';
|
|
186
|
+
/** The join type where line segments meet. @default 'miter' */
|
|
187
|
+
lineJoin?: 'miter' | 'round' | 'bevel';
|
|
188
|
+
/** The limit past which a miter join is replaced by a bevel. @default 10 */
|
|
189
|
+
miterLimit?: number;
|
|
190
|
+
/** The lengths of alternating painted and unpainted segments. An empty array draws a solid line. @default [] */
|
|
191
|
+
dash?: number[];
|
|
192
|
+
/** How far into the dash pattern the line starts. @default 0 */
|
|
193
|
+
dashPhase?: number;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Strokes an inset border along the view's shape.
|
|
197
|
+
* @param params - The stroke parameters. Color (omit for the foreground style), style, antialiased, shape and cornerRadius.
|
|
198
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/insettableshape/strokeborder(_:style:antialiased:)).
|
|
199
|
+
*/
|
|
200
|
+
export declare const strokeBorder: (params: {
|
|
201
|
+
color?: Color;
|
|
202
|
+
style?: StrokeStyle;
|
|
203
|
+
antialiased?: boolean;
|
|
204
|
+
shape?: "rectangle" | "circle" | "capsule" | "ellipse" | "roundedRectangle" | "containerRelativeShape";
|
|
205
|
+
cornerRadius?: number;
|
|
206
|
+
}) => ModifierConfig;
|
|
177
207
|
/**
|
|
178
208
|
* Applies scaling transformation.
|
|
179
209
|
* @param scale - Uniform scale factor (1.0 = normal size), or an object with separate `x` and `y` scale factors.
|
|
@@ -661,6 +691,24 @@ export declare const accessibilityHidden: (hidden?: boolean) => ModifierConfig;
|
|
|
661
691
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityelement(children:)).
|
|
662
692
|
*/
|
|
663
693
|
export declare const accessibilityElement: (children?: "ignore" | "combine" | "contain") => ModifierConfig;
|
|
694
|
+
/**
|
|
695
|
+
* The set of accessibility traits that can be added to or removed from a view
|
|
696
|
+
* with `accessibilityAddTraits` and `accessibilityRemoveTraits`.
|
|
697
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/accessibilitytraits).
|
|
698
|
+
*/
|
|
699
|
+
export type AccessibilityTrait = 'isButton' | 'isHeader' | 'isImage' | 'isSelected' | 'isLink' | 'isModal' | 'isSummaryElement' | 'updatesFrequently' | 'startsMediaSession' | 'allowsDirectInteraction' | 'causesPageTurn' | 'isToggle' | 'playsSound' | 'isStaticText' | 'isSearchField' | 'isKeyboardKey' | 'isTabBar';
|
|
700
|
+
/**
|
|
701
|
+
* Adds the given accessibility traits to the view.
|
|
702
|
+
* @param traits - The accessibility traits to add. `isToggle` and `isTabBar` require iOS 17+ and are ignored on older systems.
|
|
703
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityaddtraits(_:)).
|
|
704
|
+
*/
|
|
705
|
+
export declare const accessibilityAddTraits: (traits: AccessibilityTrait[]) => ModifierConfig;
|
|
706
|
+
/**
|
|
707
|
+
* Removes the given accessibility traits from the view.
|
|
708
|
+
* @param traits - The accessibility traits to remove. `isToggle` and `isTabBar` require iOS 17+ and are ignored on older systems.
|
|
709
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityremovetraits(_:)).
|
|
710
|
+
*/
|
|
711
|
+
export declare const accessibilityRemoveTraits: (traits: AccessibilityTrait[]) => ModifierConfig;
|
|
664
712
|
/**
|
|
665
713
|
* Sets layout priority for the view.
|
|
666
714
|
* @param priority - Layout priority value.
|
|
@@ -1123,7 +1171,7 @@ export declare const resizable: (capInsets?: {
|
|
|
1123
1171
|
* This provides type safety for the modifiers array.
|
|
1124
1172
|
* @hidden
|
|
1125
1173
|
*/
|
|
1126
|
-
export type BuiltInModifier = ReturnType<typeof listSectionSpacing> | ReturnType<typeof background> | ReturnType<typeof cornerRadius> | ReturnType<typeof shadow> | ReturnType<typeof frame> | ReturnType<typeof padding> | ReturnType<typeof fixedSize> | ReturnType<typeof ignoreSafeArea> | ReturnType<typeof onTapGesture> | ReturnType<typeof onLongPressGesture> | ReturnType<typeof onAppear> | ReturnType<typeof luminanceToAlpha> | ReturnType<typeof onDisappear> | ReturnType<typeof onGeometryChange> | ReturnType<typeof opacity> | ReturnType<typeof clipShape> | ReturnType<typeof border> | ReturnType<typeof scaleEffect> | ReturnType<typeof rotationEffect> | ReturnType<typeof rotation3DEffect> | ReturnType<typeof offset> | ReturnType<typeof foregroundColor> | ReturnType<typeof foregroundStyle> | ReturnType<typeof bold> | ReturnType<typeof italic> | ReturnType<typeof monospacedDigit> | ReturnType<typeof tint> | ReturnType<typeof hidden> | ReturnType<typeof disabled> | ReturnType<typeof redacted> | ReturnType<typeof unredacted> | ReturnType<typeof privacySensitive> | ReturnType<typeof invalidatableContent> | ReturnType<typeof zIndex> | ReturnType<typeof blur> | ReturnType<typeof brightness> | ReturnType<typeof contrast> | ReturnType<typeof saturation> | ReturnType<typeof hueRotation> | ReturnType<typeof colorInvert> | ReturnType<typeof grayscale> | ReturnType<typeof buttonStyle> | ReturnType<typeof buttonBorderShape> | ReturnType<typeof toggleStyle> | ReturnType<typeof controlSize> | ReturnType<typeof imageScale> | ReturnType<typeof labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | ReturnType<typeof accessibilityInputLabels> | ReturnType<typeof accessibilityIdentifier> | ReturnType<typeof accessibilityHidden> | ReturnType<typeof accessibilityElement> | ReturnType<typeof layoutPriority> | ReturnType<typeof mask> | ReturnType<typeof overlay> | ReturnType<typeof backgroundOverlay> | ReturnType<typeof aspectRatio> | ReturnType<typeof clipped> | ReturnType<typeof glassEffect> | ReturnType<typeof glassEffectId> | ReturnType<typeof animation> | ReturnType<typeof containerShape> | ReturnType<typeof contentShape> | ReturnType<typeof containerRelativeFrame> | ReturnType<typeof scrollContentBackground> | ReturnType<typeof scrollDisabled> | ReturnType<typeof scrollIndicators> | ReturnType<typeof defaultScrollAnchor> | ReturnType<typeof defaultScrollAnchorForRole> | ReturnType<typeof scrollTargetBehavior> | ReturnType<typeof scrollTargetLayout> | ReturnType<typeof id> | ReturnType<typeof scrollPosition> | ReturnType<typeof onScrollPhaseChange> | NonNullable<ReturnType<typeof useScrollGeometryChange>> | ReturnType<typeof moveDisabled> | ReturnType<typeof deleteDisabled> | ReturnType<typeof environment> | ReturnType<typeof listRowBackground> | ReturnType<typeof listRowSeparator> | ReturnType<typeof listRowSpacing> | ReturnType<typeof truncationMode> | ReturnType<typeof allowsTightening> | ReturnType<typeof kerning> | ReturnType<typeof textCase> | ReturnType<typeof underline> | ReturnType<typeof strikethrough> | ReturnType<typeof multilineTextAlignment> | ReturnType<typeof textSelection> | ReturnType<typeof lineSpacing> | ReturnType<typeof lineHeight> | ReturnType<typeof lineLimit> | ReturnType<typeof headerProminence> | ReturnType<typeof listRowInsets> | ReturnType<typeof badgeProminence> | ReturnType<typeof badge> | ReturnType<typeof listSectionMargins> | ReturnType<typeof font> | ReturnType<typeof dynamicTypeSize> | ReturnType<typeof gridCellUnsizedAxes> | ReturnType<typeof gridCellColumns> | ReturnType<typeof gridColumnAlignment> | ReturnType<typeof gridCellAnchor> | ReturnType<typeof submitLabel> | ReturnType<typeof keyboardType> | ReturnType<typeof autocorrectionDisabled> | ReturnType<typeof onSubmit> | ReturnType<typeof textInputAutocapitalization> | ReturnType<typeof textContentType> | ReturnType<typeof datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition> | ReturnType<typeof resizable> | ReturnType<typeof symbolEffect> | ReturnType<typeof widgetAccentedRenderingMode> | ReturnType<typeof widgetURL> | ReturnType<typeof activityBackgroundTint> | ReturnType<typeof containerBackground>;
|
|
1174
|
+
export type BuiltInModifier = ReturnType<typeof listSectionSpacing> | ReturnType<typeof background> | ReturnType<typeof cornerRadius> | ReturnType<typeof shadow> | ReturnType<typeof frame> | ReturnType<typeof padding> | ReturnType<typeof fixedSize> | ReturnType<typeof ignoreSafeArea> | ReturnType<typeof onTapGesture> | ReturnType<typeof onLongPressGesture> | ReturnType<typeof onAppear> | ReturnType<typeof luminanceToAlpha> | ReturnType<typeof onDisappear> | ReturnType<typeof onGeometryChange> | ReturnType<typeof opacity> | ReturnType<typeof clipShape> | ReturnType<typeof border> | ReturnType<typeof strokeBorder> | ReturnType<typeof scaleEffect> | ReturnType<typeof rotationEffect> | ReturnType<typeof rotation3DEffect> | ReturnType<typeof offset> | ReturnType<typeof foregroundColor> | ReturnType<typeof foregroundStyle> | ReturnType<typeof bold> | ReturnType<typeof italic> | ReturnType<typeof monospacedDigit> | ReturnType<typeof tint> | ReturnType<typeof hidden> | ReturnType<typeof disabled> | ReturnType<typeof redacted> | ReturnType<typeof unredacted> | ReturnType<typeof privacySensitive> | ReturnType<typeof invalidatableContent> | ReturnType<typeof zIndex> | ReturnType<typeof blur> | ReturnType<typeof brightness> | ReturnType<typeof contrast> | ReturnType<typeof saturation> | ReturnType<typeof hueRotation> | ReturnType<typeof colorInvert> | ReturnType<typeof grayscale> | ReturnType<typeof buttonStyle> | ReturnType<typeof buttonBorderShape> | ReturnType<typeof toggleStyle> | ReturnType<typeof controlSize> | ReturnType<typeof imageScale> | ReturnType<typeof labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | ReturnType<typeof accessibilityInputLabels> | ReturnType<typeof accessibilityIdentifier> | ReturnType<typeof accessibilityHidden> | ReturnType<typeof accessibilityElement> | ReturnType<typeof accessibilityAddTraits> | ReturnType<typeof accessibilityRemoveTraits> | ReturnType<typeof layoutPriority> | ReturnType<typeof mask> | ReturnType<typeof overlay> | ReturnType<typeof backgroundOverlay> | ReturnType<typeof aspectRatio> | ReturnType<typeof clipped> | ReturnType<typeof glassEffect> | ReturnType<typeof glassEffectId> | ReturnType<typeof animation> | ReturnType<typeof containerShape> | ReturnType<typeof contentShape> | ReturnType<typeof containerRelativeFrame> | ReturnType<typeof scrollContentBackground> | ReturnType<typeof scrollDisabled> | ReturnType<typeof scrollIndicators> | ReturnType<typeof defaultScrollAnchor> | ReturnType<typeof defaultScrollAnchorForRole> | ReturnType<typeof scrollTargetBehavior> | ReturnType<typeof scrollTargetLayout> | ReturnType<typeof id> | ReturnType<typeof scrollPosition> | ReturnType<typeof onScrollPhaseChange> | NonNullable<ReturnType<typeof useScrollGeometryChange>> | ReturnType<typeof moveDisabled> | ReturnType<typeof deleteDisabled> | ReturnType<typeof environment> | ReturnType<typeof listRowBackground> | ReturnType<typeof listRowSeparator> | ReturnType<typeof listRowSpacing> | ReturnType<typeof truncationMode> | ReturnType<typeof allowsTightening> | ReturnType<typeof kerning> | ReturnType<typeof textCase> | ReturnType<typeof underline> | ReturnType<typeof strikethrough> | ReturnType<typeof multilineTextAlignment> | ReturnType<typeof textSelection> | ReturnType<typeof lineSpacing> | ReturnType<typeof lineHeight> | ReturnType<typeof lineLimit> | ReturnType<typeof headerProminence> | ReturnType<typeof listRowInsets> | ReturnType<typeof badgeProminence> | ReturnType<typeof badge> | ReturnType<typeof listSectionMargins> | ReturnType<typeof font> | ReturnType<typeof dynamicTypeSize> | ReturnType<typeof gridCellUnsizedAxes> | ReturnType<typeof gridCellColumns> | ReturnType<typeof gridColumnAlignment> | ReturnType<typeof gridCellAnchor> | ReturnType<typeof submitLabel> | ReturnType<typeof keyboardType> | ReturnType<typeof autocorrectionDisabled> | ReturnType<typeof onSubmit> | ReturnType<typeof textInputAutocapitalization> | ReturnType<typeof textContentType> | ReturnType<typeof datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition> | ReturnType<typeof resizable> | ReturnType<typeof symbolEffect> | ReturnType<typeof widgetAccentedRenderingMode> | ReturnType<typeof widgetURL> | ReturnType<typeof activityBackgroundTint> | ReturnType<typeof containerBackground>;
|
|
1127
1175
|
/**
|
|
1128
1176
|
* Main ViewModifier type that supports both built-in and 3rd party modifiers.
|
|
1129
1177
|
* 3rd party modifiers should return ModifierConfig objects with their own type strings.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAQ3F;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,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}
|
package/expo-module.config.json
CHANGED
|
@@ -22,6 +22,56 @@ internal struct CornerSize: Record {
|
|
|
22
22
|
@Field var height: Int = 0
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
// MARK: - Stroke Style
|
|
26
|
+
|
|
27
|
+
internal enum StrokeLineCap: String, Enumerable {
|
|
28
|
+
case butt
|
|
29
|
+
case round
|
|
30
|
+
case square
|
|
31
|
+
|
|
32
|
+
func toCGLineCap() -> CGLineCap {
|
|
33
|
+
switch self {
|
|
34
|
+
case .butt: return .butt
|
|
35
|
+
case .round: return .round
|
|
36
|
+
case .square: return .square
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
internal enum StrokeLineJoin: String, Enumerable {
|
|
42
|
+
case miter
|
|
43
|
+
case round
|
|
44
|
+
case bevel
|
|
45
|
+
|
|
46
|
+
func toCGLineJoin() -> CGLineJoin {
|
|
47
|
+
switch self {
|
|
48
|
+
case .miter: return .miter
|
|
49
|
+
case .round: return .round
|
|
50
|
+
case .bevel: return .bevel
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
internal struct StrokeStyleConfig: Record {
|
|
56
|
+
@Field var lineWidth: CGFloat = 1
|
|
57
|
+
@Field var lineCap: StrokeLineCap = .butt
|
|
58
|
+
@Field var lineJoin: StrokeLineJoin = .miter
|
|
59
|
+
@Field var miterLimit: CGFloat = 10
|
|
60
|
+
@Field var dash: [CGFloat] = []
|
|
61
|
+
@Field var dashPhase: CGFloat = 0
|
|
62
|
+
|
|
63
|
+
func toStrokeStyle() -> StrokeStyle {
|
|
64
|
+
return StrokeStyle(
|
|
65
|
+
lineWidth: lineWidth,
|
|
66
|
+
lineCap: lineCap.toCGLineCap(),
|
|
67
|
+
lineJoin: lineJoin.toCGLineJoin(),
|
|
68
|
+
miterLimit: miterLimit,
|
|
69
|
+
dash: dash,
|
|
70
|
+
dashPhase: dashPhase
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
25
75
|
// MARK: - Shape Helper Functions
|
|
26
76
|
|
|
27
77
|
internal func makeCapsule(style: RoundedCornerStyle?) -> Capsule {
|
|
@@ -373,6 +373,48 @@ internal struct ClipShapeModifier: ViewModifier, Record {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
+
internal struct StrokeBorderModifier: ViewModifier, Record {
|
|
377
|
+
@Field var color: Color?
|
|
378
|
+
@Field var style: StrokeStyleConfig?
|
|
379
|
+
@Field var antialiased: Bool = true
|
|
380
|
+
@Field var shape: ShapeType = .rectangle
|
|
381
|
+
@Field var cornerRadius: CGFloat = 8
|
|
382
|
+
@Field var roundedCornerStyle: RoundedCornerStyle?
|
|
383
|
+
@Field var cornerSize: CornerSize?
|
|
384
|
+
|
|
385
|
+
func body(content: Content) -> some View {
|
|
386
|
+
content.overlay(strokeBorderView())
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
@ViewBuilder
|
|
390
|
+
private func strokeBorderView() -> some View {
|
|
391
|
+
let strokeStyle = (style ?? StrokeStyleConfig()).toStrokeStyle()
|
|
392
|
+
switch shape {
|
|
393
|
+
case .capsule:
|
|
394
|
+
applyStrokeBorder(makeCapsule(style: roundedCornerStyle), strokeStyle)
|
|
395
|
+
case .circle:
|
|
396
|
+
applyStrokeBorder(Circle(), strokeStyle)
|
|
397
|
+
case .containerRelativeShape:
|
|
398
|
+
applyStrokeBorder(ContainerRelativeShape(), strokeStyle)
|
|
399
|
+
case .ellipse:
|
|
400
|
+
applyStrokeBorder(Ellipse(), strokeStyle)
|
|
401
|
+
case .rectangle:
|
|
402
|
+
applyStrokeBorder(Rectangle(), strokeStyle)
|
|
403
|
+
case .roundedRectangle:
|
|
404
|
+
applyStrokeBorder(makeRoundedRectangle(cornerRadius: cornerRadius, cornerSize: cornerSize, style: roundedCornerStyle), strokeStyle)
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
@ViewBuilder
|
|
409
|
+
private func applyStrokeBorder<S: InsettableShape>(_ shape: S, _ strokeStyle: StrokeStyle) -> some View {
|
|
410
|
+
if let color {
|
|
411
|
+
shape.strokeBorder(color, style: strokeStyle, antialiased: antialiased)
|
|
412
|
+
} else {
|
|
413
|
+
shape.strokeBorder(style: strokeStyle, antialiased: antialiased)
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
376
418
|
internal struct OnTapGestureModifier: ViewModifier, Record {
|
|
377
419
|
var eventDispatcher: EventDispatcher?
|
|
378
420
|
|
|
@@ -598,6 +640,97 @@ internal struct AccessibilityElementModifier: ViewModifier, Record {
|
|
|
598
640
|
}
|
|
599
641
|
}
|
|
600
642
|
|
|
643
|
+
internal enum AccessibilityTraitType: String, Enumerable {
|
|
644
|
+
case isButton
|
|
645
|
+
case isHeader
|
|
646
|
+
case isImage
|
|
647
|
+
case isSelected
|
|
648
|
+
case isLink
|
|
649
|
+
case isModal
|
|
650
|
+
case isSummaryElement
|
|
651
|
+
case updatesFrequently
|
|
652
|
+
case startsMediaSession
|
|
653
|
+
case allowsDirectInteraction
|
|
654
|
+
case causesPageTurn
|
|
655
|
+
case isToggle
|
|
656
|
+
case playsSound
|
|
657
|
+
case isStaticText
|
|
658
|
+
case isSearchField
|
|
659
|
+
case isKeyboardKey
|
|
660
|
+
case isTabBar
|
|
661
|
+
|
|
662
|
+
func toNative() -> AccessibilityTraits? {
|
|
663
|
+
switch self {
|
|
664
|
+
case .isButton:
|
|
665
|
+
return .isButton
|
|
666
|
+
case .isHeader:
|
|
667
|
+
return .isHeader
|
|
668
|
+
case .isImage:
|
|
669
|
+
return .isImage
|
|
670
|
+
case .isSelected:
|
|
671
|
+
return .isSelected
|
|
672
|
+
case .isLink:
|
|
673
|
+
return .isLink
|
|
674
|
+
case .isModal:
|
|
675
|
+
return .isModal
|
|
676
|
+
case .isSummaryElement:
|
|
677
|
+
return .isSummaryElement
|
|
678
|
+
case .updatesFrequently:
|
|
679
|
+
return .updatesFrequently
|
|
680
|
+
case .startsMediaSession:
|
|
681
|
+
return .startsMediaSession
|
|
682
|
+
case .allowsDirectInteraction:
|
|
683
|
+
return .allowsDirectInteraction
|
|
684
|
+
case .causesPageTurn:
|
|
685
|
+
return .causesPageTurn
|
|
686
|
+
case .isToggle:
|
|
687
|
+
if #available(iOS 17.0, tvOS 17.0, macOS 14.0, *) {
|
|
688
|
+
return .isToggle
|
|
689
|
+
}
|
|
690
|
+
return nil
|
|
691
|
+
case .playsSound:
|
|
692
|
+
return .playsSound
|
|
693
|
+
case .isStaticText:
|
|
694
|
+
return .isStaticText
|
|
695
|
+
case .isSearchField:
|
|
696
|
+
return .isSearchField
|
|
697
|
+
case .isKeyboardKey:
|
|
698
|
+
return .isKeyboardKey
|
|
699
|
+
case .isTabBar:
|
|
700
|
+
if #available(iOS 17.0, tvOS 17.0, macOS 14.0, *) {
|
|
701
|
+
return .isTabBar
|
|
702
|
+
}
|
|
703
|
+
return nil
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
internal func combineAccessibilityTraits(_ traits: [AccessibilityTraitType]) -> AccessibilityTraits {
|
|
709
|
+
var combined: AccessibilityTraits = []
|
|
710
|
+
for trait in traits {
|
|
711
|
+
if let native = trait.toNative() {
|
|
712
|
+
combined.formUnion(native)
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
return combined
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
internal struct AccessibilityAddTraitsModifier: ViewModifier, Record {
|
|
719
|
+
@Field var traits: [AccessibilityTraitType] = []
|
|
720
|
+
|
|
721
|
+
func body(content: Content) -> some View {
|
|
722
|
+
content.accessibilityAddTraits(combineAccessibilityTraits(traits))
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
internal struct AccessibilityRemoveTraitsModifier: ViewModifier, Record {
|
|
727
|
+
@Field var traits: [AccessibilityTraitType] = []
|
|
728
|
+
|
|
729
|
+
func body(content: Content) -> some View {
|
|
730
|
+
content.accessibilityRemoveTraits(combineAccessibilityTraits(traits))
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
|
|
601
734
|
internal struct LayoutPriorityModifier: ViewModifier, Record {
|
|
602
735
|
@Field var priority: Double = 0
|
|
603
736
|
|
|
@@ -1635,6 +1768,9 @@ extension ViewModifierRegistry {
|
|
|
1635
1768
|
register("border") { params, appContext, _ in
|
|
1636
1769
|
return try BorderModifier(from: params, appContext: appContext)
|
|
1637
1770
|
}
|
|
1771
|
+
register("strokeBorder") { params, appContext, _ in
|
|
1772
|
+
return try StrokeBorderModifier(from: params, appContext: appContext)
|
|
1773
|
+
}
|
|
1638
1774
|
|
|
1639
1775
|
register("clipShape") { params, appContext, _ in
|
|
1640
1776
|
return try ClipShapeModifier(from: params, appContext: appContext)
|
|
@@ -1696,6 +1832,14 @@ extension ViewModifierRegistry {
|
|
|
1696
1832
|
return try AccessibilityElementModifier(from: params, appContext: appContext)
|
|
1697
1833
|
}
|
|
1698
1834
|
|
|
1835
|
+
register("accessibilityAddTraits") { params, appContext, _ in
|
|
1836
|
+
return try AccessibilityAddTraitsModifier(from: params, appContext: appContext)
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
register("accessibilityRemoveTraits") { params, appContext, _ in
|
|
1840
|
+
return try AccessibilityRemoveTraitsModifier(from: params, appContext: appContext)
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1699
1843
|
register("layoutPriority") { params, appContext, _ in
|
|
1700
1844
|
return try LayoutPriorityModifier(from: params, appContext: appContext)
|
|
1701
1845
|
}
|
package/ios/TextFieldView.swift
CHANGED
|
@@ -219,11 +219,39 @@ private struct StatefulSelectableTextField: View {
|
|
|
219
219
|
)
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
private var selectionBinding: Binding<SwiftUI.TextSelection?> {
|
|
223
|
+
if #available(iOS 26.0, macOS 26.0, tvOS 26.0, *) {
|
|
224
|
+
return $localSelection
|
|
225
|
+
}
|
|
226
|
+
return clampedSelectionBinding
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// iOS 18 SwiftUI can throw an out-of-bounds exception when selection becomes invalid after text is changed programmatically.
|
|
230
|
+
// Resetting to nil avoids passing SwiftUI the stale selection.
|
|
231
|
+
// https://github.com/expo/expo/issues/47434
|
|
232
|
+
// https://github.com/swiftlang/swift/issues/82359#issuecomment-3038538035
|
|
233
|
+
private var clampedSelectionBinding: Binding<SwiftUI.TextSelection?> {
|
|
234
|
+
Binding(
|
|
235
|
+
get: {
|
|
236
|
+
guard let selection = localSelection,
|
|
237
|
+
case let .selection(range) = selection.indices else {
|
|
238
|
+
return localSelection
|
|
239
|
+
}
|
|
240
|
+
let text = (state.value as? String) ?? ""
|
|
241
|
+
if range.lowerBound > text.endIndex || range.upperBound > text.endIndex {
|
|
242
|
+
return nil
|
|
243
|
+
}
|
|
244
|
+
return localSelection
|
|
245
|
+
},
|
|
246
|
+
set: { localSelection = $0 }
|
|
247
|
+
)
|
|
248
|
+
}
|
|
249
|
+
|
|
222
250
|
var body: some View {
|
|
223
251
|
TextField(
|
|
224
252
|
promptText == nil ? props.placeholder : "",
|
|
225
253
|
text: textBinding,
|
|
226
|
-
selection:
|
|
254
|
+
selection: selectionBinding,
|
|
227
255
|
prompt: promptText,
|
|
228
256
|
axis: swiftUIAxis
|
|
229
257
|
)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.ui",
|
|
5
5
|
"module": "expo.modules.ui",
|
|
6
|
-
"version": "57.0.
|
|
6
|
+
"version": "57.0.3",
|
|
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-57.0.
|
|
28
|
-
"url": "expo.modules.ui-57.0.
|
|
27
|
+
"name": "expo.modules.ui-57.0.3.aar",
|
|
28
|
+
"url": "expo.modules.ui-57.0.3.aar",
|
|
29
29
|
"size": 1941451,
|
|
30
30
|
"sha512": "33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66",
|
|
31
31
|
"sha256": "11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
],
|
|
142
142
|
"files": [
|
|
143
143
|
{
|
|
144
|
-
"name": "expo.modules.ui-57.0.
|
|
145
|
-
"url": "expo.modules.ui-57.0.
|
|
144
|
+
"name": "expo.modules.ui-57.0.3.aar",
|
|
145
|
+
"url": "expo.modules.ui-57.0.3.aar",
|
|
146
146
|
"size": 1941451,
|
|
147
147
|
"sha512": "33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66",
|
|
148
148
|
"sha256": "11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8",
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
{
|
|
164
|
-
"name": "expo.modules.ui-57.0.
|
|
165
|
-
"url": "expo.modules.ui-57.0.
|
|
164
|
+
"name": "expo.modules.ui-57.0.3-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-57.0.3-sources.jar",
|
|
166
166
|
"size": 94265,
|
|
167
167
|
"sha512": "50b75ddd02eccceb55f0e7985344e58796d0636802fd81e940f357ed55f87bbf889edebad6dc727c1a677082928b67e6453595aaf809ada12871779e5e313978",
|
|
168
168
|
"sha256": "1b9fff22820c7fb50e59d2033ae3199e9fa2c5c853138629a6e2767f50f7ab2f",
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5579b9534f0e9344030aedd22712777a
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0509aa164373369cdfc6de708099d915abf5b0fb
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8cf3daea0c0e6fbe28cd2f1c210c87fa14261f542054dc793b41339318571a62
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.module.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9214ff46dae6752db9b10a047163f2233733554b068d22dc88e42976d94bda6f2eb701d350beafddfd103f16cb7928d87e521c83859ce840298f5babd48f1ba2
|
|
@@ -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>57.0.
|
|
12
|
+
<version>57.0.3</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/57.0.3/expo.modules.ui-57.0.3.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1da4e57876f30c8434193b83f9d251b5
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
884791334da5d40e3f8f39799b7931ddde982ac4
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
32e73ff31feb858feaea34593838ccebdeb25e0f5d35595a15c342c13e3fd890
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.3/expo.modules.ui-57.0.3.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
78c3e137e3ab98b58b3a8d67a0dce58c71c0edc7adb53a08297c267e4569181017f4799430ed14f3c64e35617a07dd3cef14c44955270956c5ead3fc888083a5
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.ui</groupId>
|
|
4
4
|
<artifactId>expo.modules.ui</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>57.0.
|
|
7
|
-
<release>57.0.
|
|
6
|
+
<latest>57.0.3</latest>
|
|
7
|
+
<release>57.0.3</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>57.0.
|
|
9
|
+
<version>57.0.3</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260703082524</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
055b20ea81793677d486aae004e8b1d4
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1ec87a51868d594942b68bf88be90a50ab6c6a85
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2342380a631fb7ff5e3e307ad9dfcadbb83be4a58d1a102b3230296f1a137efc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c25eef451b6a64d02010d73f4d9b3f0741fbfc171d786c553d043c18084f57c84e51823ac26387803c712d5ab6a981ce2c4dce39051e9c9ec9549335e8fd9978
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/ui",
|
|
3
|
-
"version": "57.0.
|
|
3
|
+
"version": "57.0.3",
|
|
4
4
|
"description": "A collection of UI components",
|
|
5
5
|
"sideEffects": [
|
|
6
|
-
"*.fx.js"
|
|
6
|
+
"*.fx.js",
|
|
7
|
+
"*.fx.ts"
|
|
7
8
|
],
|
|
8
9
|
"exports": {
|
|
9
10
|
"./package.json": "./package.json",
|
|
@@ -95,7 +96,7 @@
|
|
|
95
96
|
"@types/react": "~19.2.0",
|
|
96
97
|
"react-native-reanimated": "4.5.0",
|
|
97
98
|
"react-native-worklets": "0.10.0",
|
|
98
|
-
"expo": "57.0.
|
|
99
|
+
"expo": "57.0.2",
|
|
99
100
|
"expo-module-scripts": "56.0.3"
|
|
100
101
|
},
|
|
101
102
|
"jest": {
|
|
@@ -120,7 +121,7 @@
|
|
|
120
121
|
"optional": true
|
|
121
122
|
}
|
|
122
123
|
},
|
|
123
|
-
"gitHead": "
|
|
124
|
+
"gitHead": "5104cb89c3938bc9653e0cbad43da3a43a2e77a7",
|
|
124
125
|
"scripts": {
|
|
125
126
|
"build": "expo-module build",
|
|
126
127
|
"clean": "expo-module clean",
|
|
@@ -19,16 +19,19 @@ const MaskNativeView: React.ComponentType<{
|
|
|
19
19
|
*/
|
|
20
20
|
export function MaskedView(props: MaskedViewProps) {
|
|
21
21
|
const { maskElement, children, style, ...viewProps } = props;
|
|
22
|
+
// `style` is applied only to the outer container. Re-applying it inside the
|
|
23
|
+
// Host/MaskView wrappers used to double offsets (`translateX`, `marginLeft`, …)
|
|
24
|
+
// and transforms because the inner views inherit layout from `absoluteFill`.
|
|
22
25
|
return (
|
|
23
26
|
<View {...viewProps} style={style}>
|
|
24
27
|
<Host style={StyleSheet.absoluteFill}>
|
|
25
28
|
<MaskNativeView alignment="topStart" modifiers={[fillMaxSize()]}>
|
|
26
29
|
<RNHostView modifiers={[fillMaxSize()]}>
|
|
27
|
-
<View style={
|
|
30
|
+
<View style={StyleSheet.absoluteFill}>{children}</View>
|
|
28
31
|
</RNHostView>
|
|
29
32
|
<Slot slotName="content">
|
|
30
33
|
<RNHostView modifiers={[fillMaxSize()]}>
|
|
31
|
-
<View style={
|
|
34
|
+
<View style={StyleSheet.absoluteFill}>{maskElement}</View>
|
|
32
35
|
</RNHostView>
|
|
33
36
|
</Slot>
|
|
34
37
|
</MaskNativeView>
|
|
@@ -11,16 +11,19 @@ import { RNHostView } from '../../swift-ui/RNHostView';
|
|
|
11
11
|
*/
|
|
12
12
|
export function MaskedView(props: MaskedViewProps) {
|
|
13
13
|
const { maskElement, children, style, ...viewProps } = props;
|
|
14
|
+
// `style` is applied only to the outer container. Re-applying it inside the
|
|
15
|
+
// Host/Mask wrappers used to double offsets (`translateX`, `marginLeft`, …)
|
|
16
|
+
// and transforms because the inner views inherit layout from `absoluteFill`.
|
|
14
17
|
return (
|
|
15
18
|
<View {...viewProps} style={style}>
|
|
16
19
|
<Host style={StyleSheet.absoluteFill}>
|
|
17
20
|
<Mask alignment="topLeading">
|
|
18
21
|
<RNHostView>
|
|
19
|
-
<View style={
|
|
22
|
+
<View style={StyleSheet.absoluteFill}>{children}</View>
|
|
20
23
|
</RNHostView>
|
|
21
24
|
<Mask.Content>
|
|
22
25
|
<RNHostView>
|
|
23
|
-
<View style={
|
|
26
|
+
<View style={StyleSheet.absoluteFill}>{maskElement}</View>
|
|
24
27
|
</RNHostView>
|
|
25
28
|
</Mask.Content>
|
|
26
29
|
</Mask>
|
|
@@ -252,6 +252,44 @@ export const clipShape = (
|
|
|
252
252
|
export const border = (params: { color: Color; width?: number }) =>
|
|
253
253
|
createModifier('border', params);
|
|
254
254
|
|
|
255
|
+
/**
|
|
256
|
+
* The characteristics of a stroke that traces a path.
|
|
257
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/strokestyle).
|
|
258
|
+
*/
|
|
259
|
+
export type StrokeStyle = {
|
|
260
|
+
/** The width of the stroked line. @default 1 */
|
|
261
|
+
lineWidth?: number;
|
|
262
|
+
/** The endpoint style of a line segment. @default 'butt' */
|
|
263
|
+
lineCap?: 'butt' | 'round' | 'square';
|
|
264
|
+
/** The join type where line segments meet. @default 'miter' */
|
|
265
|
+
lineJoin?: 'miter' | 'round' | 'bevel';
|
|
266
|
+
/** The limit past which a miter join is replaced by a bevel. @default 10 */
|
|
267
|
+
miterLimit?: number;
|
|
268
|
+
/** The lengths of alternating painted and unpainted segments. An empty array draws a solid line. @default [] */
|
|
269
|
+
dash?: number[];
|
|
270
|
+
/** How far into the dash pattern the line starts. @default 0 */
|
|
271
|
+
dashPhase?: number;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Strokes an inset border along the view's shape.
|
|
276
|
+
* @param params - The stroke parameters. Color (omit for the foreground style), style, antialiased, shape and cornerRadius.
|
|
277
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/insettableshape/strokeborder(_:style:antialiased:)).
|
|
278
|
+
*/
|
|
279
|
+
export const strokeBorder = (params: {
|
|
280
|
+
color?: Color;
|
|
281
|
+
style?: StrokeStyle;
|
|
282
|
+
antialiased?: boolean;
|
|
283
|
+
shape?:
|
|
284
|
+
| 'rectangle'
|
|
285
|
+
| 'circle'
|
|
286
|
+
| 'capsule'
|
|
287
|
+
| 'ellipse'
|
|
288
|
+
| 'roundedRectangle'
|
|
289
|
+
| 'containerRelativeShape';
|
|
290
|
+
cornerRadius?: number;
|
|
291
|
+
}) => createModifier('strokeBorder', params);
|
|
292
|
+
|
|
255
293
|
/**
|
|
256
294
|
* Applies scaling transformation.
|
|
257
295
|
* @param scale - Uniform scale factor (1.0 = normal size), or an object with separate `x` and `y` scale factors.
|
|
@@ -851,6 +889,46 @@ export const accessibilityHidden = (hidden: boolean = true) =>
|
|
|
851
889
|
export const accessibilityElement = (children: 'ignore' | 'combine' | 'contain' = 'ignore') =>
|
|
852
890
|
createModifier('accessibilityElement', { children });
|
|
853
891
|
|
|
892
|
+
/**
|
|
893
|
+
* The set of accessibility traits that can be added to or removed from a view
|
|
894
|
+
* with `accessibilityAddTraits` and `accessibilityRemoveTraits`.
|
|
895
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/accessibilitytraits).
|
|
896
|
+
*/
|
|
897
|
+
export type AccessibilityTrait =
|
|
898
|
+
| 'isButton'
|
|
899
|
+
| 'isHeader'
|
|
900
|
+
| 'isImage'
|
|
901
|
+
| 'isSelected'
|
|
902
|
+
| 'isLink'
|
|
903
|
+
| 'isModal'
|
|
904
|
+
| 'isSummaryElement'
|
|
905
|
+
| 'updatesFrequently'
|
|
906
|
+
| 'startsMediaSession'
|
|
907
|
+
| 'allowsDirectInteraction'
|
|
908
|
+
| 'causesPageTurn'
|
|
909
|
+
| 'isToggle'
|
|
910
|
+
| 'playsSound'
|
|
911
|
+
| 'isStaticText'
|
|
912
|
+
| 'isSearchField'
|
|
913
|
+
| 'isKeyboardKey'
|
|
914
|
+
| 'isTabBar';
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Adds the given accessibility traits to the view.
|
|
918
|
+
* @param traits - The accessibility traits to add. `isToggle` and `isTabBar` require iOS 17+ and are ignored on older systems.
|
|
919
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityaddtraits(_:)).
|
|
920
|
+
*/
|
|
921
|
+
export const accessibilityAddTraits = (traits: AccessibilityTrait[]) =>
|
|
922
|
+
createModifier('accessibilityAddTraits', { traits });
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Removes the given accessibility traits from the view.
|
|
926
|
+
* @param traits - The accessibility traits to remove. `isToggle` and `isTabBar` require iOS 17+ and are ignored on older systems.
|
|
927
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityremovetraits(_:)).
|
|
928
|
+
*/
|
|
929
|
+
export const accessibilityRemoveTraits = (traits: AccessibilityTrait[]) =>
|
|
930
|
+
createModifier('accessibilityRemoveTraits', { traits });
|
|
931
|
+
|
|
854
932
|
/**
|
|
855
933
|
* Sets layout priority for the view.
|
|
856
934
|
* @param priority - Layout priority value.
|
|
@@ -1514,6 +1592,7 @@ export type BuiltInModifier =
|
|
|
1514
1592
|
| ReturnType<typeof opacity>
|
|
1515
1593
|
| ReturnType<typeof clipShape>
|
|
1516
1594
|
| ReturnType<typeof border>
|
|
1595
|
+
| ReturnType<typeof strokeBorder>
|
|
1517
1596
|
| ReturnType<typeof scaleEffect>
|
|
1518
1597
|
| ReturnType<typeof rotationEffect>
|
|
1519
1598
|
| ReturnType<typeof rotation3DEffect>
|
|
@@ -1554,6 +1633,8 @@ export type BuiltInModifier =
|
|
|
1554
1633
|
| ReturnType<typeof accessibilityIdentifier>
|
|
1555
1634
|
| ReturnType<typeof accessibilityHidden>
|
|
1556
1635
|
| ReturnType<typeof accessibilityElement>
|
|
1636
|
+
| ReturnType<typeof accessibilityAddTraits>
|
|
1637
|
+
| ReturnType<typeof accessibilityRemoveTraits>
|
|
1557
1638
|
| ReturnType<typeof layoutPriority>
|
|
1558
1639
|
| ReturnType<typeof mask>
|
|
1559
1640
|
| ReturnType<typeof overlay>
|
package/CLAUDE.md
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# expo-ui component guidelines
|
|
2
|
-
|
|
3
|
-
expo-ui is a library of native UI components for React Native, bridging SwiftUI views on iOS and Jetpack Compose components on Android. Each platform has its own set of components exported from `@expo/ui/swift-ui` and `@expo/ui/jetpack-compose` respectively.
|
|
4
|
-
|
|
5
|
-
## Core principle
|
|
6
|
-
|
|
7
|
-
Bridge native components to JavaScript with as little abstraction as possible. Native views should be thin wrappers — no added logic, state management, or behavior beyond what the platform component provides. Everything that can be set or controlled from JavaScript should be controlled from JavaScript.
|
|
8
|
-
|
|
9
|
-
Mirror the native API shape. If the underlying SwiftUI / Compose component exposes imperative methods (e.g. SwiftUI's `ScrollViewProxy.scrollTo`, Compose's `PagerState.animateScrollToPage`), expose them as imperative methods in JS — don't paper them over with a controlled prop + sync layer just for the sake of a "React-y" API.
|
|
10
|
-
|
|
11
|
-
## Naming
|
|
12
|
-
|
|
13
|
-
- The JavaScript API must mirror the native APIs closely.
|
|
14
|
-
- Exported components must have the same name as the underlying native component (e.g. SwiftUI `TabView` -> export `TabView`, Jetpack Compose `HorizontalPager` -> export `HorizontalPager`).
|
|
15
|
-
- Don't turn native-layer modifiers into props in the JS layer — modifiers stay as modifiers.
|
|
16
|
-
- Use `export function ComponentName` (the dominant pattern in this codebase). Use `export const` only for non-component values like modifiers or constants. Avoid the `export { LocalName as ExportName }` rename pattern unless the local name must differ.
|
|
17
|
-
- Props, constants, and enum values must use the same names as the native API. If SwiftUI calls it `scrollEnabled`, the JS prop is `scrollEnabled`. If Compose calls it `userScrollEnabled`, the JS prop is `userScrollEnabled`.
|
|
18
|
-
- Ensure components have the correct display name in React DevTools. Either name the function directly (e.g. `function TabView`) or set `.displayName`.
|
|
19
|
-
|
|
20
|
-
## Props and events
|
|
21
|
-
|
|
22
|
-
- Include JSDoc for every supported prop.
|
|
23
|
-
- Events follow the expo-ui `ViewEvent` pattern: the public JS callback receives unwrapped values (e.g. `onPageSelected?: (position: number) => void`), and the component internally adapts to/from the native event shape.
|
|
24
|
-
|
|
25
|
-
## Native code
|
|
26
|
-
|
|
27
|
-
- Expose all configurable properties of the underlying native component as props. Don't hardcode values that the user might want to change.
|
|
28
|
-
- Use `@Field` (iOS) and data class fields (Android) for props, `EventDispatcher` for events, and `AsyncFunction` for imperative methods when unavoidable.
|
|
29
|
-
|
|
30
|
-
## File structure
|
|
31
|
-
|
|
32
|
-
- iOS (SwiftUI): `packages/expo-ui/ios/<ComponentName>/<ComponentName>View.swift` (or `ios/<ComponentName>View.swift` for simple components)
|
|
33
|
-
- Android (Compose): `packages/expo-ui/android/src/main/java/expo/modules/ui/<ComponentName>View.kt`
|
|
34
|
-
- TypeScript (SwiftUI): `packages/expo-ui/src/swift-ui/<ComponentName>/index.tsx`
|
|
35
|
-
- TypeScript (Compose): `packages/expo-ui/src/jetpack-compose/<ComponentName>/index.tsx`
|
|
36
|
-
- Register views in `ios/ExpoUIModule.swift` and `android/.../ExpoUIModule.kt`
|
|
37
|
-
- Export from `src/swift-ui/index.tsx` and `src/jetpack-compose/index.ts`
|
|
38
|
-
|
|
39
|
-
## Example screens
|
|
40
|
-
|
|
41
|
-
For every component added, create example screens in NCL (native-component-list):
|
|
42
|
-
|
|
43
|
-
- `apps/native-component-list/src/screens/UI/<ComponentName>Screen.ios.tsx` — imports from `@expo/ui/swift-ui`
|
|
44
|
-
- `apps/native-component-list/src/screens/UI/<ComponentName>Screen.android.tsx` — imports from `@expo/ui/jetpack-compose`
|
|
45
|
-
- Register in both `UIScreen.ios.tsx` and `UIScreen.android.tsx`
|
|
46
|
-
- Keep the minimum set of examples needed to cover available features.
|
|
47
|
-
|
|
48
|
-
## Before committing
|
|
49
|
-
|
|
50
|
-
1. Run `pnpm build` in the package directory — the `build/` output must be committed alongside source changes. CI will fail otherwise.
|
|
51
|
-
2. Run `pnpm lint --max-warnings 0`.
|
|
52
|
-
3. Add a changelog entry to `CHANGELOG.md` under the "Unpublished" section.
|
|
53
|
-
4. When adding a new component, add documentation for it. When adding a new feature to an existing component, update its documentation accordingly. Docs are MDX files in `docs/pages/versions/unversioned/sdk/ui/swift-ui/` and `docs/pages/versions/unversioned/sdk/ui/jetpack-compose/`.
|
|
54
|
-
5. Regenerate API docs data by running `et gdad -p @expo/ui`. If the change is to be cherry-picked to an already-released SDK version, also run `et gdad -p @expo/ui -s <version>` (e.g. `et gdad -p @expo/ui -s 55` for SDK 55). Changes are very likely to be picked to the latest stable of expo-ui (`npm view @expo/ui version`).
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Contributing to `@expo/ui`
|
|
2
|
-
|
|
3
|
-
`@expo/ui` maps native UI frameworks (SwiftUI on iOS, Jetpack Compose on Android) to React Native.
|
|
4
|
-
|
|
5
|
-
## Before opening a PR
|
|
6
|
-
|
|
7
|
-
- [ ] Rebuilt JS output: `yarn build` (from `packages/expo-ui/`) and committed the `build/` output.
|
|
8
|
-
|
|
9
|
-
### When adding or updating a component
|
|
10
|
-
|
|
11
|
-
- [ ] Added an example to the relevant screen in `apps/native-component-list/src/screens/UI/`
|
|
12
|
-
- [ ] Regenerated docs (from repo root): `et gdad -p "expo-ui/swift-ui/<component>"` and/or `et gdad -p "expo-ui/jetpack-compose/<component>"`
|
|
13
|
-
- [ ] Added an example in the relevant docs page
|
|
14
|
-
|
|
15
|
-
### When adding or updating a modifier
|
|
16
|
-
|
|
17
|
-
- [ ] Added an example to the relevant screen in `apps/native-component-list/src/screens/UI/`
|
|
18
|
-
- [ ] Regenerated docs (from repo root): `et gdad -p "expo-ui/swift-ui/modifiers"` and/or `et gdad -p "expo-ui/jetpack-compose/modifiers"`
|
|
19
|
-
|
|
20
|
-
## Project structure
|
|
21
|
-
|
|
22
|
-
- `packages/expo-ui/ios/` - Swift/SwiftUI source files
|
|
23
|
-
- `packages/expo-ui/android/` - Kotlin/Jetpack Compose source files
|
|
24
|
-
- `packages/expo-ui/src/swift-ui/` - TypeScript components and types for the SwiftUI side
|
|
25
|
-
- `packages/expo-ui/src/jetpack-compose/` - TypeScript components and types for the Compose side
|
|
26
|
-
|
|
27
|
-
## General guidelines
|
|
28
|
-
|
|
29
|
-
- **Match the native APIs** — prop names, types, and behavior should mirror their SwiftUI / Jetpack Compose counterparts as closely as possible.
|
|
30
|
-
- **Reuse existing types** — before creating a new Record or TypeScript type, check if one already exists.
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7c77641ec8c15008e5de5ed45edc297a
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c04489caf2ca7c67fc832754db3104bae413a5ec
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7e1da2f45cc14719aadb3140a9ecc633c0067dc677306239108fc71872d4b279
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.module.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8ed671e9e1066ef628efa8e2e0ba64c9d9a7cecb683456b8d549e151ff176b2551e36fb472ca0ef3b5f255ba07e27c0a6f7bd538570550aaf84c971b58e65c66
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
19d0063c72168d8cf738524db93c42f0
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4dc9ea8122aeafd312326362cf9be1b0e12b1775
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
22cad6d5c51f701664d9e4a8361b100fdedbfb5072b6fe00214117d0102b4a1a
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.2/expo.modules.ui-57.0.2.pom.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
91de5ead9523ea53d7f3894b0f0366b2b36c369a19fb9aa924cf0025c07299e633795e2a59c31db867a8b406ef5b24def233fa80ffab624a5fb183432397ec55
|
|
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
|