@expo/ui 55.0.0 → 55.0.2
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 +33 -0
- package/CONTRIBUTING.md +30 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/DatePickerView.kt +90 -7
- package/android/src/main/java/expo/modules/ui/HorizontalFloatingToolbarView.kt +21 -8
- package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +105 -39
- package/android/src/main/java/expo/modules/ui/RNHostView.kt +204 -50
- package/android/src/main/java/expo/modules/ui/SwitchView.kt +70 -4
- package/android/src/main/java/expo/modules/ui/button/IconButton.kt +7 -1
- package/android/src/main/java/expo/modules/ui/convertibles/AnimatableFloat.kt +26 -0
- package/android/src/main/java/expo/modules/ui/convertibles/AnimationSpecParams.kt +93 -0
- package/android/src/main/java/expo/modules/ui/convertibles/GraphicsLayerParams.kt +24 -0
- package/build/jetpack-compose/Box/index.d.ts +14 -0
- package/build/jetpack-compose/Box/index.d.ts.map +1 -0
- package/build/jetpack-compose/Column/index.d.ts +22 -0
- package/build/jetpack-compose/Column/index.d.ts.map +1 -0
- package/build/jetpack-compose/DatePicker/index.d.ts +99 -0
- package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
- package/build/jetpack-compose/FlowRow/index.d.ts +14 -0
- package/build/jetpack-compose/FlowRow/index.d.ts.map +1 -0
- package/build/jetpack-compose/LazyColumn/index.d.ts +0 -3
- package/build/jetpack-compose/LazyColumn/index.d.ts.map +1 -1
- package/build/jetpack-compose/Row/index.d.ts +22 -0
- package/build/jetpack-compose/Row/index.d.ts.map +1 -0
- package/build/jetpack-compose/Spacer/index.d.ts +2 -2
- package/build/jetpack-compose/Switch/index.d.ts +18 -0
- package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
- package/build/jetpack-compose/index.d.ts +4 -1
- package/build/jetpack-compose/index.d.ts.map +1 -1
- package/build/jetpack-compose/layout-types.d.ts +26 -0
- package/build/jetpack-compose/layout-types.d.ts.map +1 -0
- package/build/jetpack-compose/layout.d.ts +5 -36
- package/build/jetpack-compose/layout.d.ts.map +1 -1
- package/build/jetpack-compose/modifiers/animation.d.ts +44 -0
- package/build/jetpack-compose/modifiers/animation.d.ts.map +1 -0
- package/build/jetpack-compose/modifiers/index.d.ts +50 -3
- package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
- package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +4 -0
- package/build/swift-ui/AccessoryWidgetBackground/index.d.ts.map +1 -0
- package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -1
- package/build/swift-ui/ContextMenu/index.d.ts.map +1 -1
- package/build/swift-ui/ControlGroup/index.d.ts +29 -0
- package/build/swift-ui/ControlGroup/index.d.ts.map +1 -0
- package/build/swift-ui/Gauge/index.d.ts.map +1 -1
- package/build/swift-ui/Image/index.d.ts +7 -1
- package/build/swift-ui/Image/index.d.ts.map +1 -1
- package/build/swift-ui/Label/index.d.ts.map +1 -1
- package/build/swift-ui/LabeledContent/index.d.ts.map +1 -1
- package/build/swift-ui/Menu/index.d.ts.map +1 -1
- package/build/swift-ui/Picker/index.d.ts.map +1 -1
- package/build/swift-ui/Popover/index.d.ts.map +1 -1
- package/build/swift-ui/Section/index.d.ts.map +1 -1
- package/build/swift-ui/Slider/index.d.ts.map +1 -1
- package/build/swift-ui/SlotView.d.ts +5 -0
- package/build/swift-ui/SlotView.d.ts.map +1 -0
- package/build/swift-ui/index.d.ts +2 -0
- package/build/swift-ui/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +38 -1
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/AccessoryWidgetBackgroundView.swift +27 -0
- package/ios/ConfirmationDialog/ConfirmationDialog.swift +3 -9
- package/ios/ConfirmationDialog/ConfirmationDialogProps.swift +0 -5
- package/ios/ContextMenu/ContextMenu.swift +27 -22
- package/ios/ContextMenu/ContextMenuRecords.swift +0 -6
- package/ios/ControlGroupView.swift +33 -0
- package/ios/ExpoUIModule.swift +10 -32
- package/ios/GaugeView.swift +4 -26
- package/ios/HostView.swift +1 -2
- package/ios/ImageView.swift +22 -11
- package/ios/Label.swift +2 -17
- package/ios/LabeledContentView.swift +3 -27
- package/ios/Menu/MenuRecords.swift +0 -2
- package/ios/Menu/MenuView.swift +2 -5
- package/ios/Modifiers/ResizableModifier.swift +24 -0
- package/ios/Modifiers/Rotation3DEffectModifier.swift +20 -0
- package/ios/Modifiers/View+ModifierArray.swift +29 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +39 -3
- package/ios/Modifiers/WidgetModifiers.swift +46 -0
- package/ios/Picker/PickerView.swift +2 -6
- package/ios/Popover/PopoverProps.swift +0 -4
- package/ios/Popover/PopoverView.swift +2 -6
- package/ios/RNHostView.swift +91 -10
- package/ios/SectionView.swift +6 -12
- package/ios/SecureFieldView.swift +0 -1
- package/ios/ShareLink/ShareLinkView.swift +1 -1
- package/ios/SliderView.swift +10 -27
- package/ios/SlotView.swift +38 -0
- package/ios/TextFieldView.swift +0 -1
- package/ios/UIBaseView.swift +34 -3
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0/expo.modules.ui-55.0.0-sources.jar → 55.0.2/expo.modules.ui-55.0.2-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0/expo.modules.ui-55.0.0.module → 55.0.2/expo.modules.ui-55.0.2.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0/expo.modules.ui-55.0.0.pom → 55.0.2/expo.modules.ui-55.0.2.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.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 +2 -2
- package/src/jetpack-compose/Box/index.tsx +26 -0
- package/src/jetpack-compose/Column/index.tsx +39 -0
- package/src/jetpack-compose/DatePicker/index.tsx +106 -2
- package/src/jetpack-compose/FlowRow/index.tsx +29 -0
- package/src/jetpack-compose/LazyColumn/index.tsx +0 -3
- package/src/jetpack-compose/Row/index.tsx +36 -0
- package/src/jetpack-compose/Spacer/index.tsx +2 -2
- package/src/jetpack-compose/Switch/index.tsx +18 -0
- package/src/jetpack-compose/index.ts +4 -1
- package/src/jetpack-compose/layout-types.ts +48 -0
- package/src/jetpack-compose/layout.tsx +5 -106
- package/src/jetpack-compose/modifiers/animation.ts +37 -0
- package/src/jetpack-compose/modifiers/index.ts +60 -4
- package/src/swift-ui/AccessoryWidgetBackground/index.tsx +12 -0
- package/src/swift-ui/ConfirmationDialog/index.tsx +4 -12
- package/src/swift-ui/ContextMenu/index.tsx +6 -20
- package/src/swift-ui/ControlGroup/index.tsx +59 -0
- package/src/swift-ui/Gauge/index.tsx +5 -20
- package/src/swift-ui/Image/index.tsx +7 -1
- package/src/swift-ui/Label/index.tsx +2 -5
- package/src/swift-ui/LabeledContent/index.tsx +3 -12
- package/src/swift-ui/Menu/index.tsx +2 -6
- package/src/swift-ui/Picker/index.tsx +4 -11
- package/src/swift-ui/Popover/index.tsx +3 -12
- package/src/swift-ui/Section/index.tsx +4 -9
- package/src/swift-ui/Slider/index.tsx +4 -12
- package/src/swift-ui/SlotView.tsx +8 -0
- package/src/swift-ui/index.tsx +2 -0
- package/src/swift-ui/modifiers/index.ts +54 -1
- package/ios/ConfirmationDialog/ConfirmationDialogComponents.swift +0 -26
- package/ios/ContextMenu/ContextMenuComponents.swift +0 -37
- package/ios/Menu/MenuComponents.swift +0 -12
- package/ios/Picker/PickerComponents.swift +0 -24
- package/ios/Popover/PopoverComponents.swift +0 -18
- package/ios/SectionComponents.swift +0 -34
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha512 +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Picker/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Picker/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,KAAK,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AACjD,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,kBAAkB,GAAG,GAAG,IAAI;IAC5D;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC;IACd;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,KAAK,IAAI,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,uBAAuB,CAAC;AA4B5B;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,kBAAkB,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,+BAgBzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Popover/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Popover/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;IACxE;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;CAChE,GAAG,uBAAuB,CAAC;AAW5B,iBAAS,cAAc,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;AAKD,wBAAgB,OAAO,CAAC,KAAK,EAAE,gBAAgB,+BAgB9C;yBAhBe,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Section/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Section/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CACpD,GAAG,uBAAuB,CAAC;AAW5B;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,+BAgB1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Slider/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Slider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD,GAAG,uBAAuB,CAAC;AAwC5B,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,+BAUxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlotView.d.ts","sourceRoot":"","sources":["../../src/swift-ui/SlotView.tsx"],"names":[],"mappings":"AAKA,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAEpF"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
export * from './AccessoryWidgetBackground';
|
|
1
2
|
export * from './BottomSheet';
|
|
2
3
|
export * from './Button';
|
|
3
4
|
export * from './Chart';
|
|
4
5
|
export * from './ColorPicker';
|
|
5
6
|
export * from './ContentUnavailableView';
|
|
6
7
|
export * from './ConfirmationDialog';
|
|
8
|
+
export * from './ControlGroup';
|
|
7
9
|
export * from './ContextMenu';
|
|
8
10
|
export * from './DatePicker';
|
|
9
11
|
export * from './Divider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,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B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -172,6 +172,20 @@ export declare const scaleEffect: (scale: number | {
|
|
|
172
172
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/rotationeffect(_:anchor:)).
|
|
173
173
|
*/
|
|
174
174
|
export declare const rotationEffect: (angle: number) => ModifierConfig;
|
|
175
|
+
/**
|
|
176
|
+
* Applies a 3D rotation transformation.
|
|
177
|
+
* @param params - The rotation parameters: `angle` (in degrees), `axis` (x, y, z), and `perspective`.
|
|
178
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/rotation3deffect(_:axis:anchor:anchorz:perspective:)).
|
|
179
|
+
*/
|
|
180
|
+
export declare const rotation3DEffect: (params: {
|
|
181
|
+
angle: number;
|
|
182
|
+
axis?: {
|
|
183
|
+
x?: number;
|
|
184
|
+
y?: number;
|
|
185
|
+
z?: number;
|
|
186
|
+
};
|
|
187
|
+
perspective?: number;
|
|
188
|
+
}) => ModifierConfig;
|
|
175
189
|
/**
|
|
176
190
|
* Applies an offset (translation) to a view.
|
|
177
191
|
* @param params - The offset parameters: `x` and `y`.
|
|
@@ -805,12 +819,35 @@ export type ListStyle = 'automatic' | 'plain' | 'inset' | 'insetGrouped' | 'grou
|
|
|
805
819
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/liststyle(_:)).
|
|
806
820
|
*/
|
|
807
821
|
export declare const listStyle: (style: ListStyle) => ModifierConfig;
|
|
822
|
+
/**
|
|
823
|
+
* Adds a luminance to alpha effect to this view.
|
|
824
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/SwiftUI/View/luminanceToAlpha()).
|
|
825
|
+
*/
|
|
826
|
+
export declare const luminanceToAlpha: () => ModifierConfig;
|
|
827
|
+
/**
|
|
828
|
+
* Sets the mode by which SwiftUI resizes an image to fit its space.
|
|
829
|
+
* @param capInsets - Inset values that indicate a portion of the image that SwiftUI doesn’t resize.
|
|
830
|
+
* @param resizingMode - The mode by which SwiftUI resizes the image.
|
|
831
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/image/resizable(capinsets:resizingmode:)).
|
|
832
|
+
*/
|
|
833
|
+
export declare const resizable: (capInsets?: {
|
|
834
|
+
top?: number;
|
|
835
|
+
bottom?: number;
|
|
836
|
+
leading?: number;
|
|
837
|
+
trailing?: number;
|
|
838
|
+
}, resizingMode?: "stretch" | "tile") => ModifierConfig;
|
|
839
|
+
/**
|
|
840
|
+
* Specifies the how to render an Image when using the WidgetKit/WidgetRenderingMode/accented mode.
|
|
841
|
+
* @param renderingMode - A constant describing how the Image should be rendered.
|
|
842
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/image/widgetaccentedrenderingmode(_:)).
|
|
843
|
+
*/
|
|
844
|
+
export declare const widgetAccentedRenderingMode: (renderingMode: "fullColor" | "accented" | "desaturated" | "accentedDesaturated") => ModifierConfig;
|
|
808
845
|
/**
|
|
809
846
|
* Union type of all built-in modifier return types.
|
|
810
847
|
* This provides type safety for the modifiers array.
|
|
811
848
|
* @hidden
|
|
812
849
|
*/
|
|
813
|
-
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 onDisappear> | ReturnType<typeof opacity> | ReturnType<typeof clipShape> | ReturnType<typeof border> | ReturnType<typeof scaleEffect> | ReturnType<typeof rotationEffect> | 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 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 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 datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition>;
|
|
850
|
+
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 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 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 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 datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition> | ReturnType<typeof resizable> | ReturnType<typeof widgetAccentedRenderingMode>;
|
|
814
851
|
/**
|
|
815
852
|
* Main ViewModifier type that supports both built-in and 3rd party modifiers.
|
|
816
853
|
* 3rd party modifiers should return ModifierConfig objects with their own type strings.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":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|
+
|
|
7
|
+
public final class AccessoryWidgetBackgroundProps: UIBaseViewProps {}
|
|
8
|
+
|
|
9
|
+
public struct AccessoryWidgetBackgroundView: ExpoSwiftUI.View {
|
|
10
|
+
@ObservedObject public var props: AccessoryWidgetBackgroundProps
|
|
11
|
+
|
|
12
|
+
public init(props: AccessoryWidgetBackgroundProps) {
|
|
13
|
+
self.props = props
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
public var body: some View {
|
|
17
|
+
#if !os(tvOS)
|
|
18
|
+
if #available(iOS 16.0, *) {
|
|
19
|
+
AccessoryWidgetBackground()
|
|
20
|
+
} else {
|
|
21
|
+
Color.clear
|
|
22
|
+
}
|
|
23
|
+
#else
|
|
24
|
+
EmptyView()
|
|
25
|
+
#endif
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -33,9 +33,7 @@ internal struct ConfirmationDialogView: ExpoSwiftUI.View {
|
|
|
33
33
|
|
|
34
34
|
@ViewBuilder
|
|
35
35
|
private var triggerContent: some View {
|
|
36
|
-
if let trigger = props.children
|
|
37
|
-
.compactMap({ $0.childView as? ConfirmationDialogTrigger })
|
|
38
|
-
.first {
|
|
36
|
+
if let trigger = props.children?.slot("trigger") {
|
|
39
37
|
trigger
|
|
40
38
|
} else {
|
|
41
39
|
EmptyView()
|
|
@@ -47,18 +45,14 @@ internal struct ConfirmationDialogView: ExpoSwiftUI.View {
|
|
|
47
45
|
|
|
48
46
|
@ViewBuilder
|
|
49
47
|
private var actionsContent: some View {
|
|
50
|
-
if let actions = props.children
|
|
51
|
-
.compactMap({ $0.childView as? ConfirmationDialogActions })
|
|
52
|
-
.first {
|
|
48
|
+
if let actions = props.children?.slot("actions") {
|
|
53
49
|
actions
|
|
54
50
|
}
|
|
55
51
|
}
|
|
56
52
|
|
|
57
53
|
@ViewBuilder
|
|
58
54
|
private var messageContent: some View {
|
|
59
|
-
if let message = props.children
|
|
60
|
-
.compactMap({ $0.childView as? ConfirmationDialogMessage })
|
|
61
|
-
.first {
|
|
55
|
+
if let message = props.children?.slot("message") {
|
|
62
56
|
message
|
|
63
57
|
}
|
|
64
58
|
}
|
|
@@ -8,8 +8,3 @@ internal final class ConfirmationDialogProps: UIBaseViewProps {
|
|
|
8
8
|
var onIsPresentedChange = EventDispatcher()
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
internal final class ConfirmationDialogTriggerProps: ExpoSwiftUI.ViewProps {}
|
|
12
|
-
|
|
13
|
-
internal final class ConfirmationDialogActionsProps: ExpoSwiftUI.ViewProps {}
|
|
14
|
-
|
|
15
|
-
internal final class ConfirmationDialogMessageProps: ExpoSwiftUI.ViewProps {}
|
|
@@ -21,33 +21,38 @@ struct ContextMenuWithPreview<ActivationElement: View, Preview: View, MenuConten
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
struct
|
|
25
|
-
|
|
24
|
+
internal struct LongPressContextMenu<ActivationElement: View, MenuContent: View>: View {
|
|
25
|
+
let activationElement: ActivationElement
|
|
26
|
+
let menuContent: MenuContent
|
|
26
27
|
|
|
27
28
|
var body: some View {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
activationElement.contextMenu(menuItems: {
|
|
30
|
+
menuContent
|
|
31
|
+
})
|
|
32
|
+
}
|
|
33
|
+
}
|
|
31
34
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.first) ?? ContextMenuContent(props: ContextMenuContentProps())
|
|
35
|
+
struct ContextMenu: ExpoSwiftUI.View {
|
|
36
|
+
@ObservedObject var props: ContextMenuProps
|
|
35
37
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
var body: some View {
|
|
39
|
+
let activationElement = props.children?.slot("trigger")
|
|
40
|
+
let menuContent = props.children?.slot("items")
|
|
41
|
+
let preview = props.children?.slot("preview")
|
|
39
42
|
|
|
40
|
-
if let
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
if let activationElement {
|
|
44
|
+
if let preview {
|
|
45
|
+
ContextMenuWithPreview(
|
|
46
|
+
activationElement: activationElement,
|
|
47
|
+
preview: preview,
|
|
48
|
+
menuContent: menuContent
|
|
49
|
+
)
|
|
50
|
+
} else {
|
|
51
|
+
LongPressContextMenu(
|
|
52
|
+
activationElement: activationElement,
|
|
53
|
+
menuContent: menuContent
|
|
54
|
+
)
|
|
55
|
+
}
|
|
51
56
|
}
|
|
52
57
|
}
|
|
53
58
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import ExpoModulesCore
|
|
2
2
|
|
|
3
3
|
internal final class ContextMenuProps: UIBaseViewProps {}
|
|
4
|
-
|
|
5
|
-
internal final class ContextMenuPreviewProps: ExpoSwiftUI.ViewProps {}
|
|
6
|
-
|
|
7
|
-
internal final class ContextMenuActivationElementProps: ExpoSwiftUI.ViewProps {}
|
|
8
|
-
|
|
9
|
-
internal final class ContextMenuContentProps: ExpoSwiftUI.ViewProps {}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Copyright 2025-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import SwiftUI
|
|
4
|
+
import ExpoModulesCore
|
|
5
|
+
|
|
6
|
+
internal final class ControlGroupViewProps: UIBaseViewProps {
|
|
7
|
+
@Field var label: String?
|
|
8
|
+
@Field var systemImage: String?
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
internal struct ControlGroupView: ExpoSwiftUI.View {
|
|
12
|
+
@ObservedObject var props: ControlGroupViewProps
|
|
13
|
+
|
|
14
|
+
var body: some View {
|
|
15
|
+
if #available(iOS 15.0, macOS 12.0, tvOS 17.0, *) {
|
|
16
|
+
if #available(iOS 16.0, macOS 13.0, tvOS 17.0, *) {
|
|
17
|
+
let labelContent = props.children?.slot("label")
|
|
18
|
+
|
|
19
|
+
if let systemImage = props.systemImage, let label = props.label {
|
|
20
|
+
ControlGroup(label, systemImage: systemImage) { Children() }
|
|
21
|
+
} else if let labelContent {
|
|
22
|
+
ControlGroup { Children() } label: { labelContent }
|
|
23
|
+
} else if let label = props.label {
|
|
24
|
+
ControlGroup(label) { Children() }
|
|
25
|
+
} else {
|
|
26
|
+
ControlGroup { Children() }
|
|
27
|
+
}
|
|
28
|
+
} else {
|
|
29
|
+
ControlGroup { Children() }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
package/ios/ExpoUIModule.swift
CHANGED
|
@@ -6,11 +6,7 @@ public final class ExpoUIModule: Module {
|
|
|
6
6
|
public func definition() -> ModuleDefinition {
|
|
7
7
|
Name("ExpoUI")
|
|
8
8
|
|
|
9
|
-
View(RNHostView.self)
|
|
10
|
-
Prop("matchContents") { (view, matchContents: Bool) in
|
|
11
|
-
view.matchContents = matchContents
|
|
12
|
-
}
|
|
13
|
-
}
|
|
9
|
+
View(RNHostView.self)
|
|
14
10
|
|
|
15
11
|
OnDestroy {
|
|
16
12
|
Task { @MainActor in
|
|
@@ -24,9 +20,9 @@ public final class ExpoUIModule: Module {
|
|
|
24
20
|
RefreshableManager.shared.completeRefresh(id: id)
|
|
25
21
|
}
|
|
26
22
|
|
|
27
|
-
// MARK: - Views with AsyncFunctions
|
|
23
|
+
// MARK: - Expo UI Views with AsyncFunctions
|
|
28
24
|
|
|
29
|
-
|
|
25
|
+
ExpoUIView(SecureFieldView.self) {
|
|
30
26
|
AsyncFunction("setText") { (view: SecureFieldView, text: String) in
|
|
31
27
|
view.setText(text)
|
|
32
28
|
}
|
|
@@ -37,7 +33,7 @@ public final class ExpoUIModule: Module {
|
|
|
37
33
|
view.focus()
|
|
38
34
|
}
|
|
39
35
|
}
|
|
40
|
-
|
|
36
|
+
ExpoUIView(TextFieldView.self) {
|
|
41
37
|
AsyncFunction("setText") { (view: TextFieldView, text: String) in
|
|
42
38
|
view.setText(text)
|
|
43
39
|
}
|
|
@@ -51,7 +47,7 @@ public final class ExpoUIModule: Module {
|
|
|
51
47
|
view.setSelection(start: start, end: end)
|
|
52
48
|
}
|
|
53
49
|
}
|
|
54
|
-
|
|
50
|
+
ExpoUIView(ShareLinkView.self) {
|
|
55
51
|
AsyncFunction("setItem") { (view: ShareLinkView, url: String?) in
|
|
56
52
|
guard let url, let validURL = URL(string: url) else {
|
|
57
53
|
view.rejectContinuation()
|
|
@@ -63,22 +59,9 @@ public final class ExpoUIModule: Module {
|
|
|
63
59
|
|
|
64
60
|
// MARK: - Views don't support common view modifiers
|
|
65
61
|
|
|
66
|
-
View(
|
|
67
|
-
View(ContextMenuPreview.self)
|
|
68
|
-
View(ContextMenuContent.self)
|
|
69
|
-
View(ConfirmationDialogTrigger.self)
|
|
70
|
-
View(ConfirmationDialogActions.self)
|
|
71
|
-
View(ConfirmationDialogMessage.self)
|
|
62
|
+
View(SlotView.self)
|
|
72
63
|
View(NamespaceView.self)
|
|
73
|
-
View(PopoverViewContent.self)
|
|
74
|
-
View(PopoverViewPopContent.self)
|
|
75
|
-
View(SectionContent.self)
|
|
76
|
-
View(SectionHeader.self)
|
|
77
|
-
View(SectionFooter.self)
|
|
78
64
|
View(GridRowView.self)
|
|
79
|
-
View(LabeledContentLabel.self)
|
|
80
|
-
View(LabeledContentContent.self)
|
|
81
|
-
View(LabelIcon.self)
|
|
82
65
|
View(HostView.self)
|
|
83
66
|
View(TextView.self)
|
|
84
67
|
|
|
@@ -93,14 +76,13 @@ public final class ExpoUIModule: Module {
|
|
|
93
76
|
ExpoUIView(ExpoUI.ContentUnavailableView.self)
|
|
94
77
|
ExpoUIView(ConfirmationDialogView.self)
|
|
95
78
|
ExpoUIView(ExpoUI.ContextMenu.self)
|
|
96
|
-
|
|
97
|
-
|
|
79
|
+
|
|
80
|
+
ExpoUIView(ControlGroupView.self)
|
|
81
|
+
|
|
98
82
|
ExpoUIView(MenuView.self)
|
|
99
|
-
View(MenuLabel.self)
|
|
100
83
|
|
|
101
84
|
ExpoUIView(FormView.self)
|
|
102
85
|
ExpoUIView(GaugeView.self)
|
|
103
|
-
View(GaugeLabelView.self)
|
|
104
86
|
ExpoUIView(GroupView.self)
|
|
105
87
|
ExpoUIView(HStackView.self)
|
|
106
88
|
ExpoUIView(ImageView.self)
|
|
@@ -108,17 +90,12 @@ public final class ExpoUIModule: Module {
|
|
|
108
90
|
ExpoUIView(ListView.self)
|
|
109
91
|
ExpoUIView(ListForEachView.self)
|
|
110
92
|
|
|
111
|
-
// Picker
|
|
112
93
|
ExpoUIView(PickerView.self)
|
|
113
|
-
View(PickerContentView.self)
|
|
114
|
-
View(PickerLabelView.self)
|
|
115
94
|
|
|
116
95
|
ExpoUIView(ExpoUI.ProgressView.self)
|
|
117
96
|
ExpoUIView(SectionView.self)
|
|
118
97
|
|
|
119
|
-
// Slider
|
|
120
98
|
ExpoUIView(SliderView.self)
|
|
121
|
-
View(SliderLabelView.self)
|
|
122
99
|
|
|
123
100
|
ExpoUIView(SpacerView.self)
|
|
124
101
|
ExpoUIView(StepperView.self)
|
|
@@ -138,5 +115,6 @@ public final class ExpoUIModule: Module {
|
|
|
138
115
|
ExpoUIView(DividerView.self)
|
|
139
116
|
ExpoUIView(PopoverView.self)
|
|
140
117
|
ExpoUIView(GridView.self)
|
|
118
|
+
ExpoUIView(AccessoryWidgetBackgroundView.self)
|
|
141
119
|
}
|
|
142
120
|
}
|
package/ios/GaugeView.swift
CHANGED
|
@@ -31,14 +31,10 @@ public struct GaugeView: ExpoSwiftUI.View {
|
|
|
31
31
|
@ViewBuilder
|
|
32
32
|
private var gaugeContent: some View {
|
|
33
33
|
let range = (props.min ?? 0.0)...(props.max ?? 1.0)
|
|
34
|
-
let label = props.children?.
|
|
35
|
-
|
|
36
|
-
let
|
|
37
|
-
|
|
38
|
-
let minimumValueLabel = props.children?.compactMap { $0.childView as? GaugeLabelView }
|
|
39
|
-
.first { $0.props.kind == .minimumValue }
|
|
40
|
-
let maximumValueLabel = props.children?.compactMap { $0.childView as? GaugeLabelView }
|
|
41
|
-
.first { $0.props.kind == .maximumValue }
|
|
34
|
+
let label = props.children?.slot("label")
|
|
35
|
+
let currentValueLabel = props.children?.slot("currentValue")
|
|
36
|
+
let minimumValueLabel = props.children?.slot("minimumValue")
|
|
37
|
+
let maximumValueLabel = props.children?.slot("maximumValue")
|
|
42
38
|
|
|
43
39
|
Gauge(value: props.value, in: range) {
|
|
44
40
|
label
|
|
@@ -53,21 +49,3 @@ public struct GaugeView: ExpoSwiftUI.View {
|
|
|
53
49
|
#endif
|
|
54
50
|
}
|
|
55
51
|
|
|
56
|
-
internal enum GaugeLabelKind: String, Enumerable {
|
|
57
|
-
case label
|
|
58
|
-
case currentValue
|
|
59
|
-
case minimumValue
|
|
60
|
-
case maximumValue
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
internal final class GaugeLabelProps: ExpoSwiftUI.ViewProps {
|
|
64
|
-
@Field var kind: GaugeLabelKind = .label
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
internal struct GaugeLabelView: ExpoSwiftUI.View {
|
|
68
|
-
@ObservedObject var props: GaugeLabelProps
|
|
69
|
-
|
|
70
|
-
var body: some View {
|
|
71
|
-
Children()
|
|
72
|
-
}
|
|
73
|
-
}
|
package/ios/HostView.swift
CHANGED
|
@@ -161,13 +161,12 @@ private struct ViewportSizeMeasurementLayout: Layout {
|
|
|
161
161
|
*/
|
|
162
162
|
private struct GeometryChangeModifier: ViewModifier {
|
|
163
163
|
let props: HostViewProps
|
|
164
|
-
@EnvironmentObject var shadowNodeProxy: ExpoSwiftUI.ShadowNodeProxy
|
|
165
164
|
|
|
166
165
|
private func dispatchOnLayoutContent(_ size: CGSize) {
|
|
167
166
|
if props.matchContentsHorizontal || props.matchContentsVertical {
|
|
168
167
|
let styleWidth = props.matchContentsHorizontal ? NSNumber(value: Float(size.width)) : nil
|
|
169
168
|
let styleHeight = props.matchContentsVertical ? NSNumber(value: Float(size.height)) : nil
|
|
170
|
-
shadowNodeProxy.setStyleSize?(styleWidth, styleHeight)
|
|
169
|
+
props.shadowNodeProxy.setStyleSize?(styleWidth, styleHeight)
|
|
171
170
|
}
|
|
172
171
|
|
|
173
172
|
props.onLayoutContent([
|
package/ios/ImageView.swift
CHANGED
|
@@ -4,7 +4,8 @@ import SwiftUI
|
|
|
4
4
|
import ExpoModulesCore
|
|
5
5
|
|
|
6
6
|
public final class ImageViewProps: UIBaseViewProps {
|
|
7
|
-
@Field var
|
|
7
|
+
@Field var uiImage: String?
|
|
8
|
+
@Field var systemName: String?
|
|
8
9
|
@Field var size: Double?
|
|
9
10
|
@Field var color: Color?
|
|
10
11
|
@Field var variableValue: Double?
|
|
@@ -19,18 +20,28 @@ public struct ImageView: ExpoSwiftUI.View {
|
|
|
19
20
|
self.props = props
|
|
20
21
|
}
|
|
21
22
|
|
|
23
|
+
@ViewBuilder
|
|
22
24
|
public var body: some View {
|
|
23
|
-
let
|
|
25
|
+
if let systemName = props.systemName {
|
|
26
|
+
let image: Image = {
|
|
27
|
+
if #available(iOS 16.0, tvOS 16.0, *) {
|
|
28
|
+
return Image(systemName: systemName, variableValue: props.variableValue)
|
|
29
|
+
}
|
|
30
|
+
return Image(systemName: systemName)
|
|
31
|
+
}()
|
|
24
32
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
33
|
+
image
|
|
34
|
+
.font(.system(size: CGFloat(props.size ?? 24)))
|
|
35
|
+
.foregroundColor(props.color)
|
|
36
|
+
.applyOnTapGesture(useTapGesture: props.useTapGesture, eventDispatcher: props.onTap)
|
|
37
|
+
} else if let url = props.uiImage,
|
|
38
|
+
let url = URL(string: url),
|
|
39
|
+
let data = try? Data(contentsOf: url),
|
|
40
|
+
let uiImage = UIImage(data: data) {
|
|
41
|
+
Image(uiImage: uiImage)
|
|
42
|
+
.applyImageModifiers(props.modifiers, appContext: props.appContext)
|
|
43
|
+
.foregroundColor(props.color)
|
|
44
|
+
.applyOnTapGesture(useTapGesture: props.useTapGesture, eventDispatcher: props.onTap)
|
|
29
45
|
}
|
|
30
|
-
|
|
31
|
-
return image
|
|
32
|
-
.font(.system(size: CGFloat(props.size ?? 24)))
|
|
33
|
-
.foregroundColor(props.color)
|
|
34
|
-
.applyOnTapGesture(useTapGesture: props.useTapGesture, eventDispatcher: props.onTap)
|
|
35
46
|
}
|
|
36
47
|
}
|
package/ios/Label.swift
CHANGED
|
@@ -8,19 +8,6 @@ public final class LabelViewProps: UIBaseViewProps {
|
|
|
8
8
|
@Field var systemImage: String?
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
public final class LabelIconProps: ExpoSwiftUI.ViewProps {}
|
|
12
|
-
public struct LabelIcon: ExpoSwiftUI.View {
|
|
13
|
-
@ObservedObject public var props: LabelIconProps
|
|
14
|
-
|
|
15
|
-
public init(props: LabelIconProps) {
|
|
16
|
-
self.props = props
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
public var body: some View {
|
|
20
|
-
Children()
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
11
|
public struct LabelView: ExpoSwiftUI.View {
|
|
25
12
|
@ObservedObject public var props: LabelViewProps
|
|
26
13
|
|
|
@@ -44,9 +31,7 @@ public struct LabelView: ExpoSwiftUI.View {
|
|
|
44
31
|
}
|
|
45
32
|
}
|
|
46
33
|
|
|
47
|
-
private var customIcon:
|
|
48
|
-
props.children
|
|
49
|
-
.compactMap({ $0.childView as? LabelIcon })
|
|
50
|
-
.first
|
|
34
|
+
private var customIcon: SlotView? {
|
|
35
|
+
props.children?.slot("icon")
|
|
51
36
|
}
|
|
52
37
|
}
|