@ankhorage/studio 1.12.2 → 1.12.4
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/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# @ankhorage/studio
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Standalone Studio authoring package for Ankhorage apps.
|
|
9
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../src/host/layout/templates/screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,wBAAgB,YAAY,CAAC,IAAI,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,UAAU,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../src/host/layout/templates/screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,wBAAgB,YAAY,CAAC,IAAI,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,UAAU,CAAA;CAAE,UAgG7E"}
|
|
@@ -15,7 +15,7 @@ import { Text, useZoraTheme } from '@ankhorage/zora';
|
|
|
15
15
|
import ankhConfig from '@root/ankh.config.json';
|
|
16
16
|
import { useGlobalSearchParams, useLocalSearchParams } from 'expo-router';
|
|
17
17
|
import { useMemo } from 'react';
|
|
18
|
-
import {
|
|
18
|
+
import { View } from 'react-native';
|
|
19
19
|
|
|
20
20
|
const fallbackManifest = ankhConfig as unknown as AppManifest;
|
|
21
21
|
type SearchParams = Record<string, string | string[] | undefined> & {
|
|
@@ -74,18 +74,23 @@ export default function ${safeName}Screen() {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
return (
|
|
77
|
-
<View
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
77
|
+
<View
|
|
78
|
+
style={{
|
|
79
|
+
flex: 1,
|
|
80
|
+
minHeight: 0,
|
|
81
|
+
minWidth: 0,
|
|
82
|
+
backgroundColor: theme.colors.background,
|
|
83
|
+
}}
|
|
84
|
+
>
|
|
85
|
+
<ManifestProvider manifest={runtimeManifest}>
|
|
86
|
+
<RuntimeRendererConfigProvider value={runtimeRendererConfig}>
|
|
87
|
+
<RuntimeScreen
|
|
88
|
+
manifest={runtimeManifest}
|
|
89
|
+
screen={screenConfig}
|
|
90
|
+
stateAdapter={runtimeConfig.stateAdapter}
|
|
91
|
+
/>
|
|
92
|
+
</RuntimeRendererConfigProvider>
|
|
93
|
+
</ManifestProvider>
|
|
89
94
|
</View>
|
|
90
95
|
);
|
|
91
96
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen.js","sourceRoot":"","sources":["../../../../src/host/layout/templates/screen.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,MAAM,UAAU,YAAY,CAAC,IAAiD;IAC5E,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACrC,MAAM,QAAQ,GAAG,mBAAmB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAErD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+BiB,QAAQ;;;;;;;;;;;;OAY3B,mBAAmB,CAAC,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"screen.js","sourceRoot":"","sources":["../../../../src/host/layout/templates/screen.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,MAAM,UAAU,YAAY,CAAC,IAAiD;IAC5E,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACrC,MAAM,QAAQ,GAAG,mBAAmB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAErD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+BiB,QAAQ;;;;;;;;;;;;OAY3B,mBAAmB,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDnC,CAAC;AACF,CAAC"}
|