create-idia-app 0.2.0

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.
Files changed (90) hide show
  1. package/README.md +104 -0
  2. package/dist/index.js +412 -0
  3. package/dist/index.js.map +1 -0
  4. package/package.json +33 -0
  5. package/template/.cursor/rules/idia-ui-ds-brain.mdc +32 -0
  6. package/template/.cursor/rules/idia-ui-forms.mdc +34 -0
  7. package/template/.cursor/rules/idia-ui-overlays.mdc +23 -0
  8. package/template/.idia/brain/AGENTS.md +37 -0
  9. package/template/.idia/brain/ai/agents/retrieval-cheatsheet.md +209 -0
  10. package/template/.idia/brain/ai/skills/components/button/SKILL.md +32 -0
  11. package/template/.idia/brain/ai/skills/ds-brain-action-hierarchy/SKILL.md +46 -0
  12. package/template/.idia/brain/ai/skills/ds-brain-forms/SKILL.md +67 -0
  13. package/template/.idia/brain/ai/skills/ds-brain-index/SKILL.md +76 -0
  14. package/template/.idia/brain/ai/skills/ds-brain-overlays/SKILL.md +30 -0
  15. package/template/.idia/brain/ai/skills/ds-brain-retrieval/SKILL.md +54 -0
  16. package/template/.idia/brain/registry/ai-index.generated.json +833 -0
  17. package/template/.idia/brain/registry/component-registry.generated.json +2947 -0
  18. package/template/.idia/manifest.json +17 -0
  19. package/template/.storybook/main.ts +9 -0
  20. package/template/.storybook/preview.tsx +20 -0
  21. package/template/AGENTS.md +11 -0
  22. package/template/App.tsx +24 -0
  23. package/template/README.md +75 -0
  24. package/template/app.json +13 -0
  25. package/template/babel.config.js +25 -0
  26. package/template/global.css +32 -0
  27. package/template/index.ts +8 -0
  28. package/template/metro.config.js +19 -0
  29. package/template/package.json +85 -0
  30. package/template/public/fonts/Inter.ttf +0 -0
  31. package/template/public/fonts/NunitoSans.woff2 +0 -0
  32. package/template/src/config/env.ts +4 -0
  33. package/template/src/config/versions.ts +7 -0
  34. package/template/src/navigation/RootNavigator.tsx +27 -0
  35. package/template/src/navigation/linking.ts +13 -0
  36. package/template/src/navigation/types.ts +10 -0
  37. package/template/src/providers/AppProviders.tsx +47 -0
  38. package/template/src/screens/Home/HomeScreen.tsx +12 -0
  39. package/template/src/screens/Welcome/WelcomeScreen.tsx +115 -0
  40. package/template/src/stories/Button.stories.tsx +31 -0
  41. package/template/storybook-static/assets/Button.stories-CfapbH7U.js +196 -0
  42. package/template/storybook-static/assets/Color-F6OSRLHC-CFwL-RM_.js +1 -0
  43. package/template/storybook-static/assets/DocsRenderer-CFRXHY34-AADCayzw.js +729 -0
  44. package/template/storybook-static/assets/_commonjsHelpers-Cpj98o6Y.js +1 -0
  45. package/template/storybook-static/assets/axe-d-K7rF9D.js +30 -0
  46. package/template/storybook-static/assets/chunk-XP5HYGXS-BHXC9YeQ.js +1 -0
  47. package/template/storybook-static/assets/client-DGEjZp2f.js +25 -0
  48. package/template/storybook-static/assets/entry-preview-Dc5wkB2s.js +2 -0
  49. package/template/storybook-static/assets/entry-preview-docs-BaxqCxyK.js +46 -0
  50. package/template/storybook-static/assets/iframe-Bl15XKnQ.js +211 -0
  51. package/template/storybook-static/assets/index-Bhelpi4i.js +11 -0
  52. package/template/storybook-static/assets/index-C_pJYAGD.js +1 -0
  53. package/template/storybook-static/assets/index-D5Inswos.js +1 -0
  54. package/template/storybook-static/assets/index-NGyRR_en.js +9 -0
  55. package/template/storybook-static/assets/index-zmTGQa7e.js +9 -0
  56. package/template/storybook-static/assets/jsx-runtime-BjG_zV1W.js +9 -0
  57. package/template/storybook-static/assets/preview-BNUqaTig.js +1 -0
  58. package/template/storybook-static/assets/preview-Cfo7ZnTc.js +2 -0
  59. package/template/storybook-static/assets/preview-CrKLV1aL.css +1 -0
  60. package/template/storybook-static/assets/preview-DkVJIpDn.js +2 -0
  61. package/template/storybook-static/assets/preview-DrRsTNnS.js +17 -0
  62. package/template/storybook-static/assets/react-18-Bfhi6ooJ.js +1 -0
  63. package/template/storybook-static/assets/react-FmFgRqLi.js +1 -0
  64. package/template/storybook-static/assets/react-native-gesture-handler-BzS7UzhZ.js +52 -0
  65. package/template/storybook-static/assets/test-utils-X4YdDMST.js +9 -0
  66. package/template/storybook-static/favicon.svg +1 -0
  67. package/template/storybook-static/fonts/Inter.ttf +0 -0
  68. package/template/storybook-static/fonts/NunitoSans.woff2 +0 -0
  69. package/template/storybook-static/iframe.html +668 -0
  70. package/template/storybook-static/index.html +145 -0
  71. package/template/storybook-static/index.json +1 -0
  72. package/template/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  73. package/template/storybook-static/nunito-sans-bold.woff2 +0 -0
  74. package/template/storybook-static/nunito-sans-italic.woff2 +0 -0
  75. package/template/storybook-static/nunito-sans-regular.woff2 +0 -0
  76. package/template/storybook-static/project.json +1 -0
  77. package/template/storybook-static/sb-addons/a11y-2/manager-bundle.js +3 -0
  78. package/template/storybook-static/sb-addons/links-1/manager-bundle.js +3 -0
  79. package/template/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  80. package/template/storybook-static/sb-common-assets/favicon.svg +1 -0
  81. package/template/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  82. package/template/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  83. package/template/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  84. package/template/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  85. package/template/storybook-static/sb-manager/globals-module-info.js +1052 -0
  86. package/template/storybook-static/sb-manager/globals-runtime.js +41775 -0
  87. package/template/storybook-static/sb-manager/globals.js +48 -0
  88. package/template/storybook-static/sb-manager/runtime.js +12048 -0
  89. package/template/tamagui.config.ts +18 -0
  90. package/template/tsconfig.json +11 -0
@@ -0,0 +1,18 @@
1
+ import { createIdiaTamaguiConfig, type CreateTokensFn } from '@idia-ui/theme'
2
+ import { createTamagui, createTokens } from 'tamagui'
3
+
4
+ export const tamaguiConfig = createIdiaTamaguiConfig({
5
+ createTamagui,
6
+ createTokens: createTokens as CreateTokensFn,
7
+ defaultTheme: 'light',
8
+ // Example: one brand token + per-theme accent override (see RFC 0010 §15.3)
9
+ extendTokens: {
10
+ color: { brandAccent: '#3366FF' },
11
+ },
12
+ extendThemes: {
13
+ light: { brandAccent: '#3366FF' },
14
+ dark: { brandAccent: '#6699FF' },
15
+ },
16
+ })
17
+
18
+ export default tamaguiConfig
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "expo/tsconfig.base",
3
+ "compilerOptions": {
4
+ "strict": true,
5
+ "baseUrl": ".",
6
+ "paths": {
7
+ "@/*": ["src/*"]
8
+ }
9
+ },
10
+ "include": ["**/*.ts", "**/*.tsx", "tamagui.config.ts"]
11
+ }