@idealyst/mcp-server 1.2.7 → 1.2.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/data/components/Button.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CA4GlB,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/data/components/Button.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CA2GlB,CAAC"}
@@ -14,13 +14,12 @@ export const Button = {
14
14
  - \`rightIcon\`: IconName | React.ReactNode - Icon to display on the right side. Can be an icon name or custom component (ReactNode)
15
15
  `,
16
16
  features: [
17
- "Three variants: contained, outlined, text",
18
- "Five intent colors for semantic meaning",
19
- "Three sizes: sm, md, lg",
17
+ "Three type variants: contained, outlined, text",
18
+ "Five intent colors: primary, neutral, success, error, warning",
19
+ "Five sizes: xs, sm, md, lg, xl",
20
20
  "Gradient overlay effects (darken/lighten) for contained buttons",
21
- "Icon support with string names or custom React elements",
22
- "Loading and disabled states",
23
- "Full width option",
21
+ "Left and right icon support with MDI icons or custom React elements",
22
+ "Disabled states with visual feedback",
24
23
  "Cross-platform (React & React Native)",
25
24
  ],
26
25
  bestPractices: [
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/data/components/Button.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACtB,QAAQ,EAAE,MAAM;IACZ,WAAW,EAAE,8EAA8E;IACvF,KAAK,EAAE;;;;;;;;;;;CAWd;IACG,QAAQ,EAAE;QACR,2CAA2C;QAC3C,yCAAyC;QACzC,yBAAyB;QACzB,iEAAiE;QACjE,yDAAyD;QACzD,6BAA6B;QAC7B,mBAAmB;QACnB,uCAAuC;KACxC;IACD,aAAa,EAAE;QACb,uCAAuC;QACvC,+CAA+C;QAC/C,6DAA6D;QAC7D,gDAAgD;QAChD,qEAAqE;KACtE;IACD,KAAK,EAAE;;;;;;;;;;;CAWV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;UAKH;QACJ,QAAQ,EAAE;;;;;mDAKmC;QAC7C,YAAY,EAAE;;;;;;;;wBAQI;QAClB,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;EAoBjB;QACI,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;UAmBN;KACL;CACJ,CAAC"}
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/data/components/Button.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACtB,QAAQ,EAAE,MAAM;IACZ,WAAW,EAAE,8EAA8E;IACvF,KAAK,EAAE;;;;;;;;;;;CAWd;IACG,QAAQ,EAAE;QACR,gDAAgD;QAChD,+DAA+D;QAC/D,gCAAgC;QAChC,iEAAiE;QACjE,qEAAqE;QACrE,sCAAsC;QACtC,uCAAuC;KACxC;IACD,aAAa,EAAE;QACb,uCAAuC;QACvC,+CAA+C;QAC/C,6DAA6D;QAC7D,gDAAgD;QAChD,qEAAqE;KACtE;IACD,KAAK,EAAE;;;;;;;;;;;CAWV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;UAKH;QACJ,QAAQ,EAAE;;;;;mDAKmC;QAC7C,YAAY,EAAE;;;;;;;;wBAQI;QAClB,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;EAoBjB;QACI,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;UAmBN;KACL;CACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAwJjB,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAyJjB,CAAC"}
@@ -26,9 +26,10 @@ export const Input = {
26
26
  "Left and right icon support with MDI icons",
27
27
  "Password visibility toggle with eye/eye-off icons",
28
28
  "Multiple input types (text, email, password, number)",
29
- "Three size variants",
30
- "Four style variants (default, outlined, filled, bare)",
31
- "Disabled state",
29
+ "Five size variants (xs, sm, md, lg, xl)",
30
+ "Three style variants (outlined, filled, bare)",
31
+ "Intent colors for focus/validation states",
32
+ "Disabled and error states",
32
33
  "Auto-capitalization control",
33
34
  "Focus and blur event handlers",
34
35
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACrB,QAAQ,EAAE,MAAM;IACZ,WAAW,EAAE,mGAAmG;IAC5G,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;CAoBd;IACG,QAAQ,EAAE;QACR,4CAA4C;QAC5C,mDAAmD;QACnD,sDAAsD;QACtD,qBAAqB;QACrB,uDAAuD;QACvD,gBAAgB;QAChB,6BAA6B;QAC7B,+BAA+B;KAChC;IACD,aAAa,EAAE;QACb,sEAAsE;QACtE,sDAAsD;QACtD,yEAAyE;QACzE,0CAA0C;QAC1C,mEAAmE;KACpE;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;CAiBV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;GAIV;QACG,QAAQ,EAAE;;;;;;;;;;;;;;;;;;yCAkByB;QACnC,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCjB;QACG,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;EAyBjB;KACG;CACJ,CAAC"}
1
+ {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACrB,QAAQ,EAAE,MAAM;IACZ,WAAW,EAAE,mGAAmG;IAC5G,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;CAoBd;IACG,QAAQ,EAAE;QACR,4CAA4C;QAC5C,mDAAmD;QACnD,sDAAsD;QACtD,yCAAyC;QACzC,+CAA+C;QAC/C,2CAA2C;QAC3C,2BAA2B;QAC3B,6BAA6B;QAC7B,+BAA+B;KAChC;IACD,aAAa,EAAE;QACb,sEAAsE;QACtE,sDAAsD;QACtD,yEAAyE;QACzE,0CAA0C;QAC1C,mEAAmE;KACpE;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;CAiBV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;GAIV;QACG,QAAQ,EAAE;;;;;;;;;;;;;;;;;;yCAkByB;QACnC,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCjB;QACG,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;EAyBjB;KACG;CACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CA2FhB,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CAkGhB,CAAC"}
@@ -1,20 +1,21 @@
1
1
  export const Text = {
2
2
  category: "typography",
3
- description: "Styled text component with size, weight, color, and spacing variants",
3
+ description: "Styled text component with typography variants, weight, color, and spacing options",
4
4
  props: `
5
5
  - \`children\`: React.ReactNode - The text content to display
6
- - \`size\`: TextSizeVariant - The size variant of the text
7
- - \`weight\`: TextWeightVariant - The weight of the text
8
- - \`color\`: TextColorVariant - The color of the text
9
- - \`align\`: TextAlignVariant - Text alignment
6
+ - \`typography\`: Typography - The typography variant (h1, h2, h3, h4, h5, h6, body1, body2, caption). Sets fontSize, lineHeight, and fontWeight automatically.
7
+ - \`weight\`: TextWeightVariant - Override the weight ('light' | 'normal' | 'medium' | 'semibold' | 'bold')
8
+ - \`color\`: TextColorVariant - The color of the text (theme text colors)
9
+ - \`align\`: TextAlignVariant - Text alignment ('left' | 'center' | 'right')
10
10
  - \`gap\`: Size - Space between nested elements ('xs' | 'sm' | 'md' | 'lg' | 'xl')
11
11
  - \`padding\`: Size - Padding on all sides
12
12
  - \`paddingVertical\`: Size - Top and bottom padding
13
13
  - \`paddingHorizontal\`: Size - Left and right padding
14
14
  `,
15
15
  features: [
16
- "Four size variants",
17
- "Five weight options",
16
+ "Semantic typography variants (headings h1-h6, body1, body2, caption)",
17
+ "Typography automatically sets fontSize, lineHeight, fontWeight",
18
+ "Weight can be overridden independently",
18
19
  "Theme color variants",
19
20
  "Three alignment options",
20
21
  "Gap variant for nested elements",
@@ -23,8 +24,8 @@ export const Text = {
23
24
  "Inherits parent text styles",
24
25
  ],
25
26
  bestPractices: [
26
- "Use semantic sizes (xl for headings, sm for captions)",
27
- "Use appropriate weights for hierarchy",
27
+ "Use semantic typography variants (h1-h6 for headings, body1/body2 for content, caption for small text)",
28
+ "Override weight only when needed - typography variants include sensible defaults",
28
29
  "Prefer theme colors over custom colors",
29
30
  "Use 'left' alignment for body text",
30
31
  "Use 'center' for short, important text",
@@ -34,13 +35,17 @@ export const Text = {
34
35
  usage: `
35
36
  import { Text } from '@idealyst/components';
36
37
 
37
- <Text size="xl" weight="bold" color="primary">
38
- Heading Text
38
+ <Text typography="h1" color="primary">
39
+ Main Heading
39
40
  </Text>
40
41
 
41
- <Text size="md" color="secondary">
42
+ <Text typography="body1" color="secondary">
42
43
  Body text with normal weight
43
44
  </Text>
45
+
46
+ <Text typography="caption" color="tertiary">
47
+ Small caption text
48
+ </Text>
44
49
  `,
45
50
  examples: {
46
51
  basic: `import { Text } from '@idealyst/components';
@@ -49,15 +54,17 @@ import { Text } from '@idealyst/components';
49
54
  variants: `import { Text, View } from '@idealyst/components';
50
55
 
51
56
  <View spacing="md">
52
- <Text size="sm">Small text</Text>
53
- <Text size="md">Medium text</Text>
54
- <Text size="lg">Large text</Text>
55
- <Text size="xl">Extra large text</Text>
57
+ <Text typography="h1">Heading 1</Text>
58
+ <Text typography="h2">Heading 2</Text>
59
+ <Text typography="h3">Heading 3</Text>
60
+ <Text typography="body1">Body text (default)</Text>
61
+ <Text typography="body2">Smaller body text</Text>
62
+ <Text typography="caption">Caption text</Text>
56
63
  </View>`,
57
64
  "with-icons": `import { Text, View, Icon } from '@idealyst/components';
58
65
 
59
66
  <View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}>
60
- <Icon name="check-circle" size="md" color="success" />
67
+ <Icon name="check-circle" color="success" />
61
68
  <Text color="success" weight="medium">
62
69
  Verified Account
63
70
  </Text>
@@ -70,7 +77,7 @@ function Example() {
70
77
 
71
78
  return (
72
79
  <View spacing="md">
73
- <Text size="xl" weight="bold" align="center">
80
+ <Text typography="h2" weight="bold" align="center">
74
81
  Counter: {count}
75
82
  </Text>
76
83
 
@@ -79,7 +86,7 @@ function Example() {
79
86
  <Button onPress={() => setCount(count + 1)}>+</Button>
80
87
  </View>
81
88
 
82
- <Text size="sm" color="secondary" align="center">
89
+ <Text typography="body2" color="secondary" align="center">
83
90
  Click buttons to change the count
84
91
  </Text>
85
92
  </View>
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,sEAAsE;IAC/E,KAAK,EAAE;;;;;;;;;;CAUZ;IACC,QAAQ,EAAE;QACR,oBAAoB;QACpB,qBAAqB;QACrB,sBAAsB;QACtB,yBAAyB;QACzB,iCAAiC;QACjC,4CAA4C;QAC5C,wBAAwB;QACxB,6BAA6B;KAC9B;IACD,aAAa,EAAE;QACb,uDAAuD;QACvD,uCAAuC;QACvC,wCAAwC;QACxC,oCAAoC;QACpC,wCAAwC;QACxC,6DAA6D;QAC7D,uCAAuC;KACxC;IACD,KAAK,EAAE;;;;;;;;;;CAUR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;iCAEsB;QAE7B,QAAQ,EAAE;;;;;;;QAON;QAEJ,YAAY,EAAE;;;;;;;QAOV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;EAsBf;KACC;CACF,CAAC"}
1
+ {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,oFAAoF;IAC7F,KAAK,EAAE;;;;;;;;;;CAUZ;IACC,QAAQ,EAAE;QACR,sEAAsE;QACtE,gEAAgE;QAChE,wCAAwC;QACxC,sBAAsB;QACtB,yBAAyB;QACzB,iCAAiC;QACjC,4CAA4C;QAC5C,wBAAwB;QACxB,6BAA6B;KAC9B;IACD,aAAa,EAAE;QACb,wGAAwG;QACxG,kFAAkF;QAClF,wCAAwC;QACxC,oCAAoC;QACpC,wCAAwC;QACxC,6DAA6D;QAC7D,uCAAuC;KACxC;IACD,KAAK,EAAE;;;;;;;;;;;;;;CAcR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;iCAEsB;QAE7B,QAAQ,EAAE;;;;;;;;;QASN;QAEJ,YAAY,EAAE;;;;;;;QAOV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;EAsBf;KACC;CACF,CAAC"}
@@ -1 +1 @@
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,CA8hClD,CAAC"}
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,CA8rDlD,CAAC"}