@app-studio/web 0.9.84 → 0.9.85

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 (67) hide show
  1. package/dist/components/Button/Button/Button.view.d.ts +1 -1
  2. package/dist/components/Formik/Formik.ColorInput.d.ts +1 -1
  3. package/dist/components/Gradient/Gradient.d.ts +4 -4
  4. package/dist/components/Title/Title/Title.props.d.ts +3 -3
  5. package/dist/components/Title/Title/Title.type.d.ts +1 -1
  6. package/dist/web.cjs.development.js +752 -781
  7. package/dist/web.cjs.development.js.map +1 -1
  8. package/dist/web.cjs.production.min.js +1 -1
  9. package/dist/web.cjs.production.min.js.map +1 -1
  10. package/dist/web.esm.js +752 -781
  11. package/dist/web.esm.js.map +1 -1
  12. package/dist/web.umd.development.js +752 -781
  13. package/dist/web.umd.development.js.map +1 -1
  14. package/dist/web.umd.production.min.js +1 -1
  15. package/dist/web.umd.production.min.js.map +1 -1
  16. package/docs/app-studio/Components.md +8 -8
  17. package/docs/app-studio/Design.md +2 -2
  18. package/docs/app-studio/Events.md +31 -31
  19. package/docs/app-studio/Hooks.md +6 -6
  20. package/docs/app-studio/Providers.md +2 -2
  21. package/docs/app-studio/README.md +30 -30
  22. package/docs/app-studio/Responsive.md +3 -3
  23. package/docs/app-studio/Theming.md +114 -113
  24. package/docs/app-studio.md +2 -2
  25. package/docs/component-development/guide.md +10 -10
  26. package/docs/components/Background.mdx +2 -2
  27. package/docs/components/Badge.mdx +1 -1
  28. package/docs/components/Button.mdx +2 -2
  29. package/docs/components/Carousel.mdx +15 -15
  30. package/docs/components/Center.mdx +40 -40
  31. package/docs/components/Checkbox.mdx +5 -5
  32. package/docs/components/ColorInput.mdx +13 -13
  33. package/docs/components/ColorPicker.mdx +17 -17
  34. package/docs/components/ContextMenu.mdx +1 -1
  35. package/docs/components/DatePicker.mdx +6 -6
  36. package/docs/components/DragAndDrop.mdx +8 -8
  37. package/docs/components/Drawer.mdx +3 -3
  38. package/docs/components/Form.mdx +2 -2
  39. package/docs/components/Formik.mdx +3 -3
  40. package/docs/components/Gradient.mdx +32 -32
  41. package/docs/components/Horizontal.mdx +3 -3
  42. package/docs/components/HoverCard.mdx +3 -3
  43. package/docs/components/Icon.mdx +14 -14
  44. package/docs/components/Label.mdx +28 -28
  45. package/docs/components/Link.mdx +2 -2
  46. package/docs/components/Loader.mdx +16 -16
  47. package/docs/components/OTPInput.mdx +9 -9
  48. package/docs/components/Password.mdx +1 -1
  49. package/docs/components/ProgressBar.mdx +9 -9
  50. package/docs/components/Resizable.mdx +6 -6
  51. package/docs/components/Selector.mdx +4 -4
  52. package/docs/components/Sidebar.mdx +2 -2
  53. package/docs/components/Slider.mdx +10 -10
  54. package/docs/components/StatusIndicator.mdx +5 -5
  55. package/docs/components/Switch.mdx +1 -1
  56. package/docs/components/TagInput.mdx +8 -8
  57. package/docs/components/Text.mdx +1 -1
  58. package/docs/components/TextArea.mdx +2 -2
  59. package/docs/components/TextField.mdx +2 -2
  60. package/docs/components/Title.mdx +1 -1
  61. package/docs/components/Vertical.mdx +64 -64
  62. package/docs/components.md +4 -4
  63. package/docs/conventions.md +1 -1
  64. package/docs/design-system/theming.md +19 -19
  65. package/docs/tutorials/README.md +1 -1
  66. package/docs/tutorials/basic/creating-a-simple-form.md +2 -2
  67. package/package.json +2 -2
