@idealyst/mcp-server 1.0.86 → 1.0.88
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/ARCHITECTURE.md +313 -0
- package/README.md +292 -104
- package/TYPE-SYSTEM.md +397 -0
- package/dist/index.js +170 -1
- package/examples/components/Accordion.examples.tsx +147 -0
- package/examples/components/ActivityIndicator.examples.tsx +350 -0
- package/examples/components/Alert.examples.tsx +335 -0
- package/examples/components/Avatar.examples.tsx +188 -0
- package/examples/components/Badge.examples.tsx +242 -0
- package/examples/components/Breadcrumb.examples.tsx +303 -0
- package/examples/components/Button.examples.tsx +113 -0
- package/examples/components/Card.examples.tsx +131 -0
- package/examples/components/Checkbox.examples.tsx +195 -0
- package/examples/components/Chip.examples.tsx +87 -0
- package/examples/components/Dialog.examples.tsx +344 -0
- package/examples/components/Divider.examples.tsx +258 -0
- package/examples/components/Icon.examples.tsx +202 -0
- package/examples/components/Input.examples.tsx +205 -0
- package/examples/components/Menu.examples.tsx +321 -0
- package/examples/components/Popover.examples.tsx +439 -0
- package/examples/components/Progress.examples.tsx +340 -0
- package/examples/components/RadioButton.examples.tsx +443 -0
- package/examples/components/Screen.examples.tsx +347 -0
- package/examples/components/Select.examples.tsx +279 -0
- package/examples/components/Skeleton.examples.tsx +278 -0
- package/examples/components/Slider.examples.tsx +249 -0
- package/examples/components/Switch.examples.tsx +94 -0
- package/examples/components/TabBar.examples.tsx +356 -0
- package/examples/components/Text.examples.tsx +177 -0
- package/examples/components/TextArea.examples.tsx +203 -0
- package/examples/components/Tooltip.examples.tsx +318 -0
- package/examples/components/View.examples.tsx +307 -0
- package/package.json +15 -2
- package/scripts/extract-types.ts +71 -0
- package/scripts/type-extractor.ts +286 -0
- package/scripts/validate-examples.ts +142 -0
- package/src/data/components/Icon.ts +1 -1
- package/src/data/components/index.ts +2 -0
- package/src/index.ts +181 -1
- package/src/tools/get-types.ts +169 -0
- package/tsconfig.examples.json +14 -0
- package/dist/data/cli-commands.d.ts +0 -2
- package/dist/data/cli-commands.d.ts.map +0 -1
- package/dist/data/cli-commands.js +0 -100
- package/dist/data/cli-commands.js.map +0 -1
- package/dist/data/components/Accordion.d.ts +0 -15
- package/dist/data/components/Accordion.d.ts.map +0 -1
- package/dist/data/components/Accordion.js +0 -112
- package/dist/data/components/Accordion.js.map +0 -1
- package/dist/data/components/ActivityIndicator.d.ts +0 -15
- package/dist/data/components/ActivityIndicator.d.ts.map +0 -1
- package/dist/data/components/ActivityIndicator.js +0 -82
- package/dist/data/components/ActivityIndicator.js.map +0 -1
- package/dist/data/components/Alert.d.ts +0 -15
- package/dist/data/components/Alert.d.ts.map +0 -1
- package/dist/data/components/Alert.js +0 -132
- package/dist/data/components/Alert.js.map +0 -1
- package/dist/data/components/Avatar.d.ts +0 -15
- package/dist/data/components/Avatar.d.ts.map +0 -1
- package/dist/data/components/Avatar.js +0 -93
- package/dist/data/components/Avatar.js.map +0 -1
- package/dist/data/components/Badge.d.ts +0 -15
- package/dist/data/components/Badge.d.ts.map +0 -1
- package/dist/data/components/Badge.js +0 -64
- package/dist/data/components/Badge.js.map +0 -1
- package/dist/data/components/Breadcrumb.d.ts +0 -15
- package/dist/data/components/Breadcrumb.d.ts.map +0 -1
- package/dist/data/components/Breadcrumb.js +0 -96
- package/dist/data/components/Breadcrumb.js.map +0 -1
- package/dist/data/components/Button.d.ts +0 -15
- package/dist/data/components/Button.d.ts.map +0 -1
- package/dist/data/components/Button.js +0 -87
- package/dist/data/components/Button.js.map +0 -1
- package/dist/data/components/Card.d.ts +0 -15
- package/dist/data/components/Card.d.ts.map +0 -1
- package/dist/data/components/Card.js +0 -67
- package/dist/data/components/Card.js.map +0 -1
- package/dist/data/components/Checkbox.d.ts +0 -15
- package/dist/data/components/Checkbox.d.ts.map +0 -1
- package/dist/data/components/Checkbox.js +0 -118
- package/dist/data/components/Checkbox.js.map +0 -1
- package/dist/data/components/Chip.d.ts +0 -15
- package/dist/data/components/Chip.d.ts.map +0 -1
- package/dist/data/components/Chip.js +0 -76
- package/dist/data/components/Chip.js.map +0 -1
- package/dist/data/components/Dialog.d.ts +0 -15
- package/dist/data/components/Dialog.d.ts.map +0 -1
- package/dist/data/components/Dialog.js +0 -137
- package/dist/data/components/Dialog.js.map +0 -1
- package/dist/data/components/Divider.d.ts +0 -15
- package/dist/data/components/Divider.d.ts.map +0 -1
- package/dist/data/components/Divider.js +0 -71
- package/dist/data/components/Divider.js.map +0 -1
- package/dist/data/components/Icon.d.ts +0 -15
- package/dist/data/components/Icon.d.ts.map +0 -1
- package/dist/data/components/Icon.js +0 -70
- package/dist/data/components/Icon.js.map +0 -1
- package/dist/data/components/Image.d.ts +0 -15
- package/dist/data/components/Image.d.ts.map +0 -1
- package/dist/data/components/Image.js +0 -122
- package/dist/data/components/Image.js.map +0 -1
- package/dist/data/components/Input.d.ts +0 -15
- package/dist/data/components/Input.d.ts.map +0 -1
- package/dist/data/components/Input.js +0 -109
- package/dist/data/components/Input.js.map +0 -1
- package/dist/data/components/List.d.ts +0 -15
- package/dist/data/components/List.d.ts.map +0 -1
- package/dist/data/components/List.js +0 -113
- package/dist/data/components/List.js.map +0 -1
- package/dist/data/components/Menu.d.ts +0 -15
- package/dist/data/components/Menu.d.ts.map +0 -1
- package/dist/data/components/Menu.js +0 -132
- package/dist/data/components/Menu.js.map +0 -1
- package/dist/data/components/Popover.d.ts +0 -15
- package/dist/data/components/Popover.d.ts.map +0 -1
- package/dist/data/components/Popover.js +0 -159
- package/dist/data/components/Popover.js.map +0 -1
- package/dist/data/components/Pressable.d.ts +0 -15
- package/dist/data/components/Pressable.d.ts.map +0 -1
- package/dist/data/components/Pressable.js +0 -125
- package/dist/data/components/Pressable.js.map +0 -1
- package/dist/data/components/Progress.d.ts +0 -15
- package/dist/data/components/Progress.d.ts.map +0 -1
- package/dist/data/components/Progress.js +0 -95
- package/dist/data/components/Progress.js.map +0 -1
- package/dist/data/components/RadioButton.d.ts +0 -15
- package/dist/data/components/RadioButton.d.ts.map +0 -1
- package/dist/data/components/RadioButton.js +0 -140
- package/dist/data/components/RadioButton.js.map +0 -1
- package/dist/data/components/SVGImage.d.ts +0 -15
- package/dist/data/components/SVGImage.d.ts.map +0 -1
- package/dist/data/components/SVGImage.js +0 -112
- package/dist/data/components/SVGImage.js.map +0 -1
- package/dist/data/components/Screen.d.ts +0 -15
- package/dist/data/components/Screen.d.ts.map +0 -1
- package/dist/data/components/Screen.js +0 -99
- package/dist/data/components/Screen.js.map +0 -1
- package/dist/data/components/Select.d.ts +0 -15
- package/dist/data/components/Select.d.ts.map +0 -1
- package/dist/data/components/Select.js +0 -146
- package/dist/data/components/Select.js.map +0 -1
- package/dist/data/components/Skeleton.d.ts +0 -15
- package/dist/data/components/Skeleton.d.ts.map +0 -1
- package/dist/data/components/Skeleton.js +0 -110
- package/dist/data/components/Skeleton.js.map +0 -1
- package/dist/data/components/Slider.d.ts +0 -15
- package/dist/data/components/Slider.d.ts.map +0 -1
- package/dist/data/components/Slider.js +0 -129
- package/dist/data/components/Slider.js.map +0 -1
- package/dist/data/components/Switch.d.ts +0 -15
- package/dist/data/components/Switch.d.ts.map +0 -1
- package/dist/data/components/Switch.js +0 -127
- package/dist/data/components/Switch.js.map +0 -1
- package/dist/data/components/TabBar.d.ts +0 -15
- package/dist/data/components/TabBar.d.ts.map +0 -1
- package/dist/data/components/TabBar.js +0 -145
- package/dist/data/components/TabBar.js.map +0 -1
- package/dist/data/components/Table.d.ts +0 -15
- package/dist/data/components/Table.d.ts.map +0 -1
- package/dist/data/components/Table.js +0 -151
- package/dist/data/components/Table.js.map +0 -1
- package/dist/data/components/Tabs.d.ts +0 -15
- package/dist/data/components/Tabs.d.ts.map +0 -1
- package/dist/data/components/Tabs.js +0 -150
- package/dist/data/components/Tabs.js.map +0 -1
- package/dist/data/components/Text.d.ts +0 -15
- package/dist/data/components/Text.d.ts.map +0 -1
- package/dist/data/components/Text.js +0 -85
- package/dist/data/components/Text.js.map +0 -1
- package/dist/data/components/TextArea.d.ts +0 -15
- package/dist/data/components/TextArea.d.ts.map +0 -1
- package/dist/data/components/TextArea.js +0 -155
- package/dist/data/components/TextArea.js.map +0 -1
- package/dist/data/components/Tooltip.d.ts +0 -15
- package/dist/data/components/Tooltip.d.ts.map +0 -1
- package/dist/data/components/Tooltip.js +0 -105
- package/dist/data/components/Tooltip.js.map +0 -1
- package/dist/data/components/Video.d.ts +0 -15
- package/dist/data/components/Video.d.ts.map +0 -1
- package/dist/data/components/Video.js +0 -168
- package/dist/data/components/Video.js.map +0 -1
- package/dist/data/components/View.d.ts +0 -15
- package/dist/data/components/View.d.ts.map +0 -1
- package/dist/data/components/View.js +0 -126
- package/dist/data/components/View.js.map +0 -1
- package/dist/data/components/index.d.ts +0 -37
- package/dist/data/components/index.d.ts.map +0 -1
- package/dist/data/components/index.js +0 -110
- package/dist/data/components/index.js.map +0 -1
- package/dist/data/framework-guides.d.ts +0 -2
- package/dist/data/framework-guides.d.ts.map +0 -1
- package/dist/data/framework-guides.js +0 -589
- package/dist/data/framework-guides.js.map +0 -1
- package/dist/data/icon-guide.d.ts +0 -2
- package/dist/data/icon-guide.d.ts.map +0 -1
- package/dist/data/icon-guide.js +0 -285
- package/dist/data/icon-guide.js.map +0 -1
- package/dist/data/icons.json +0 -7452
- package/dist/data/navigation-guides.d.ts +0 -2
- package/dist/data/navigation-guides.d.ts.map +0 -1
- package/dist/data/navigation-guides.js +0 -1196
- package/dist/data/navigation-guides.js.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
// Component documentation exports
|
|
2
|
-
export { Accordion } from './Accordion.js';
|
|
3
|
-
export { ActivityIndicator } from './ActivityIndicator.js';
|
|
4
|
-
export { Alert } from './Alert.js';
|
|
5
|
-
export { Avatar } from './Avatar.js';
|
|
6
|
-
export { Badge } from './Badge.js';
|
|
7
|
-
export { Breadcrumb } from './Breadcrumb.js';
|
|
8
|
-
export { Button } from './Button.js';
|
|
9
|
-
export { Card } from './Card.js';
|
|
10
|
-
export { Checkbox } from './Checkbox.js';
|
|
11
|
-
export { Chip } from './Chip.js';
|
|
12
|
-
export { Dialog } from './Dialog.js';
|
|
13
|
-
export { Divider } from './Divider.js';
|
|
14
|
-
export { Icon } from './Icon.js';
|
|
15
|
-
export { Image } from './Image.js';
|
|
16
|
-
export { Input } from './Input.js';
|
|
17
|
-
export { List } from './List.js';
|
|
18
|
-
export { Menu } from './Menu.js';
|
|
19
|
-
export { Popover } from './Popover.js';
|
|
20
|
-
export { Pressable } from './Pressable.js';
|
|
21
|
-
export { Progress } from './Progress.js';
|
|
22
|
-
export { RadioButton } from './RadioButton.js';
|
|
23
|
-
export { Screen } from './Screen.js';
|
|
24
|
-
export { Select } from './Select.js';
|
|
25
|
-
export { Skeleton } from './Skeleton.js';
|
|
26
|
-
export { Slider } from './Slider.js';
|
|
27
|
-
export { SVGImage } from './SVGImage.js';
|
|
28
|
-
export { Switch } from './Switch.js';
|
|
29
|
-
export { TabBar } from './TabBar.js';
|
|
30
|
-
export { Table } from './Table.js';
|
|
31
|
-
export { Tabs } from './Tabs.js';
|
|
32
|
-
export { Text } from './Text.js';
|
|
33
|
-
export { TextArea } from './TextArea.js';
|
|
34
|
-
export { Tooltip } from './Tooltip.js';
|
|
35
|
-
export { Video } from './Video.js';
|
|
36
|
-
export { View } from './View.js';
|
|
37
|
-
// Collect all components into a single object
|
|
38
|
-
import { Accordion } from './Accordion.js';
|
|
39
|
-
import { ActivityIndicator } from './ActivityIndicator.js';
|
|
40
|
-
import { Alert } from './Alert.js';
|
|
41
|
-
import { Avatar } from './Avatar.js';
|
|
42
|
-
import { Badge } from './Badge.js';
|
|
43
|
-
import { Breadcrumb } from './Breadcrumb.js';
|
|
44
|
-
import { Button } from './Button.js';
|
|
45
|
-
import { Card } from './Card.js';
|
|
46
|
-
import { Checkbox } from './Checkbox.js';
|
|
47
|
-
import { Chip } from './Chip.js';
|
|
48
|
-
import { Dialog } from './Dialog.js';
|
|
49
|
-
import { Divider } from './Divider.js';
|
|
50
|
-
import { Icon } from './Icon.js';
|
|
51
|
-
import { Image } from './Image.js';
|
|
52
|
-
import { Input } from './Input.js';
|
|
53
|
-
import { List } from './List.js';
|
|
54
|
-
import { Menu } from './Menu.js';
|
|
55
|
-
import { Popover } from './Popover.js';
|
|
56
|
-
import { Pressable } from './Pressable.js';
|
|
57
|
-
import { Progress } from './Progress.js';
|
|
58
|
-
import { RadioButton } from './RadioButton.js';
|
|
59
|
-
import { Screen } from './Screen.js';
|
|
60
|
-
import { Select } from './Select.js';
|
|
61
|
-
import { Skeleton } from './Skeleton.js';
|
|
62
|
-
import { Slider } from './Slider.js';
|
|
63
|
-
import { SVGImage } from './SVGImage.js';
|
|
64
|
-
import { Switch } from './Switch.js';
|
|
65
|
-
import { TabBar } from './TabBar.js';
|
|
66
|
-
import { Table } from './Table.js';
|
|
67
|
-
import { Tabs } from './Tabs.js';
|
|
68
|
-
import { Text } from './Text.js';
|
|
69
|
-
import { TextArea } from './TextArea.js';
|
|
70
|
-
import { Tooltip } from './Tooltip.js';
|
|
71
|
-
import { Video } from './Video.js';
|
|
72
|
-
import { View } from './View.js';
|
|
73
|
-
export const components = {
|
|
74
|
-
Accordion,
|
|
75
|
-
ActivityIndicator,
|
|
76
|
-
Alert,
|
|
77
|
-
Avatar,
|
|
78
|
-
Badge,
|
|
79
|
-
Breadcrumb,
|
|
80
|
-
Button,
|
|
81
|
-
Card,
|
|
82
|
-
Checkbox,
|
|
83
|
-
Chip,
|
|
84
|
-
Dialog,
|
|
85
|
-
Divider,
|
|
86
|
-
Icon,
|
|
87
|
-
Image,
|
|
88
|
-
Input,
|
|
89
|
-
List,
|
|
90
|
-
Menu,
|
|
91
|
-
Popover,
|
|
92
|
-
Pressable,
|
|
93
|
-
Progress,
|
|
94
|
-
RadioButton,
|
|
95
|
-
Screen,
|
|
96
|
-
Select,
|
|
97
|
-
Skeleton,
|
|
98
|
-
Slider,
|
|
99
|
-
SVGImage,
|
|
100
|
-
Switch,
|
|
101
|
-
TabBar,
|
|
102
|
-
Table,
|
|
103
|
-
Tabs,
|
|
104
|
-
Text,
|
|
105
|
-
TextArea,
|
|
106
|
-
Tooltip,
|
|
107
|
-
Video,
|
|
108
|
-
View,
|
|
109
|
-
};
|
|
110
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/components/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"framework-guides.d.ts","sourceRoot":"","sources":["../../src/data/framework-guides.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA8kBlD,CAAC"}
|
|
@@ -1,589 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|