@symbiote-native/cli 0.0.1
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/LICENSE +21 -0
- package/README.md +492 -0
- package/bundle.js +2833 -0
- package/package.json +49 -0
- package/src/index.ts +70 -0
- package/templates/README.md +93 -0
- package/templates/js/angular/.prettierrc.js +5 -0
- package/templates/js/angular/.watchmanconfig +1 -0
- package/templates/js/angular/README.md +117 -0
- package/templates/js/angular/app.json +4 -0
- package/templates/js/angular/babel.config.js +34 -0
- package/templates/js/angular/index.js +12 -0
- package/templates/js/angular/metro.config.js +38 -0
- package/templates/js/angular/package.json.fragment.json +29 -0
- package/templates/js/angular/src/App.css +89 -0
- package/templates/js/angular/src/App.ts +40 -0
- package/templates/js/angular/src/assets/angular-logo.png +0 -0
- package/templates/js/angular/src/assets/angular-logo@2x.png +0 -0
- package/templates/js/angular/src/assets/angular-logo@3x.png +0 -0
- package/templates/js/angular/src/assets/plus-icon.png +0 -0
- package/templates/js/angular/src/assets/plus-icon@2x.png +0 -0
- package/templates/js/angular/src/assets/plus-icon@3x.png +0 -0
- package/templates/js/angular/src/assets/react-native-logo.png +0 -0
- package/templates/js/angular/src/assets/react-native-logo@2x.png +0 -0
- package/templates/js/angular/src/assets/react-native-logo@3x.png +0 -0
- package/templates/js/angular/src/css.d.ts +23 -0
- package/templates/js/angular/tsconfig.angular.json +42 -0
- package/templates/js/angular/tsconfig.json +17 -0
- package/templates/js/react/.prettierrc.js +5 -0
- package/templates/js/react/.watchmanconfig +1 -0
- package/templates/js/react/App.css +69 -0
- package/templates/js/react/App.jsx +27 -0
- package/templates/js/react/App.tsx +27 -0
- package/templates/js/react/README.md +116 -0
- package/templates/js/react/app.json +4 -0
- package/templates/js/react/assets/react-native-logo.png +0 -0
- package/templates/js/react/assets/react-native-logo@2x.png +0 -0
- package/templates/js/react/assets/react-native-logo@3x.png +0 -0
- package/templates/js/react/babel.config.js +24 -0
- package/templates/js/react/css.d.ts +24 -0
- package/templates/js/react/index.js +14 -0
- package/templates/js/react/metro.config.js +29 -0
- package/templates/js/react/package.json.fragment.json +22 -0
- package/templates/js/react/package.json.fragment.typescript.json +11 -0
- package/templates/js/react/tsconfig.json +18 -0
- package/templates/js/solid/.prettierrc.js +5 -0
- package/templates/js/solid/.watchmanconfig +1 -0
- package/templates/js/solid/App.css +89 -0
- package/templates/js/solid/App.jsx +35 -0
- package/templates/js/solid/App.tsx +35 -0
- package/templates/js/solid/README.md +18 -0
- package/templates/js/solid/app.json +4 -0
- package/templates/js/solid/assets/plus-icon.png +0 -0
- package/templates/js/solid/assets/plus-icon@2x.png +0 -0
- package/templates/js/solid/assets/plus-icon@3x.png +0 -0
- package/templates/js/solid/assets/react-native-logo.png +0 -0
- package/templates/js/solid/assets/react-native-logo@2x.png +0 -0
- package/templates/js/solid/assets/react-native-logo@3x.png +0 -0
- package/templates/js/solid/assets/solid-logo.png +0 -0
- package/templates/js/solid/assets/solid-logo@2x.png +0 -0
- package/templates/js/solid/assets/solid-logo@3x.png +0 -0
- package/templates/js/solid/babel.config.js +29 -0
- package/templates/js/solid/css.d.ts +20 -0
- package/templates/js/solid/eslint.config.js +3 -0
- package/templates/js/solid/index.js +13 -0
- package/templates/js/solid/metro.config.js +50 -0
- package/templates/js/solid/package.json.fragment.json +23 -0
- package/templates/js/solid/package.json.fragment.typescript.json +11 -0
- package/templates/js/solid/tsconfig.json +11 -0
- package/templates/js/svelte/.prettierrc.js +15 -0
- package/templates/js/svelte/.watchmanconfig +1 -0
- package/templates/js/svelte/App.svelte +123 -0
- package/templates/js/svelte/App.typescript.svelte +123 -0
- package/templates/js/svelte/README.md +18 -0
- package/templates/js/svelte/app.json +4 -0
- package/templates/js/svelte/babel.config.js +22 -0
- package/templates/js/svelte/css.d.ts +21 -0
- package/templates/js/svelte/eslint.config.js +37 -0
- package/templates/js/svelte/image-uris.js +8 -0
- package/templates/js/svelte/index.js +13 -0
- package/templates/js/svelte/metro.config.js +83 -0
- package/templates/js/svelte/package.json.fragment.json +26 -0
- package/templates/js/svelte/package.json.fragment.typescript.json +12 -0
- package/templates/js/svelte/svelte.config.js +47 -0
- package/templates/js/svelte/tsconfig.json +9 -0
- package/templates/js/svelte/tsconfig.typecheck.json +4 -0
- package/templates/js/vue-sfc/.prettierrc.js +5 -0
- package/templates/js/vue-sfc/.watchmanconfig +1 -0
- package/templates/js/vue-sfc/App.typescript.vue +128 -0
- package/templates/js/vue-sfc/App.vue +128 -0
- package/templates/js/vue-sfc/README.md +124 -0
- package/templates/js/vue-sfc/app.json +4 -0
- package/templates/js/vue-sfc/assets/plus-icon.png +0 -0
- package/templates/js/vue-sfc/assets/plus-icon@2x.png +0 -0
- package/templates/js/vue-sfc/assets/plus-icon@3x.png +0 -0
- package/templates/js/vue-sfc/assets/react-native-logo.png +0 -0
- package/templates/js/vue-sfc/assets/react-native-logo@2x.png +0 -0
- package/templates/js/vue-sfc/assets/react-native-logo@3x.png +0 -0
- package/templates/js/vue-sfc/assets/vue-logo.png +0 -0
- package/templates/js/vue-sfc/assets/vue-logo@2x.png +0 -0
- package/templates/js/vue-sfc/assets/vue-logo@3x.png +0 -0
- package/templates/js/vue-sfc/babel.config.js +24 -0
- package/templates/js/vue-sfc/css.d.ts +24 -0
- package/templates/js/vue-sfc/eslint.config.js +48 -0
- package/templates/js/vue-sfc/index.js +13 -0
- package/templates/js/vue-sfc/metro.config.js +30 -0
- package/templates/js/vue-sfc/package.json.fragment.json +26 -0
- package/templates/js/vue-sfc/package.json.fragment.typescript.json +11 -0
- package/templates/js/vue-sfc/tsconfig.json +18 -0
- package/templates/js/vue-sfc/tsconfig.typecheck.json +8 -0
- package/templates/js/vue-sfc/vue-runtime-core.d.ts +3 -0
- package/templates/js/vue-tsx/.prettierrc.js +5 -0
- package/templates/js/vue-tsx/.watchmanconfig +1 -0
- package/templates/js/vue-tsx/App.css +89 -0
- package/templates/js/vue-tsx/App.jsx +40 -0
- package/templates/js/vue-tsx/App.tsx +40 -0
- package/templates/js/vue-tsx/README.md +110 -0
- package/templates/js/vue-tsx/app.json +4 -0
- package/templates/js/vue-tsx/assets/plus-icon.png +0 -0
- package/templates/js/vue-tsx/assets/plus-icon@2x.png +0 -0
- package/templates/js/vue-tsx/assets/plus-icon@3x.png +0 -0
- package/templates/js/vue-tsx/assets/react-native-logo.png +0 -0
- package/templates/js/vue-tsx/assets/react-native-logo@2x.png +0 -0
- package/templates/js/vue-tsx/assets/react-native-logo@3x.png +0 -0
- package/templates/js/vue-tsx/assets/vue-logo.png +0 -0
- package/templates/js/vue-tsx/assets/vue-logo@2x.png +0 -0
- package/templates/js/vue-tsx/assets/vue-logo@3x.png +0 -0
- package/templates/js/vue-tsx/babel.config.js +67 -0
- package/templates/js/vue-tsx/css.d.ts +24 -0
- package/templates/js/vue-tsx/index.js +14 -0
- package/templates/js/vue-tsx/metro.config.js +42 -0
- package/templates/js/vue-tsx/package.json.fragment.json +26 -0
- package/templates/js/vue-tsx/package.json.fragment.typescript.json +11 -0
- package/templates/js/vue-tsx/tsconfig.json +15 -0
- package/templates/js/vue-tsx/tsconfig.typecheck.json +10 -0
- package/templates/js/vue-tsx/vue-jsx.d.ts +43 -0
- package/templates/js/vue-tsx/vue-runtime-core.d.ts +3 -0
- package/templates/layers/README.md +90 -0
- package/templates/layers/application/package.json.fragment.json +5 -0
- package/templates/layers/battery/package.json.fragment.json +5 -0
- package/templates/layers/brightness/package.json.fragment.json +5 -0
- package/templates/layers/cellular/package.json.fragment.json +5 -0
- package/templates/layers/clipboard/package.json.fragment.json +5 -0
- package/templates/layers/crypto/package.json.fragment.json +5 -0
- package/templates/layers/device/package.json.fragment.json +5 -0
- package/templates/layers/expo-modules/ios/Canary/Info.plist +66 -0
- package/templates/layers/expo-modules/package.json.fragment.json +9 -0
- package/templates/layers/haptics/package.json.fragment.json +5 -0
- package/templates/layers/keep-awake/package.json.fragment.json +5 -0
- package/templates/layers/local-auth/package.json.fragment.json +5 -0
- package/templates/layers/localization/package.json.fragment.json +5 -0
- package/templates/layers/navigation/app/angular/assets/angular-logo.png +0 -0
- package/templates/layers/navigation/app/angular/assets/angular-logo@2x.png +0 -0
- package/templates/layers/navigation/app/angular/assets/angular-logo@3x.png +0 -0
- package/templates/layers/navigation/app/angular/assets/plus-icon.png +0 -0
- package/templates/layers/navigation/app/angular/assets/plus-icon@2x.png +0 -0
- package/templates/layers/navigation/app/angular/assets/plus-icon@3x.png +0 -0
- package/templates/layers/navigation/app/angular/assets/react-native-logo.png +0 -0
- package/templates/layers/navigation/app/angular/assets/react-native-logo@2x.png +0 -0
- package/templates/layers/navigation/app/angular/assets/react-native-logo@3x.png +0 -0
- package/templates/layers/navigation/app/angular/src/App.css +129 -0
- package/templates/layers/navigation/app/angular/src/App.ts +31 -0
- package/templates/layers/navigation/app/angular/src/DetailsScreen.ts +24 -0
- package/templates/layers/navigation/app/angular/src/MenuScreen.ts +43 -0
- package/templates/layers/navigation/app/react/App.css +109 -0
- package/templates/layers/navigation/app/react/App.jsx +77 -0
- package/templates/layers/navigation/app/react/App.tsx +77 -0
- package/templates/layers/navigation/app/react/assets/react-native-logo.png +0 -0
- package/templates/layers/navigation/app/react/assets/react-native-logo@2x.png +0 -0
- package/templates/layers/navigation/app/react/assets/react-native-logo@3x.png +0 -0
- package/templates/layers/navigation/app/solid/App.css +129 -0
- package/templates/layers/navigation/app/solid/App.jsx +85 -0
- package/templates/layers/navigation/app/solid/App.tsx +85 -0
- package/templates/layers/navigation/app/solid/assets/plus-icon.png +0 -0
- package/templates/layers/navigation/app/solid/assets/plus-icon@2x.png +0 -0
- package/templates/layers/navigation/app/solid/assets/plus-icon@3x.png +0 -0
- package/templates/layers/navigation/app/solid/assets/react-native-logo.png +0 -0
- package/templates/layers/navigation/app/solid/assets/react-native-logo@2x.png +0 -0
- package/templates/layers/navigation/app/solid/assets/react-native-logo@3x.png +0 -0
- package/templates/layers/navigation/app/solid/assets/solid-logo.png +0 -0
- package/templates/layers/navigation/app/solid/assets/solid-logo@2x.png +0 -0
- package/templates/layers/navigation/app/solid/assets/solid-logo@3x.png +0 -0
- package/templates/layers/navigation/app/svelte/App.css +129 -0
- package/templates/layers/navigation/app/svelte/App.svelte +19 -0
- package/templates/layers/navigation/app/svelte/App.typescript.svelte +19 -0
- package/templates/layers/navigation/app/svelte/DetailsScreen.svelte +17 -0
- package/templates/layers/navigation/app/svelte/DetailsScreen.typescript.svelte +17 -0
- package/templates/layers/navigation/app/svelte/MenuScreen.svelte +40 -0
- package/templates/layers/navigation/app/svelte/MenuScreen.typescript.svelte +40 -0
- package/templates/layers/navigation/app/svelte/image-uris.js +8 -0
- package/templates/layers/navigation/app/vue-sfc/App.css +129 -0
- package/templates/layers/navigation/app/vue-sfc/App.typescript.vue +36 -0
- package/templates/layers/navigation/app/vue-sfc/App.vue +36 -0
- package/templates/layers/navigation/app/vue-sfc/DetailsScreen.typescript.vue +20 -0
- package/templates/layers/navigation/app/vue-sfc/DetailsScreen.vue +20 -0
- package/templates/layers/navigation/app/vue-sfc/MenuScreen.typescript.vue +52 -0
- package/templates/layers/navigation/app/vue-sfc/MenuScreen.vue +52 -0
- package/templates/layers/navigation/app/vue-sfc/assets/plus-icon.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/plus-icon@2x.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/plus-icon@3x.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/react-native-logo.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/react-native-logo@2x.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/react-native-logo@3x.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/vue-logo.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/vue-logo@2x.png +0 -0
- package/templates/layers/navigation/app/vue-sfc/assets/vue-logo@3x.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/App.css +129 -0
- package/templates/layers/navigation/app/vue-tsx/App.jsx +91 -0
- package/templates/layers/navigation/app/vue-tsx/App.tsx +91 -0
- package/templates/layers/navigation/app/vue-tsx/assets/plus-icon.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/plus-icon@2x.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/plus-icon@3x.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/react-native-logo.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/react-native-logo@2x.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/react-native-logo@3x.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/vue-logo.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/vue-logo@2x.png +0 -0
- package/templates/layers/navigation/app/vue-tsx/assets/vue-logo@3x.png +0 -0
- package/templates/layers/navigation/package.json.fragment.json +5 -0
- package/templates/layers/network/package.json.fragment.json +5 -0
- package/templates/layers/screen-orientation/package.json.fragment.json +5 -0
- package/templates/layers/secure-store/package.json.fragment.json +5 -0
- package/templates/layers/sensors/package.json.fragment.json +5 -0
- package/templates/layers/sharing/package.json.fragment.json +5 -0
- package/templates/layers/slider/package.json.fragment.json +5 -0
- package/templates/layers/sms/package.json.fragment.json +5 -0
- package/templates/layers/splash-screen/native/android/app/src/main/AndroidManifest.xml +28 -0
- package/templates/layers/splash-screen/native/android/app/src/main/java/com/canary/MainActivity.kt +29 -0
- package/templates/layers/splash-screen/native/android/app/src/main/res/values/styles.xml +12 -0
- package/templates/layers/splash-screen/native/ios/Canary/AppDelegate.swift +54 -0
- package/templates/layers/splash-screen/package.json.fragment.json +5 -0
- package/templates/layers/standard-web-crypto/package.json.fragment.json +5 -0
- package/templates/layers/store-review/package.json.fragment.json +5 -0
- package/templates/layers/system-ui/package.json.fragment.json +5 -0
- package/templates/layers/testing/detox.config.js +42 -0
- package/templates/layers/testing/e2e/jest.config.js +21 -0
- package/templates/layers/testing/e2e/setup.ts +3 -0
- package/templates/layers/testing/e2e/smoke.test.ts +17 -0
- package/templates/layers/testing/e2e/tsconfig.json +7 -0
- package/templates/layers/testing/fragment/angular/package.json.fragment.json +18 -0
- package/templates/layers/testing/fragment/base/package.json.fragment.json +18 -0
- package/templates/layers/tracking-transparency/package.json.fragment.json +5 -0
- package/templates/layers/web-browser/package.json.fragment.json +5 -0
- package/templates/native/Gemfile +17 -0
- package/templates/native/README.md +48 -0
- package/templates/native/android/app/build.gradle +130 -0
- package/templates/native/android/app/debug.keystore +0 -0
- package/templates/native/android/app/proguard-rules.pro +10 -0
- package/templates/native/android/app/src/androidTest/java/com/canary/DetoxTest.java +29 -0
- package/templates/native/android/app/src/main/AndroidManifest.xml +28 -0
- package/templates/native/android/app/src/main/java/com/canary/MainActivity.kt +22 -0
- package/templates/native/android/app/src/main/java/com/canary/MainApplication.kt +27 -0
- package/templates/native/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
- package/templates/native/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
- package/templates/native/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
- package/templates/native/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
- package/templates/native/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/native/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/templates/native/android/app/src/main/res/values/colors.xml +3 -0
- package/templates/native/android/app/src/main/res/values/strings.xml +3 -0
- package/templates/native/android/app/src/main/res/values/styles.xml +6 -0
- package/templates/native/android/build.gradle +33 -0
- package/templates/native/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/templates/native/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/templates/native/android/gradle.properties +44 -0
- package/templates/native/android/gradlew +248 -0
- package/templates/native/android/gradlew.bat +98 -0
- package/templates/native/android/settings.gradle +10 -0
- package/templates/native/bootsplash-logo/angular/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/angular/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/angular/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/angular/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/angular/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/angular/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
- package/templates/native/bootsplash-logo/angular/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
- package/templates/native/bootsplash-logo/angular/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
- package/templates/native/bootsplash-logo/solid/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/solid/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/solid/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/solid/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/solid/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/solid/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
- package/templates/native/bootsplash-logo/solid/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
- package/templates/native/bootsplash-logo/solid/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
- package/templates/native/bootsplash-logo/svelte/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/svelte/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/svelte/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/svelte/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/svelte/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/svelte/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
- package/templates/native/bootsplash-logo/svelte/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
- package/templates/native/bootsplash-logo/svelte/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
- package/templates/native/bootsplash-logo/vue/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/vue/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/vue/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/vue/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/vue/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
- package/templates/native/bootsplash-logo/vue/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
- package/templates/native/bootsplash-logo/vue/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
- package/templates/native/bootsplash-logo/vue/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
- package/templates/native/eslint.config.js +3 -0
- package/templates/native/ios/.xcode.env +11 -0
- package/templates/native/ios/Canary/AppDelegate.swift +48 -0
- package/templates/native/ios/Canary/BootSplash.storyboard +46 -0
- package/templates/native/ios/Canary/Colors.xcassets/BootSplashBackground-498e55.colorset/Contents.json +20 -0
- package/templates/native/ios/Canary/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
- package/templates/native/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/Contents.json +23 -0
- package/templates/native/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
- package/templates/native/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
- package/templates/native/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
- package/templates/native/ios/Canary/Images.xcassets/Contents.json +6 -0
- package/templates/native/ios/Canary/Info.plist +60 -0
- package/templates/native/ios/Canary/LaunchScreen.storyboard +47 -0
- package/templates/native/ios/Canary/PrivacyInfo.xcprivacy +37 -0
- package/templates/native/ios/Canary.xcodeproj/project.pbxproj +504 -0
- package/templates/native/ios/Canary.xcodeproj/xcshareddata/xcschemes/Canary.xcscheme +88 -0
- package/templates/native/ios/Canary.xcworkspace/contents.xcworkspacedata +10 -0
- package/templates/native/ios/Podfile +34 -0
- package/templates/native/package.json.fragment.json +22 -0
- package/templates/native/package.json.fragment.typescript.json +8 -0
- package/templates/styling/js/angular/css-modules/src/App.ts +25 -0
- package/templates/styling/js/angular/stylesheet/src/App.ts +26 -0
- package/templates/styling/js/react/css-modules/App.jsx +15 -0
- package/templates/styling/js/react/css-modules/App.tsx +15 -0
- package/templates/styling/js/react/stylesheet/App.jsx +19 -0
- package/templates/styling/js/react/stylesheet/App.tsx +19 -0
- package/templates/styling/js/solid/css-modules/App.jsx +15 -0
- package/templates/styling/js/solid/css-modules/App.tsx +15 -0
- package/templates/styling/js/solid/stylesheet/App.jsx +19 -0
- package/templates/styling/js/solid/stylesheet/App.tsx +19 -0
- package/templates/styling/js/svelte/css-modules/App.svelte +12 -0
- package/templates/styling/js/svelte/css-modules/App.typescript.svelte +12 -0
- package/templates/styling/js/svelte/stylesheet/App.svelte +15 -0
- package/templates/styling/js/svelte/stylesheet/App.typescript.svelte +15 -0
- package/templates/styling/js/vue-sfc/css-modules/App.typescript.vue +15 -0
- package/templates/styling/js/vue-sfc/css-modules/App.vue +15 -0
- package/templates/styling/js/vue-sfc/stylesheet/App.typescript.vue +18 -0
- package/templates/styling/js/vue-sfc/stylesheet/App.vue +18 -0
- package/templates/styling/js/vue-tsx/css-modules/App.jsx +16 -0
- package/templates/styling/js/vue-tsx/css-modules/App.tsx +16 -0
- package/templates/styling/js/vue-tsx/stylesheet/App.jsx +20 -0
- package/templates/styling/js/vue-tsx/stylesheet/App.tsx +20 -0
- package/templates/styling/navigation/angular/css-modules/src/DetailsScreen.ts +17 -0
- package/templates/styling/navigation/angular/css-modules/src/MenuScreen.ts +22 -0
- package/templates/styling/navigation/angular/stylesheet/src/DetailsScreen.ts +18 -0
- package/templates/styling/navigation/angular/stylesheet/src/MenuScreen.ts +23 -0
- package/templates/styling/navigation/react/css-modules/App.jsx +32 -0
- package/templates/styling/navigation/react/css-modules/App.tsx +32 -0
- package/templates/styling/navigation/react/stylesheet/App.jsx +36 -0
- package/templates/styling/navigation/react/stylesheet/App.tsx +36 -0
- package/templates/styling/navigation/solid/css-modules/App.jsx +32 -0
- package/templates/styling/navigation/solid/css-modules/App.tsx +32 -0
- package/templates/styling/navigation/solid/stylesheet/App.jsx +36 -0
- package/templates/styling/navigation/solid/stylesheet/App.tsx +36 -0
- package/templates/styling/navigation/svelte/css-modules/DetailsScreen.svelte +7 -0
- package/templates/styling/navigation/svelte/css-modules/DetailsScreen.typescript.svelte +7 -0
- package/templates/styling/navigation/svelte/css-modules/MenuScreen.svelte +13 -0
- package/templates/styling/navigation/svelte/css-modules/MenuScreen.typescript.svelte +13 -0
- package/templates/styling/navigation/svelte/stylesheet/DetailsScreen.svelte +11 -0
- package/templates/styling/navigation/svelte/stylesheet/DetailsScreen.typescript.svelte +11 -0
- package/templates/styling/navigation/svelte/stylesheet/MenuScreen.svelte +16 -0
- package/templates/styling/navigation/svelte/stylesheet/MenuScreen.typescript.svelte +16 -0
- package/templates/styling/navigation/vue-sfc/css-modules/DetailsScreen.typescript.vue +9 -0
- package/templates/styling/navigation/vue-sfc/css-modules/DetailsScreen.vue +9 -0
- package/templates/styling/navigation/vue-sfc/css-modules/MenuScreen.typescript.vue +15 -0
- package/templates/styling/navigation/vue-sfc/css-modules/MenuScreen.vue +15 -0
- package/templates/styling/navigation/vue-sfc/stylesheet/DetailsScreen.typescript.vue +13 -0
- package/templates/styling/navigation/vue-sfc/stylesheet/DetailsScreen.vue +13 -0
- package/templates/styling/navigation/vue-sfc/stylesheet/MenuScreen.typescript.vue +18 -0
- package/templates/styling/navigation/vue-sfc/stylesheet/MenuScreen.vue +18 -0
- package/templates/styling/navigation/vue-tsx/css-modules/App.jsx +34 -0
- package/templates/styling/navigation/vue-tsx/css-modules/App.tsx +34 -0
- package/templates/styling/navigation/vue-tsx/stylesheet/App.jsx +38 -0
- package/templates/styling/navigation/vue-tsx/stylesheet/App.tsx +38 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component, signal } from '@angular/core';
|
|
2
|
+
import { SYMBIOTE_ELEMENTS } from '@symbiote-native/angular';
|
|
3
|
+
import stylesModule from './App.module.css';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'symbiote-angular-app',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [SYMBIOTE_ELEMENTS],
|
|
9
|
+
template: `
|
|
10
|
+
<view [class]="containerClass">
|
|
11
|
+
<text>Welcome to SymbioteNative!</text>
|
|
12
|
+
<pressable (press)="increment()">
|
|
13
|
+
<text>Taps: {{ count() }}</text>
|
|
14
|
+
</pressable>
|
|
15
|
+
</view>
|
|
16
|
+
`,
|
|
17
|
+
})
|
|
18
|
+
export class AppComponent {
|
|
19
|
+
readonly containerClass = stylesModule.container;
|
|
20
|
+
readonly count = signal(0);
|
|
21
|
+
|
|
22
|
+
increment(): void {
|
|
23
|
+
this.count.set(this.count() + 1);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component, signal } from '@angular/core';
|
|
2
|
+
import { SYMBIOTE_ELEMENTS, StyleSheet } from '@symbiote-native/angular';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'symbiote-angular-app',
|
|
6
|
+
standalone: true,
|
|
7
|
+
imports: [SYMBIOTE_ELEMENTS],
|
|
8
|
+
template: `
|
|
9
|
+
<view [style]="styles.container">
|
|
10
|
+
<text>Welcome to SymbioteNative!</text>
|
|
11
|
+
<pressable (press)="increment()">
|
|
12
|
+
<text>Taps: {{ count() }}</text>
|
|
13
|
+
</pressable>
|
|
14
|
+
</view>
|
|
15
|
+
`,
|
|
16
|
+
})
|
|
17
|
+
export class AppComponent {
|
|
18
|
+
readonly styles = StyleSheet.create({
|
|
19
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
20
|
+
});
|
|
21
|
+
readonly count = signal(0);
|
|
22
|
+
|
|
23
|
+
increment(): void {
|
|
24
|
+
this.count.set(this.count() + 1);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = useState(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view className={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = useState<number>(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view className={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/react';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = useState(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const styles = StyleSheet.create({
|
|
18
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
19
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/react';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = useState<number>(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const styles = StyleSheet.create({
|
|
18
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
19
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createSignal } from 'solid-js';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = createSignal(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view class={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count()}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createSignal } from 'solid-js';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = createSignal<number>(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view class={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count()}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createSignal } from 'solid-js';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/solid';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = createSignal(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count()}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const styles = StyleSheet.create({
|
|
18
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
19
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createSignal } from 'solid-js';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/solid';
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const [count, setCount] = createSignal<number>(0);
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => setCount((value) => value + 1)}>
|
|
11
|
+
<text>Taps: {count()}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const styles = StyleSheet.create({
|
|
18
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
19
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
let count = $state(0);
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<view class={styles.container}>
|
|
8
|
+
<text>Welcome to SymbioteNative!</text>
|
|
9
|
+
<pressable onPress={() => count++}>
|
|
10
|
+
<text>Taps: {count}</text>
|
|
11
|
+
</pressable>
|
|
12
|
+
</view>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
let count = $state<number>(0);
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<view class={styles.container}>
|
|
8
|
+
<text>Welcome to SymbioteNative!</text>
|
|
9
|
+
<pressable onPress={() => count++}>
|
|
10
|
+
<text>Taps: {count}</text>
|
|
11
|
+
</pressable>
|
|
12
|
+
</view>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/svelte';
|
|
3
|
+
|
|
4
|
+
let count = $state(0);
|
|
5
|
+
const styles = StyleSheet.create({
|
|
6
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<view style={styles.container}>
|
|
11
|
+
<text>Welcome to SymbioteNative!</text>
|
|
12
|
+
<pressable onPress={() => count++}>
|
|
13
|
+
<text>Taps: {count}</text>
|
|
14
|
+
</pressable>
|
|
15
|
+
</view>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/svelte';
|
|
3
|
+
|
|
4
|
+
let count = $state<number>(0);
|
|
5
|
+
const styles = StyleSheet.create({
|
|
6
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<view style={styles.container}>
|
|
11
|
+
<text>Welcome to SymbioteNative!</text>
|
|
12
|
+
<pressable onPress={() => count++}>
|
|
13
|
+
<text>Taps: {count}</text>
|
|
14
|
+
</pressable>
|
|
15
|
+
</view>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import styles from './App.module.css';
|
|
4
|
+
|
|
5
|
+
const count = ref<number>(0);
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<view :class="styles.container">
|
|
10
|
+
<text>Welcome to SymbioteNative!</text>
|
|
11
|
+
<pressable @press="count++">
|
|
12
|
+
<text>Taps: {{ count }}</text>
|
|
13
|
+
</pressable>
|
|
14
|
+
</view>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import styles from './App.module.css';
|
|
4
|
+
|
|
5
|
+
const count = ref(0);
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<view :class="styles.container">
|
|
10
|
+
<text>Welcome to SymbioteNative!</text>
|
|
11
|
+
<pressable @press="count++">
|
|
12
|
+
<text>Taps: {{ count }}</text>
|
|
13
|
+
</pressable>
|
|
14
|
+
</view>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { StyleSheet } from '@symbiote-native/vue';
|
|
4
|
+
|
|
5
|
+
const count = ref<number>(0);
|
|
6
|
+
const styles = StyleSheet.create({
|
|
7
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
8
|
+
});
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<view :style="styles.container">
|
|
13
|
+
<text>Welcome to SymbioteNative!</text>
|
|
14
|
+
<pressable @press="count++">
|
|
15
|
+
<text>Taps: {{ count }}</text>
|
|
16
|
+
</pressable>
|
|
17
|
+
</view>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { StyleSheet } from '@symbiote-native/vue';
|
|
4
|
+
|
|
5
|
+
const count = ref(0);
|
|
6
|
+
const styles = StyleSheet.create({
|
|
7
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
8
|
+
});
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<view :style="styles.container">
|
|
13
|
+
<text>Welcome to SymbioteNative!</text>
|
|
14
|
+
<pressable @press="count++">
|
|
15
|
+
<text>Taps: {{ count }}</text>
|
|
16
|
+
</pressable>
|
|
17
|
+
</view>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ref } from '@vue/runtime-core';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
setup() {
|
|
6
|
+
const count = ref(0);
|
|
7
|
+
return () => (
|
|
8
|
+
<view class={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => count.value++}>
|
|
11
|
+
<text>Taps: {count.value}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ref } from '@vue/runtime-core';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
setup() {
|
|
6
|
+
const count = ref(0);
|
|
7
|
+
return () => (
|
|
8
|
+
<view class={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => count.value++}>
|
|
11
|
+
<text>Taps: {count.value}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ref } from '@vue/runtime-core';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/vue';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
setup() {
|
|
6
|
+
const count = ref(0);
|
|
7
|
+
return () => (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => count.value++}>
|
|
11
|
+
<text>Taps: {count.value}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const styles = StyleSheet.create({
|
|
19
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
20
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ref } from '@vue/runtime-core';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/vue';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
setup() {
|
|
6
|
+
const count = ref(0);
|
|
7
|
+
return () => (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => count.value++}>
|
|
11
|
+
<text>Taps: {count.value}</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const styles = StyleSheet.create({
|
|
19
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
20
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { SYMBIOTE_ELEMENTS } from '@symbiote-native/angular';
|
|
3
|
+
import stylesModule from './App.module.css';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'DetailsScreen',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [SYMBIOTE_ELEMENTS],
|
|
9
|
+
template: `
|
|
10
|
+
<view [class]="containerClass">
|
|
11
|
+
<text>Details screen</text>
|
|
12
|
+
</view>
|
|
13
|
+
`,
|
|
14
|
+
})
|
|
15
|
+
export class DetailsScreen {
|
|
16
|
+
readonly containerClass = stylesModule.container;
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { SYMBIOTE_ELEMENTS } from '@symbiote-native/angular';
|
|
3
|
+
import { injectStackNavigation } from '@symbiote-native/navigation/angular';
|
|
4
|
+
import stylesModule from './App.module.css';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'MenuScreen',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [SYMBIOTE_ELEMENTS],
|
|
10
|
+
template: `
|
|
11
|
+
<view [class]="containerClass">
|
|
12
|
+
<text>Welcome to SymbioteNative!</text>
|
|
13
|
+
<pressable (press)="navigation.push('Details')">
|
|
14
|
+
<text>Go to Details</text>
|
|
15
|
+
</pressable>
|
|
16
|
+
</view>
|
|
17
|
+
`,
|
|
18
|
+
})
|
|
19
|
+
export class MenuScreen {
|
|
20
|
+
readonly containerClass = stylesModule.container;
|
|
21
|
+
readonly navigation = injectStackNavigation();
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { SYMBIOTE_ELEMENTS, StyleSheet } from '@symbiote-native/angular';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'DetailsScreen',
|
|
6
|
+
standalone: true,
|
|
7
|
+
imports: [SYMBIOTE_ELEMENTS],
|
|
8
|
+
template: `
|
|
9
|
+
<view [style]="styles.container">
|
|
10
|
+
<text>Details screen</text>
|
|
11
|
+
</view>
|
|
12
|
+
`,
|
|
13
|
+
})
|
|
14
|
+
export class DetailsScreen {
|
|
15
|
+
readonly styles = StyleSheet.create({
|
|
16
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { SYMBIOTE_ELEMENTS, StyleSheet } from '@symbiote-native/angular';
|
|
3
|
+
import { injectStackNavigation } from '@symbiote-native/navigation/angular';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'MenuScreen',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [SYMBIOTE_ELEMENTS],
|
|
9
|
+
template: `
|
|
10
|
+
<view [style]="styles.container">
|
|
11
|
+
<text>Welcome to SymbioteNative!</text>
|
|
12
|
+
<pressable (press)="navigation.push('Details')">
|
|
13
|
+
<text>Go to Details</text>
|
|
14
|
+
</pressable>
|
|
15
|
+
</view>
|
|
16
|
+
`,
|
|
17
|
+
})
|
|
18
|
+
export class MenuScreen {
|
|
19
|
+
readonly styles = StyleSheet.create({
|
|
20
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
21
|
+
});
|
|
22
|
+
readonly navigation = injectStackNavigation();
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Stack, useStackNavigation } from '@symbiote-native/navigation/react';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
function MenuScreen() {
|
|
5
|
+
const navigation = useStackNavigation();
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view className={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => navigation.push('Details')}>
|
|
11
|
+
<text>Go to Details</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function DetailsScreen() {
|
|
18
|
+
return (
|
|
19
|
+
<view className={styles.container}>
|
|
20
|
+
<text>Details screen</text>
|
|
21
|
+
</view>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default function App() {
|
|
26
|
+
return (
|
|
27
|
+
<Stack initialRouteName="Menu">
|
|
28
|
+
<Stack.Screen name="Menu" component={MenuScreen} options={{ title: 'Home' }} />
|
|
29
|
+
<Stack.Screen name="Details" component={DetailsScreen} options={{ title: 'Details' }} />
|
|
30
|
+
</Stack>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Stack, useStackNavigation } from '@symbiote-native/navigation/react';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
function MenuScreen() {
|
|
5
|
+
const navigation = useStackNavigation();
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view className={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => navigation.push('Details')}>
|
|
11
|
+
<text>Go to Details</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function DetailsScreen() {
|
|
18
|
+
return (
|
|
19
|
+
<view className={styles.container}>
|
|
20
|
+
<text>Details screen</text>
|
|
21
|
+
</view>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default function App() {
|
|
26
|
+
return (
|
|
27
|
+
<Stack initialRouteName="Menu">
|
|
28
|
+
<Stack.Screen name="Menu" component={MenuScreen} options={{ title: 'Home' }} />
|
|
29
|
+
<Stack.Screen name="Details" component={DetailsScreen} options={{ title: 'Details' }} />
|
|
30
|
+
</Stack>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Stack, useStackNavigation } from '@symbiote-native/navigation/react';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/react';
|
|
3
|
+
|
|
4
|
+
function MenuScreen() {
|
|
5
|
+
const navigation = useStackNavigation();
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => navigation.push('Details')}>
|
|
11
|
+
<text>Go to Details</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function DetailsScreen() {
|
|
18
|
+
return (
|
|
19
|
+
<view style={styles.container}>
|
|
20
|
+
<text>Details screen</text>
|
|
21
|
+
</view>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default function App() {
|
|
26
|
+
return (
|
|
27
|
+
<Stack initialRouteName="Menu">
|
|
28
|
+
<Stack.Screen name="Menu" component={MenuScreen} options={{ title: 'Home' }} />
|
|
29
|
+
<Stack.Screen name="Details" component={DetailsScreen} options={{ title: 'Details' }} />
|
|
30
|
+
</Stack>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const styles = StyleSheet.create({
|
|
35
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
36
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Stack, useStackNavigation } from '@symbiote-native/navigation/react';
|
|
2
|
+
import { StyleSheet } from '@symbiote-native/react';
|
|
3
|
+
|
|
4
|
+
function MenuScreen() {
|
|
5
|
+
const navigation = useStackNavigation();
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view style={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => navigation.push('Details')}>
|
|
11
|
+
<text>Go to Details</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function DetailsScreen() {
|
|
18
|
+
return (
|
|
19
|
+
<view style={styles.container}>
|
|
20
|
+
<text>Details screen</text>
|
|
21
|
+
</view>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default function App() {
|
|
26
|
+
return (
|
|
27
|
+
<Stack initialRouteName="Menu">
|
|
28
|
+
<Stack.Screen name="Menu" component={MenuScreen} options={{ title: 'Home' }} />
|
|
29
|
+
<Stack.Screen name="Details" component={DetailsScreen} options={{ title: 'Details' }} />
|
|
30
|
+
</Stack>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const styles = StyleSheet.create({
|
|
35
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
|
|
36
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Stack, useStackNavigation } from '@symbiote-native/navigation/solid';
|
|
2
|
+
import styles from './App.module.css';
|
|
3
|
+
|
|
4
|
+
function MenuScreen() {
|
|
5
|
+
const navigation = useStackNavigation();
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<view class={styles.container}>
|
|
9
|
+
<text>Welcome to SymbioteNative!</text>
|
|
10
|
+
<pressable onPress={() => navigation().push('Details')}>
|
|
11
|
+
<text>Go to Details</text>
|
|
12
|
+
</pressable>
|
|
13
|
+
</view>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function DetailsScreen() {
|
|
18
|
+
return (
|
|
19
|
+
<view class={styles.container}>
|
|
20
|
+
<text>Details screen</text>
|
|
21
|
+
</view>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default function App() {
|
|
26
|
+
return (
|
|
27
|
+
<Stack initialRouteName="Menu">
|
|
28
|
+
<Stack.Screen name="Menu" component={MenuScreen} options={{ title: 'Home' }} />
|
|
29
|
+
<Stack.Screen name="Details" component={DetailsScreen} options={{ title: 'Details' }} />
|
|
30
|
+
</Stack>
|
|
31
|
+
);
|
|
32
|
+
}
|