@idealyst/mcp-server 1.2.28 → 1.2.30

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 (34) hide show
  1. package/dist/{chunk-QMHFAEAR.js → chunk-WJCICXOJ.js} +5 -5
  2. package/dist/{chunk-QMHFAEAR.js.map → chunk-WJCICXOJ.js.map} +1 -1
  3. package/dist/index.cjs +6 -3
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/tools/index.cjs +6 -3
  7. package/dist/tools/index.cjs.map +1 -1
  8. package/dist/tools/index.js +1 -1
  9. package/examples/components/ActivityIndicator.examples.tsx +22 -22
  10. package/examples/components/Alert.examples.tsx +14 -14
  11. package/examples/components/Avatar.examples.tsx +7 -7
  12. package/examples/components/Breadcrumb.examples.tsx +6 -6
  13. package/examples/components/Button.examples.tsx +1 -1
  14. package/examples/components/Card.examples.tsx +1 -1
  15. package/examples/components/Checkbox.examples.tsx +26 -26
  16. package/examples/components/Chip.examples.tsx +1 -1
  17. package/examples/components/Dialog.examples.tsx +25 -25
  18. package/examples/components/Divider.examples.tsx +31 -27
  19. package/examples/components/Icon.examples.tsx +12 -12
  20. package/examples/components/Menu.examples.tsx +3 -3
  21. package/examples/components/Popover.examples.tsx +36 -36
  22. package/examples/components/Progress.examples.tsx +42 -42
  23. package/examples/components/RadioButton.examples.tsx +21 -21
  24. package/examples/components/Screen.examples.tsx +35 -35
  25. package/examples/components/Select.examples.tsx +17 -17
  26. package/examples/components/Skeleton.examples.tsx +1 -1
  27. package/examples/components/Slider.examples.tsx +23 -23
  28. package/examples/components/Switch.examples.tsx +17 -17
  29. package/examples/components/TabBar.examples.tsx +13 -13
  30. package/examples/components/Text.examples.tsx +26 -26
  31. package/examples/components/{Input.examples.tsx → TextInput.examples.tsx} +47 -47
  32. package/examples/components/Tooltip.examples.tsx +11 -11
  33. package/examples/components/View.examples.tsx +22 -22
  34. package/package.json +4 -4
