@smwb/ui-mcp-solid 0.10.0 → 0.11.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.
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "RtTable",
|
|
3
|
+
"description": "Rt Table component from the component module.",
|
|
4
|
+
"ssr": {
|
|
5
|
+
"safe": true,
|
|
6
|
+
"rendering": "universal"
|
|
7
|
+
},
|
|
8
|
+
"extends": [
|
|
9
|
+
"SmwbTableProps"
|
|
10
|
+
],
|
|
11
|
+
"styles": {
|
|
12
|
+
"base": [
|
|
13
|
+
"@smwb/ui-styles/less/foundation.less",
|
|
14
|
+
"@smwb/ui-styles/less/theme.less"
|
|
15
|
+
],
|
|
16
|
+
"entries": [
|
|
17
|
+
"@smwb/ui-styles/less/components/table/table.entry.less"
|
|
18
|
+
],
|
|
19
|
+
"dependencies": [],
|
|
20
|
+
"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/table/table.entry.less\";"
|
|
21
|
+
},
|
|
22
|
+
"props": {
|
|
23
|
+
"data": {
|
|
24
|
+
"type": "TData[]",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "Row data rendered by the table."
|
|
27
|
+
},
|
|
28
|
+
"columns": {
|
|
29
|
+
"type": "ColumnDef<TData, TValue>[]",
|
|
30
|
+
"required": true,
|
|
31
|
+
"description": "Table column definitions."
|
|
32
|
+
},
|
|
33
|
+
"sortable": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Enables the sort affordance in head cells and the sorted row model."
|
|
37
|
+
},
|
|
38
|
+
"defaultSorting": {
|
|
39
|
+
"type": "SortingState",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Initial sorting, e.g. `[{ id: \"name\", desc: false }]`."
|
|
42
|
+
},
|
|
43
|
+
"onSortingChange": {
|
|
44
|
+
"type": "(sorting: SortingState) => void",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "On Sorting Change. Optional. Type: (sorting: SortingState) => void."
|
|
47
|
+
},
|
|
48
|
+
"withPagination": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"required": false,
|
|
51
|
+
"description": "With Pagination. Optional. Type: boolean."
|
|
52
|
+
},
|
|
53
|
+
"isInfinite": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "Rows come from the outside page by page; the total is unknown."
|
|
57
|
+
},
|
|
58
|
+
"limit": {
|
|
59
|
+
"type": "number",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "Limit. Optional. Type: number."
|
|
62
|
+
},
|
|
63
|
+
"limitOptions": {
|
|
64
|
+
"type": "number[]",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "Limit Options. Optional. Type: number[]."
|
|
67
|
+
},
|
|
68
|
+
"onNextPage": {
|
|
69
|
+
"type": "() => void",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "On Next Page. Optional. Type: () => void."
|
|
72
|
+
},
|
|
73
|
+
"onPrevPage": {
|
|
74
|
+
"type": "() => void",
|
|
75
|
+
"required": false,
|
|
76
|
+
"description": "On Prev Page. Optional. Type: () => void."
|
|
77
|
+
},
|
|
78
|
+
"expandable": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"required": false,
|
|
81
|
+
"description": "Whether row expansion is enabled."
|
|
82
|
+
},
|
|
83
|
+
"getRowCanExpand": {
|
|
84
|
+
"type": "(row: Row<TData>) => boolean",
|
|
85
|
+
"required": false,
|
|
86
|
+
"description": "Get Row Can Expand. Optional. Type: (row: Row<TData>) => boolean."
|
|
87
|
+
},
|
|
88
|
+
"renderSubComponent": {
|
|
89
|
+
"type": "(props: { row: Row<TData> }) => JSX.Element",
|
|
90
|
+
"required": false,
|
|
91
|
+
"description": "Render Sub Component. Optional. Type: (props: { row: Row<TData> }) => JSX.Element."
|
|
92
|
+
},
|
|
93
|
+
"cellAlign": {
|
|
94
|
+
"type": "\"left\" | \"right\" | \"center\"",
|
|
95
|
+
"required": false,
|
|
96
|
+
"description": "Cell Align. Optional. Type: \"left\" | \"right\" | \"center\"."
|
|
97
|
+
},
|
|
98
|
+
"error": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"required": false,
|
|
101
|
+
"description": "Whether the control is in an error state."
|
|
102
|
+
},
|
|
103
|
+
"onHeadCellClick": {
|
|
104
|
+
"type": "(column: ColumnDef<TData, TValue>) => void",
|
|
105
|
+
"required": false,
|
|
106
|
+
"description": "On Head Cell Click. Optional. Type: (column: ColumnDef<TData, TValue>) => void."
|
|
107
|
+
},
|
|
108
|
+
"onBodyRowClick": {
|
|
109
|
+
"type": "(row: Row<TData>, event: MouseEvent) => void",
|
|
110
|
+
"required": false,
|
|
111
|
+
"description": "On Body Row Click. Optional. Type: (row: Row<TData>, event: MouseEvent) => void."
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smwb/ui-mcp-solid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.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,7 +28,7 @@
|
|
|
28
28
|
"zod": "^4.4.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@smwb/ui-solid": "^0.
|
|
31
|
+
"@smwb/ui-solid": "^0.11.0",
|
|
32
32
|
"@smwb/ui-styles": "^1.4.0",
|
|
33
33
|
"glob": "^13.0.6",
|
|
34
34
|
"typescript": "^6.0.3",
|