@app-studio/web 0.9.44 → 0.9.46
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.
- package/dist/components/Icon/Icon.d.ts +2 -1
- package/dist/pages/themeTest.page.d.ts +3 -0
- package/dist/web.cjs.development.js +7 -2
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +7 -3
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +7 -2
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/docs/components/Badge.mdx +1 -1
- package/docs/components/ColorPicker.mdx +16 -16
- package/docs/components/DragAndDrop.mdx +11 -11
- package/docs/components/Drawer.mdx +3 -3
- package/docs/components/Gradient.mdx +40 -40
- package/docs/components/Icon.mdx +90 -57
- package/docs/components/Loader.mdx +17 -17
- package/docs/components/ProgressBar.mdx +14 -14
- package/docs/components/StatusIndicator.mdx +5 -5
- package/docs/components.md +0 -164
- package/package.json +1 -1
- package/dist/bot/Bot.d.ts +0 -15
- package/dist/bot/Cache.d.ts +0 -13
- package/dist/bot/Config.d.ts +0 -13
- package/dist/bot/ContentFetcher.d.ts +0 -9
- package/dist/bot/DocuCode.d.ts +0 -19
- package/dist/bot/FileHandler.d.ts +0 -39
- package/dist/bot/ai/AnthropicConnector.d.ts +0 -6
- package/dist/bot/ai/GeminiConnector.d.ts +0 -7
- package/dist/bot/ai/GroqConnector.d.ts +0 -7
- package/dist/bot/ai/HuggingFaceConnector.d.ts +0 -6
- package/dist/bot/ai/OpenAIConnector.d.ts +0 -11
- package/dist/bot/ai/ReplicateConnector.d.ts +0 -7
- package/dist/bot/ai/SambaNovaConnector.d.ts +0 -6
- package/dist/bot/ai/ai.config.d.ts +0 -12
- package/dist/bot/ai/ai.service.d.ts +0 -36
- package/dist/bot/data.d.ts +0 -19
- package/dist/bot/extractors.d.ts +0 -8
- package/dist/bot/index.d.ts +0 -1
- package/dist/bot/prompt/1-project.d.ts +0 -1
- package/dist/bot/prompt/2-response.d.ts +0 -1
- package/dist/bot/prompt/3-comment.d.ts +0 -1
- package/docs/components/Calendar.mdx +0 -189
- package/docs/components/Flow.mdx +0 -258
- package/docs/components/KanbanBoard.mdx +0 -286
- package/docs/components/OKR.mdx +0 -452
- package/docs/components/Tree.mdx +0 -341
|
@@ -52,7 +52,7 @@ import { ColorPicker } from '@app-studio/web';
|
|
|
52
52
|
|
|
53
53
|
export const DefaultValueColorPicker = () => (
|
|
54
54
|
<ColorPicker
|
|
55
|
-
defaultValue="
|
|
55
|
+
defaultValue="color.emerald.500"
|
|
56
56
|
onChange={(color) => console.log(color)}
|
|
57
57
|
/>
|
|
58
58
|
);
|
|
@@ -69,11 +69,11 @@ import { ColorPicker } from '@app-studio/web';
|
|
|
69
69
|
|
|
70
70
|
export const PredefinedColorPicker = () => {
|
|
71
71
|
const colors = [
|
|
72
|
-
{ color: '
|
|
73
|
-
{ color: '
|
|
74
|
-
{ color: '
|
|
75
|
-
{ color: '
|
|
76
|
-
{ color: '
|
|
72
|
+
{ color: 'color.red.500', label: 'Red' },
|
|
73
|
+
{ color: 'color.blue.500', label: 'Blue' },
|
|
74
|
+
{ color: 'color.emerald.500', label: 'Green' },
|
|
75
|
+
{ color: 'color.amber.500', label: 'Orange' },
|
|
76
|
+
{ color: 'color.violet.500', label: 'Purple' },
|
|
77
77
|
];
|
|
78
78
|
|
|
79
79
|
return (
|
|
@@ -200,7 +200,7 @@ import { ColorPicker } from '@app-studio/web';
|
|
|
200
200
|
export const DisabledColorPicker = () => (
|
|
201
201
|
<ColorPicker
|
|
202
202
|
isDisabled
|
|
203
|
-
value="
|
|
203
|
+
value="color.blue.500"
|
|
204
204
|
onChange={(color) => console.log(color)}
|
|
205
205
|
/>
|
|
206
206
|
);
|
|
@@ -219,7 +219,7 @@ import { ColorPicker } from '@app-studio/web';
|
|
|
219
219
|
export const ReadOnlyColorPicker = () => (
|
|
220
220
|
<ColorPicker
|
|
221
221
|
isReadOnly
|
|
222
|
-
value="
|
|
222
|
+
value="color.blue.500"
|
|
223
223
|
onChange={(color) => console.log(color)}
|
|
224
224
|
/>
|
|
225
225
|
);
|
|
@@ -385,10 +385,10 @@ export const StyledColorPicker = () => (
|
|
|
385
385
|
views={{
|
|
386
386
|
trigger: {
|
|
387
387
|
borderWidth: 2,
|
|
388
|
-
borderColor: '
|
|
388
|
+
borderColor: 'color.blue.500',
|
|
389
389
|
},
|
|
390
390
|
dropdown: {
|
|
391
|
-
backgroundColor: '
|
|
391
|
+
backgroundColor: 'color.coolGray.50',
|
|
392
392
|
padding: 20,
|
|
393
393
|
},
|
|
394
394
|
colorSwatch: {
|
|
@@ -411,12 +411,12 @@ export const CompleteColorPicker = () => {
|
|
|
411
411
|
const [color, setColor] = useState('#3b82f6');
|
|
412
412
|
|
|
413
413
|
const predefinedColors = [
|
|
414
|
-
{ color: '
|
|
415
|
-
{ color: '
|
|
416
|
-
{ color: '
|
|
417
|
-
{ color: '
|
|
418
|
-
{ color: '
|
|
419
|
-
{ color: '
|
|
414
|
+
{ color: 'color.red.500', label: 'Red' },
|
|
415
|
+
{ color: 'color.blue.500', label: 'Blue' },
|
|
416
|
+
{ color: 'color.emerald.500', label: 'Green' },
|
|
417
|
+
{ color: 'color.amber.500', label: 'Orange' },
|
|
418
|
+
{ color: 'color.violet.500', label: 'Purple' },
|
|
419
|
+
{ color: 'color.pink.500', label: 'Pink' },
|
|
420
420
|
];
|
|
421
421
|
|
|
422
422
|
return (
|
|
@@ -115,7 +115,7 @@ export const CustomRenderDragAndDrop = () => {
|
|
|
115
115
|
gap={10}
|
|
116
116
|
alignItems="center"
|
|
117
117
|
padding={12}
|
|
118
|
-
backgroundColor={item.completed ? '
|
|
118
|
+
backgroundColor={item.completed ? 'color.emerald.100' : 'color.red.100'}
|
|
119
119
|
borderRadius={8}
|
|
120
120
|
>
|
|
121
121
|
<Text fontWeight="bold">#{index + 1}</Text>
|
|
@@ -147,7 +147,7 @@ export const ContainerPropsDragAndDrop = () => {
|
|
|
147
147
|
onChange={setItems}
|
|
148
148
|
renderItem={(item) => <Text>{item}</Text>}
|
|
149
149
|
containerProps={{
|
|
150
|
-
backgroundColor: '
|
|
150
|
+
backgroundColor: 'color.coolGray.100',
|
|
151
151
|
padding: 20,
|
|
152
152
|
borderRadius: 12,
|
|
153
153
|
gap: 10,
|
|
@@ -177,7 +177,7 @@ export const ItemPropsDragAndDrop = () => {
|
|
|
177
177
|
renderItem={(item) => <Text>{item}</Text>}
|
|
178
178
|
itemProps={{
|
|
179
179
|
padding: 15,
|
|
180
|
-
backgroundColor: '
|
|
180
|
+
backgroundColor: 'white',
|
|
181
181
|
borderRadius: 8,
|
|
182
182
|
cursor: 'grab',
|
|
183
183
|
boxShadow: '0 2px 4px rgba(0,0,0,0.1)',
|
|
@@ -207,13 +207,13 @@ export const StyledDragAndDrop = () => {
|
|
|
207
207
|
renderItem={(item) => <Text>{item}</Text>}
|
|
208
208
|
views={{
|
|
209
209
|
container: {
|
|
210
|
-
backgroundColor: '
|
|
210
|
+
backgroundColor: 'color.coolGray.800',
|
|
211
211
|
padding: 20,
|
|
212
212
|
borderRadius: 16,
|
|
213
213
|
},
|
|
214
214
|
item: {
|
|
215
|
-
backgroundColor: '
|
|
216
|
-
color: '
|
|
215
|
+
backgroundColor: 'color.coolGray.700',
|
|
216
|
+
color: 'white',
|
|
217
217
|
padding: 16,
|
|
218
218
|
borderRadius: 8,
|
|
219
219
|
marginBottom: 8,
|
|
@@ -266,9 +266,9 @@ export const TaskListDragAndDrop = () => {
|
|
|
266
266
|
]);
|
|
267
267
|
|
|
268
268
|
const priorityColors = {
|
|
269
|
-
high: '
|
|
270
|
-
medium: '
|
|
271
|
-
low: '
|
|
269
|
+
high: 'color.red.500',
|
|
270
|
+
medium: 'color.amber.500',
|
|
271
|
+
low: 'color.emerald.500',
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
return (
|
|
@@ -278,7 +278,7 @@ export const TaskListDragAndDrop = () => {
|
|
|
278
278
|
renderItem={(task, index) => (
|
|
279
279
|
<View
|
|
280
280
|
padding={16}
|
|
281
|
-
backgroundColor="
|
|
281
|
+
backgroundColor="white"
|
|
282
282
|
borderRadius={12}
|
|
283
283
|
borderLeftWidth={4}
|
|
284
284
|
borderLeftColor={priorityColors[task.priority]}
|
|
@@ -298,7 +298,7 @@ export const TaskListDragAndDrop = () => {
|
|
|
298
298
|
{task.priority}
|
|
299
299
|
</Text>
|
|
300
300
|
</Horizontal>
|
|
301
|
-
<Text fontSize={14} color="
|
|
301
|
+
<Text fontSize={14} color="color.coolGray.500">
|
|
302
302
|
{task.description}
|
|
303
303
|
</Text>
|
|
304
304
|
</Vertical>
|
|
@@ -434,15 +434,15 @@ export const DetailsDrawer = () => {
|
|
|
434
434
|
<Drawer.Body>
|
|
435
435
|
<Vertical gap={20}>
|
|
436
436
|
<div>
|
|
437
|
-
<Text fontSize={14} color="
|
|
437
|
+
<Text fontSize={14} color="color.coolGray.500">Name</Text>
|
|
438
438
|
<Text fontSize={16}>Premium Widget</Text>
|
|
439
439
|
</div>
|
|
440
440
|
<div>
|
|
441
|
-
<Text fontSize={14} color="
|
|
441
|
+
<Text fontSize={14} color="color.coolGray.500">Price</Text>
|
|
442
442
|
<Text fontSize={16}>$99.99</Text>
|
|
443
443
|
</div>
|
|
444
444
|
<div>
|
|
445
|
-
<Text fontSize={14} color="
|
|
445
|
+
<Text fontSize={14} color="color.coolGray.500">Description</Text>
|
|
446
446
|
<Text fontSize={16}>
|
|
447
447
|
A high-quality widget with advanced features
|
|
448
448
|
and premium materials.
|
|
@@ -14,8 +14,8 @@ import { Gradient } from '@app-studio/web';
|
|
|
14
14
|
|
|
15
15
|
export const DefaultGradient = () => (
|
|
16
16
|
<Gradient
|
|
17
|
-
from="
|
|
18
|
-
to="
|
|
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="
|
|
42
|
-
to="
|
|
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="
|
|
49
|
-
to="
|
|
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="
|
|
56
|
-
to="
|
|
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="
|
|
77
|
-
<Gradient from="
|
|
78
|
-
<Gradient from="
|
|
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="
|
|
131
|
-
to="
|
|
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="
|
|
158
|
-
to="
|
|
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="
|
|
166
|
-
to="
|
|
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="
|
|
199
|
-
to="
|
|
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="
|
|
221
|
-
to="
|
|
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="
|
|
244
|
-
to="
|
|
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="
|
|
252
|
-
to="
|
|
251
|
+
from="color.blue.500"
|
|
252
|
+
to="color.violet.500"
|
|
253
253
|
animate
|
|
254
254
|
animationDuration={5}
|
|
255
255
|
width={300}
|
|
@@ -271,14 +271,14 @@ import { Text, Center } from 'app-studio';
|
|
|
271
271
|
|
|
272
272
|
export const GradientWithContent = () => (
|
|
273
273
|
<Gradient
|
|
274
|
-
from="
|
|
275
|
-
to="
|
|
274
|
+
from="color.blue.500"
|
|
275
|
+
to="color.violet.500"
|
|
276
276
|
width={300}
|
|
277
277
|
height={200}
|
|
278
278
|
borderRadius={16}
|
|
279
279
|
>
|
|
280
280
|
<Center width="100%" height="100%">
|
|
281
|
-
<Text color="
|
|
281
|
+
<Text color="white" fontSize={24} fontWeight="bold">
|
|
282
282
|
Gradient Background
|
|
283
283
|
</Text>
|
|
284
284
|
</Center>
|
|
@@ -297,8 +297,8 @@ import { Gradient } from '@app-studio/web';
|
|
|
297
297
|
|
|
298
298
|
export const StyledGradient = () => (
|
|
299
299
|
<Gradient
|
|
300
|
-
from="
|
|
301
|
-
to="
|
|
300
|
+
from="color.blue.500"
|
|
301
|
+
to="color.violet.500"
|
|
302
302
|
width={300}
|
|
303
303
|
height={200}
|
|
304
304
|
views={{
|
|
@@ -379,28 +379,28 @@ import { Text, Vertical, Button } from 'app-studio';
|
|
|
379
379
|
|
|
380
380
|
export const GradientCard = () => (
|
|
381
381
|
<Gradient
|
|
382
|
-
from="
|
|
383
|
-
to="
|
|
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)"
|
|
387
387
|
>
|
|
388
388
|
<Vertical gap={20} padding={30}>
|
|
389
|
-
<Text color="
|
|
389
|
+
<Text color="white" fontSize={28} fontWeight="bold">
|
|
390
390
|
Premium Plan
|
|
391
391
|
</Text>
|
|
392
|
-
<Text color="
|
|
392
|
+
<Text color="white" fontSize={48} fontWeight="bold">
|
|
393
393
|
$99
|
|
394
394
|
<Text as="span" fontSize={20}>/month</Text>
|
|
395
395
|
</Text>
|
|
396
396
|
<Vertical gap={10}>
|
|
397
|
-
<Text color="
|
|
398
|
-
<Text color="
|
|
399
|
-
<Text color="
|
|
397
|
+
<Text color="white">✓ Unlimited projects</Text>
|
|
398
|
+
<Text color="white">✓ Priority support</Text>
|
|
399
|
+
<Text color="white">✓ Advanced analytics</Text>
|
|
400
400
|
</Vertical>
|
|
401
401
|
<Button
|
|
402
|
-
backgroundColor="
|
|
403
|
-
color="
|
|
402
|
+
backgroundColor="white"
|
|
403
|
+
color="color.indigo.400"
|
|
404
404
|
isFullWidth
|
|
405
405
|
>
|
|
406
406
|
Get Started
|
|
@@ -434,7 +434,7 @@ export const AnimatedBackground = () => (
|
|
|
434
434
|
>
|
|
435
435
|
<Center width="100%" height="100%">
|
|
436
436
|
<Text
|
|
437
|
-
color="
|
|
437
|
+
color="white"
|
|
438
438
|
fontSize={40}
|
|
439
439
|
fontWeight="bold"
|
|
440
440
|
textAlign="center"
|
package/docs/components/Icon.mdx
CHANGED
|
@@ -118,63 +118,96 @@ export const IconOrientations = () => (
|
|
|
118
118
|
);
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
### **Available Icons**
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
- `
|
|
127
|
-
- `
|
|
128
|
-
- `
|
|
129
|
-
- `
|
|
130
|
-
- `
|
|
131
|
-
- `
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
- `
|
|
135
|
-
- `
|
|
136
|
-
- `
|
|
137
|
-
- `
|
|
138
|
-
- `
|
|
139
|
-
- `
|
|
140
|
-
- `
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
- `
|
|
144
|
-
- `
|
|
145
|
-
- `
|
|
146
|
-
- `
|
|
147
|
-
- `
|
|
148
|
-
- `
|
|
149
|
-
- `
|
|
150
|
-
- `
|
|
151
|
-
- `
|
|
152
|
-
- `
|
|
153
|
-
- `
|
|
154
|
-
- `
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
- `
|
|
158
|
-
- `
|
|
159
|
-
- `
|
|
160
|
-
- `
|
|
161
|
-
- `
|
|
162
|
-
- `
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
- `
|
|
166
|
-
- `
|
|
167
|
-
- `
|
|
168
|
-
- `
|
|
169
|
-
- `
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
- `
|
|
173
|
-
- `
|
|
174
|
-
- `
|
|
175
|
-
- `
|
|
176
|
-
- `
|
|
177
|
-
- `
|
|
121
|
+
### **Available Icons (complete list)**
|
|
122
|
+
|
|
123
|
+
Below is the complete list of exported icons with short English descriptions. Use the "Icon Grid Display" example to preview them.
|
|
124
|
+
|
|
125
|
+
- `ArrowIcon` — Directional arrow with orientation (up/right/down/left).
|
|
126
|
+
- `AttachmentIcon` — Attach a file (paperclip).
|
|
127
|
+
- `AudioIcon` — Speaker with sound waves (audio on).
|
|
128
|
+
- `BatteryIcon` — Battery/energy status.
|
|
129
|
+
- `BluetoothIcon` — Bluetooth logo, wireless connectivity.
|
|
130
|
+
- `BoldArrowIcon` — Thick arrow for primary action.
|
|
131
|
+
- `BookmarkIcon` — Bookmark / saved item.
|
|
132
|
+
- `CalendarIcon` — Calendar / date / agenda.
|
|
133
|
+
- `CameraIcon` — Camera / image capture.
|
|
134
|
+
- `ChartIcon` — Document with lines, report/graph context.
|
|
135
|
+
- `CheckIcon` — Validation / success (tick).
|
|
136
|
+
- `ChevronIcon` — Chevron (navigation, expand/collapse).
|
|
137
|
+
- `ClockIcon` — Clock / time / deadlines.
|
|
138
|
+
- `CloseEyeIcon` — Eye-off, hide/mask content.
|
|
139
|
+
- `CloseIcon` — Close / dismiss (cross).
|
|
140
|
+
- `CloudIcon` — Cloud / storage / weather.
|
|
141
|
+
- `CopyIcon` — Copy to clipboard.
|
|
142
|
+
- `CropIcon` — Crop tool / image cropping.
|
|
143
|
+
- `DeleteIcon` — Delete / trash.
|
|
144
|
+
- `DocumentIcon` — Document/file with lines.
|
|
145
|
+
- `DragHandleIcon` — Drag handle (grid of dots).
|
|
146
|
+
- `DragHandleLinesIcon` — Drag handle (two lines).
|
|
147
|
+
- `DustBinIcon` — Trash bin (alias of Delete).
|
|
148
|
+
- `EditIcon` — Edit/modify (pencil).
|
|
149
|
+
- `ErrorIcon` — Error / critical state.
|
|
150
|
+
- `ExternalLinkIcon` — Open in new tab / external link.
|
|
151
|
+
- `FacebookIcon` — Facebook social network.
|
|
152
|
+
- `FileIcon` — Generic file.
|
|
153
|
+
- `FilterIcon` — Filter / sort.
|
|
154
|
+
- `FolderIcon` — Folder / directory.
|
|
155
|
+
- `GiftIcon` — Gift / reward / promo.
|
|
156
|
+
- `HeartIcon` — Like / favorite / love.
|
|
157
|
+
- `HelpIcon` — Help / support / question mark.
|
|
158
|
+
- `HomeIcon` — Home / main page.
|
|
159
|
+
- `ImageIcon` — Image / media.
|
|
160
|
+
- `InfoIcon` — Information / details.
|
|
161
|
+
- `InstagramIcon` — Instagram social network.
|
|
162
|
+
- `LikeIcon` — Thumbs up / like.
|
|
163
|
+
- `LinkedinIcon` — LinkedIn social network.
|
|
164
|
+
- `LoadingSpinnerIcon` — Loading / in progress.
|
|
165
|
+
- `LocationIcon` — Location / pin.
|
|
166
|
+
- `LockIcon` — Locked / secure.
|
|
167
|
+
- `LogoutIcon` — Logout / sign out.
|
|
168
|
+
- `MagicWandIcon` — Assistant / automation / magic.
|
|
169
|
+
- `MenuIcon` — Hamburger menu.
|
|
170
|
+
- `MicrophoneIcon` — Microphone / audio input.
|
|
171
|
+
- `MinusIcon` — Minus / reduce / remove.
|
|
172
|
+
- `MoonIcon` — Moon / dark mode / night.
|
|
173
|
+
- `NotificationIcon` — Notifications / alert.
|
|
174
|
+
- `OpenEyeIcon` — Eye-on, show/visibility.
|
|
175
|
+
- `PanelIcon` — Layout with side panel.
|
|
176
|
+
- `PauseIcon` — Pause media.
|
|
177
|
+
- `PlayIcon` — Play media.
|
|
178
|
+
- `PlusIcon` — Plus / add / create.
|
|
179
|
+
- `PowerOffIcon` — Power / turn off.
|
|
180
|
+
- `PrintIcon` — Print.
|
|
181
|
+
- `ProfileIcon` — Profile / user.
|
|
182
|
+
- `RefreshIcon` — Refresh / reload.
|
|
183
|
+
- `RotateIcon` — Rotate / pivot.
|
|
184
|
+
- `SaveIcon` — Save / persist.
|
|
185
|
+
- `SearchIcon` — Search.
|
|
186
|
+
- `SendIcon` — Send (paper plane).
|
|
187
|
+
- `SettingsIcon` — Settings / configuration.
|
|
188
|
+
- `ShapeIcon` — Shapes (rectangle/circle/polygon).
|
|
189
|
+
- `ShieldIcon` — Shield / protection / security.
|
|
190
|
+
- `SliderIcon` — Slider controls.
|
|
191
|
+
- `SpinnerIcon` — Circular progress indicator.
|
|
192
|
+
- `StarIcon` — Star / rating / favorite.
|
|
193
|
+
- `StopIcon` — Stop media (square).
|
|
194
|
+
- `SuccessIcon` — Success / validated (circle + tick).
|
|
195
|
+
- `TextIcon` — Text / title.
|
|
196
|
+
- `ThreadsIcon` — Threads social network.
|
|
197
|
+
- `TickIcon` — Checkmark / validated.
|
|
198
|
+
- `TrashIcon` — Trash (alias of Delete).
|
|
199
|
+
- `TwitchIcon` — Twitch platform.
|
|
200
|
+
- `TwitterIcon` — Twitter/X social network.
|
|
201
|
+
- `UploadIcon` — Upload / send a file.
|
|
202
|
+
- `UnLikeIcon` — Thumbs down / dislike.
|
|
203
|
+
- `UnlockIcon` — Unlock / access.
|
|
204
|
+
- `UserIcon` — User / account.
|
|
205
|
+
- `VideoIcon` — Video / media.
|
|
206
|
+
- `WifiIcon` — Wi‑Fi network.
|
|
207
|
+
- `XIcon` — X social network.
|
|
208
|
+
- `YoutubeIcon` — YouTube platform.
|
|
209
|
+
- `ZoomInIcon` — Zoom in.
|
|
210
|
+
- `ZoomOutIcon` — Zoom out.
|
|
178
211
|
|
|
179
212
|
### **Icon Usage in Components**
|
|
180
213
|
```tsx
|
|
@@ -93,11 +93,11 @@ import { Horizontal } from 'app-studio';
|
|
|
93
93
|
|
|
94
94
|
export const ColoredLoaders = () => (
|
|
95
95
|
<Horizontal gap={30}>
|
|
96
|
-
<Loader loaderColor="
|
|
97
|
-
<Loader loaderColor="
|
|
98
|
-
<Loader loaderColor="
|
|
99
|
-
<Loader loaderColor="
|
|
100
|
-
<Loader loaderColor="
|
|
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="
|
|
174
|
-
textColor="
|
|
173
|
+
loaderColor="color.blue.500"
|
|
174
|
+
textColor="color.blue.500"
|
|
175
175
|
>
|
|
176
176
|
Loading...
|
|
177
177
|
</Loader>
|
|
@@ -277,7 +277,7 @@ export const ButtonLoader = () => {
|
|
|
277
277
|
isDisabled={loading}
|
|
278
278
|
>
|
|
279
279
|
<Horizontal gap={10} alignItems="center">
|
|
280
|
-
{loading && <Loader size={16} loaderColor="
|
|
280
|
+
{loading && <Loader size={16} loaderColor="white" />}
|
|
281
281
|
{loading ? 'Submitting...' : 'Submit'}
|
|
282
282
|
</Horizontal>
|
|
283
283
|
</Button>
|
|
@@ -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="
|
|
302
|
-
<Loader type="spinner" size="md" loaderColor="
|
|
303
|
-
<Loader type="spinner" size="lg" loaderColor="
|
|
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="
|
|
311
|
-
<Loader type="dotted" size="md" loaderColor="
|
|
312
|
-
<Loader type="dotted" size="lg" loaderColor="
|
|
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="
|
|
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="
|
|
325
|
-
textColor="
|
|
324
|
+
loaderColor="color.emerald.500"
|
|
325
|
+
textColor="color.emerald.500"
|
|
326
326
|
textPosition="right"
|
|
327
327
|
>
|
|
328
328
|
Processing
|