@expo/ui 56.0.15 → 56.0.16
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 +25 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/ExpoUIModule.kt +14 -0
- package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +45 -0
- package/android/src/main/java/expo/modules/ui/NavigationBarView.kt +95 -0
- package/android/src/main/java/expo/modules/ui/TextFieldView.kt +34 -24
- package/build/jetpack-compose/NavigationBar/index.d.ts +101 -0
- package/build/jetpack-compose/NavigationBar/index.d.ts.map +1 -0
- package/build/jetpack-compose/index.d.ts +1 -0
- package/build/jetpack-compose/index.d.ts.map +1 -1
- package/build/jetpack-compose/modifiers/index.d.ts +31 -0
- package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
- package/build/swift-ui/DisclosureGroup/index.d.ts +11 -2
- package/build/swift-ui/DisclosureGroup/index.d.ts.map +1 -1
- package/build/swift-ui/Image/index.d.ts +4 -0
- package/build/swift-ui/Image/index.d.ts.map +1 -1
- package/build/swift-ui/Label/index.d.ts +5 -0
- package/build/swift-ui/Label/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +68 -1
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/build/universal/Collapsible/index.android.d.ts +1 -1
- package/build/universal/Collapsible/index.android.d.ts.map +1 -1
- package/build/universal/Collapsible/index.d.ts +1 -1
- package/build/universal/Collapsible/index.d.ts.map +1 -1
- package/build/universal/Collapsible/index.ios.d.ts +1 -1
- package/build/universal/Collapsible/index.ios.d.ts.map +1 -1
- package/build/universal/Collapsible/types.d.ts +5 -0
- package/build/universal/Collapsible/types.d.ts.map +1 -1
- package/build/universal/TextInput/index.android.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/BottomSheetView.swift +1 -1
- package/ios/DisclosureGroupView.swift +36 -13
- package/ios/ImageView.swift +19 -9
- package/ios/Label.swift +26 -2
- package/ios/Modifiers/ButtonBorderShapeModifier.swift +46 -0
- package/ios/Modifiers/DynamicTypeSizeModifier.swift +56 -0
- package/ios/Modifiers/FontModifier.swift +4 -1
- package/ios/Modifiers/ViewModifierRegistry.swift +57 -8
- package/ios/SecureFieldView.swift +17 -1
- package/ios/TextFieldView.swift +33 -2
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.15/expo.modules.ui-56.0.15-sources.jar → 56.0.16/expo.modules.ui-56.0.16-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.15/expo.modules.ui-56.0.15.module → 56.0.16/expo.modules.ui-56.0.16.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.15/expo.modules.ui-56.0.15.pom → 56.0.16/expo.modules.ui-56.0.16.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.16/expo.modules.ui-56.0.16.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 +4 -4
- package/src/State/useNativeState.ts +0 -8
- package/src/community/segmented-control/SegmentedControl.ios.tsx +1 -1
- package/src/jetpack-compose/NavigationBar/index.tsx +174 -0
- package/src/jetpack-compose/index.ts +1 -0
- package/src/jetpack-compose/modifiers/index.ts +36 -0
- package/src/swift-ui/DisclosureGroup/index.tsx +14 -2
- package/src/swift-ui/Image/index.tsx +4 -0
- package/src/swift-ui/Label/index.tsx +8 -1
- package/src/swift-ui/modifiers/index.ts +101 -0
- package/src/universal/Collapsible/index.android.tsx +10 -2
- package/src/universal/Collapsible/index.ios.tsx +17 -3
- package/src/universal/Collapsible/index.tsx +8 -2
- package/src/universal/Collapsible/types.ts +7 -0
- package/src/universal/TextInput/index.android.tsx +31 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.15/expo.modules.ui-56.0.15.pom.sha512 +0 -1
|
@@ -423,6 +423,13 @@ export declare const grayscale: (amount: number) => ModifierConfig;
|
|
|
423
423
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/buttonstyle(_:)).
|
|
424
424
|
*/
|
|
425
425
|
export declare const buttonStyle: (style: "automatic" | "bordered" | "borderedProminent" | "borderless" | "glass" | "glassProminent" | "plain") => ModifierConfig;
|
|
426
|
+
/**
|
|
427
|
+
* Sets the border shape used by buttons within this view.
|
|
428
|
+
* @param shape - The button border shape.
|
|
429
|
+
* @param cornerRadius - Corner radius, only used with `'roundedRectangle'`.
|
|
430
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/buttonbordershape(_:)).
|
|
431
|
+
*/
|
|
432
|
+
export declare const buttonBorderShape: (shape: "automatic" | "capsule" | "roundedRectangle" | "circle", cornerRadius?: number) => ModifierConfig;
|
|
426
433
|
/**
|
|
427
434
|
* Sets the style for toggles within this view.
|
|
428
435
|
* @param style - The toggle style.
|
|
@@ -560,6 +567,25 @@ export declare const accessibilityHint: (hint: string) => ModifierConfig;
|
|
|
560
567
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityvalue(_:)).
|
|
561
568
|
*/
|
|
562
569
|
export declare const accessibilityValue: (value: string) => ModifierConfig;
|
|
570
|
+
/**
|
|
571
|
+
* Sets an accessibility identifier for the view.
|
|
572
|
+
*
|
|
573
|
+
* Unlike `accessibilityLabel`, this value is for UI testing and is not visible
|
|
574
|
+
* to the user. UI testing tools such as XCUITest read it to locate the view, so
|
|
575
|
+
* prefer a stable, machine-readable identifier here.
|
|
576
|
+
* @param identifier - The accessibility identifier used for UI testing.
|
|
577
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityidentifier(_:)).
|
|
578
|
+
*/
|
|
579
|
+
export declare const accessibilityIdentifier: (identifier: string) => ModifierConfig;
|
|
580
|
+
/**
|
|
581
|
+
* Marks the view as decoratively-named so VoiceOver and other assistive
|
|
582
|
+
* technologies skip it during element traversal. Useful for hero icons or
|
|
583
|
+
* presentational imagery that's already described by adjacent text.
|
|
584
|
+
*
|
|
585
|
+
* @param hidden - Whether the view should be hidden from accessibility. Defaults to `true`.
|
|
586
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/accessibilityhidden(_:)).
|
|
587
|
+
*/
|
|
588
|
+
export declare const accessibilityHidden: (hidden?: boolean) => ModifierConfig;
|
|
563
589
|
/**
|
|
564
590
|
* Sets layout priority for the view.
|
|
565
591
|
* @param priority - Layout priority value.
|
|
@@ -645,6 +671,13 @@ export declare const listRowBackground: (color: Color) => ModifierConfig;
|
|
|
645
671
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/listrowseparator(_:edges:)).
|
|
646
672
|
*/
|
|
647
673
|
export declare const listRowSeparator: (visibility: "automatic" | "visible" | "hidden", edges?: "all" | "top" | "bottom") => ModifierConfig;
|
|
674
|
+
/**
|
|
675
|
+
* Sets the vertical spacing between adjacent rows in a list.
|
|
676
|
+
* @param spacing - The spacing value to use. When omitted, the default spacing is used.
|
|
677
|
+
* @platform ios 15.0+
|
|
678
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/listrowspacing(_:)).
|
|
679
|
+
*/
|
|
680
|
+
export declare const listRowSpacing: (spacing?: number) => ModifierConfig;
|
|
648
681
|
/**
|
|
649
682
|
* Sets the truncation mode for lines of text that are too long to fit in the available space.
|
|
650
683
|
* @param mode - The truncation mode that specifies where to truncate the text within the text view, if needed.
|
|
@@ -816,6 +849,40 @@ export declare const font: (params: {
|
|
|
816
849
|
*/
|
|
817
850
|
textStyle?: "largeTitle" | "title" | "title2" | "title3" | "headline" | "subheadline" | "body" | "callout" | "footnote" | "caption" | "caption2";
|
|
818
851
|
}) => ModifierConfig;
|
|
852
|
+
/**
|
|
853
|
+
* A standard size for Dynamic Type, from `xSmall` through the five
|
|
854
|
+
* `accessibility` sizes. Mirrors SwiftUI's `DynamicTypeSize`.
|
|
855
|
+
*/
|
|
856
|
+
export type DynamicTypeSizeValue = 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge' | 'accessibility1' | 'accessibility2' | 'accessibility3' | 'accessibility4' | 'accessibility5';
|
|
857
|
+
/**
|
|
858
|
+
* Sets or constrains the Dynamic Type size within the view, overriding the
|
|
859
|
+
* value inherited from the system.
|
|
860
|
+
*
|
|
861
|
+
* Four variants matching SwiftUI's `dynamicTypeSize(_:)`:
|
|
862
|
+
* - `dynamicTypeSize('large')` — fixes the Dynamic Type size to a single value
|
|
863
|
+
* - `dynamicTypeSize({ max: 'accessibility3' })` — caps growth at a ceiling (`...accessibility3`)
|
|
864
|
+
* - `dynamicTypeSize({ min: 'large' })` — sets a floor (`large...`)
|
|
865
|
+
* - `dynamicTypeSize({ min: 'large', max: 'accessibility3' })` — clamps to a range (`large...accessibility3`)
|
|
866
|
+
*
|
|
867
|
+
* `min` and `max` are independent: pass either or both. Set it on a `<Host>` to
|
|
868
|
+
* cascade the constraint to every descendant through the SwiftUI environment.
|
|
869
|
+
* Keep `min` at or below `max`, or the range traps natively, like SwiftUI.
|
|
870
|
+
* Per Apple's guidance, prefer capping at an accessibility size over disabling
|
|
871
|
+
* Dynamic Type entirely.
|
|
872
|
+
*
|
|
873
|
+
* @example
|
|
874
|
+
* ```tsx
|
|
875
|
+
* // Cap how large text in a tight layout can grow
|
|
876
|
+
* <Host modifiers={[dynamicTypeSize({ max: 'accessibility3' })]}>...</Host>
|
|
877
|
+
* ```
|
|
878
|
+
*
|
|
879
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/dynamictypesize(_:)).
|
|
880
|
+
*/
|
|
881
|
+
export declare function dynamicTypeSize(size: DynamicTypeSizeValue): ModifierConfig;
|
|
882
|
+
export declare function dynamicTypeSize(range: {
|
|
883
|
+
min?: DynamicTypeSizeValue;
|
|
884
|
+
max?: DynamicTypeSizeValue;
|
|
885
|
+
}): ModifierConfig;
|
|
819
886
|
/**
|
|
820
887
|
* Asks grid layouts not to offer the view extra size in the specified axes.
|
|
821
888
|
* @param axes - The dimensions in which the grid shouldn’t offer the view a share of any available space. This prevents a flexible view like a Spacer, Divider, or Color from defining the size of a row or column.
|
|
@@ -969,7 +1036,7 @@ export declare const resizable: (capInsets?: {
|
|
|
969
1036
|
* This provides type safety for the modifiers array.
|
|
970
1037
|
* @hidden
|
|
971
1038
|
*/
|
|
972
|
-
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 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 toggleStyle> | ReturnType<typeof controlSize> | ReturnType<typeof labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | 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 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 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 containerBackground>;
|
|
1039
|
+
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 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 labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | ReturnType<typeof accessibilityIdentifier> | ReturnType<typeof accessibilityHidden> | 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 containerBackground>;
|
|
973
1040
|
/**
|
|
974
1041
|
* Main ViewModifier type that supports both built-in and 3rd party modifiers.
|
|
975
1042
|
* 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,2BAA2B,EAAE,SAAS,EAAE,MAAM,WAAW,CA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/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,SAAS,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,kCAAkC,EAClC,sBAAsB,GACvB,MAAM,mBAAmB,CAAC"}
|
|
@@ -3,6 +3,6 @@ import type { CollapsibleProps } from './types';
|
|
|
3
3
|
* Android implementation of `Collapsible`.
|
|
4
4
|
* A rounded M3 card whose container tint fades between `transparent` (collapsed) and `surfaceContainer` (expanded).
|
|
5
5
|
*/
|
|
6
|
-
export declare function Collapsible({ isOpen, onOpenChange, label, children }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function Collapsible({ isOpen, onOpenChange, label, labelStyle, children, }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
8
8
|
//# sourceMappingURL=index.android.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.android.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/index.android.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAYhD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"index.android.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/index.android.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAYhD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,YAAY,EACZ,KAAU,EACV,UAAU,EACV,QAAQ,GACT,EAAE,gBAAgB,2CAkClB;AAED,cAAc,SAAS,CAAC"}
|
|
@@ -3,6 +3,6 @@ import type { CollapsibleProps } from './types';
|
|
|
3
3
|
* A primitive that toggles visibility of its content via a labelled tappable
|
|
4
4
|
* header. Controlled via `isOpen` + `onOpenChange`.
|
|
5
5
|
*/
|
|
6
|
-
export declare function Collapsible({ isOpen, onOpenChange, label, children }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function Collapsible({ isOpen, onOpenChange, label, labelStyle, children, }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAUhD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAUhD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,YAAY,EACZ,KAAU,EACV,UAAU,EACV,QAAQ,GACT,EAAE,gBAAgB,2CAmBlB;AA0BD,cAAc,SAAS,CAAC"}
|
|
@@ -2,6 +2,6 @@ import type { CollapsibleProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* iOS implementation of `Collapsible`. Wraps SwiftUI's `DisclosureGroup`.
|
|
4
4
|
*/
|
|
5
|
-
export declare function Collapsible({ isOpen, onOpenChange, label, children }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function Collapsible({ isOpen, onOpenChange, label, labelStyle, children, }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
7
7
|
//# sourceMappingURL=index.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.ios.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/index.ios.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.ios.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/index.ios.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,YAAY,EACZ,KAAU,EACV,UAAU,EACV,QAAQ,GACT,EAAE,gBAAgB,2CAalB;AAED,cAAc,SAAS,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UniversalTextStyle } from '../Text/types';
|
|
1
2
|
/**
|
|
2
3
|
* Props for the [`Collapsible`](#collapsible) component, a primitive that
|
|
3
4
|
* shows or hides its content with a tap on a labelled header.
|
|
@@ -15,6 +16,10 @@ export interface CollapsibleProps {
|
|
|
15
16
|
* Text rendered in the tappable header.
|
|
16
17
|
*/
|
|
17
18
|
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Text-specific styling for the tappable header label.
|
|
21
|
+
*/
|
|
22
|
+
labelStyle?: UniversalTextStyle;
|
|
18
23
|
/**
|
|
19
24
|
* Content rendered when `isOpen` is `true`.
|
|
20
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/universal/Collapsible/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.android.d.ts","sourceRoot":"","sources":["../../../src/universal/TextInput/index.android.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.android.d.ts","sourceRoot":"","sources":["../../../src/universal/TextInput/index.android.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAqC9C,wBAAgB,SAAS,CAAC,EACxB,GAAG,EACH,KAAK,EACL,YAAY,EACZ,WAAW,EACX,SAAS,EACT,QAAQ,EAAE,YAAY,EACtB,SAAS,EACT,YAAY,EAAE,gBAAgB,EAC9B,cAAc,EACd,WAAW,EACX,aAAa,EAAE,iBAAiB,EAChC,eAAe,EACf,OAAO,EACP,MAAM,EACN,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,aAAa,EAAE,iBAAiB,EAChC,IAAI,EACJ,qBAAqB,EACrB,MAAM,EACN,oBAAoB,EACpB,SAAS,EACT,KAAK,EACL,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,SAAS,EACT,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB,SAAS,EAAE,aAAa,GACzB,EAAE,cAAc,2CA8JhB;AAED,cAAc,SAAS,CAAC"}
|
package/expo-module.config.json
CHANGED
|
@@ -76,7 +76,7 @@ struct BottomSheetView: ExpoSwiftUI.View {
|
|
|
76
76
|
onSizeChange: handleSizeChange
|
|
77
77
|
)
|
|
78
78
|
if #available(iOS 16.0, tvOS 16.0, *) {
|
|
79
|
-
content.presentationDetents([.height(childrenSize.height)])
|
|
79
|
+
content.presentationDetents(childrenSize.height > 0 ? [.height(childrenSize.height)] : [.medium])
|
|
80
80
|
} else {
|
|
81
81
|
content
|
|
82
82
|
}
|
|
@@ -4,7 +4,7 @@ import SwiftUI
|
|
|
4
4
|
import ExpoModulesCore
|
|
5
5
|
|
|
6
6
|
internal final class DisclosureGroupViewProps: UIBaseViewProps {
|
|
7
|
-
@Field var label: String
|
|
7
|
+
@Field var label: String?
|
|
8
8
|
@Field var isExpanded: Bool = true
|
|
9
9
|
var onIsExpandedChange = EventDispatcher()
|
|
10
10
|
}
|
|
@@ -17,19 +17,42 @@ internal struct DisclosureGroupView: ExpoSwiftUI.View {
|
|
|
17
17
|
#if os(tvOS)
|
|
18
18
|
Text("DisclosureGroupView is not supported on tvOS")
|
|
19
19
|
#else
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
disclosureGroup
|
|
21
|
+
.onChange(of: isExpanded) { newValue in
|
|
22
|
+
if newValue == props.isExpanded { return }
|
|
23
|
+
props.onIsExpandedChange(["isExpanded": newValue])
|
|
24
|
+
}
|
|
25
|
+
.onChange(of: props.isExpanded) { newValue in
|
|
26
|
+
isExpanded = newValue
|
|
27
|
+
}
|
|
28
|
+
.onAppear {
|
|
29
|
+
isExpanded = props.isExpanded
|
|
30
|
+
}
|
|
31
|
+
#endif
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#if !os(tvOS)
|
|
35
|
+
@ViewBuilder
|
|
36
|
+
private var disclosureGroup: some View {
|
|
37
|
+
if let labelContent = props.children?.slot("label") {
|
|
38
|
+
DisclosureGroup(isExpanded: $isExpanded) {
|
|
39
|
+
childrenWithoutLabel
|
|
40
|
+
} label: {
|
|
41
|
+
labelContent
|
|
42
|
+
}
|
|
43
|
+
} else {
|
|
44
|
+
DisclosureGroup(props.label ?? "", isExpanded: $isExpanded) {
|
|
45
|
+
Children()
|
|
46
|
+
}
|
|
29
47
|
}
|
|
30
|
-
|
|
31
|
-
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@ViewBuilder
|
|
51
|
+
private var childrenWithoutLabel: some View {
|
|
52
|
+
ForEach(props.children?.withoutSlot("label") ?? [], id: \.id) { child in
|
|
53
|
+
let view: any View = child.childView
|
|
54
|
+
AnyView(view)
|
|
32
55
|
}
|
|
33
|
-
#endif
|
|
34
56
|
}
|
|
57
|
+
#endif
|
|
35
58
|
}
|
package/ios/ImageView.swift
CHANGED
|
@@ -6,6 +6,7 @@ import ExpoModulesCore
|
|
|
6
6
|
public final class ImageViewProps: UIBaseViewProps {
|
|
7
7
|
@Field var uiImage: String?
|
|
8
8
|
@Field var systemName: String?
|
|
9
|
+
@Field var assetName: String?
|
|
9
10
|
@Field var size: Double?
|
|
10
11
|
@Field var color: Color?
|
|
11
12
|
@Field var variableValue: Double?
|
|
@@ -20,17 +21,26 @@ public struct ImageView: ExpoSwiftUI.View {
|
|
|
20
21
|
self.props = props
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
public var body: some View {
|
|
24
|
+
private var symbolImage: Image? {
|
|
25
25
|
if let systemName = props.systemName {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
if #available(iOS 16.0, tvOS 16.0, *) {
|
|
27
|
+
return Image(systemName: systemName, variableValue: props.variableValue)
|
|
28
|
+
}
|
|
29
|
+
return Image(systemName: systemName)
|
|
30
|
+
}
|
|
31
|
+
if let assetName = props.assetName {
|
|
32
|
+
if #available(iOS 16.0, tvOS 16.0, *) {
|
|
33
|
+
return Image(assetName, variableValue: props.variableValue)
|
|
34
|
+
}
|
|
35
|
+
return Image(assetName)
|
|
36
|
+
}
|
|
37
|
+
return nil
|
|
38
|
+
}
|
|
32
39
|
|
|
33
|
-
|
|
40
|
+
@ViewBuilder
|
|
41
|
+
public var body: some View {
|
|
42
|
+
if let symbolImage {
|
|
43
|
+
symbolImage
|
|
34
44
|
.font(.system(size: CGFloat(props.size ?? 24)))
|
|
35
45
|
.foregroundColor(props.color)
|
|
36
46
|
.applyOnTapGesture(useTapGesture: props.useTapGesture, eventDispatcher: props.onTap)
|
package/ios/Label.swift
CHANGED
|
@@ -16,7 +16,27 @@ public struct LabelView: ExpoSwiftUI.View {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
public var body: some View {
|
|
19
|
-
if let
|
|
19
|
+
if let customTitle {
|
|
20
|
+
if let customIcon {
|
|
21
|
+
Label {
|
|
22
|
+
customTitle
|
|
23
|
+
} icon: {
|
|
24
|
+
customIcon
|
|
25
|
+
}
|
|
26
|
+
} else if let systemImage = props.systemImage {
|
|
27
|
+
Label {
|
|
28
|
+
customTitle
|
|
29
|
+
} icon: {
|
|
30
|
+
Image(systemName: systemImage)
|
|
31
|
+
}
|
|
32
|
+
} else {
|
|
33
|
+
Label {
|
|
34
|
+
customTitle
|
|
35
|
+
} icon: {
|
|
36
|
+
EmptyView()
|
|
37
|
+
}.labelStyle(.titleOnly)
|
|
38
|
+
}
|
|
39
|
+
} else if let title = props.title {
|
|
20
40
|
if let customIcon {
|
|
21
41
|
Label {
|
|
22
42
|
Text(title)
|
|
@@ -31,7 +51,11 @@ public struct LabelView: ExpoSwiftUI.View {
|
|
|
31
51
|
}
|
|
32
52
|
}
|
|
33
53
|
|
|
54
|
+
private var customTitle: SlotView? {
|
|
55
|
+
props.children?.slot("title")
|
|
56
|
+
}
|
|
57
|
+
|
|
34
58
|
private var customIcon: SlotView? {
|
|
35
59
|
props.children?.slot("icon")
|
|
36
60
|
}
|
|
37
|
-
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import SwiftUI
|
|
5
|
+
|
|
6
|
+
internal enum ButtonBorderShapeType: String, Enumerable {
|
|
7
|
+
case automatic
|
|
8
|
+
case capsule
|
|
9
|
+
case roundedRectangle
|
|
10
|
+
case circle
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
internal struct ButtonBorderShapeModifier: ViewModifier, Record {
|
|
14
|
+
@Field var shape: ButtonBorderShapeType = .automatic
|
|
15
|
+
@Field var cornerRadius: CGFloat?
|
|
16
|
+
|
|
17
|
+
@ViewBuilder
|
|
18
|
+
func body(content: Content) -> some View {
|
|
19
|
+
switch shape {
|
|
20
|
+
case .automatic:
|
|
21
|
+
content.buttonBorderShape(.automatic)
|
|
22
|
+
case .capsule:
|
|
23
|
+
if #available(iOS 15.0, macOS 14.0, tvOS 17.0, *) {
|
|
24
|
+
content.buttonBorderShape(.capsule)
|
|
25
|
+
} else {
|
|
26
|
+
content.buttonBorderShape(.automatic)
|
|
27
|
+
}
|
|
28
|
+
case .roundedRectangle:
|
|
29
|
+
if #available(iOS 15.0, macOS 14.0, tvOS 17.0, *) {
|
|
30
|
+
if let cornerRadius {
|
|
31
|
+
content.buttonBorderShape(.roundedRectangle(radius: cornerRadius))
|
|
32
|
+
} else {
|
|
33
|
+
content.buttonBorderShape(.roundedRectangle)
|
|
34
|
+
}
|
|
35
|
+
} else {
|
|
36
|
+
content.buttonBorderShape(.automatic)
|
|
37
|
+
}
|
|
38
|
+
case .circle:
|
|
39
|
+
if #available(iOS 17.0, macOS 14.0, tvOS 16.4, *) {
|
|
40
|
+
content.buttonBorderShape(.circle)
|
|
41
|
+
} else {
|
|
42
|
+
content.buttonBorderShape(.automatic)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import SwiftUI
|
|
5
|
+
|
|
6
|
+
internal enum DynamicTypeSizeType: String, Enumerable {
|
|
7
|
+
case xSmall
|
|
8
|
+
case small
|
|
9
|
+
case medium
|
|
10
|
+
case large
|
|
11
|
+
case xLarge
|
|
12
|
+
case xxLarge
|
|
13
|
+
case xxxLarge
|
|
14
|
+
case accessibility1
|
|
15
|
+
case accessibility2
|
|
16
|
+
case accessibility3
|
|
17
|
+
case accessibility4
|
|
18
|
+
case accessibility5
|
|
19
|
+
|
|
20
|
+
func toSwiftUI() -> SwiftUI.DynamicTypeSize {
|
|
21
|
+
switch self {
|
|
22
|
+
case .xSmall: .xSmall
|
|
23
|
+
case .small: .small
|
|
24
|
+
case .medium: .medium
|
|
25
|
+
case .large: .large
|
|
26
|
+
case .xLarge: .xLarge
|
|
27
|
+
case .xxLarge: .xxLarge
|
|
28
|
+
case .xxxLarge: .xxxLarge
|
|
29
|
+
case .accessibility1: .accessibility1
|
|
30
|
+
case .accessibility2: .accessibility2
|
|
31
|
+
case .accessibility3: .accessibility3
|
|
32
|
+
case .accessibility4: .accessibility4
|
|
33
|
+
case .accessibility5: .accessibility5
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
internal struct DynamicTypeSizeModifier: ViewModifier, Record {
|
|
39
|
+
@Field var size: DynamicTypeSizeType?
|
|
40
|
+
@Field var min: DynamicTypeSizeType?
|
|
41
|
+
@Field var max: DynamicTypeSizeType?
|
|
42
|
+
|
|
43
|
+
func body(content: Content) -> some View {
|
|
44
|
+
if let size {
|
|
45
|
+
content.dynamicTypeSize(size.toSwiftUI())
|
|
46
|
+
} else if let min, let max {
|
|
47
|
+
content.dynamicTypeSize(min.toSwiftUI()...max.toSwiftUI())
|
|
48
|
+
} else if let max {
|
|
49
|
+
content.dynamicTypeSize(...max.toSwiftUI())
|
|
50
|
+
} else if let min {
|
|
51
|
+
content.dynamicTypeSize(min.toSwiftUI()...)
|
|
52
|
+
} else {
|
|
53
|
+
content
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -86,7 +86,10 @@ internal struct FontModifier: ViewModifier, Record {
|
|
|
86
86
|
content.font(resolveFont())
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
// Shared so the Text-concatenation path (`applyTextModifier`) resolves the
|
|
90
|
+
// same `Font` as the view path, instead of a fixed-size `Font.custom` that
|
|
91
|
+
// drops `relativeTo` (Dynamic Type) and `weight`.
|
|
92
|
+
func resolveFont() -> Font {
|
|
90
93
|
if let family = family {
|
|
91
94
|
let baseSize = size ?? 17
|
|
92
95
|
var font: Font = if let textStyle = textStyle {
|