@@ -90,7 +90,7 @@ export function TabBarWithDisabledItems() {
90
90
  return (
91
91
  <View spacing="md">
92
92
  <TabBar items={items} value={value} onChange={setValue} />
93
- <Text size="sm" >
93
+ <Text typography="body2">
94
94
  Explore and Settings tabs are disabled
95
95
  </Text>
96
96
  </View>
@@ -151,7 +151,7 @@ export function TabBarWithContent() {
151
151
  <View background="primary" spacing="lg" radius="md">
152
152
  {value === 'overview' && (
153
153
  <View spacing="sm">
154
- <Text size="lg" weight="bold">
154
+ <Text typography="subtitle1" weight="bold">
155
155
  Overview
156
156
  </Text>
157
157
  <Text>This is the overview content section.</Text>
@@ -159,7 +159,7 @@ export function TabBarWithContent() {
159
159
  )}
160
160
  {value === 'details' && (
161
161
  <View spacing="sm">
162
- <Text size="lg" weight="bold">
162
+ <Text typography="subtitle1" weight="bold">
163
163
  Details
164
164
  </Text>
165
165
  <Text>This is the details content section.</Text>
@@ -167,7 +167,7 @@ export function TabBarWithContent() {
167
167
  )}
168
168
  {value === 'reviews' && (
169
169
  <View spacing="sm">
170
- <Text size="lg" weight="bold">
170
+ <Text typography="subtitle1" weight="bold">
171
171
  Reviews
172
172
  </Text>
173
173
  <Text>This is the reviews content section.</Text>
@@ -189,7 +189,7 @@ export function TabBarWithDefaultValue() {
189
189
  return (
190
190
  <View spacing="md">
191
191
  <TabBar items={items} defaultValue="messages" />
192
- <Text size="sm" >
192
+ <Text typography="body2">
193
193
  Default value is set to "messages"
194
194
  </Text>
195
195
  </View>
@@ -218,7 +218,7 @@ export function NavigationTabBar() {
218
218
  />
219
219
  <View background="primary" spacing="md" radius="md">
220
220
  <Text weight="bold">{activeTab.charAt(0).toUpperCase() + activeTab.slice(1)} Screen</Text>
221
- <Text size="sm" >
221
+ <Text typography="body2">
222
222
  Content for {activeTab} goes here
223
223
  </Text>
224
224
  </View>
@@ -240,10 +240,10 @@ export function SettingsTabBar() {
240
240
  return (
241
241
  <View spacing="lg">
242
242
  <View spacing="sm">
243
- <Text size="xl" weight="bold">
243
+ <Text typography="h5" weight="bold">
244
244
  Settings
245
245
  </Text>
246
- <Text size="sm" >
246
+ <Text typography="body2">
247
247
  Manage your account settings
248
248
  </Text>
249
249
  </View>
@@ -254,7 +254,7 @@ export function SettingsTabBar() {
254
254
  onChange={setSection}
255
255
  />
256
256
  <View spacing="md">
257
- <Text weight="semibold" size="lg">
257
+ <Text weight="semibold" typography="subtitle1">
258
258
  {section.charAt(0).toUpperCase() + section.slice(1)} Settings
259
259
  </Text>
260
260
  <Text>Configure your {section} preferences here.</Text>
@@ -277,7 +277,7 @@ export function DashboardTabBar() {
277
277
  return (
278
278
  <View spacing="lg">
279
279
  <View spacing="md">
280
- <Text size="xl" weight="bold">
280
+ <Text typography="h5" weight="bold">
281
281
  Analytics Dashboard
282
282
  </Text>
283
283
  <TabBar
@@ -289,7 +289,7 @@ export function DashboardTabBar() {
289
289
  />
290
290
  </View>
291
291
  <View background="primary" spacing="lg" radius="lg">
292
- <Text size="lg" weight="semibold">
292
+ <Text typography="subtitle1" weight="semibold">
293
293
  Statistics for: {period.charAt(0).toUpperCase() + period.slice(1)}
294
294
  </Text>
295
295
  <View spacing="sm">
@@ -316,10 +316,10 @@ export function ProductDetailsTabBar() {
316
316
  return (
317
317
  <View spacing="lg">
318
318
  <View spacing="md">
319
- <Text size="xl" weight="bold">
319
+ <Text typography="h5" weight="bold">
320
320
  Product Name
321
321
  </Text>
322
- <Text size="lg" >
322
+ <Text typography="subtitle1">
323
323
  $99.99
324
324
  </Text>
325
325
  </View>
@@ -17,10 +17,10 @@ export function BasicText() {
17
17
  export function TextSizes() {
18
18
  return (
19
19
  <View spacing="md">
20
- <Text size="sm">Small text</Text>
21
- <Text size="md">Medium text</Text>
22
- <Text size="lg">Large text</Text>
23
- <Text size="xl">Extra large text</Text>
20
+ <Text typography="body2">Small text</Text>
21
+ <Text typography="body1">Medium text</Text>
22
+ <Text typography="subtitle1">Large text</Text>
23
+ <Text typography="h5">Extra large text</Text>
24
24
  </View>
25
25
  );
26
26
  }
@@ -66,16 +66,16 @@ export function TextWithColor() {
66
66
  export function CombinedTextStyles() {
67
67
  return (
68
68
  <View spacing="md">
69
- <Text size="xl" weight="bold" >
69
+ <Text typography="h5" weight="bold">
70
70
  Heading 1
71
71
  </Text>
72
- <Text size="lg" weight="semibold" >
72
+ <Text typography="subtitle1" weight="semibold">
73
73
  Heading 2
74
74
  </Text>
75
- <Text size="md" weight="medium" >
75
+ <Text typography="body1" weight="medium">
76
76
  Subheading
77
77
  </Text>
78
- <Text size="sm" weight="normal" >
78
+ <Text typography="body2" weight="normal">
79
79
  Body text
80
80
  </Text>
81
81
  </View>
@@ -86,14 +86,14 @@ export function CombinedTextStyles() {
86
86
  export function ParagraphText() {
87
87
  return (
88
88
  <View spacing="md">
89
- <Text size="lg" weight="bold" >
89
+ <Text typography="subtitle1" weight="bold">
90
90
  Article Title
91
91
  </Text>
92
- <Text size="md" >
92
+ <Text typography="body1">
93
93
  This is a paragraph of text that demonstrates how the Text component can be used for
94
94
  longer content. It maintains good readability with appropriate sizing and spacing.
95
95
  </Text>
96
- <Text size="md" >
96
+ <Text typography="body1">
97
97
  You can create multiple paragraphs by using multiple Text components, each with their own
98
98
  styling and configuration.
99
99
  </Text>
@@ -106,26 +106,26 @@ export function LabelsAndDescriptions() {
106
106
  return (
107
107
  <View spacing="lg">
108
108
  <View spacing="xs">
109
- <Text size="sm" weight="semibold" >
109
+ <Text typography="body2" weight="semibold">
110
110
  Username
111
111
  </Text>
112
- <Text size="md" >
112
+ <Text typography="body1">
113
113
  johndoe
114
114
  </Text>
115
115
  </View>
116
116
  <View spacing="xs">
117
- <Text size="sm" weight="semibold" >
117
+ <Text typography="body2" weight="semibold">
118
118
  Email
119
119
  </Text>
120
- <Text size="md" >
120
+ <Text typography="body1">
121
121
  john.doe@example.com
122
122
  </Text>
123
123
  </View>
124
124
  <View spacing="xs">
125
- <Text size="sm" weight="semibold" >
125
+ <Text typography="body2" weight="semibold">
126
126
  Status
127
127
  </Text>
128
- <Text size="md" weight="medium">
128
+ <Text typography="body1" weight="medium">
129
129
  Active
130
130
  </Text>
131
131
  </View>
@@ -137,16 +137,16 @@ export function LabelsAndDescriptions() {
137
137
  export function StatusMessages() {
138
138
  return (
139
139
  <View spacing="md">
140
- <Text size="sm" weight="medium">
140
+ <Text typography="body2" weight="medium">
141
141
  ✓ Form submitted successfully
142
142
  </Text>
143
- <Text size="sm" weight="medium">
143
+ <Text typography="body2" weight="medium">
144
144
  ✗ Please fill out all required fields
145
145
  </Text>
146
- <Text size="sm" weight="medium">
146
+ <Text typography="body2" weight="medium">
147
147
  ℹ Your changes have been saved
148
148
  </Text>
149
- <Text size="sm" weight="medium">
149
+ <Text typography="body2" weight="medium">
150
150
  ⚠ This action cannot be undone
151
151
  </Text>
152
152
  </View>
@@ -157,19 +157,19 @@ export function StatusMessages() {
157
157
  export function TypographyHierarchy() {
158
158
  return (
159
159
  <View spacing="lg">
160
- <Text size="xl" weight="bold" >
160
+ <Text typography="h5" weight="bold">
161
161
  Page Title
162
162
  </Text>
163
- <Text size="lg" weight="semibold" >
163
+ <Text typography="subtitle1" weight="semibold">
164
164
  Section Heading
165
165
  </Text>
166
- <Text size="md" weight="medium" >
166
+ <Text typography="body1" weight="medium">
167
167
  Subsection Title
168
168
  </Text>
169
- <Text size="md" >
169
+ <Text typography="body1">
170
170
  Body text content goes here with regular weight and medium size for optimal readability.
171
171
  </Text>
172
- <Text size="sm" >
172
+ <Text typography="body2">
173
173
  Small print or supplementary information can use smaller text size.
174
174
  </Text>
175
175
  </View>
@@ -1,19 +1,19 @@
1
1
  /**
2
- * Input Component Examples
2
+ * TextInput Component Examples
3
3
  *
4
- * These examples are type-checked against the actual InputProps interface
4
+ * These examples are type-checked against the actual TextInputProps interface
5
5
  * to ensure accuracy and correctness.
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import { Input, View } from '@idealyst/components';
9
+ import { TextInput, View } from '@idealyst/components';
10
10
 
11
- // Example 1: Basic Input
12
- export function BasicInput() {
11
+ // Example 1: Basic TextInput
12
+ export function BasicTextInput() {
13
13
  const [value, setValue] = React.useState('');
14
14
 
15
15
  return (
16
- <Input
16
+ <TextInput
17
17
  value={value}
18
18
  onChangeText={setValue}
19
19
  placeholder="Enter text..."
@@ -21,53 +21,53 @@ export function BasicInput() {
21
21
  );
22
22
  }
23
23
 
24
- // Example 2: Input Types
25
- export function InputTypes() {
24
+ // Example 2: TextInput Types
25
+ export function TextInputTypes() {
26
26
  const [value, setValue] = React.useState('');
27
27
 
28
28
  return (
29
29
  <View spacing="md">
30
- <Input type="outlined" value={value} onChangeText={setValue} placeholder="Outlined" />
31
- <Input type="filled" value={value} onChangeText={setValue} placeholder="Filled" />
32
- <Input type="bare" value={value} onChangeText={setValue} placeholder="Bare" />
30
+ <TextInput type="outlined" value={value} onChangeText={setValue} placeholder="Outlined" />
31
+ <TextInput type="filled" value={value} onChangeText={setValue} placeholder="Filled" />
32
+ <TextInput type="bare" value={value} onChangeText={setValue} placeholder="Bare" />
33
33
  </View>
34
34
  );
35
35
  }
36
36
 
37
- // Example 3: Input Sizes
38
- export function InputSizes() {
37
+ // Example 3: TextInput Sizes
38
+ export function TextInputSizes() {
39
39
  const [value, setValue] = React.useState('');
40
40
 
41
41
  return (
42
42
  <View spacing="md">
43
- <Input size="xs" value={value} onChangeText={setValue} placeholder="Extra Small" />
44
- <Input size="sm" value={value} onChangeText={setValue} placeholder="Small" />
45
- <Input size="md" value={value} onChangeText={setValue} placeholder="Medium" />
46
- <Input size="lg" value={value} onChangeText={setValue} placeholder="Large" />
47
- <Input size="xl" value={value} onChangeText={setValue} placeholder="Extra Large" />
43
+ <TextInput size="xs" value={value} onChangeText={setValue} placeholder="Extra Small" />
44
+ <TextInput size="sm" value={value} onChangeText={setValue} placeholder="Small" />
45
+ <TextInput size="md" value={value} onChangeText={setValue} placeholder="Medium" />
46
+ <TextInput size="lg" value={value} onChangeText={setValue} placeholder="Large" />
47
+ <TextInput size="xl" value={value} onChangeText={setValue} placeholder="Extra Large" />
48
48
  </View>
49
49
  );
50
50
  }
51
51
 
52
- // Example 4: Input with Icons
53
- export function InputWithIcons() {
52
+ // Example 4: TextInput with Icons
53
+ export function TextInputWithIcons() {
54
54
  const [value, setValue] = React.useState('');
55
55
 
56
56
  return (
57
57
  <View spacing="md">
58
- <Input
58
+ <TextInput
59
59
  leftIcon="magnify"
60
60
  value={value}
61
61
  onChangeText={setValue}
62
62
  placeholder="Search..."
63
63
  />
64
- <Input
64
+ <TextInput
65
65
  rightIcon="email"
66
66
  value={value}
67
67
  onChangeText={setValue}
68
68
  placeholder="Email address"
69
69
  />
70
- <Input
70
+ <TextInput
71
71
  leftIcon="account"
72
72
  rightIcon="check"
73
73
  value={value}
@@ -78,8 +78,8 @@ export function InputWithIcons() {
78
78
  );
79
79
  }
80
80
 
81
- // Example 5: Input Types (inputType)
82
- export function InputInputTypes() {
81
+ // Example 5: TextInput Modes (inputMode - React Native only)
82
+ export function TextInputModes() {
83
83
  const [text, setText] = React.useState('');
84
84
  const [email, setEmail] = React.useState('');
85
85
  const [password, setPassword] = React.useState('');
@@ -87,29 +87,29 @@ export function InputInputTypes() {
87
87
 
88
88
  return (
89
89
  <View spacing="md">
90
- <Input
91
- inputType="text"
90
+ <TextInput
91
+ inputMode="text"
92
92
  value={text}
93
93
  onChangeText={setText}
94
94
  placeholder="Text input"
95
95
  />
96
- <Input
97
- inputType="email"
96
+ <TextInput
97
+ inputMode="email"
98
98
  leftIcon="email"
99
99
  value={email}
100
100
  onChangeText={setEmail}
101
101
  placeholder="Email address"
102
102
  />
103
- <Input
104
- inputType="password"
103
+ <TextInput
104
+ inputMode="password"
105
105
  leftIcon="lock"
106
106
  value={password}
107
107
  onChangeText={setPassword}
108
108
  placeholder="Password"
109
109
  showPasswordToggle
110
110
  />
111
- <Input
112
- inputType="number"
111
+ <TextInput
112
+ inputMode="number"
113
113
  value={number}
114
114
  onChangeText={setNumber}
115
115
  placeholder="Enter number"
@@ -118,30 +118,30 @@ export function InputInputTypes() {
118
118
  );
119
119
  }
120
120
 
121
- // Example 6: Input States
122
- export function InputStates() {
121
+ // Example 6: TextInput States
122
+ export function TextInputStates() {
123
123
  const [value, setValue] = React.useState('');
124
124
 
125
125
  return (
126
126
  <View spacing="md">
127
- <Input
127
+ <TextInput
128
128
  value={value}
129
129
  onChangeText={setValue}
130
130
  placeholder="Normal state"
131
131
  />
132
- <Input
132
+ <TextInput
133
133
  value={value}
134
134
  onChangeText={setValue}
135
135
  placeholder="Disabled"
136
136
  disabled
137
137
  />
138
- <Input
138
+ <TextInput
139
139
  value={value}
140
140
  onChangeText={setValue}
141
141
  placeholder="Error state"
142
142
  hasError
143
143
  />
144
- <Input
144
+ <TextInput
145
145
  value={value}
146
146
  onChangeText={setValue}
147
147
  placeholder="Primary intent"
@@ -151,13 +151,13 @@ export function InputStates() {
151
151
  );
152
152
  }
153
153
 
154
- // Example 7: Password Input
155
- export function PasswordInput() {
154
+ // Example 7: Password TextInput
155
+ export function PasswordTextInput() {
156
156
  const [password, setPassword] = React.useState('');
157
157
 
158
158
  return (
159
- <Input
160
- inputType="password"
159
+ <TextInput
160
+ inputMode="password"
161
161
  leftIcon="lock"
162
162
  value={password}
163
163
  onChangeText={setPassword}
@@ -181,8 +181,8 @@ export function FormWithValidation() {
181
181
 
182
182
  return (
183
183
  <View spacing="md">
184
- <Input
185
- inputType="email"
184
+ <TextInput
185
+ inputMode="email"
186
186
  leftIcon="email"
187
187
  value={email}
188
188
  onChangeText={(value) => {
@@ -192,8 +192,8 @@ export function FormWithValidation() {
192
192
  placeholder="Email"
193
193
  hasError={emailError}
194
194
  />
195
- <Input
196
- inputType="password"
195
+ <TextInput
196
+ inputMode="password"
197
197
  leftIcon="lock"
198
198
  value={password}
199
199
  onChangeText={setPassword}
@@ -72,8 +72,8 @@ export function TooltipWithIntent() {
72
72
  <Tooltip content="Success tooltip" intent="success">
73
73
  <Button intent="success">Success</Button>
74
74
  </Tooltip>
75
- <Tooltip content="Error tooltip" intent="error">
76
- <Button intent="error">Error</Button>
75
+ <Tooltip content="Error tooltip" intent="danger">
76
+ <Button intent="danger">Error</Button>
77
77
  </Tooltip>
78
78
  <Tooltip content="Warning tooltip" intent="warning">
79
79
  <Button intent="warning">Warning</Button>
@@ -149,13 +149,13 @@ export function TooltipOnText() {
149
149
  export function TooltipWithRichContent() {
150
150
  const richContent = (
151
151
  <View spacing="xs">
152
- <Text weight="bold" size="sm" >
152
+ <Text weight="bold" typography="body2">
153
153
  User Information
154
154
  </Text>
155
- <Text size="sm" >
155
+ <Text typography="body2">
156
156
  John Doe
157
157
  </Text>
158
- <Text size="sm" >
158
+ <Text typography="body2">
159
159
  john@example.com
160
160
  </Text>
161
161
  </View>
@@ -192,7 +192,7 @@ export function HelpTooltips() {
192
192
  <Icon name="help-circle" size="sm" style={{ cursor: 'pointer' }} />
193
193
  </Tooltip>
194
194
  </View>
195
- <Text size="sm" >
195
+ <Text typography="body2">
196
196
  Placeholder for input
197
197
  </Text>
198
198
  </View>
@@ -204,7 +204,7 @@ export function HelpTooltips() {
204
204
  <Icon name="help-circle" size="sm" style={{ cursor: 'pointer' }} />
205
205
  </Tooltip>
206
206
  </View>
207
- <Text size="sm" >
207
+ <Text typography="body2">
208
208
  Placeholder for input
209
209
  </Text>
210
210
  </View>
@@ -216,7 +216,7 @@ export function HelpTooltips() {
216
216
  <Icon name="help-circle" size="sm" style={{ cursor: 'pointer' }} />
217
217
  </Tooltip>
218
218
  </View>
219
- <Text size="sm" >
219
+ <Text typography="body2">
220
220
  Placeholder for input
221
221
  </Text>
222
222
  </View>
@@ -234,7 +234,7 @@ export function ActionTooltips() {
234
234
  </Button>
235
235
  </Tooltip>
236
236
  <Tooltip content="Discard changes" placement="top">
237
- <Button size="sm" intent="error">
237
+ <Button size="sm" intent="danger">
238
238
  <Icon name="close" />
239
239
  </Button>
240
240
  </Tooltip>
@@ -282,10 +282,10 @@ export function StatusTooltips() {
282
282
  export function KeyboardShortcutTooltips() {
283
283
  const shortcutContent = (name: string, shortcut: string) => (
284
284
  <View spacing="xs">
285
- <Text size="sm" >
285
+ <Text typography="body2">
286
286
  {name}
287
287
  </Text>
288
- <Text size="sm" >
288
+ <Text typography="body2">
289
289
  {shortcut}
290
290
  </Text>
291
291
  </View>
@@ -129,18 +129,18 @@ export function ViewWithCustomColors() {
129
129
  );
130
130
  }
131
131
 
132
- // Example 7: View with Custom Sizes
132
+ // Example 7: View with Custom Sizes (using style prop)
133
133
  export function ViewWithCustomSizes() {
134
134
  return (
135
135
  <View spacing="md">
136
- <View padding={8} borderRadius={4} backgroundColor="gray.100">
137
- <Text>Custom padding: 8</Text>
136
+ <View style={{ padding: 8 }} borderRadius={4} backgroundColor="gray.100">
137
+ <Text>Custom padding: 8px</Text>
138
138
  </View>
139
- <View padding={16} borderRadius={8} backgroundColor="gray.100">
140
- <Text>Custom padding: 16</Text>
139
+ <View style={{ padding: 16 }} borderRadius={8} backgroundColor="gray.100">
140
+ <Text>Custom padding: 16px</Text>
141
141
  </View>
142
- <View padding={24} borderRadius={12} backgroundColor="gray.100">
143
- <Text>Custom padding: 24</Text>
142
+ <View style={{ padding: 24 }} borderRadius={12} backgroundColor="gray.100">
143
+ <Text>Custom padding: 24px</Text>
144
144
  </View>
145
145
  </View>
146
146
  );
@@ -150,7 +150,7 @@ export function ViewWithCustomSizes() {
150
150
  export function NestedViews() {
151
151
  return (
152
152
  <View spacing="lg" background="primary" radius="lg">
153
- <Text weight="bold" size="lg">
153
+ <Text weight="bold" typography="subtitle1">
154
154
  Outer View
155
155
  </Text>
156
156
  <View spacing="md" background="secondary" radius="md">
@@ -173,10 +173,10 @@ export function CardLayout() {
173
173
  radius="lg"
174
174
  border="thin"
175
175
  >
176
- <Text size="lg" weight="bold">
176
+ <Text typography="subtitle1" weight="bold">
177
177
  Card Title
178
178
  </Text>
179
- <Text size="md" >
179
+ <Text typography="body1">
180
180
  This is a card-like layout created using the View component with background, spacing,
181
181
  radius, and border properties.
182
182
  </Text>
@@ -192,28 +192,28 @@ export function ViewWithMargin() {
192
192
  <View
193
193
  background="primary"
194
194
  spacing="md"
195
- marginVariant="none"
195
+ margin="none"
196
196
  >
197
197
  <Text>No margin</Text>
198
198
  </View>
199
199
  <View
200
200
  background="primary"
201
201
  spacing="md"
202
- marginVariant="sm"
202
+ margin="sm"
203
203
  >
204
204
  <Text>Small margin</Text>
205
205
  </View>
206
206
  <View
207
207
  background="primary"
208
208
  spacing="md"
209
- marginVariant="md"
209
+ margin="md"
210
210
  >
211
211
  <Text>Medium margin</Text>
212
212
  </View>
213
213
  <View
214
214
  background="primary"
215
215
  spacing="md"
216
- marginVariant="lg"
216
+ margin="lg"
217
217
  >
218
218
  <Text>Large margin</Text>
219
219
  </View>
@@ -231,18 +231,18 @@ export function ProfileCard() {
231
231
  border="thin"
232
232
  >
233
233
  <View spacing="md">
234
- <Text size="xl" weight="bold">
234
+ <Text typography="h5" weight="bold">
235
235
  John Doe
236
236
  </Text>
237
- <Text size="md" >
237
+ <Text typography="body1">
238
238
  Software Engineer
239
239
  </Text>
240
240
  </View>
241
241
  <View spacing="sm">
242
- <Text size="sm" >
242
+ <Text typography="body2">
243
243
  Email: john.doe@example.com
244
244
  </Text>
245
- <Text size="sm" >
245
+ <Text typography="body2">
246
246
  Location: San Francisco, CA
247
247
  </Text>
248
248
  </View>
@@ -262,7 +262,7 @@ export function DashboardGrid() {
262
262
  border="thin"
263
263
  >
264
264
  <Text weight="semibold">Card 1</Text>
265
- <Text size="sm" >
265
+ <Text typography="body2">
266
266
  Content goes here
267
267
  </Text>
268
268
  </View>
@@ -273,7 +273,7 @@ export function DashboardGrid() {
273
273
  border="thin"
274
274
  >
275
275
  <Text weight="semibold">Card 2</Text>
276
- <Text size="sm" >
276
+ <Text typography="body2">
277
277
  Content goes here
278
278
  </Text>
279
279
  </View>
@@ -286,7 +286,7 @@ export function DashboardGrid() {
286
286
  border="thin"
287
287
  >
288
288
  <Text weight="semibold">Card 3</Text>
289
- <Text size="sm" >
289
+ <Text typography="body2">
290
290
  Content goes here
291
291
  </Text>
292
292
  </View>
@@ -297,7 +297,7 @@ export function DashboardGrid() {
297
297
  border="thin"
298
298
  >
299
299
  <Text weight="semibold">Card 4</Text>
300
- <Text size="sm" >
300
+ <Text typography="body2">
301
301
  Content goes here
302
302
  </Text>
303
303
  </View>