@expo/ui 57.0.21 → 57.0.22
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.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/DatePickerView.kt +1 -0
- package/android/src/main/java/expo/modules/ui/HostView.kt +7 -1
- package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +23 -2
- package/build/community/datetime-picker/DateTimePicker.android.d.ts.map +1 -1
- package/build/community/datetime-picker/utils.d.ts +11 -0
- package/build/community/datetime-picker/utils.d.ts.map +1 -0
- package/build/community/picker/Picker.android.d.ts.map +1 -1
- package/build/jetpack-compose/modifiers/index.d.ts +18 -3
- package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
- package/build/swift-ui/ArrangementView/index.d.ts +49 -0
- package/build/swift-ui/ArrangementView/index.d.ts.map +1 -0
- package/build/swift-ui/index.d.ts +1 -0
- package/build/swift-ui/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/animation/index.d.ts +6 -1
- package/build/swift-ui/modifiers/animation/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/animation/types.d.ts +15 -1
- package/build/swift-ui/modifiers/animation/types.d.ts.map +1 -1
- package/build/swift-ui/modifiers/arrangementModifiers.d.ts +110 -0
- package/build/swift-ui/modifiers/arrangementModifiers.d.ts.map +1 -0
- package/build/swift-ui/modifiers/containerBackground.d.ts +2 -2
- package/build/swift-ui/modifiers/index.d.ts +40 -2
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/build/universal/Switch/index.android.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/ArrangementViewView.swift +40 -0
- package/ios/ExpoUIModule.swift +1 -1
- package/ios/Modifiers/AnimationConfig.swift +20 -0
- package/ios/Modifiers/ArrangementModifiers.swift +157 -0
- package/ios/Modifiers/ContainerBackgroundModifier.swift +26 -13
- package/ios/Modifiers/PreferredColorSchemeModifier.swift +12 -0
- package/ios/Modifiers/View+ModifierArray.swift +3 -3
- package/ios/Modifiers/ViewModifierRegistry.swift +116 -9
- package/ios/Modifiers/WidgetKitModifiers.swift +13 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.21/expo.modules.ui-57.0.21-sources.jar → 57.0.22/expo.modules.ui-57.0.22-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.21/expo.modules.ui-57.0.21.module → 57.0.22/expo.modules.ui-57.0.22.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.21/expo.modules.ui-57.0.21.pom → 57.0.22/expo.modules.ui-57.0.22.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.22/expo.modules.ui-57.0.22.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/community/datetime-picker/DateTimePicker.android.tsx +14 -4
- package/src/community/datetime-picker/utils.ts +21 -0
- package/src/community/picker/Picker.android.tsx +5 -0
- package/src/jetpack-compose/modifiers/index.ts +17 -3
- package/src/swift-ui/ArrangementView/index.tsx +70 -0
- package/src/swift-ui/index.tsx +1 -0
- package/src/swift-ui/modifiers/animation/index.ts +24 -11
- package/src/swift-ui/modifiers/animation/types.ts +18 -0
- package/src/swift-ui/modifiers/arrangementModifiers.ts +142 -0
- package/src/swift-ui/modifiers/containerBackground.ts +2 -2
- package/src/swift-ui/modifiers/index.ts +51 -1
- package/src/universal/Switch/index.android.tsx +11 -2
- package/ios/AccessoryWidgetBackgroundView.swift +0 -27
- package/ios/Modifiers/WidgetModifiers.swift +0 -70
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.21/expo.modules.ui-57.0.21.pom.sha512 +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,27 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 57.0.22 — 2026-10-06
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- [android] Added `IntrinsicSize` support to the `width` modifier. ([#50693](https://github.com/expo/expo/pull/50693) by [@janicduplessis](https://github.com/janicduplessis))
|
|
18
|
+
- [iOS] Added the `preferredColorScheme` modifier, which sets the color scheme of a presentation such as `BottomSheet`, including its background. ([#50851](https://github.com/expo/expo/pull/50851) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
19
|
+
- [iOS] Added the `navigationBarTitleDisplayMode` and `toolbarTitleDisplayMode` modifiers for controlling navigation and toolbar title presentation. ([#50687](https://github.com/expo/expo/pull/50687) by [@0x5bfa](https://github.com/0x5bfa))
|
|
20
|
+
- [iOS] Added the `smooth`, `snappy`, and `bouncy` spring presets to `Animation`. Like their SwiftUI counterparts, they take an optional `duration` and `extraBounce`. ([#50984](https://github.com/expo/expo/pull/50984) by [@Den1Marshall](https://github.com/Den1Marshall))
|
|
21
|
+
- [iOS] Add `ArrangementView` component and `arrangementViewStyle`, `splitArrangementLayoutRatio`, `splitArrangementLayoutSize`, `splitArrangementFixedLayoutSize`, and `overlayArrangementEdge` modifiers. ([#50893](https://github.com/expo/expo/pull/50893) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
22
|
+
|
|
23
|
+
### 🐛 Bug fixes
|
|
24
|
+
|
|
25
|
+
- [Android] Fix the community `DateTimePicker` reading `value` as a UTC day while `minimumDate`/`maximumDate` use the device-local day. In non-UTC timezones the picker could select and return the wrong day — one before `minimumDate`. `value`'s local calendar day is now sent to Material3 as a UTC day, and the picked day is returned as a local date that keeps `value`'s time of day. ([#50941](https://github.com/expo/expo/pull/50941) by [@expo-bot](https://github.com/expo-bot))
|
|
26
|
+
- [Android] Fix `TimePickerDialog` ignoring `elementColors.containerColor`. ([#51116](https://github.com/expo/expo/pull/51116) by [@expo-bot](https://github.com/expo-bot))
|
|
27
|
+
- [Android] Fix an intermittent `performMeasureAndLayout called during measure layout` crash that tore down the ReactHost when a `Host` with `matchContents` was measured while react-native-reanimated was active. The `onLayoutContent` event is now posted after the measure pass instead of emitted inside it. ([#49933](https://github.com/expo/expo/pull/49933) by [@expo-bot](https://github.com/expo-bot))
|
|
28
|
+
- [android] Fix `Switch` label rendering one letter per line inside a `Host` with `matchContents`. ([#50693](https://github.com/expo/expo/pull/50693) by [@janicduplessis](https://github.com/janicduplessis))
|
|
29
|
+
- [android] Fix `community/picker` `Picker` not updating its displayed label after a selection or a `selectedValue` change. ([#50801](https://github.com/expo/expo/pull/50801) by [@RaddishIoW](https://github.com/RaddishIoW))
|
|
30
|
+
- [iOS] Fixed `delay()` and `repeat()` modifying the animation they are called on. Chaining from a shared animation, such as `Animation.default` or one stored in a constant, no longer changes that animation everywhere else it is used. ([#50927](https://github.com/expo/expo/pull/50927) by [@Den1Marshall](https://github.com/Den1Marshall))
|
|
31
|
+
- [iOS] Stop linking WidgetKit into apps that use `@expo/ui` without widgets. The `widgetURL`, `activityBackgroundTint`, `widgetAccentedRenderingMode`, and `containerBackground` (`widget` placement) modifiers and the `AccessoryWidgetBackground` view now take effect only inside `expo-widgets` widgets and Live Activities. ([#50786](https://github.com/expo/expo/pull/50786) by [@nishan](https://github.com/intergalacticspacehighway))
|
|
32
|
+
- [iOS][tvOS] Fix the tvOS build failing to compile with `'inlineLarge' is unavailable in tvOS` when `@expo/ui` is linked. `ToolbarTitleDisplayMode.inlineLarge` is unavailable on tvOS, but the `inlineLarge` case of the `toolbarTitleDisplayMode` modifier was only gated behind an OS version check that listed `tvOS 18.0`, so it was compiled into the tvOS slice. It is now guarded by platform and returns `nil` on tvOS. The same check also required iOS 18.0 / macOS 15.0, so `inlineLarge` silently fell back to `automatic` on iOS 17 and macOS 14 even though it is available there; it now applies on those versions. ([#51007](https://github.com/expo/expo/pull/51007) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
33
|
+
|
|
13
34
|
## 57.0.21 — 2026-09-29
|
|
14
35
|
|
|
15
36
|
### 🎉 New features
|
package/android/build.gradle
CHANGED
|
@@ -12,13 +12,13 @@ apply plugin: 'expo-module-gradle-plugin'
|
|
|
12
12
|
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
|
|
13
13
|
|
|
14
14
|
group = 'expo.modules.ui'
|
|
15
|
-
version = '57.0.
|
|
15
|
+
version = '57.0.22'
|
|
16
16
|
|
|
17
17
|
android {
|
|
18
18
|
namespace "expo.modules.ui"
|
|
19
19
|
defaultConfig {
|
|
20
20
|
versionCode 1
|
|
21
|
-
versionName "57.0.
|
|
21
|
+
versionName "57.0.22"
|
|
22
22
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
23
23
|
}
|
|
24
24
|
buildFeatures {
|
|
@@ -443,6 +443,7 @@ fun ExpoTimePickerDialogContent(props: TimePickerDialogProps, onDateSelected: (D
|
|
|
443
443
|
Text(props.dismissButtonLabel ?: stringResource(android.R.string.cancel))
|
|
444
444
|
}
|
|
445
445
|
},
|
|
446
|
+
containerColor = timePickerColors.containerColor,
|
|
446
447
|
text = {
|
|
447
448
|
TimePicker(
|
|
448
449
|
state = state,
|
|
@@ -232,7 +232,13 @@ internal class HostView(context: Context, appContext: AppContext) :
|
|
|
232
232
|
shadowNodeProxy.setStyleSize(styleWidth?.toDouble(), styleHeight?.toDouble())
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
|
|
235
|
+
// `onSizeChanged` runs inside the Compose measure pass. Emitting the event here reaches
|
|
236
|
+
// Fabric event listeners synchronously (e.g. reanimated's `onEventDispatch` hook), which
|
|
237
|
+
// can flush mount items and re-enter `onMeasure` of a view that is mid-measure — Compose
|
|
238
|
+
// then throws "performMeasureAndLayout called during measure layout" and takes down the
|
|
239
|
+
// ReactHost. Post the dispatch so it runs after the measure pass completes.
|
|
240
|
+
// See https://github.com/expo/expo/issues/47625.
|
|
241
|
+
post { onLayoutContent(LayoutContentEvent(width.toDouble(), height.toDouble())) }
|
|
236
242
|
}
|
|
237
243
|
}
|
|
238
244
|
|
|
@@ -19,6 +19,7 @@ import androidx.compose.foundation.combinedClickable
|
|
|
19
19
|
import androidx.compose.foundation.horizontalScroll
|
|
20
20
|
import androidx.compose.foundation.rememberScrollState
|
|
21
21
|
import androidx.compose.foundation.verticalScroll
|
|
22
|
+
import androidx.compose.foundation.layout.IntrinsicSize
|
|
22
23
|
import androidx.compose.foundation.layout.fillMaxHeight
|
|
23
24
|
import androidx.compose.foundation.layout.fillMaxSize
|
|
24
25
|
import androidx.compose.foundation.layout.fillMaxWidth
|
|
@@ -73,6 +74,7 @@ import expo.modules.kotlin.AppContext
|
|
|
73
74
|
import expo.modules.kotlin.records.Field
|
|
74
75
|
import expo.modules.kotlin.records.Record
|
|
75
76
|
import expo.modules.kotlin.records.recordFromMap
|
|
77
|
+
import expo.modules.kotlin.types.Either
|
|
76
78
|
import expo.modules.kotlin.types.Enumerable
|
|
77
79
|
import expo.modules.kotlin.views.ComposableScope
|
|
78
80
|
import expo.modules.ui.convertibles.AlignmentType
|
|
@@ -127,6 +129,21 @@ internal data class WidthParams(
|
|
|
127
129
|
@Field val width: Int = 0
|
|
128
130
|
) : Record
|
|
129
131
|
|
|
132
|
+
internal enum class IntrinsicSizeType(val value: String) : Enumerable {
|
|
133
|
+
MIN("min"),
|
|
134
|
+
MAX("max");
|
|
135
|
+
|
|
136
|
+
fun toComposeIntrinsicSize(): IntrinsicSize = when (this) {
|
|
137
|
+
MIN -> IntrinsicSize.Min
|
|
138
|
+
MAX -> IntrinsicSize.Max
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@OptimizedRecord
|
|
143
|
+
internal data class ComposeWidthParams(
|
|
144
|
+
@Field val width: Either<Int, IntrinsicSizeType>? = null
|
|
145
|
+
) : Record
|
|
146
|
+
|
|
130
147
|
@OptimizedRecord
|
|
131
148
|
internal data class HeightParams(
|
|
132
149
|
@Field val height: Int = 0
|
|
@@ -453,8 +470,12 @@ object ModifierRegistry {
|
|
|
453
470
|
}
|
|
454
471
|
|
|
455
472
|
register("width") { map, _, _, _ ->
|
|
456
|
-
val
|
|
457
|
-
|
|
473
|
+
val width = recordFromMap<ComposeWidthParams>(map).width
|
|
474
|
+
if (width?.`is`(IntrinsicSizeType::class) == true) {
|
|
475
|
+
Modifier.width(width.second().toComposeIntrinsicSize())
|
|
476
|
+
} else {
|
|
477
|
+
Modifier.width((width?.first() ?: 0).dp)
|
|
478
|
+
}
|
|
458
479
|
}
|
|
459
480
|
|
|
460
481
|
register("height") { map, _, _, _ ->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimePicker.android.d.ts","sourceRoot":"","sources":["../../../src/community/datetime-picker/DateTimePicker.android.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"DateTimePicker.android.d.ts","sourceRoot":"","sources":["../../../src/community/datetime-picker/DateTimePicker.android.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAoCjF,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAmGxD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the ISO string of the UTC midnight of `value`'s local calendar day, so Material3 shows
|
|
3
|
+
* the same day the user sees locally.
|
|
4
|
+
*/
|
|
5
|
+
export declare function localDateToUtcDayISOString(value: Date): string;
|
|
6
|
+
/**
|
|
7
|
+
* Converts the UTC-midnight day reported by Material3 back into a local date, keeping the time of
|
|
8
|
+
* day from `timeOfDay`.
|
|
9
|
+
*/
|
|
10
|
+
export declare function utcDayToLocalDate(utcDay: Date, timeOfDay: Date): Date;
|
|
11
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/community/datetime-picker/utils.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,CAE9D;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,GAAG,IAAI,CAIrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Picker.android.d.ts","sourceRoot":"","sources":["../../../src/community/picker/Picker.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,WAAW,EACjB,MAAM,SAAS,CAAC;AAYjB;;;GAGG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"Picker.android.d.ts","sourceRoot":"","sources":["../../../src/community/picker/Picker.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,WAAW,EACjB,MAAM,SAAS,CAAC;AAYjB;;;GAGG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,2CAmDtE;yBAnDe,MAAM"}
|
|
@@ -38,10 +38,25 @@ export declare const fillMaxWidth: (fraction?: number) => import("./createModifi
|
|
|
38
38
|
*/
|
|
39
39
|
export declare const fillMaxHeight: (fraction?: number) => import("./createModifier").ModifierConfig;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
41
|
+
* Intrinsic width values for the `width` modifier. `Min` is the smallest width at which the content
|
|
42
|
+
* still draws correctly, and `Max` is the width the content needs when nothing limits it.
|
|
43
43
|
*/
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const IntrinsicSize: {
|
|
45
|
+
readonly Min: "min";
|
|
46
|
+
readonly Max: "max";
|
|
47
|
+
};
|
|
48
|
+
export type IntrinsicSize = (typeof IntrinsicSize)[keyof typeof IntrinsicSize];
|
|
49
|
+
/**
|
|
50
|
+
* Sets the width of the view to an exact value, or to the minimum or maximum intrinsic width of its
|
|
51
|
+
* content. The incoming constraints can still make the view narrower or wider than that width.
|
|
52
|
+
* @param value - Width in dp, or an `IntrinsicSize`. `IntrinsicSize.Min` uses the minimum intrinsic
|
|
53
|
+
* width, the smallest width at which the content still draws correctly (for a text, its widest word).
|
|
54
|
+
* `IntrinsicSize.Max` uses the maximum intrinsic width, the width the content needs when nothing
|
|
55
|
+
* limits it (for a text, a single line).
|
|
56
|
+
* @see [Compose `width(IntrinsicSize)` modifier](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/width.modifier#(androidx.compose.ui.Modifier).width(androidx.compose.foundation.layout.IntrinsicSize))
|
|
57
|
+
* @see [Intrinsic measurements in Compose layouts](https://developer.android.com/develop/ui/compose/layouts/intrinsic-measurements)
|
|
58
|
+
*/
|
|
59
|
+
export declare const width: (value: number | IntrinsicSize) => import("./createModifier").ModifierConfig;
|
|
45
60
|
/**
|
|
46
61
|
* Sets the exact height of the view.
|
|
47
62
|
* @param value - Height in dp.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/modifiers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE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AAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type CommonViewModifierProps } from '../types';
|
|
2
|
+
export interface ArrangementViewProps extends CommonViewModifierProps {
|
|
3
|
+
/**
|
|
4
|
+
* The views to arrange. Provide `ArrangementView.Primary` and `ArrangementView.Secondary`.
|
|
5
|
+
*/
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The primary view of the arrangement.
|
|
10
|
+
*/
|
|
11
|
+
declare function ArrangementViewPrimary(props: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* The secondary view of the arrangement.
|
|
16
|
+
*/
|
|
17
|
+
declare function ArrangementViewSecondary(props: {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* ArrangementView uses the native [ArrangementView](https://developer.apple.com/documentation/swiftui/arrangementview) view.
|
|
22
|
+
*
|
|
23
|
+
* A view that arranges primary and secondary content using an adaptive layout that responds to
|
|
24
|
+
* the environment.
|
|
25
|
+
*
|
|
26
|
+
* > **Note:** Below iOS 27.1, the children render without a container.
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* <Host style={{ flex: 1 }}>
|
|
30
|
+
* <ArrangementView modifiers={[arrangementViewStyle('split')]}>
|
|
31
|
+
* <ArrangementView.Primary>
|
|
32
|
+
* <NowPlaying />
|
|
33
|
+
* </ArrangementView.Primary>
|
|
34
|
+
* <ArrangementView.Secondary>
|
|
35
|
+
* <Lyrics />
|
|
36
|
+
* </ArrangementView.Secondary>
|
|
37
|
+
* </ArrangementView>
|
|
38
|
+
* </Host>
|
|
39
|
+
* ```
|
|
40
|
+
* @platform ios 27.1+
|
|
41
|
+
* @platform tvos 27.1+
|
|
42
|
+
*/
|
|
43
|
+
export declare function ArrangementView(props: ArrangementViewProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare namespace ArrangementView {
|
|
45
|
+
var Primary: typeof ArrangementViewPrimary;
|
|
46
|
+
var Secondary: typeof ArrangementViewSecondary;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ArrangementView/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB;IACnE;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAOD;;GAEG;AACH,iBAAS,sBAAsB,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAEnE;AAED;;GAEG;AACH,iBAAS,wBAAwB,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAErE;AAKD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAW1D;yBAXe,eAAe"}
|
|
@@ -28,6 +28,7 @@ export * from './Menu';
|
|
|
28
28
|
export * from './NavigationDestination';
|
|
29
29
|
export * from './NavigationLink';
|
|
30
30
|
export * from './NavigationSplitView';
|
|
31
|
+
export * from './ArrangementView';
|
|
31
32
|
export * from './NavigationStack';
|
|
32
33
|
export * from './Picker';
|
|
33
34
|
export * from './ProgressView';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/swift-ui/index.tsx"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAA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c,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,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,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,KAAK,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AACtF,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnimationObject, ChainableAnimationType, InterpolatingSpringAnimationParams, SpringAnimationParams, TimingAnimationParams } from './types';
|
|
1
|
+
import type { AnimationObject, ChainableAnimationType, InterpolatingSpringAnimationParams, SpringAnimationParams, SpringPresetAnimationParams, TimingAnimationParams } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Built-in animation presets for the `animation` modifier.
|
|
4
4
|
* Presets:
|
|
@@ -7,6 +7,8 @@ import type { AnimationObject, ChainableAnimationType, InterpolatingSpringAnimat
|
|
|
7
7
|
* - `spring` accepts [`SpringAnimationParams`](#springanimationparams).
|
|
8
8
|
* - `interpolatingSpring` accepts
|
|
9
9
|
* [`InterpolatingSpringAnimationParams`](#interpolatingspringanimationparams).
|
|
10
|
+
* - Spring presets (`smooth`, `snappy`, `bouncy`) accept
|
|
11
|
+
* [`SpringPresetAnimationParams`](#springpresetanimationparams).
|
|
10
12
|
* - Chaining returns [`ChainableAnimationType`](#chainableanimationtype).
|
|
11
13
|
*
|
|
12
14
|
* @example
|
|
@@ -35,6 +37,9 @@ export declare const Animation: {
|
|
|
35
37
|
linear: (params?: TimingAnimationParams) => ChainableAnimationType;
|
|
36
38
|
spring: (params?: SpringAnimationParams) => ChainableAnimationType;
|
|
37
39
|
interpolatingSpring: (params?: InterpolatingSpringAnimationParams) => ChainableAnimationType;
|
|
40
|
+
smooth: (params?: SpringPresetAnimationParams) => ChainableAnimationType;
|
|
41
|
+
snappy: (params?: SpringPresetAnimationParams) => ChainableAnimationType;
|
|
42
|
+
bouncy: (params?: SpringPresetAnimationParams) => ChainableAnimationType;
|
|
38
43
|
default: ChainableAnimationType;
|
|
39
44
|
};
|
|
40
45
|
declare function ChainableAnimation(animation: AnimationObject): ChainableAnimationType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/swift-ui/modifiers/animation/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,kCAAkC,EAClC,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/swift-ui/modifiers/animation/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,kCAAkC,EAClC,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,SAAS;yBAEC,qBAAqB;sBAKxB,qBAAqB;uBAKpB,qBAAqB;sBAKtB,qBAAqB;sBAOrB,qBAAqB;mCASR,kCAAkC;sBAU/C,2BAA2B;sBAM3B,2BAA2B;sBAM3B,2BAA2B;;CAQ9C,CAAC;AAEF,iBAAS,kBAAkB,CAAC,SAAS,EAAE,eAAe,GAAG,sBAAsB,CAM9E;AAED,eAAO,MAAM,SAAS,GACpB,iBAAiB,UAAU,CAAC,OAAO,kBAAkB,CAAC,EACtD,eAAe,MAAM,GAAG,OAAO,gCAGhC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { VALUE_SYMBOL } from './constants';
|
|
|
4
4
|
* @hidden
|
|
5
5
|
*/
|
|
6
6
|
export type AnimationObject = {
|
|
7
|
-
type: 'easeInOut' | 'easeIn' | 'easeOut' | 'linear' | 'spring' | 'interpolatingSpring' | 'default';
|
|
7
|
+
type: 'easeInOut' | 'easeIn' | 'easeOut' | 'linear' | 'spring' | 'interpolatingSpring' | 'smooth' | 'snappy' | 'bouncy' | 'default';
|
|
8
8
|
duration?: number;
|
|
9
9
|
response?: number;
|
|
10
10
|
dampingFraction?: number;
|
|
@@ -14,6 +14,7 @@ export type AnimationObject = {
|
|
|
14
14
|
stiffness?: number;
|
|
15
15
|
damping?: number;
|
|
16
16
|
initialVelocity?: number;
|
|
17
|
+
extraBounce?: number;
|
|
17
18
|
delay?: number;
|
|
18
19
|
repeatCount?: number;
|
|
19
20
|
autoreverses?: boolean;
|
|
@@ -72,6 +73,19 @@ export type InterpolatingSpringAnimationParams = {
|
|
|
72
73
|
*/
|
|
73
74
|
bounce?: number;
|
|
74
75
|
};
|
|
76
|
+
export type SpringPresetAnimationParams = {
|
|
77
|
+
/**
|
|
78
|
+
* The perceptual duration, which defines the pace of the spring (in seconds). This is
|
|
79
|
+
* approximately equal to the settling duration, but for very bouncy springs, it is the period of
|
|
80
|
+
* oscillation of the spring.
|
|
81
|
+
*/
|
|
82
|
+
duration?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Bounce added to the base bounce of the preset: 0 for `smooth`, 0.15 for `snappy`, and 0.3 for
|
|
85
|
+
* `bouncy`. Keep the total below 1: at 1 and above, the spring oscillates without settling.
|
|
86
|
+
*/
|
|
87
|
+
extraBounce?: number;
|
|
88
|
+
};
|
|
75
89
|
export type ChainableAnimationType = {
|
|
76
90
|
/** Adds a delay before the animation starts (in seconds). */
|
|
77
91
|
delay: (delay: number) => ChainableAnimationType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/swift-ui/modifiers/animation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EACA,WAAW,GACX,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,qBAAqB,GACrB,SAAS,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OA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C;IACjB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,6DAA6D;IAC7D,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,sBAAsB,CAAC;IACjD,uDAAuD;IACvD,MAAM,EAAE,CAAC,MAAM,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,sBAAsB,CAAC;IAC5F,CAAC,YAAY,CAAC,EAAE,MAAM,eAAe,CAAC;CACvC,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { createModifier } from './createModifier';
|
|
2
|
+
/**
|
|
3
|
+
* A style that configures an `ArrangementView` with an arrangement.
|
|
4
|
+
* - `'automatic'`: The default style, which resolves to `'split'`.
|
|
5
|
+
* - `'split'`: An arrangement view style that places the primary and secondary views side by side along one or more axes.
|
|
6
|
+
* - `'overlay'`: An arrangement view style that layers the primary view over the secondary view in z-order.
|
|
7
|
+
*/
|
|
8
|
+
export type ArrangementViewStyle = 'automatic' | 'split' | 'overlay';
|
|
9
|
+
/**
|
|
10
|
+
* Sets the style for arrangement views within this view.
|
|
11
|
+
* @param style - The style to apply.
|
|
12
|
+
* @param options - The `axes` the arrangement supports. With `'split'`, creates a split arrangement
|
|
13
|
+
* that supports the given axes. With `'overlay'`, creates an overlay arrangement that supports
|
|
14
|
+
* laying out its views along the given axes.
|
|
15
|
+
* @platform ios 27.1+
|
|
16
|
+
* @platform tvos 27.1+
|
|
17
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/arrangementviewstyle(_:)).
|
|
18
|
+
*/
|
|
19
|
+
export declare function arrangementViewStyle(style: 'automatic'): ReturnType<typeof createModifier>;
|
|
20
|
+
export declare function arrangementViewStyle(style: 'split' | 'overlay', options?: {
|
|
21
|
+
axes?: 'horizontal' | 'vertical' | 'both';
|
|
22
|
+
}): ReturnType<typeof createModifier>;
|
|
23
|
+
/**
|
|
24
|
+
* The minimum, ideal, and maximum ratios for `splitArrangementLayoutRatio`.
|
|
25
|
+
*/
|
|
26
|
+
export type SplitArrangementLayoutRatioParams = {
|
|
27
|
+
minHorizontal?: number;
|
|
28
|
+
idealHorizontal?: number;
|
|
29
|
+
maxHorizontal?: number;
|
|
30
|
+
minVertical?: number;
|
|
31
|
+
idealVertical?: number;
|
|
32
|
+
maxVertical?: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Sets the preferred size ratio for the content of `ArrangementView.Primary` or
|
|
36
|
+
* `ArrangementView.Secondary` in a split arrangement.
|
|
37
|
+
* @platform ios 27.1+
|
|
38
|
+
* @platform tvos 27.1+
|
|
39
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/splitarrangementlayoutratio(_:)).
|
|
40
|
+
*/
|
|
41
|
+
export declare function splitArrangementLayoutRatio(ratio: number): ReturnType<typeof createModifier>;
|
|
42
|
+
/**
|
|
43
|
+
* Sets the size ratio for the content of `ArrangementView.Primary` or `ArrangementView.Secondary`
|
|
44
|
+
* in a split arrangement.
|
|
45
|
+
* @platform ios 27.1+
|
|
46
|
+
* @platform tvos 27.1+
|
|
47
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/splitarrangementlayoutratio(minhorizontal:idealhorizontal:maxhorizontal:minvertical:idealvertical:maxvertical:)).
|
|
48
|
+
*/
|
|
49
|
+
export declare function splitArrangementLayoutRatio(ratios: SplitArrangementLayoutRatioParams): ReturnType<typeof createModifier>;
|
|
50
|
+
/**
|
|
51
|
+
* The minimum, ideal, and maximum sizes for `splitArrangementLayoutSize`.
|
|
52
|
+
*/
|
|
53
|
+
export type SplitArrangementLayoutSizeParams = {
|
|
54
|
+
minWidth?: number;
|
|
55
|
+
idealWidth?: number;
|
|
56
|
+
maxWidth?: number;
|
|
57
|
+
minHeight?: number;
|
|
58
|
+
idealHeight?: number;
|
|
59
|
+
maxHeight?: number;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Sets the size constraints for the content of `ArrangementView.Primary` or
|
|
63
|
+
* `ArrangementView.Secondary` in a split arrangement.
|
|
64
|
+
* @platform ios 27.1+
|
|
65
|
+
* @platform tvos 27.1+
|
|
66
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/splitarrangementlayoutsize(minwidth:idealwidth:maxwidth:minheight:idealheight:maxheight:)).
|
|
67
|
+
*/
|
|
68
|
+
export declare const splitArrangementLayoutSize: (constraints: SplitArrangementLayoutSizeParams) => import("./createModifier").ModifierConfig;
|
|
69
|
+
/**
|
|
70
|
+
* The split axes on which `splitArrangementFixedLayoutSize` prefers the ideal size of the view.
|
|
71
|
+
*/
|
|
72
|
+
export type SplitArrangementFixedLayoutSizeParams = {
|
|
73
|
+
/**
|
|
74
|
+
* Whether to prefer a fixed width for the view in a horizontal split.
|
|
75
|
+
* @default true
|
|
76
|
+
*/
|
|
77
|
+
horizontal?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Whether to prefer a fixed height for the view in a vertical split.
|
|
80
|
+
* @default true
|
|
81
|
+
*/
|
|
82
|
+
vertical?: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Sets the preferred size constraint for the content of `ArrangementView.Primary` or
|
|
86
|
+
* `ArrangementView.Secondary` in a split arrangement to the ideal size of the view within its
|
|
87
|
+
* container. The arrangement view prefers this size, but may resize to a smaller size depending on
|
|
88
|
+
* the priority of the view.
|
|
89
|
+
* @platform ios 27.1+
|
|
90
|
+
* @platform tvos 27.1+
|
|
91
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/splitarrangementfixedlayoutsize(horizontal:vertical:)).
|
|
92
|
+
*/
|
|
93
|
+
export declare const splitArrangementFixedLayoutSize: (options?: SplitArrangementFixedLayoutSizeParams) => import("./createModifier").ModifierConfig;
|
|
94
|
+
/**
|
|
95
|
+
* Sets the horizontal edge that a view in an overlay arrangement occupies when the arrangement
|
|
96
|
+
* transitions to a horizontal layout.
|
|
97
|
+
* @platform ios 27.1+
|
|
98
|
+
* @platform tvos 27.1+
|
|
99
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/overlayarrangementedge(_:)).
|
|
100
|
+
*/
|
|
101
|
+
export declare function overlayArrangementEdge(edge: 'leading' | 'trailing'): ReturnType<typeof createModifier>;
|
|
102
|
+
/**
|
|
103
|
+
* Sets the vertical edge that a view in an overlay arrangement occupies when the arrangement
|
|
104
|
+
* transitions to a vertical layout.
|
|
105
|
+
* @platform ios 27.1+
|
|
106
|
+
* @platform tvos 27.1+
|
|
107
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/overlayarrangementedge(_:)-4tjwn).
|
|
108
|
+
*/
|
|
109
|
+
export declare function overlayArrangementEdge(edge: 'top' | 'bottom'): ReturnType<typeof createModifier>;
|
|
110
|
+
//# sourceMappingURL=arrangementModifiers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrangementModifiers.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/modifiers/arrangementModifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC;AAErE;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5F,wBAAgB,oBAAoB,CAClC,KA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8CACnC,CAAC;AAE7D;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,SAAS,GAAG,UAAU,GAC3B,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AACrC;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -3,8 +3,8 @@ export type ContainerBackgroundPlacement = 'widget' | 'navigation' | 'navigation
|
|
|
3
3
|
/**
|
|
4
4
|
* Sets the container background of the enclosing container.
|
|
5
5
|
*
|
|
6
|
-
* > **Note:** `navigation` and `navigationSplitView` require iOS 18.
|
|
7
|
-
* >
|
|
6
|
+
* > **Note:** `navigation` and `navigationSplitView` require iOS 18. The `widget` placement works
|
|
7
|
+
* > only in `expo-widgets` widgets, where the other placements fall back to it on iOS 17.
|
|
8
8
|
*
|
|
9
9
|
* @param style - Any [`ShapeStyle`](#shapestyle): a color, a hierarchical style, a material, or a gradient.
|
|
10
10
|
* @param container - The type of container to apply the background to.
|
|
@@ -611,6 +611,14 @@ export declare const scrollDismissesKeyboard: (mode: "automatic" | "never" | "in
|
|
|
611
611
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/scrolldisabled(_:)).
|
|
612
612
|
*/
|
|
613
613
|
export declare const scrollDisabled: (disabled?: boolean) => ModifierConfig;
|
|
614
|
+
/**
|
|
615
|
+
* Sets the preferred color scheme for the nearest enclosing presentation, such as a `BottomSheet`,
|
|
616
|
+
* including its background. The value overrides the device's light or dark appearance for that
|
|
617
|
+
* presentation.
|
|
618
|
+
* @param colorScheme - The preferred color scheme, or `null` to indicate no preference.
|
|
619
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/preferredcolorscheme(_:)).
|
|
620
|
+
*/
|
|
621
|
+
export declare const preferredColorScheme: (colorScheme: "light" | "dark" | null) => ModifierConfig;
|
|
614
622
|
/**
|
|
615
623
|
* Disables or enables clipping of a scrollable view's content to its bounds.
|
|
616
624
|
* Content drawn outside those bounds, such as a shadow or a view scaled up past the edge, is
|
|
@@ -1280,12 +1288,41 @@ export declare const resizable: (capInsets?: {
|
|
|
1280
1288
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/navigationtitle(_:)).
|
|
1281
1289
|
*/
|
|
1282
1290
|
export declare const navigationTitle: (title: string) => ModifierConfig;
|
|
1291
|
+
/**
|
|
1292
|
+
* Title display modes for the `navigationBarTitleDisplayMode` modifier.
|
|
1293
|
+
* @platform ios
|
|
1294
|
+
*/
|
|
1295
|
+
export type NavigationBarTitleDisplayMode = 'automatic' | 'inline' | 'large';
|
|
1296
|
+
/**
|
|
1297
|
+
* Configures the title display mode for a navigation bar.
|
|
1298
|
+
* @param displayMode - The style to use for displaying the navigation bar title.
|
|
1299
|
+
* @platform ios
|
|
1300
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/navigationbartitledisplaymode(_:)).
|
|
1301
|
+
*/
|
|
1302
|
+
export declare const navigationBarTitleDisplayMode: (displayMode: NavigationBarTitleDisplayMode) => ModifierConfig;
|
|
1303
|
+
/**
|
|
1304
|
+
* Title display modes for the `toolbarTitleDisplayMode` modifier. On tvOS, `large` and
|
|
1305
|
+
* `inlineLarge` have no effect. On macOS, `large` has no effect.
|
|
1306
|
+
* @platform ios 17.0+
|
|
1307
|
+
* @platform tvos 17.0+
|
|
1308
|
+
* @platform macos 14.0+
|
|
1309
|
+
*/
|
|
1310
|
+
export type ToolbarTitleDisplayMode = 'automatic' | 'inline' | 'inlineLarge' | 'large';
|
|
1311
|
+
/**
|
|
1312
|
+
* Configures the title display mode for a toolbar.
|
|
1313
|
+
* @param mode - The style to use for displaying the toolbar title.
|
|
1314
|
+
* @platform ios 17.0+
|
|
1315
|
+
* @platform tvos 17.0+
|
|
1316
|
+
* @platform macos 14.0+
|
|
1317
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/toolbartitledisplaymode(_:)).
|
|
1318
|
+
*/
|
|
1319
|
+
export declare const toolbarTitleDisplayMode: (mode: ToolbarTitleDisplayMode) => ModifierConfig;
|
|
1283
1320
|
/**
|
|
1284
1321
|
* Union type of all built-in modifier return types.
|
|
1285
1322
|
* This provides type safety for the modifiers array.
|
|
1286
1323
|
* @hidden
|
|
1287
1324
|
*/
|
|
1288
|
-
export type BuiltInModifier = ReturnType<typeof listSectionSpacing> | ReturnType<typeof background> | ReturnType<typeof cornerRadius> | ReturnType<typeof shadow> | ReturnType<typeof frame> | ReturnType<typeof padding> | ReturnType<typeof fixedSize> | ReturnType<typeof ignoreSafeArea> | ReturnType<typeof onTapGesture> | ReturnType<typeof onLongPressGesture> | ReturnType<typeof onAppear> | ReturnType<typeof luminanceToAlpha> | ReturnType<typeof onDisappear> | ReturnType<typeof onGeometryChange> | ReturnType<typeof opacity> | ReturnType<typeof clipShape> | ReturnType<typeof border> | ReturnType<typeof strokeBorder> | ReturnType<typeof scaleEffect> | ReturnType<typeof rotationEffect> | ReturnType<typeof rotation3DEffect> | ReturnType<typeof offset> | ReturnType<typeof foregroundColor> | ReturnType<typeof foregroundStyle> | ReturnType<typeof bold> | ReturnType<typeof italic> | ReturnType<typeof monospacedDigit> | ReturnType<typeof tint> | ReturnType<typeof hidden> | ReturnType<typeof disabled> | ReturnType<typeof redacted> | ReturnType<typeof unredacted> | ReturnType<typeof privacySensitive> | ReturnType<typeof invalidatableContent> | ReturnType<typeof zIndex> | ReturnType<typeof blur> | ReturnType<typeof brightness> | ReturnType<typeof contrast> | ReturnType<typeof saturation> | ReturnType<typeof hueRotation> | ReturnType<typeof colorInvert> | ReturnType<typeof grayscale> | ReturnType<typeof buttonStyle> | ReturnType<typeof buttonBorderShape> | ReturnType<typeof toggleStyle> | ReturnType<typeof menuStyle> | ReturnType<typeof menuIndicator> | ReturnType<typeof controlSize> | ReturnType<typeof imageScale> | ReturnType<typeof labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | ReturnType<typeof accessibilityInputLabels> | ReturnType<typeof accessibilityIdentifier> | ReturnType<typeof accessibilityHidden> | ReturnType<typeof accessibilityElement> | ReturnType<typeof accessibilityAddTraits> | ReturnType<typeof accessibilityRemoveTraits> | ReturnType<typeof layoutPriority> | ReturnType<typeof mask> | ReturnType<typeof overlay> | ReturnType<typeof backgroundOverlay> | ReturnType<typeof aspectRatio> | ReturnType<typeof clipped> | ReturnType<typeof glassEffect> | ReturnType<typeof glassEffectId> | ReturnType<typeof geometryGroup> | ReturnType<typeof animation> | ReturnType<typeof containerShape> | ReturnType<typeof contentShape> | ReturnType<typeof containerRelativeFrame> | ReturnType<typeof scrollContentBackground> | ReturnType<typeof scrollDisabled> | ReturnType<typeof scrollClipDisabled> | ReturnType<typeof scrollIndicators> | ReturnType<typeof scrollEdgeEffectStyle> | 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 listRowSeparatorTint> | ReturnType<typeof listRowSpacing> | ReturnType<typeof alignmentGuide> | ReturnType<typeof truncationMode> | ReturnType<typeof allowsTightening> | ReturnType<typeof kerning> | ReturnType<typeof textCase> | ReturnType<typeof underline> | ReturnType<typeof strikethrough> | ReturnType<typeof multilineTextAlignment> | ReturnType<typeof textSelection> | ReturnType<typeof lineSpacing> | ReturnType<typeof lineHeight> | ReturnType<typeof lineLimit> | ReturnType<typeof headerProminence> | ReturnType<typeof listRowInsets> | ReturnType<typeof badgeProminence> | ReturnType<typeof badge> | ReturnType<typeof listSectionMargins> | ReturnType<typeof font> | ReturnType<typeof dynamicTypeSize> | ReturnType<typeof gridCellUnsizedAxes> | ReturnType<typeof gridCellColumns> | ReturnType<typeof gridColumnAlignment> | ReturnType<typeof gridCellAnchor> | ReturnType<typeof submitLabel> | ReturnType<typeof keyboardType> | ReturnType<typeof autocorrectionDisabled> | ReturnType<typeof onSubmit> | ReturnType<typeof textInputAutocapitalization> | ReturnType<typeof textContentType> | ReturnType<typeof datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition> | ReturnType<typeof resizable> | ReturnType<typeof symbolEffect> | ReturnType<typeof widgetAccentedRenderingMode> | ReturnType<typeof widgetURL> | ReturnType<typeof activityBackgroundTint> | ReturnType<typeof containerBackground> | ReturnType<typeof navigationTitle>;
|
|
1325
|
+
export type BuiltInModifier = ReturnType<typeof listSectionSpacing> | ReturnType<typeof background> | ReturnType<typeof cornerRadius> | ReturnType<typeof shadow> | ReturnType<typeof frame> | ReturnType<typeof padding> | ReturnType<typeof fixedSize> | ReturnType<typeof ignoreSafeArea> | ReturnType<typeof onTapGesture> | ReturnType<typeof onLongPressGesture> | ReturnType<typeof onAppear> | ReturnType<typeof luminanceToAlpha> | ReturnType<typeof onDisappear> | ReturnType<typeof onGeometryChange> | ReturnType<typeof opacity> | ReturnType<typeof clipShape> | ReturnType<typeof border> | ReturnType<typeof strokeBorder> | ReturnType<typeof scaleEffect> | ReturnType<typeof rotationEffect> | ReturnType<typeof rotation3DEffect> | ReturnType<typeof offset> | ReturnType<typeof foregroundColor> | ReturnType<typeof foregroundStyle> | ReturnType<typeof bold> | ReturnType<typeof italic> | ReturnType<typeof monospacedDigit> | ReturnType<typeof tint> | ReturnType<typeof hidden> | ReturnType<typeof disabled> | ReturnType<typeof redacted> | ReturnType<typeof unredacted> | ReturnType<typeof privacySensitive> | ReturnType<typeof invalidatableContent> | ReturnType<typeof zIndex> | ReturnType<typeof blur> | ReturnType<typeof brightness> | ReturnType<typeof contrast> | ReturnType<typeof saturation> | ReturnType<typeof hueRotation> | ReturnType<typeof colorInvert> | ReturnType<typeof grayscale> | ReturnType<typeof buttonStyle> | ReturnType<typeof buttonBorderShape> | ReturnType<typeof toggleStyle> | ReturnType<typeof menuStyle> | ReturnType<typeof menuIndicator> | ReturnType<typeof controlSize> | ReturnType<typeof imageScale> | ReturnType<typeof labelStyle> | ReturnType<typeof labelsHidden> | ReturnType<typeof textFieldStyle> | ReturnType<typeof menuActionDismissBehavior> | ReturnType<typeof accessibilityLabel> | ReturnType<typeof accessibilityHint> | ReturnType<typeof accessibilityValue> | ReturnType<typeof accessibilityInputLabels> | ReturnType<typeof accessibilityIdentifier> | ReturnType<typeof accessibilityHidden> | ReturnType<typeof accessibilityElement> | ReturnType<typeof accessibilityAddTraits> | ReturnType<typeof accessibilityRemoveTraits> | ReturnType<typeof layoutPriority> | ReturnType<typeof mask> | ReturnType<typeof overlay> | ReturnType<typeof backgroundOverlay> | ReturnType<typeof aspectRatio> | ReturnType<typeof clipped> | ReturnType<typeof glassEffect> | ReturnType<typeof glassEffectId> | ReturnType<typeof geometryGroup> | ReturnType<typeof animation> | ReturnType<typeof containerShape> | ReturnType<typeof contentShape> | ReturnType<typeof containerRelativeFrame> | ReturnType<typeof scrollContentBackground> | ReturnType<typeof scrollDisabled> | ReturnType<typeof preferredColorScheme> | ReturnType<typeof scrollClipDisabled> | ReturnType<typeof scrollIndicators> | ReturnType<typeof scrollEdgeEffectStyle> | 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 listRowSeparatorTint> | ReturnType<typeof listRowSpacing> | ReturnType<typeof alignmentGuide> | ReturnType<typeof truncationMode> | ReturnType<typeof allowsTightening> | ReturnType<typeof kerning> | ReturnType<typeof textCase> | ReturnType<typeof underline> | ReturnType<typeof strikethrough> | ReturnType<typeof multilineTextAlignment> | ReturnType<typeof textSelection> | ReturnType<typeof lineSpacing> | ReturnType<typeof lineHeight> | ReturnType<typeof lineLimit> | ReturnType<typeof headerProminence> | ReturnType<typeof listRowInsets> | ReturnType<typeof badgeProminence> | ReturnType<typeof badge> | ReturnType<typeof listSectionMargins> | ReturnType<typeof font> | ReturnType<typeof dynamicTypeSize> | ReturnType<typeof gridCellUnsizedAxes> | ReturnType<typeof gridCellColumns> | ReturnType<typeof gridColumnAlignment> | ReturnType<typeof gridCellAnchor> | ReturnType<typeof submitLabel> | ReturnType<typeof keyboardType> | ReturnType<typeof autocorrectionDisabled> | ReturnType<typeof onSubmit> | ReturnType<typeof textInputAutocapitalization> | ReturnType<typeof textContentType> | ReturnType<typeof datePickerStyle> | ReturnType<typeof progressViewStyle> | ReturnType<typeof gaugeStyle> | ReturnType<typeof listStyle> | ReturnType<typeof contentTransition> | ReturnType<typeof resizable> | ReturnType<typeof symbolEffect> | ReturnType<typeof widgetAccentedRenderingMode> | ReturnType<typeof widgetURL> | ReturnType<typeof activityBackgroundTint> | ReturnType<typeof containerBackground> | ReturnType<typeof navigationTitle> | ReturnType<typeof navigationBarTitleDisplayMode> | ReturnType<typeof toolbarTitleDisplayMode>;
|
|
1289
1326
|
/**
|
|
1290
1327
|
* Main ViewModifier type that supports both built-in and 3rd party modifiers.
|
|
1291
1328
|
* 3rd party modifiers should return ModifierConfig objects with their own type strings.
|
|
@@ -1316,6 +1353,7 @@ export * from './pickerStyle';
|
|
|
1316
1353
|
export * from './menuOrder';
|
|
1317
1354
|
export * from './tabViewModifiers';
|
|
1318
1355
|
export * from './navigationModifiers';
|
|
1356
|
+
export * from './arrangementModifiers';
|
|
1319
1357
|
export * from './datePickerStyle';
|
|
1320
1358
|
export * from './progressViewStyle';
|
|
1321
1359
|
export * from './gaugeStyle';
|
|
@@ -1326,5 +1364,5 @@ export * from './scrollPosition';
|
|
|
1326
1364
|
export * from './symbolEffect';
|
|
1327
1365
|
export * from './scrollObservation';
|
|
1328
1366
|
export * from './widgets';
|
|
1329
|
-
export type { TimingAnimationParams, SpringAnimationParams, InterpolatingSpringAnimationParams, ChainableAnimationType, } from './animation/types';
|
|
1367
|
+
export type { TimingAnimationParams, SpringAnimationParams, InterpolatingSpringAnimationParams, SpringPresetAnimationParams, ChainableAnimationType, } from './animation/types';
|
|
1330
1368
|
//# sourceMappingURL=index.d.ts.map
|