@app-studio/web 0.9.41 → 0.9.43

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 (88) hide show
  1. package/dist/bot/Bot.d.ts +15 -0
  2. package/dist/bot/Cache.d.ts +13 -0
  3. package/dist/bot/Config.d.ts +13 -0
  4. package/dist/bot/ContentFetcher.d.ts +9 -0
  5. package/dist/bot/DocuCode.d.ts +19 -0
  6. package/dist/bot/FileHandler.d.ts +39 -0
  7. package/dist/bot/ai/AnthropicConnector.d.ts +6 -0
  8. package/dist/bot/ai/GeminiConnector.d.ts +7 -0
  9. package/dist/bot/ai/GroqConnector.d.ts +7 -0
  10. package/dist/bot/ai/HuggingFaceConnector.d.ts +6 -0
  11. package/dist/bot/ai/OpenAIConnector.d.ts +11 -0
  12. package/dist/bot/ai/ReplicateConnector.d.ts +7 -0
  13. package/dist/bot/ai/SambaNovaConnector.d.ts +6 -0
  14. package/dist/bot/ai/ai.config.d.ts +12 -0
  15. package/dist/bot/ai/ai.service.d.ts +36 -0
  16. package/dist/bot/data.d.ts +19 -0
  17. package/dist/bot/extractors.d.ts +8 -0
  18. package/dist/bot/index.d.ts +1 -0
  19. package/dist/bot/prompt/1-project.d.ts +1 -0
  20. package/dist/bot/prompt/2-response.d.ts +1 -0
  21. package/dist/bot/prompt/3-comment.d.ts +1 -0
  22. package/docs/components/Accordion.mdx +74 -121
  23. package/docs/components/Alert.mdx +19 -70
  24. package/docs/components/AspectRatio.mdx +13 -11
  25. package/docs/components/AudioInput.mdx +43 -0
  26. package/docs/components/Avatar.mdx +18 -43
  27. package/docs/components/Background.mdx +100 -492
  28. package/docs/components/Badge.mdx +45 -130
  29. package/docs/components/Button.mdx +76 -128
  30. package/docs/components/Calendar.mdx +7 -7
  31. package/docs/components/Card.mdx +247 -290
  32. package/docs/components/Carousel.mdx +94 -321
  33. package/docs/components/Chart.mdx +171 -26
  34. package/docs/components/ChatInput.mdx +327 -275
  35. package/docs/components/Checkbox.mdx +3 -5
  36. package/docs/components/ColorInput.mdx +6 -6
  37. package/docs/components/ColorPicker.mdx +452 -0
  38. package/docs/components/ComboBox.mdx +13 -13
  39. package/docs/components/Command.mdx +140 -188
  40. package/docs/components/ContextMenu.mdx +47 -171
  41. package/docs/components/CookieConsent.mdx +53 -0
  42. package/docs/components/CountryPicker.mdx +8 -8
  43. package/docs/components/DatePicker.mdx +3 -3
  44. package/docs/components/DragAndDrop.mdx +279 -463
  45. package/docs/components/Drawer.mdx +392 -231
  46. package/docs/components/DropdownMenu.mdx +37 -155
  47. package/docs/components/EmojiPicker.mdx +84 -0
  48. package/docs/components/File.mdx +130 -4
  49. package/docs/components/Formik.mdx +39 -39
  50. package/docs/components/Gradient.mdx +359 -182
  51. package/docs/components/Horizontal.mdx +1 -2
  52. package/docs/components/HoverCard.mdx +57 -125
  53. package/docs/components/KanbanBoard.mdx +9 -9
  54. package/docs/components/Link.mdx +22 -30
  55. package/docs/components/Loader.mdx +230 -413
  56. package/docs/components/Menubar.mdx +73 -69
  57. package/docs/components/Message.mdx +210 -525
  58. package/docs/components/Modal.mdx +351 -475
  59. package/docs/components/NavigationMenu.mdx +8 -8
  60. package/docs/components/OTPInput.mdx +194 -0
  61. package/docs/components/Pagination.mdx +451 -107
  62. package/docs/components/Password.mdx +8 -8
  63. package/docs/components/ProgressBar.mdx +460 -0
  64. package/docs/components/Resizable.mdx +103 -102
  65. package/docs/components/Select.mdx +5 -5
  66. package/docs/components/Separator.mdx +11 -98
  67. package/docs/components/ShareButton.mdx +29 -0
  68. package/docs/components/Sidebar.mdx +70 -131
  69. package/docs/components/Slider.mdx +99 -185
  70. package/docs/components/StatusIndicator.mdx +373 -0
  71. package/docs/components/Switch.mdx +3 -3
  72. package/docs/components/Table.mdx +25 -105
  73. package/docs/components/Tabs.mdx +40 -143
  74. package/docs/components/TagInput.mdx +17 -17
  75. package/docs/components/Text.mdx +3 -3
  76. package/docs/components/TextArea.mdx +6 -6
  77. package/docs/components/TextField.mdx +12 -12
  78. package/docs/components/Title.mdx +267 -525
  79. package/docs/components/Toast.mdx +65 -142
  80. package/docs/components/Toggle.mdx +37 -49
  81. package/docs/components/ToggleGroup.mdx +36 -57
  82. package/docs/components/Tooltip.mdx +501 -138
  83. package/docs/components/Uploader.mdx +205 -351
  84. package/package.json +1 -1
  85. package/dist/components/AuthGuard/AuthGuard.d.ts +0 -35
  86. package/dist/components/AuthGuard/index.d.ts +0 -1
  87. package/docs/adk-components.md +0 -319
  88. package/docs/adk-quick-start.md +0 -268
