@idealyst/mcp-server 1.0.93 → 1.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/dist/data/cli-commands.d.ts +2 -0
  2. package/dist/data/cli-commands.d.ts.map +1 -0
  3. package/dist/data/cli-commands.js +100 -0
  4. package/dist/data/cli-commands.js.map +1 -0
  5. package/dist/data/components/Accordion.d.ts +15 -0
  6. package/dist/data/components/Accordion.d.ts.map +1 -0
  7. package/{src/data/components/Accordion.ts → dist/data/components/Accordion.js} +26 -28
  8. package/dist/data/components/Accordion.js.map +1 -0
  9. package/dist/data/components/ActivityIndicator.d.ts +15 -0
  10. package/dist/data/components/ActivityIndicator.d.ts.map +1 -0
  11. package/{src/data/components/ActivityIndicator.ts → dist/data/components/ActivityIndicator.js} +26 -28
  12. package/dist/data/components/ActivityIndicator.js.map +1 -0
  13. package/dist/data/components/Alert.d.ts +15 -0
  14. package/dist/data/components/Alert.d.ts.map +1 -0
  15. package/{src/data/components/Alert.ts → dist/data/components/Alert.js} +28 -30
  16. package/dist/data/components/Alert.js.map +1 -0
  17. package/dist/data/components/Avatar.d.ts +15 -0
  18. package/dist/data/components/Avatar.d.ts.map +1 -0
  19. package/{src/data/components/Avatar.ts → dist/data/components/Avatar.js} +26 -28
  20. package/dist/data/components/Avatar.js.map +1 -0
  21. package/dist/data/components/Badge.d.ts +15 -0
  22. package/dist/data/components/Badge.d.ts.map +1 -0
  23. package/{src/data/components/Badge.ts → dist/data/components/Badge.js} +16 -15
  24. package/dist/data/components/Badge.js.map +1 -0
  25. package/dist/data/components/Breadcrumb.d.ts +15 -0
  26. package/dist/data/components/Breadcrumb.d.ts.map +1 -0
  27. package/{src/data/components/Breadcrumb.ts → dist/data/components/Breadcrumb.js} +27 -29
  28. package/dist/data/components/Breadcrumb.js.map +1 -0
  29. package/dist/data/components/Button.d.ts +15 -0
  30. package/dist/data/components/Button.d.ts.map +1 -0
  31. package/{src/data/components/Button.ts → dist/data/components/Button.js} +18 -17
  32. package/dist/data/components/Button.js.map +1 -0
  33. package/dist/data/components/Card.d.ts +15 -0
  34. package/dist/data/components/Card.d.ts.map +1 -0
  35. package/{src/data/components/Card.ts → dist/data/components/Card.js} +16 -15
  36. package/dist/data/components/Card.js.map +1 -0
  37. package/dist/data/components/Checkbox.d.ts +15 -0
  38. package/dist/data/components/Checkbox.d.ts.map +1 -0
  39. package/{src/data/components/Checkbox.ts → dist/data/components/Checkbox.js} +27 -29
  40. package/dist/data/components/Checkbox.js.map +1 -0
  41. package/dist/data/components/Chip.d.ts +15 -0
  42. package/dist/data/components/Chip.d.ts.map +1 -0
  43. package/{src/data/components/Chip.ts → dist/data/components/Chip.js} +19 -18
  44. package/dist/data/components/Chip.js.map +1 -0
  45. package/dist/data/components/Dialog.d.ts +15 -0
  46. package/dist/data/components/Dialog.d.ts.map +1 -0
  47. package/{src/data/components/Dialog.ts → dist/data/components/Dialog.js} +18 -17
  48. package/dist/data/components/Dialog.js.map +1 -0
  49. package/dist/data/components/Divider.d.ts +15 -0
  50. package/dist/data/components/Divider.d.ts.map +1 -0
  51. package/{src/data/components/Divider.ts → dist/data/components/Divider.js} +26 -28
  52. package/dist/data/components/Divider.js.map +1 -0
  53. package/dist/data/components/Icon.d.ts +15 -0
  54. package/dist/data/components/Icon.d.ts.map +1 -0
  55. package/{src/data/components/Icon.ts → dist/data/components/Icon.js} +26 -28
  56. package/dist/data/components/Icon.js.map +1 -0
  57. package/dist/data/components/Image.d.ts +15 -0
  58. package/dist/data/components/Image.d.ts.map +1 -0
  59. package/{src/data/components/Image.ts → dist/data/components/Image.js} +29 -31
  60. package/dist/data/components/Image.js.map +1 -0
  61. package/dist/data/components/Input.d.ts +15 -0
  62. package/dist/data/components/Input.d.ts.map +1 -0
  63. package/{src/data/components/Input.ts → dist/data/components/Input.js} +20 -19
  64. package/dist/data/components/Input.js.map +1 -0
  65. package/dist/data/components/List.d.ts +15 -0
  66. package/dist/data/components/List.d.ts.map +1 -0
  67. package/{src/data/components/List.ts → dist/data/components/List.js} +18 -17
  68. package/dist/data/components/List.js.map +1 -0
  69. package/dist/data/components/Menu.d.ts +15 -0
  70. package/dist/data/components/Menu.d.ts.map +1 -0
  71. package/{src/data/components/Menu.ts → dist/data/components/Menu.js} +27 -29
  72. package/dist/data/components/Menu.js.map +1 -0
  73. package/dist/data/components/Popover.d.ts +15 -0
  74. package/dist/data/components/Popover.d.ts.map +1 -0
  75. package/{src/data/components/Popover.ts → dist/data/components/Popover.js} +28 -30
  76. package/dist/data/components/Popover.js.map +1 -0
  77. package/dist/data/components/Pressable.d.ts +15 -0
  78. package/dist/data/components/Pressable.d.ts.map +1 -0
  79. package/{src/data/components/Pressable.ts → dist/data/components/Pressable.js} +27 -29
  80. package/dist/data/components/Pressable.js.map +1 -0
  81. package/dist/data/components/Progress.d.ts +15 -0
  82. package/dist/data/components/Progress.d.ts.map +1 -0
  83. package/{src/data/components/Progress.ts → dist/data/components/Progress.js} +27 -29
  84. package/dist/data/components/Progress.js.map +1 -0
  85. package/dist/data/components/RadioButton.d.ts +15 -0
  86. package/dist/data/components/RadioButton.d.ts.map +1 -0
  87. package/{src/data/components/RadioButton.ts → dist/data/components/RadioButton.js} +28 -30
  88. package/dist/data/components/RadioButton.js.map +1 -0
  89. package/dist/data/components/SVGImage.d.ts +15 -0
  90. package/dist/data/components/SVGImage.d.ts.map +1 -0
  91. package/{src/data/components/SVGImage.ts → dist/data/components/SVGImage.js} +27 -29
  92. package/dist/data/components/SVGImage.js.map +1 -0
  93. package/dist/data/components/Screen.d.ts +15 -0
  94. package/dist/data/components/Screen.d.ts.map +1 -0
  95. package/{src/data/components/Screen.ts → dist/data/components/Screen.js} +27 -29
  96. package/dist/data/components/Screen.js.map +1 -0
  97. package/dist/data/components/Select.d.ts +15 -0
  98. package/dist/data/components/Select.d.ts.map +1 -0
  99. package/{src/data/components/Select.ts → dist/data/components/Select.js} +30 -32
  100. package/dist/data/components/Select.js.map +1 -0
  101. package/dist/data/components/Skeleton.d.ts +15 -0
  102. package/dist/data/components/Skeleton.d.ts.map +1 -0
  103. package/{src/data/components/Skeleton.ts → dist/data/components/Skeleton.js} +27 -29
  104. package/dist/data/components/Skeleton.js.map +1 -0
  105. package/dist/data/components/Slider.d.ts +15 -0
  106. package/dist/data/components/Slider.d.ts.map +1 -0
  107. package/{src/data/components/Slider.ts → dist/data/components/Slider.js} +31 -33
  108. package/dist/data/components/Slider.js.map +1 -0
  109. package/dist/data/components/Switch.d.ts +15 -0
  110. package/dist/data/components/Switch.d.ts.map +1 -0
  111. package/{src/data/components/Switch.ts → dist/data/components/Switch.js} +28 -30
  112. package/dist/data/components/Switch.js.map +1 -0
  113. package/dist/data/components/TabBar.d.ts +15 -0
  114. package/dist/data/components/TabBar.d.ts.map +1 -0
  115. package/{src/data/components/TabBar.ts → dist/data/components/TabBar.js} +27 -29
  116. package/dist/data/components/TabBar.js.map +1 -0
  117. package/dist/data/components/Table.d.ts +15 -0
  118. package/dist/data/components/Table.d.ts.map +1 -0
  119. package/{src/data/components/Table.ts → dist/data/components/Table.js} +29 -31
  120. package/dist/data/components/Table.js.map +1 -0
  121. package/dist/data/components/Tabs.d.ts +15 -0
  122. package/dist/data/components/Tabs.d.ts.map +1 -0
  123. package/{src/data/components/Tabs.ts → dist/data/components/Tabs.js} +28 -30
  124. package/dist/data/components/Tabs.js.map +1 -0
  125. package/dist/data/components/Text.d.ts +15 -0
  126. package/dist/data/components/Text.d.ts.map +1 -0
  127. package/{src/data/components/Text.ts → dist/data/components/Text.js} +27 -29
  128. package/dist/data/components/Text.js.map +1 -0
  129. package/dist/data/components/TextArea.d.ts +15 -0
  130. package/dist/data/components/TextArea.d.ts.map +1 -0
  131. package/{src/data/components/TextArea.ts → dist/data/components/TextArea.js} +31 -33
  132. package/dist/data/components/TextArea.js.map +1 -0
  133. package/dist/data/components/Tooltip.d.ts +15 -0
  134. package/dist/data/components/Tooltip.d.ts.map +1 -0
  135. package/{src/data/components/Tooltip.ts → dist/data/components/Tooltip.js} +28 -30
  136. package/dist/data/components/Tooltip.js.map +1 -0
  137. package/dist/data/components/Video.d.ts +15 -0
  138. package/dist/data/components/Video.d.ts.map +1 -0
  139. package/{src/data/components/Video.ts → dist/data/components/Video.js} +31 -33
  140. package/dist/data/components/Video.js.map +1 -0
  141. package/dist/data/components/View.d.ts +15 -0
  142. package/dist/data/components/View.d.ts.map +1 -0
  143. package/{src/data/components/View.ts → dist/data/components/View.js} +28 -30
  144. package/dist/data/components/View.js.map +1 -0
  145. package/dist/data/components/index.d.ts +37 -0
  146. package/dist/data/components/index.d.ts.map +1 -0
  147. package/{src/data/components/index.ts → dist/data/components/index.js} +37 -38
  148. package/dist/data/components/index.js.map +1 -0
  149. package/dist/data/framework-guides.d.ts +2 -0
  150. package/dist/data/framework-guides.d.ts.map +1 -0
  151. package/{src/data/framework-guides.ts → dist/data/framework-guides.js} +8 -12
  152. package/dist/data/framework-guides.js.map +1 -0
  153. package/dist/data/icon-guide.d.ts +2 -0
  154. package/dist/data/icon-guide.d.ts.map +1 -0
  155. package/{src/data/icon-guide.ts → dist/data/icon-guide.js} +1 -0
  156. package/dist/data/icon-guide.js.map +1 -0
  157. package/dist/data/icons.json +7452 -0
  158. package/dist/data/navigation-guides.d.ts +2 -0
  159. package/dist/data/navigation-guides.d.ts.map +1 -0
  160. package/{src/data/navigation-guides.ts → dist/data/navigation-guides.js} +7 -10
  161. package/dist/data/navigation-guides.js.map +1 -0
  162. package/dist/generated/types.json +2556 -0
  163. package/dist/index.d.ts +3 -0
  164. package/dist/index.d.ts.map +1 -0
  165. package/dist/index.js.map +1 -0
  166. package/dist/tools/get-types.d.ts +26 -0
  167. package/dist/tools/get-types.d.ts.map +1 -0
  168. package/dist/tools/get-types.js +123 -0
  169. package/dist/tools/get-types.js.map +1 -0
  170. package/package.json +7 -2
  171. package/ARCHITECTURE.md +0 -313
  172. package/TYPE-SYSTEM.md +0 -397
  173. package/scripts/extract-types.ts +0 -71
  174. package/scripts/type-extractor.ts +0 -286
  175. package/scripts/validate-examples.ts +0 -142
  176. package/src/data/cli-commands.ts +0 -103
  177. package/src/data/icons.json +0 -7452
  178. package/src/index.ts +0 -653
  179. package/src/tools/get-types.ts +0 -169
  180. package/test-client.js +0 -86
  181. package/tsconfig.examples.json +0 -14
  182. package/tsconfig.json +0 -20