@@ -14,8 +14,8 @@ import { Gradient } from '@app-studio/web';
14
14
 
15
15
  export const DefaultGradient = () => (
16
16
  <Gradient
17
- from="color.blue.500"
18
- to="color.violet.500"
17
+ from="color-blue-500"
18
+ to="color-violet-500"
19
19
  width={300}
20
20
  height={200}
21
21
  />
@@ -38,22 +38,22 @@ export const GradientTypes = () => (
38
38
  <Vertical gap={15}>
39
39
  <Gradient
40
40
  type="linear"
41
- from="color.blue.500"
42
- to="color.violet.500"
41
+ from="color-blue-500"
42
+ to="color-violet-500"
43
43
  width={300}
44
44
  height={100}
45
45
  />
46
46
  <Gradient
47
47
  type="radial"
48
- from="color.blue.500"
49
- to="color.violet.500"
48
+ from="color-blue-500"
49
+ to="color-violet-500"
50
50
  width={300}
51
51
  height={100}
52
52
  />
53
53
  <Gradient
54
54
  type="conic"
55
- from="color.blue.500"
56
- to="color.violet.500"
55
+ from="color-blue-500"
56
+ to="color-violet-500"
57
57
  width={300}
58
58
  height={100}
59
59
  />
@@ -73,9 +73,9 @@ import { Vertical } from 'app-studio';
73
73
 
74
74
  export const SimpleGradients = () => (
75
75
  <Vertical gap={15}>
76
- <Gradient from="color.red.500" to="color.amber.500" width={300} height={100} />
77
- <Gradient from="color.emerald.500" to="color.blue.500" width={300} height={100} />
78
- <Gradient from="color.violet.500" to="color.pink.500" width={300} height={100} />
76
+ <Gradient from="color-red-500" to="color-amber-500" width={300} height={100} />
77
+ <Gradient from="color-emerald-500" to="color-blue-500" width={300} height={100} />
78
+ <Gradient from="color-violet-500" to="color-pink-500" width={300} height={100} />
79
79
  </Vertical>
80
80
  );
81
81
  ```
@@ -127,8 +127,8 @@ export const DirectionalGradients = () => (
127
127
  <Gradient
128
128
  key={direction}
129
129
  direction={direction as any}
130
- from="color.blue.500"
131
- to="color.violet.500"
130
+ from="color-blue-500"
131
+ to="color-violet-500"
132
132
  width={300}
133
133
  height={100}
134
134
  />
@@ -154,16 +154,16 @@ export const RadialShapes = () => (
154
154
  <Gradient
155
155
  type="radial"
156
156
  shape="circle"
157
- from="color.blue.500"
158
- to="color.violet.500"
157
+ from="color-blue-500"
158
+ to="color-violet-500"
159
159
  width={200}
160
160
  height={200}
161
161
  />
162
162
  <Gradient
163
163
  type="radial"
164
164
  shape="ellipse"
165
- from="color.blue.500"
166
- to="color.violet.500"
165
+ from="color-blue-500"
166
+ to="color-violet-500"
167
167
  width={300}
168
168
  height={200}
169
169
  />
@@ -195,8 +195,8 @@ export const RadialPositions = () => (
195
195
  key={position}
196
196
  type="radial"
197
197
  position={position as any}
198
- from="color.blue.500"
199
- to="color.violet.500"
198
+ from="color-blue-500"
199
+ to="color-violet-500"
200
200
  width={300}
201
201
  height={100}
202
202
  />
@@ -217,8 +217,8 @@ import { Gradient } from '@app-studio/web';
217
217
 
218
218
  export const AnimatedGradient = () => (
219
219
  <Gradient
220
- from="color.blue.500"
221
- to="color.violet.500"
220
+ from="color-blue-500"
221
+ to="color-violet-500"
222
222
  animate
223
223
  width={300}
224
224
  height={200}
@@ -240,16 +240,16 @@ import { Vertical } from 'app-studio';
240
240
  export const AnimationDurations = () => (
241
241
  <Vertical gap={15}>
242
242
  <Gradient
243
- from="color.blue.500"
244
- to="color.violet.500"
243
+ from="color-blue-500"
244
+ to="color-violet-500"
245
245
  animate
246
246
  animationDuration={1}
247
247
  width={300}
248
248
  height={80}
249
249
  />
250
250
  <Gradient
251
- from="color.blue.500"
252
- to="color.violet.500"
251
+ from="color-blue-500"
252
+ to="color-violet-500"
253
253
  animate
254
254
  animationDuration={5}
255
255
  width={300}
@@ -271,8 +271,8 @@ import { Text, Center } from 'app-studio';
271
271
 
272
272
  export const GradientWithContent = () => (
273
273
  <Gradient
274
- from="color.blue.500"
275
- to="color.violet.500"
274
+ from="color-blue-500"
275
+ to="color-violet-500"
276
276
  width={300}
277
277
  height={200}
278
278
  borderRadius={16}
@@ -297,8 +297,8 @@ import { Gradient } from '@app-studio/web';
297
297
 
298
298
  export const StyledGradient = () => (
299
299
  <Gradient
300
- from="color.blue.500"
301
- to="color.violet.500"
300
+ from="color-blue-500"
301
+ to="color-violet-500"
302
302
  width={300}
303
303
  height={200}
304
304
  views={{
@@ -379,8 +379,8 @@ import { Text, Vertical, Button } from 'app-studio';
379
379
 
380
380
  export const GradientCard = () => (
381
381
  <Gradient
382
- from="color.indigo.400"
383
- to="color.purple.700"
382
+ from="color-indigo-400"
383
+ to="color-purple-700"
384
384
  width={350}
385
385
  borderRadius={16}
386
386
  boxShadow="0 10px 40px rgba(0,0,0,0.2)"
@@ -400,7 +400,7 @@ export const GradientCard = () => (
400
400
  </Vertical>
401
401
  <Button
402
402
  backgroundColor="white"
403
- color="color.indigo.400"
403
+ color="color-indigo-400"
404
404
  isFullWidth
405
405
  >
406
406
  Get Started
@@ -15,14 +15,14 @@ import { View, Horizontal } from '@app-studio/web';
15
15
 
16
16
  export const DefaultHorizontal = () => (
17
17
  <Horizontal>
18
- <View width={50} height={50} backgroundColor="theme.primary" />
18
+ <View width={50} height={50} backgroundColor="theme-primary" />
19
19
  <View
20
20
  width={50}
21
21
  height={50}
22
- backgroundColor="theme.secondary"
22
+ backgroundColor="theme-secondary"
23
23
  margin="0 10px "
24
24
  />
25
- <View width={50} height={50} backgroundColor="theme.warning" />
25
+ <View width={50} height={50} backgroundColor="theme-warning" />
26
26
  </Horizontal>
27
27
  );
28
28
 
@@ -52,15 +52,15 @@ export const DefaultHoverCard = () => {
52
52
  <HoverCard.Content
53
53
  views={{
54
54
  container: {
55
- backgroundColor: 'color.blue',
56
- color: 'color.white',
55
+ backgroundColor: 'color-blue',
56
+ color: 'color-white',
57
57
  borderRadius: '8px',
58
58
  padding: '16px',
59
59
  },
60
60
  }}
61
61
  >
62
62
  <Text color="white">
63
- This HoverCard has custom styling with a primary background color.
63
+ This HoverCard has custom styling with a primary background color-
64
64
  </Text>
65
65
  </HoverCard.Content>
66
66
  </HoverCard>
@@ -34,7 +34,7 @@ import React from 'react';
34
34
  import { Icon } from '@app-studio/web';
35
35
 
36
36
  export const DynamicIcons = () => (
37
- <Icon name="camera" widthHeight={24} color="color.primary.500" />
37
+ <Icon name="camera" widthHeight={24} color="color-primary-500" />
38
38
  );
39
39
  ```
40
40
 
@@ -63,17 +63,17 @@ import { Horizontal } from '@app-studio/web';
63
63
 
64
64
  export const IconColors = () => (
65
65
  <Horizontal gap={16}>
66
- <HeartIcon widthHeight={32} color="color.red.500" />
67
- <HeartIcon widthHeight={32} color="color.blue.500" />
68
- <HeartIcon widthHeight={32} color="color.green.500" />
69
- <HeartIcon widthHeight={32} color="color.purple.500" />
70
- <HeartIcon widthHeight={32} color="color.orange.500" />
66
+ <HeartIcon widthHeight={32} color="color-red-500" />
67
+ <HeartIcon widthHeight={32} color="color-blue-500" />
68
+ <HeartIcon widthHeight={32} color="color-green-500" />
69
+ <HeartIcon widthHeight={32} color="color-purple-500" />
70
+ <HeartIcon widthHeight={32} color="color-orange-500" />
71
71
  </Horizontal>
72
72
  );
73
73
  ```
74
74
 
75
75
  ### **Icon Styles**
76
- Since we use Lucide, `filled` creates a solid style where applicable, but generally Lucide icons are line-art. The `filled` prop typically fills the path with the current color.
76
+ Since we use Lucide, `filled` creates a solid style where applicable, but generally Lucide icons are line-art. The `filled` prop typically fills the path with the current color-
77
77
 
78
78
  ```tsx
79
79
  import React from 'react';
@@ -84,14 +84,14 @@ export const IconVariants = () => (
84
84
  <Vertical gap={16}>
85
85
  <Text>Filled Styles</Text>
86
86
  <Horizontal gap={16}>
87
- <StarIcon widthHeight={32} filled={true} color="color.yellow.500" />
88
- <HeartIcon widthHeight={32} filled={true} color="color.red.500" />
87
+ <StarIcon widthHeight={32} filled={true} color="color-yellow-500" />
88
+ <HeartIcon widthHeight={32} filled={true} color="color-red-500" />
89
89
  </Horizontal>
90
90
 
91
91
  <Text>Line Styles</Text>
92
92
  <Horizontal gap={16}>
93
- <StarIcon widthHeight={32} filled={false} color="color.yellow.500" />
94
- <HeartIcon widthHeight={32} filled={false} color="color.red.500" />
93
+ <StarIcon widthHeight={32} filled={false} color="color-yellow-500" />
94
+ <HeartIcon widthHeight={32} filled={false} color="color-red-500" />
95
95
  </Horizontal>
96
96
  </Vertical>
97
97
  );
@@ -237,7 +237,7 @@ The `Icon` component accepts the following props:
237
237
  | widthHeight | number | 24 | Size of the icon in pixels (sets both width and height) |
238
238
  | size | number | undefined | Alternative to widthHeight, consistent with Lucide props |
239
239
  | color | string | 'currentColor' | Color of the icon (supports theme colors) |
240
- | filled | boolean | false | Whether to fill the icon body with color. Note: applies to all line-art. |
240
+ | filled | boolean | false | Whether to fill the icon body with color- Note: applies to all line-art. |
241
241
  | strokeWidth | number | 1-2 | Stroke width for the icon lines |
242
242
  | orientation | `'left' \| 'right' \| 'up' \| 'down'` | 'up' | Rotates the icon |
243
243
  | transform | string | undefined | Custom CSS transform property |
@@ -288,12 +288,12 @@ export const IconGrid = () => {
288
288
  key={iconName}
289
289
  padding={12}
290
290
  border="1px solid"
291
- borderColor="color.gray.200"
291
+ borderColor="color-gray-200"
292
292
  borderRadius={8}
293
293
  textAlign="center"
294
294
  >
295
295
  {/* Some icons might need specific props, generic render here */}
296
- <IconComponent widthHeight={24} color="color.gray.700" />
296
+ <IconComponent widthHeight={24} color="color-gray-700" />
297
297
  <Text fontSize={10} marginTop={4}>
298
298
  {iconName}
299
299
  </Text>
@@ -105,7 +105,7 @@ export const FormLabels = () => (
105
105
  <Vertical gap={8}>
106
106
  <Horizontal alignItems="center" gap={4}>
107
107
  <Label weight="medium">Full Name</Label>
108
- <Label color="color.red.500" size="sm">*</Label>
108
+ <Label color="color-red-500" size="sm">*</Label>
109
109
  </Horizontal>
110
110
  <TextField placeholder="Enter your full name" required />
111
111
  </Vertical>
@@ -113,14 +113,14 @@ export const FormLabels = () => (
113
113
  <Vertical gap={8}>
114
114
  <Horizontal alignItems="center" gap={4}>
115
115
  <Label weight="medium">Email Address</Label>
116
- <Label color="color.red.500" size="sm">*</Label>
116
+ <Label color="color-red-500" size="sm">*</Label>
117
117
  </Horizontal>
118
118
  <TextField type="email" placeholder="Enter your email" required />
119
119
  </Vertical>
120
120
 
121
121
  <Vertical gap={8}>
122
122
  <Label weight="medium">Additional Comments</Label>
123
- <Label size="sm" color="color.gray.600">Optional</Label>
123
+ <Label size="sm" color="color-gray-600">Optional</Label>
124
124
  <TextArea placeholder="Enter any additional comments" rows={3} />
125
125
  </Vertical>
126
126
  </Vertical>
@@ -139,8 +139,8 @@ export const SectionHeaders = () => (
139
139
  <Label heading="h2" weight="bold" marginBottom={8}>
140
140
  Personal Information
141
141
  </Label>
142
- <View height={1} backgroundColor="color.gray.200" marginBottom={16} />
143
- <Label color="color.gray.600">
142
+ <View height={1} backgroundColor="color-gray-200" marginBottom={16} />
143
+ <Label color="color-gray-600">
144
144
  Please provide your personal details below.
145
145
  </Label>
146
146
  </View>
@@ -149,8 +149,8 @@ export const SectionHeaders = () => (
149
149
  <Label heading="h2" weight="bold" marginBottom={8}>
150
150
  Contact Details
151
151
  </Label>
152
- <View height={1} backgroundColor="color.gray.200" marginBottom={16} />
153
- <Label color="color.gray.600">
152
+ <View height={1} backgroundColor="color-gray-200" marginBottom={16} />
153
+ <Label color="color-gray-600">
154
154
  How can we reach you?
155
155
  </Label>
156
156
  </View>
@@ -159,8 +159,8 @@ export const SectionHeaders = () => (
159
159
  <Label heading="h2" weight="bold" marginBottom={8}>
160
160
  Preferences
161
161
  </Label>
162
- <View height={1} backgroundColor="color.gray.200" marginBottom={16} />
163
- <Label color="color.gray.600">
162
+ <View height={1} backgroundColor="color-gray-200" marginBottom={16} />
163
+ <Label color="color-gray-600">
164
164
  Customize your experience.
165
165
  </Label>
166
166
  </View>
@@ -176,13 +176,13 @@ import { Vertical } from '@app-studio/web';
176
176
 
177
177
  export const ColoredLabels = () => (
178
178
  <Vertical gap={12}>
179
- <Label color="color.blue.600">Primary Label</Label>
180
- <Label color="color.green.600">Success Label</Label>
181
- <Label color="color.yellow.600">Warning Label</Label>
182
- <Label color="color.red.600">Error Label</Label>
183
- <Label color="color.gray.600">Muted Label</Label>
184
- <Label color="theme.primary">Theme Primary</Label>
185
- <Label color="theme.secondary">Theme Secondary</Label>
179
+ <Label color="color-blue-600">Primary Label</Label>
180
+ <Label color="color-green-600">Success Label</Label>
181
+ <Label color="color-yellow-600">Warning Label</Label>
182
+ <Label color="color-red-600">Error Label</Label>
183
+ <Label color="color-gray-600">Muted Label</Label>
184
+ <Label color="theme-primary">Theme Primary</Label>
185
+ <Label color="theme-secondary">Theme Secondary</Label>
186
186
  </Vertical>
187
187
  );
188
188
  ```
@@ -232,7 +232,7 @@ export const ColoredLabels = () => (
232
232
  type="email"
233
233
  aria-describedby="email-help"
234
234
  />
235
- <Label id="email-help" size="sm" color="color.gray.600">
235
+ <Label id="email-help" size="sm" color="color-gray-600">
236
236
  We'll never share your email with anyone else.
237
237
  </Label>
238
238
  ```
@@ -247,11 +247,11 @@ import { Label } from '@app-studio/web';
247
247
  export const CustomStyledLabel = () => (
248
248
  <Label
249
249
  weight="bold"
250
- color="color.blue.600"
250
+ color="color-blue-600"
251
251
  textTransform="uppercase"
252
252
  letterSpacing="0.05em"
253
253
  borderBottom="2px solid"
254
- borderColor="color.blue.600"
254
+ borderColor="color-blue-600"
255
255
  paddingBottom={4}
256
256
  display="inline-block"
257
257
  >
@@ -269,7 +269,7 @@ export const ResponsiveLabel = () => (
269
269
  <Label
270
270
  size={{ mobile: 'sm', tablet: 'md', desktop: 'lg' }}
271
271
  weight={{ mobile: 'normal', desktop: 'bold' }}
272
- color={{ mobile: 'color.gray.700', desktop: 'color.blue.600' }}
272
+ color={{ mobile: 'color-gray-700', desktop: 'color-blue-600' }}
273
273
  >
274
274
  Responsive Label
275
275
  </Label>
@@ -287,12 +287,12 @@ export const InteractiveLabel = () => {
287
287
  return (
288
288
  <Label
289
289
  cursor="pointer"
290
- color={isActive ? 'color.blue.600' : 'color.gray.700'}
290
+ color={isActive ? 'color-blue-600' : 'color-gray-700'}
291
291
  weight={isActive ? 'bold' : 'normal'}
292
292
  onClick={() => setIsActive(!isActive)}
293
293
  transition="all 0.2s ease"
294
294
  _hover={{
295
- color: 'color.blue.600',
295
+ color: 'color-blue-600',
296
296
  }}
297
297
  >
298
298
  Click me to toggle
@@ -351,9 +351,9 @@ export const InteractiveLabel = () => {
351
351
  ```tsx
352
352
  const StatusLabel = ({ status, children }) => {
353
353
  const colors = {
354
- active: 'color.green.600',
355
- pending: 'color.yellow.600',
356
- inactive: 'color.red.600',
354
+ active: 'color-green-600',
355
+ pending: 'color-yellow-600',
356
+ inactive: 'color-red-600',
357
357
  };
358
358
 
359
359
  return (
@@ -374,7 +374,7 @@ const StatusLabel = ({ status, children }) => {
374
374
  <Vertical gap={4}>
375
375
  <Label weight="medium">Password</Label>
376
376
  <TextField type="password" />
377
- <Label size="sm" color="color.gray.600">
377
+ <Label size="sm" color="color-gray-600">
378
378
  Must be at least 8 characters with uppercase, lowercase, and numbers
379
379
  </Label>
380
380
  </Vertical>
@@ -411,7 +411,7 @@ import { Card } from '@app-studio/web';
411
411
  </Label>
412
412
  </Card.Header>
413
413
  <Card.Body>
414
- <Label color="color.gray.600">
414
+ <Label color="color-gray-600">
415
415
  Card description text
416
416
  </Label>
417
417
  </Card.Body>
@@ -427,7 +427,7 @@ import { NavigationMenu } from '@app-studio/web';
427
427
  <Label
428
428
  size="xs"
429
429
  weight="bold"
430
- color="color.gray.500"
430
+ color="color-gray-500"
431
431
  textTransform="uppercase"
432
432
  letterSpacing="0.05em"
433
433
  >
@@ -41,8 +41,8 @@ export const UnderlineLink = () => (
41
41
  <Link
42
42
  to={'https://www.npmjs.com/package/app-studio'}
43
43
  underline="underline"
44
- color="theme.primary"
45
- textDecorationColor="theme.primary"
44
+ color="theme-primary"
45
+ textDecorationColor="theme-primary"
46
46
  >
47
47
  <Text>Underline</Text>
48
48
  </Link>
@@ -93,11 +93,11 @@ import { Horizontal } from 'app-studio';
93
93
 
94
94
  export const ColoredLoaders = () => (
95
95
  <Horizontal gap={30}>
96
- <Loader loaderColor="color.blue.500" />
97
- <Loader loaderColor="color.emerald.500" />
98
- <Loader loaderColor="color.red.500" />
99
- <Loader loaderColor="color.amber.500" />
100
- <Loader loaderColor="color.violet.500" />
96
+ <Loader loaderColor="color-blue-500" />
97
+ <Loader loaderColor="color-emerald-500" />
98
+ <Loader loaderColor="color-red-500" />
99
+ <Loader loaderColor="color-amber-500" />
100
+ <Loader loaderColor="color-violet-500" />
101
101
  </Horizontal>
102
102
  );
103
103
  ```
@@ -170,8 +170,8 @@ import { Loader } from '@app-studio/web';
170
170
 
171
171
  export const ColoredTextLoader = () => (
172
172
  <Loader
173
- loaderColor="color.blue.500"
174
- textColor="color.blue.500"
173
+ loaderColor="color-blue-500"
174
+ textColor="color-blue-500"
175
175
  >
176
176
  Loading...
177
177
  </Loader>
@@ -298,31 +298,31 @@ export const LoaderShowcase = () => (
298
298
  <Vertical gap={15}>
299
299
  <Text fontWeight="bold">Spinner Variants</Text>
300
300
  <Horizontal gap={20}>
301
- <Loader type="spinner" size="sm" loaderColor="color.blue.500" />
302
- <Loader type="spinner" size="md" loaderColor="color.emerald.500" />
303
- <Loader type="spinner" size="lg" loaderColor="color.red.500" />
301
+ <Loader type="spinner" size="sm" loaderColor="color-blue-500" />
302
+ <Loader type="spinner" size="md" loaderColor="color-emerald-500" />
303
+ <Loader type="spinner" size="lg" loaderColor="color-red-500" />
304
304
  </Horizontal>
305
305
  </Vertical>
306
306
 
307
307
  <Vertical gap={15}>
308
308
  <Text fontWeight="bold">Dotted Variants</Text>
309
309
  <Horizontal gap={20}>
310
- <Loader type="dotted" size="sm" loaderColor="color.blue.500" />
311
- <Loader type="dotted" size="md" loaderColor="color.emerald.500" />
312
- <Loader type="dotted" size="lg" loaderColor="color.red.500" />
310
+ <Loader type="dotted" size="sm" loaderColor="color-blue-500" />
311
+ <Loader type="dotted" size="md" loaderColor="color-emerald-500" />
312
+ <Loader type="dotted" size="lg" loaderColor="color-red-500" />
313
313
  </Horizontal>
314
314
  </Vertical>
315
315
 
316
316
  <Vertical gap={15}>
317
317
  <Text fontWeight="bold">With Text</Text>
318
318
  <Horizontal gap={30}>
319
- <Loader type="spinner" loaderColor="color.blue.500" textColor="color.blue.500">
319
+ <Loader type="spinner" loaderColor="color-blue-500" textColor="color-blue-500">
320
320
  Loading...
321
321
  </Loader>
322
322
  <Loader
323
323
  type="dotted"
324
- loaderColor="color.emerald.500"
325
- textColor="color.emerald.500"
324
+ loaderColor="color-emerald-500"
325
+ textColor="color-emerald-500"
326
326
  textPosition="right"
327
327
  >
328
328
  Processing
@@ -54,11 +54,11 @@ export const CustomizedOTPInput = () => {
54
54
  shadow={{ boxShadow: 'rgba(0, 0, 0, 0.1) 0px 4px 6px' }}
55
55
  views={{
56
56
  container: {
57
- borderColor: 'theme.primary',
58
- backgroundColor: 'color.gray.50',
57
+ borderColor: 'theme-primary',
58
+ backgroundColor: 'color-gray.50',
59
59
  },
60
60
  input: {
61
- color: 'theme.primary',
61
+ color: 'theme-primary',
62
62
  fontWeight: 'bold',
63
63
  },
64
64
  }}
@@ -116,7 +116,7 @@ export const OnCompleteDemo = () => {
116
116
  isAutoFocus
117
117
  />
118
118
  {message && (
119
- <Text color="theme.success" fontWeight="medium">
119
+ <Text color="theme-success" fontWeight="medium">
120
120
  {message}
121
121
  </Text>
122
122
  )}
@@ -160,11 +160,11 @@ export const StepValuesOTPInput = () => {
160
160
  gap={12}
161
161
  views={{
162
162
  container: {
163
- borderColor: 'theme.primary',
164
- backgroundColor: 'color.gray.50',
163
+ borderColor: 'theme-primary',
164
+ backgroundColor: 'color-gray.50',
165
165
  },
166
166
  input: {
167
- color: 'theme.primary',
167
+ color: 'theme-primary',
168
168
  fontWeight: 'bold',
169
169
  },
170
170
  }}
@@ -172,13 +172,13 @@ export const StepValuesOTPInput = () => {
172
172
 
173
173
  <Horizontal justifyContent="space-between" width="100%">
174
174
  {stepValues.map((step) => (
175
- <Text key={step} fontSize={14} color="color.blueGray.500">
175
+ <Text key={step} fontSize={14} color="color-blueGray-500">
176
176
  {step}
177
177
  </Text>
178
178
  ))}
179
179
  </Horizontal>
180
180
 
181
- <Text fontSize={14} color="color.gray.600">
181
+ <Text fontSize={14} color="color-gray-600">
182
182
  This OTP input will snap to the closest value from:{' '}
183
183
  {stepValues.join(', ')}
184
184
  </Text>
@@ -59,7 +59,7 @@ import { CloseEyeIcon } from '@app-studio/web';
59
59
 
60
60
  <Password
61
61
  placeholder="Password"
62
- colorScheme="theme.secondary"
62
+ colorScheme="theme-secondary"
63
63
  visibleIcon={<OpenEyeIcon size={14} />}
64
64
  hiddenIcon={<CloseEyeIcon size={14} />}
65
65
  error
@@ -16,8 +16,8 @@ import { Vertical } from 'app-studio';
16
16
  export const LinearExamples = () => (
17
17
  <Vertical gap={20}>
18
18
  <ProgressBar value={30} />
19
- <ProgressBar value={60} color="color.blue.500" height={8} radius={4} />
20
- <ProgressBar value={90} color="color.green.500" height={12} radius={6} />
19
+ <ProgressBar value={60} color="color-blue-500" height={8} radius={4} />
20
+ <ProgressBar value={90} color="color-green-500" height={12} radius={6} />
21
21
  </Vertical>
22
22
  );
23
23
  ```
@@ -41,7 +41,7 @@ export const CircularExamples = () => (
41
41
  shape="circle"
42
42
  value={75}
43
43
  size={80}
44
- color="color.purple.500"
44
+ color="color-purple-500"
45
45
  strokeWidth={8}
46
46
  showLabel
47
47
  />
@@ -49,11 +49,11 @@ export const CircularExamples = () => (
49
49
  shape="circle"
50
50
  value={90}
51
51
  size={100}
52
- color="color.orange.500"
52
+ color="color-orange-500"
53
53
  strokeWidth={10}
54
- backgroundColor="color.orange.100"
54
+ backgroundColor="color-orange-100"
55
55
  showLabel
56
- labelColor="color.orange.700"
56
+ labelColor="color-orange-700"
57
57
  />
58
58
  </Horizontal>
59
59
  );
@@ -99,7 +99,7 @@ export const DynamicProgress = () => {
99
99
  return (
100
100
  <Vertical gap={20}>
101
101
  <Text>Uploading... {progress}%</Text>
102
- <ProgressBar value={progress} color="color.blue.600" animated />
102
+ <ProgressBar value={progress} color="color-blue-600" animated />
103
103
 
104
104
  <Horizontal gap={20} marginTop={20}>
105
105
  <ProgressBar
@@ -107,7 +107,7 @@ export const DynamicProgress = () => {
107
107
  value={progress}
108
108
  size={50}
109
109
  showLabel
110
- color="color.blue.600"
110
+ color="color-blue-600"
111
111
  />
112
112
  </Horizontal>
113
113
  </Vertical>
@@ -128,7 +128,7 @@ export const CustomStyle = () => (
128
128
  height={20}
129
129
  views={{
130
130
  container: {
131
- borderColor: 'color.gray.300',
131
+ borderColor: 'color-gray-300',
132
132
  borderWidth: 1,
133
133
  padding: 2,
134
134
  borderRadius: 12