jsswift 1.0.43 → 1.0.45
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/README.md +22 -0
- package/dist/documentions/ai-development.md +68 -0
- package/dist/documentions/application-rules.md +19 -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 +52 -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 +77 -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 +100 -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 +88 -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 +73 -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 +99 -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 +112 -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 +47 -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/dist/tabler.js +7 -0
- package/package.json +7 -2
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Select
|
|
2
|
+
|
|
3
|
+
Exact JSswift UI metadata contract. Use only the props, slots, events, and methods documented below.
|
|
4
|
+
|
|
5
|
+
```json
|
|
6
|
+
{
|
|
7
|
+
"signature": "_.Select(props)",
|
|
8
|
+
"description": "Select premium: keyboard nav, option groups, async options, filter, clearable, multi select, valori custom da filtro. Wrappato in _.FormField.",
|
|
9
|
+
"props": {
|
|
10
|
+
"size": {"type": "string|number", "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"},
|
|
11
|
+
"color": {"type": "string", "description": "Semantic color name used to style the component.", "default": null, "values": ["primary", "secondary", "success", "warning", "danger", "info", "light", "dark"], "category": "style"},
|
|
12
|
+
"outline": {"type": "boolean", "description": "Uses outlined visual style.", "default": false, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "style"},
|
|
13
|
+
"clickable": {"type": "boolean", "description": "Enables pointer/hover styles and click handling on the component.", "default": false, "values": null, "category": "behavior"},
|
|
14
|
+
"padding": {"type": "string|number", "description": "Padding applied to the component root element.", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
15
|
+
"margin": {"type": "string|number", "description": "Margin applied to the component root element.", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
16
|
+
"width": {"type": "string|number", "description": "Explicit width (number interpreted as px or CSS length).", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
17
|
+
"minWidth": {"type": "string|number", "description": "Minimum width constraint (number interpreted as px or CSS length).", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
18
|
+
"maxWidth": {"type": "string|number", "description": "Maximum width constraint (number interpreted as px or CSS length).", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
19
|
+
"height": {"type": "string|number", "description": "Explicit height (number interpreted as px or CSS length).", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
20
|
+
"minHeight": {"type": "string|number", "description": "Minimum height constraint (number interpreted as px or CSS length).", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
21
|
+
"maxHeight": {"type": "string|number", "description": "Maximum height constraint (number interpreted as px or CSS length).", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "layout"},
|
|
22
|
+
"radius": {"type": "string|number", "description": "Border radius token or CSS length applied to the component.", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "style"},
|
|
23
|
+
"borderRadius": {"type": "string|number", "description": "Border radius token or CSS length applied to the component.", "default": null, "values": ["number", "CSS units", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "style"},
|
|
24
|
+
"shadow": {"type": "string|boolean", "description": "Shadow token or CSS box-shadow string applied to the component.", "default": null, "values": ["none", "xxs", "xs", "sm", "md", "lg", "xl", "xxl", "xxxl"], "category": "style"},
|
|
25
|
+
"mobile": {"type": "object", "description": "Responsive overrides applied at the base/mobile viewport.", "default": null, "values": null, "category": "layout"},
|
|
26
|
+
"tablet": {"type": "object", "description": "Responsive overrides applied from the tablet breakpoint upward.", "default": null, "values": null, "category": "layout"},
|
|
27
|
+
"pc": {"type": "object", "description": "Responsive overrides applied from the desktop breakpoint upward.", "default": null, "values": null, "category": "layout"},
|
|
28
|
+
"class": {"type": "string", "description": "Additional CSS classes applied to the component root element.", "default": null, "values": null, "category": "style"},
|
|
29
|
+
"style": {"type": "object", "description": "Inline styles applied to the component root element.", "default": null, "values": null, "category": "style"},
|
|
30
|
+
"options": {"type": "Array<option|group> | () => Array<option|group> | async () => Promise<Array<option|group>>", "description": "Array of selectable options or option groups.", "default": null, "values": null, "category": "data"},
|
|
31
|
+
"value": {"type": "any", "description": "Current value (controlled).", "default": null, "values": null, "category": "data"},
|
|
32
|
+
"model": {"type": "rod | [get,set] signal", "description": "Two-way bound value (alias to value in some components).", "default": null, "values": null, "category": "data"},
|
|
33
|
+
"label": {"type": "String|Node|Function (floating)", "description": "Label text or node for the component.", "default": null, "values": null, "category": "general"},
|
|
34
|
+
"topLabel": {"type": "String|Node|Function", "description": "Label displayed above the control.", "default": null, "values": null, "category": "general"},
|
|
35
|
+
"hint": {"type": "String|Node|Function", "description": "Helper text shown near the control.", "default": null, "values": null, "category": "state"},
|
|
36
|
+
"error": {"type": "String|Node|Function", "description": "Error state or message displayed with the component.", "default": null, "values": null, "category": "state"},
|
|
37
|
+
"success": {"type": "String|Node|Function", "description": "Marks the component with success state styling.", "default": null, "values": null, "category": "state"},
|
|
38
|
+
"warning": {"type": "String|Node|Function", "description": "Marks the component with warning state styling.", "default": null, "values": null, "category": "state"},
|
|
39
|
+
"note": {"type": "String|Node|Function", "description": "Secondary note text.", "default": null, "values": null, "category": "state"},
|
|
40
|
+
"clearable": {"type": "boolean", "description": "Shows a clear action to reset the current value.", "default": null, "values": null, "category": "general"},
|
|
41
|
+
"filterable": {"type": "boolean", "description": "Enables filtering UI for option lists.", "default": null, "values": null, "category": "general"},
|
|
42
|
+
"multiple": {"type": "boolean", "description": "Allows selecting multiple values.", "default": null, "values": null, "category": "general"},
|
|
43
|
+
"multi": {"type": "boolean (alias multiple)", "description": "Enables multi-selection behavior.", "default": null, "values": null, "category": "general"},
|
|
44
|
+
"allowCustom": {"type": "boolean (consenti valori custom dal filtro)", "description": "Allows values not present in the options list.", "default": null, "values": null, "category": "general"},
|
|
45
|
+
"allowCustomValue": {"type": "boolean (alias allowCustom)", "description": "Accepts free-form values in addition to predefined options.", "default": null, "values": null, "category": "general"},
|
|
46
|
+
"filterPlaceholder": {"type": "string", "description": "Placeholder text for the filter/search input.", "default": null, "values": null, "category": "general"},
|
|
47
|
+
"emptyText": {"type": "string", "description": "Text shown when there is no data to display.", "default": null, "values": null, "category": "general"},
|
|
48
|
+
"shortcode": {"type": "string|Array<string>|object", "description": "Keyboard shortcut string, object, or array bound to the component action.", "default": null, "values": null, "category": "general"},
|
|
49
|
+
"showShortcode": {"type": "boolean", "description": "Displays the configured keyboard shortcut badge when the component supports it.", "default": null, "values": null, "category": "general"},
|
|
50
|
+
"icon": {"type": "String|Node|Function", "description": "Icon name or node rendered with the component.", "default": null, "values": ["#name_tabler", "name_material", "class"], "category": "general"},
|
|
51
|
+
"iconRight": {"type": "String|Node|Function", "description": "Icon name or node rendered on the right side of the component.", "default": null, "values": ["#name_tabler", "name_material", "class"], "category": "general"},
|
|
52
|
+
"prefix": {"type": "String|Node|Function", "description": "Content rendered before the main control.", "default": null, "values": null, "category": "general"},
|
|
53
|
+
"suffix": {"type": "String|Node|Function", "description": "Content rendered after the main control.", "default": null, "values": null, "category": "general"},
|
|
54
|
+
"disabled": {"type": "boolean | () => boolean", "description": "Disables interaction and applies disabled styling/ARIA.", "default": false, "values": null, "category": "state"},
|
|
55
|
+
"dense": {"type": "boolean", "description": "Uses compact spacing and sizing.", "default": false, "values": null, "category": "layout"},
|
|
56
|
+
"wrapClass": {"type": "string", "description": "Additional CSS classes applied to the outer wrapper.", "default": null, "values": null, "category": "general"},
|
|
57
|
+
"slots": {"type": "{ clear?, arrow?, filter?, option?, group?, empty?, loading? }", "description": "Named slots map for render overrides.", "default": null, "values": null, "category": "general"},
|
|
58
|
+
"onChange": {"type": "(value:any) => void", "description": "Callback fired when the value or selection changes.", "default": null, "values": null, "category": "events"},
|
|
59
|
+
"children": {"type": "Node|Array|Function", "description": "Default child content (nodes, arrays, or render function).", "default": null, "values": null, "category": "general"}
|
|
60
|
+
},
|
|
61
|
+
"slots": {
|
|
62
|
+
"clear": {"type": "Clear button (via FormField slots.clear)", "description": "Slot for the clear control/content.", "default": null, "values": null, "category": "slot"},
|
|
63
|
+
"arrow": {"type": "Arrow slot (ctx: { open })", "description": "Slot for the tooltip/popover arrow element.", "default": null, "values": null, "category": "slot"},
|
|
64
|
+
"filter": {"type": "Filter input slot (ctx: { value, setValue, close })", "description": "Slot for custom filter/search _.", "default": null, "values": null, "category": "slot"},
|
|
65
|
+
"option": {"type": "Option renderer (ctx: { opt, selected, active, disabled, select })", "description": "Slot for custom option rendering.", "default": null, "values": null, "category": "slot"},
|
|
66
|
+
"group": {"type": "Group header (ctx: { label })", "description": "Slot for grouped content container.", "default": null, "values": null, "category": "slot"},
|
|
67
|
+
"empty": {"type": "Empty state (ctx: { filter })", "description": "Slot for empty-state content.", "default": null, "values": null, "category": "slot"},
|
|
68
|
+
"loading": {"type": "Loading state (ctx: {})", "description": "Slot for loading state content.", "default": null, "values": null, "category": "state"},
|
|
69
|
+
"label": {"type": "Floating label (via FormField slots.label)", "description": "Slot for label content.", "default": null, "values": null, "category": "slot"},
|
|
70
|
+
"topLabel": {"type": "Top label (via FormField slots.topLabel)", "description": "Slot for top label content.", "default": null, "values": null, "category": "slot"},
|
|
71
|
+
"prefix": {"type": "Left addon (via FormField slots.prefix)", "description": "Slot for prefix content.", "default": null, "values": null, "category": "slot"},
|
|
72
|
+
"suffix": {"type": "Right addon (via FormField slots.suffix)", "description": "Slot for suffix content.", "default": null, "values": null, "category": "slot"},
|
|
73
|
+
"shortcode": {"type": "Shortcut badge (via FormField slots.shortcode)", "description": "Slot content for \"shortcode\". Accepts nodes, arrays, or render functions.", "default": null, "values": null, "category": "slot"},
|
|
74
|
+
"icon": {"type": "Left icon (via FormField slots.icon)", "description": "Slot for icon content.", "default": null, "values": ["#name_tabler", "name_material", "class"], "category": "slot"},
|
|
75
|
+
"iconRight": {"type": "Right icon (via FormField slots.iconRight)", "description": "Slot for right-aligned icon content.", "default": null, "values": ["#name_tabler", "name_material", "class"], "category": "slot"},
|
|
76
|
+
"hint": {"type": "Hint content (via FormField slots.hint)", "description": "Slot for helper/hint text.", "default": null, "values": null, "category": "state"},
|
|
77
|
+
"errorMessage": {"type": "Error content (via FormField slots.errorMessage)", "description": "Slot for custom error message rendering.", "default": null, "values": null, "category": "slot"},
|
|
78
|
+
"success": {"type": "Success content (via FormField slots.success)", "description": "Slot for success message/content.", "default": null, "values": null, "category": "state"},
|
|
79
|
+
"warning": {"type": "Warning content (via FormField slots.warning)", "description": "Slot for warning message/content.", "default": null, "values": null, "category": "state"},
|
|
80
|
+
"note": {"type": "Note content (via FormField slots.note)", "description": "Slot for note/secondary text.", "default": null, "values": null, "category": "state"}
|
|
81
|
+
},
|
|
82
|
+
"keyboard": ["Enter/Space", "ArrowUp", "ArrowDown", "Home", "End", "Escape"],
|
|
83
|
+
"returns": "HTMLDivElement (wrapper field) con ._select, ._dispose()"
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Value callback
|
|
88
|
+
|
|
89
|
+
The first callback argument is the selected value, not the DOM event.
|
|
90
|
+
|
|
91
|
+
```js
|
|
92
|
+
_.Select({
|
|
93
|
+
label: 'Categoria', value: '',
|
|
94
|
+
options: [{ value: '', label: 'Tutte' }, { value: 'Casa', label: 'Casa' }],
|
|
95
|
+
onChange: value => console.log(value)
|
|
96
|
+
});
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
An empty-string option is a valid selected value. Read `multiple` and `model` contracts when those modes are needed. Verify the rendered control's accessible name.
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
# Separator
|
|
2
|
+
|
|
3
|
+
Exact JSswift UI metadata contract. Use only the props, slots, events, and methods documented below.
|
|
4
|
+
|
|
5
|
+
```json
|
|
6
|
+
{
|
|
7
|
+
"signature": "_.Separator() | _.Separator(props)",
|
|
8
|
+
"props": {
|
|
9
|
+
"size": {
|
|
10
|
+
"type": "string|number",
|
|
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": "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
|
+
"vertical": {
|
|
301
|
+
"type": "boolean",
|
|
302
|
+
"description": "Vertical orientation instead of horizontal.",
|
|
303
|
+
"default": null,
|
|
304
|
+
"values": null,
|
|
305
|
+
"category": "general"
|
|
306
|
+
},
|
|
307
|
+
"slots": {
|
|
308
|
+
"type": "{ default? }",
|
|
309
|
+
"description": "Named slots map for render overrides.",
|
|
310
|
+
"default": null,
|
|
311
|
+
"values": null,
|
|
312
|
+
"category": "general"
|
|
313
|
+
},
|
|
314
|
+
"children": {
|
|
315
|
+
"type": "Node|Array|Function",
|
|
316
|
+
"description": "Default child content (nodes, arrays, or render function).",
|
|
317
|
+
"default": null,
|
|
318
|
+
"values": null,
|
|
319
|
+
"category": "general"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"slots": {
|
|
323
|
+
"default": {
|
|
324
|
+
"type": "Unused (separator has no content)",
|
|
325
|
+
"description": "Primary content for the component.",
|
|
326
|
+
"default": null,
|
|
327
|
+
"values": null,
|
|
328
|
+
"category": "slot"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"returns": "HTMLHRElement",
|
|
332
|
+
"description": "Separatore orizzontale o verticale."
|
|
333
|
+
}
|
|
334
|
+
```
|