@@ -23,7 +23,7 @@ A toggle switch for user interactions like turning settings on or off.
23
23
  ### **Default**
24
24
  ```tsx
25
25
  import React from 'react';
26
- import { Switch } from '../../../Form/Switch/Switch';
26
+ import { Switch } from '@app-studio/web';
27
27
 
28
28
  export const DefaultSwitch = () => <Switch id="check" name="checkbox" />;
29
29
 
@@ -35,7 +35,7 @@ Defines the color theme for the switch component.
35
35
  ```tsx
36
36
  import React from 'react';
37
37
 
38
- import { Switch } from '../Switch';
38
+ import { Switch } from '@app-studio/web';
39
39
 
40
40
  export const ColorSwitch = () => (
41
41
  <Switch name="name" colorScheme="theme.primary" isChecked />
@@ -48,7 +48,7 @@ Defines the shadow appearance of the switch using predefined Shadow or Elevation
48
48
 
49
49
  ```tsx
50
50
  import React from 'react';
51
- import { Switch } from '../../../Form/Switch/Switch';
51
+ import { Switch } from '@app-studio/web';
52
52
 
53
53
  export const ShadowSwitch = () => (
54
54
  <Switch
@@ -1,35 +1,22 @@
1
1
  # Table
2
2
 
3
- Renders a customizable data table with optional footer and caption.
4
-
5
- ## Props
6
-
7
- | Prop | Type | Description | Default |
8
- | ---------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------- |
9
- | columns | array | Array of column objects, each defining a title and field. | |
10
- | data | array | Array of data objects to be displayed in the table rows. | |
11
- | footer | array | Optional array of footer cells to add at the bottom of the table. | |
12
- | caption | ReactNode | Optional table caption as a React node. | |
13
- | styles | CSSProperties | Optional custom styles to apply to the table and its elements. | |
14
- | className | string | Optional className for the table. | |
3
+ Renders a tabular display for presenting structured data with customizable styles.
15
4
 
16
5
  ### **Import**
17
- ```tsx
18
- import { Table } from '@app-studio/web';
19
- ```
6
+ ```tsx
7
+ import { Table } from '@app-studio/web';
8
+ ```
20
9
 
21
10
  ### **Default**
22
11
  ```tsx
23
12
  import React from 'react';
24
- import {
25
- TableContainer,
13
+ import { TableContainer,
26
14
  TableCaption,
27
15
  TableHead,
28
16
  TableRow,
29
17
  TableHeadCell,
30
18
  TableBody,
31
- TableCell,
32
- } from '../Table/Table.view';
19
+ TableCell, } from '@app-studio/web';
33
20
 
34
21
  export const DefaultDemo = () => {
35
22
  interface DataRow {
@@ -113,15 +100,18 @@ export const DefaultDemo = () => {
113
100
  </TableContainer>
114
101
  );
115
102
  };
116
-
117
103
  ```
118
104
 
119
105
  ### **data**
120
- Array of data objects to be displayed in the table rows.
106
+ An array of data objects to be displayed in the table rows.
107
+
108
+ - **Type:** `any[]`
109
+ - **Default:** `None`
110
+ - **Possible Values:** `any[]`
121
111
 
122
112
  ```tsx
123
113
  import React from 'react';
124
- import { Table } from '../Table';
114
+ import { Table } from '@app-studio/web';
125
115
 
126
116
  export const DataDemo = () => {
127
117
  const cols = [
@@ -176,15 +166,18 @@ export const DataDemo = () => {
176
166
  ];
177
167
  return <Table.Template columns={cols} data={invoices} />;
178
168
  };
179
-
180
169
  ```
181
170
 
182
171
  ### **footer**
183
- Optional array of footer cells to add at the bottom of the table.
172
+ An optional array of footer cells to display at the bottom of the table.
173
+
174
+ - **Type:** `FooterCell[]`
175
+ - **Default:** `None`
176
+ - **Possible Values:** `Array<{ value: string; props?: ViewProps; }>`
184
177
 
185
178
  ```tsx
186
179
  import React from 'react';
187
- import { Table } from '../Table';
180
+ import { Table } from '@app-studio/web';
188
181
 
189
182
  export const FooterDemo = () => {
190
183
  const cols = [
@@ -252,7 +245,7 @@ export const FooterDemo = () => {
252
245
  footer={[
253
246
  {
254
247
  value: 'Total Amount',
255
- props: { colspan: 3, style: { fontWeight: 'bold' } },
248
+ props: { colSpan: 3, style: { fontWeight: 'bold' } },
256
249
  },
257
250
  { value: '$2,500.00' },
258
251
  ]}
@@ -260,15 +253,18 @@ export const FooterDemo = () => {
260
253
  </Table>
261
254
  );
262
255
  };
263
-
264
256
  ```
265
257
 
266
258
  ### **caption**
267
- Optional table caption as a React node.
259
+ An optional caption for the table, providing a brief title or explanation.
260
+
261
+ - **Type:** `React.ReactNode`
262
+ - **Default:** `None`
263
+ - **Possible Values:** `React.ReactNode`
268
264
 
269
265
  ```tsx
270
266
  import React from 'react';
271
- import { Table } from '../Table';
267
+ import { Table } from '@app-studio/web';
272
268
 
273
269
  export const CaptionDemo = () => {
274
270
  const cols = [
@@ -329,81 +325,5 @@ export const CaptionDemo = () => {
329
325
  />
330
326
  );
331
327
  };
332
-
333
328
  ```
334
329
 
335
- ### **styles**
336
- Optional custom styles to apply to the table and its elements.
337
-
338
- ```tsx
339
- import React from 'react';
340
- import { Table } from '../Table';
341
-
342
- export const StylesDemo = () => {
343
- const cols = [
344
- { title: 'Invoice', field: 'invoice' },
345
- { title: 'Payment Status', field: 'paymentStatus' },
346
- { title: 'Total Amount', field: 'totalAmount' },
347
- { title: 'Payment Method', field: 'paymentMethod' },
348
- ];
349
- const invoices = [
350
- {
351
- invoice: 'INV001',
352
- paymentStatus: 'Paid',
353
- totalAmount: '$250.00',
354
- paymentMethod: 'Credit Card',
355
- },
356
- {
357
- invoice: 'INV002',
358
- paymentStatus: 'Pending',
359
- totalAmount: '$150.00',
360
- paymentMethod: 'PayPal',
361
- },
362
- {
363
- invoice: 'INV003',
364
- paymentStatus: 'Unpaid',
365
- totalAmount: '$350.00',
366
- paymentMethod: 'Bank Transfer',
367
- },
368
- {
369
- invoice: 'INV004',
370
- paymentStatus: 'Paid',
371
- totalAmount: '$450.00',
372
- paymentMethod: 'Credit Card',
373
- },
374
- {
375
- invoice: 'INV005',
376
- paymentStatus: 'Paid',
377
- totalAmount: '$550.00',
378
- paymentMethod: 'PayPal',
379
- },
380
- {
381
- invoice: 'INV006',
382
- paymentStatus: 'Pending',
383
- totalAmount: '$200.00',
384
- paymentMethod: 'Bank Transfer',
385
- },
386
- {
387
- invoice: 'INV007',
388
- paymentStatus: 'Unpaid',
389
- totalAmount: '$300.00',
390
- paymentMethod: 'Credit Card',
391
- },
392
- ];
393
- return (
394
- <Table
395
- views={{
396
- table: {
397
- boxShadow:
398
- ' 0 4px 6px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1)',
399
-
400
- borderRadius: '1em',
401
- },
402
- }}
403
- >
404
- <Table.Template columns={cols} data={invoices} />
405
- </Table>
406
- );
407
- };
408
-
409
- ```
@@ -1,39 +1,35 @@
1
1
  # Tabs
2
2
 
3
- Provides an interactive tab interface for content organization
4
-
5
- ## Props
6
-
7
- | Prop | Type | Description | Default |
8
- | ---------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------- |
9
- | tabs | {title: string; value: string; content: ReactNode;}[] | An array of tab objects, each defining a title, value, and content. | |
10
- | styles | TabsStyles | Allows for optional styling to be applied to the tabs via a TabsStyles object. | |
11
- | className | string | Optional className for the tabs. | |
3
+ A versatile component for organizing and displaying content in separate, selectable sections.
12
4
 
13
5
  ### **Import**
14
- ```tsx
15
- import { Tabs } from '@app-studio/web';
16
- ```
6
+ ```tsx
7
+ import { Tabs } from '@app-studio/web';
8
+ ```
17
9
 
18
10
  ### **Default**
19
11
  ```tsx
20
12
  import React from 'react';
21
- import { Tabs, View, Text } from '../..';
13
+ import { MoonIcon,
14
+ ShareIcon,
15
+ PanelIcon,
16
+ SaveIcon,
17
+ PauseIcon, } from '@app-studio/web'; // Assuming components are exported from index
18
+ import { Text, View } from 'app-studio';
19
+ import { Tabs } from '@app-studio/web';
22
20
 
21
+ // Example demonstrating basic usage of the Tabs component.
23
22
  export const Default = () => (
24
23
  <Tabs
24
+ // Add a unique 'value' to each tab
25
25
  tabs={[
26
26
  {
27
27
  title: 'Product',
28
- value: 'product',
28
+ icon: <MoonIcon />,
29
29
  content: (
30
- <View
31
- backgroundColor={'purple'}
32
- borderRadius={10}
33
- padding="20px 20px 0"
34
- >
30
+ <View backgroundColor={'purple'} padding="20px 20px 0">
35
31
  <Text heading="h5" color="white">
36
- Product Tab
32
+ Product Tab Content
37
33
  </Text>
38
34
  <DummyContent />
39
35
  </View>
@@ -41,15 +37,11 @@ export const Default = () => (
41
37
  },
42
38
  {
43
39
  title: 'Services',
44
- value: 'services',
40
+ icon: <ShareIcon />,
45
41
  content: (
46
- <View
47
- backgroundColor={'purple'}
48
- borderRadius={10}
49
- padding="20px 20px 0"
50
- >
42
+ <View backgroundColor={'purple'} padding="20px 20px 0">
51
43
  <Text heading="h5" color="white">
52
- Services tab
44
+ Services Tab Content
53
45
  </Text>
54
46
  <DummyContent />
55
47
  </View>
@@ -57,15 +49,11 @@ export const Default = () => (
57
49
  },
58
50
  {
59
51
  title: 'Playground',
60
- value: 'playground',
52
+ icon: <PanelIcon />,
61
53
  content: (
62
- <View
63
- backgroundColor={'purple'}
64
- borderRadius={10}
65
- padding="20px 20px 0"
66
- >
54
+ <View backgroundColor={'purple'} padding="20px 20px 0">
67
55
  <Text heading="h5" color="white">
68
- Playground tab
56
+ Playground Tab Content
69
57
  </Text>
70
58
  <DummyContent />
71
59
  </View>
@@ -73,15 +61,11 @@ export const Default = () => (
73
61
  },
74
62
  {
75
63
  title: 'Content',
76
- value: 'content',
64
+ icon: <SaveIcon />,
77
65
  content: (
78
- <View
79
- backgroundColor={'purple'}
80
- borderRadius={10}
81
- padding="20px 20px 0"
82
- >
66
+ <View backgroundColor={'purple'} padding="20px 20px 0">
83
67
  <Text heading="h5" color="white">
84
- Content tab
68
+ Content Tab Content
85
69
  </Text>
86
70
  <DummyContent />
87
71
  </View>
@@ -89,24 +73,25 @@ export const Default = () => (
89
73
  },
90
74
  {
91
75
  title: 'Random',
92
- value: 'random',
76
+ icon: <PauseIcon />,
93
77
  content: (
94
- <View
95
- backgroundColor={'purple'}
96
- borderRadius={10}
97
- padding="20px 20px 0"
98
- >
78
+ <View backgroundColor={'purple'} padding="20px 20px 0">
99
79
  <Text heading="h5" color="white">
100
- Random tab
80
+ Random Tab Content
101
81
  </Text>
102
82
  <DummyContent />
103
83
  </View>
104
84
  ),
105
85
  },
106
86
  ]}
87
+ // Optionally set the initially active tab
88
+ defaultValue="Services"
89
+ // Optionally listen for tab changes
90
+ onTabChange={(activeTab) => console.log('Active Tab:', activeTab.title)}
107
91
  />
108
92
  );
109
93
 
94
+ // Simple placeholder content component
110
95
  const DummyContent = () => {
111
96
  return (
112
97
  <View
@@ -114,102 +99,14 @@ const DummyContent = () => {
114
99
  borderRadius="8px"
115
100
  height="300px"
116
101
  backgroundColor={'black'}
117
- ></View>
102
+ // Added content for visibility
103
+ display="flex"
104
+ alignItems="center"
105
+ justifyContent="center"
106
+ >
107
+ <Text color="grey">Dummy Content Area</Text>
108
+ </View>
118
109
  );
119
110
  };
120
-
121
111
  ```
122
112
 
123
- ### **styles**
124
- Allows for optional styling to be applied to the tabs via a TabsStyles object.
125
-
126
- ```tsx
127
- import React from 'react';
128
- import { Text } from '@app-studio/web';
129
- import { Tabs } from '../../Tabs/Tabs';
130
-
131
- export const StylesTabs = () => {
132
- const tabs = [
133
- {
134
- title: 'Product',
135
- value: 'product',
136
- content: (
137
- <Text heading="h5" color="white">
138
- Product Tab
139
- </Text>
140
- ),
141
- },
142
- {
143
- title: 'Services',
144
- value: 'services',
145
- content: (
146
- <Text heading="h5" color="white">
147
- Services tab
148
- </Text>
149
- ),
150
- },
151
- {
152
- title: 'Playground',
153
- value: 'playground',
154
- content: (
155
- <Text heading="h5" color="white">
156
- Playground tab
157
- </Text>
158
- ),
159
- },
160
- {
161
- title: 'Content',
162
- value: 'content',
163
- content: (
164
- <Text heading="h5" color="white">
165
- Content tab
166
- </Text>
167
- ),
168
- },
169
- {
170
- title: 'Random',
171
- value: 'random',
172
- content: (
173
- <Text heading="h5" color="white">
174
- Random tab
175
- </Text>
176
- ),
177
- },
178
- ];
179
- return (
180
- <Tabs
181
- tabs={tabs}
182
- views={{
183
- container: { backgroundColor: 'black', borderRadius: '20px' },
184
- headerTabs: {
185
- backgroundColor: 'purple',
186
- width: '100%',
187
- borderRadius: '20px 20px 0 0',
188
- padding: '10px 0',
189
- },
190
- tab: {
191
- shape: 'rounded',
192
- },
193
- title: {
194
- color: 'color.white',
195
- },
196
- content: {
197
- height: '300px',
198
- display: 'flex',
199
- flexDirection: 'column',
200
- justifyContent: 'center',
201
- alignItems: 'center',
202
- },
203
- activeTab: {
204
- variant: 'ghost',
205
- },
206
- activeText: {
207
- weight: 'bold',
208
- size: 'lg',
209
- },
210
- }}
211
- />
212
- );
213
- };
214
-
215
- ```
@@ -11,7 +11,7 @@ A form input component for managing a list of tags. Users can add tags by typing
11
11
  ```tsx
12
12
  import React, { useState } from 'react';
13
13
  import { Vertical, Text } from '@app-studio/web';
14
- import { TagInput } from '../TagInput';
14
+ import { TagInput } from '@app-studio/web';
15
15
 
16
16
  export const DefaultTagInput = () => {
17
17
  const [tags, setTags] = useState<string[]>([]);
@@ -39,7 +39,7 @@ Characters that trigger tag creation. Supports 'enter', 'comma', 'space', and 't
39
39
  ```tsx
40
40
  import React, { useState } from 'react';
41
41
  import { Vertical } from '@app-studio/web';
42
- import { TagInput } from '../TagInput';
42
+ import { TagInput } from '@app-studio/web';
43
43
 
44
44
  export const CustomSeparatorsTagInput = () => {
45
45
  const [tags, setTags] = useState<string[]>(['react', 'typescript']);
@@ -68,7 +68,7 @@ Maximum number of tags allowed.
68
68
  ```tsx
69
69
  import React, { useState } from 'react';
70
70
  import { Vertical } from '@app-studio/web';
71
- import { TagInput } from '../TagInput';
71
+ import { TagInput } from '@app-studio/web';
72
72
 
73
73
  export const LimitedTagInput = () => {
74
74
  const [tags, setTags] = useState<string[]>(['javascript', 'web']);
@@ -96,7 +96,7 @@ Validation constraints for tag length.
96
96
  ```tsx
97
97
  import React, { useState } from 'react';
98
98
  import { Vertical } from '@app-studio/web';
99
- import { TagInput } from '../TagInput';
99
+ import { TagInput } from '@app-studio/web';
100
100
 
101
101
  export const ValidatedTagInput = () => {
102
102
  const [tags, setTags] = useState<string[]>([]);
@@ -127,7 +127,7 @@ Whether to allow duplicate tags.
127
127
  ```tsx
128
128
  import React, { useState } from 'react';
129
129
  import { Vertical } from '@app-studio/web';
130
- import { TagInput } from '../TagInput';
130
+ import { TagInput } from '@app-studio/web';
131
131
 
132
132
  export const NoDuplicatesTagInput = () => {
133
133
  const [tags, setTags] = useState<string[]>(['unique']);
@@ -150,7 +150,7 @@ Default tags for uncontrolled component usage.
150
150
 
151
151
  ```tsx
152
152
  import React from 'react';
153
- import { TagInput } from '../TagInput';
153
+ import { TagInput } from '@app-studio/web';
154
154
 
155
155
  export const UncontrolledTagInput = () => {
156
156
  return (
@@ -172,7 +172,7 @@ Disabled and read-only states.
172
172
  ```tsx
173
173
  import React from 'react';
174
174
  import { Vertical } from '@app-studio/web';
175
- import { TagInput } from '../TagInput';
175
+ import { TagInput } from '@app-studio/web';
176
176
 
177
177
  export const DisabledTagInput = () => {
178
178
  return (
@@ -203,7 +203,7 @@ Visual variant of the component: 'outline', 'default', or 'none'.
203
203
  ```tsx
204
204
  import React, { useState } from 'react';
205
205
  import { Vertical } from '@app-studio/web';
206
- import { TagInput } from '../TagInput';
206
+ import { TagInput } from '@app-studio/web';
207
207
 
208
208
  export const VariantTagInput = () => {
209
209
  const [tags, setTags] = useState<string[]>(['example']);
@@ -239,7 +239,7 @@ Size of the component: 'xs', 'sm', 'md', 'lg', or 'xl'.
239
239
  ```tsx
240
240
  import React, { useState } from 'react';
241
241
  import { Vertical } from '@app-studio/web';
242
- import { TagInput } from '../TagInput';
242
+ import { TagInput } from '@app-studio/web';
243
243
 
244
244
  export const SizeTagInput = () => {
245
245
  const [tags, setTags] = useState<string[]>(['tag']);
@@ -267,7 +267,7 @@ Shape/border radius: 'default', 'sharp', 'rounded', or 'pillShaped'.
267
267
  ```tsx
268
268
  import React, { useState } from 'react';
269
269
  import { Vertical } from '@app-studio/web';
270
- import { TagInput } from '../TagInput';
270
+ import { TagInput } from '@app-studio/web';
271
271
 
272
272
  export const ShapeTagInput = () => {
273
273
  const [tags, setTags] = useState<string[]>(['shaped']);
@@ -295,8 +295,8 @@ React nodes to render on the left and right sides of the input.
295
295
  ```tsx
296
296
  import React, { useState } from 'react';
297
297
  import { Vertical } from '@app-studio/web';
298
- import { TagInput } from '../TagInput';
299
- import { SearchIcon, TagIcon } from '../../../Icon';
298
+ import { TagInput } from '@app-studio/web';
299
+ import { SearchIcon, TagIcon } from '@app-studio/web';
300
300
 
301
301
  export const IconTagInput = () => {
302
302
  const [tags, setTags] = useState<string[]>(['search']);
@@ -330,7 +330,7 @@ Custom styling for different parts of the component.
330
330
  ```tsx
331
331
  import React, { useState } from 'react';
332
332
  import { Vertical } from '@app-studio/web';
333
- import { TagInput } from '../TagInput';
333
+ import { TagInput } from '@app-studio/web';
334
334
 
335
335
  export const StyledTagInput = () => {
336
336
  const [tags, setTags] = useState<string[]>(['design', 'ui']);
@@ -379,7 +379,7 @@ Callbacks for individual tag operations.
379
379
  ```tsx
380
380
  import React, { useState } from 'react';
381
381
  import { Vertical, Text } from '@app-studio/web';
382
- import { TagInput } from '../TagInput';
382
+ import { TagInput } from '@app-studio/web';
383
383
 
384
384
  export const CallbackTagInput = () => {
385
385
  const [tags, setTags] = useState<string[]>(['initial']);
@@ -410,7 +410,7 @@ Whether tags can be removed by clicking the X button.
410
410
  ```tsx
411
411
  import React, { useState } from 'react';
412
412
  import { Vertical } from '@app-studio/web';
413
- import { TagInput } from '../TagInput';
413
+ import { TagInput } from '@app-studio/web';
414
414
 
415
415
  export const NonRemovableTagInput = () => {
416
416
  const [tags, setTags] = useState<string[]>(['permanent', 'fixed']);
@@ -441,7 +441,7 @@ TagInput works seamlessly with forms and form libraries.
441
441
  ```tsx
442
442
  import React, { useState } from 'react';
443
443
  import { Vertical, Button } from '@app-studio/web';
444
- import { TagInput } from '../TagInput';
444
+ import { TagInput } from '@app-studio/web';
445
445
 
446
446
  export const FormTagInput = () => {
447
447
  const [formData, setFormData] = useState({
@@ -492,7 +492,7 @@ Display validation errors and helper messages.
492
492
  ```tsx
493
493
  import React, { useState } from 'react';
494
494
  import { Vertical } from '@app-studio/web';
495
- import { TagInput } from '../TagInput';
495
+ import { TagInput } from '@app-studio/web';
496
496
 
497
497
  export const ErrorTagInput = () => {
498
498
  const [tags, setTags] = useState<string[]>([]);
@@ -15,7 +15,7 @@ import { Text } from "@app-studio/web";
15
15
  “**_size_**” changes the text-size. It has a type "Sizes" with default value “md”.
16
16
 
17
17
  ```tsx
18
- import { Vertical } from "../Layout/Vertical/Vertical";
18
+ import { Vertical, Text } from "@app-studio/web";
19
19
 
20
20
  <Vertical gap={5} alignItems="center">
21
21
  {["xs", "sm", "md", "lg", "xl", "xl", "xl", "xl", "xl", "6xl"].map(
@@ -33,7 +33,7 @@ import { Vertical } from "../Layout/Vertical/Vertical";
33
33
  “**_heading_**” renders a specific heading html tag. “h1” indicates the most important heading and “h6” the least important heading.
34
34
 
35
35
  ```tsx
36
- import { Vertical } from "../Layout/Vertical/Vertical";
36
+ import { Vertical, Text } from "@app-studio/web";
37
37
  <Vertical gap={2}>
38
38
  <Text heading="h1">Heading 1</Text>
39
39
  <Text heading="h2">Heading 2</Text>
@@ -79,7 +79,7 @@ import { Vertical } from "../Layout/Vertical/Vertical";
79
79
  “**_weight_**” changes the font weight of the text. It have a default value of “medium”.
80
80
 
81
81
  ```tsx
82
- import { Vertical } from "../Layout/Vertical/Vertical";
82
+ import { Vertical, Text } from "@app-studio/web";
83
83
 
84
84
  <Vertical gap={5} alignItems="center">
85
85
  {[
@@ -11,7 +11,7 @@ A text input field for multi-line text editing with customizable features.
11
11
  ```tsx
12
12
  import React from 'react';
13
13
 
14
- import { TextArea } from '../TextArea';
14
+ import { TextArea } from '@app-studio/web';
15
15
 
16
16
  export const DefaultArea = () => (
17
17
  <TextArea name="comments" placeholder="Enter your thoughts" />
@@ -26,7 +26,7 @@ Optional color scheme for the component.
26
26
  import React from 'react';
27
27
  import { Vertical } from '@app-studio/web';
28
28
 
29
- import { TextArea } from '../TextArea';
29
+ import { TextArea } from '@app-studio/web';
30
30
 
31
31
  export const ColorArea = () => {
32
32
  return (
@@ -51,8 +51,8 @@ Helper text that appears below the text area.
51
51
  import { useState } from 'react';
52
52
  import React from 'react';
53
53
 
54
- import { Button } from '../../../Button/Button';
55
- import { TextArea } from '../../../Form/TextArea/TextArea';
54
+ import { Button } from '@app-studio/web';
55
+ import { TextArea } from '@app-studio/web';
56
56
 
57
57
  import { Vertical } from '@app-studio/web';
58
58
 
@@ -108,11 +108,11 @@ Placeholder text for the text area when it is empty.
108
108
 
109
109
  ```tsx
110
110
  import React from 'react';
111
- import { Button } from '../../../Button/Button';
111
+ import { Button } from '@app-studio/web';
112
112
 
113
113
  import { Horizontal } from '@app-studio/web';
114
114
 
115
- import { TextArea } from '../TextArea';
115
+ import { TextArea } from '@app-studio/web';
116
116
 
117
117
  export const PlaceholderArea = () => {
118
118
  const handleSubmit = (event: any) => {