@idealyst/mcp-server 1.0.93 → 1.0.95
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/dist/data/cli-commands.d.ts +2 -0
- package/dist/data/cli-commands.d.ts.map +1 -0
- package/dist/data/cli-commands.js +100 -0
- package/dist/data/cli-commands.js.map +1 -0
- package/dist/data/components/Accordion.d.ts +15 -0
- package/dist/data/components/Accordion.d.ts.map +1 -0
- package/{src/data/components/Accordion.ts → dist/data/components/Accordion.js} +26 -28
- package/dist/data/components/Accordion.js.map +1 -0
- package/dist/data/components/ActivityIndicator.d.ts +15 -0
- package/dist/data/components/ActivityIndicator.d.ts.map +1 -0
- package/{src/data/components/ActivityIndicator.ts → dist/data/components/ActivityIndicator.js} +26 -28
- package/dist/data/components/ActivityIndicator.js.map +1 -0
- package/dist/data/components/Alert.d.ts +15 -0
- package/dist/data/components/Alert.d.ts.map +1 -0
- package/{src/data/components/Alert.ts → dist/data/components/Alert.js} +28 -30
- package/dist/data/components/Alert.js.map +1 -0
- package/dist/data/components/Avatar.d.ts +15 -0
- package/dist/data/components/Avatar.d.ts.map +1 -0
- package/{src/data/components/Avatar.ts → dist/data/components/Avatar.js} +26 -28
- package/dist/data/components/Avatar.js.map +1 -0
- package/dist/data/components/Badge.d.ts +15 -0
- package/dist/data/components/Badge.d.ts.map +1 -0
- package/{src/data/components/Badge.ts → dist/data/components/Badge.js} +16 -15
- package/dist/data/components/Badge.js.map +1 -0
- package/dist/data/components/Breadcrumb.d.ts +15 -0
- package/dist/data/components/Breadcrumb.d.ts.map +1 -0
- package/{src/data/components/Breadcrumb.ts → dist/data/components/Breadcrumb.js} +27 -29
- package/dist/data/components/Breadcrumb.js.map +1 -0
- package/dist/data/components/Button.d.ts +15 -0
- package/dist/data/components/Button.d.ts.map +1 -0
- package/{src/data/components/Button.ts → dist/data/components/Button.js} +18 -17
- package/dist/data/components/Button.js.map +1 -0
- package/dist/data/components/Card.d.ts +15 -0
- package/dist/data/components/Card.d.ts.map +1 -0
- package/{src/data/components/Card.ts → dist/data/components/Card.js} +16 -15
- package/dist/data/components/Card.js.map +1 -0
- package/dist/data/components/Checkbox.d.ts +15 -0
- package/dist/data/components/Checkbox.d.ts.map +1 -0
- package/{src/data/components/Checkbox.ts → dist/data/components/Checkbox.js} +27 -29
- package/dist/data/components/Checkbox.js.map +1 -0
- package/dist/data/components/Chip.d.ts +15 -0
- package/dist/data/components/Chip.d.ts.map +1 -0
- package/{src/data/components/Chip.ts → dist/data/components/Chip.js} +19 -18
- package/dist/data/components/Chip.js.map +1 -0
- package/dist/data/components/Dialog.d.ts +15 -0
- package/dist/data/components/Dialog.d.ts.map +1 -0
- package/{src/data/components/Dialog.ts → dist/data/components/Dialog.js} +18 -17
- package/dist/data/components/Dialog.js.map +1 -0
- package/dist/data/components/Divider.d.ts +15 -0
- package/dist/data/components/Divider.d.ts.map +1 -0
- package/{src/data/components/Divider.ts → dist/data/components/Divider.js} +26 -28
- package/dist/data/components/Divider.js.map +1 -0
- package/dist/data/components/Icon.d.ts +15 -0
- package/dist/data/components/Icon.d.ts.map +1 -0
- package/{src/data/components/Icon.ts → dist/data/components/Icon.js} +26 -28
- package/dist/data/components/Icon.js.map +1 -0
- package/dist/data/components/Image.d.ts +15 -0
- package/dist/data/components/Image.d.ts.map +1 -0
- package/{src/data/components/Image.ts → dist/data/components/Image.js} +29 -31
- package/dist/data/components/Image.js.map +1 -0
- package/dist/data/components/Input.d.ts +15 -0
- package/dist/data/components/Input.d.ts.map +1 -0
- package/{src/data/components/Input.ts → dist/data/components/Input.js} +20 -19
- package/dist/data/components/Input.js.map +1 -0
- package/dist/data/components/Link.d.ts +15 -0
- package/dist/data/components/Link.d.ts.map +1 -0
- package/dist/data/components/Link.js +142 -0
- package/dist/data/components/Link.js.map +1 -0
- package/dist/data/components/List.d.ts +15 -0
- package/dist/data/components/List.d.ts.map +1 -0
- package/{src/data/components/List.ts → dist/data/components/List.js} +18 -17
- package/dist/data/components/List.js.map +1 -0
- package/dist/data/components/Menu.d.ts +15 -0
- package/dist/data/components/Menu.d.ts.map +1 -0
- package/{src/data/components/Menu.ts → dist/data/components/Menu.js} +27 -29
- package/dist/data/components/Menu.js.map +1 -0
- package/dist/data/components/Popover.d.ts +15 -0
- package/dist/data/components/Popover.d.ts.map +1 -0
- package/{src/data/components/Popover.ts → dist/data/components/Popover.js} +28 -30
- package/dist/data/components/Popover.js.map +1 -0
- package/dist/data/components/Pressable.d.ts +15 -0
- package/dist/data/components/Pressable.d.ts.map +1 -0
- package/{src/data/components/Pressable.ts → dist/data/components/Pressable.js} +27 -29
- package/dist/data/components/Pressable.js.map +1 -0
- package/dist/data/components/Progress.d.ts +15 -0
- package/dist/data/components/Progress.d.ts.map +1 -0
- package/{src/data/components/Progress.ts → dist/data/components/Progress.js} +27 -29
- package/dist/data/components/Progress.js.map +1 -0
- package/dist/data/components/RadioButton.d.ts +15 -0
- package/dist/data/components/RadioButton.d.ts.map +1 -0
- package/{src/data/components/RadioButton.ts → dist/data/components/RadioButton.js} +28 -30
- package/dist/data/components/RadioButton.js.map +1 -0
- package/dist/data/components/SVGImage.d.ts +15 -0
- package/dist/data/components/SVGImage.d.ts.map +1 -0
- package/{src/data/components/SVGImage.ts → dist/data/components/SVGImage.js} +27 -29
- package/dist/data/components/SVGImage.js.map +1 -0
- package/dist/data/components/Screen.d.ts +15 -0
- package/dist/data/components/Screen.d.ts.map +1 -0
- package/{src/data/components/Screen.ts → dist/data/components/Screen.js} +27 -29
- package/dist/data/components/Screen.js.map +1 -0
- package/dist/data/components/Select.d.ts +15 -0
- package/dist/data/components/Select.d.ts.map +1 -0
- package/{src/data/components/Select.ts → dist/data/components/Select.js} +30 -32
- package/dist/data/components/Select.js.map +1 -0
- package/dist/data/components/Skeleton.d.ts +15 -0
- package/dist/data/components/Skeleton.d.ts.map +1 -0
- package/{src/data/components/Skeleton.ts → dist/data/components/Skeleton.js} +27 -29
- package/dist/data/components/Skeleton.js.map +1 -0
- package/dist/data/components/Slider.d.ts +15 -0
- package/dist/data/components/Slider.d.ts.map +1 -0
- package/{src/data/components/Slider.ts → dist/data/components/Slider.js} +31 -33
- package/dist/data/components/Slider.js.map +1 -0
- package/dist/data/components/Switch.d.ts +15 -0
- package/dist/data/components/Switch.d.ts.map +1 -0
- package/{src/data/components/Switch.ts → dist/data/components/Switch.js} +28 -30
- package/dist/data/components/Switch.js.map +1 -0
- package/dist/data/components/TabBar.d.ts +15 -0
- package/dist/data/components/TabBar.d.ts.map +1 -0
- package/{src/data/components/TabBar.ts → dist/data/components/TabBar.js} +27 -29
- package/dist/data/components/TabBar.js.map +1 -0
- package/dist/data/components/Table.d.ts +15 -0
- package/dist/data/components/Table.d.ts.map +1 -0
- package/{src/data/components/Table.ts → dist/data/components/Table.js} +29 -31
- package/dist/data/components/Table.js.map +1 -0
- package/dist/data/components/Tabs.d.ts +15 -0
- package/dist/data/components/Tabs.d.ts.map +1 -0
- package/{src/data/components/Tabs.ts → dist/data/components/Tabs.js} +28 -30
- package/dist/data/components/Tabs.js.map +1 -0
- package/dist/data/components/Text.d.ts +15 -0
- package/dist/data/components/Text.d.ts.map +1 -0
- package/{src/data/components/Text.ts → dist/data/components/Text.js} +27 -29
- package/dist/data/components/Text.js.map +1 -0
- package/dist/data/components/TextArea.d.ts +15 -0
- package/dist/data/components/TextArea.d.ts.map +1 -0
- package/{src/data/components/TextArea.ts → dist/data/components/TextArea.js} +31 -33
- package/dist/data/components/TextArea.js.map +1 -0
- package/dist/data/components/Tooltip.d.ts +15 -0
- package/dist/data/components/Tooltip.d.ts.map +1 -0
- package/{src/data/components/Tooltip.ts → dist/data/components/Tooltip.js} +28 -30
- package/dist/data/components/Tooltip.js.map +1 -0
- package/dist/data/components/Video.d.ts +15 -0
- package/dist/data/components/Video.d.ts.map +1 -0
- package/{src/data/components/Video.ts → dist/data/components/Video.js} +31 -33
- package/dist/data/components/Video.js.map +1 -0
- package/dist/data/components/View.d.ts +15 -0
- package/dist/data/components/View.d.ts.map +1 -0
- package/{src/data/components/View.ts → dist/data/components/View.js} +28 -30
- package/dist/data/components/View.js.map +1 -0
- package/dist/data/components/index.d.ts +38 -0
- package/dist/data/components/index.d.ts.map +1 -0
- package/{src/data/components/index.ts → dist/data/components/index.js} +40 -38
- package/dist/data/components/index.js.map +1 -0
- package/dist/data/framework-guides.d.ts +2 -0
- package/dist/data/framework-guides.d.ts.map +1 -0
- package/{src/data/framework-guides.ts → dist/data/framework-guides.js} +8 -12
- package/dist/data/framework-guides.js.map +1 -0
- package/dist/data/icon-guide.d.ts +2 -0
- package/dist/data/icon-guide.d.ts.map +1 -0
- package/{src/data/icon-guide.ts → dist/data/icon-guide.js} +1 -0
- package/dist/data/icon-guide.js.map +1 -0
- package/dist/data/icons.json +7452 -0
- package/dist/data/navigation-guides.d.ts +2 -0
- package/dist/data/navigation-guides.d.ts.map +1 -0
- package/{src/data/navigation-guides.ts → dist/data/navigation-guides.js} +7 -10
- package/dist/data/navigation-guides.js.map +1 -0
- package/dist/generated/types.json +2556 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -0
- package/dist/tools/get-types.d.ts +26 -0
- package/dist/tools/get-types.d.ts.map +1 -0
- package/dist/tools/get-types.js +123 -0
- package/dist/tools/get-types.js.map +1 -0
- package/package.json +9 -4
- package/ARCHITECTURE.md +0 -313
- package/TYPE-SYSTEM.md +0 -397
- package/scripts/extract-types.ts +0 -71
- package/scripts/type-extractor.ts +0 -286
- package/scripts/validate-examples.ts +0 -142
- package/src/data/cli-commands.ts +0 -103
- package/src/data/icons.json +0 -7452
- package/src/index.ts +0 -653
- package/src/tools/get-types.ts +0 -169
- package/test-client.js +0 -86
- package/tsconfig.examples.json +0 -14
- package/tsconfig.json +0 -20
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const View = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
category: "layout",
|
|
3
|
+
description: "Container component with spacing, padding, and background variants",
|
|
4
|
+
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - The content to display inside the view
|
|
6
6
|
- \`spacing\`: ViewSpacingVariant - Padding/spacing variant
|
|
7
7
|
- \`marginVariant\`: ViewSpacingVariant - Margin variant
|
|
@@ -15,24 +15,24 @@ export const View = {
|
|
|
15
15
|
- \`borderWidth\`: number - Custom border width (overrides border variant)
|
|
16
16
|
- \`borderColor\`: string - Custom border color
|
|
17
17
|
`,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
18
|
+
features: [
|
|
19
|
+
"Automatic gap spacing between children",
|
|
20
|
+
"Six spacing/margin variants",
|
|
21
|
+
"Four background variants",
|
|
22
|
+
"Six border radius variants",
|
|
23
|
+
"Border support",
|
|
24
|
+
"Custom overrides for all variants",
|
|
25
|
+
"Flexbox-based layout",
|
|
26
|
+
],
|
|
27
|
+
bestPractices: [
|
|
28
|
+
"Use View for all layout containers",
|
|
29
|
+
"Use spacing prop for consistent gaps",
|
|
30
|
+
"Prefer variants over custom values",
|
|
31
|
+
"Use 'md' spacing for standard layouts",
|
|
32
|
+
"Combine with Screen for full-screen layouts",
|
|
33
|
+
"Use background variants for semantic colors",
|
|
34
|
+
],
|
|
35
|
+
usage: `
|
|
36
36
|
import { View, Text, Button } from '@idealyst/components';
|
|
37
37
|
|
|
38
38
|
<View spacing="md" background="surface" radius="md" style={{ padding: 16 }}>
|
|
@@ -41,16 +41,15 @@ import { View, Text, Button } from '@idealyst/components';
|
|
|
41
41
|
<Button>Action</Button>
|
|
42
42
|
</View>
|
|
43
43
|
`,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
examples: {
|
|
45
|
+
basic: `import { View, Text } from '@idealyst/components';
|
|
46
46
|
|
|
47
47
|
<View spacing="md">
|
|
48
48
|
<Text>Item 1</Text>
|
|
49
49
|
<Text>Item 2</Text>
|
|
50
50
|
<Text>Item 3</Text>
|
|
51
51
|
</View>`,
|
|
52
|
-
|
|
53
|
-
variants: `import { View, Text } from '@idealyst/components';
|
|
52
|
+
variants: `import { View, Text } from '@idealyst/components';
|
|
54
53
|
|
|
55
54
|
<View spacing="lg">
|
|
56
55
|
<View spacing="xs" background="surface" radius="sm" style={{ padding: 12 }}>
|
|
@@ -68,8 +67,7 @@ import { View, Text, Button } from '@idealyst/components';
|
|
|
68
67
|
<Text>Second item</Text>
|
|
69
68
|
</View>
|
|
70
69
|
</View>`,
|
|
71
|
-
|
|
72
|
-
"with-icons": `import { View, Icon, Text } from '@idealyst/components';
|
|
70
|
+
"with-icons": `import { View, Icon, Text } from '@idealyst/components';
|
|
73
71
|
|
|
74
72
|
<View
|
|
75
73
|
spacing="sm"
|
|
@@ -86,8 +84,7 @@ import { View, Text, Button } from '@idealyst/components';
|
|
|
86
84
|
</View>
|
|
87
85
|
</View>
|
|
88
86
|
</View>`,
|
|
89
|
-
|
|
90
|
-
interactive: `import { View, Text, Button, Card } from '@idealyst/components';
|
|
87
|
+
interactive: `import { View, Text, Button, Card } from '@idealyst/components';
|
|
91
88
|
import { useState } from 'react';
|
|
92
89
|
|
|
93
90
|
function Example() {
|
|
@@ -122,5 +119,6 @@ function Example() {
|
|
|
122
119
|
</View>
|
|
123
120
|
);
|
|
124
121
|
}`,
|
|
125
|
-
|
|
122
|
+
},
|
|
126
123
|
};
|
|
124
|
+
//# sourceMappingURL=View.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.js","sourceRoot":"","sources":["../../../src/data/components/View.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,QAAQ;IAClB,WAAW,EAAE,oEAAoE;IAC7E,KAAK,EAAE;;;;;;;;;;;;;CAaZ;IACC,QAAQ,EAAE;QACR,wCAAwC;QACxC,6BAA6B;QAC7B,0BAA0B;QAC1B,4BAA4B;QAC5B,gBAAgB;QAChB,mCAAmC;QACnC,sBAAsB;KACvB;IACD,aAAa,EAAE;QACb,oCAAoC;QACpC,sCAAsC;QACtC,oCAAoC;QACpC,uCAAuC;QACvC,6CAA6C;QAC7C,6CAA6C;KAC9C;IACD,KAAK,EAAE;;;;;;;;CAQR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;QAMH;QAEJ,QAAQ,EAAE;;;;;;;;;;;;;;;;;QAiBN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;;QAgBV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCf;KACC;CACF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export { Accordion } from './Accordion.js';
|
|
2
|
+
export { ActivityIndicator } from './ActivityIndicator.js';
|
|
3
|
+
export { Alert } from './Alert.js';
|
|
4
|
+
export { Avatar } from './Avatar.js';
|
|
5
|
+
export { Badge } from './Badge.js';
|
|
6
|
+
export { Breadcrumb } from './Breadcrumb.js';
|
|
7
|
+
export { Button } from './Button.js';
|
|
8
|
+
export { Card } from './Card.js';
|
|
9
|
+
export { Checkbox } from './Checkbox.js';
|
|
10
|
+
export { Chip } from './Chip.js';
|
|
11
|
+
export { Dialog } from './Dialog.js';
|
|
12
|
+
export { Divider } from './Divider.js';
|
|
13
|
+
export { Icon } from './Icon.js';
|
|
14
|
+
export { Image } from './Image.js';
|
|
15
|
+
export { Input } from './Input.js';
|
|
16
|
+
export { Link } from './Link.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
|
+
export declare const components: Record<string, any>;
|
|
38
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WA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export { Divider } from './Divider.js';
|
|
|
14
14
|
export { Icon } from './Icon.js';
|
|
15
15
|
export { Image } from './Image.js';
|
|
16
16
|
export { Input } from './Input.js';
|
|
17
|
+
export { Link } from './Link.js';
|
|
17
18
|
export { List } from './List.js';
|
|
18
19
|
export { Menu } from './Menu.js';
|
|
19
20
|
export { Popover } from './Popover.js';
|
|
@@ -34,7 +35,6 @@ export { TextArea } from './TextArea.js';
|
|
|
34
35
|
export { Tooltip } from './Tooltip.js';
|
|
35
36
|
export { Video } from './Video.js';
|
|
36
37
|
export { View } from './View.js';
|
|
37
|
-
|
|
38
38
|
// Collect all components into a single object
|
|
39
39
|
import { Accordion } from './Accordion.js';
|
|
40
40
|
import { ActivityIndicator } from './ActivityIndicator.js';
|
|
@@ -51,6 +51,7 @@ import { Divider } from './Divider.js';
|
|
|
51
51
|
import { Icon } from './Icon.js';
|
|
52
52
|
import { Image } from './Image.js';
|
|
53
53
|
import { Input } from './Input.js';
|
|
54
|
+
import { Link } from './Link.js';
|
|
54
55
|
import { List } from './List.js';
|
|
55
56
|
import { Menu } from './Menu.js';
|
|
56
57
|
import { Popover } from './Popover.js';
|
|
@@ -71,41 +72,42 @@ import { TextArea } from './TextArea.js';
|
|
|
71
72
|
import { Tooltip } from './Tooltip.js';
|
|
72
73
|
import { Video } from './Video.js';
|
|
73
74
|
import { View } from './View.js';
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
75
|
+
export const components = {
|
|
76
|
+
Accordion,
|
|
77
|
+
ActivityIndicator,
|
|
78
|
+
Alert,
|
|
79
|
+
Avatar,
|
|
80
|
+
Badge,
|
|
81
|
+
Breadcrumb,
|
|
82
|
+
Button,
|
|
83
|
+
Card,
|
|
84
|
+
Checkbox,
|
|
85
|
+
Chip,
|
|
86
|
+
Dialog,
|
|
87
|
+
Divider,
|
|
88
|
+
Icon,
|
|
89
|
+
Image,
|
|
90
|
+
Input,
|
|
91
|
+
Link,
|
|
92
|
+
List,
|
|
93
|
+
Menu,
|
|
94
|
+
Popover,
|
|
95
|
+
Pressable,
|
|
96
|
+
Progress,
|
|
97
|
+
RadioButton,
|
|
98
|
+
Screen,
|
|
99
|
+
Select,
|
|
100
|
+
Skeleton,
|
|
101
|
+
Slider,
|
|
102
|
+
SVGImage,
|
|
103
|
+
Switch,
|
|
104
|
+
TabBar,
|
|
105
|
+
Table,
|
|
106
|
+
Tabs,
|
|
107
|
+
Text,
|
|
108
|
+
TextArea,
|
|
109
|
+
Tooltip,
|
|
110
|
+
Video,
|
|
111
|
+
View,
|
|
111
112
|
};
|
|
113
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/components/index.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAA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
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,CA+3BlD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const frameworkGuides
|
|
2
|
-
|
|
1
|
+
export const frameworkGuides = {
|
|
2
|
+
"idealyst://framework/getting-started": `# Getting Started with Idealyst
|
|
3
3
|
|
|
4
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
5
|
|
|
@@ -83,8 +83,7 @@ my-app/
|
|
|
83
83
|
3. Define your API routes in \`packages/api\`
|
|
84
84
|
4. Build your UI in \`packages/web\` or \`packages/mobile\`
|
|
85
85
|
`,
|
|
86
|
-
|
|
87
|
-
"idealyst://framework/components-overview": `# Idealyst Components Overview
|
|
86
|
+
"idealyst://framework/components-overview": `# Idealyst Components Overview
|
|
88
87
|
|
|
89
88
|
Idealyst provides a comprehensive library of cross-platform React components organized into categories.
|
|
90
89
|
|
|
@@ -185,8 +184,7 @@ All components use the Unistyles theming system:
|
|
|
185
184
|
import { Button, Card, Text, View } from '@idealyst/components';
|
|
186
185
|
\`\`\`
|
|
187
186
|
`,
|
|
188
|
-
|
|
189
|
-
"idealyst://framework/theming": `# Theming Guide
|
|
187
|
+
"idealyst://framework/theming": `# Theming Guide
|
|
190
188
|
|
|
191
189
|
Idealyst uses react-native-unistyles for cross-platform theming with full TypeScript support.
|
|
192
190
|
|
|
@@ -379,8 +377,7 @@ const styles = StyleSheet.create(theme => ({
|
|
|
379
377
|
}));
|
|
380
378
|
\`\`\`
|
|
381
379
|
`,
|
|
382
|
-
|
|
383
|
-
"idealyst://framework/cli": `# Idealyst CLI Reference
|
|
380
|
+
"idealyst://framework/cli": `# Idealyst CLI Reference
|
|
384
381
|
|
|
385
382
|
The Idealyst CLI provides commands for creating and managing Idealyst projects.
|
|
386
383
|
|
|
@@ -590,8 +587,7 @@ workspace/
|
|
|
590
587
|
7. **Git**: Use conventional commits
|
|
591
588
|
8. **Dependencies**: Share dependencies across packages when possible
|
|
592
589
|
`,
|
|
593
|
-
|
|
594
|
-
"idealyst://framework/api-overview": `# API Architecture Overview
|
|
590
|
+
"idealyst://framework/api-overview": `# API Architecture Overview
|
|
595
591
|
|
|
596
592
|
Idealyst provides a dual API architecture with both tRPC and GraphQL, giving you flexibility for different use cases.
|
|
597
593
|
|
|
@@ -676,8 +672,7 @@ Start with tRPC for rapid development, add GraphQL when you need:
|
|
|
676
672
|
- Schema-first development
|
|
677
673
|
- Non-TypeScript clients
|
|
678
674
|
`,
|
|
679
|
-
|
|
680
|
-
"idealyst://framework/graphql-setup": `# GraphQL Setup Guide
|
|
675
|
+
"idealyst://framework/graphql-setup": `# GraphQL Setup Guide
|
|
681
676
|
|
|
682
677
|
Idealyst uses Pothos (code-first schema) with GraphQL Yoga server, integrated with Prisma.
|
|
683
678
|
|
|
@@ -894,3 +889,4 @@ Features:
|
|
|
894
889
|
5. **N+1 Prevention**: Use Prisma's query optimization
|
|
895
890
|
`,
|
|
896
891
|
};
|
|
892
|
+
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoG7C;IAEC,8BAA8B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMjC;IAEC,0BAA0B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiN7B;IAEC,mCAAmC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFtC;IAEC,oCAAoC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuNvC;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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-guide.js","sourceRoot":"","sources":["../../src/data/icon-guide.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2RxB,CAAC"}
|