@idealyst/mcp-server 1.2.24 → 1.2.26
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/index.cjs +22366 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.js +22186 -1034
- package/dist/index.js.map +1 -1
- package/package.json +17 -7
- 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 -113
- 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 -80
- 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 -130
- 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 -91
- 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 -92
- package/dist/data/components/Breadcrumb.js.map +0 -1
- package/dist/data/components/Button.d.ts +0 -16
- package/dist/data/components/Button.d.ts.map +0 -1
- package/dist/data/components/Button.js +0 -118
- 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 -75
- 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 -94
- 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 -68
- 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 -68
- 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 -119
- 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 -155
- package/dist/data/components/Input.js.map +0 -1
- package/dist/data/components/Link.d.ts +0 -15
- package/dist/data/components/Link.d.ts.map +0 -1
- package/dist/data/components/Link.js +0 -142
- package/dist/data/components/Link.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 -123
- 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 -157
- 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 -93
- 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 -131
- 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 -109
- 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 -141
- 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 -100
- 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 -151
- 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 -128
- package/dist/data/components/Switch.js.map +0 -1
- package/dist/data/components/TabBar.d.ts +0 -17
- package/dist/data/components/TabBar.d.ts.map +0 -1
- package/dist/data/components/TabBar.js +0 -244
- 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 -159
- 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 -97
- 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 -156
- 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 -103
- 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 -166
- 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 -127
- package/dist/data/components/View.js.map +0 -1
- package/dist/data/components/index.d.ts +0 -38
- package/dist/data/components/index.d.ts.map +0 -1
- package/dist/data/components/index.js +0 -113
- 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 -1730
- 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 -2144
- package/dist/data/navigation-guides.js.map +0 -1
- package/dist/data/packages.d.ts +0 -39
- package/dist/data/packages.d.ts.map +0 -1
- package/dist/data/packages.js +0 -550
- package/dist/data/packages.js.map +0 -1
- package/dist/data/recipes.d.ts +0 -36
- package/dist/data/recipes.d.ts.map +0 -1
- package/dist/data/recipes.js +0 -2945
- package/dist/data/recipes.js.map +0 -1
- package/dist/data/storage-guides.d.ts +0 -2
- package/dist/data/storage-guides.d.ts.map +0 -1
- package/dist/data/storage-guides.js +0 -418
- package/dist/data/storage-guides.js.map +0 -1
- package/dist/data/translate-guides.d.ts +0 -2
- package/dist/data/translate-guides.d.ts.map +0 -1
- package/dist/data/translate-guides.js +0 -1030
- package/dist/data/translate-guides.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/tools/get-types.d.ts +0 -37
- package/dist/tools/get-types.d.ts.map +0 -1
- package/dist/tools/get-types.js +0 -148
- package/dist/tools/get-types.js.map +0 -1
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
export const Tooltip = {
|
|
2
|
-
category: "overlay",
|
|
3
|
-
description: "Contextual tooltip that displays information on hover or focus",
|
|
4
|
-
props: `
|
|
5
|
-
- \`content\`: string | React.ReactNode - The tooltip content to display
|
|
6
|
-
- \`children\`: React.ReactNode - The element that triggers the tooltip on hover/focus
|
|
7
|
-
- \`placement\`: TooltipPlacement - The placement of the tooltip relative to the trigger
|
|
8
|
-
- \`delay\`: number - Delay in milliseconds before showing the tooltip
|
|
9
|
-
- \`intent\`: TooltipIntentVariant - The intent/color scheme of the tooltip
|
|
10
|
-
- \`size\`: TooltipSizeVariant - The size variant of the tooltip
|
|
11
|
-
`,
|
|
12
|
-
features: [
|
|
13
|
-
"Hover and focus triggers",
|
|
14
|
-
"Four placement options",
|
|
15
|
-
"Configurable delay",
|
|
16
|
-
"Five intent colors",
|
|
17
|
-
"Three sizes",
|
|
18
|
-
"String or custom content",
|
|
19
|
-
"Auto-positioning on overflow",
|
|
20
|
-
],
|
|
21
|
-
bestPractices: [
|
|
22
|
-
"Keep tooltip content concise",
|
|
23
|
-
"Use for supplementary information only",
|
|
24
|
-
"Don't hide critical information in tooltips",
|
|
25
|
-
"Ensure tooltips are keyboard accessible",
|
|
26
|
-
"Use appropriate placement to avoid obscuring content",
|
|
27
|
-
"Add small delay to prevent flashing",
|
|
28
|
-
],
|
|
29
|
-
usage: `
|
|
30
|
-
import { Tooltip, Button } from '@idealyst/components';
|
|
31
|
-
|
|
32
|
-
<Tooltip content="Click to save your changes" placement="top">
|
|
33
|
-
<Button icon="content-save">Save</Button>
|
|
34
|
-
</Tooltip>
|
|
35
|
-
`,
|
|
36
|
-
examples: {
|
|
37
|
-
basic: `import { Tooltip, Button } from '@idealyst/components';
|
|
38
|
-
|
|
39
|
-
<Tooltip content="This is a tooltip">
|
|
40
|
-
<Button>Hover me</Button>
|
|
41
|
-
</Tooltip>`,
|
|
42
|
-
variants: `import { Tooltip, Button, View } from '@idealyst/components';
|
|
43
|
-
|
|
44
|
-
<View spacing="md">
|
|
45
|
-
<Tooltip content="Top placement" placement="top">
|
|
46
|
-
<Button>Top</Button>
|
|
47
|
-
</Tooltip>
|
|
48
|
-
<Tooltip content="Bottom placement" placement="bottom">
|
|
49
|
-
<Button>Bottom</Button>
|
|
50
|
-
</Tooltip>
|
|
51
|
-
<Tooltip content="Left placement" placement="left">
|
|
52
|
-
<Button>Left</Button>
|
|
53
|
-
</Tooltip>
|
|
54
|
-
<Tooltip content="Right placement" placement="right">
|
|
55
|
-
<Button>Right</Button>
|
|
56
|
-
</Tooltip>
|
|
57
|
-
</View>`,
|
|
58
|
-
"with-icons": `import { Tooltip, Icon, Text, View } from '@idealyst/components';
|
|
59
|
-
|
|
60
|
-
<View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}>
|
|
61
|
-
<Text>Need help?</Text>
|
|
62
|
-
<Tooltip
|
|
63
|
-
content="Click here for assistance"
|
|
64
|
-
placement="right"
|
|
65
|
-
intent="primary"
|
|
66
|
-
>
|
|
67
|
-
<Icon name="help-circle" size="md" color="primary" />
|
|
68
|
-
</Tooltip>
|
|
69
|
-
</View>`,
|
|
70
|
-
interactive: `import { Tooltip, Button, View, Text } from '@idealyst/components';
|
|
71
|
-
|
|
72
|
-
function ActionButtons() {
|
|
73
|
-
return (
|
|
74
|
-
<View spacing="sm">
|
|
75
|
-
<View style={{ flexDirection: 'row', gap: 8 }}>
|
|
76
|
-
<Tooltip content="Save your work" placement="top" delay={500}>
|
|
77
|
-
<Button icon="content-save" type="contained" intent="primary">
|
|
78
|
-
Save
|
|
79
|
-
</Button>
|
|
80
|
-
</Tooltip>
|
|
81
|
-
|
|
82
|
-
<Tooltip content="Undo last action" placement="top" delay={500}>
|
|
83
|
-
<Button icon="undo" type="outlined">
|
|
84
|
-
Undo
|
|
85
|
-
</Button>
|
|
86
|
-
</Tooltip>
|
|
87
|
-
|
|
88
|
-
<Tooltip content="Delete selected items" placement="top" intent="error" delay={500}>
|
|
89
|
-
<Button icon="delete" type="outlined" intent="error">
|
|
90
|
-
Delete
|
|
91
|
-
</Button>
|
|
92
|
-
</Tooltip>
|
|
93
|
-
</View>
|
|
94
|
-
|
|
95
|
-
<Text size="sm" color="secondary">
|
|
96
|
-
Hover over buttons to see tooltips
|
|
97
|
-
</Text>
|
|
98
|
-
</View>
|
|
99
|
-
);
|
|
100
|
-
}`,
|
|
101
|
-
},
|
|
102
|
-
};
|
|
103
|
-
//# sourceMappingURL=Tooltip.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../../../src/data/components/Tooltip.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,gEAAgE;IACzE,KAAK,EAAE;;;;;;;CAOZ;IACC,QAAQ,EAAE;QACR,0BAA0B;QAC1B,wBAAwB;QACxB,oBAAoB;QACpB,oBAAoB;QACpB,aAAa;QACb,0BAA0B;QAC1B,8BAA8B;KAC/B;IACD,aAAa,EAAE;QACb,8BAA8B;QAC9B,wCAAwC;QACxC,6CAA6C;QAC7C,yCAAyC;QACzC,sDAAsD;QACtD,qCAAqC;KACtC;IACD,KAAK,EAAE;;;;;;CAMR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;WAIA;QAEP,QAAQ,EAAE;;;;;;;;;;;;;;;QAeN;QAEJ,YAAY,EAAE;;;;;;;;;;;QAWV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8Bf;KACC;CACF,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const Video: {
|
|
2
|
-
category: string;
|
|
3
|
-
description: string;
|
|
4
|
-
props: string;
|
|
5
|
-
features: string[];
|
|
6
|
-
bestPractices: string[];
|
|
7
|
-
usage: string;
|
|
8
|
-
examples: {
|
|
9
|
-
basic: string;
|
|
10
|
-
variants: string;
|
|
11
|
-
"with-icons": string;
|
|
12
|
-
interactive: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=Video.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../../src/data/components/Video.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAuKjB,CAAC"}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
export const Video = {
|
|
2
|
-
category: "media",
|
|
3
|
-
description: "Video player component with playback controls and event handlers",
|
|
4
|
-
props: `
|
|
5
|
-
- \`source\`: VideoSource | string - The video source URL or source object with uri and type
|
|
6
|
-
- \`poster\`: string - URL of the poster image to display before playback
|
|
7
|
-
- \`width\`: number | string - The width of the video player
|
|
8
|
-
- \`height\`: number | string - The height of the video player
|
|
9
|
-
- \`aspectRatio\`: number - The aspect ratio of the video (e.g., 16/9, 4/3)
|
|
10
|
-
- \`controls\`: boolean - Whether to show native playback controls
|
|
11
|
-
- \`autoPlay\`: boolean - Whether to automatically start playing when loaded
|
|
12
|
-
- \`loop\`: boolean - Whether to loop the video playback
|
|
13
|
-
- \`muted\`: boolean - Whether to mute the audio
|
|
14
|
-
- \`playsInline\`: boolean - Whether to play inline on mobile devices (prevents fullscreen)
|
|
15
|
-
- \`preload\`: 'auto' | 'metadata' | 'none' - How much of the video to preload
|
|
16
|
-
- \`onLoad\`: function - Called when the video has loaded
|
|
17
|
-
- \`onError\`: function - Called when an error occurs during playback
|
|
18
|
-
- \`onPlay\`: function - Called when the video starts playing
|
|
19
|
-
- \`onPause\`: function - Called when the video is paused
|
|
20
|
-
- \`onEnd\`: function - Called when the video playback ends
|
|
21
|
-
- \`onProgress\`: function - Called periodically during playback with progress information
|
|
22
|
-
- \`borderRadius\`: number - The border radius of the video player
|
|
23
|
-
`,
|
|
24
|
-
features: [
|
|
25
|
-
"Remote and local video sources",
|
|
26
|
-
"Poster image support",
|
|
27
|
-
"Playback controls",
|
|
28
|
-
"Auto-play and loop",
|
|
29
|
-
"Multiple event callbacks",
|
|
30
|
-
"Progress tracking",
|
|
31
|
-
"Aspect ratio control",
|
|
32
|
-
"Border radius support",
|
|
33
|
-
],
|
|
34
|
-
bestPractices: [
|
|
35
|
-
"Always provide a poster image",
|
|
36
|
-
"Use appropriate video formats for cross-platform",
|
|
37
|
-
"Enable controls for user control",
|
|
38
|
-
"Avoid autoPlay with audio (UX best practice)",
|
|
39
|
-
"Use playsInline for better mobile experience",
|
|
40
|
-
"Provide onError fallback",
|
|
41
|
-
"Set explicit dimensions or aspect ratio",
|
|
42
|
-
"Use preload: 'metadata' for better performance",
|
|
43
|
-
],
|
|
44
|
-
usage: `
|
|
45
|
-
import { Video } from '@idealyst/components';
|
|
46
|
-
|
|
47
|
-
<Video
|
|
48
|
-
source={{ uri: 'https://example.com/video.mp4', type: 'video/mp4' }}
|
|
49
|
-
poster="https://example.com/poster.jpg"
|
|
50
|
-
width="100%"
|
|
51
|
-
aspectRatio={16/9}
|
|
52
|
-
controls
|
|
53
|
-
playsInline
|
|
54
|
-
onLoad={() => console.log('Video loaded')}
|
|
55
|
-
onError={(error) => console.error('Video error:', error)}
|
|
56
|
-
/>
|
|
57
|
-
`,
|
|
58
|
-
examples: {
|
|
59
|
-
basic: `import { Video } from '@idealyst/components';
|
|
60
|
-
|
|
61
|
-
<Video
|
|
62
|
-
source="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
|
|
63
|
-
width={640}
|
|
64
|
-
height={360}
|
|
65
|
-
controls
|
|
66
|
-
/>`,
|
|
67
|
-
variants: `import { Video, View } from '@idealyst/components';
|
|
68
|
-
|
|
69
|
-
<View spacing="md">
|
|
70
|
-
{/* With controls */}
|
|
71
|
-
<Video
|
|
72
|
-
source={{ uri: 'https://example.com/video.mp4' }}
|
|
73
|
-
width="100%"
|
|
74
|
-
aspectRatio={16/9}
|
|
75
|
-
controls
|
|
76
|
-
/>
|
|
77
|
-
|
|
78
|
-
{/* Auto-play, looped, muted */}
|
|
79
|
-
<Video
|
|
80
|
-
source={{ uri: 'https://example.com/video.mp4' }}
|
|
81
|
-
width="100%"
|
|
82
|
-
aspectRatio={16/9}
|
|
83
|
-
autoPlay
|
|
84
|
-
loop
|
|
85
|
-
muted
|
|
86
|
-
controls={false}
|
|
87
|
-
/>
|
|
88
|
-
</View>`,
|
|
89
|
-
"with-icons": `import { Video, Card, View, Text } from '@idealyst/components';
|
|
90
|
-
|
|
91
|
-
<Card type="elevated" padding="none">
|
|
92
|
-
<Video
|
|
93
|
-
source="https://example.com/video.mp4"
|
|
94
|
-
poster="https://example.com/poster.jpg"
|
|
95
|
-
width="100%"
|
|
96
|
-
aspectRatio={16/9}
|
|
97
|
-
controls
|
|
98
|
-
borderRadius={8}
|
|
99
|
-
/>
|
|
100
|
-
<View spacing="sm" style={{ padding: 16 }}>
|
|
101
|
-
<Text weight="bold">Video Title</Text>
|
|
102
|
-
<Text size="sm">Video description and details</Text>
|
|
103
|
-
</View>
|
|
104
|
-
</Card>`,
|
|
105
|
-
interactive: `import { Video, View, Text, Button } from '@idealyst/components';
|
|
106
|
-
import { useState, useRef } from 'react';
|
|
107
|
-
|
|
108
|
-
function Example() {
|
|
109
|
-
const [playing, setPlaying] = useState(false);
|
|
110
|
-
const [progress, setProgress] = useState(0);
|
|
111
|
-
const videoRef = useRef(null);
|
|
112
|
-
|
|
113
|
-
const handleProgress = ({ currentTime, playableDuration }) => {
|
|
114
|
-
if (playableDuration > 0) {
|
|
115
|
-
setProgress((currentTime / playableDuration) * 100);
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
return (
|
|
120
|
-
<View spacing="md">
|
|
121
|
-
<Video
|
|
122
|
-
ref={videoRef}
|
|
123
|
-
source={{ uri: 'https://example.com/video.mp4' }}
|
|
124
|
-
poster="https://example.com/poster.jpg"
|
|
125
|
-
width="100%"
|
|
126
|
-
aspectRatio={16/9}
|
|
127
|
-
controls
|
|
128
|
-
playsInline
|
|
129
|
-
onPlay={() => setPlaying(true)}
|
|
130
|
-
onPause={() => setPlaying(false)}
|
|
131
|
-
onEnd={() => {
|
|
132
|
-
setPlaying(false);
|
|
133
|
-
setProgress(0);
|
|
134
|
-
}}
|
|
135
|
-
onProgress={handleProgress}
|
|
136
|
-
onError={(error) => console.error('Video error:', error)}
|
|
137
|
-
/>
|
|
138
|
-
|
|
139
|
-
<View spacing="sm">
|
|
140
|
-
<Text>
|
|
141
|
-
Status: {playing ? 'Playing' : 'Paused'} | Progress: {progress.toFixed(1)}%
|
|
142
|
-
</Text>
|
|
143
|
-
|
|
144
|
-
<View style={{ flexDirection: 'row', gap: 8 }}>
|
|
145
|
-
<Button
|
|
146
|
-
size="sm"
|
|
147
|
-
type="outlined"
|
|
148
|
-
onPress={() => videoRef.current?.play()}
|
|
149
|
-
>
|
|
150
|
-
Play
|
|
151
|
-
</Button>
|
|
152
|
-
<Button
|
|
153
|
-
size="sm"
|
|
154
|
-
type="outlined"
|
|
155
|
-
onPress={() => videoRef.current?.pause()}
|
|
156
|
-
>
|
|
157
|
-
Pause
|
|
158
|
-
</Button>
|
|
159
|
-
</View>
|
|
160
|
-
</View>
|
|
161
|
-
</View>
|
|
162
|
-
);
|
|
163
|
-
}`,
|
|
164
|
-
},
|
|
165
|
-
};
|
|
166
|
-
//# sourceMappingURL=Video.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Video.js","sourceRoot":"","sources":["../../../src/data/components/Video.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,kEAAkE;IAC3E,KAAK,EAAE;;;;;;;;;;;;;;;;;;;CAmBZ;IACC,QAAQ,EAAE;QACR,gCAAgC;QAChC,sBAAsB;QACtB,mBAAmB;QACnB,oBAAoB;QACpB,0BAA0B;QAC1B,mBAAmB;QACnB,sBAAsB;QACtB,uBAAuB;KACxB;IACD,aAAa,EAAE;QACb,+BAA+B;QAC/B,kDAAkD;QAClD,kCAAkC;QAClC,8CAA8C;QAC9C,8CAA8C;QAC9C,0BAA0B;QAC1B,yCAAyC;QACzC,gDAAgD;KACjD;IACD,KAAK,EAAE;;;;;;;;;;;;;CAaR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;;GAOR;QAEC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;QAqBN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;QAeV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0Df;KACC;CACF,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const View: {
|
|
2
|
-
category: string;
|
|
3
|
-
description: string;
|
|
4
|
-
props: string;
|
|
5
|
-
features: string[];
|
|
6
|
-
bestPractices: string[];
|
|
7
|
-
usage: string;
|
|
8
|
-
examples: {
|
|
9
|
-
basic: string;
|
|
10
|
-
variants: string;
|
|
11
|
-
"with-icons": string;
|
|
12
|
-
interactive: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=View.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../src/data/components/View.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CAgIhB,CAAC"}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
export const View = {
|
|
2
|
-
category: "layout",
|
|
3
|
-
description: "Container component with spacing variants (gap, padding, margin) and background variants",
|
|
4
|
-
props: `
|
|
5
|
-
- \`children\`: React.ReactNode - The content to display inside the view
|
|
6
|
-
- \`gap\`: Size - Space between children ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
7
|
-
- \`padding\`: Size - Padding on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
8
|
-
- \`paddingVertical\`: Size - Top and bottom padding
|
|
9
|
-
- \`paddingHorizontal\`: Size - Left and right padding
|
|
10
|
-
- \`margin\`: Size - Margin on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
11
|
-
- \`marginVertical\`: Size - Top and bottom margin
|
|
12
|
-
- \`marginHorizontal\`: Size - Left and right margin
|
|
13
|
-
- \`background\`: ViewBackgroundVariant - Background variant (Surface | 'transparent')
|
|
14
|
-
- \`radius\`: ViewRadiusVariant - Border radius variant ('xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none')
|
|
15
|
-
- \`border\`: ViewBorderVariant - Border variant ('none' | 'thin' | 'thick')
|
|
16
|
-
- \`scrollable\`: boolean - Enable scrollable content (uses ScrollView on native, overflow:auto on web)
|
|
17
|
-
- \`testID\`: string - Test ID for testing
|
|
18
|
-
`,
|
|
19
|
-
features: [
|
|
20
|
-
"Flexible layout container",
|
|
21
|
-
"Gap variant for spacing between children",
|
|
22
|
-
"Padding variants (uniform and directional)",
|
|
23
|
-
"Margin variants (uniform and directional)",
|
|
24
|
-
"Surface-based background variants",
|
|
25
|
-
"Border radius variants",
|
|
26
|
-
"Border support with thin/thick options",
|
|
27
|
-
"Scrollable content support",
|
|
28
|
-
"Flexbox-based layout",
|
|
29
|
-
],
|
|
30
|
-
bestPractices: [
|
|
31
|
-
"Use View for all layout containers",
|
|
32
|
-
"Use gap prop for consistent spacing between children",
|
|
33
|
-
"Use padding prop instead of style for consistent spacing",
|
|
34
|
-
"Use margin variants for spacing between containers",
|
|
35
|
-
"Prefer Size variants over numeric values",
|
|
36
|
-
"Combine with Screen for full-screen layouts",
|
|
37
|
-
"Use background variants for semantic surface colors",
|
|
38
|
-
],
|
|
39
|
-
usage: `
|
|
40
|
-
import { View, Text, Button } from '@idealyst/components';
|
|
41
|
-
|
|
42
|
-
<View background="surface" radius="md" padding="md" gap="sm">
|
|
43
|
-
<Text size="lg" weight="bold">Card Title</Text>
|
|
44
|
-
<Text>Card content with consistent spacing</Text>
|
|
45
|
-
<Button>Action</Button>
|
|
46
|
-
</View>
|
|
47
|
-
`,
|
|
48
|
-
examples: {
|
|
49
|
-
basic: `import { View, Text } from '@idealyst/components';
|
|
50
|
-
|
|
51
|
-
<View gap="md">
|
|
52
|
-
<Text>Item 1</Text>
|
|
53
|
-
<Text>Item 2</Text>
|
|
54
|
-
<Text>Item 3</Text>
|
|
55
|
-
</View>`,
|
|
56
|
-
variants: `import { View, Text } from '@idealyst/components';
|
|
57
|
-
|
|
58
|
-
<View gap="lg">
|
|
59
|
-
<View background="surface" radius="sm" padding="sm" gap="xs">
|
|
60
|
-
<Text>Small padding container</Text>
|
|
61
|
-
<Text>Second item</Text>
|
|
62
|
-
</View>
|
|
63
|
-
|
|
64
|
-
<View background="surface" radius="md" padding="md" gap="sm">
|
|
65
|
-
<Text>Medium padding container</Text>
|
|
66
|
-
<Text>Second item</Text>
|
|
67
|
-
</View>
|
|
68
|
-
|
|
69
|
-
<View background="surface" radius="lg" padding="lg" gap="md">
|
|
70
|
-
<Text>Large padding container</Text>
|
|
71
|
-
<Text>Second item</Text>
|
|
72
|
-
</View>
|
|
73
|
-
</View>`,
|
|
74
|
-
"with-icons": `import { View, Icon, Text } from '@idealyst/components';
|
|
75
|
-
|
|
76
|
-
<View
|
|
77
|
-
background="surface"
|
|
78
|
-
radius="md"
|
|
79
|
-
border="thin"
|
|
80
|
-
padding="md"
|
|
81
|
-
>
|
|
82
|
-
<View style={{ flexDirection: 'row', alignItems: 'center' }} gap="sm">
|
|
83
|
-
<Icon name="information-outline" size="lg" color="primary" />
|
|
84
|
-
<View style={{ flex: 1 }} gap="xs">
|
|
85
|
-
<Text weight="bold">Important Information</Text>
|
|
86
|
-
<Text size="sm">This is an informational message</Text>
|
|
87
|
-
</View>
|
|
88
|
-
</View>
|
|
89
|
-
</View>`,
|
|
90
|
-
interactive: `import { View, Text, Button, Card } from '@idealyst/components';
|
|
91
|
-
import { useState } from 'react';
|
|
92
|
-
|
|
93
|
-
function Example() {
|
|
94
|
-
const [items, setItems] = useState(['Item 1', 'Item 2']);
|
|
95
|
-
|
|
96
|
-
const addItem = () => {
|
|
97
|
-
setItems([...items, \`Item \${items.length + 1}\`]);
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
return (
|
|
101
|
-
<View padding="md" gap="lg">
|
|
102
|
-
<Card type="outlined" padding="md">
|
|
103
|
-
<View gap="md">
|
|
104
|
-
<Text weight="bold">Dynamic List</Text>
|
|
105
|
-
<View gap="sm">
|
|
106
|
-
{items.map((item, index) => (
|
|
107
|
-
<View
|
|
108
|
-
key={index}
|
|
109
|
-
background="surface"
|
|
110
|
-
radius="sm"
|
|
111
|
-
padding="sm"
|
|
112
|
-
>
|
|
113
|
-
<Text>{item}</Text>
|
|
114
|
-
</View>
|
|
115
|
-
))}
|
|
116
|
-
</View>
|
|
117
|
-
<Button onPress={addItem} type="outlined">
|
|
118
|
-
Add Item
|
|
119
|
-
</Button>
|
|
120
|
-
</View>
|
|
121
|
-
</Card>
|
|
122
|
-
</View>
|
|
123
|
-
);
|
|
124
|
-
}`,
|
|
125
|
-
},
|
|
126
|
-
};
|
|
127
|
-
//# sourceMappingURL=View.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,0FAA0F;IACnG,KAAK,EAAE;;;;;;;;;;;;;;CAcZ;IACC,QAAQ,EAAE;QACR,2BAA2B;QAC3B,0CAA0C;QAC1C,4CAA4C;QAC5C,2CAA2C;QAC3C,mCAAmC;QACnC,wBAAwB;QACxB,wCAAwC;QACxC,4BAA4B;QAC5B,sBAAsB;KACvB;IACD,aAAa,EAAE;QACb,oCAAoC;QACpC,sDAAsD;QACtD,0DAA0D;QAC1D,oDAAoD;QACpD,0CAA0C;QAC1C,6CAA6C;QAC7C,qDAAqD;KACtD;IACD,KAAK,EAAE;;;;;;;;CAQR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;QAMH;QAEJ,QAAQ,EAAE;;;;;;;;;;;;;;;;;QAiBN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;QAeV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCf;KACC;CACF,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CA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O,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAwCjC,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAqC1C,CAAC"}
|
|
@@ -1,113 +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 { Link } from './Link.js';
|
|
18
|
-
export { List } from './List.js';
|
|
19
|
-
export { Menu } from './Menu.js';
|
|
20
|
-
export { Popover } from './Popover.js';
|
|
21
|
-
export { Pressable } from './Pressable.js';
|
|
22
|
-
export { Progress } from './Progress.js';
|
|
23
|
-
export { RadioButton } from './RadioButton.js';
|
|
24
|
-
export { Screen } from './Screen.js';
|
|
25
|
-
export { Select } from './Select.js';
|
|
26
|
-
export { Skeleton } from './Skeleton.js';
|
|
27
|
-
export { Slider } from './Slider.js';
|
|
28
|
-
export { SVGImage } from './SVGImage.js';
|
|
29
|
-
export { Switch } from './Switch.js';
|
|
30
|
-
export { TabBar } from './TabBar.js';
|
|
31
|
-
export { Table } from './Table.js';
|
|
32
|
-
export { Tabs } from './Tabs.js';
|
|
33
|
-
export { Text } from './Text.js';
|
|
34
|
-
export { TextArea } from './TextArea.js';
|
|
35
|
-
export { Tooltip } from './Tooltip.js';
|
|
36
|
-
export { Video } from './Video.js';
|
|
37
|
-
export { View } from './View.js';
|
|
38
|
-
// Collect all components into a single object
|
|
39
|
-
import { Accordion } from './Accordion.js';
|
|
40
|
-
import { ActivityIndicator } from './ActivityIndicator.js';
|
|
41
|
-
import { Alert } from './Alert.js';
|
|
42
|
-
import { Avatar } from './Avatar.js';
|
|
43
|
-
import { Badge } from './Badge.js';
|
|
44
|
-
import { Breadcrumb } from './Breadcrumb.js';
|
|
45
|
-
import { Button } from './Button.js';
|
|
46
|
-
import { Card } from './Card.js';
|
|
47
|
-
import { Checkbox } from './Checkbox.js';
|
|
48
|
-
import { Chip } from './Chip.js';
|
|
49
|
-
import { Dialog } from './Dialog.js';
|
|
50
|
-
import { Divider } from './Divider.js';
|
|
51
|
-
import { Icon } from './Icon.js';
|
|
52
|
-
import { Image } from './Image.js';
|
|
53
|
-
import { Input } from './Input.js';
|
|
54
|
-
import { Link } from './Link.js';
|
|
55
|
-
import { List } from './List.js';
|
|
56
|
-
import { Menu } from './Menu.js';
|
|
57
|
-
import { Popover } from './Popover.js';
|
|
58
|
-
import { Pressable } from './Pressable.js';
|
|
59
|
-
import { Progress } from './Progress.js';
|
|
60
|
-
import { RadioButton } from './RadioButton.js';
|
|
61
|
-
import { Screen } from './Screen.js';
|
|
62
|
-
import { Select } from './Select.js';
|
|
63
|
-
import { Skeleton } from './Skeleton.js';
|
|
64
|
-
import { Slider } from './Slider.js';
|
|
65
|
-
import { SVGImage } from './SVGImage.js';
|
|
66
|
-
import { Switch } from './Switch.js';
|
|
67
|
-
import { TabBar } from './TabBar.js';
|
|
68
|
-
import { Table } from './Table.js';
|
|
69
|
-
import { Tabs } from './Tabs.js';
|
|
70
|
-
import { Text } from './Text.js';
|
|
71
|
-
import { TextArea } from './TextArea.js';
|
|
72
|
-
import { Tooltip } from './Tooltip.js';
|
|
73
|
-
import { Video } from './Video.js';
|
|
74
|
-
import { View } from './View.js';
|
|
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,
|
|
112
|
-
};
|
|
113
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,MAA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IACR,MAAM;IACN,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,KAAK;IACL,IAAI;CACL,CAAC"}
|
|
@@ -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,CA0sDlD,CAAC"}
|