@expo/ui 57.0.21 → 57.0.23
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 +39 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/DatePickerView.kt +36 -2
- package/android/src/main/java/expo/modules/ui/DateRangePickerView.kt +35 -2
- package/android/src/main/java/expo/modules/ui/HostView.kt +28 -1
- package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +23 -2
- package/android/src/main/java/expo/modules/ui/RNHostView.kt +124 -17
- package/build/community/bottom-sheet/BottomSheet.ios.d.ts.map +1 -1
- 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/DatePicker/index.d.ts +38 -0
- package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
- package/build/jetpack-compose/RNHostView/index.d.ts +6 -1
- package/build/jetpack-compose/RNHostView/index.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/Chart/index.d.ts +10 -0
- package/build/swift-ui/Chart/index.d.ts.map +1 -1
- package/build/swift-ui/RNHostView.d.ts +7 -2
- package/build/swift-ui/RNHostView.d.ts.map +1 -1
- 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 +41 -2
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/presentationModifiers.d.ts +17 -1
- package/build/swift-ui/modifiers/presentationModifiers.d.ts.map +1 -1
- package/build/swift-ui/modifiers/searchable.d.ts +84 -0
- package/build/swift-ui/modifiers/searchable.d.ts.map +1 -0
- package/build/universal/RNHostView/index.d.ts.map +1 -1
- package/build/universal/RNHostView/types.d.ts +9 -4
- package/build/universal/RNHostView/types.d.ts.map +1 -1
- package/build/universal/Switch/index.android.d.ts.map +1 -1
- package/build/utils/matchContents.d.ts +11 -0
- package/build/utils/matchContents.d.ts.map +1 -0
- package/expo-module.config.json +1 -1
- package/ios/ArrangementViewView.swift +40 -0
- package/ios/ChartView.swift +15 -10
- 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/PresentationModifiers.swift +20 -4
- package/ios/Modifiers/SearchToolbarBehaviorModifier.swift +35 -0
- package/ios/Modifiers/SearchableModifier.swift +94 -0
- package/ios/Modifiers/View+ModifierArray.swift +3 -3
- package/ios/Modifiers/ViewModifierRegistry.swift +124 -9
- package/ios/Modifiers/WidgetKitModifiers.swift +13 -0
- package/ios/Picker/PickerView.swift +9 -7
- package/ios/RNHostView.swift +55 -9
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{57.0.21/expo.modules.ui-57.0.21-sources.jar → 57.0.23/expo.modules.ui-57.0.23-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.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.23/expo.modules.ui-57.0.23.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.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.23/expo.modules.ui-57.0.23.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/57.0.23/expo.modules.ui-57.0.23.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/bottom-sheet/BottomSheet.ios.tsx +7 -6
- package/src/community/datetime-picker/DateTimePicker.android.tsx +18 -4
- package/src/community/datetime-picker/utils.ts +21 -0
- package/src/community/picker/Picker.android.tsx +5 -0
- package/src/jetpack-compose/DatePicker/index.tsx +38 -0
- package/src/jetpack-compose/RNHostView/index.tsx +17 -6
- package/src/jetpack-compose/modifiers/index.ts +17 -3
- package/src/swift-ui/ArrangementView/index.tsx +70 -0
- package/src/swift-ui/Chart/index.tsx +10 -0
- package/src/swift-ui/RNHostView.tsx +11 -4
- 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 +52 -1
- package/src/swift-ui/modifiers/presentationModifiers.ts +18 -2
- package/src/swift-ui/modifiers/searchable.ts +107 -0
- package/src/universal/RNHostView/index.tsx +9 -4
- package/src/universal/RNHostView/types.ts +6 -4
- package/src/universal/Switch/index.android.tsx +11 -2
- package/src/utils/matchContents.ts +14 -0
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/DatePicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,aAAa,CAAC;AAG7D,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEhD,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,eAAe,GAAG,aAAa,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;OAEG;IACH,GAAG,EAAE,IAAI,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,+CAA+C;IAC/C,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,qDAAqD;IACrD,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,+DAA+D;IAC/D,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,4DAA4D;IAC5D,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,2EAA2E;IAC3E,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,qDAAqD;IACrD,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,mDAAmD;IACnD,uBAAuB,CAAC,EAAE,UAAU,CAAC;IACrC,oDAAoD;IACpD,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,2DAA2D;IAC3D,gCAAgC,CAAC,EA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9B;AASD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,2CAStE;AAED,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,aAAa,CAAC,EAAE,uBAAuB,GAAG,uBAAuB,CAAC;IAClE,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACtC,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAcD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CAY5D"}
|
|
@@ -6,10 +6,15 @@ export interface RNHostProps extends PrimitiveBaseProps {
|
|
|
6
6
|
/**
|
|
7
7
|
* When `true`, the RNHost will update its size in the Jetpack Compose view tree to match the children's size.
|
|
8
8
|
* When `false`, the RNHost will use the size of the parent Jetpack Compose View.
|
|
9
|
+
* Pass an object to choose per axis. For example, `{ vertical: true }` takes the width from the
|
|
10
|
+
* parent and the height from the children, so text wraps and grows vertically.
|
|
9
11
|
* Can be only set once on mount.
|
|
10
12
|
* @default false
|
|
11
13
|
*/
|
|
12
|
-
matchContents?: boolean
|
|
14
|
+
matchContents?: boolean | {
|
|
15
|
+
vertical?: boolean;
|
|
16
|
+
horizontal?: boolean;
|
|
17
|
+
};
|
|
13
18
|
/**
|
|
14
19
|
* Called on mount and whenever this view's layout in the React Native view tree changes.
|
|
15
20
|
* With `matchContents`, the reported size is the one measured from the hosted view.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/RNHostView/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/RNHostView/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAGpD,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACvE;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B;AAgCD,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,2CAqB5C"}
|
|
@@ -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,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EACL,QAAQ,EACR,MAAM,EACN,KAAK,EACL,IAAI,EACJ,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,SAAS,G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M,MAAM,YAAY,GACpB;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GACrB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IACE,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAIlD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM;eACmB,YAAY;YAClB,YAAY;4BAClB,MAAM,GAAG,WAAW,KAAG,YAAY;wBAIvC,MAAM,GAAG,WAAW,KAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,YAAY,8CAAsC,CAAC;AAM/E;;;;GAIG;AACH,eAAO,MAAM,cAAc,iDAAyC,CAAC;AAErE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,iDAA2C,CAAC;AAEzE,OAAO,EAAE,cAAc,EAAE,+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"}
|
|
@@ -92,6 +92,16 @@ export type PieChartStyle = {
|
|
|
92
92
|
* Space between slices in points.
|
|
93
93
|
*/
|
|
94
94
|
angularInset?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Corner radius of each slice in points. On a donut, half the ring's thickness gives fully rounded ends.
|
|
97
|
+
* @default 0
|
|
98
|
+
*/
|
|
99
|
+
cornerRadius?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Opacity of each slice, from 0 to 1.
|
|
102
|
+
* @default 0.8
|
|
103
|
+
*/
|
|
104
|
+
opacity?: number;
|
|
95
105
|
};
|
|
96
106
|
/**
|
|
97
107
|
* Point chart specific styling options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/Chart/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE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IACzB;;OAEG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;AAID;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,IAAI,EACJ,SAAS,EACT,cAAc,EACd,GAAG,KAAK,EACT,EAAE,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAAE,2CAU/C"}
|
|
@@ -4,15 +4,20 @@ export interface RNHostViewProps {
|
|
|
4
4
|
* When `true`, the RNHost will update its size in the React Native view tree to match the
|
|
5
5
|
* children's size.
|
|
6
6
|
* When `false`, the RNHost will use the size of the parent SwiftUI View.
|
|
7
|
+
* Pass an object to choose per axis. For example, `{ vertical: true }` takes the width from the
|
|
8
|
+
* parent and the height from the children, so text wraps and grows vertically.
|
|
7
9
|
* Can be only set once on mount.
|
|
8
10
|
* @default false
|
|
9
11
|
*/
|
|
10
|
-
matchContents?: boolean
|
|
12
|
+
matchContents?: boolean | {
|
|
13
|
+
vertical?: boolean;
|
|
14
|
+
horizontal?: boolean;
|
|
15
|
+
};
|
|
11
16
|
onLayout?: (event: LayoutChangeEvent) => void;
|
|
12
17
|
/**
|
|
13
18
|
* The RN View to be hosted.
|
|
14
19
|
*/
|
|
15
20
|
children: React.ReactElement;
|
|
16
21
|
}
|
|
17
|
-
export declare function RNHostView(props: RNHostViewProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function RNHostView({ matchContents, ...props }: RNHostViewProps): import("react/jsx-runtime").JSX.Element;
|
|
18
23
|
//# sourceMappingURL=RNHostView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNHostView.d.ts","sourceRoot":"","sources":["../../src/swift-ui/RNHostView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"RNHostView.d.ts","sourceRoot":"","sources":["../../src/swift-ui/RNHostView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAOtD,MAAM,WAAW,eAAe;IAC9B;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACvE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AAED,wBAAgB,UAAU,CAAC,EAAE,aAAa,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAyBtE"}
|
|
@@ -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,CAAC;AAC5C,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CA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,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,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,M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;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,KAAK,EAAE,OAAO,GAAG,SAAS,EAC1B,OAAO,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAA;CAAE,GACtD,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAQrC;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9F;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,iCAAiC,GACxC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAUrC;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GAAI,aAAa,gCAAgC,8CAC7B,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,GAAI,UAAU,qCAAqC,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';
|
|
@@ -1323,8 +1361,9 @@ export * from './presentationModifiers';
|
|
|
1323
1361
|
export * from './environment';
|
|
1324
1362
|
export type { ShapeStyle } from './shapeStyle';
|
|
1325
1363
|
export * from './scrollPosition';
|
|
1364
|
+
export * from './searchable';
|
|
1326
1365
|
export * from './symbolEffect';
|
|
1327
1366
|
export * from './scrollObservation';
|
|
1328
1367
|
export * from './widgets';
|
|
1329
|
-
export type { TimingAnimationParams, SpringAnimationParams, InterpolatingSpringAnimationParams, ChainableAnimationType, } from './animation/types';
|
|
1368
|
+
export type { TimingAnimationParams, SpringAnimationParams, InterpolatingSpringAnimationParams, SpringPresetAnimationParams, ChainableAnimationType, } from './animation/types';
|
|
1330
1369
|
//# sourceMappingURL=index.d.ts.map
|