@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
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export const Link = {
|
|
2
|
+
category: "navigation",
|
|
3
|
+
description: "Navigation component that wraps children in a pressable area and navigates to a specified path when pressed",
|
|
4
|
+
props: `
|
|
5
|
+
- \`to\`: string (required) - The destination path to navigate to
|
|
6
|
+
- \`vars\`: Record<string, string> - Variables to substitute in the path (e.g., { id: '123' } for '/user/:id')
|
|
7
|
+
- \`children\`: React.ReactNode - Content to render inside the link
|
|
8
|
+
- \`disabled\`: boolean - Whether the link is disabled
|
|
9
|
+
- \`style\`: StyleProp<ViewStyle> - Style to apply to the link container
|
|
10
|
+
- \`testID\`: string - Test ID for testing
|
|
11
|
+
- \`accessibilityLabel\`: string - Accessibility label for screen readers
|
|
12
|
+
- \`onPress\`: function - Callback fired when the link is pressed (before navigation)
|
|
13
|
+
`,
|
|
14
|
+
features: [
|
|
15
|
+
"Declarative navigation with path-based routing",
|
|
16
|
+
"Path variable substitution for dynamic routes",
|
|
17
|
+
"Works with @idealyst/navigation system",
|
|
18
|
+
"Disabled state support",
|
|
19
|
+
"Custom styling",
|
|
20
|
+
"Accessibility support",
|
|
21
|
+
"Cross-platform (web and native)",
|
|
22
|
+
"onPress callback before navigation",
|
|
23
|
+
],
|
|
24
|
+
bestPractices: [
|
|
25
|
+
"Use for navigation between screens/pages",
|
|
26
|
+
"Prefer Link over manual navigator.navigate() for declarative routing",
|
|
27
|
+
"Use vars prop for dynamic path parameters",
|
|
28
|
+
"Provide accessibilityLabel for screen readers",
|
|
29
|
+
"Wrap any content - text, buttons, cards, icons",
|
|
30
|
+
"Use disabled prop for conditional navigation",
|
|
31
|
+
],
|
|
32
|
+
usage: `
|
|
33
|
+
import { Link, Text } from '@idealyst/components';
|
|
34
|
+
|
|
35
|
+
// Basic text link
|
|
36
|
+
<Link to="/home">
|
|
37
|
+
<Text color="primary">Go Home</Text>
|
|
38
|
+
</Link>
|
|
39
|
+
|
|
40
|
+
// Link with path variables
|
|
41
|
+
<Link to="/user/:id" vars={{ id: '123' }}>
|
|
42
|
+
<Text>View User Profile</Text>
|
|
43
|
+
</Link>
|
|
44
|
+
|
|
45
|
+
// Link wrapping a button
|
|
46
|
+
<Link to="/settings">
|
|
47
|
+
<Button intent="primary">Settings</Button>
|
|
48
|
+
</Link>
|
|
49
|
+
`,
|
|
50
|
+
examples: {
|
|
51
|
+
basic: `import { Link, Text } from '@idealyst/components';
|
|
52
|
+
|
|
53
|
+
<Link to="/home">
|
|
54
|
+
<Text color="primary">Go to Home</Text>
|
|
55
|
+
</Link>`,
|
|
56
|
+
variants: `import { Link, Text, Button, Card, View, Icon } from '@idealyst/components';
|
|
57
|
+
|
|
58
|
+
// Text link
|
|
59
|
+
<Link to="/about">
|
|
60
|
+
<Text color="primary">About Us</Text>
|
|
61
|
+
</Link>
|
|
62
|
+
|
|
63
|
+
// Button link
|
|
64
|
+
<Link to="/dashboard">
|
|
65
|
+
<Button type="contained" intent="primary">
|
|
66
|
+
Go to Dashboard
|
|
67
|
+
</Button>
|
|
68
|
+
</Link>
|
|
69
|
+
|
|
70
|
+
// Card link
|
|
71
|
+
<Link to="/article/1">
|
|
72
|
+
<Card type="outlined" padding="md">
|
|
73
|
+
<Text weight="semibold">Article Title</Text>
|
|
74
|
+
<Text size="sm" color="secondary">Click to read more...</Text>
|
|
75
|
+
</Card>
|
|
76
|
+
</Link>
|
|
77
|
+
|
|
78
|
+
// Icon + Text link
|
|
79
|
+
<Link to="/notifications">
|
|
80
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}>
|
|
81
|
+
<Icon name="bell" size={20} intent="primary" />
|
|
82
|
+
<Text color="primary">Notifications</Text>
|
|
83
|
+
</View>
|
|
84
|
+
</Link>`,
|
|
85
|
+
"with-icons": `import { Link, View, Icon, Text } from '@idealyst/components';
|
|
86
|
+
|
|
87
|
+
// Navigation menu item
|
|
88
|
+
<Link to="/settings">
|
|
89
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', padding: 16, gap: 12 }}>
|
|
90
|
+
<Icon name="cog" size={20} intent="primary" />
|
|
91
|
+
<Text style={{ flex: 1 }}>Settings</Text>
|
|
92
|
+
<Icon name="chevron-right" size={16} color="gray.500" />
|
|
93
|
+
</View>
|
|
94
|
+
</Link>
|
|
95
|
+
|
|
96
|
+
// Icon-only link
|
|
97
|
+
<Link to="/search" accessibilityLabel="Search">
|
|
98
|
+
<Icon name="magnify" size={24} intent="primary" />
|
|
99
|
+
</Link>`,
|
|
100
|
+
interactive: `import { Link, Text, Card, View, Icon } from '@idealyst/components';
|
|
101
|
+
|
|
102
|
+
// Clickable card with navigation
|
|
103
|
+
function ArticleCard({ article }) {
|
|
104
|
+
return (
|
|
105
|
+
<Link
|
|
106
|
+
to="/article/:id"
|
|
107
|
+
vars={{ id: article.id }}
|
|
108
|
+
onPress={() => console.log('Navigating to article:', article.id)}
|
|
109
|
+
>
|
|
110
|
+
<Card type="elevated" padding="md">
|
|
111
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', gap: 12 }}>
|
|
112
|
+
<Icon name="file-document" size={24} intent="primary" />
|
|
113
|
+
<View style={{ flex: 1 }}>
|
|
114
|
+
<Text weight="semibold">{article.title}</Text>
|
|
115
|
+
<Text size="sm" color="secondary">{article.excerpt}</Text>
|
|
116
|
+
</View>
|
|
117
|
+
<Icon name="chevron-right" size={20} color="gray.500" />
|
|
118
|
+
</View>
|
|
119
|
+
</Card>
|
|
120
|
+
</Link>
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Disabled link
|
|
125
|
+
<Link to="/premium" disabled>
|
|
126
|
+
<Text color="secondary">Premium Feature (Disabled)</Text>
|
|
127
|
+
</Link>
|
|
128
|
+
|
|
129
|
+
// Styled link container
|
|
130
|
+
<Link
|
|
131
|
+
to="/special"
|
|
132
|
+
style={{
|
|
133
|
+
backgroundColor: '#e3f2fd',
|
|
134
|
+
padding: 12,
|
|
135
|
+
borderRadius: 8,
|
|
136
|
+
}}
|
|
137
|
+
>
|
|
138
|
+
<Text color="primary">Special Offer</Text>
|
|
139
|
+
</Link>`,
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=Link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.js","sourceRoot":"","sources":["../../../src/data/components/Link.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,6GAA6G;IAC1H,KAAK,EAAE;;;;;;;;;CASR;IACC,QAAQ,EAAE;QACR,gDAAgD;QAChD,+CAA+C;QAC/C,wCAAwC;QACxC,wBAAwB;QACxB,gBAAgB;QAChB,uBAAuB;QACvB,iCAAiC;QACjC,oCAAoC;KACrC;IACD,aAAa,EAAE;QACb,0CAA0C;QAC1C,sEAAsE;QACtE,2CAA2C;QAC3C,+CAA+C;QAC/C,gDAAgD;QAChD,8CAA8C;KAC/C;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;CAiBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;QAIH;QAEJ,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA4BN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;QAcV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuCT;KACL;CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const List: {
|
|
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=List.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/data/components/List.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CAsGhB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const List = {
|
|
2
|
-
category: "display",
|
|
2
|
+
category: "display",
|
|
3
3
|
description: "Vertical list container with support for sections, icons, and interactive items",
|
|
4
|
-
|
|
4
|
+
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - List items and sections to display
|
|
6
6
|
- \`type\`: ListType - The visual style variant of the list
|
|
7
7
|
- \`size\`: ListSizeVariant - The size variant of list items
|
|
@@ -9,19 +9,19 @@ category: "display",
|
|
|
9
9
|
- \`maxHeight\`: number | string - Maximum height of the scrollable list
|
|
10
10
|
`,
|
|
11
11
|
features: [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
"Three visual variants",
|
|
13
|
+
"Configurable item sizes",
|
|
14
|
+
"Leading and trailing elements (icons, badges, etc.)",
|
|
15
|
+
"Selected and active states",
|
|
16
|
+
"Section grouping with titles",
|
|
17
|
+
"Indentation for hierarchy",
|
|
18
|
+
"Icon support via string names",
|
|
19
19
|
],
|
|
20
20
|
bestPractices: [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
"Use sections to organize related items",
|
|
22
|
+
"Use leading icons for visual categorization",
|
|
23
|
+
"Use trailing elements for metadata or actions",
|
|
24
|
+
"Keep list items concise and scannable",
|
|
25
25
|
],
|
|
26
26
|
usage: `
|
|
27
27
|
import { List, ListItem, ListSection } from '@idealyst/components';
|
|
@@ -42,14 +42,14 @@ import { List, ListItem, ListSection } from '@idealyst/components';
|
|
|
42
42
|
</List>
|
|
43
43
|
`,
|
|
44
44
|
examples: {
|
|
45
|
-
|
|
45
|
+
basic: `import { List, ListItem } from '@idealyst/components';
|
|
46
46
|
|
|
47
47
|
<List type="divided">
|
|
48
48
|
<ListItem label="Item 1" />
|
|
49
49
|
<ListItem label="Item 2" />
|
|
50
50
|
<ListItem label="Item 3" />
|
|
51
51
|
</List>`,
|
|
52
|
-
|
|
52
|
+
variants: `import { List, ListItem } from '@idealyst/components';
|
|
53
53
|
|
|
54
54
|
<List type="default">
|
|
55
55
|
<ListItem label="Default" />
|
|
@@ -62,7 +62,7 @@ import { List, ListItem, ListSection } from '@idealyst/components';
|
|
|
62
62
|
<List type="divided">
|
|
63
63
|
<ListItem label="Divided" />
|
|
64
64
|
</List>`,
|
|
65
|
-
|
|
65
|
+
"with-icons": `import { List, ListItem, Badge } from '@idealyst/components';
|
|
66
66
|
|
|
67
67
|
<List type="bordered">
|
|
68
68
|
<ListItem
|
|
@@ -76,7 +76,7 @@ import { List, ListItem, ListSection } from '@idealyst/components';
|
|
|
76
76
|
trailing={<Badge>12</Badge>}
|
|
77
77
|
/>
|
|
78
78
|
</List>`,
|
|
79
|
-
|
|
79
|
+
interactive: `import { List, ListItem } from '@idealyst/components';
|
|
80
80
|
import { useState } from 'react';
|
|
81
81
|
|
|
82
82
|
function Example() {
|
|
@@ -101,3 +101,4 @@ function Example() {
|
|
|
101
101
|
}`,
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
|
+
//# sourceMappingURL=List.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/data/components/List.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IACpB,QAAQ,EAAE,SAAS;IACf,WAAW,EAAE,iFAAiF;IAC1F,KAAK,EAAE;;;;;;CAMd;IACG,QAAQ,EAAE;QACR,uBAAuB;QACvB,yBAAyB;QACzB,qDAAqD;QACrD,4BAA4B;QAC5B,8BAA8B;QAC9B,2BAA2B;QAC3B,+BAA+B;KAChC;IACD,aAAa,EAAE;QACb,wCAAwC;QACxC,6CAA6C;QAC7C,+CAA+C;QAC/C,uCAAuC;KACxC;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;CAiBV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;QAML;QACF,QAAQ,EAAE;;;;;;;;;;;;QAYR;QACF,YAAY,EAAE;;;;;;;;;;;;;QAaZ;QACF,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;EAsBjB;KACG;CACJ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Menu: {
|
|
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=Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/data/components/Menu.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CA4HhB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const Menu = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
category: "overlay",
|
|
3
|
+
description: "Contextual menu with list of actions, typically triggered by a button or other element",
|
|
4
|
+
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - The trigger element that opens the menu
|
|
6
6
|
- \`items\`: MenuItem[] - Array of menu items to display
|
|
7
7
|
- \`open\`: boolean - Whether the menu is currently open (controlled)
|
|
@@ -10,23 +10,23 @@ export const Menu = {
|
|
|
10
10
|
- \`closeOnSelection\`: boolean - Whether to close the menu when an item is selected
|
|
11
11
|
- \`size\`: MenuSizeVariant - The size variant of the menu
|
|
12
12
|
`,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
13
|
+
features: [
|
|
14
|
+
"Icon support for menu items",
|
|
15
|
+
"Intent colors for items",
|
|
16
|
+
"Separators between items",
|
|
17
|
+
"Disabled items",
|
|
18
|
+
"Multiple placement options",
|
|
19
|
+
"Auto-close on selection",
|
|
20
|
+
"Three size options",
|
|
21
|
+
],
|
|
22
|
+
bestPractices: [
|
|
23
|
+
"Use separators to group related actions",
|
|
24
|
+
"Place destructive actions at the bottom with error intent",
|
|
25
|
+
"Keep menu items concise (1-3 words)",
|
|
26
|
+
"Use icons for visual scanning",
|
|
27
|
+
"Close menu after action unless multi-select",
|
|
28
|
+
],
|
|
29
|
+
usage: `
|
|
30
30
|
import { Menu, Button } from '@idealyst/components';
|
|
31
31
|
import { useState, useRef } from 'react';
|
|
32
32
|
|
|
@@ -56,8 +56,8 @@ function Example() {
|
|
|
56
56
|
);
|
|
57
57
|
}
|
|
58
58
|
`,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
examples: {
|
|
60
|
+
basic: `import { Menu, Button } from '@idealyst/components';
|
|
61
61
|
import { useRef, useState } from 'react';
|
|
62
62
|
|
|
63
63
|
const buttonRef = useRef(null);
|
|
@@ -72,15 +72,13 @@ const items = [
|
|
|
72
72
|
<Button onPress={() => setOpen(true)}>Menu</Button>
|
|
73
73
|
</div>
|
|
74
74
|
<Menu items={items} open={open} onOpenChange={setOpen} anchor={buttonRef} />`,
|
|
75
|
-
|
|
76
|
-
variants: `import { Menu } from '@idealyst/components';
|
|
75
|
+
variants: `import { Menu } from '@idealyst/components';
|
|
77
76
|
|
|
78
77
|
// Different sizes
|
|
79
78
|
<Menu items={items} open={open} onOpenChange={setOpen} anchor={ref} size="sm" />
|
|
80
79
|
<Menu items={items} open={open} onOpenChange={setOpen} anchor={ref} size="md" />
|
|
81
80
|
<Menu items={items} open={open} onOpenChange={setOpen} anchor={ref} size="lg" />`,
|
|
82
|
-
|
|
83
|
-
"with-icons": `import { Menu, Button } from '@idealyst/components';
|
|
81
|
+
"with-icons": `import { Menu, Button } from '@idealyst/components';
|
|
84
82
|
import { useRef, useState } from 'react';
|
|
85
83
|
|
|
86
84
|
const items = [
|
|
@@ -90,8 +88,7 @@ const items = [
|
|
|
90
88
|
];
|
|
91
89
|
|
|
92
90
|
<Menu items={items} open={open} onOpenChange={setOpen} anchor={buttonRef} />`,
|
|
93
|
-
|
|
94
|
-
interactive: `import { Menu, Button, Text, View } from '@idealyst/components';
|
|
91
|
+
interactive: `import { Menu, Button, Text, View } from '@idealyst/components';
|
|
95
92
|
import { useRef, useState } from 'react';
|
|
96
93
|
|
|
97
94
|
function Example() {
|
|
@@ -121,5 +118,6 @@ function Example() {
|
|
|
121
118
|
</View>
|
|
122
119
|
);
|
|
123
120
|
}`,
|
|
124
|
-
|
|
121
|
+
},
|
|
125
122
|
};
|
|
123
|
+
//# sourceMappingURL=Menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.js","sourceRoot":"","sources":["../../../src/data/components/Menu.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,wFAAwF;IACjG,KAAK,EAAE;;;;;;;;CAQZ;IACC,QAAQ,EAAE;QACR,6BAA6B;QAC7B,yBAAyB;QACzB,0BAA0B;QAC1B,gBAAgB;QAChB,4BAA4B;QAC5B,yBAAyB;QACzB,oBAAoB;KACrB;IACD,aAAa,EAAE;QACb,yCAAyC;QACzC,2DAA2D;QAC3D,qCAAqC;QACrC,+BAA+B;QAC/B,6CAA6C;KAC9C;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;;;;;;;;;6EAckE;QAEzE,QAAQ,EAAE;;;;;iFAKmE;QAE7E,YAAY,EAAE;;;;;;;;;6EAS2D;QAEzE,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Bf;KACC;CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Popover: {
|
|
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=Popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/data/components/Popover.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CA8JnB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const Popover = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
category: "overlay",
|
|
3
|
+
description: "Floating overlay that displays content anchored to an element, useful for tooltips, menus, and contextual information",
|
|
4
|
+
props: `
|
|
5
5
|
- \`open\`: boolean - Whether the popover is open/visible
|
|
6
6
|
- \`onOpenChange\`: function - Called when the popover should be opened or closed
|
|
7
7
|
- \`anchor\`: React.ReactNode | React.RefObject<Element> - The anchor element to position the popover relative to Can be a React element or a ref to a DOM element
|
|
@@ -12,24 +12,24 @@ export const Popover = {
|
|
|
12
12
|
- \`closeOnEscapeKey\`: boolean - Whether pressing escape key should close the popover (web only)
|
|
13
13
|
- \`showArrow\`: boolean - Whether to show an arrow pointing to the anchor
|
|
14
14
|
`,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
15
|
+
features: [
|
|
16
|
+
"12 placement options with smart positioning",
|
|
17
|
+
"Automatic repositioning on scroll/resize",
|
|
18
|
+
"Click outside to close",
|
|
19
|
+
"Escape key to close (web)",
|
|
20
|
+
"Optional arrow indicator",
|
|
21
|
+
"Offset control",
|
|
22
|
+
"Accessible with focus management",
|
|
23
|
+
],
|
|
24
|
+
bestPractices: [
|
|
25
|
+
"Use for contextual information that doesn't require immediate action",
|
|
26
|
+
"Keep popover content focused and concise",
|
|
27
|
+
"Use arrow to clearly indicate relationship to anchor",
|
|
28
|
+
"Allow closing via click outside and Escape key",
|
|
29
|
+
"Don't nest popovers",
|
|
30
|
+
"Consider using Dialog for critical content",
|
|
31
|
+
],
|
|
32
|
+
usage: `
|
|
33
33
|
import { Popover, Button, View, Text } from '@idealyst/components';
|
|
34
34
|
import { useState, useRef } from 'react';
|
|
35
35
|
|
|
@@ -58,8 +58,8 @@ function Example() {
|
|
|
58
58
|
);
|
|
59
59
|
}
|
|
60
60
|
`,
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
examples: {
|
|
62
|
+
basic: `import { Popover, Button, Text } from '@idealyst/components';
|
|
63
63
|
import { useState, useRef } from 'react';
|
|
64
64
|
|
|
65
65
|
const [open, setOpen] = useState(false);
|
|
@@ -71,8 +71,7 @@ const buttonRef = useRef(null);
|
|
|
71
71
|
<Popover open={open} onOpenChange={setOpen} anchor={buttonRef}>
|
|
72
72
|
<Text>Popover content</Text>
|
|
73
73
|
</Popover>`,
|
|
74
|
-
|
|
75
|
-
variants: `import { Popover, Button, View } from '@idealyst/components';
|
|
74
|
+
variants: `import { Popover, Button, View } from '@idealyst/components';
|
|
76
75
|
|
|
77
76
|
// Different placements
|
|
78
77
|
<Popover open={open} onOpenChange={setOpen} anchor={ref} placement="top">
|
|
@@ -84,8 +83,7 @@ const buttonRef = useRef(null);
|
|
|
84
83
|
<Popover open={open} onOpenChange={setOpen} anchor={ref} placement="right-end">
|
|
85
84
|
<View>Right End</View>
|
|
86
85
|
</Popover>`,
|
|
87
|
-
|
|
88
|
-
"with-icons": `import { Popover, Button, View, Icon, Text } from '@idealyst/components';
|
|
86
|
+
"with-icons": `import { Popover, Button, View, Icon, Text } from '@idealyst/components';
|
|
89
87
|
import { useState, useRef } from 'react';
|
|
90
88
|
|
|
91
89
|
const buttonRef = useRef(null);
|
|
@@ -103,8 +101,7 @@ const [open, setOpen] = useState(false);
|
|
|
103
101
|
<Text size="sm">This feature allows you to...</Text>
|
|
104
102
|
</View>
|
|
105
103
|
</Popover>`,
|
|
106
|
-
|
|
107
|
-
interactive: `import { Popover, Button, View, Text, Input } from '@idealyst/components';
|
|
104
|
+
interactive: `import { Popover, Button, View, Text, Input } from '@idealyst/components';
|
|
108
105
|
import { useState, useRef } from 'react';
|
|
109
106
|
|
|
110
107
|
function Example() {
|
|
@@ -155,5 +152,6 @@ function Example() {
|
|
|
155
152
|
</View>
|
|
156
153
|
);
|
|
157
154
|
}`,
|
|
158
|
-
|
|
155
|
+
},
|
|
159
156
|
};
|
|
157
|
+
//# sourceMappingURL=Popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.js","sourceRoot":"","sources":["../../../src/data/components/Popover.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,uHAAuH;IAChI,KAAK,EAAE;;;;;;;;;;CAUZ;IACC,QAAQ,EAAE;QACR,6CAA6C;QAC7C,0CAA0C;QAC1C,wBAAwB;QACxB,2BAA2B;QAC3B,0BAA0B;QAC1B,gBAAgB;QAChB,kCAAkC;KACnC;IACD,aAAa,EAAE;QACb,sEAAsE;QACtE,0CAA0C;QAC1C,sDAAsD;QACtD,gDAAgD;QAChD,qBAAqB;QACrB,4CAA4C;KAC7C;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;;;;;;WAWA;QAEP,QAAQ,EAAE;;;;;;;;;;;WAWH;QAEP,YAAY,EAAE;;;;;;;;;;;;;;;;;WAiBP;QAEP,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDf;KACC;CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Pressable: {
|
|
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=Pressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../src/data/components/Pressable.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;CA0HrB,CAAC"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
export const Pressable = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
category: "utility",
|
|
3
|
+
description: "Wrapper component that detects various press interactions on children",
|
|
4
|
+
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - Content to render inside the pressable area
|
|
6
6
|
- \`onPress\`: function - Called when the press gesture is activated
|
|
7
7
|
- \`onPressIn\`: function - Called when the press gesture starts
|
|
8
8
|
- \`onPressOut\`: function - Called when the press gesture ends
|
|
9
9
|
- \`disabled\`: boolean - Whether the pressable is disabled
|
|
10
10
|
`,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
11
|
+
features: [
|
|
12
|
+
"Press, press-in, press-out callbacks",
|
|
13
|
+
"Disabled state",
|
|
14
|
+
"Accessibility support",
|
|
15
|
+
"Custom styling",
|
|
16
|
+
"Cross-platform support",
|
|
17
|
+
"Touch feedback",
|
|
18
|
+
],
|
|
19
|
+
bestPractices: [
|
|
20
|
+
"Use for custom interactive elements",
|
|
21
|
+
"Prefer Button for standard button interactions",
|
|
22
|
+
"Provide accessibilityLabel for screen readers",
|
|
23
|
+
"Use accessibilityRole for semantic meaning",
|
|
24
|
+
"Add visual feedback on press",
|
|
25
|
+
"Ensure minimum 44x44px touch target",
|
|
26
|
+
],
|
|
27
|
+
usage: `
|
|
28
28
|
import { Pressable, Text, View } from '@idealyst/components';
|
|
29
29
|
|
|
30
30
|
<Pressable onPress={() => console.log('Pressed')}>
|
|
@@ -33,14 +33,13 @@ import { Pressable, Text, View } from '@idealyst/components';
|
|
|
33
33
|
</View>
|
|
34
34
|
</Pressable>
|
|
35
35
|
`,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
examples: {
|
|
37
|
+
basic: `import { Pressable, Text } from '@idealyst/components';
|
|
38
38
|
|
|
39
39
|
<Pressable onPress={() => console.log('Pressed')}>
|
|
40
40
|
<Text>Tap here</Text>
|
|
41
41
|
</Pressable>`,
|
|
42
|
-
|
|
43
|
-
variants: `import { Pressable, View, Text } from '@idealyst/components';
|
|
42
|
+
variants: `import { Pressable, View, Text } from '@idealyst/components';
|
|
44
43
|
import { useState } from 'react';
|
|
45
44
|
|
|
46
45
|
function Example() {
|
|
@@ -63,8 +62,7 @@ function Example() {
|
|
|
63
62
|
</Pressable>
|
|
64
63
|
);
|
|
65
64
|
}`,
|
|
66
|
-
|
|
67
|
-
"with-icons": `import { Pressable, View, Icon, Text } from '@idealyst/components';
|
|
65
|
+
"with-icons": `import { Pressable, View, Icon, Text } from '@idealyst/components';
|
|
68
66
|
|
|
69
67
|
<Pressable
|
|
70
68
|
onPress={() => handleAction()}
|
|
@@ -85,8 +83,7 @@ function Example() {
|
|
|
85
83
|
<Text>Custom Button</Text>
|
|
86
84
|
</View>
|
|
87
85
|
</Pressable>`,
|
|
88
|
-
|
|
89
|
-
interactive: `import { Pressable, View, Text, Icon } from '@idealyst/components';
|
|
86
|
+
interactive: `import { Pressable, View, Text, Icon } from '@idealyst/components';
|
|
90
87
|
import { useState } from 'react';
|
|
91
88
|
|
|
92
89
|
function CustomCard() {
|
|
@@ -119,5 +116,6 @@ function CustomCard() {
|
|
|
119
116
|
</Pressable>
|
|
120
117
|
);
|
|
121
118
|
}`,
|
|
122
|
-
|
|
119
|
+
},
|
|
123
120
|
};
|
|
121
|
+
//# sourceMappingURL=Pressable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pressable.js","sourceRoot":"","sources":["../../../src/data/components/Pressable.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,uEAAuE;IAChF,KAAK,EAAE;;;;;;CAMZ;IACC,QAAQ,EAAE;QACR,sCAAsC;QACtC,gBAAgB;QAChB,uBAAuB;QACvB,gBAAgB;QAChB,wBAAwB;QACxB,gBAAgB;KACjB;IACD,aAAa,EAAE;QACb,qCAAqC;QACrC,gDAAgD;QAChD,+CAA+C;QAC/C,4CAA4C;QAC5C,8BAA8B;QAC9B,qCAAqC;KACtC;IACD,KAAK,EAAE;;;;;;;;CAQR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;aAIE;QAET,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;EAsBZ;QAEE,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;aAoBL;QAET,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCf;KACC;CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Progress: {
|
|
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=Progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../src/data/components/Progress.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CA8FpB,CAAC"}
|