@expo/ui 58.0.2 → 58.0.3
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 +6 -0
- package/android/build.gradle +2 -2
- package/build/swift-ui/NavigationSplitView/index.d.ts +75 -0
- package/build/swift-ui/NavigationSplitView/index.js +59 -0
- package/build/swift-ui/NavigationSplitView/index.js.map +1 -0
- package/build/swift-ui/index.d.ts +1 -0
- package/build/swift-ui/index.js +1 -0
- package/build/swift-ui/index.js.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +1 -0
- package/build/swift-ui/modifiers/index.js +1 -0
- package/build/swift-ui/modifiers/index.js.map +1 -1
- package/build/swift-ui/modifiers/navigationModifiers.d.ts +27 -0
- package/build/swift-ui/modifiers/navigationModifiers.js +15 -0
- package/build/swift-ui/modifiers/navigationModifiers.js.map +1 -0
- package/expo-module.config.json +1 -1
- package/ios/ExpoUIModule.swift +1 -0
- package/ios/HostView.swift +7 -7
- package/ios/Modifiers/NavigationModifiers.swift +44 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +8 -0
- package/ios/NavigationSplitViewView.swift +180 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2.module → 58.0.3/expo.modules.ui-58.0.3.module} +7 -7
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2.pom → 58.0.3/expo.modules.ui-58.0.3.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
- package/package.json +2 -2
- package/prebuilds/output/debug/xcframeworks/ExpoUI.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoUI.tar.gz +0 -0
- package/src/swift-ui/NavigationSplitView/index.tsx +122 -0
- package/src/swift-ui/index.tsx +1 -0
- package/src/swift-ui/modifiers/index.ts +1 -0
- package/src/swift-ui/modifiers/navigationModifiers.ts +42 -0
- package/.gitignore +0 -2
- package/.npmignore +0 -27
- package/.tsbuildinfo +0 -1
- package/android/.gitignore +0 -261
- package/jest.config.js +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha512 +0 -1
- package/plugin/.tsbuildinfo +0 -1
- package/plugin/jest.config.js +0 -1
- package/plugin/tsconfig.json +0 -10
- package/plugin/tsconfig.tsbuildinfo +0 -1
- package/tsconfig.all.json +0 -11
- package/tsconfig.json +0 -11
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2-sources.jar → 58.0.3/expo.modules.ui-58.0.3-sources.jar} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2-sources.jar.md5 → 58.0.3/expo.modules.ui-58.0.3-sources.jar.md5} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2-sources.jar.sha1 → 58.0.3/expo.modules.ui-58.0.3-sources.jar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2-sources.jar.sha256 → 58.0.3/expo.modules.ui-58.0.3-sources.jar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2-sources.jar.sha512 → 58.0.3/expo.modules.ui-58.0.3-sources.jar.sha512} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2.aar → 58.0.3/expo.modules.ui-58.0.3.aar} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2.aar.md5 → 58.0.3/expo.modules.ui-58.0.3.aar.md5} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2.aar.sha1 → 58.0.3/expo.modules.ui-58.0.3.aar.sha1} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2.aar.sha256 → 58.0.3/expo.modules.ui-58.0.3.aar.sha256} +0 -0
- /package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2.aar.sha512 → 58.0.3/expo.modules.ui-58.0.3.aar.sha512} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.ui",
|
|
5
5
|
"module": "expo.modules.ui",
|
|
6
|
-
"version": "58.0.
|
|
6
|
+
"version": "58.0.3",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.ui-58.0.
|
|
28
|
-
"url": "expo.modules.ui-58.0.
|
|
27
|
+
"name": "expo.modules.ui-58.0.3.aar",
|
|
28
|
+
"url": "expo.modules.ui-58.0.3.aar",
|
|
29
29
|
"size": 1789469,
|
|
30
30
|
"sha512": "dfe706437f10aa521a458896b97fa14d945cf66c80dab9cc43fddd444cddd016073b783076f38ba90e07c5076b8752bf66e136ce9c40d85195cf27a231ce7f9d",
|
|
31
31
|
"sha256": "8faeae3cb56c1d29d1a120a9a8c1964e6015ba993519f244283855a066a1704c",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
],
|
|
142
142
|
"files": [
|
|
143
143
|
{
|
|
144
|
-
"name": "expo.modules.ui-58.0.
|
|
145
|
-
"url": "expo.modules.ui-58.0.
|
|
144
|
+
"name": "expo.modules.ui-58.0.3.aar",
|
|
145
|
+
"url": "expo.modules.ui-58.0.3.aar",
|
|
146
146
|
"size": 1789469,
|
|
147
147
|
"sha512": "dfe706437f10aa521a458896b97fa14d945cf66c80dab9cc43fddd444cddd016073b783076f38ba90e07c5076b8752bf66e136ce9c40d85195cf27a231ce7f9d",
|
|
148
148
|
"sha256": "8faeae3cb56c1d29d1a120a9a8c1964e6015ba993519f244283855a066a1704c",
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
{
|
|
164
|
-
"name": "expo.modules.ui-58.0.
|
|
165
|
-
"url": "expo.modules.ui-58.0.
|
|
164
|
+
"name": "expo.modules.ui-58.0.3-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-58.0.3-sources.jar",
|
|
166
166
|
"size": 106165,
|
|
167
167
|
"sha512": "59ec9e524c62a8b77c41e894e4833d24d2c9bb1912ef1be23d81ab6eb04bcf1f8743cdc11528bf2630b0f1f29db20b017e8015ebde418530196d7dcea06a90bc",
|
|
168
168
|
"sha256": "297ecd2b76dbb6908b0b2897c6adba6be5dd10cb16c8ca169525a40e207d52c2",
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ee0a072a7d31474ac2fe641e98f0fad8
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c85a1c254c967aa5f0e22488dd74bbb965c3ff4e
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3132fad975d41a34859dc35c8f9c1767acd1787b1f62c74bbc28fca4538e76ee
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
fc7327578f989b701393131ad9a5f339a3e9b7baf4d5c853e7acc8349aa30fe4cc55eb23cb8f65148c6bc945f68a1c759a2ca9c670194a07aa44089604f89c9c
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>expo.modules.ui</groupId>
|
|
11
11
|
<artifactId>expo.modules.ui</artifactId>
|
|
12
|
-
<version>58.0.
|
|
12
|
+
<version>58.0.3</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.ui</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
29548555e9399da3cc52631fac9a3f47
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b0017c1c540efed9749b524acb50710662bc0db8
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d7deb9d31dfb1f7ac620f7ef3c6a58bca9c782fce46ea8aa55ebd82e25e1c021
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e97b7f216bbaadd44038a2952826d8c60f626f5effc09bf49299ff3e8196c04921f29c48a57e76c6c079bb5f9ab3e2a642f41bbf8c5339b2c31093456d6e0435
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.ui</groupId>
|
|
4
4
|
<artifactId>expo.modules.ui</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>58.0.
|
|
7
|
-
<release>58.0.
|
|
6
|
+
<latest>58.0.3</latest>
|
|
7
|
+
<release>58.0.3</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>58.0.
|
|
9
|
+
<version>58.0.3</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260916230018</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0928007d27e87421f62a87d1bf27d355
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
af6115503d93548c23a6a0e7b004ede8469a7dc6
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3c826fb526f711a7f0dfc2e564c453c605fe8325e198bcf4ff8f235f164a26c7
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
582d5887267892cd86d2206a0c59ec62b4070ff75826afa6e1eca29158c6b2f9fab30108d9c348ab2a6334c7ec472b4c3ddba307fc1fecbfb78dc14131ad8561
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/ui",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.3",
|
|
4
4
|
"description": "A collection of UI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Jetpack Compose",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"optional": true
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "917a61b581baeb852aa4fe331da2c1395d824351",
|
|
175
175
|
"scripts": {
|
|
176
176
|
"precompile-ios": "et prebuild-package-for-publish",
|
|
177
177
|
"build": "pnpm run build:lib && pnpm run build:plugin",
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { requireNativeView } from 'expo';
|
|
2
|
+
|
|
3
|
+
import { Slot } from '../SlotView';
|
|
4
|
+
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
5
|
+
import { type CommonViewModifierProps } from '../types';
|
|
6
|
+
|
|
7
|
+
export type NavigationSplitViewVisibility = 'automatic' | 'all' | 'doubleColumn' | 'detailOnly';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The column shown when the split view collapses into a single column.
|
|
11
|
+
*/
|
|
12
|
+
export type NavigationSplitViewColumn = 'sidebar' | 'content' | 'detail';
|
|
13
|
+
|
|
14
|
+
export interface NavigationSplitViewProps extends CommonViewModifierProps {
|
|
15
|
+
/**
|
|
16
|
+
* The columns of the split view. Provide `NavigationSplitView.Sidebar` and
|
|
17
|
+
* `NavigationSplitView.Detail`, and add `NavigationSplitView.Content` for a
|
|
18
|
+
* three-column layout.
|
|
19
|
+
*/
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* The columns to show. Setting it makes the value controlled: pass the value from
|
|
23
|
+
* `onColumnVisibilityChange` back in, otherwise dragging the divider has no effect.
|
|
24
|
+
* Leave it unset to let the split view manage its own columns.
|
|
25
|
+
* @default 'automatic'
|
|
26
|
+
*/
|
|
27
|
+
columnVisibility?: NavigationSplitViewVisibility;
|
|
28
|
+
/**
|
|
29
|
+
* Called when the visible columns change, including when the user drags the sidebar.
|
|
30
|
+
*/
|
|
31
|
+
onColumnVisibilityChange?: (visibility: NavigationSplitViewVisibility) => void;
|
|
32
|
+
/**
|
|
33
|
+
* The column to show when the split view collapses to a single column, for example
|
|
34
|
+
* in a narrow window. Setting it makes the value controlled in the same way as
|
|
35
|
+
* `columnVisibility`.
|
|
36
|
+
* @default 'sidebar'
|
|
37
|
+
* @platform ios 17.0+
|
|
38
|
+
*/
|
|
39
|
+
preferredCompactColumn?: NavigationSplitViewColumn;
|
|
40
|
+
/**
|
|
41
|
+
* Called when the collapsed column changes.
|
|
42
|
+
* @platform ios 17.0+
|
|
43
|
+
*/
|
|
44
|
+
onPreferredCompactColumnChange?: (column: NavigationSplitViewColumn) => void;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
type NativeNavigationSplitViewProps = Omit<
|
|
48
|
+
NavigationSplitViewProps,
|
|
49
|
+
'onColumnVisibilityChange' | 'onPreferredCompactColumnChange'
|
|
50
|
+
> & {
|
|
51
|
+
onColumnVisibilityChange?: (event: {
|
|
52
|
+
nativeEvent: { visibility: NavigationSplitViewVisibility };
|
|
53
|
+
}) => void;
|
|
54
|
+
onPreferredCompactColumnChange?: (event: {
|
|
55
|
+
nativeEvent: { column: NavigationSplitViewColumn };
|
|
56
|
+
}) => void;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
const NavigationSplitViewNativeView: React.ComponentType<NativeNavigationSplitViewProps> =
|
|
60
|
+
requireNativeView('ExpoUI', 'NavigationSplitViewView');
|
|
61
|
+
|
|
62
|
+
function NavigationSplitViewSidebar(props: { children: React.ReactNode }) {
|
|
63
|
+
return <Slot name="sidebar">{props.children}</Slot>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function NavigationSplitViewContent(props: { children: React.ReactNode }) {
|
|
67
|
+
return <Slot name="content">{props.children}</Slot>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function NavigationSplitViewDetail(props: { children: React.ReactNode }) {
|
|
71
|
+
return <Slot name="detail">{props.children}</Slot>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
NavigationSplitView.Sidebar = NavigationSplitViewSidebar;
|
|
75
|
+
NavigationSplitView.Content = NavigationSplitViewContent;
|
|
76
|
+
NavigationSplitView.Detail = NavigationSplitViewDetail;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* NavigationSplitView uses the native [NavigationSplitView](https://developer.apple.com/documentation/swiftui/navigationsplitview) view.
|
|
80
|
+
*
|
|
81
|
+
* It presents a collection, a selection and a detail in one hierarchy: side by side
|
|
82
|
+
* when there is room, and stacked when there is not.
|
|
83
|
+
* @example
|
|
84
|
+
* ```tsx
|
|
85
|
+
* <Host style={{ flex: 1 }}>
|
|
86
|
+
* <NavigationSplitView>
|
|
87
|
+
* <NavigationSplitView.Sidebar>
|
|
88
|
+
* <List>{items}</List>
|
|
89
|
+
* </NavigationSplitView.Sidebar>
|
|
90
|
+
* <NavigationSplitView.Detail>
|
|
91
|
+
* <ItemDetail item={selectedItem} />
|
|
92
|
+
* </NavigationSplitView.Detail>
|
|
93
|
+
* </NavigationSplitView>
|
|
94
|
+
* </Host>
|
|
95
|
+
* ```
|
|
96
|
+
* @platform ios 16.0+
|
|
97
|
+
* @platform tvos 16.0+
|
|
98
|
+
*/
|
|
99
|
+
export function NavigationSplitView(props: NavigationSplitViewProps) {
|
|
100
|
+
const {
|
|
101
|
+
modifiers,
|
|
102
|
+
children,
|
|
103
|
+
onColumnVisibilityChange,
|
|
104
|
+
onPreferredCompactColumnChange,
|
|
105
|
+
...restProps
|
|
106
|
+
} = props;
|
|
107
|
+
|
|
108
|
+
return (
|
|
109
|
+
<NavigationSplitViewNativeView
|
|
110
|
+
modifiers={modifiers}
|
|
111
|
+
{...(modifiers ? createViewModifierEventListener(modifiers) : undefined)}
|
|
112
|
+
onColumnVisibilityChange={({ nativeEvent: { visibility } }) =>
|
|
113
|
+
onColumnVisibilityChange?.(visibility)
|
|
114
|
+
}
|
|
115
|
+
onPreferredCompactColumnChange={({ nativeEvent: { column } }) =>
|
|
116
|
+
onPreferredCompactColumnChange?.(column)
|
|
117
|
+
}
|
|
118
|
+
{...restProps}>
|
|
119
|
+
{children}
|
|
120
|
+
</NavigationSplitViewNativeView>
|
|
121
|
+
);
|
|
122
|
+
}
|
package/src/swift-ui/index.tsx
CHANGED
|
@@ -27,6 +27,7 @@ export * from './List';
|
|
|
27
27
|
export * from './Menu';
|
|
28
28
|
export * from './NavigationDestination';
|
|
29
29
|
export * from './NavigationLink';
|
|
30
|
+
export * from './NavigationSplitView';
|
|
30
31
|
export * from './NavigationStack';
|
|
31
32
|
export * from './Picker';
|
|
32
33
|
export * from './ProgressView';
|
|
@@ -1881,6 +1881,7 @@ export * from './tag';
|
|
|
1881
1881
|
export * from './pickerStyle';
|
|
1882
1882
|
export * from './menuOrder';
|
|
1883
1883
|
export * from './tabViewModifiers';
|
|
1884
|
+
export * from './navigationModifiers';
|
|
1884
1885
|
export * from './datePickerStyle';
|
|
1885
1886
|
export * from './progressViewStyle';
|
|
1886
1887
|
export * from './gaugeStyle';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createModifier } from './createModifier';
|
|
2
|
+
|
|
3
|
+
export type NavigationSplitViewStyle = 'automatic' | 'balanced' | 'prominentDetail';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Sets the style of a `NavigationSplitView`.
|
|
7
|
+
* @param style - The style to apply.
|
|
8
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/navigationsplitviewstyle(_:)).
|
|
9
|
+
*/
|
|
10
|
+
export const navigationSplitViewStyle = (style: NavigationSplitViewStyle) =>
|
|
11
|
+
createModifier('navigationSplitViewStyle', { style });
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The resizable form of `navigationSplitViewColumnWidth`.
|
|
15
|
+
*/
|
|
16
|
+
export type NavigationSplitViewColumnWidthParams = {
|
|
17
|
+
min?: number;
|
|
18
|
+
ideal: number;
|
|
19
|
+
max?: number;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Sets the width of a column of a `NavigationSplitView`.
|
|
24
|
+
*
|
|
25
|
+
* Pass a number for a fixed column, or an `ideal` width with optional `min` and `max` for a
|
|
26
|
+
* column that resizes with the window. Prefer the resizable form: a hardcoded sidebar width
|
|
27
|
+
* does not survive every window size.
|
|
28
|
+
*
|
|
29
|
+
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/navigationsplitviewcolumnwidth(_:)).
|
|
30
|
+
*/
|
|
31
|
+
export function navigationSplitViewColumnWidth(width: number): ReturnType<typeof createModifier>;
|
|
32
|
+
export function navigationSplitViewColumnWidth(
|
|
33
|
+
params: NavigationSplitViewColumnWidthParams
|
|
34
|
+
): ReturnType<typeof createModifier>;
|
|
35
|
+
export function navigationSplitViewColumnWidth(
|
|
36
|
+
widthOrParams: number | NavigationSplitViewColumnWidthParams
|
|
37
|
+
) {
|
|
38
|
+
return createModifier(
|
|
39
|
+
'navigationSplitViewColumnWidth',
|
|
40
|
+
typeof widthOrParams === 'number' ? { width: widthOrParams } : widthOrParams
|
|
41
|
+
);
|
|
42
|
+
}
|
package/.gitignore
DELETED
package/.npmignore
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# @generated by expo-module-scripts
|
|
2
|
-
|
|
3
|
-
# Exclude all top-level hidden directories by convention
|
|
4
|
-
/.*/
|
|
5
|
-
|
|
6
|
-
# Exclude tarballs generated by `npm pack`
|
|
7
|
-
/*.tgz
|
|
8
|
-
|
|
9
|
-
__mocks__
|
|
10
|
-
__tests__
|
|
11
|
-
__rsc_tests__
|
|
12
|
-
|
|
13
|
-
/e2e
|
|
14
|
-
/e2e-cli
|
|
15
|
-
/babel.config.js
|
|
16
|
-
/oxlint.config.mjs
|
|
17
|
-
/android/src/androidTest/
|
|
18
|
-
/android/src/test/
|
|
19
|
-
/ios/Tests
|
|
20
|
-
|
|
21
|
-
CLAUDE.md
|
|
22
|
-
CONTRIBUTING.md
|
|
23
|
-
|
|
24
|
-
# Exclude native build output (pnpm pack ignores nested .gitignore files)
|
|
25
|
-
.cxx/
|
|
26
|
-
.gradle/
|
|
27
|
-
/android/build/
|
package/.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"6.0.3"}
|
package/android/.gitignore
DELETED
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# Created by https://www.gitignore.io/api/java,maven,gradle,android,intellij,androidstudio
|
|
3
|
-
|
|
4
|
-
### Android ###
|
|
5
|
-
# Built application files
|
|
6
|
-
*.apk
|
|
7
|
-
*.ap_
|
|
8
|
-
|
|
9
|
-
# Files for the ART/Dalvik VM
|
|
10
|
-
*.dex
|
|
11
|
-
|
|
12
|
-
# Java class files
|
|
13
|
-
*.class
|
|
14
|
-
|
|
15
|
-
# Generated files
|
|
16
|
-
bin/
|
|
17
|
-
gen/
|
|
18
|
-
out/
|
|
19
|
-
|
|
20
|
-
# Gradle files
|
|
21
|
-
.gradle/
|
|
22
|
-
build/
|
|
23
|
-
|
|
24
|
-
# Local configuration file (sdk path, etc)
|
|
25
|
-
local.properties
|
|
26
|
-
|
|
27
|
-
# Proguard folder generated by Eclipse
|
|
28
|
-
proguard/
|
|
29
|
-
|
|
30
|
-
# Log Files
|
|
31
|
-
*.log
|
|
32
|
-
|
|
33
|
-
# Android Studio Navigation editor temp files
|
|
34
|
-
.navigation/
|
|
35
|
-
|
|
36
|
-
# Android Studio captures folder
|
|
37
|
-
captures/
|
|
38
|
-
|
|
39
|
-
# Intellij
|
|
40
|
-
*.iml
|
|
41
|
-
.idea/workspace.xml
|
|
42
|
-
.idea/tasks.xml
|
|
43
|
-
.idea/gradle.xml
|
|
44
|
-
.idea/dictionaries
|
|
45
|
-
.idea/libraries
|
|
46
|
-
|
|
47
|
-
# External native build folder generated in Android Studio 2.2 and later
|
|
48
|
-
.externalNativeBuild
|
|
49
|
-
|
|
50
|
-
# Freeline
|
|
51
|
-
freeline.py
|
|
52
|
-
freeline/
|
|
53
|
-
freeline_project_description.json
|
|
54
|
-
|
|
55
|
-
### Android Patch ###
|
|
56
|
-
gen-external-apklibs
|
|
57
|
-
|
|
58
|
-
### AndroidStudio ###
|
|
59
|
-
# Covers files to be ignored for android development using Android Studio.
|
|
60
|
-
|
|
61
|
-
# Built application files
|
|
62
|
-
|
|
63
|
-
# Files for the ART/Dalvik VM
|
|
64
|
-
|
|
65
|
-
# Java class files
|
|
66
|
-
|
|
67
|
-
# Generated files
|
|
68
|
-
|
|
69
|
-
# Gradle files
|
|
70
|
-
.gradle
|
|
71
|
-
|
|
72
|
-
# Signing files
|
|
73
|
-
.signing/
|
|
74
|
-
|
|
75
|
-
# Local configuration file (sdk path, etc)
|
|
76
|
-
|
|
77
|
-
# Proguard folder generated by Eclipse
|
|
78
|
-
|
|
79
|
-
# Log Files
|
|
80
|
-
|
|
81
|
-
# Android Studio
|
|
82
|
-
/*/build/
|
|
83
|
-
/*/local.properties
|
|
84
|
-
/*/out
|
|
85
|
-
/*/*/build
|
|
86
|
-
/*/*/production
|
|
87
|
-
*.ipr
|
|
88
|
-
*~
|
|
89
|
-
*.swp
|
|
90
|
-
|
|
91
|
-
# Android Patch
|
|
92
|
-
|
|
93
|
-
# External native build folder generated in Android Studio 2.2 and later
|
|
94
|
-
|
|
95
|
-
# NDK
|
|
96
|
-
obj/
|
|
97
|
-
|
|
98
|
-
# IntelliJ IDEA
|
|
99
|
-
*.iws
|
|
100
|
-
/out/
|
|
101
|
-
|
|
102
|
-
# User-specific configurations
|
|
103
|
-
.idea/libraries/
|
|
104
|
-
.idea/.name
|
|
105
|
-
.idea/compiler.xml
|
|
106
|
-
.idea/copyright/profiles_settings.xml
|
|
107
|
-
.idea/encodings.xml
|
|
108
|
-
.idea/misc.xml
|
|
109
|
-
.idea/modules.xml
|
|
110
|
-
.idea/scopes/scope_settings.xml
|
|
111
|
-
.idea/vcs.xml
|
|
112
|
-
.idea/jsLibraryMappings.xml
|
|
113
|
-
.idea/datasources.xml
|
|
114
|
-
.idea/dataSources.ids
|
|
115
|
-
.idea/sqlDataSources.xml
|
|
116
|
-
.idea/dynamic.xml
|
|
117
|
-
.idea/uiDesigner.xml
|
|
118
|
-
|
|
119
|
-
# OS-specific files
|
|
120
|
-
.DS_Store
|
|
121
|
-
.DS_Store?
|
|
122
|
-
._*
|
|
123
|
-
.Spotlight-V100
|
|
124
|
-
.Trashes
|
|
125
|
-
ehthumbs.db
|
|
126
|
-
Thumbs.db
|
|
127
|
-
|
|
128
|
-
# Legacy Eclipse project files
|
|
129
|
-
.classpath
|
|
130
|
-
.project
|
|
131
|
-
.cproject
|
|
132
|
-
.settings/
|
|
133
|
-
|
|
134
|
-
# Mobile Tools for Java (J2ME)
|
|
135
|
-
.mtj.tmp/
|
|
136
|
-
|
|
137
|
-
# Package Files #
|
|
138
|
-
*.war
|
|
139
|
-
*.ear
|
|
140
|
-
|
|
141
|
-
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
|
|
142
|
-
hs_err_pid*
|
|
143
|
-
|
|
144
|
-
## Plugin-specific files:
|
|
145
|
-
|
|
146
|
-
# mpeltonen/sbt-idea plugin
|
|
147
|
-
.idea_modules/
|
|
148
|
-
|
|
149
|
-
# JIRA plugin
|
|
150
|
-
atlassian-ide-plugin.xml
|
|
151
|
-
|
|
152
|
-
# Mongo Explorer plugin
|
|
153
|
-
.idea/mongoSettings.xml
|
|
154
|
-
|
|
155
|
-
### AndroidStudio Patch ###
|
|
156
|
-
|
|
157
|
-
!/gradle/wrapper/gradle-wrapper.jar
|
|
158
|
-
|
|
159
|
-
### Intellij ###
|
|
160
|
-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
|
|
161
|
-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
162
|
-
|
|
163
|
-
# User-specific stuff:
|
|
164
|
-
.idea/**/workspace.xml
|
|
165
|
-
.idea/**/tasks.xml
|
|
166
|
-
|
|
167
|
-
# Sensitive or high-churn files:
|
|
168
|
-
.idea/**/dataSources/
|
|
169
|
-
.idea/**/dataSources.ids
|
|
170
|
-
.idea/**/dataSources.xml
|
|
171
|
-
.idea/**/dataSources.local.xml
|
|
172
|
-
.idea/**/sqlDataSources.xml
|
|
173
|
-
.idea/**/dynamic.xml
|
|
174
|
-
.idea/**/uiDesigner.xml
|
|
175
|
-
|
|
176
|
-
# Gradle:
|
|
177
|
-
.idea/**/gradle.xml
|
|
178
|
-
.idea/**/libraries
|
|
179
|
-
|
|
180
|
-
# CMake
|
|
181
|
-
cmake-build-debug/
|
|
182
|
-
|
|
183
|
-
# Mongo Explorer plugin:
|
|
184
|
-
.idea/**/mongoSettings.xml
|
|
185
|
-
|
|
186
|
-
## File-based project format:
|
|
187
|
-
|
|
188
|
-
## Plugin-specific files:
|
|
189
|
-
|
|
190
|
-
# IntelliJ
|
|
191
|
-
|
|
192
|
-
# mpeltonen/sbt-idea plugin
|
|
193
|
-
|
|
194
|
-
# JIRA plugin
|
|
195
|
-
|
|
196
|
-
# Cursive Clojure plugin
|
|
197
|
-
.idea/replstate.xml
|
|
198
|
-
|
|
199
|
-
# Ruby plugin and RubyMine
|
|
200
|
-
/.rakeTasks
|
|
201
|
-
|
|
202
|
-
### Intellij Patch ###
|
|
203
|
-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
|
204
|
-
|
|
205
|
-
# *.iml
|
|
206
|
-
# modules.xml
|
|
207
|
-
# .idea/misc.xml
|
|
208
|
-
# *.ipr
|
|
209
|
-
|
|
210
|
-
# Sonarlint plugin
|
|
211
|
-
.idea/sonarlint
|
|
212
|
-
|
|
213
|
-
### Java ###
|
|
214
|
-
# Compiled class file
|
|
215
|
-
|
|
216
|
-
# Log file
|
|
217
|
-
|
|
218
|
-
# BlueJ files
|
|
219
|
-
*.ctxt
|
|
220
|
-
|
|
221
|
-
# Mobile Tools for Java (J2ME)
|
|
222
|
-
|
|
223
|
-
# Package Files #
|
|
224
|
-
*.jar
|
|
225
|
-
*.zip
|
|
226
|
-
*.tar.gz
|
|
227
|
-
*.rar
|
|
228
|
-
|
|
229
|
-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
|
230
|
-
|
|
231
|
-
### Maven ###
|
|
232
|
-
target/
|
|
233
|
-
pom.xml.tag
|
|
234
|
-
pom.xml.releaseBackup
|
|
235
|
-
pom.xml.versionsBackup
|
|
236
|
-
pom.xml.next
|
|
237
|
-
release.properties
|
|
238
|
-
dependency-reduced-pom.xml
|
|
239
|
-
buildNumber.properties
|
|
240
|
-
.mvn/timing.properties
|
|
241
|
-
|
|
242
|
-
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
|
|
243
|
-
!/.mvn/wrapper/maven-wrapper.jar
|
|
244
|
-
|
|
245
|
-
### Gradle ###
|
|
246
|
-
**/build/
|
|
247
|
-
|
|
248
|
-
# Ignore Gradle GUI config
|
|
249
|
-
gradle-app.setting
|
|
250
|
-
|
|
251
|
-
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
|
252
|
-
!gradle-wrapper.jar
|
|
253
|
-
|
|
254
|
-
# Cache of project
|
|
255
|
-
.gradletasknamecache
|
|
256
|
-
|
|
257
|
-
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
|
258
|
-
# gradle/wrapper/gradle-wrapper.properties
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
# End of https://www.gitignore.io/api/java,maven,gradle,android,intellij,androidstudio
|
package/jest.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('expo-module-scripts/createCompositeJestPreset')(__dirname, ['plugin']);
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
dea1052bd9b7450baeedd1e5cc18a836
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a355c2fba7fa60564e32943bca459876549b95ff
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7adcaa6a2e8794d0bacfbe4999b9f31c814df63d7a6a57a2c4d434a3b0d08486
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
56b6d0255aecebe609bf90011abedcdb2a675e04a408b19b64680655cc037f9db43ed44b2710da9ffdcda6966ea6bc4a5504685bbf54246d3c6d6cd6633b460c
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
bff8884d50cd018dc1b4dded47583704
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d4425bd66d3f6b1390ea1f4c0e422417d6b1d7c8
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3973d2d1bba05dc367ad1b519e9e1393d647f0cee2ba28af40d16afd28892632
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3d42946d9703575b30f294d800a045762a98801433cfae118d69b901bb9836794d2d6f13c3bda3debe3ee08c1a51765837baca16035a9917b169a53593897f96
|
package/plugin/.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"6.0.3"}
|
package/plugin/jest.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('expo-module-scripts/jest-preset-plugin');
|
package/plugin/tsconfig.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["./src/babel-plugin.ts"],"version":"6.0.3"}
|