@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/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  storageGuides,
8
8
  toolDefinitions,
9
9
  translateGuides
10
- } from "./chunk-TVNRJ4US.js";
10
+ } from "./chunk-4LBZUOEV.js";
11
11
 
12
12
  // src/index.ts
13
13
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
@@ -1254,7 +1254,8 @@ var componentMetadata = {
1254
1254
  category: "data",
1255
1255
  description: "Structured data display in rows and columns",
1256
1256
  features: [
1257
- "Sortable columns",
1257
+ "Sortable columns \u2014 set `sortable: true` on a column, handle `onSort` callback on Table",
1258
+ "Column options menu \u2014 set `options: MenuItem[]` on a column to show a kebab (\u22EE) dropdown in the header",
1258
1259
  "Custom cell rendering via column `render` function",
1259
1260
  "Custom column titles (ReactNode) \u2014 render icons, badges, or any element as header",
1260
1261
  "Footer row support \u2014 static content or computed from data via `footer` callback",
@@ -1267,7 +1268,10 @@ var componentMetadata = {
1267
1268
  "Align numbers to the right",
1268
1269
  "Column `title` accepts ReactNode \u2014 use for custom headers with icons or styled text",
1269
1270
  "Column `footer` accepts ReactNode or `(data: T[]) => ReactNode` \u2014 use the callback form for computed values like sums/averages",
1270
- "Footer only renders when at least one column has a `footer` defined"
1271
+ "Footer only renders when at least one column has a `footer` defined",
1272
+ "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.",
1273
+ 'Sort: `SortDirection` type is `"asc" | "desc" | null`. Import from `@idealyst/components`.',
1274
+ "Column options: `options` uses the `MenuItem[]` type from the Menu component. Each item has `id`, `label`, `onClick`, and optional `icon`, `separator`, `intent`."
1271
1275
  ]
1272
1276
  },
1273
1277
  Tabs: {