@idealyst/mcp-server 1.3.3 → 1.3.5
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/{chunk-TVNRJ4US.js → chunk-4LBZUOEV.js} +7 -3
- package/dist/chunk-4LBZUOEV.js.map +1 -0
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/tools/index.cjs +6 -2
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.js +1 -1
- package/examples/components/Table.examples.tsx +75 -2
- package/package.json +5 -5
- package/dist/chunk-TVNRJ4US.js.map +0 -1
|
@@ -1132,7 +1132,8 @@ var componentMetadata = {
|
|
|
1132
1132
|
category: "data",
|
|
1133
1133
|
description: "Structured data display in rows and columns",
|
|
1134
1134
|
features: [
|
|
1135
|
-
"Sortable columns",
|
|
1135
|
+
"Sortable columns \u2014 set `sortable: true` on a column, handle `onSort` callback on Table",
|
|
1136
|
+
"Column options menu \u2014 set `options: MenuItem[]` on a column to show a kebab (\u22EE) dropdown in the header",
|
|
1136
1137
|
"Custom cell rendering via column `render` function",
|
|
1137
1138
|
"Custom column titles (ReactNode) \u2014 render icons, badges, or any element as header",
|
|
1138
1139
|
"Footer row support \u2014 static content or computed from data via `footer` callback",
|
|
@@ -1145,7 +1146,10 @@ var componentMetadata = {
|
|
|
1145
1146
|
"Align numbers to the right",
|
|
1146
1147
|
"Column `title` accepts ReactNode \u2014 use for custom headers with icons or styled text",
|
|
1147
1148
|
"Column `footer` accepts ReactNode or `(data: T[]) => ReactNode` \u2014 use the callback form for computed values like sums/averages",
|
|
1148
|
-
"Footer only renders when at least one column has a `footer` defined"
|
|
1149
|
+
"Footer only renders when at least one column has a `footer` defined",
|
|
1150
|
+
"Sort: Table manages sort state internally (3-state cycle: null \u2192 asc \u2192 desc \u2192 null). The parent sorts data via `onSort(columnKey, direction)` callback.",
|
|
1151
|
+
'Sort: `SortDirection` type is `"asc" | "desc" | null`. Import from `@idealyst/components`.',
|
|
1152
|
+
"Column options: `options` uses the `MenuItem[]` type from the Menu component. Each item has `id`, `label`, `onClick`, and optional `icon`, `separator`, `intent`."
|
|
1149
1153
|
]
|
|
1150
1154
|
},
|
|
1151
1155
|
Tabs: {
|
|
@@ -67732,4 +67736,4 @@ export {
|
|
|
67732
67736
|
toolHandlers,
|
|
67733
67737
|
callTool
|
|
67734
67738
|
};
|
|
67735
|
-
//# sourceMappingURL=chunk-
|
|
67739
|
+
//# sourceMappingURL=chunk-4LBZUOEV.js.map
|