@idealyst/mcp-server 1.0.84

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 (211) hide show
  1. package/README.md +202 -0
  2. package/dist/data/cli-commands.d.ts +2 -0
  3. package/dist/data/cli-commands.d.ts.map +1 -0
  4. package/dist/data/cli-commands.js +100 -0
  5. package/dist/data/cli-commands.js.map +1 -0
  6. package/dist/data/components/Accordion.d.ts +15 -0
  7. package/dist/data/components/Accordion.d.ts.map +1 -0
  8. package/dist/data/components/Accordion.js +112 -0
  9. package/dist/data/components/Accordion.js.map +1 -0
  10. package/dist/data/components/ActivityIndicator.d.ts +15 -0
  11. package/dist/data/components/ActivityIndicator.d.ts.map +1 -0
  12. package/dist/data/components/ActivityIndicator.js +82 -0
  13. package/dist/data/components/ActivityIndicator.js.map +1 -0
  14. package/dist/data/components/Alert.d.ts +15 -0
  15. package/dist/data/components/Alert.d.ts.map +1 -0
  16. package/dist/data/components/Alert.js +132 -0
  17. package/dist/data/components/Alert.js.map +1 -0
  18. package/dist/data/components/Avatar.d.ts +15 -0
  19. package/dist/data/components/Avatar.d.ts.map +1 -0
  20. package/dist/data/components/Avatar.js +93 -0
  21. package/dist/data/components/Avatar.js.map +1 -0
  22. package/dist/data/components/Badge.d.ts +15 -0
  23. package/dist/data/components/Badge.d.ts.map +1 -0
  24. package/dist/data/components/Badge.js +64 -0
  25. package/dist/data/components/Badge.js.map +1 -0
  26. package/dist/data/components/Breadcrumb.d.ts +15 -0
  27. package/dist/data/components/Breadcrumb.d.ts.map +1 -0
  28. package/dist/data/components/Breadcrumb.js +96 -0
  29. package/dist/data/components/Breadcrumb.js.map +1 -0
  30. package/dist/data/components/Button.d.ts +15 -0
  31. package/dist/data/components/Button.d.ts.map +1 -0
  32. package/dist/data/components/Button.js +87 -0
  33. package/dist/data/components/Button.js.map +1 -0
  34. package/dist/data/components/Card.d.ts +15 -0
  35. package/dist/data/components/Card.d.ts.map +1 -0
  36. package/dist/data/components/Card.js +67 -0
  37. package/dist/data/components/Card.js.map +1 -0
  38. package/dist/data/components/Checkbox.d.ts +15 -0
  39. package/dist/data/components/Checkbox.d.ts.map +1 -0
  40. package/dist/data/components/Checkbox.js +118 -0
  41. package/dist/data/components/Checkbox.js.map +1 -0
  42. package/dist/data/components/Chip.d.ts +15 -0
  43. package/dist/data/components/Chip.d.ts.map +1 -0
  44. package/dist/data/components/Chip.js +76 -0
  45. package/dist/data/components/Chip.js.map +1 -0
  46. package/dist/data/components/Dialog.d.ts +15 -0
  47. package/dist/data/components/Dialog.d.ts.map +1 -0
  48. package/dist/data/components/Dialog.js +137 -0
  49. package/dist/data/components/Dialog.js.map +1 -0
  50. package/dist/data/components/Divider.d.ts +15 -0
  51. package/dist/data/components/Divider.d.ts.map +1 -0
  52. package/dist/data/components/Divider.js +71 -0
  53. package/dist/data/components/Divider.js.map +1 -0
  54. package/dist/data/components/Icon.d.ts +15 -0
  55. package/dist/data/components/Icon.d.ts.map +1 -0
  56. package/dist/data/components/Icon.js +70 -0
  57. package/dist/data/components/Icon.js.map +1 -0
  58. package/dist/data/components/Image.d.ts +15 -0
  59. package/dist/data/components/Image.d.ts.map +1 -0
  60. package/dist/data/components/Image.js +122 -0
  61. package/dist/data/components/Image.js.map +1 -0
  62. package/dist/data/components/Input.d.ts +15 -0
  63. package/dist/data/components/Input.d.ts.map +1 -0
  64. package/dist/data/components/Input.js +109 -0
  65. package/dist/data/components/Input.js.map +1 -0
  66. package/dist/data/components/List.d.ts +15 -0
  67. package/dist/data/components/List.d.ts.map +1 -0
  68. package/dist/data/components/List.js +113 -0
  69. package/dist/data/components/List.js.map +1 -0
  70. package/dist/data/components/Menu.d.ts +15 -0
  71. package/dist/data/components/Menu.d.ts.map +1 -0
  72. package/dist/data/components/Menu.js +132 -0
  73. package/dist/data/components/Menu.js.map +1 -0
  74. package/dist/data/components/Popover.d.ts +15 -0
  75. package/dist/data/components/Popover.d.ts.map +1 -0
  76. package/dist/data/components/Popover.js +159 -0
  77. package/dist/data/components/Popover.js.map +1 -0
  78. package/dist/data/components/Pressable.d.ts +15 -0
  79. package/dist/data/components/Pressable.d.ts.map +1 -0
  80. package/dist/data/components/Pressable.js +125 -0
  81. package/dist/data/components/Pressable.js.map +1 -0
  82. package/dist/data/components/Progress.d.ts +15 -0
  83. package/dist/data/components/Progress.d.ts.map +1 -0
  84. package/dist/data/components/Progress.js +95 -0
  85. package/dist/data/components/Progress.js.map +1 -0
  86. package/dist/data/components/RadioButton.d.ts +15 -0
  87. package/dist/data/components/RadioButton.d.ts.map +1 -0
  88. package/dist/data/components/RadioButton.js +140 -0
  89. package/dist/data/components/RadioButton.js.map +1 -0
  90. package/dist/data/components/SVGImage.d.ts +15 -0
  91. package/dist/data/components/SVGImage.d.ts.map +1 -0
  92. package/dist/data/components/SVGImage.js +112 -0
  93. package/dist/data/components/SVGImage.js.map +1 -0
  94. package/dist/data/components/Screen.d.ts +15 -0
  95. package/dist/data/components/Screen.d.ts.map +1 -0
  96. package/dist/data/components/Screen.js +99 -0
  97. package/dist/data/components/Screen.js.map +1 -0
  98. package/dist/data/components/Select.d.ts +15 -0
  99. package/dist/data/components/Select.d.ts.map +1 -0
  100. package/dist/data/components/Select.js +146 -0
  101. package/dist/data/components/Select.js.map +1 -0
  102. package/dist/data/components/Skeleton.d.ts +15 -0
  103. package/dist/data/components/Skeleton.d.ts.map +1 -0
  104. package/dist/data/components/Skeleton.js +110 -0
  105. package/dist/data/components/Skeleton.js.map +1 -0
  106. package/dist/data/components/Slider.d.ts +15 -0
  107. package/dist/data/components/Slider.d.ts.map +1 -0
  108. package/dist/data/components/Slider.js +129 -0
  109. package/dist/data/components/Slider.js.map +1 -0
  110. package/dist/data/components/Switch.d.ts +15 -0
  111. package/dist/data/components/Switch.d.ts.map +1 -0
  112. package/dist/data/components/Switch.js +127 -0
  113. package/dist/data/components/Switch.js.map +1 -0
  114. package/dist/data/components/TabBar.d.ts +15 -0
  115. package/dist/data/components/TabBar.d.ts.map +1 -0
  116. package/dist/data/components/TabBar.js +145 -0
  117. package/dist/data/components/TabBar.js.map +1 -0
  118. package/dist/data/components/Table.d.ts +15 -0
  119. package/dist/data/components/Table.d.ts.map +1 -0
  120. package/dist/data/components/Table.js +151 -0
  121. package/dist/data/components/Table.js.map +1 -0
  122. package/dist/data/components/Tabs.d.ts +15 -0
  123. package/dist/data/components/Tabs.d.ts.map +1 -0
  124. package/dist/data/components/Tabs.js +150 -0
  125. package/dist/data/components/Tabs.js.map +1 -0
  126. package/dist/data/components/Text.d.ts +15 -0
  127. package/dist/data/components/Text.d.ts.map +1 -0
  128. package/dist/data/components/Text.js +85 -0
  129. package/dist/data/components/Text.js.map +1 -0
  130. package/dist/data/components/TextArea.d.ts +15 -0
  131. package/dist/data/components/TextArea.d.ts.map +1 -0
  132. package/dist/data/components/TextArea.js +155 -0
  133. package/dist/data/components/TextArea.js.map +1 -0
  134. package/dist/data/components/Tooltip.d.ts +15 -0
  135. package/dist/data/components/Tooltip.d.ts.map +1 -0
  136. package/dist/data/components/Tooltip.js +105 -0
  137. package/dist/data/components/Tooltip.js.map +1 -0
  138. package/dist/data/components/Video.d.ts +15 -0
  139. package/dist/data/components/Video.d.ts.map +1 -0
  140. package/dist/data/components/Video.js +168 -0
  141. package/dist/data/components/Video.js.map +1 -0
  142. package/dist/data/components/View.d.ts +15 -0
  143. package/dist/data/components/View.d.ts.map +1 -0
  144. package/dist/data/components/View.js +126 -0
  145. package/dist/data/components/View.js.map +1 -0
  146. package/dist/data/components/index.d.ts +37 -0
  147. package/dist/data/components/index.d.ts.map +1 -0
  148. package/dist/data/components/index.js +110 -0
  149. package/dist/data/components/index.js.map +1 -0
  150. package/dist/data/framework-guides.d.ts +2 -0
  151. package/dist/data/framework-guides.d.ts.map +1 -0
  152. package/dist/data/framework-guides.js +589 -0
  153. package/dist/data/framework-guides.js.map +1 -0
  154. package/dist/data/icon-guide.d.ts +2 -0
  155. package/dist/data/icon-guide.d.ts.map +1 -0
  156. package/dist/data/icon-guide.js +285 -0
  157. package/dist/data/icon-guide.js.map +1 -0
  158. package/dist/data/icons.json +7452 -0
  159. package/dist/data/navigation-guides.d.ts +2 -0
  160. package/dist/data/navigation-guides.d.ts.map +1 -0
  161. package/dist/data/navigation-guides.js +1196 -0
  162. package/dist/data/navigation-guides.js.map +1 -0
  163. package/dist/index.d.ts +3 -0
  164. package/dist/index.d.ts.map +1 -0
  165. package/dist/index.js +422 -0
  166. package/dist/index.js.map +1 -0
  167. package/package.json +34 -0
  168. package/src/data/cli-commands.ts +103 -0
  169. package/src/data/components/Accordion.ts +106 -0
  170. package/src/data/components/ActivityIndicator.ts +82 -0
  171. package/src/data/components/Alert.ts +132 -0
  172. package/src/data/components/Avatar.ts +93 -0
  173. package/src/data/components/Badge.ts +63 -0
  174. package/src/data/components/Breadcrumb.ts +94 -0
  175. package/src/data/components/Button.ts +86 -0
  176. package/src/data/components/Card.ts +67 -0
  177. package/src/data/components/Checkbox.ts +117 -0
  178. package/src/data/components/Chip.ts +93 -0
  179. package/src/data/components/Dialog.ts +136 -0
  180. package/src/data/components/Divider.ts +70 -0
  181. package/src/data/components/Icon.ts +70 -0
  182. package/src/data/components/Image.ts +121 -0
  183. package/src/data/components/Input.ts +150 -0
  184. package/src/data/components/List.ts +103 -0
  185. package/src/data/components/Menu.ts +125 -0
  186. package/src/data/components/Popover.ts +159 -0
  187. package/src/data/components/Pressable.ts +123 -0
  188. package/src/data/components/Progress.ts +95 -0
  189. package/src/data/components/RadioButton.ts +130 -0
  190. package/src/data/components/SVGImage.ts +114 -0
  191. package/src/data/components/Screen.ts +103 -0
  192. package/src/data/components/Select.ts +140 -0
  193. package/src/data/components/Skeleton.ts +102 -0
  194. package/src/data/components/Slider.ts +150 -0
  195. package/src/data/components/Switch.ts +127 -0
  196. package/src/data/components/TabBar.ts +142 -0
  197. package/src/data/components/Table.ts +153 -0
  198. package/src/data/components/Tabs.ts +152 -0
  199. package/src/data/components/Text.ts +85 -0
  200. package/src/data/components/TextArea.ts +155 -0
  201. package/src/data/components/Tooltip.ts +105 -0
  202. package/src/data/components/Video.ts +168 -0
  203. package/src/data/components/View.ts +126 -0
  204. package/src/data/components/index.ts +109 -0
  205. package/src/data/framework-guides.ts +593 -0
  206. package/src/data/icon-guide.ts +284 -0
  207. package/src/data/icons.json +7452 -0
  208. package/src/data/navigation-guides.ts +1199 -0
  209. package/src/index.ts +473 -0
  210. package/test-client.js +86 -0
  211. package/tsconfig.json +20 -0
