@ankhorage/studio 2.5.4 → 2.5.5
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../../src/host/layout/templates/auth/screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,UAAU,sBAAsB;IAC9B,WAAW,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,YAAY,EAAE,YAAY,GAAG,qBAAqB,CAAC;IACnD,cAAc,CAAC,EAAE,SAAS,0BAA0B,EAAE,CAAC;CACxD;AAED,2GAA2G;AAC3G,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,sBAAsB,UAQ5D;AAED,qGAAqG;AACrG,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,YAAY,GAAG,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../../src/host/layout/templates/auth/screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,UAAU,sBAAsB;IAC9B,WAAW,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,YAAY,EAAE,YAAY,GAAG,qBAAqB,CAAC;IACnD,cAAc,CAAC,EAAE,SAAS,0BAA0B,EAAE,CAAC;CACxD;AAED,2GAA2G;AAC3G,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,sBAAsB,UAQ5D;AAED,qGAAqG;AACrG,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,YAAY,GAAG,OAAO,CAAC,UAoJ3E"}
|
|
@@ -23,10 +23,10 @@ export function getAuthScreenRuntimeTsx(args) {
|
|
|
23
23
|
: 'controller.loading';
|
|
24
24
|
return `import type { AppManifest } from '@ankhorage/contracts';
|
|
25
25
|
import { ManifestProvider } from '@ankhorage/runtime';
|
|
26
|
-
import { ${oauthZoraImport.trim()}${oauthZoraImport ? ', ' : ''}SignInForm, SignUpForm, Text, useZoraTheme } from '@ankhorage/zora';
|
|
26
|
+
import { KeyboardAvoidingView, ${oauthZoraImport.trim()}${oauthZoraImport ? ', ' : ''}SignInForm, SignUpForm, Text, useZoraTheme } from '@ankhorage/zora';
|
|
27
27
|
import ankhConfig from '@root/ankh.config.json';
|
|
28
28
|
import { Stack } from 'expo-router';
|
|
29
|
-
import { StyleSheet, View } from 'react-native';
|
|
29
|
+
import { Platform, ScrollView, StyleSheet, View } from 'react-native';
|
|
30
30
|
|
|
31
31
|
${oauthImports}import {
|
|
32
32
|
type AuthMode,
|
|
@@ -47,17 +47,26 @@ export function GeneratedAuthScreen({
|
|
|
47
47
|
const { theme } = useZoraTheme();
|
|
48
48
|
return (
|
|
49
49
|
<ManifestProvider manifest={fallbackManifest}>
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
<Stack.Screen options={{ title }} />
|
|
51
|
+
<KeyboardAvoidingView
|
|
52
|
+
behavior={Platform.select({ android: 'height', ios: 'padding' })}
|
|
53
|
+
style={[styles.container, { backgroundColor: theme.colors.background }]}
|
|
54
|
+
>
|
|
55
|
+
<ScrollView
|
|
56
|
+
contentContainerStyle={styles.scrollContent}
|
|
57
|
+
keyboardShouldPersistTaps="handled"
|
|
58
|
+
style={styles.scroll}
|
|
57
59
|
>
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
<View
|
|
61
|
+
style={[
|
|
62
|
+
styles.card,
|
|
63
|
+
{ backgroundColor: theme.colors.surface, borderColor: theme.colors.border },
|
|
64
|
+
]}
|
|
65
|
+
>
|
|
66
|
+
<AuthScreenContent borderColor={theme.colors.border} controller={controller} />
|
|
67
|
+
</View>
|
|
68
|
+
</ScrollView>
|
|
69
|
+
</KeyboardAvoidingView>
|
|
61
70
|
</ManifestProvider>
|
|
62
71
|
);
|
|
63
72
|
}
|
|
@@ -117,8 +126,15 @@ function AuthForm({ controller }: { controller: AuthScreenController }) {
|
|
|
117
126
|
|
|
118
127
|
const styles = StyleSheet.create({
|
|
119
128
|
container: {
|
|
120
|
-
alignItems: 'center',
|
|
121
129
|
flex: 1,
|
|
130
|
+
},
|
|
131
|
+
scroll: {
|
|
132
|
+
flex: 1,
|
|
133
|
+
width: '100%',
|
|
134
|
+
},
|
|
135
|
+
scrollContent: {
|
|
136
|
+
alignItems: 'center',
|
|
137
|
+
flexGrow: 1,
|
|
122
138
|
justifyContent: 'center',
|
|
123
139
|
padding: 24,
|
|
124
140
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen.js","sourceRoot":"","sources":["../../../../../src/host/layout/templates/auth/screen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE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IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,CAAC;;CAE1H,CAAC;AACF,CAAC;AAED,qGAAqG;AACrG,MAAM,UAAU,uBAAuB,CACrC,IAA0E;IAE1E,MAAM,YAAY,GAAG,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5D,MAAM,YAAY,GAAG,YAAY;QAC/B,CAAC,CAAC,+DAA+D;QACjE,CAAC,CAAC,EAAE,CAAC;IACP,MAAM,eAAe,GAAG,YAAY,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,MAAM,SAAS,GAAG,YAAY,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3D,MAAM,WAAW,GAAG,YAAY;QAC9B,CAAC,CAAC,gEAAgE;QAClE,CAAC,CAAC,oBAAoB,CAAC;IAEzB,OAAO;;iCAEwB,eAAe,CAAC,IAAI,EAAE,GAAG,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;;;;;EAKnF,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAyDC,SAAS;;;;;;;;;;;;;;;;;;mBAkBL,WAAW;;;;;;;;;;;;iBAYb,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyC3B,CAAC;AACF,CAAC;AAED,mGAAmG;AACnG,SAAS,kBAAkB;IACzB,OAAO;;;;;;;;;;;;;;;;;;cAkBK,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/studio",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "Studio authoring package for Ankhorage apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ankhorage/studio#readme",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"@ankhorage/supabase-vault": "^0.2.11",
|
|
220
220
|
"@ankhorage/templates": "^10.0.0",
|
|
221
221
|
"@ankhorage/utility": "^0.6.0",
|
|
222
|
-
"@ankhorage/zora": "^
|
|
222
|
+
"@ankhorage/zora": "^10.0.0",
|
|
223
223
|
"@ankhorage/zora-chess": "^0.2.0",
|
|
224
224
|
"@ankhorage/zora-tabletop": "^0.1.1",
|
|
225
225
|
"@fastify/cors": "^11.2.0",
|