jsswift 1.0.43 → 1.0.44
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/documentions/README.md +20 -0
- package/dist/documentions/ai-development.md +68 -0
- package/dist/documentions/application-rules.md +7 -0
- package/dist/documentions/components/README.md +11 -0
- package/dist/documentions/components/alert.md +506 -0
- package/dist/documentions/components/app-shell.md +537 -0
- package/dist/documentions/components/avatar.md +588 -0
- package/dist/documentions/components/badge.md +474 -0
- package/dist/documentions/components/banner.md +548 -0
- package/dist/documentions/components/breadcrumbs.md +535 -0
- package/dist/documentions/components/btn.md +433 -0
- package/dist/documentions/components/card-body.md +341 -0
- package/dist/documentions/components/card-footer.md +380 -0
- package/dist/documentions/components/card-header.md +380 -0
- package/dist/documentions/components/card.md +609 -0
- package/dist/documentions/components/checkbox.md +473 -0
- package/dist/documentions/components/chip.md +409 -0
- package/dist/documentions/components/col.md +625 -0
- package/dist/documentions/components/container.md +548 -0
- package/dist/documentions/components/context-menu.md +715 -0
- package/dist/documentions/components/date.md +693 -0
- package/dist/documentions/components/dialog.md +645 -0
- package/dist/documentions/components/drawer.md +629 -0
- package/dist/documentions/components/empty-state.md +490 -0
- package/dist/documentions/components/footer.md +599 -0
- package/dist/documentions/components/form-field.md +581 -0
- package/dist/documentions/components/form.md +334 -0
- package/dist/documentions/components/grid-col.md +559 -0
- package/dist/documentions/components/grid.md +555 -0
- package/dist/documentions/components/header.md +560 -0
- package/dist/documentions/components/icon.md +383 -0
- package/dist/documentions/components/input.md +632 -0
- package/dist/documentions/components/item.md +546 -0
- package/dist/documentions/components/kpi.md +532 -0
- package/dist/documentions/components/layout.md +824 -0
- package/dist/documentions/components/list.md +418 -0
- package/dist/documentions/components/loading-bar.md +692 -0
- package/dist/documentions/components/menu.md +728 -0
- package/dist/documentions/components/notify.md +538 -0
- package/dist/documentions/components/page.md +539 -0
- package/dist/documentions/components/pagination.md +548 -0
- package/dist/documentions/components/parallax.md +646 -0
- package/dist/documentions/components/popover.md +678 -0
- package/dist/documentions/components/progress.md +567 -0
- package/dist/documentions/components/radio.md +487 -0
- package/dist/documentions/components/rating.md +592 -0
- package/dist/documentions/components/route-tab.md +508 -0
- package/dist/documentions/components/row.md +520 -0
- package/dist/documentions/components/search.md +748 -0
- package/dist/documentions/components/select.md +673 -0
- package/dist/documentions/components/separator.md +334 -0
- package/dist/documentions/components/slider.md +648 -0
- package/dist/documentions/components/spacer.md +327 -0
- package/dist/documentions/components/spinner.md +453 -0
- package/dist/documentions/components/stat.md +518 -0
- package/dist/documentions/components/tab-panel.md +579 -0
- package/dist/documentions/components/table.md +674 -0
- package/dist/documentions/components/tabs.md +554 -0
- package/dist/documentions/components/time.md +510 -0
- package/dist/documentions/components/toggle.md +515 -0
- package/dist/documentions/components/toolbar.md +656 -0
- package/dist/documentions/components/tooltip.md +553 -0
- package/dist/documentions/getting-started.md +20 -0
- package/dist/documentions/knowledge-map.json +947 -0
- package/dist/documentions/platform.md +9 -0
- package/dist/documentions/reactivity.md +13 -0
- package/dist/documentions/reference/function-catalog.md +333 -0
- package/dist/documentions/reference/html-svg-helpers.md +131 -0
- package/dist/documentions/ui/data-feedback-overlays.md +5 -0
- package/dist/documentions/ui/forms.md +11 -0
- package/dist/documentions/ui/layout-and-responsive.md +15 -0
- package/package.json +4 -2
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
# Avatar
|
|
2
|
+
|
|
3
|
+
Exact JSswift UI metadata contract. Use only the props, slots, events, and methods documented below.
|
|
4
|
+
|
|
5
|
+
```json
|
|
6
|
+
{
|
|
7
|
+
"signature": "_.Avatar(...children) | _.Avatar(props, ...children)",
|
|
8
|
+
"props": {
|
|
9
|
+
"size": {
|
|
10
|
+
"type": "number|string",
|
|
11
|
+
"description": "Size token, number, or CSS length for sizing.",
|
|
12
|
+
"default": null,
|
|
13
|
+
"values": [
|
|
14
|
+
"number",
|
|
15
|
+
"CSS units",
|
|
16
|
+
"xxs",
|
|
17
|
+
"xs",
|
|
18
|
+
"sm",
|
|
19
|
+
"md",
|
|
20
|
+
"lg",
|
|
21
|
+
"xl",
|
|
22
|
+
"xxl",
|
|
23
|
+
"xxxl"
|
|
24
|
+
],
|
|
25
|
+
"category": "style"
|
|
26
|
+
},
|
|
27
|
+
"color": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Semantic color name used to style the component.",
|
|
30
|
+
"default": null,
|
|
31
|
+
"values": [
|
|
32
|
+
"primary",
|
|
33
|
+
"secondary",
|
|
34
|
+
"success",
|
|
35
|
+
"warning",
|
|
36
|
+
"danger",
|
|
37
|
+
"info",
|
|
38
|
+
"light",
|
|
39
|
+
"dark"
|
|
40
|
+
],
|
|
41
|
+
"category": "style"
|
|
42
|
+
},
|
|
43
|
+
"outline": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Uses outlined visual style.",
|
|
46
|
+
"default": false,
|
|
47
|
+
"values": [
|
|
48
|
+
"number",
|
|
49
|
+
"CSS units",
|
|
50
|
+
"xxs",
|
|
51
|
+
"xs",
|
|
52
|
+
"sm",
|
|
53
|
+
"md",
|
|
54
|
+
"lg",
|
|
55
|
+
"xl",
|
|
56
|
+
"xxl",
|
|
57
|
+
"xxxl"
|
|
58
|
+
],
|
|
59
|
+
"category": "style"
|
|
60
|
+
},
|
|
61
|
+
"clickable": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"description": "Enables pointer/hover styles and click handling on the component.",
|
|
64
|
+
"default": false,
|
|
65
|
+
"values": null,
|
|
66
|
+
"category": "behavior"
|
|
67
|
+
},
|
|
68
|
+
"padding": {
|
|
69
|
+
"type": "string|number",
|
|
70
|
+
"description": "Padding applied to the component root element.",
|
|
71
|
+
"default": null,
|
|
72
|
+
"values": [
|
|
73
|
+
"number",
|
|
74
|
+
"CSS units",
|
|
75
|
+
"xxs",
|
|
76
|
+
"xs",
|
|
77
|
+
"sm",
|
|
78
|
+
"md",
|
|
79
|
+
"lg",
|
|
80
|
+
"xl",
|
|
81
|
+
"xxl",
|
|
82
|
+
"xxxl"
|
|
83
|
+
],
|
|
84
|
+
"category": "layout"
|
|
85
|
+
},
|
|
86
|
+
"margin": {
|
|
87
|
+
"type": "string|number",
|
|
88
|
+
"description": "Margin applied to the component root element.",
|
|
89
|
+
"default": null,
|
|
90
|
+
"values": [
|
|
91
|
+
"number",
|
|
92
|
+
"CSS units",
|
|
93
|
+
"xxs",
|
|
94
|
+
"xs",
|
|
95
|
+
"sm",
|
|
96
|
+
"md",
|
|
97
|
+
"lg",
|
|
98
|
+
"xl",
|
|
99
|
+
"xxl",
|
|
100
|
+
"xxxl"
|
|
101
|
+
],
|
|
102
|
+
"category": "layout"
|
|
103
|
+
},
|
|
104
|
+
"width": {
|
|
105
|
+
"type": "string|number",
|
|
106
|
+
"description": "Explicit width (number interpreted as px or CSS length).",
|
|
107
|
+
"default": null,
|
|
108
|
+
"values": [
|
|
109
|
+
"number",
|
|
110
|
+
"CSS units",
|
|
111
|
+
"xxs",
|
|
112
|
+
"xs",
|
|
113
|
+
"sm",
|
|
114
|
+
"md",
|
|
115
|
+
"lg",
|
|
116
|
+
"xl",
|
|
117
|
+
"xxl",
|
|
118
|
+
"xxxl"
|
|
119
|
+
],
|
|
120
|
+
"category": "layout"
|
|
121
|
+
},
|
|
122
|
+
"minWidth": {
|
|
123
|
+
"type": "string|number",
|
|
124
|
+
"description": "Minimum width constraint (number interpreted as px or CSS length).",
|
|
125
|
+
"default": null,
|
|
126
|
+
"values": [
|
|
127
|
+
"number",
|
|
128
|
+
"CSS units",
|
|
129
|
+
"xxs",
|
|
130
|
+
"xs",
|
|
131
|
+
"sm",
|
|
132
|
+
"md",
|
|
133
|
+
"lg",
|
|
134
|
+
"xl",
|
|
135
|
+
"xxl",
|
|
136
|
+
"xxxl"
|
|
137
|
+
],
|
|
138
|
+
"category": "layout"
|
|
139
|
+
},
|
|
140
|
+
"maxWidth": {
|
|
141
|
+
"type": "string|number",
|
|
142
|
+
"description": "Maximum width constraint (number interpreted as px or CSS length).",
|
|
143
|
+
"default": null,
|
|
144
|
+
"values": [
|
|
145
|
+
"number",
|
|
146
|
+
"CSS units",
|
|
147
|
+
"xxs",
|
|
148
|
+
"xs",
|
|
149
|
+
"sm",
|
|
150
|
+
"md",
|
|
151
|
+
"lg",
|
|
152
|
+
"xl",
|
|
153
|
+
"xxl",
|
|
154
|
+
"xxxl"
|
|
155
|
+
],
|
|
156
|
+
"category": "layout"
|
|
157
|
+
},
|
|
158
|
+
"height": {
|
|
159
|
+
"type": "string|number",
|
|
160
|
+
"description": "Explicit height (number interpreted as px or CSS length).",
|
|
161
|
+
"default": null,
|
|
162
|
+
"values": [
|
|
163
|
+
"number",
|
|
164
|
+
"CSS units",
|
|
165
|
+
"xxs",
|
|
166
|
+
"xs",
|
|
167
|
+
"sm",
|
|
168
|
+
"md",
|
|
169
|
+
"lg",
|
|
170
|
+
"xl",
|
|
171
|
+
"xxl",
|
|
172
|
+
"xxxl"
|
|
173
|
+
],
|
|
174
|
+
"category": "layout"
|
|
175
|
+
},
|
|
176
|
+
"minHeight": {
|
|
177
|
+
"type": "string|number",
|
|
178
|
+
"description": "Minimum height constraint (number interpreted as px or CSS length).",
|
|
179
|
+
"default": null,
|
|
180
|
+
"values": [
|
|
181
|
+
"number",
|
|
182
|
+
"CSS units",
|
|
183
|
+
"xxs",
|
|
184
|
+
"xs",
|
|
185
|
+
"sm",
|
|
186
|
+
"md",
|
|
187
|
+
"lg",
|
|
188
|
+
"xl",
|
|
189
|
+
"xxl",
|
|
190
|
+
"xxxl"
|
|
191
|
+
],
|
|
192
|
+
"category": "layout"
|
|
193
|
+
},
|
|
194
|
+
"maxHeight": {
|
|
195
|
+
"type": "string|number",
|
|
196
|
+
"description": "Maximum height constraint (number interpreted as px or CSS length).",
|
|
197
|
+
"default": null,
|
|
198
|
+
"values": [
|
|
199
|
+
"number",
|
|
200
|
+
"CSS units",
|
|
201
|
+
"xxs",
|
|
202
|
+
"xs",
|
|
203
|
+
"sm",
|
|
204
|
+
"md",
|
|
205
|
+
"lg",
|
|
206
|
+
"xl",
|
|
207
|
+
"xxl",
|
|
208
|
+
"xxxl"
|
|
209
|
+
],
|
|
210
|
+
"category": "layout"
|
|
211
|
+
},
|
|
212
|
+
"radius": {
|
|
213
|
+
"type": "number|string",
|
|
214
|
+
"description": "Border radius token or CSS length applied to the component.",
|
|
215
|
+
"default": null,
|
|
216
|
+
"values": [
|
|
217
|
+
"number",
|
|
218
|
+
"CSS units",
|
|
219
|
+
"xxs",
|
|
220
|
+
"xs",
|
|
221
|
+
"sm",
|
|
222
|
+
"md",
|
|
223
|
+
"lg",
|
|
224
|
+
"xl",
|
|
225
|
+
"xxl",
|
|
226
|
+
"xxxl"
|
|
227
|
+
],
|
|
228
|
+
"category": "style"
|
|
229
|
+
},
|
|
230
|
+
"borderRadius": {
|
|
231
|
+
"type": "string|number",
|
|
232
|
+
"description": "Border radius token or CSS length applied to the component.",
|
|
233
|
+
"default": null,
|
|
234
|
+
"values": [
|
|
235
|
+
"number",
|
|
236
|
+
"CSS units",
|
|
237
|
+
"xxs",
|
|
238
|
+
"xs",
|
|
239
|
+
"sm",
|
|
240
|
+
"md",
|
|
241
|
+
"lg",
|
|
242
|
+
"xl",
|
|
243
|
+
"xxl",
|
|
244
|
+
"xxxl"
|
|
245
|
+
],
|
|
246
|
+
"category": "style"
|
|
247
|
+
},
|
|
248
|
+
"shadow": {
|
|
249
|
+
"type": "string|boolean",
|
|
250
|
+
"description": "Shadow token or CSS box-shadow string applied to the component.",
|
|
251
|
+
"default": null,
|
|
252
|
+
"values": [
|
|
253
|
+
"none",
|
|
254
|
+
"xxs",
|
|
255
|
+
"xs",
|
|
256
|
+
"sm",
|
|
257
|
+
"md",
|
|
258
|
+
"lg",
|
|
259
|
+
"xl",
|
|
260
|
+
"xxl",
|
|
261
|
+
"xxxl"
|
|
262
|
+
],
|
|
263
|
+
"category": "style"
|
|
264
|
+
},
|
|
265
|
+
"mobile": {
|
|
266
|
+
"type": "{ width?, height?, minWidth?, maxWidth?, padding?, margin?, radius? }",
|
|
267
|
+
"description": "Responsive overrides applied at the base/mobile viewport.",
|
|
268
|
+
"default": null,
|
|
269
|
+
"values": null,
|
|
270
|
+
"category": "layout"
|
|
271
|
+
},
|
|
272
|
+
"tablet": {
|
|
273
|
+
"type": "{ width?, height?, minWidth?, maxWidth?, padding?, margin?, radius? }",
|
|
274
|
+
"description": "Responsive overrides applied from the tablet breakpoint upward.",
|
|
275
|
+
"default": null,
|
|
276
|
+
"values": null,
|
|
277
|
+
"category": "layout"
|
|
278
|
+
},
|
|
279
|
+
"pc": {
|
|
280
|
+
"type": "{ width?, height?, minWidth?, maxWidth?, padding?, margin?, radius? }",
|
|
281
|
+
"description": "Responsive overrides applied from the desktop breakpoint upward.",
|
|
282
|
+
"default": null,
|
|
283
|
+
"values": null,
|
|
284
|
+
"category": "layout"
|
|
285
|
+
},
|
|
286
|
+
"class": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "Additional CSS classes applied to the component root element.",
|
|
289
|
+
"default": null,
|
|
290
|
+
"values": null,
|
|
291
|
+
"category": "style"
|
|
292
|
+
},
|
|
293
|
+
"style": {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"description": "Inline styles applied to the component root element.",
|
|
296
|
+
"default": null,
|
|
297
|
+
"values": null,
|
|
298
|
+
"category": "style"
|
|
299
|
+
},
|
|
300
|
+
"src": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"description": "Image source URL.",
|
|
303
|
+
"default": null,
|
|
304
|
+
"values": null,
|
|
305
|
+
"category": "general"
|
|
306
|
+
},
|
|
307
|
+
"srcset": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"description": "Component configuration for \"srcset\". When not handled internally, it is forwarded to the root element.",
|
|
310
|
+
"default": null,
|
|
311
|
+
"values": null,
|
|
312
|
+
"category": "general"
|
|
313
|
+
},
|
|
314
|
+
"sizes": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"description": "Component configuration for \"sizes\". When not handled internally, it is forwarded to the root element.",
|
|
317
|
+
"default": null,
|
|
318
|
+
"values": null,
|
|
319
|
+
"category": "general"
|
|
320
|
+
},
|
|
321
|
+
"alt": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"description": "Component configuration for \"alt\". When not handled internally, it is forwarded to the root element.",
|
|
324
|
+
"default": null,
|
|
325
|
+
"values": null,
|
|
326
|
+
"category": "general"
|
|
327
|
+
},
|
|
328
|
+
"label": {
|
|
329
|
+
"type": "String|Node|Function|Array",
|
|
330
|
+
"description": "Label text or node for the component.",
|
|
331
|
+
"default": null,
|
|
332
|
+
"values": null,
|
|
333
|
+
"category": "general"
|
|
334
|
+
},
|
|
335
|
+
"name": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"description": "HTML name attribute for form submission.",
|
|
338
|
+
"default": null,
|
|
339
|
+
"values": null,
|
|
340
|
+
"category": "general"
|
|
341
|
+
},
|
|
342
|
+
"initials": {
|
|
343
|
+
"type": "string|Node|Function|Array",
|
|
344
|
+
"description": "Component configuration for \"initials\". When not handled internally, it is forwarded to the root element.",
|
|
345
|
+
"default": null,
|
|
346
|
+
"values": null,
|
|
347
|
+
"category": "general"
|
|
348
|
+
},
|
|
349
|
+
"text": {
|
|
350
|
+
"type": "string|Node|Function|Array",
|
|
351
|
+
"description": "Text content for simple components.",
|
|
352
|
+
"default": null,
|
|
353
|
+
"values": null,
|
|
354
|
+
"category": "general"
|
|
355
|
+
},
|
|
356
|
+
"fontSize": {
|
|
357
|
+
"type": "number|string",
|
|
358
|
+
"description": "Component configuration for \"fontSize\". When not handled internally, it is forwarded to the root element.",
|
|
359
|
+
"default": null,
|
|
360
|
+
"values": null,
|
|
361
|
+
"category": "general"
|
|
362
|
+
},
|
|
363
|
+
"square": {
|
|
364
|
+
"type": "boolean",
|
|
365
|
+
"description": "Use square corners instead of rounded.",
|
|
366
|
+
"default": null,
|
|
367
|
+
"values": null,
|
|
368
|
+
"category": "general"
|
|
369
|
+
},
|
|
370
|
+
"elevated": {
|
|
371
|
+
"type": "boolean",
|
|
372
|
+
"description": "Applies elevated shadow/raised styling.",
|
|
373
|
+
"default": false,
|
|
374
|
+
"values": null,
|
|
375
|
+
"category": "style"
|
|
376
|
+
},
|
|
377
|
+
"state": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"description": "Component configuration for \"state\". When not handled internally, it is forwarded to the root element.",
|
|
380
|
+
"default": null,
|
|
381
|
+
"values": null,
|
|
382
|
+
"category": "general"
|
|
383
|
+
},
|
|
384
|
+
"icon": {
|
|
385
|
+
"type": "string|Node|Function|Array",
|
|
386
|
+
"description": "Icon name or node rendered with the component.",
|
|
387
|
+
"default": null,
|
|
388
|
+
"values": [
|
|
389
|
+
"#name_tabler",
|
|
390
|
+
"name_material",
|
|
391
|
+
"class"
|
|
392
|
+
],
|
|
393
|
+
"category": "general"
|
|
394
|
+
},
|
|
395
|
+
"iconSize": {
|
|
396
|
+
"type": "number|string",
|
|
397
|
+
"description": "Component configuration for \"iconSize\". When not handled internally, it is forwarded to the root element.",
|
|
398
|
+
"default": null,
|
|
399
|
+
"values": null,
|
|
400
|
+
"category": "general"
|
|
401
|
+
},
|
|
402
|
+
"media": {
|
|
403
|
+
"type": "Node|Function|Array",
|
|
404
|
+
"description": "Component configuration for \"media\". When not handled internally, it is forwarded to the root element.",
|
|
405
|
+
"default": null,
|
|
406
|
+
"values": null,
|
|
407
|
+
"category": "general"
|
|
408
|
+
},
|
|
409
|
+
"fit": {
|
|
410
|
+
"type": "cover|contain|fill|scale-down|none",
|
|
411
|
+
"description": "Component configuration for \"fit\". When not handled internally, it is forwarded to the root element.",
|
|
412
|
+
"default": null,
|
|
413
|
+
"values": null,
|
|
414
|
+
"category": "general"
|
|
415
|
+
},
|
|
416
|
+
"badge": {
|
|
417
|
+
"type": "string|number|Node|Function|Array",
|
|
418
|
+
"description": "Component configuration for \"badge\". When not handled internally, it is forwarded to the root element.",
|
|
419
|
+
"default": null,
|
|
420
|
+
"values": null,
|
|
421
|
+
"category": "general"
|
|
422
|
+
},
|
|
423
|
+
"notification": {
|
|
424
|
+
"type": "string|number|Node|Function|Array",
|
|
425
|
+
"description": "Component configuration for \"notification\". When not handled internally, it is forwarded to the root element.",
|
|
426
|
+
"default": null,
|
|
427
|
+
"values": null,
|
|
428
|
+
"category": "general"
|
|
429
|
+
},
|
|
430
|
+
"status": {
|
|
431
|
+
"type": "boolean|string|number|Node|Function|Array",
|
|
432
|
+
"description": "Component configuration for \"status\". When not handled internally, it is forwarded to the root element.",
|
|
433
|
+
"default": null,
|
|
434
|
+
"values": null,
|
|
435
|
+
"category": "general"
|
|
436
|
+
},
|
|
437
|
+
"statusColor": {
|
|
438
|
+
"type": "success|warning|danger|info|primary|secondary|dark|light|string",
|
|
439
|
+
"description": "Component configuration for \"statusColor\". When not handled internally, it is forwarded to the root element.",
|
|
440
|
+
"default": null,
|
|
441
|
+
"values": null,
|
|
442
|
+
"category": "general"
|
|
443
|
+
},
|
|
444
|
+
"topLeft": {
|
|
445
|
+
"type": "Node|Function|Array",
|
|
446
|
+
"description": "Component configuration for \"topLeft\". When not handled internally, it is forwarded to the root element.",
|
|
447
|
+
"default": null,
|
|
448
|
+
"values": null,
|
|
449
|
+
"category": "general"
|
|
450
|
+
},
|
|
451
|
+
"topRight": {
|
|
452
|
+
"type": "Node|Function|Array",
|
|
453
|
+
"description": "Component configuration for \"topRight\". When not handled internally, it is forwarded to the root element.",
|
|
454
|
+
"default": null,
|
|
455
|
+
"values": null,
|
|
456
|
+
"category": "general"
|
|
457
|
+
},
|
|
458
|
+
"bottomLeft": {
|
|
459
|
+
"type": "Node|Function|Array",
|
|
460
|
+
"description": "Component configuration for \"bottomLeft\". When not handled internally, it is forwarded to the root element.",
|
|
461
|
+
"default": null,
|
|
462
|
+
"values": null,
|
|
463
|
+
"category": "general"
|
|
464
|
+
},
|
|
465
|
+
"bottomRight": {
|
|
466
|
+
"type": "Node|Function|Array",
|
|
467
|
+
"description": "Component configuration for \"bottomRight\". When not handled internally, it is forwarded to the root element.",
|
|
468
|
+
"default": null,
|
|
469
|
+
"values": null,
|
|
470
|
+
"category": "general"
|
|
471
|
+
},
|
|
472
|
+
"slots": {
|
|
473
|
+
"type": "{ media?, default?, fallback?, label?, icon?, badge?, status?, topLeft?, topRight?, bottomLeft?, bottomRight? }",
|
|
474
|
+
"description": "Named slots map for render overrides.",
|
|
475
|
+
"default": null,
|
|
476
|
+
"values": null,
|
|
477
|
+
"category": "general"
|
|
478
|
+
},
|
|
479
|
+
"children": {
|
|
480
|
+
"type": "Node|Array|Function",
|
|
481
|
+
"description": "Default child content (nodes, arrays, or render function).",
|
|
482
|
+
"default": null,
|
|
483
|
+
"values": null,
|
|
484
|
+
"category": "general"
|
|
485
|
+
},
|
|
486
|
+
"iconRight": {
|
|
487
|
+
"type": "string|Node|Function|Array",
|
|
488
|
+
"description": "Icon name or node rendered on the right side of the component.",
|
|
489
|
+
"default": null,
|
|
490
|
+
"values": [
|
|
491
|
+
"#name_tabler",
|
|
492
|
+
"name_material",
|
|
493
|
+
"class"
|
|
494
|
+
],
|
|
495
|
+
"category": "general"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"slots": {
|
|
499
|
+
"media": {
|
|
500
|
+
"type": "Custom main media",
|
|
501
|
+
"description": "Slot content for \"media\". Accepts nodes, arrays, or render functions.",
|
|
502
|
+
"default": null,
|
|
503
|
+
"values": null,
|
|
504
|
+
"category": "slot"
|
|
505
|
+
},
|
|
506
|
+
"default": {
|
|
507
|
+
"type": "Custom main content instead of image or fallback",
|
|
508
|
+
"description": "Primary content for the component.",
|
|
509
|
+
"default": null,
|
|
510
|
+
"values": null,
|
|
511
|
+
"category": "slot"
|
|
512
|
+
},
|
|
513
|
+
"fallback": {
|
|
514
|
+
"type": "Fallback custom quando non c'e immagine",
|
|
515
|
+
"description": "Slot content for \"fallback\". Accepts nodes, arrays, or render functions.",
|
|
516
|
+
"default": null,
|
|
517
|
+
"values": null,
|
|
518
|
+
"category": "slot"
|
|
519
|
+
},
|
|
520
|
+
"label": {
|
|
521
|
+
"type": "Fallback testuale / initials",
|
|
522
|
+
"description": "Slot for label content.",
|
|
523
|
+
"default": null,
|
|
524
|
+
"values": null,
|
|
525
|
+
"category": "slot"
|
|
526
|
+
},
|
|
527
|
+
"icon": {
|
|
528
|
+
"type": "Fallback icon",
|
|
529
|
+
"description": "Slot for icon content.",
|
|
530
|
+
"default": null,
|
|
531
|
+
"values": [
|
|
532
|
+
"#name_tabler",
|
|
533
|
+
"name_material",
|
|
534
|
+
"class"
|
|
535
|
+
],
|
|
536
|
+
"category": "slot"
|
|
537
|
+
},
|
|
538
|
+
"badge": {
|
|
539
|
+
"type": "Badge overlay, di default top-right",
|
|
540
|
+
"description": "Slot content for \"badge\". Accepts nodes, arrays, or render functions.",
|
|
541
|
+
"default": null,
|
|
542
|
+
"values": null,
|
|
543
|
+
"category": "slot"
|
|
544
|
+
},
|
|
545
|
+
"status": {
|
|
546
|
+
"type": "Presence dot or overlay content, bottom-right by default",
|
|
547
|
+
"description": "Slot content for \"status\". Accepts nodes, arrays, or render functions.",
|
|
548
|
+
"default": null,
|
|
549
|
+
"values": null,
|
|
550
|
+
"category": "slot"
|
|
551
|
+
},
|
|
552
|
+
"topLeft": {
|
|
553
|
+
"type": "Top-left overlay content",
|
|
554
|
+
"description": "Slot content for \"topLeft\". Accepts nodes, arrays, or render functions.",
|
|
555
|
+
"default": null,
|
|
556
|
+
"values": null,
|
|
557
|
+
"category": "slot"
|
|
558
|
+
},
|
|
559
|
+
"topRight": {
|
|
560
|
+
"type": "Top-right overlay content",
|
|
561
|
+
"description": "Slot content for \"topRight\". Accepts nodes, arrays, or render functions.",
|
|
562
|
+
"default": null,
|
|
563
|
+
"values": null,
|
|
564
|
+
"category": "slot"
|
|
565
|
+
},
|
|
566
|
+
"bottomLeft": {
|
|
567
|
+
"type": "Bottom-left overlay content",
|
|
568
|
+
"description": "Slot content for \"bottomLeft\". Accepts nodes, arrays, or render functions.",
|
|
569
|
+
"default": null,
|
|
570
|
+
"values": null,
|
|
571
|
+
"category": "slot"
|
|
572
|
+
},
|
|
573
|
+
"bottomRight": {
|
|
574
|
+
"type": "Bottom-right overlay content",
|
|
575
|
+
"description": "Slot content for \"bottomRight\". Accepts nodes, arrays, or render functions.",
|
|
576
|
+
"default": null,
|
|
577
|
+
"values": null,
|
|
578
|
+
"category": "slot"
|
|
579
|
+
},
|
|
580
|
+
"iconRight": {
|
|
581
|
+
"type": "Fallback icon",
|
|
582
|
+
"description": "Slot for right-aligned icon content."
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"returns": "HTMLDivElement",
|
|
586
|
+
"description": "Flexible avatar with image, smart fallbacks, states, badge, and overlay slots."
|
|
587
|
+
}
|
|
588
|
+
```
|