@@ -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
- category: "overlay",
3
- description: "Contextual menu with list of actions, typically triggered by a button or other element",
4
- props: `
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
- 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: `
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
- examples: {
60
- basic: `import { Menu, Button } from '@idealyst/components';
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
- category: "overlay",
3
- description: "Floating overlay that displays content anchored to an element, useful for tooltips, menus, and contextual information",
4
- props: `
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
- 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: `
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
- examples: {
62
- basic: `import { Popover, Button, Text } from '@idealyst/components';
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
- category: "utility",
3
- description: "Wrapper component that detects various press interactions on children",
4
- props: `
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
- 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: `
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
- examples: {
37
- basic: `import { Pressable, Text } from '@idealyst/components';
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"}
@@ -1,7 +1,7 @@
1
1
  export const Progress = {
2
- category: "feedback",
3
- description: "Progress indicator showing completion status of tasks or operations",
4
- props: `
2
+ category: "feedback",
3
+ description: "Progress indicator showing completion status of tasks or operations",
4
+ props: `
5
5
  - \`value\`: number - The current progress value (0 to max)
6
6
  - \`max\`: number - The maximum value representing 100% completion
7
7
  - \`variant\`: ProgressVariant - The visual variant (linear or circular)
@@ -12,23 +12,23 @@ export const Progress = {
12
12
  - \`label\`: string - Custom label text (overrides percentage)
13
13
  - \`rounded\`: boolean - Whether to use rounded ends for linear progress
14
14
  `,
15
- features: [
16
- "Linear and circular variants",
17
- "Determinate and indeterminate modes",
18
- "Five intent colors",
19
- "Three sizes",
20
- "Percentage label support",
21
- "Custom label text",
22
- "Rounded ends option",
23
- ],
24
- bestPractices: [
25
- "Use determinate progress when percentage is known",
26
- "Use indeterminate progress for unknown duration",
27
- "Show label for user feedback",
28
- "Use circular variant for compact spaces",
29
- "Match intent to operation context",
30
- ],
31
- usage: `
15
+ features: [
16
+ "Linear and circular variants",
17
+ "Determinate and indeterminate modes",
18
+ "Five intent colors",
19
+ "Three sizes",
20
+ "Percentage label support",
21
+ "Custom label text",
22
+ "Rounded ends option",
23
+ ],
24
+ bestPractices: [
25
+ "Use determinate progress when percentage is known",
26
+ "Use indeterminate progress for unknown duration",
27
+ "Show label for user feedback",
28
+ "Use circular variant for compact spaces",
29
+ "Match intent to operation context",
30
+ ],
31
+ usage: `
32
32
  import { Progress } from '@idealyst/components';
33
33
 
34
34
  <Progress
@@ -38,20 +38,18 @@ import { Progress } from '@idealyst/components';
38
38
  showLabel
39
39
  />
40
40
  `,
41
- examples: {
42
- basic: `import { Progress } from '@idealyst/components';
41
+ examples: {
42
+ basic: `import { Progress } from '@idealyst/components';
43
43
 
44
44
  <Progress value={50} />`,
45
-
46
- variants: `import { Progress, View } from '@idealyst/components';
45
+ variants: `import { Progress, View } from '@idealyst/components';
47
46
 
48
47
  <View spacing="md">
49
48
  <Progress value={30} type="linear" intent="primary" />
50
49
  <Progress value={60} type="linear" intent="success" />
51
50
  <Progress value={value} type="circular" size="lg" showLabel />
52
51
  </View>`,
53
-
54
- "with-icons": `import { Progress, View, Text } from '@idealyst/components';
52
+ "with-icons": `import { Progress, View, Text } from '@idealyst/components';
55
53
 
56
54
  <View spacing="sm">
57
55
  <View style={{ flexDirection: 'row', justifyContent: 'space-between' }}>
@@ -60,8 +58,7 @@ import { Progress } from '@idealyst/components';
60
58
  </View>
61
59
  <Progress value={progress} intent="primary" />
62
60
  </View>`,
63
-
64
- interactive: `import { Progress, Button, View, Text } from '@idealyst/components';
61
+ interactive: `import { Progress, Button, View, Text } from '@idealyst/components';
65
62
  import { useState, useEffect } from 'react';
66
63
 
67
64
  function Example() {
@@ -91,5 +88,6 @@ function Example() {
91
88
  </View>
92
89
  );
93
90
  }`,
94
- },
91
+ },
95
92
  };
93
+ //# sourceMappingURL=Progress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Progress.js","sourceRoot":"","sources":["../../../src/data/components/Progress.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,qEAAqE;IAC9E,KAAK,EAAE;;;;;;;;;;CAUZ;IACC,QAAQ,EAAE;QACR,8BAA8B;QAC9B,qCAAqC;QACrC,oBAAoB;QACpB,aAAa;QACb,0BAA0B;QAC1B,mBAAmB;QACnB,qBAAqB;KACtB;IACD,aAAa,EAAE;QACb,mDAAmD;QACnD,iDAAiD;QACjD,8BAA8B;QAC9B,yCAAyC;QACzC,mCAAmC;KACpC;IACD,KAAK,EAAE;;;;;;;;;CASR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;wBAEa;QAEpB,QAAQ,EAAE;;;;;;QAMN;QAEJ,YAAY,EAAE;;;;;;;;QAQV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Bf;KACC;CACF,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const RadioButton: {
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=RadioButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/data/components/RadioButton.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAiIvB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export const RadioButton = {
2
- category: "form",
3
- description: "Radio button for single-choice selection within a group",
4
- props: `
2
+ category: "form",
3
+ description: "Radio button for single-choice selection within a group",
4
+ props: `
5
5
  - \`value\`: string - The value of this radio button option
6
6
  - \`checked\`: boolean - Whether this radio button is selected
7
7
  - \`onPress\`: function - Called when the radio button is pressed
@@ -10,24 +10,24 @@ export const RadioButton = {
10
10
  - \`size\`: RadioButtonSizeVariant - The size variant of the radio button
11
11
  - \`intent\`: RadioButtonIntentVariant - The intent/color scheme of the radio button
12
12
  `,
13
- features: [
14
- "Single selection within group",
15
- "Horizontal and vertical layouts",
16
- "Label support",
17
- "Three sizes",
18
- "Five intent colors",
19
- "Disabled state (individual or group)",
20
- "Controlled component",
21
- ],
22
- bestPractices: [
23
- "Use RadioGroup to manage selection state",
24
- "Always provide labels for accessibility",
25
- "Use for mutually exclusive options (3-5 choices)",
26
- "For 2 options, consider Switch or Checkbox",
27
- "For many options (>5), consider Select",
28
- "Group related options visually",
29
- ],
30
- usage: `
13
+ features: [
14
+ "Single selection within group",
15
+ "Horizontal and vertical layouts",
16
+ "Label support",
17
+ "Three sizes",
18
+ "Five intent colors",
19
+ "Disabled state (individual or group)",
20
+ "Controlled component",
21
+ ],
22
+ bestPractices: [
23
+ "Use RadioGroup to manage selection state",
24
+ "Always provide labels for accessibility",
25
+ "Use for mutually exclusive options (3-5 choices)",
26
+ "For 2 options, consider Switch or Checkbox",
27
+ "For many options (>5), consider Select",
28
+ "Group related options visually",
29
+ ],
30
+ usage: `
31
31
  import { RadioGroup, RadioButton } from '@idealyst/components';
32
32
  import { useState } from 'react';
33
33
 
@@ -43,15 +43,14 @@ function Example() {
43
43
  );
44
44
  }
45
45
  `,
46
- examples: {
47
- basic: `import { RadioGroup, RadioButton } from '@idealyst/components';
46
+ examples: {
47
+ basic: `import { RadioGroup, RadioButton } from '@idealyst/components';
48
48
 
49
49
  <RadioGroup value={selected} onValueChange={setSelected}>
50
50
  <RadioButton value="a" label="Choice A" />
51
51
  <RadioButton value="b" label="Choice B" />
52
52
  </RadioGroup>`,
53
-
54
- variants: `import { RadioGroup, RadioButton, View } from '@idealyst/components';
53
+ variants: `import { RadioGroup, RadioButton, View } from '@idealyst/components';
55
54
 
56
55
  <View spacing="md">
57
56
  {/* Vertical (default) */}
@@ -67,8 +66,7 @@ function Example() {
67
66
  <RadioButton value="3" label="Large" size="lg" />
68
67
  </RadioGroup>
69
68
  </View>`,
70
-
71
- "with-icons": `import { RadioGroup, RadioButton } from '@idealyst/components';
69
+ "with-icons": `import { RadioGroup, RadioButton } from '@idealyst/components';
72
70
 
73
71
  <RadioGroup value={plan} onValueChange={setPlan}>
74
72
  <RadioButton
@@ -87,8 +85,7 @@ function Example() {
87
85
  intent="success"
88
86
  />
89
87
  </RadioGroup>`,
90
-
91
- interactive: `import { RadioGroup, RadioButton, View, Text, Card } from '@idealyst/components';
88
+ interactive: `import { RadioGroup, RadioButton, View, Text, Card } from '@idealyst/components';
92
89
  import { useState } from 'react';
93
90
 
94
91
  function Example() {
@@ -126,5 +123,6 @@ function Example() {
126
123
  </View>
127
124
  );
128
125
  }`,
129
- },
126
+ },
130
127
  };
128
+ //# sourceMappingURL=RadioButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioButton.js","sourceRoot":"","sources":["../../../src/data/components/RadioButton.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,yDAAyD;IAClE,KAAK,EAAE;;;;;;;;CAQZ;IACC,QAAQ,EAAE;QACR,+BAA+B;QAC/B,iCAAiC;QACjC,eAAe;QACf,aAAa;QACb,oBAAoB;QACpB,sCAAsC;QACtC,sBAAsB;KACvB;IACD,aAAa,EAAE;QACb,0CAA0C;QAC1C,yCAAyC;QACzC,kDAAkD;QAClD,4CAA4C;QAC5C,wCAAwC;QACxC,gCAAgC;KACjC;IACD,KAAK,EAAE;;;;;;;;;;;;;;;CAeR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;cAKG;QAEV,QAAQ,EAAE;;;;;;;;;;;;;;;QAeN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;;;;cAkBJ;QAEV,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCf;KACC;CACF,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const SVGImage: {
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=SVGImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SVGImage.d.ts","sourceRoot":"","sources":["../../../src/data/components/SVGImage.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAiHpB,CAAC"}