@smwb/ui-mcp-solid 0.12.1 → 0.13.0
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/component-meta/base/icon/icon.json +6 -1
- package/component-meta/base/ripple/ripple.json +6 -1
- package/component-meta/connects/rt/table/table.json +1 -1
- package/component-meta/dataDisplay/avatar/avatar.avatarGroup.json +5 -0
- package/component-meta/dataDisplay/avatar/avatar.json +5 -0
- package/component-meta/dataDisplay/card/card.json +18 -3
- package/component-meta/dataDisplay/chart/chart.json +5 -0
- package/component-meta/dataDisplay/chat/chatLayout.json +5 -0
- package/component-meta/dataDisplay/chat/chatOverlayLayout.json +5 -0
- package/component-meta/dataDisplay/chip/chip.json +18 -3
- package/component-meta/dataDisplay/dagView/dagView.json +170 -0
- package/component-meta/dataDisplay/descriptionList/descriptionList.json +1 -1
- package/component-meta/dataDisplay/kanban/kanban.json +5 -0
- package/component-meta/dataDisplay/kanban/kanban.kanbanCard.json +5 -0
- package/component-meta/dataDisplay/kanban/kanban.kanbanColumn.json +5 -0
- package/component-meta/dataDisplay/list/list.json +5 -0
- package/component-meta/dataDisplay/meter/meter.json +5 -0
- package/component-meta/dataDisplay/personChip/personChip.json +5 -0
- package/component-meta/dataDisplay/stat/stat.json +5 -0
- package/component-meta/dataDisplay/table/table.json +1 -1
- package/component-meta/dataDisplay/table/tableCell.json +7 -2
- package/component-meta/dataDisplay/table/tableHeadCell.json +11 -1
- package/component-meta/dataDisplay/table/tableRow.json +5 -0
- package/component-meta/dataDisplay/thumbCard/thumbCard.json +16 -6
- package/component-meta/dataDisplay/treeView/treeView.json +5 -0
- package/component-meta/feedBack/emptyState/emptyState.json +5 -0
- package/component-meta/feedBack/message/message.json +5 -0
- package/component-meta/feedBack/skeleton/skeleton.json +7 -2
- package/component-meta/feedBack/tooltip/tooltip.json +4 -4
- package/component-meta/inputs/button/button.json +5 -0
- package/component-meta/inputs/buttonGroups/buttonGroup.json +5 -0
- package/component-meta/inputs/checkbox/checkbox.json +2 -2
- package/component-meta/inputs/radioButton/radioButton.json +6 -1
- package/component-meta/inputs/rating/rating.json +12 -2
- package/component-meta/inputs/selectField/dropdownMenu.json +47 -2
- package/component-meta/inputs/selectField/selectField.json +9 -8
- package/component-meta/inputs/slider/slider.json +11 -6
- package/component-meta/inputs/textField/textField.json +8 -3
- package/component-meta/inputs/textField/textFieldWrapper.json +16 -1
- package/component-meta/inputs/toggle/toggle.json +1 -1
- package/component-meta/inputs/valueSlider/valueSlider.json +15 -10
- package/component-meta/layout/appLayout/appLayout.json +5 -0
- package/component-meta/layout/divider/divider.json +5 -0
- package/component-meta/layout/floatingWindow/floatingWindow.json +5 -0
- package/component-meta/layout/grid/grid.column.json +5 -0
- package/component-meta/layout/grid/grid.container.json +5 -0
- package/component-meta/layout/grid/grid.row.json +5 -0
- package/component-meta/layout/page/page.json +5 -0
- package/component-meta/layout/pageHeader/pageHeader.json +5 -0
- package/component-meta/layout/sectionHeader/sectionHeader.json +5 -0
- package/component-meta/layout/sheet/sheet.json +5 -0
- package/component-meta/layout/stack/stack.json +5 -0
- package/component-meta/navigation/appBar/appBar.json +5 -0
- package/component-meta/navigation/breadcrumbs/breadcrumbs.json +5 -0
- package/component-meta/navigation/menu/menu.json +1 -1
- package/component-meta/navigation/menu/menuItem.json +1 -1
- package/component-meta/navigation/menu/menuList.json +5 -0
- package/component-meta/navigation/menu/menuSubmenu.json +14 -3
- package/component-meta/navigation/pagination/pagination.json +5 -0
- package/component-meta/navigation/stepper/stepper.json +5 -0
- package/component-meta/navigation/tabs/tabs.json +3 -3
- package/package.json +3 -3
|
@@ -51,6 +51,11 @@
|
|
|
51
51
|
"required": false,
|
|
52
52
|
"description": "Optional element rendered between each child."
|
|
53
53
|
},
|
|
54
|
+
"data-testid": {
|
|
55
|
+
"type": "string | undefined",
|
|
56
|
+
"required": false,
|
|
57
|
+
"description": "Test id of the root `<div>`; `stack` unless given."
|
|
58
|
+
},
|
|
54
59
|
"ref": {
|
|
55
60
|
"type": "Ref<HTMLDivElement>",
|
|
56
61
|
"required": false,
|
|
@@ -66,6 +66,11 @@
|
|
|
66
66
|
"required": false,
|
|
67
67
|
"description": "Semantic background color."
|
|
68
68
|
},
|
|
69
|
+
"data-testid": {
|
|
70
|
+
"type": "string | undefined",
|
|
71
|
+
"required": false,
|
|
72
|
+
"description": "Test id of the root (`<header>`, or `<footer>` at the bottom); `app-bar` unless given."
|
|
73
|
+
},
|
|
69
74
|
"ref": {
|
|
70
75
|
"type": "Ref<HTMLElement>",
|
|
71
76
|
"required": false,
|
|
@@ -56,6 +56,11 @@
|
|
|
56
56
|
"required": false,
|
|
57
57
|
"description": "Accessible label for the expand button."
|
|
58
58
|
},
|
|
59
|
+
"data-testid": {
|
|
60
|
+
"type": "string | undefined",
|
|
61
|
+
"required": false,
|
|
62
|
+
"description": "Test id of the root `<nav>`; `breadcrumbs` unless given."
|
|
63
|
+
},
|
|
59
64
|
"ref": {
|
|
60
65
|
"type": "Ref<HTMLElement>",
|
|
61
66
|
"required": false,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"note": "The trigger renders on the server; the menu surface mounts on the client."
|
|
8
8
|
},
|
|
9
9
|
"extends": [
|
|
10
|
-
"MenuFloatingProps & {\n variant?: \"static\" | \"floating\";\n dense?: boolean;\n}"
|
|
10
|
+
"MenuFloatingProps & {\n variant?: \"static\" | \"floating\";\n dense?: boolean;\n /**\n * Role of the list inside the menu, `menu` by default. A component that draws\n * a list of its own on the menu's surface sets `presentation`: SelectField's\n * options are a `listbox` inside it.\n */\n listRole?: JSX.AriaAttributes[\"role\"];\n}"
|
|
11
11
|
],
|
|
12
12
|
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
13
13
|
"styles": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"disabled": {
|
|
27
27
|
"type": "boolean | undefined",
|
|
28
28
|
"required": false,
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "Greys the item out and marks it `aria-disabled`. It takes no focus, the arrow keys\nskip it, and neither a click nor Enter or Space chooses it."
|
|
30
30
|
},
|
|
31
31
|
"selected": {
|
|
32
32
|
"type": "boolean | undefined",
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
"type": "Ref<HTMLDivElement>",
|
|
26
26
|
"required": false,
|
|
27
27
|
"description": "Ref. Optional. Type: Ref<HTMLDivElement>."
|
|
28
|
+
},
|
|
29
|
+
"listRole": {
|
|
30
|
+
"type": "JSX.AriaAttributes[\"role\"] | undefined",
|
|
31
|
+
"required": false,
|
|
32
|
+
"description": "Role of the inner list, `menu` by default (see `MenuProps`)."
|
|
28
33
|
}
|
|
29
34
|
}
|
|
30
35
|
}
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
"safe": true,
|
|
6
6
|
"rendering": "universal"
|
|
7
7
|
},
|
|
8
|
+
"extends": [
|
|
9
|
+
"JSX.HTMLAttributes<HTMLDivElement>"
|
|
10
|
+
],
|
|
11
|
+
"inheritedAttributes": "Also accepts standard HTML attributes for the underlying element (see extends clause in TypeScript).",
|
|
8
12
|
"styles": {
|
|
9
13
|
"base": [
|
|
10
14
|
"@smwb/ui-styles/less/foundation.less",
|
|
@@ -13,8 +17,10 @@
|
|
|
13
17
|
"entries": [
|
|
14
18
|
"@smwb/ui-styles/less/components/menu/menu.entry.less"
|
|
15
19
|
],
|
|
16
|
-
"dependencies": [
|
|
17
|
-
|
|
20
|
+
"dependencies": [
|
|
21
|
+
"@smwb/ui-styles/less/components/ripple/ripple.entry.less"
|
|
22
|
+
],
|
|
23
|
+
"importExample": "@import (less) \"node_modules/@smwb/ui-styles/less/foundation.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/theme.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/menu/menu.entry.less\";\n@import (less) \"node_modules/@smwb/ui-styles/less/components/ripple/ripple.entry.less\";"
|
|
18
24
|
},
|
|
19
25
|
"props": {
|
|
20
26
|
"placement": {
|
|
@@ -45,7 +51,12 @@
|
|
|
45
51
|
"class": {
|
|
46
52
|
"type": "string",
|
|
47
53
|
"required": false,
|
|
48
|
-
"description": "Class
|
|
54
|
+
"description": "Class of the floating panel that holds the items, as in React. The other HTML\nattributes and `style` go to the panel too; the toggle row takes none of them."
|
|
55
|
+
},
|
|
56
|
+
"ref": {
|
|
57
|
+
"type": "Ref<HTMLDivElement>",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Gets the floating panel that holds the items, while it is open."
|
|
49
60
|
}
|
|
50
61
|
}
|
|
51
62
|
}
|
|
@@ -93,6 +93,11 @@
|
|
|
93
93
|
"required": false,
|
|
94
94
|
"description": "Callback fired when the value changes."
|
|
95
95
|
},
|
|
96
|
+
"data-testid": {
|
|
97
|
+
"type": "string | undefined",
|
|
98
|
+
"required": false,
|
|
99
|
+
"description": "Test id of the root `<nav>`; `pagination` unless given."
|
|
100
|
+
},
|
|
96
101
|
"ref": {
|
|
97
102
|
"type": "Ref<HTMLElement>",
|
|
98
103
|
"required": false,
|
|
@@ -48,6 +48,11 @@
|
|
|
48
48
|
"required": false,
|
|
49
49
|
"description": "Makes steps clickable; receives the clicked step index."
|
|
50
50
|
},
|
|
51
|
+
"data-testid": {
|
|
52
|
+
"type": "string | undefined",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "Test id of the stepper `<div>`; `stepper` unless given."
|
|
55
|
+
},
|
|
51
56
|
"ref": {
|
|
52
57
|
"type": "Ref<HTMLDivElement>",
|
|
53
58
|
"required": false,
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"value": {
|
|
25
25
|
"type": "number",
|
|
26
26
|
"required": true,
|
|
27
|
-
"description": "
|
|
27
|
+
"description": "Index of the selected tab: its position in the row. Tabs count in the order they\nrender, so a tab behind a `<Show>` that is off takes no index, and tabs added,\nremoved or reordered count by their new place."
|
|
28
28
|
},
|
|
29
29
|
"onChange": {
|
|
30
30
|
"type": "(event: MouseEvent & { currentTarget: HTMLElement; target: Element }, index: number) => void",
|
|
31
31
|
"required": true,
|
|
32
|
-
"description": "
|
|
32
|
+
"description": "Called with the index of the clicked tab, counted as for `value`."
|
|
33
33
|
},
|
|
34
34
|
"indicatorContent": {
|
|
35
35
|
"type": "boolean",
|
|
36
36
|
"required": false,
|
|
37
|
-
"description": "
|
|
37
|
+
"description": "Draw the indicator as wide as the selected tab's label rather than the whole tab."
|
|
38
38
|
},
|
|
39
39
|
"scrollable": {
|
|
40
40
|
"type": "boolean",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smwb/ui-mcp-solid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Model Context Protocol server exposing the @smwb/ui-solid (SolidJS) component catalog and customization guide.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"zod": "^4.4.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@smwb/ui-solid": "^0.
|
|
32
|
-
"@smwb/ui-styles": "^1.
|
|
31
|
+
"@smwb/ui-solid": "^0.13.0",
|
|
32
|
+
"@smwb/ui-styles": "^1.6.0",
|
|
33
33
|
"glob": "^13.0.6",
|
|
34
34
|
"typescript": "^6.0.3",
|
|
35
35
|
"vitest": "^2.1.9"
|