@expo/ui 58.0.0-canary-20260909-ea7a89a → 58.0.1
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 +21 -0
- package/android/build/intermediates/aar_main_jar/release/syncReleaseLibJars/classes.jar +0 -0
- package/android/build/intermediates/incremental/mergeReleaseAssets/merger.xml +1 -1
- package/android/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +1 -1
- package/android/build/intermediates/incremental/release/packageReleaseResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/incremental/release/packageReleaseResources/merger.xml +1 -1
- package/android/build/intermediates/source_jar/release/release-sources.jar +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s +1 -1
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.s +1 -1
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/last-build.bin +0 -0
- package/android/build/outputs/aar/expo-ui-release.aar +0 -0
- package/android/build/outputs/logs/manifest-merger-release-report.txt +8 -8
- package/android/build/publications/release/module.json +22 -22
- package/android/build/publications/release/pom-default.xml +1 -1
- package/android/build/tmp/kotlin-classes/release/expo/modules/ui/DatePickerViewKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/ui/menu/DropdownMenuKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/ui/menu/DropdownMenuProps$__Pika.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/ui/menu/DropdownMenuProps.class +0 -0
- package/android/build/tmp/publishReleasePublicationToNPMPackageRepository/module-maven-metadata.xml +4 -4
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/DatePickerView.kt +2 -2
- package/android/src/main/java/expo/modules/ui/menu/DropdownMenu.kt +1 -0
- package/android/src/main/java/expo/modules/ui/menu/DropdownMenuRecords.kt +2 -1
- package/build/jetpack-compose/DatePicker/index.d.ts +4 -0
- package/build/jetpack-compose/DatePicker/index.js.map +1 -1
- package/build/jetpack-compose/DropdownMenu/index.d.ts +7 -0
- package/build/jetpack-compose/DropdownMenu/index.js.map +1 -1
- package/build/swift-ui/Button/index.d.ts +3 -1
- package/build/swift-ui/Button/index.js.map +1 -1
- package/build/swift-ui/NavigationDestination/index.d.ts +29 -0
- package/build/swift-ui/NavigationDestination/index.js +29 -0
- package/build/swift-ui/NavigationDestination/index.js.map +1 -0
- package/build/swift-ui/NavigationLink/index.d.ts +31 -0
- package/build/swift-ui/NavigationLink/index.js +31 -0
- package/build/swift-ui/NavigationLink/index.js.map +1 -0
- package/build/swift-ui/NavigationStack/index.d.ts +44 -0
- package/build/swift-ui/NavigationStack/index.js +37 -0
- package/build/swift-ui/NavigationStack/index.js.map +1 -0
- package/build/swift-ui/TabView/index.d.ts +1 -1
- package/build/swift-ui/TabView/index.js +1 -1
- package/build/swift-ui/Toolbar/index.d.ts +39 -0
- package/build/swift-ui/Toolbar/index.js +44 -0
- package/build/swift-ui/Toolbar/index.js.map +1 -0
- package/build/swift-ui/index.d.ts +4 -0
- package/build/swift-ui/index.js +4 -0
- package/build/swift-ui/index.js.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +7 -1
- package/build/swift-ui/modifiers/index.js +7 -0
- package/build/swift-ui/modifiers/index.js.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/BackgroundView.swift +10 -6
- package/ios/Button/Button.swift +13 -0
- package/ios/Button/ButtonProps.swift +6 -0
- package/ios/ExpoUIModule.swift +4 -0
- package/ios/MaskView.swift +9 -5
- package/ios/Modifiers/ViewModifierRegistry.swift +17 -0
- package/ios/NavigationLinkView.swift +22 -0
- package/ios/NavigationStackView.swift +63 -0
- package/ios/OverlayView.swift +9 -5
- package/ios/SlotView.swift +10 -5
- package/ios/ToolbarView.swift +33 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a-sources.jar → 58.0.1/expo.modules.ui-58.0.1-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.module → 58.0.1/expo.modules.ui-58.0.1.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.pom → 58.0.1/expo.modules.ui-58.0.1.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.1/expo.modules.ui-58.0.1.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 -5
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/prebuilds/output/debug/xcframeworks/ExpoUI.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoUI.tar.gz +0 -0
- package/src/jetpack-compose/DatePicker/index.tsx +4 -0
- package/src/jetpack-compose/DropdownMenu/index.tsx +9 -0
- package/src/swift-ui/Button/index.tsx +3 -1
- package/src/swift-ui/NavigationDestination/index.tsx +39 -0
- package/src/swift-ui/NavigationLink/index.tsx +51 -0
- package/src/swift-ui/NavigationStack/index.tsx +75 -0
- package/src/swift-ui/TabView/index.tsx +1 -1
- package/src/swift-ui/Toolbar/index.tsx +64 -0
- package/src/swift-ui/index.tsx +4 -0
- package/src/swift-ui/modifiers/index.ts +9 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.0-canary-20260909-ea7a89a/expo.modules.ui-58.0.0-canary-20260909-ea7a89a.pom.sha512 +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
### 🛠 Breaking changes
|
|
6
6
|
|
|
7
|
+
### 🎉 New features
|
|
8
|
+
|
|
9
|
+
### 🐛 Bug fixes
|
|
10
|
+
|
|
11
|
+
### 💡 Others
|
|
12
|
+
|
|
13
|
+
## 58.0.1 — 2026-09-14
|
|
14
|
+
|
|
15
|
+
### 💡 Others
|
|
16
|
+
|
|
17
|
+
- Update the native tabs import path in the `TabView` API reference. ([#50119](https://github.com/expo/expo/pull/50119) by [@Ubax](https://github.com/Ubax))
|
|
18
|
+
|
|
19
|
+
## 58.0.0 — 2026-09-10
|
|
20
|
+
|
|
21
|
+
### 🛠 Breaking changes
|
|
22
|
+
|
|
7
23
|
- [iOS] Fix `<Host>` centering its content instead of top-aligning it, so a `flex: 1` host matches Android's top-leading layout. ([#47561](https://github.com/expo/expo/pull/47561) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
8
24
|
- [iOS] Fix `HStack`, `VStack` and `GlassEffectContainer` collapsing an unset `spacing` to `0` instead of forwarding `nil` to SwiftUI, so they now use the system default spacing like `Grid`, `LazyHStack` and `LazyVStack` already do. Pass `spacing={0}` explicitly to keep the previous layout. (by [@Den1Marshall](https://github.com/Den1Marshall))
|
|
9
25
|
- [Android] Removed the `style` prop from `RNHostView`. It set a React Native style on a view that Jetpack Compose positions and sizes; use `modifiers` instead. Hosted views are now measured where Compose drew them, so a style is no longer needed to keep `measure()` and the drawn position in agreement. ([#48970](https://github.com/expo/expo/pull/48970) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
10
26
|
|
|
11
27
|
### 🎉 New features
|
|
12
28
|
|
|
29
|
+
- [Android] Add `shadowElevation` to `DropdownMenu` to customize the popup shadow in dp. ([#49896](https://github.com/expo/expo/pull/49896) by [@maxlapides](https://github.com/maxlapides))
|
|
13
30
|
- [Android] Added the `enabled` and `colors` props to the Jetpack Compose `RadioButton` component. (by [@felipe-software](https://github.com/felipe-software))
|
|
14
31
|
- [Android] Added the Jetpack Compose `DateRangePicker` and `DateRangePickerDialog` components. (by [@felipe-software](https://github.com/felipe-software))
|
|
15
32
|
- [Android] Add `cornerRadius` support to dropdown menu. ([#49515](https://github.com/expo/expo/pull/49515) by [@aaronleopold](https://github.com/aaronleopold))
|
|
@@ -35,9 +52,12 @@
|
|
|
35
52
|
- [iOS] Taught the `presentationBackground` modifier to paint with any `ShapeStyle`, matching SwiftUI, so a sheet can be backed by a material, a gradient or a hierarchical style instead of only a color. iOS 26 renders a material as a flat color rather than a translucent blur. ([#49767](https://github.com/expo/expo/pull/49767) by [@Den1Marshall](https://github.com/Den1Marshall))
|
|
36
53
|
- [iOS] Added the `scrollClipDisabled` modifier, which lets content that draws outside a scrollable view's bounds, such as a shadow or a scaled-up card, stay visible instead of being clipped. ([#49780](https://github.com/expo/expo/pull/49780) by [@Den1Marshall](https://github.com/Den1Marshall))
|
|
37
54
|
- [iOS] Taught the `tint`, `border`, `strokeBorder` and `containerBackground` modifiers to paint with any `ShapeStyle`, matching SwiftUI, where all four take a `ShapeStyle` rather than a color. The `color` parameter of `border` and `strokeBorder` is deprecated in favor of `content`, the name SwiftUI gives it. ([#49838](https://github.com/expo/expo/pull/49838) by [@Den1Marshall](https://github.com/Den1Marshall))
|
|
55
|
+
- [iOS] Added the `NavigationStack` and `Toolbar` components, the `navigationTitle` modifier, and the `close` button role. ([#49940](https://github.com/expo/expo/pull/49940) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
56
|
+
- [iOS] Added the `NavigationLink` component, and the `path` and `onPathChange` props and the `NavigationDestination` component, so a stack can push a destination that is built only when the link is followed. ([#49991](https://github.com/expo/expo/pull/49991) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
38
57
|
|
|
39
58
|
### 🐛 Bug fixes
|
|
40
59
|
|
|
60
|
+
- [Android] Fix `DatePickerDialog` preselecting today when `initialDate` is omitted, and keep its confirm button disabled while no date is selected so `onDateSelected` never receives an invalid date. ([#49898](https://github.com/expo/expo/pull/49898) by [@pataar](https://github.com/pataar))
|
|
41
61
|
- [Android][iOS] Fix `community/bottom-sheet` content shrinking to its own width instead of filling the sheet when the sheet sizes to its content. ([#49742](https://github.com/expo/expo/issues/49742) by [@agung-adhinata](https://github.com/agung-adhinata)) ([#49762](https://github.com/expo/expo/pull/49762) by [@intergalacticspacehighway](https://github.com/intergalacticspacehighway))
|
|
42
62
|
- [Android] Fixed a `Text` or an `Icon` with no explicit color rendering black inside `Host`, which made it unreadable in the dark color scheme. `Host` now provides `LocalContentColor` from the color scheme. ([#49697](https://github.com/expo/expo/pull/49697) by [@expo-bot](https://github.com/expo-bot))
|
|
43
63
|
- [iOS][Android] Fixed a `matchContents` `RNHostView` inside a `matchContents` `Host` growing the layout on every pass. ([#49483](https://github.com/expo/expo/pull/49483) by [@intergalacticspacehighway](https://github.com/intergalacticspacehighway))
|
|
@@ -65,6 +85,7 @@
|
|
|
65
85
|
- [Android] Explicitly enable `buildFeatures.buildConfig`, required by AGP 9. ([#47729](https://github.com/expo/expo/pull/47729) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
66
86
|
- Fix `Host` color scheme type errors on React Native 0.87. ([#47729](https://github.com/expo/expo/pull/47729) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
67
87
|
- [iOS] Fixed `PlatformColor` and `DynamicColorIOS` values dropping the `backgroundColor` and `borderColor` of a universal component. Both were stringified to `"[object Object]"`, which the native color converter rejects, so the modifier was discarded without a trace. ([#49746](https://github.com/expo/expo/pull/49746) by [@Den1Marshall](https://github.com/Den1Marshall))
|
|
88
|
+
- [iOS] Preserve string-based child identities in `Overlay`, `Background`, and `Mask`. ([#49734](https://github.com/expo/expo/pull/49734) by [@jakex7](https://github.com/jakex7))
|
|
68
89
|
|
|
69
90
|
### 💡 Others
|
|
70
91
|
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/assets"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/release/assets"/></dataSet></merger>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/jniLibs"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/release/jniLibs"/></dataSet></merger>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Mon Sep 14 16:00:38 IST 2026
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/
|
|
2
|
+
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="release$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/release/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="release" generated-set="release$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"><source path="/Users/alanhughes/Work/expo/packages/expo-ui/android/src/release/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"/><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"/><mergedItems/></merger>
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
�}dž����Ԍ�ͥ����
|
|
1
|
+
�}dž����Ԍ�ͥ����
|
|
Binary file
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.len
CHANGED
|
Binary file
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values
CHANGED
|
Binary file
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
CHANGED
|
Binary file
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.s
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ƭԉ
|
package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
-- Merging decision tree log ---
|
|
2
2
|
manifest
|
|
3
|
-
ADDED from /Users/
|
|
4
|
-
INJECTED from /Users/
|
|
3
|
+
ADDED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml:1:1-2:12
|
|
4
|
+
INJECTED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml:1:1-2:12
|
|
5
5
|
package
|
|
6
|
-
INJECTED from /Users/
|
|
6
|
+
INJECTED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml
|
|
7
7
|
uses-sdk
|
|
8
|
-
INJECTED from /Users/
|
|
9
|
-
INJECTED from /Users/
|
|
10
|
-
INJECTED from /Users/
|
|
8
|
+
INJECTED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
|
9
|
+
INJECTED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml
|
|
10
|
+
INJECTED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml
|
|
11
11
|
android:targetSdkVersion
|
|
12
|
-
INJECTED from /Users/
|
|
12
|
+
INJECTED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml
|
|
13
13
|
android:minSdkVersion
|
|
14
|
-
INJECTED from /Users/
|
|
14
|
+
INJECTED from /Users/alanhughes/Work/expo/packages/expo-ui/android/src/main/AndroidManifest.xml
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.ui",
|
|
5
5
|
"module": "expo.modules.ui",
|
|
6
|
-
"version": "58.0.
|
|
6
|
+
"version": "58.0.1",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.ui-58.0.
|
|
28
|
-
"url": "expo.modules.ui-58.0.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.ui-58.0.1.aar",
|
|
28
|
+
"url": "expo.modules.ui-58.0.1.aar",
|
|
29
|
+
"size": 1789469,
|
|
30
|
+
"sha512": "dfe706437f10aa521a458896b97fa14d945cf66c80dab9cc43fddd444cddd016073b783076f38ba90e07c5076b8752bf66e136ce9c40d85195cf27a231ce7f9d",
|
|
31
|
+
"sha256": "8faeae3cb56c1d29d1a120a9a8c1964e6015ba993519f244283855a066a1704c",
|
|
32
|
+
"sha1": "dac5e40669e0f7832763a444814375947cfc1d1c",
|
|
33
|
+
"md5": "df649a67c82e5ea67b2cbf457d10bb0a"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -141,13 +141,13 @@
|
|
|
141
141
|
],
|
|
142
142
|
"files": [
|
|
143
143
|
{
|
|
144
|
-
"name": "expo.modules.ui-58.0.
|
|
145
|
-
"url": "expo.modules.ui-58.0.
|
|
146
|
-
"size":
|
|
147
|
-
"sha512": "
|
|
148
|
-
"sha256": "
|
|
149
|
-
"sha1": "
|
|
150
|
-
"md5": "
|
|
144
|
+
"name": "expo.modules.ui-58.0.1.aar",
|
|
145
|
+
"url": "expo.modules.ui-58.0.1.aar",
|
|
146
|
+
"size": 1789469,
|
|
147
|
+
"sha512": "dfe706437f10aa521a458896b97fa14d945cf66c80dab9cc43fddd444cddd016073b783076f38ba90e07c5076b8752bf66e136ce9c40d85195cf27a231ce7f9d",
|
|
148
|
+
"sha256": "8faeae3cb56c1d29d1a120a9a8c1964e6015ba993519f244283855a066a1704c",
|
|
149
|
+
"sha1": "dac5e40669e0f7832763a444814375947cfc1d1c",
|
|
150
|
+
"md5": "df649a67c82e5ea67b2cbf457d10bb0a"
|
|
151
151
|
}
|
|
152
152
|
]
|
|
153
153
|
},
|
|
@@ -161,13 +161,13 @@
|
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
{
|
|
164
|
-
"name": "expo.modules.ui-58.0.
|
|
165
|
-
"url": "expo.modules.ui-58.0.
|
|
166
|
-
"size":
|
|
167
|
-
"sha512": "
|
|
168
|
-
"sha256": "
|
|
169
|
-
"sha1": "
|
|
170
|
-
"md5": "
|
|
164
|
+
"name": "expo.modules.ui-58.0.1-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-58.0.1-sources.jar",
|
|
166
|
+
"size": 106165,
|
|
167
|
+
"sha512": "59ec9e524c62a8b77c41e894e4833d24d2c9bb1912ef1be23d81ab6eb04bcf1f8743cdc11528bf2630b0f1f29db20b017e8015ebde418530196d7dcea06a90bc",
|
|
168
|
+
"sha256": "297ecd2b76dbb6908b0b2897c6adba6be5dd10cb16c8ca169525a40e207d52c2",
|
|
169
|
+
"sha1": "51a2f1006c7baddabf82bef24f20526a08f172ed",
|
|
170
|
+
"md5": "8794b8164746750abcd5634353883d4b"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
}
|
|
@@ -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>58.0.
|
|
12
|
+
<version>58.0.1</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.ui</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/release/expo/modules/ui/menu/DropdownMenuProps$__Pika.class
CHANGED
|
Binary file
|
package/android/build/tmp/kotlin-classes/release/expo/modules/ui/menu/DropdownMenuProps.class
CHANGED
|
Binary file
|
package/android/build/tmp/publishReleasePublicationToNPMPackageRepository/module-maven-metadata.xml
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.ui</groupId>
|
|
4
4
|
<artifactId>expo.modules.ui</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>58.0.
|
|
7
|
-
<release>58.0.
|
|
6
|
+
<latest>58.0.1</latest>
|
|
7
|
+
<release>58.0.1</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>58.0.
|
|
9
|
+
<version>58.0.1</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260914150056</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
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 = '58.0.
|
|
15
|
+
version = '58.0.1'
|
|
16
16
|
|
|
17
17
|
android {
|
|
18
18
|
namespace "expo.modules.ui"
|
|
19
19
|
defaultConfig {
|
|
20
20
|
versionCode 1
|
|
21
|
-
versionName "58.0.
|
|
21
|
+
versionName "58.0.1"
|
|
22
22
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
23
23
|
}
|
|
24
24
|
buildFeatures {
|
|
@@ -357,7 +357,7 @@ fun ExpoDatePickerDialogContent(props: DatePickerDialogProps, onDateSelected: (D
|
|
|
357
357
|
DatePickerState(
|
|
358
358
|
initialDisplayMode = variant,
|
|
359
359
|
locale = locale,
|
|
360
|
-
initialSelectedDateMillis = initialDate,
|
|
360
|
+
initialSelectedDateMillis = props.initialDate,
|
|
361
361
|
initialDisplayedMonthMillis = initialDate,
|
|
362
362
|
yearRange = yearRange,
|
|
363
363
|
selectableDates = selectableDates
|
|
@@ -371,7 +371,7 @@ fun ExpoDatePickerDialogContent(props: DatePickerDialogProps, onDateSelected: (D
|
|
|
371
371
|
DatePickerDialog(
|
|
372
372
|
onDismissRequest = { onDismissRequest() },
|
|
373
373
|
confirmButton = {
|
|
374
|
-
TextButton(onClick = { onDateSelected(DatePickerResult(date = state.selectedDateMillis)) }, colors = buttonColors) {
|
|
374
|
+
TextButton(onClick = { onDateSelected(DatePickerResult(date = state.selectedDateMillis)) }, enabled = state.selectedDateMillis != null, colors = buttonColors) {
|
|
375
375
|
Text(props.confirmButtonLabel ?: stringResource(android.R.string.ok))
|
|
376
376
|
}
|
|
377
377
|
},
|
|
@@ -27,6 +27,7 @@ fun FunctionalComposableScope.DropdownMenuContent(
|
|
|
27
27
|
DropdownMenu(
|
|
28
28
|
containerColor = props.color?.composeOrNull ?: MenuDefaults.containerColor,
|
|
29
29
|
shape = props.cornerRadius?.let { RoundedCornerShape(it.dp) } ?: MenuDefaults.shape,
|
|
30
|
+
shadowElevation = props.shadowElevation?.dp ?: MenuDefaults.ShadowElevation,
|
|
30
31
|
expanded = props.expanded,
|
|
31
32
|
onDismissRequest = onDismissRequest
|
|
32
33
|
) {
|
|
@@ -17,5 +17,6 @@ data class DropdownMenuProps(
|
|
|
17
17
|
val expanded: Boolean = false,
|
|
18
18
|
val color: Color? = null,
|
|
19
19
|
val cornerRadius: Float? = null,
|
|
20
|
-
val modifiers: ModifierList = emptyList()
|
|
20
|
+
val modifiers: ModifierList = emptyList(),
|
|
21
|
+
val shadowElevation: Float? = null
|
|
21
22
|
) : ComposeProps
|
|
@@ -217,6 +217,10 @@ export interface DateRangePickerProps {
|
|
|
217
217
|
*/
|
|
218
218
|
export declare function DateRangePicker(props: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
219
219
|
export interface DatePickerDialogProps {
|
|
220
|
+
/**
|
|
221
|
+
* The initially selected date. When omitted, the dialog opens on the current month with no
|
|
222
|
+
* selection and the confirm button stays disabled until a date is picked.
|
|
223
|
+
*/
|
|
220
224
|
initialDate?: string | null;
|
|
221
225
|
variant?: AndroidVariant;
|
|
222
226
|
showVariantToggle?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["jetpack-compose/DatePicker/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","createViewModifierEventListener","convertSelectableDates","selectableDates","start","getTime","end","convertTimestampToDate","timestamp","Date","transformDateTimePickerProps","props","modifiers","variant","initialDate","elementColors","color","rest","initialDateTimestamp","undefined","onDateSelected","nativeEvent","date","DatePickerNativeView","DateTimePicker","transformDateRangePickerProps","initialStartDate","initialEndDate","onDateRangeSelected","DateRangePickerNativeView","DateRangePicker","nativeProps","DatePickerDialogNativeView","DatePickerDialog","onDismissRequest","DateRangePickerDialogNativeView","DateRangePickerDialog","confirmButtonLabel","dismissButtonLabel","TimePickerDialogNativeView","TimePickerDialog"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAIzC,SAASC,+BAA+B,QAAQ,qBAAqB;AAkLrE,SAASC,uBAAuBC,eAG/B;IACC,IAAI,CAACA,iBAAiB,OAAO;IAC7B,OAAO;QACLC,OAAOD,gB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,EAAEP,aAAa,EAAEjB,KAAK,EAAEE,GAAG,EAAE,EAAE;YACnDsB,sBAAsB;gBACpBxB,OAAOG,uBAAuBH;gBAC9BE,KAAKC,uBAAuBD;YAC9B;QACF;QACA,GAAIS,iBAAiB,OAAO;YAAEA;QAAc,IAAII,SAAS;IAC3D;AACF;AAEA,MAAMU,4BACJ7B,kBAAkB,UAAU;AAE9B;;CAEC,GACD,OAAO,SAAS8B,gBAAgBnB,KAA2B;IACzD,MAAM,EAAEC,SAAS,EAAE,GAAGK,MAAM,GAAGN;IAC/B,MAAMoB,cAA0C;QAC9CnB;QACA,GAAIA,YAAYX,gCAAgCW,aAAaO,SAAS;QACtE,GAAGM,8BAA8BR,KAAK;IACxC;IACA,qBAAO,KAACY;QAA2B,GAAGE,WAAW;;AACnD;
|
|
1
|
+
{"version":3,"sources":["jetpack-compose/DatePicker/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","createViewModifierEventListener","convertSelectableDates","selectableDates","start","getTime","end","convertTimestampToDate","timestamp","Date","transformDateTimePickerProps","props","modifiers","variant","initialDate","elementColors","color","rest","initialDateTimestamp","undefined","onDateSelected","nativeEvent","date","DatePickerNativeView","DateTimePicker","transformDateRangePickerProps","initialStartDate","initialEndDate","onDateRangeSelected","DateRangePickerNativeView","DateRangePicker","nativeProps","DatePickerDialogNativeView","DatePickerDialog","onDismissRequest","DateRangePickerDialogNativeView","DateRangePickerDialog","confirmButtonLabel","dismissButtonLabel","TimePickerDialogNativeView","TimePickerDialog"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAIzC,SAASC,+BAA+B,QAAQ,qBAAqB;AAkLrE,SAASC,uBAAuBC,eAG/B;IACC,IAAI,CAACA,iBAAiB,OAAO;IAC7B,OAAO;QACLC,OAAOD,gBAAgBC,KAAK,GAAGD,gBAAgBC,KAAK,CAACC,OAAO,KAAK;QACjEC,KAAKH,gBAAgBG,GAAG,GAAGH,gBAAgBG,GAAG,CAACD,OAAO,KAAK;IAC7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AkB,UAAU;AAE9B,OAAO,SAASwC,iBAAiB7B,KAA4B;IAC3D,MAAM,EAAEG,WAAW,EAAEC,aAAa,EAAEmB,gBAAgB,EAAE,GAAGjB,MAAM,GAAGN;IAClE,MAAMoB,cAA2C;QAC/C,GAAGd,IAAI;QACPH,aAAaA,cAAc,IAAIL,KAAKK,aAAaT,OAAO,KAAK;QAC7De,gBAAgB,CAAC,EAAEC,aAAa,EAAEC,IAAI,EAAE,EAAE;YACxCX,MAAMS,cAAc,GAAG,IAAIX,KAAKa;QAClC;QACAY;QACA,GAAInB,iBAAiB,OAAO;YAAEA;QAAc,IAAII,SAAS;IAC3D;IACA,qBAAO,KAACoB;QAA4B,GAAGR,WAAW;;AACpD"}
|
|
@@ -30,6 +30,13 @@ export interface DropdownMenuProps {
|
|
|
30
30
|
* @platform android
|
|
31
31
|
*/
|
|
32
32
|
cornerRadius?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Shadow elevation of the dropdown menu popup in dp. Set to `0` to remove the shadow.
|
|
35
|
+
* Defaults to Material3's `MenuDefaults.ShadowElevation`.
|
|
36
|
+
*
|
|
37
|
+
* @platform android
|
|
38
|
+
*/
|
|
39
|
+
shadowElevation?: number;
|
|
33
40
|
/**
|
|
34
41
|
* Optional styles to apply to the `DropdownMenu`.
|
|
35
42
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["jetpack-compose/DropdownMenu/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","PresentedContent","createViewModifierEventListener","MenuNativeView","SlotNativeView","Items","props","slotName","children","tag","Trigger","Preview","DropdownMenu","modifiers","restProps","style","undefined","DropdownMenuItem"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAIzC,SAASC,gBAAgB,QAAQ,gCAAgC;AAEjE,SAASC,+BAA+B,QAAQ,qBAAqB;AAErE,MAAMC,iBAAuDH,kBAC3D,UACA;AAGF,2DAA2D;AAC3D,MAAMI,iBAGDJ,kBAAkB,UAAU;
|
|
1
|
+
{"version":3,"sources":["jetpack-compose/DropdownMenu/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","PresentedContent","createViewModifierEventListener","MenuNativeView","SlotNativeView","Items","props","slotName","children","tag","Trigger","Preview","DropdownMenu","modifiers","restProps","style","undefined","DropdownMenuItem"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAIzC,SAASC,gBAAgB,QAAQ,gCAAgC;AAEjE,SAASC,+BAA+B,QAAQ,qBAAqB;AAErE,MAAMC,iBAAuDH,kBAC3D,UACA;AAGF,2DAA2D;AAC3D,MAAMI,iBAGDJ,kBAAkB,UAAU;AAkEjC;;;CAGC,GACD,OAAO,SAASK,MAAMC,KAA8B;IAClD,oGAAoG;IACpG,qBACE,KAACF;QAAeG,UAAS;kBACvB,cAAA,KAACN;sBAAkBK,MAAME,QAAQ;;;AAGvC;AACAH,MAAMI,GAAG,GAAG;AAEZ;;CAEC,GACD,OAAO,SAASC,QAAQJ,KAA8B;IACpD,qBAAO;kBAAGA,MAAME,QAAQ;;AAC1B;AACAE,QAAQD,GAAG,GAAG;AAEd;;CAEC,GACD,OAAO,SAASE,QAAQL,KAA8B;IACpD,qBAAO;AACT;AAEA,SAASM,aAAaN,KAAwB;IAC5C,MAAM,EAAEO,SAAS,EAAE,GAAGC,WAAW,GAAGR;IACpC,qBACE,KAACH;QACCY,OAAOT,MAAMS,KAAK;QAClBF,WAAWA;QACV,GAAIA,YAAYX,gCAAgCW,aAAaG,SAAS;QACtE,GAAGF,SAAS;kBACZR,MAAME,QAAQ;;AAGrB;AAEAI,aAAaF,OAAO,GAAGA;AACvBE,aAAaD,OAAO,GAAGA;AACvBC,aAAaP,KAAK,GAAGA;AAErB,SAASO,YAAY,GAAG;AACxB,SAASK,gBAAgB,QAAQ,qBAAqB"}
|
|
@@ -5,8 +5,10 @@ import { type CommonViewModifierProps } from '../types';
|
|
|
5
5
|
* - `default` - The default button role.
|
|
6
6
|
* - `cancel` - A button that cancels the current operation.
|
|
7
7
|
* - `destructive` - A button that deletes data or performs a destructive action.
|
|
8
|
+
* - `close` - A button that closes the view it is presented in. Given no `label` and no children,
|
|
9
|
+
* the system draws it as an xmark.
|
|
8
10
|
*/
|
|
9
|
-
export type ButtonRole = 'default' | 'cancel' | 'destructive';
|
|
11
|
+
export type ButtonRole = 'default' | 'cancel' | 'destructive' | 'close';
|
|
10
12
|
export interface ButtonProps extends CommonViewModifierProps {
|
|
11
13
|
/**
|
|
12
14
|
* A callback that is called when the button is pressed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["swift-ui/Button/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","createViewModifierEventListener","ButtonNativeView","Button","props","label","children","onPress","modifiers","restProps","baseProps","undefined","onButtonPress"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAIzC,SAASC,+BAA+B,QAAQ,qBAAqB;
|
|
1
|
+
{"version":3,"sources":["swift-ui/Button/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","createViewModifierEventListener","ButtonNativeView","Button","props","label","children","onPress","modifiers","restProps","baseProps","undefined","onButtonPress"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAIzC,SAASC,+BAA+B,QAAQ,qBAAqB;AA4CrE,MAAMC,mBAA2DF,kBAC/D,UACA;AAGF;;;;;;;;;;;;;;;;;;;;CAoBC,GACD,OAAO,SAASG,OAAOC,KAAkB;IACvC,MAAM,EAAEC,KAAK,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,SAAS,EAAE,GAAGC,WAAW,GAAGL;IAE9D,MAAMM,YAAY;QAChB,GAAGD,SAAS;QACZD;QACA,GAAIA,YAAYP,gCAAgCO,aAAaG,SAAS;QACtEC,eAAeL;IACjB;IAEA,qBACE,KAACL;QAAkB,GAAGQ,SAAS;QAAEL,OAAOA;kBACrCC;;AAGP"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface NavigationDestinationProps {
|
|
3
|
+
/**
|
|
4
|
+
* The `NavigationLink` value this destination is presented for.
|
|
5
|
+
*/
|
|
6
|
+
value: string;
|
|
7
|
+
/**
|
|
8
|
+
* The view pushed onto the stack for `value`.
|
|
9
|
+
*/
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Associates a destination view with a `NavigationLink` value, matching SwiftUI's
|
|
14
|
+
* `navigationDestination(for:destination:)`. It must be a direct child of the `NavigationStack`,
|
|
15
|
+
* however deeply the link that pushes it is nested inside that stack.
|
|
16
|
+
*
|
|
17
|
+
* Keep it mounted so the pushed screen already carries its `navigationTitle` when the slide
|
|
18
|
+
* starts, or render one for each value on the stack's `path` to build screens on demand.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <NavigationDestination value="settings">
|
|
23
|
+
* <SettingsScreen />
|
|
24
|
+
* </NavigationDestination>
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @platform ios
|
|
28
|
+
*/
|
|
29
|
+
export declare function NavigationDestination(props: NavigationDestinationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Slot } from '../SlotView';
|
|
3
|
+
/**
|
|
4
|
+
* Associates a destination view with a `NavigationLink` value, matching SwiftUI's
|
|
5
|
+
* `navigationDestination(for:destination:)`. It must be a direct child of the `NavigationStack`,
|
|
6
|
+
* however deeply the link that pushes it is nested inside that stack.
|
|
7
|
+
*
|
|
8
|
+
* Keep it mounted so the pushed screen already carries its `navigationTitle` when the slide
|
|
9
|
+
* starts, or render one for each value on the stack's `path` to build screens on demand.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <NavigationDestination value="settings">
|
|
14
|
+
* <SettingsScreen />
|
|
15
|
+
* </NavigationDestination>
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @platform ios
|
|
19
|
+
*/ export function NavigationDestination(props) {
|
|
20
|
+
return /*#__PURE__*/ _jsx(Slot, {
|
|
21
|
+
name: "destination",
|
|
22
|
+
extraProps: {
|
|
23
|
+
value: props.value
|
|
24
|
+
},
|
|
25
|
+
children: props.children
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["swift-ui/NavigationDestination/index.tsx"],"sourcesContent":[null],"names":["Slot","NavigationDestination","props","name","extraProps","value","children"],"mappings":";AAEA,SAASA,IAAI,QAAQ,cAAc;AAanC;;;;;;;;;;;;;;;;CAgBC,GACD,OAAO,SAASC,sBAAsBC,KAAiC;IACrE,qBACE,KAACF;QAAKG,MAAK;QAAcC,YAAY;YAAEC,OAAOH,MAAMG,KAAK;QAAC;kBACvDH,MAAMI,QAAQ;;AAGrB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type CommonViewModifierProps } from '../types';
|
|
3
|
+
export interface NavigationLinkProps extends CommonViewModifierProps {
|
|
4
|
+
/**
|
|
5
|
+
* The value to append to the enclosing `NavigationStack`'s path when the link is tapped. The
|
|
6
|
+
* stack presents the `NavigationDestination` whose `value` matches.
|
|
7
|
+
*/
|
|
8
|
+
value: string;
|
|
9
|
+
/**
|
|
10
|
+
* A view that describes the link.
|
|
11
|
+
*/
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A view that controls a navigation presentation. In a `List` it renders as a row with a
|
|
16
|
+
* disclosure chevron, and tapping it pushes the matching `NavigationDestination`.
|
|
17
|
+
*
|
|
18
|
+
* The link has to be inside the `NavigationStack` itself. Content presented from the stack, such
|
|
19
|
+
* as a `BottomSheet` or a `Popover`, is its own presentation context and does not reach the
|
|
20
|
+
* stack's destinations, so give that content its own `NavigationStack`.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```tsx
|
|
24
|
+
* <NavigationLink value="settings">
|
|
25
|
+
* <Text>Settings</Text>
|
|
26
|
+
* </NavigationLink>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @platform ios
|
|
30
|
+
*/
|
|
31
|
+
export declare function NavigationLink(props: NavigationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { requireNativeView } from 'expo';
|
|
3
|
+
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
4
|
+
const NavigationLinkNativeView = requireNativeView('ExpoUI', 'NavigationLinkView');
|
|
5
|
+
/**
|
|
6
|
+
* A view that controls a navigation presentation. In a `List` it renders as a row with a
|
|
7
|
+
* disclosure chevron, and tapping it pushes the matching `NavigationDestination`.
|
|
8
|
+
*
|
|
9
|
+
* The link has to be inside the `NavigationStack` itself. Content presented from the stack, such
|
|
10
|
+
* as a `BottomSheet` or a `Popover`, is its own presentation context and does not reach the
|
|
11
|
+
* stack's destinations, so give that content its own `NavigationStack`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <NavigationLink value="settings">
|
|
16
|
+
* <Text>Settings</Text>
|
|
17
|
+
* </NavigationLink>
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @platform ios
|
|
21
|
+
*/ export function NavigationLink(props) {
|
|
22
|
+
const { modifiers, children, ...restProps } = props;
|
|
23
|
+
return /*#__PURE__*/ _jsx(NavigationLinkNativeView, {
|
|
24
|
+
modifiers: modifiers,
|
|
25
|
+
...modifiers ? createViewModifierEventListener(modifiers) : undefined,
|
|
26
|
+
...restProps,
|
|
27
|
+
children: children
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["swift-ui/NavigationLink/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","createViewModifierEventListener","NavigationLinkNativeView","NavigationLink","props","modifiers","children","restProps","undefined"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAGzC,SAASC,+BAA+B,QAAQ,qBAAqB;AAerE,MAAMC,2BAA+DF,kBACnE,UACA;AAGF;;;;;;;;;;;;;;;;CAgBC,GACD,OAAO,SAASG,eAAeC,KAA0B;IACvD,MAAM,EAAEC,SAAS,EAAEC,QAAQ,EAAE,GAAGC,WAAW,GAAGH;IAC9C,qBACE,KAACF;QACCG,WAAWA;QACV,GAAIA,YAAYJ,gCAAgCI,aAAaG,SAAS;QACtE,GAAGD,SAAS;kBACZD;;AAGP"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type CommonViewModifierProps } from '../types';
|
|
3
|
+
export interface NavigationStackProps extends CommonViewModifierProps {
|
|
4
|
+
/**
|
|
5
|
+
* The root view of the stack, and the `NavigationDestination` views the stack can push. It is
|
|
6
|
+
* displayed inside a navigation bar.
|
|
7
|
+
*/
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* The values of the views pushed on top of the root view, in the order they were pushed.
|
|
11
|
+
* Leave it undefined to let the stack manage its own path.
|
|
12
|
+
*/
|
|
13
|
+
path?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Callback function that is called when the stack pushes or pops a view, for example when a
|
|
16
|
+
* `NavigationLink` is tapped or the user swipes back. Gets called with the new path.
|
|
17
|
+
*
|
|
18
|
+
* When `path` is set, the stack is controlled: a push takes effect once the new path comes back
|
|
19
|
+
* through this prop.
|
|
20
|
+
*/
|
|
21
|
+
onPathChange?: (path: string[]) => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A view that displays a root view and enables you to present additional views over the root view.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* const [path, setPath] = useState<string[]>([]);
|
|
29
|
+
*
|
|
30
|
+
* <NavigationStack path={path} onPathChange={setPath}>
|
|
31
|
+
* <List>
|
|
32
|
+
* <NavigationLink value="settings">
|
|
33
|
+
* <Text>Settings</Text>
|
|
34
|
+
* </NavigationLink>
|
|
35
|
+
* </List>
|
|
36
|
+
* <NavigationDestination value="settings">
|
|
37
|
+
* <SettingsScreen />
|
|
38
|
+
* </NavigationDestination>
|
|
39
|
+
* </NavigationStack>
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @platform ios
|
|
43
|
+
*/
|
|
44
|
+
export declare function NavigationStack(props: NavigationStackProps): import("react/jsx-runtime").JSX.Element;
|