jsswift 1.0.44 → 1.0.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/css/base.css +2 -137
- package/dist/css/fonts-material.css +7 -0
- package/dist/css/fonts-nunito.css +134 -0
- package/dist/css/min-ui.css +1 -1
- package/dist/css/ui.css +2 -137
- package/dist/css/ui.min.css +1 -1
- package/dist/documentions/AI.md +85 -0
- package/dist/documentions/README.md +4 -0
- package/dist/documentions/ai-development.md +3 -1
- package/dist/documentions/application-rules.md +12 -0
- package/dist/documentions/components/alert.md +29 -493
- package/dist/documentions/components/app-shell.md +37 -524
- package/dist/documentions/components/avatar.md +47 -575
- package/dist/documentions/components/badge.md +27 -461
- package/dist/documentions/components/banner.md +35 -535
- package/dist/documentions/components/breadcrumbs.md +35 -518
- package/dist/documentions/components/btn.md +19 -418
- package/dist/documentions/components/card-body.md +11 -328
- package/dist/documentions/components/card-footer.md +15 -367
- package/dist/documentions/components/card-header.md +15 -367
- package/dist/documentions/components/card.md +48 -596
- package/dist/documentions/components/checkbox.md +25 -456
- package/dist/documentions/components/chip.md +16 -393
- package/dist/documentions/components/col.md +57 -612
- package/dist/documentions/components/container.md +40 -535
- package/dist/documentions/components/context-menu.md +60 -696
- package/dist/documentions/components/date.md +56 -673
- package/dist/documentions/components/dialog.md +67 -628
- package/dist/documentions/components/drawer.md +48 -616
- package/dist/documentions/components/empty-state.md +28 -477
- package/dist/documentions/components/footer.md +42 -586
- package/dist/documentions/components/form-field.md +40 -568
- package/dist/documentions/components/form.md +7 -321
- package/dist/documentions/components/grid-col.md +42 -542
- package/dist/documentions/components/grid.md +40 -542
- package/dist/documentions/components/header.md +38 -547
- package/dist/documentions/components/icon.md +17 -370
- package/dist/documentions/components/input.md +57 -619
- package/dist/documentions/components/item.md +37 -533
- package/dist/documentions/components/kpi.md +34 -519
- package/dist/documentions/components/layout.md +81 -811
- package/dist/documentions/components/list.md +19 -405
- package/dist/documentions/components/loading-bar.md +58 -679
- package/dist/documentions/components/menu.md +62 -710
- package/dist/documentions/components/notify.md +34 -525
- package/dist/documentions/components/page.md +35 -526
- package/dist/documentions/components/pagination.md +39 -531
- package/dist/documentions/components/parallax.md +50 -633
- package/dist/documentions/components/popover.md +55 -661
- package/dist/documentions/components/progress.md +39 -554
- package/dist/documentions/components/radio.md +27 -470
- package/dist/documentions/components/rating.md +41 -574
- package/dist/documentions/components/route-tab.md +30 -491
- package/dist/documentions/components/row.md +35 -507
- package/dist/documentions/components/search.md +62 -723
- package/dist/documentions/components/select.md +67 -660
- package/dist/documentions/components/separator.md +7 -321
- package/dist/documentions/components/slider.md +49 -631
- package/dist/documentions/components/spacer.md +6 -314
- package/dist/documentions/components/spinner.md +25 -440
- package/dist/documentions/components/stat.md +32 -505
- package/dist/documentions/components/tab-panel.md +40 -563
- package/dist/documentions/components/table.md +76 -657
- package/dist/documentions/components/tabs.md +36 -538
- package/dist/documentions/components/time.md +29 -491
- package/dist/documentions/components/toggle.md +31 -498
- package/dist/documentions/components/toolbar.md +52 -640
- package/dist/documentions/components/tooltip.md +35 -535
- package/dist/documentions/getting-started.md +27 -0
- package/dist/documentions/knowledge-map.json +19 -1
- package/dist/documentions/ui/common-props.md +301 -0
- package/dist/jsswift.js +10543 -14102
- package/dist/jsswift.min.js +3 -3
- package/dist/min-jsswift.js +3 -3
- package/dist/tabler.js +7 -0
- package/package.json +6 -2
|
@@ -1,656 +1,68 @@
|
|
|
1
1
|
# Toolbar
|
|
2
2
|
|
|
3
|
-
Exact JSswift UI
|
|
3
|
+
Exact JSswift UI contract. Shared definitions listed in `commonProps` are in [common props](../ui/common-props.md); all component-specific props, slots, events, and methods are below.
|
|
4
4
|
|
|
5
5
|
```json
|
|
6
6
|
{
|
|
7
7
|
"signature": "_.Toolbar(...children) | _.Toolbar(props, ...children)",
|
|
8
8
|
"props": {
|
|
9
|
-
"size": {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
"
|
|
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": "string|number",
|
|
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": "object",
|
|
267
|
-
"description": "Responsive overrides applied at the base/mobile viewport.",
|
|
268
|
-
"default": null,
|
|
269
|
-
"values": null,
|
|
270
|
-
"category": "layout"
|
|
271
|
-
},
|
|
272
|
-
"tablet": {
|
|
273
|
-
"type": "object",
|
|
274
|
-
"description": "Responsive overrides applied from the tablet breakpoint upward.",
|
|
275
|
-
"default": null,
|
|
276
|
-
"values": null,
|
|
277
|
-
"category": "layout"
|
|
278
|
-
},
|
|
279
|
-
"pc": {
|
|
280
|
-
"type": "object",
|
|
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
|
-
"before": {
|
|
301
|
-
"type": "Node|Function|Array",
|
|
302
|
-
"description": "Component configuration for \"before\". When not handled internally, it is forwarded to the root element.",
|
|
303
|
-
"default": null,
|
|
304
|
-
"values": null,
|
|
305
|
-
"category": "general"
|
|
306
|
-
},
|
|
307
|
-
"start": {
|
|
308
|
-
"type": "Node|Function|Array",
|
|
309
|
-
"description": "Component configuration for \"start\". When not handled internally, it is forwarded to the root element.",
|
|
310
|
-
"default": null,
|
|
311
|
-
"values": null,
|
|
312
|
-
"category": "general"
|
|
313
|
-
},
|
|
314
|
-
"left": {
|
|
315
|
-
"type": "Alias of start",
|
|
316
|
-
"description": "Content or configuration for the left region.",
|
|
317
|
-
"default": null,
|
|
318
|
-
"values": null,
|
|
319
|
-
"category": "general"
|
|
320
|
-
},
|
|
321
|
-
"center": {
|
|
322
|
-
"type": "Node|Function|Array",
|
|
323
|
-
"description": "Component configuration for \"center\". When not handled internally, it is forwarded to the root element.",
|
|
324
|
-
"default": null,
|
|
325
|
-
"values": null,
|
|
326
|
-
"category": "general"
|
|
327
|
-
},
|
|
328
|
-
"body": {
|
|
329
|
-
"type": "Alias of center",
|
|
330
|
-
"description": "Component configuration for \"body\". When not handled internally, it is forwarded to the root element.",
|
|
331
|
-
"default": null,
|
|
332
|
-
"values": null,
|
|
333
|
-
"category": "general"
|
|
334
|
-
},
|
|
335
|
-
"content": {
|
|
336
|
-
"type": "Alias of center",
|
|
337
|
-
"description": "Main content node(s) or render function for the component body.",
|
|
338
|
-
"default": null,
|
|
339
|
-
"values": null,
|
|
340
|
-
"category": "general"
|
|
341
|
-
},
|
|
342
|
-
"title": {
|
|
343
|
-
"type": "String|Node|Function|Array",
|
|
344
|
-
"description": "Title text or node.",
|
|
345
|
-
"default": null,
|
|
346
|
-
"values": null,
|
|
347
|
-
"category": "general"
|
|
348
|
-
},
|
|
349
|
-
"subtitle": {
|
|
350
|
-
"type": "String|Node|Function|Array",
|
|
351
|
-
"description": "Subtitle text or node.",
|
|
352
|
-
"default": null,
|
|
353
|
-
"values": null,
|
|
354
|
-
"category": "general"
|
|
355
|
-
},
|
|
356
|
-
"meta": {
|
|
357
|
-
"type": "String|Node|Function|Array",
|
|
358
|
-
"description": "Component configuration for \"meta\". When not handled internally, it is forwarded to the root element.",
|
|
359
|
-
"default": null,
|
|
360
|
-
"values": null,
|
|
361
|
-
"category": "general"
|
|
362
|
-
},
|
|
363
|
-
"end": {
|
|
364
|
-
"type": "Node|Function|Array",
|
|
365
|
-
"description": "Component configuration for \"end\". When not handled internally, it is forwarded to the root element.",
|
|
366
|
-
"default": null,
|
|
367
|
-
"values": null,
|
|
368
|
-
"category": "general"
|
|
369
|
-
},
|
|
370
|
-
"right": {
|
|
371
|
-
"type": "Alias of end",
|
|
372
|
-
"description": "Content or configuration for the right region.",
|
|
373
|
-
"default": null,
|
|
374
|
-
"values": null,
|
|
375
|
-
"category": "general"
|
|
376
|
-
},
|
|
377
|
-
"actions": {
|
|
378
|
-
"type": "Alias of end",
|
|
379
|
-
"description": "Content rendered in the action area, typically in a footer or trailing region.",
|
|
380
|
-
"default": null,
|
|
381
|
-
"values": null,
|
|
382
|
-
"category": "general"
|
|
383
|
-
},
|
|
384
|
-
"after": {
|
|
385
|
-
"type": "Node|Function|Array",
|
|
386
|
-
"description": "Component configuration for \"after\". When not handled internally, it is forwarded to the root element.",
|
|
387
|
-
"default": null,
|
|
388
|
-
"values": null,
|
|
389
|
-
"category": "general"
|
|
390
|
-
},
|
|
391
|
-
"dense": {
|
|
392
|
-
"type": "boolean",
|
|
393
|
-
"description": "Uses compact spacing and sizing.",
|
|
394
|
-
"default": false,
|
|
395
|
-
"values": null,
|
|
396
|
-
"category": "layout"
|
|
397
|
-
},
|
|
398
|
-
"divider": {
|
|
399
|
-
"type": "boolean",
|
|
400
|
-
"description": "Shows dividers between items or sections.",
|
|
401
|
-
"default": null,
|
|
402
|
-
"values": null,
|
|
403
|
-
"category": "general"
|
|
404
|
-
},
|
|
405
|
-
"elevated": {
|
|
406
|
-
"type": "boolean",
|
|
407
|
-
"description": "Applies elevated shadow/raised styling.",
|
|
408
|
-
"default": false,
|
|
409
|
-
"values": null,
|
|
410
|
-
"category": "style"
|
|
411
|
-
},
|
|
412
|
-
"sticky": {
|
|
413
|
-
"type": "boolean",
|
|
414
|
-
"description": "Makes the component sticky within its container.",
|
|
415
|
-
"default": null,
|
|
416
|
-
"values": null,
|
|
417
|
-
"category": "general"
|
|
418
|
-
},
|
|
419
|
-
"wrap": {
|
|
420
|
-
"type": "boolean|string",
|
|
421
|
-
"description": "Allows children to wrap to new lines.",
|
|
422
|
-
"default": null,
|
|
423
|
-
"values": null,
|
|
424
|
-
"category": "general"
|
|
425
|
-
},
|
|
426
|
-
"align": {
|
|
427
|
-
"type": "stretch|flex-start|center|flex-end|baseline",
|
|
428
|
-
"description": "Alignment of content along the cross axis (e.g. left/center/right).",
|
|
429
|
-
"default": null,
|
|
430
|
-
"values": [
|
|
431
|
-
"left",
|
|
432
|
-
"center",
|
|
433
|
-
"right"
|
|
434
|
-
],
|
|
435
|
-
"category": "general"
|
|
436
|
-
},
|
|
437
|
-
"justify": {
|
|
438
|
-
"type": "flex-start|center|flex-end|space-between|space-around|space-evenly",
|
|
439
|
-
"description": "Justification of items along the main axis.",
|
|
440
|
-
"default": null,
|
|
441
|
-
"values": [
|
|
442
|
-
"start",
|
|
443
|
-
"center",
|
|
444
|
-
"end",
|
|
445
|
-
"space-between",
|
|
446
|
-
"space-around",
|
|
447
|
-
"space-evenly"
|
|
448
|
-
],
|
|
449
|
-
"category": "general"
|
|
450
|
-
},
|
|
451
|
-
"gap": {
|
|
452
|
-
"type": "string|number (e.g. '8px' or 'var(--cms-s-md)')",
|
|
453
|
-
"description": "Gap/spacing between child elements.",
|
|
454
|
-
"default": null,
|
|
455
|
-
"values": null,
|
|
456
|
-
"category": "general"
|
|
457
|
-
},
|
|
458
|
-
"beforeClass": {
|
|
459
|
-
"type": "string",
|
|
460
|
-
"description": "Component configuration for \"beforeClass\". When not handled internally, it is forwarded to the root element.",
|
|
461
|
-
"default": null,
|
|
462
|
-
"values": null,
|
|
463
|
-
"category": "general"
|
|
464
|
-
},
|
|
465
|
-
"startClass": {
|
|
466
|
-
"type": "string",
|
|
467
|
-
"description": "Component configuration for \"startClass\". When not handled internally, it is forwarded to the root element.",
|
|
468
|
-
"default": null,
|
|
469
|
-
"values": null,
|
|
470
|
-
"category": "general"
|
|
471
|
-
},
|
|
472
|
-
"bodyClass": {
|
|
473
|
-
"type": "string",
|
|
474
|
-
"description": "Component configuration for \"bodyClass\". When not handled internally, it is forwarded to the root element.",
|
|
475
|
-
"default": null,
|
|
476
|
-
"values": null,
|
|
477
|
-
"category": "general"
|
|
478
|
-
},
|
|
479
|
-
"centerClass": {
|
|
480
|
-
"type": "Alias of bodyClass",
|
|
481
|
-
"description": "Component configuration for \"centerClass\". When not handled internally, it is forwarded to the root element.",
|
|
482
|
-
"default": null,
|
|
483
|
-
"values": null,
|
|
484
|
-
"category": "general"
|
|
485
|
-
},
|
|
486
|
-
"contentClass": {
|
|
487
|
-
"type": "Alias of bodyClass",
|
|
488
|
-
"description": "Additional CSS classes applied to the content container.",
|
|
489
|
-
"default": null,
|
|
490
|
-
"values": null,
|
|
491
|
-
"category": "general"
|
|
492
|
-
},
|
|
493
|
-
"copyClass": {
|
|
494
|
-
"type": "string",
|
|
495
|
-
"description": "Component configuration for \"copyClass\". When not handled internally, it is forwarded to the root element.",
|
|
496
|
-
"default": null,
|
|
497
|
-
"values": null,
|
|
498
|
-
"category": "general"
|
|
499
|
-
},
|
|
500
|
-
"titleClass": {
|
|
501
|
-
"type": "string",
|
|
502
|
-
"description": "Component configuration for \"titleClass\". When not handled internally, it is forwarded to the root element.",
|
|
503
|
-
"default": null,
|
|
504
|
-
"values": null,
|
|
505
|
-
"category": "general"
|
|
506
|
-
},
|
|
507
|
-
"subtitleClass": {
|
|
508
|
-
"type": "string",
|
|
509
|
-
"description": "Component configuration for \"subtitleClass\". When not handled internally, it is forwarded to the root element.",
|
|
510
|
-
"default": null,
|
|
511
|
-
"values": null,
|
|
512
|
-
"category": "general"
|
|
513
|
-
},
|
|
514
|
-
"metaClass": {
|
|
515
|
-
"type": "string",
|
|
516
|
-
"description": "Component configuration for \"metaClass\". When not handled internally, it is forwarded to the root element.",
|
|
517
|
-
"default": null,
|
|
518
|
-
"values": null,
|
|
519
|
-
"category": "general"
|
|
520
|
-
},
|
|
521
|
-
"endClass": {
|
|
522
|
-
"type": "string",
|
|
523
|
-
"description": "Component configuration for \"endClass\". When not handled internally, it is forwarded to the root element.",
|
|
524
|
-
"default": null,
|
|
525
|
-
"values": null,
|
|
526
|
-
"category": "general"
|
|
527
|
-
},
|
|
528
|
-
"afterClass": {
|
|
529
|
-
"type": "string",
|
|
530
|
-
"description": "Component configuration for \"afterClass\". When not handled internally, it is forwarded to the root element.",
|
|
531
|
-
"default": null,
|
|
532
|
-
"values": null,
|
|
533
|
-
"category": "general"
|
|
534
|
-
},
|
|
535
|
-
"slots": {
|
|
536
|
-
"type": "{ before?, start?, left?, center?, body?, content?, title?, subtitle?, meta?, end?, right?, actions?, after?, default? }",
|
|
537
|
-
"description": "Named slots map for render overrides.",
|
|
538
|
-
"default": null,
|
|
539
|
-
"values": null,
|
|
540
|
-
"category": "general"
|
|
541
|
-
},
|
|
542
|
-
"children": {
|
|
543
|
-
"type": "Node|Array|Function",
|
|
544
|
-
"description": "Default child content (nodes, arrays, or render function).",
|
|
545
|
-
"default": null,
|
|
546
|
-
"values": null,
|
|
547
|
-
"category": "general"
|
|
548
|
-
}
|
|
9
|
+
"size": {"type": "xxs|xs|sm|md|lg|xl|xxl", "description": "Size token, number, or CSS length for sizing.", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "style"},
|
|
10
|
+
"before": {"type": "Node|Function|Array", "description": "Component configuration for \"before\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
11
|
+
"start": {"type": "Node|Function|Array", "description": "Component configuration for \"start\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
12
|
+
"left": {"type": "Alias of start", "description": "Content or configuration for the left region.", "default": null, "values": null, "category": "general"},
|
|
13
|
+
"center": {"type": "Node|Function|Array", "description": "Component configuration for \"center\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
14
|
+
"body": {"type": "Alias of center", "description": "Component configuration for \"body\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
15
|
+
"content": {"type": "Alias of center", "description": "Main content node(s) or render function for the component body.", "default": null, "values": null, "category": "general"},
|
|
16
|
+
"title": {"type": "String|Node|Function|Array", "description": "Title text or node.", "default": null, "values": null, "category": "general"},
|
|
17
|
+
"subtitle": {"type": "String|Node|Function|Array", "description": "Subtitle text or node.", "default": null, "values": null, "category": "general"},
|
|
18
|
+
"meta": {"type": "String|Node|Function|Array", "description": "Component configuration for \"meta\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
19
|
+
"end": {"type": "Node|Function|Array", "description": "Component configuration for \"end\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
20
|
+
"right": {"type": "Alias of end", "description": "Content or configuration for the right region.", "default": null, "values": null, "category": "general"},
|
|
21
|
+
"actions": {"type": "Alias of end", "description": "Content rendered in the action area, typically in a footer or trailing region.", "default": null, "values": null, "category": "general"},
|
|
22
|
+
"after": {"type": "Node|Function|Array", "description": "Component configuration for \"after\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
23
|
+
"dense": {"type": "boolean", "description": "Uses compact spacing and sizing.", "default": false, "values": null, "category": "layout"},
|
|
24
|
+
"divider": {"type": "boolean", "description": "Shows dividers between items or sections.", "default": null, "values": null, "category": "general"},
|
|
25
|
+
"elevated": {"type": "boolean", "description": "Applies elevated shadow/raised styling.", "default": false, "values": null, "category": "style"},
|
|
26
|
+
"sticky": {"type": "boolean", "description": "Makes the component sticky within its container.", "default": null, "values": null, "category": "general"},
|
|
27
|
+
"wrap": {"type": "boolean|string", "description": "Allows children to wrap to new lines.", "default": null, "values": null, "category": "general"},
|
|
28
|
+
"align": {"type": "stretch|flex-start|center|flex-end|baseline", "description": "Alignment of content along the cross axis (e.g. left/center/right).", "default": null, "values": ["left", "center", "right"], "category": "general"},
|
|
29
|
+
"justify": {"type": "flex-start|center|flex-end|space-between|space-around|space-evenly", "description": "Justification of items along the main axis.", "default": null, "values": ["start", "center", "end", "space-between", "space-around", "space-evenly"], "category": "general"},
|
|
30
|
+
"gap": {"type": "string|number (e.g. '8px' or 'var(--cms-s-md)')", "description": "Gap/spacing between child elements.", "default": null, "values": null, "category": "general"},
|
|
31
|
+
"beforeClass": {"type": "string", "description": "Component configuration for \"beforeClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
32
|
+
"startClass": {"type": "string", "description": "Component configuration for \"startClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
33
|
+
"bodyClass": {"type": "string", "description": "Component configuration for \"bodyClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
34
|
+
"centerClass": {"type": "Alias of bodyClass", "description": "Component configuration for \"centerClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
35
|
+
"contentClass": {"type": "Alias of bodyClass", "description": "Additional CSS classes applied to the content container.", "default": null, "values": null, "category": "general"},
|
|
36
|
+
"copyClass": {"type": "string", "description": "Component configuration for \"copyClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
37
|
+
"titleClass": {"type": "string", "description": "Component configuration for \"titleClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
38
|
+
"subtitleClass": {"type": "string", "description": "Component configuration for \"subtitleClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
39
|
+
"metaClass": {"type": "string", "description": "Component configuration for \"metaClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
40
|
+
"endClass": {"type": "string", "description": "Component configuration for \"endClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
41
|
+
"afterClass": {"type": "string", "description": "Component configuration for \"afterClass\". When not handled internally, it is forwarded to the root element.", "default": null, "values": null, "category": "general"},
|
|
42
|
+
"slots": {"type": "{ before?, start?, left?, center?, body?, content?, title?, subtitle?, meta?, end?, right?, actions?, after?, default? }", "description": "Named slots map for render overrides.", "default": null, "values": null, "category": "general"},
|
|
43
|
+
"children": {"type": "Node|Array|Function", "description": "Default child content (nodes, arrays, or render function).", "default": null, "values": null, "category": "general"}
|
|
549
44
|
},
|
|
550
45
|
"slots": {
|
|
551
|
-
"before": {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
},
|
|
558
|
-
"
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
}
|
|
565
|
-
"left": {
|
|
566
|
-
"type": "Alias of start",
|
|
567
|
-
"description": "Slot for left-aligned content.",
|
|
568
|
-
"default": null,
|
|
569
|
-
"values": null,
|
|
570
|
-
"category": "slot"
|
|
571
|
-
},
|
|
572
|
-
"center": {
|
|
573
|
-
"type": "Main content area",
|
|
574
|
-
"description": "Slot for centered content within a toolbar/row.",
|
|
575
|
-
"default": null,
|
|
576
|
-
"values": null,
|
|
577
|
-
"category": "slot"
|
|
578
|
-
},
|
|
579
|
-
"body": {
|
|
580
|
-
"type": "Alias of center",
|
|
581
|
-
"description": "Slot content for \"body\". Accepts nodes, arrays, or render functions.",
|
|
582
|
-
"default": null,
|
|
583
|
-
"values": null,
|
|
584
|
-
"category": "slot"
|
|
585
|
-
},
|
|
586
|
-
"content": {
|
|
587
|
-
"type": "Alias of center",
|
|
588
|
-
"description": "Slot for the main body content.",
|
|
589
|
-
"default": null,
|
|
590
|
-
"values": null,
|
|
591
|
-
"category": "slot"
|
|
592
|
-
},
|
|
593
|
-
"title": {
|
|
594
|
-
"type": "Toolbar main title",
|
|
595
|
-
"description": "Slot for title content.",
|
|
596
|
-
"default": null,
|
|
597
|
-
"values": null,
|
|
598
|
-
"category": "slot"
|
|
599
|
-
},
|
|
600
|
-
"subtitle": {
|
|
601
|
-
"type": "Subtitle or operational note",
|
|
602
|
-
"description": "Slot for subtitle content.",
|
|
603
|
-
"default": null,
|
|
604
|
-
"values": null,
|
|
605
|
-
"category": "slot"
|
|
606
|
-
},
|
|
607
|
-
"meta": {
|
|
608
|
-
"type": "Meta info/chips above or next to the title",
|
|
609
|
-
"description": "Slot content for \"meta\". Accepts nodes, arrays, or render functions.",
|
|
610
|
-
"default": null,
|
|
611
|
-
"values": null,
|
|
612
|
-
"category": "slot"
|
|
613
|
-
},
|
|
614
|
-
"end": {
|
|
615
|
-
"type": "Trailing actions area",
|
|
616
|
-
"description": "Slot content for \"end\". Accepts nodes, arrays, or render functions.",
|
|
617
|
-
"default": null,
|
|
618
|
-
"values": null,
|
|
619
|
-
"category": "slot"
|
|
620
|
-
},
|
|
621
|
-
"right": {
|
|
622
|
-
"type": "Alias of end",
|
|
623
|
-
"description": "Slot for right-aligned content.",
|
|
624
|
-
"default": null,
|
|
625
|
-
"values": null,
|
|
626
|
-
"category": "slot"
|
|
627
|
-
},
|
|
628
|
-
"actions": {
|
|
629
|
-
"type": "Alias of end",
|
|
630
|
-
"description": "Slot for action buttons or links.",
|
|
631
|
-
"default": null,
|
|
632
|
-
"values": null,
|
|
633
|
-
"category": "slot"
|
|
634
|
-
},
|
|
635
|
-
"after": {
|
|
636
|
-
"type": "Optional bottom row",
|
|
637
|
-
"description": "Slot content for \"after\". Accepts nodes, arrays, or render functions.",
|
|
638
|
-
"default": null,
|
|
639
|
-
"values": null,
|
|
640
|
-
"category": "slot"
|
|
641
|
-
},
|
|
642
|
-
"default": {
|
|
643
|
-
"type": "Fallback content / children",
|
|
644
|
-
"description": "Primary content for the component.",
|
|
645
|
-
"default": null,
|
|
646
|
-
"values": null,
|
|
647
|
-
"category": "slot"
|
|
648
|
-
}
|
|
46
|
+
"before": {"type": "Optional top row", "description": "Slot content for \"before\". Accepts nodes, arrays, or render functions.", "default": null, "values": null, "category": "slot"},
|
|
47
|
+
"start": {"type": "Leading content area", "description": "Slot content for \"start\". Accepts nodes, arrays, or render functions.", "default": null, "values": null, "category": "slot"},
|
|
48
|
+
"left": {"type": "Alias of start", "description": "Slot for left-aligned content.", "default": null, "values": null, "category": "slot"},
|
|
49
|
+
"center": {"type": "Main content area", "description": "Slot for centered content within a toolbar/row.", "default": null, "values": null, "category": "slot"},
|
|
50
|
+
"body": {"type": "Alias of center", "description": "Slot content for \"body\". Accepts nodes, arrays, or render functions.", "default": null, "values": null, "category": "slot"},
|
|
51
|
+
"content": {"type": "Alias of center", "description": "Slot for the main body content.", "default": null, "values": null, "category": "slot"},
|
|
52
|
+
"title": {"type": "Toolbar main title", "description": "Slot for title content.", "default": null, "values": null, "category": "slot"},
|
|
53
|
+
"subtitle": {"type": "Subtitle or operational note", "description": "Slot for subtitle content.", "default": null, "values": null, "category": "slot"},
|
|
54
|
+
"meta": {"type": "Meta info/chips above or next to the title", "description": "Slot content for \"meta\". Accepts nodes, arrays, or render functions.", "default": null, "values": null, "category": "slot"},
|
|
55
|
+
"end": {"type": "Trailing actions area", "description": "Slot content for \"end\". Accepts nodes, arrays, or render functions.", "default": null, "values": null, "category": "slot"},
|
|
56
|
+
"right": {"type": "Alias of end", "description": "Slot for right-aligned content.", "default": null, "values": null, "category": "slot"},
|
|
57
|
+
"actions": {"type": "Alias of end", "description": "Slot for action buttons or links.", "default": null, "values": null, "category": "slot"},
|
|
58
|
+
"after": {"type": "Optional bottom row", "description": "Slot content for \"after\". Accepts nodes, arrays, or render functions.", "default": null, "values": null, "category": "slot"},
|
|
59
|
+
"default": {"type": "Fallback content / children", "description": "Primary content for the component.", "default": null, "values": null, "category": "slot"}
|
|
649
60
|
},
|
|
650
61
|
"events": {
|
|
651
62
|
"onClick": "MouseEvent"
|
|
652
63
|
},
|
|
653
64
|
"description": "Composable toolbar with before/start/center/end/after regions, optional copy, and fallback compatible with simple flex usage.",
|
|
654
|
-
"returns": "HTMLDivElement"
|
|
65
|
+
"returns": "HTMLDivElement",
|
|
66
|
+
"commonProps": {"path": "ui/common-props.md", "keys": ["color", "outline", "clickable", "padding", "margin", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "radius", "borderRadius", "shadow", "mobile", "tablet", "pc", "class", "style"]}
|
|
655
67
|
}
|
|
656
68
|
```
|