@@ -0,0 +1,589 @@
1
+ export const frameworkGuides = {
2
+ "idealyst://framework/getting-started": `# Getting Started with Idealyst
3
+
4
+ Idealyst is a modern, cross-platform framework for building React and React Native applications with a powerful component library, type-safe APIs, and monorepo tooling.
5
+
6
+ ## Quick Start
7
+
8
+ ### 1. Create a New Workspace
9
+
10
+ \`\`\`bash
11
+ npx @idealyst/cli init my-app
12
+ cd my-app
13
+ \`\`\`
14
+
15
+ This creates a monorepo workspace with:
16
+ - Yarn 3 workspace setup
17
+ - TypeScript configuration
18
+ - Jest testing setup
19
+ - Git repository
20
+ - Dev container configuration
21
+
22
+ ### 2. Create Packages
23
+
24
+ Create a web app:
25
+ \`\`\`bash
26
+ npx @idealyst/cli create web --type web --with-trpc
27
+ \`\`\`
28
+
29
+ Create a native app:
30
+ \`\`\`bash
31
+ npx @idealyst/cli create mobile --type native --app-name "My App" --with-trpc
32
+ \`\`\`
33
+
34
+ Create an API server:
35
+ \`\`\`bash
36
+ npx @idealyst/cli create api --type api
37
+ \`\`\`
38
+
39
+ Create a database layer:
40
+ \`\`\`bash
41
+ npx @idealyst/cli create database --type database
42
+ \`\`\`
43
+
44
+ ### 3. Start Development
45
+
46
+ \`\`\`bash
47
+ # Start web dev server
48
+ cd packages/web
49
+ yarn dev
50
+
51
+ # Start native dev
52
+ cd packages/mobile
53
+ yarn dev
54
+ \`\`\`
55
+
56
+ ## Project Structure
57
+
58
+ \`\`\`
59
+ my-app/
60
+ ├── packages/
61
+ │ ├── web/ # React web app (Vite)
62
+ │ ├── mobile/ # React Native app
63
+ │ ├── api/ # tRPC API server
64
+ │ ├── database/ # Prisma database layer
65
+ │ └── shared/ # Shared utilities
66
+ ├── package.json
67
+ └── yarn.lock
68
+ \`\`\`
69
+
70
+ ## Key Features
71
+
72
+ - **Cross-Platform Components**: Use the same components for web and native
73
+ - **Type-Safe APIs**: End-to-end type safety with tRPC
74
+ - **Modern Tooling**: Vite, TypeScript, Jest, Prisma
75
+ - **Monorepo Structure**: Share code across packages
76
+ - **Theme System**: Consistent styling with react-native-unistyles
77
+ - **Navigation**: Unified navigation for web and native
78
+
79
+ ## Next Steps
80
+
81
+ 1. Explore the component library: \`@idealyst/components\`
82
+ 2. Set up your database schema in \`packages/database\`
83
+ 3. Define your API routes in \`packages/api\`
84
+ 4. Build your UI in \`packages/web\` or \`packages/mobile\`
85
+ `,
86
+ "idealyst://framework/components-overview": `# Idealyst Components Overview
87
+
88
+ Idealyst provides a comprehensive library of cross-platform React components organized into categories.
89
+
90
+ ## Component Categories
91
+
92
+ ### Layout Components
93
+ - **View**: Flex container with spacing system
94
+ - **Screen**: Full-screen container with safe area handling
95
+ - **Divider**: Visual separator with orientation options
96
+
97
+ ### Form Components
98
+ - **Button**: Interactive button with variants, intents, and icons
99
+ - **Input**: Text input with label, validation, and helper text
100
+ - **Checkbox**: Form checkbox with label support
101
+ - **Select**: Dropdown selection component
102
+ - **Switch**: Toggle switch component
103
+ - **RadioButton**: Radio button group
104
+ - **Slider**: Range slider component
105
+ - **TextArea**: Multi-line text input
106
+
107
+ ### Display Components
108
+ - **Text**: Styled text with sizes and weights
109
+ - **Card**: Content container with variants
110
+ - **Badge**: Status indicator
111
+ - **Chip**: Compact element for tags and filters
112
+ - **Avatar**: User profile image
113
+ - **Icon**: MDI icon with theming
114
+ - **Skeleton**: Loading placeholder
115
+ - **Alert**: Notification message
116
+
117
+ ### Navigation Components
118
+ - **Tabs**: Tab navigation
119
+ - **TabBar**: Bottom tab bar
120
+ - **Breadcrumb**: Breadcrumb navigation
121
+ - **Menu**: Dropdown menu
122
+ - **List**: Vertical list with sections
123
+
124
+ ### Overlay Components
125
+ - **Dialog**: Modal dialog
126
+ - **Popover**: Contextual overlay
127
+ - **Tooltip**: Hover tooltip
128
+
129
+ ### Data Components
130
+ - **Table**: Data table with sorting and filtering
131
+ - **DataGrid**: Advanced data grid
132
+ - **DatePicker**: Date selection component
133
+ - **Progress**: Progress indicator
134
+
135
+ ## Common Props
136
+
137
+ Most components share common props:
138
+ - \`style\`: Custom styles
139
+ - \`testID\`: Test identifier
140
+ - \`disabled\`: Disable interaction
141
+
142
+ ### Intent Colors
143
+ Components support intent-based colors:
144
+ - \`primary\`: Main brand actions
145
+ - \`neutral\`: Secondary actions
146
+ - \`success\`: Positive actions
147
+ - \`error\`: Destructive actions
148
+ - \`warning\`: Caution actions
149
+
150
+ ### Variants
151
+ Many components offer visual variants:
152
+ - Buttons: \`contained\`, \`outlined\`, \`text\`
153
+ - Cards: \`default\`, \`outlined\`, \`elevated\`, \`filled\`
154
+ - Chips: \`filled\`, \`outlined\`, \`soft\`
155
+
156
+ ### Sizes
157
+ Most components support size variants:
158
+ - \`small\`, \`medium\`, \`large\`
159
+
160
+ ## Icon Support
161
+
162
+ Components with icon support accept:
163
+ - **String icon names**: Material Design Icons
164
+ - **React elements**: Custom icon components
165
+
166
+ Example:
167
+ \`\`\`tsx
168
+ <Button icon="check">Save</Button>
169
+ <Button icon={<CustomIcon />}>Save</Button>
170
+ \`\`\`
171
+
172
+ ## Theming
173
+
174
+ All components use the Unistyles theming system:
175
+ - Light and dark mode support
176
+ - Customizable color palettes
177
+ - Responsive breakpoints
178
+ - Platform-specific styles
179
+
180
+ ## Import Pattern
181
+
182
+ \`\`\`tsx
183
+ import { Button, Card, Text, View } from '@idealyst/components';
184
+ \`\`\`
185
+ `,
186
+ "idealyst://framework/theming": `# Theming Guide
187
+
188
+ Idealyst uses react-native-unistyles for cross-platform theming with full TypeScript support.
189
+
190
+ ## Theme Structure
191
+
192
+ Themes are defined with:
193
+ - **Colors**: Text, surface, border, intent colors
194
+ - **Typography**: Font families, sizes, weights
195
+ - **Spacing**: Consistent spacing scale
196
+ - **Border Radius**: Rounded corner sizes
197
+ - **Breakpoints**: Responsive design breakpoints
198
+
199
+ ## Default Theme
200
+
201
+ \`\`\`typescript
202
+ {
203
+ colors: {
204
+ text: {
205
+ primary: '#000000',
206
+ secondary: '#666666',
207
+ inverse: '#FFFFFF',
208
+ disabled: '#999999',
209
+ },
210
+ surface: {
211
+ primary: '#FFFFFF',
212
+ secondary: '#F5F5F5',
213
+ tertiary: '#EEEEEE',
214
+ inverse: '#000000',
215
+ },
216
+ border: {
217
+ primary: '#E0E0E0',
218
+ secondary: '#CCCCCC',
219
+ },
220
+ },
221
+ intents: {
222
+ primary: {
223
+ main: '#3B82F6',
224
+ container: '#DBEAFE',
225
+ onContainer: '#1E40AF',
226
+ },
227
+ success: {
228
+ main: '#10B981',
229
+ container: '#D1FAE5',
230
+ onContainer: '#065F46',
231
+ },
232
+ error: {
233
+ main: '#EF4444',
234
+ container: '#FEE2E2',
235
+ onContainer: '#991B1B',
236
+ },
237
+ warning: {
238
+ main: '#F59E0B',
239
+ container: '#FEF3C7',
240
+ onContainer: '#92400E',
241
+ },
242
+ },
243
+ spacing: {
244
+ xs: 4,
245
+ sm: 8,
246
+ md: 16,
247
+ lg: 24,
248
+ xl: 32,
249
+ xxl: 48,
250
+ },
251
+ borderRadius: {
252
+ sm: 4,
253
+ md: 8,
254
+ lg: 12,
255
+ xl: 16,
256
+ },
257
+ typography: {
258
+ fontFamily: {
259
+ sans: 'System',
260
+ mono: 'Monospace',
261
+ },
262
+ fontSize: {
263
+ small: 12,
264
+ medium: 14,
265
+ large: 16,
266
+ xlarge: 20,
267
+ },
268
+ fontWeight: {
269
+ light: '300',
270
+ normal: '400',
271
+ medium: '500',
272
+ semibold: '600',
273
+ bold: '700',
274
+ },
275
+ },
276
+ }
277
+ \`\`\`
278
+
279
+ ## Custom Themes
280
+
281
+ Create custom themes in your app:
282
+
283
+ \`\`\`typescript
284
+ // theme.ts
285
+ export const customTheme = {
286
+ colors: {
287
+ // Override colors
288
+ text: {
289
+ primary: '#1A1A1A',
290
+ // ...
291
+ },
292
+ },
293
+ intents: {
294
+ primary: {
295
+ main: '#6366F1', // Custom brand color
296
+ // ...
297
+ },
298
+ },
299
+ // ... rest of theme
300
+ };
301
+ \`\`\`
302
+
303
+ ## Using Themes
304
+
305
+ \`\`\`typescript
306
+ import { UnistylesRegistry } from 'react-native-unistyles';
307
+ import { lightTheme, darkTheme } from './themes';
308
+
309
+ UnistylesRegistry
310
+ .addThemes({
311
+ light: lightTheme,
312
+ dark: darkTheme,
313
+ })
314
+ .addConfig({
315
+ initialTheme: 'light',
316
+ });
317
+ \`\`\`
318
+
319
+ ## Dark Mode
320
+
321
+ Toggle between themes:
322
+
323
+ \`\`\`typescript
324
+ import { useStyles } from 'react-native-unistyles';
325
+
326
+ function ThemeToggle() {
327
+ const { theme } = useStyles();
328
+
329
+ const toggleTheme = () => {
330
+ theme.setTheme(theme.name === 'light' ? 'dark' : 'light');
331
+ };
332
+
333
+ return <Button onPress={toggleTheme}>Toggle Theme</Button>;
334
+ }
335
+ \`\`\`
336
+
337
+ ## Responsive Design
338
+
339
+ Use breakpoints for responsive layouts:
340
+
341
+ \`\`\`typescript
342
+ const styles = StyleSheet.create(theme => ({
343
+ container: {
344
+ padding: theme.spacing.md,
345
+
346
+ variants: {
347
+ breakpoint: {
348
+ sm: { maxWidth: 640 },
349
+ md: { maxWidth: 768 },
350
+ lg: { maxWidth: 1024 },
351
+ },
352
+ },
353
+ },
354
+ }));
355
+ \`\`\`
356
+
357
+ ## Platform-Specific Styles
358
+
359
+ \`\`\`typescript
360
+ const styles = StyleSheet.create(theme => ({
361
+ button: {
362
+ padding: theme.spacing.md,
363
+
364
+ _web: {
365
+ cursor: 'pointer',
366
+ ':hover': {
367
+ backgroundColor: theme.colors.surface.secondary,
368
+ },
369
+ },
370
+
371
+ _native: {
372
+ elevation: 2,
373
+ },
374
+ },
375
+ }));
376
+ \`\`\`
377
+ `,
378
+ "idealyst://framework/cli": `# Idealyst CLI Reference
379
+
380
+ The Idealyst CLI provides commands for creating and managing Idealyst projects.
381
+
382
+ ## Installation
383
+
384
+ \`\`\`bash
385
+ npm install -g @idealyst/cli
386
+ # or
387
+ npx @idealyst/cli <command>
388
+ \`\`\`
389
+
390
+ ## Commands
391
+
392
+ ### init
393
+
394
+ Initialize a new Idealyst workspace.
395
+
396
+ \`\`\`bash
397
+ idealyst init <workspace-name> [options]
398
+ \`\`\`
399
+
400
+ **Arguments:**
401
+ - \`workspace-name\`: Name for the workspace directory
402
+
403
+ **Options:**
404
+ - \`--git\`: Initialize git repository (default: true)
405
+ - \`--no-git\`: Skip git initialization
406
+ - \`--install\`: Install dependencies (default: true)
407
+ - \`--no-install\`: Skip dependency installation
408
+
409
+ **Examples:**
410
+ \`\`\`bash
411
+ idealyst init my-app
412
+ idealyst init my-company-app --no-git
413
+ \`\`\`
414
+
415
+ **Creates:**
416
+ - Monorepo workspace structure
417
+ - package.json with workspaces
418
+ - TypeScript configuration
419
+ - Jest setup
420
+ - Git repository (optional)
421
+ - Dev container configuration
422
+
423
+ ### create
424
+
425
+ Create a new package in the workspace.
426
+
427
+ \`\`\`bash
428
+ idealyst create <name> --type <type> [options]
429
+ \`\`\`
430
+
431
+ **Arguments:**
432
+ - \`name\`: Package name
433
+
434
+ **Options:**
435
+ - \`--type <type>\`: Package type (required)
436
+ - \`web\`: React web app with Vite
437
+ - \`native\`: React Native app
438
+ - \`api\`: tRPC API server
439
+ - \`database\`: Prisma database layer
440
+ - \`shared\`: Shared utilities library
441
+ - \`--app-name <name>\`: Display name for native apps (required for native)
442
+ - \`--with-trpc\`: Include tRPC setup (web/native)
443
+ - \`--no-trpc\`: Exclude tRPC setup (web/native)
444
+
445
+ **Examples:**
446
+ \`\`\`bash
447
+ # Web app
448
+ idealyst create web --type web --with-trpc
449
+
450
+ # Native app
451
+ idealyst create mobile --type native --app-name "My App" --with-trpc
452
+
453
+ # API server
454
+ idealyst create api --type api
455
+
456
+ # Database
457
+ idealyst create database --type database
458
+
459
+ # Shared library
460
+ idealyst create shared --type shared
461
+ \`\`\`
462
+
463
+ ## Package Types
464
+
465
+ ### Web Package
466
+ - Vite + React 19
467
+ - TypeScript
468
+ - React Router
469
+ - Optional tRPC client
470
+ - @idealyst/components
471
+ - @idealyst/theme
472
+
473
+ ### Native Package
474
+ - React Native 0.80
475
+ - TypeScript
476
+ - React Navigation
477
+ - Optional tRPC client
478
+ - @idealyst/components
479
+ - @idealyst/navigation
480
+
481
+ ### API Package
482
+ - tRPC server
483
+ - Express
484
+ - TypeScript
485
+ - CORS enabled
486
+ - WebSocket support
487
+
488
+ ### Database Package
489
+ - Prisma ORM
490
+ - TypeScript
491
+ - Schema definition
492
+ - Migration support
493
+ - Multiple database support
494
+
495
+ ### Shared Package
496
+ - TypeScript library
497
+ - Utility functions
498
+ - Type definitions
499
+ - Shared between packages
500
+
501
+ ## Workspace Commands
502
+
503
+ Run these from workspace root:
504
+
505
+ \`\`\`bash
506
+ # Install all dependencies
507
+ yarn install
508
+
509
+ # Run tests
510
+ yarn test
511
+ yarn test:watch
512
+ yarn test:coverage
513
+
514
+ # Build all packages
515
+ yarn workspaces foreach run build
516
+
517
+ # Version management
518
+ yarn version:patch # Bump patch version
519
+ yarn version:minor # Bump minor version
520
+ yarn version:major # Bump major version
521
+
522
+ # Publish
523
+ yarn publish:all
524
+ \`\`\`
525
+
526
+ ## Package Commands
527
+
528
+ Run these from package directory:
529
+
530
+ \`\`\`bash
531
+ # Development
532
+ yarn dev
533
+
534
+ # Build
535
+ yarn build
536
+
537
+ # Test
538
+ yarn test
539
+
540
+ # Type check
541
+ yarn type-check
542
+
543
+ # Lint
544
+ yarn lint
545
+ \`\`\`
546
+
547
+ ## Project Structure
548
+
549
+ \`\`\`
550
+ workspace/
551
+ ├── packages/
552
+ │ ├── web/
553
+ │ │ ├── src/
554
+ │ │ ├── public/
555
+ │ │ ├── package.json
556
+ │ │ └── vite.config.ts
557
+ │ ├── mobile/
558
+ │ │ ├── src/
559
+ │ │ ├── android/
560
+ │ │ ├── ios/
561
+ │ │ └── package.json
562
+ │ ├── api/
563
+ │ │ ├── src/
564
+ │ │ ├── trpc/
565
+ │ │ └── package.json
566
+ │ ├── database/
567
+ │ │ ├── prisma/
568
+ │ │ └── package.json
569
+ │ └── shared/
570
+ │ ├── src/
571
+ │ └── package.json
572
+ ├── package.json
573
+ ├── tsconfig.json
574
+ └── jest.config.js
575
+ \`\`\`
576
+
577
+ ## Best Practices
578
+
579
+ 1. **Use workspaces**: Keep related packages in the same workspace
580
+ 2. **Share code**: Use the shared package for utilities
581
+ 3. **Type safety**: Enable strict TypeScript
582
+ 4. **Testing**: Write tests for critical functionality
583
+ 5. **Versioning**: Keep package versions synchronized
584
+ 6. **Documentation**: Add README files to packages
585
+ 7. **Git**: Use conventional commits
586
+ 8. **Dependencies**: Share dependencies across packages when possible
587
+ `,
588
+ };
589
+ //# sourceMappingURL=framework-guides.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework-guides.js","sourceRoot":"","sources":["../../src/data/framework-guides.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAA2B;IACrD,sCAAsC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFzC;IAEC,0CAA0C,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmG7C;IAEC,8BAA8B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+LjC;IAEC,0BAA0B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiN7B;CACA,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const iconGuide = "# Material Design Icons Reference\n\nIdealyst uses Material Design Icons (@mdi/react) with **7,447 icons** available.\n\n## Icon Usage\n\n### In Components\n\nIcons can be used by providing the icon name as a string:\n\n```tsx\nimport { Button, Icon, List, Badge } from '@idealyst/components';\n\n// Button with icon\n<Button icon=\"check\">Save</Button>\n\n// Standalone Icon\n<Icon name=\"home\" size=\"md\" color=\"primary\" />\n\n// List with icons\n<ListItem label=\"Settings\" leading=\"cog\" trailing=\"chevron-right\" />\n\n// Badge with icon\n<Badge icon=\"star\">Featured</Badge>\n```\n\n### Icon Properties\n\n```tsx\n<Icon\n name=\"home\" // Icon name (required)\n size=\"xs|sm|md|lg|xl|number\" // Icon size\n color=\"primary|secondary|...\" // Theme color\n/>\n```\n\n## Common Icons by Category\n\n### Navigation & Actions\n- **home** - Home/dashboard\n- **menu** - Hamburger menu\n- **arrow-left** - Back/previous\n- **arrow-right** - Forward/next\n- **chevron-left** - Small back arrow\n- **chevron-right** - Small forward arrow\n- **chevron-up** - Collapse/up\n- **chevron-down** - Expand/down\n- **close** - Close/dismiss\n- **check** - Confirm/success\n- **plus** - Add/create\n- **minus** - Remove/subtract\n- **delete** - Delete/trash\n- **dots-vertical** - More options (vertical)\n- **dots-horizontal** - More options (horizontal)\n\n### User & Account\n- **account** - User profile\n- **account-circle** - User avatar\n- **account-multiple** - Multiple users/team\n- **account-plus** - Add user\n- **account-minus** - Remove user\n- **account-edit** - Edit profile\n- **account-cog** - User settings\n- **login** - Login/sign in\n- **logout** - Logout/sign out\n- **account-key** - Authentication\n\n### Communication\n- **email** - Email/mail\n- **email-outline** - Email outline variant\n- **message** - Message/chat\n- **message-text** - Text message\n- **message-reply** - Reply to message\n- **phone** - Phone/call\n- **bell** - Notifications\n- **bell-outline** - Notifications outline\n- **comment** - Comment/feedback\n- **forum** - Discussion/forum\n\n### File & Document\n- **file** - Generic file\n- **file-document** - Document\n- **file-pdf** - PDF file\n- **file-image** - Image file\n- **folder** - Folder\n- **folder-open** - Open folder\n- **download** - Download\n- **upload** - Upload\n- **attachment** - Attach file\n- **cloud-upload** - Cloud upload\n- **cloud-download** - Cloud download\n\n### Media\n- **play** - Play media\n- **pause** - Pause media\n- **stop** - Stop media\n- **skip-next** - Next track\n- **skip-previous** - Previous track\n- **volume-high** - High volume\n- **volume-low** - Low volume\n- **volume-off** - Muted\n- **image** - Picture/photo\n- **camera** - Camera\n- **video** - Video\n\n### Edit & Create\n- **pencil** - Edit\n- **pencil-outline** - Edit outline\n- **content-save** - Save\n- **content-copy** - Copy\n- **content-cut** - Cut\n- **content-paste** - Paste\n- **undo** - Undo\n- **redo** - Redo\n- **format-bold** - Bold text\n- **format-italic** - Italic text\n- **format-underline** - Underline text\n\n### Status & Alerts\n- **check-circle** - Success\n- **check-circle-outline** - Success outline\n- **alert** - Warning\n- **alert-circle** - Alert circle\n- **alert-octagon** - Critical alert\n- **information** - Information\n- **information-outline** - Info outline\n- **help-circle** - Help/question\n- **close-circle** - Error\n- **clock** - Time/pending\n\n### UI Elements\n- **magnify** - Search\n- **filter** - Filter\n- **sort** - Sort\n- **tune** - Settings/adjust\n- **cog** - Settings\n- **palette** - Theme/colors\n- **eye** - View/visible\n- **eye-off** - Hidden\n- **heart** - Favorite/like\n- **heart-outline** - Like outline\n- **star** - Star/rating\n- **star-outline** - Star outline\n- **bookmark** - Bookmark\n- **bookmark-outline** - Bookmark outline\n\n### Shopping & Commerce\n- **cart** - Shopping cart\n- **cart-outline** - Cart outline\n- **cash** - Money/payment\n- **credit-card** - Credit card\n- **tag** - Tag/label\n- **sale** - Sale/discount\n- **receipt** - Receipt\n- **store** - Store/shop\n\n### Social\n- **share** - Share\n- **share-variant** - Share variant\n- **thumb-up** - Like/upvote\n- **thumb-down** - Dislike/downvote\n- **emoticon** - Emoji/mood\n- **emoticon-happy** - Happy\n- **emoticon-sad** - Sad\n\n### Location & Map\n- **map** - Map\n- **map-marker** - Location pin\n- **navigation** - Navigation\n- **compass** - Compass\n- **earth** - Globe/world\n\n### Calendar & Time\n- **calendar** - Calendar\n- **calendar-today** - Today\n- **calendar-month** - Month view\n- **clock-outline** - Clock\n- **timer** - Timer\n\n### Device & Hardware\n- **laptop** - Laptop\n- **cellphone** - Mobile phone\n- **tablet** - Tablet\n- **desktop-mac** - Desktop\n- **monitor** - Monitor\n- **printer** - Printer\n- **wifi** - WiFi\n- **bluetooth** - Bluetooth\n\n### Weather\n- **weather-sunny** - Sunny\n- **weather-cloudy** - Cloudy\n- **weather-rainy** - Rainy\n- **weather-snowy** - Snowy\n- **weather-night** - Night\n- **white-balance-sunny** - Light mode\n- **weather-night** - Dark mode\n\n## Finding Icons\n\n### Total Available Icons\n**7,447 icons** from Material Design Icons\n\n### Browse All Icons\nVisit: https://pictogrammers.com/library/mdi/\n\n### Search Patterns\nIcons follow naming patterns:\n- Base name: `home`, `account`, `file`\n- Variants: `-outline`, `-filled`, `-off`, `-plus`, `-minus`\n- Combinations: `account-plus`, `file-document-outline`\n\n### Common Suffixes\n- **-outline**: Outline version\n- **-off**: Disabled/off state\n- **-plus**: Add/create\n- **-minus**: Remove/subtract\n- **-edit**: Edit action\n- **-check**: Verified/checked\n- **-alert**: Warning state\n\n## Icon Naming Tips\n\n1. **Be Specific**: Use descriptive names\n - \u2705 `account-circle` for user avatar\n - \u274C `user` (not available)\n\n2. **Check Variants**: Try outline versions\n - `email` and `email-outline`\n - `heart` and `heart-outline`\n\n3. **Common Prefixes**:\n - `account-*`: User-related\n - `file-*`: File-related\n - `folder-*`: Folder-related\n - `arrow-*`: Arrows\n - `chevron-*`: Small arrows\n - `content-*`: Content actions\n\n4. **Use Hyphens**: Icon names use kebab-case\n - \u2705 `arrow-left`\n - \u274C `arrowLeft` or `arrow_left`\n\n## Best Practices\n\n1. **Semantic Meaning**: Choose icons that match their function\n2. **Consistency**: Use the same icon for the same action throughout the app\n3. **Size Appropriately**: Match icon size to context\n4. **Color Purposefully**: Use theme colors for semantic meaning\n5. **Accessibility**: Always provide labels/tooltips for icon-only buttons\n\n## Examples\n\n### Button Icons\n```tsx\n<Button icon=\"content-save\">Save</Button>\n<Button icon=\"delete\" intent=\"error\">Delete</Button>\n<Button icon=\"pencil\">Edit</Button>\n<Button icon=\"plus\">Add New</Button>\n```\n\n### List Icons\n```tsx\n<ListItem label=\"Dashboard\" leading=\"view-dashboard\" />\n<ListItem label=\"Users\" leading=\"account-multiple\" />\n<ListItem label=\"Settings\" leading=\"cog\" />\n<ListItem label=\"Logout\" leading=\"logout\" intent=\"error\" />\n```\n\n### Navigation Icons\n```tsx\n<Button icon=\"arrow-left\" variant=\"text\">Back</Button>\n<Button icon=\"menu\" variant=\"text\">Menu</Button>\n<Button icon=\"close\" variant=\"text\">Close</Button>\n```\n\n### Status Icons\n```tsx\n<Icon name=\"check-circle\" color=\"success\" />\n<Icon name=\"alert-circle\" color=\"warning\" />\n<Icon name=\"close-circle\" color=\"error\" />\n<Icon name=\"information-outline\" color=\"primary\" />\n```\n";
2
+ //# sourceMappingURL=icon-guide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-guide.d.ts","sourceRoot":"","sources":["../../src/data/icon-guide.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,8+OA2RrB,CAAC"}