@triptease/design-system-mcp 1.2.3 → 1.2.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 +92 -29
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -23302,7 +23302,7 @@ var StdioServerTransport = class {
|
|
|
23302
23302
|
// package.json
|
|
23303
23303
|
var package_default = {
|
|
23304
23304
|
name: "@triptease/design-system-mcp",
|
|
23305
|
-
version: "1.2.
|
|
23305
|
+
version: "1.2.5",
|
|
23306
23306
|
description: "MCP server for Triptease design system documentation",
|
|
23307
23307
|
type: "module",
|
|
23308
23308
|
main: "dist/index.js",
|
|
@@ -23323,23 +23323,23 @@ var package_default = {
|
|
|
23323
23323
|
node: ">=18.0.0"
|
|
23324
23324
|
},
|
|
23325
23325
|
componentVersions: {
|
|
23326
|
-
"@triptease/stylesheet": "2.
|
|
23327
|
-
"@triptease/tt-bar-chart": "1.1.
|
|
23326
|
+
"@triptease/stylesheet": "2.1.4",
|
|
23327
|
+
"@triptease/tt-bar-chart": "1.1.3",
|
|
23328
23328
|
"@triptease/tt-combobox": "5.7.4",
|
|
23329
23329
|
"@triptease/tt-data-point": "1.1.1",
|
|
23330
23330
|
"@triptease/tt-dataset": "1.1.1",
|
|
23331
|
-
"@triptease/tt-date-picker": "6.
|
|
23332
|
-
"@triptease/tt-date-range-picker": "6.
|
|
23331
|
+
"@triptease/tt-date-picker": "6.3.1",
|
|
23332
|
+
"@triptease/tt-date-range-picker": "6.4.1",
|
|
23333
23333
|
"@triptease/tt-dialog": "5.2.1",
|
|
23334
23334
|
"@triptease/tt-highlight": "1.1.1",
|
|
23335
|
-
"@triptease/tt-line-chart": "1.1.
|
|
23335
|
+
"@triptease/tt-line-chart": "1.1.3",
|
|
23336
23336
|
"@triptease/tt-milestone": "1.1.1",
|
|
23337
|
-
"@triptease/tt-paginator": "1.0.
|
|
23338
|
-
"@triptease/tt-table-wrapper": "1.0.
|
|
23337
|
+
"@triptease/tt-paginator": "1.0.6",
|
|
23338
|
+
"@triptease/tt-table-wrapper": "1.0.5",
|
|
23339
23339
|
"@triptease/tt-tabs": "1.1.0"
|
|
23340
23340
|
},
|
|
23341
23341
|
dependencies: {
|
|
23342
|
-
"@triptease/stylesheet": "2.1.
|
|
23342
|
+
"@triptease/stylesheet": "2.1.4"
|
|
23343
23343
|
},
|
|
23344
23344
|
devDependencies: {
|
|
23345
23345
|
"@modelcontextprotocol/sdk": "1.26.0",
|
|
@@ -24040,11 +24040,23 @@ var table_default = {
|
|
|
24040
24040
|
"For small amounts of data that would read more naturally as a list",
|
|
24041
24041
|
"On small screens where columns cannot fit \u2014 consider alternative layouts"
|
|
24042
24042
|
],
|
|
24043
|
+
bestPractices: [
|
|
24044
|
+
"Right-align numeric content (counts, percentages, currency). Left-align all other content. Column headers must match the alignment of their column.",
|
|
24045
|
+
"Place action columns last.",
|
|
24046
|
+
"If rows navigate to a resource or page, use the resource display name as the first column and link the text \u2014 not the entire row. Every value in the first column must be unique.",
|
|
24047
|
+
"Keep column names short \u2014 one or two words where possible. Avoid sentences and sub-headings.",
|
|
24048
|
+
"Use a dash (\u2014) for missing or unknown values. Do not leave cells empty \u2014 an empty cell is ambiguous.",
|
|
24049
|
+
"Do not use 0 to represent missing data. Zero is a meaningful value \u2014 for example, a \xA30 budget indicates an intentional allocation of nothing, which is different from a budget that has not been set.",
|
|
24050
|
+
"Use secondary buttons for row actions.",
|
|
24051
|
+
"Use icons within cells only inside action buttons, or to communicate status where a badge would be less clear. Always include an accessible label. Do not use icons in column headers."
|
|
24052
|
+
],
|
|
24043
24053
|
accessibility: [
|
|
24044
24054
|
'Use th scope="col" on column headers to help screen readers associate cells with their headings',
|
|
24045
|
-
'Sortable column headers receive aria-sort="ascending" or aria-sort="descending" automatically when using tt-table-wrapper',
|
|
24046
24055
|
"Add a caption to provide an accessible label for the table, especially when multiple tables appear on the same page",
|
|
24047
|
-
"Do not rely on visual position alone to convey data relationships \u2014 use semantic HTML (th, scope) so the structure is machine-readable"
|
|
24056
|
+
"Do not rely on visual position alone to convey data relationships \u2014 use semantic HTML (th, scope) so the structure is machine-readable",
|
|
24057
|
+
"When using tt-table-wrapper for sorting, each sortable header is automatically wrapped in a button, making it keyboard accessible via Tab, Enter, and Space",
|
|
24058
|
+
'Sortable columns receive aria-sort="none" initially, and aria-sort="ascending" or aria-sort="descending" when active',
|
|
24059
|
+
'Sort changes are announced via a live region (type status, polite): screen readers hear a message such as "Sorted by Revenue, ascending" or "Sort removed from Revenue" after each interaction'
|
|
24048
24060
|
]
|
|
24049
24061
|
},
|
|
24050
24062
|
installationOptions: {
|
|
@@ -24121,24 +24133,75 @@ var table_default = {
|
|
|
24121
24133
|
examples: [
|
|
24122
24134
|
{
|
|
24123
24135
|
title: "Basic table",
|
|
24136
|
+
description: "Numeric columns (counts, percentages, currency) are right-aligned. Text columns are left-aligned. Column headers match the alignment of their content.",
|
|
24137
|
+
code: `<table>
|
|
24138
|
+
<thead>
|
|
24139
|
+
<tr>
|
|
24140
|
+
<th scope="col">Property Name</th>
|
|
24141
|
+
<th scope="col" style="text-align: right">Impressions</th>
|
|
24142
|
+
<th scope="col" style="text-align: right">Revenue</th>
|
|
24143
|
+
</tr>
|
|
24144
|
+
</thead>
|
|
24145
|
+
<tbody>
|
|
24146
|
+
<tr>
|
|
24147
|
+
<td>Downtown Suites</td>
|
|
24148
|
+
<td style="text-align: right">12,450</td>
|
|
24149
|
+
<td style="text-align: right">$5,760.00</td>
|
|
24150
|
+
</tr>
|
|
24151
|
+
<tr>
|
|
24152
|
+
<td>Oceanview Villas</td>
|
|
24153
|
+
<td style="text-align: right">9,875</td>
|
|
24154
|
+
<td style="text-align: right">$3,420.00</td>
|
|
24155
|
+
</tr>
|
|
24156
|
+
</tbody>
|
|
24157
|
+
</table>`
|
|
24158
|
+
},
|
|
24159
|
+
{
|
|
24160
|
+
title: "Table with actions",
|
|
24161
|
+
description: "Place the actions column last. Use secondary buttons for row actions.",
|
|
24124
24162
|
code: `<table>
|
|
24125
24163
|
<thead>
|
|
24126
24164
|
<tr>
|
|
24127
24165
|
<th scope="col">Property Name</th>
|
|
24128
|
-
<th scope="col">
|
|
24129
|
-
<th scope="col">
|
|
24166
|
+
<th scope="col" style="text-align: right">Revenue</th>
|
|
24167
|
+
<th scope="col">Actions</th>
|
|
24130
24168
|
</tr>
|
|
24131
24169
|
</thead>
|
|
24132
24170
|
<tbody>
|
|
24133
24171
|
<tr>
|
|
24134
24172
|
<td>Downtown Suites</td>
|
|
24135
|
-
<td
|
|
24136
|
-
<td
|
|
24173
|
+
<td style="text-align: right">$5,760.00</td>
|
|
24174
|
+
<td><button data-theme="secondary">Edit</button></td>
|
|
24137
24175
|
</tr>
|
|
24138
24176
|
<tr>
|
|
24139
24177
|
<td>Oceanview Villas</td>
|
|
24140
|
-
<td
|
|
24141
|
-
<td
|
|
24178
|
+
<td style="text-align: right">$3,420.00</td>
|
|
24179
|
+
<td><button data-theme="secondary">Edit</button></td>
|
|
24180
|
+
</tr>
|
|
24181
|
+
</tbody>
|
|
24182
|
+
</table>`
|
|
24183
|
+
},
|
|
24184
|
+
{
|
|
24185
|
+
title: "Table with linked rows",
|
|
24186
|
+
description: "When rows navigate to a resource, link the first column text. Do not make the entire row a link.",
|
|
24187
|
+
code: `<table>
|
|
24188
|
+
<thead>
|
|
24189
|
+
<tr>
|
|
24190
|
+
<th scope="col">Property Name</th>
|
|
24191
|
+
<th scope="col" style="text-align: right">Impressions</th>
|
|
24192
|
+
<th scope="col" style="text-align: right">Revenue</th>
|
|
24193
|
+
</tr>
|
|
24194
|
+
</thead>
|
|
24195
|
+
<tbody>
|
|
24196
|
+
<tr>
|
|
24197
|
+
<td><a href="/properties/1">Downtown Suites</a></td>
|
|
24198
|
+
<td style="text-align: right">12,450</td>
|
|
24199
|
+
<td style="text-align: right">$5,760.00</td>
|
|
24200
|
+
</tr>
|
|
24201
|
+
<tr>
|
|
24202
|
+
<td><a href="/properties/2">Oceanview Villas</a></td>
|
|
24203
|
+
<td style="text-align: right">9,875</td>
|
|
24204
|
+
<td style="text-align: right">$3,420.00</td>
|
|
24142
24205
|
</tr>
|
|
24143
24206
|
</tbody>
|
|
24144
24207
|
</table>`
|
|
@@ -24151,20 +24214,20 @@ var table_default = {
|
|
|
24151
24214
|
<thead>
|
|
24152
24215
|
<tr>
|
|
24153
24216
|
<th scope="col" data-sort-key="name">Property Name</th>
|
|
24154
|
-
<th scope="col" data-sort-key="impressions">Impressions</th>
|
|
24155
|
-
<th scope="col" data-sort-key="revenue">Revenue</th>
|
|
24217
|
+
<th scope="col" data-sort-key="impressions" style="text-align: right">Impressions</th>
|
|
24218
|
+
<th scope="col" data-sort-key="revenue" style="text-align: right">Revenue</th>
|
|
24156
24219
|
</tr>
|
|
24157
24220
|
</thead>
|
|
24158
24221
|
<tbody>
|
|
24159
24222
|
<tr>
|
|
24160
24223
|
<td>Downtown Suites</td>
|
|
24161
|
-
<td>12,450</td>
|
|
24162
|
-
<td>$5,760.00</td>
|
|
24224
|
+
<td style="text-align: right">12,450</td>
|
|
24225
|
+
<td style="text-align: right">$5,760.00</td>
|
|
24163
24226
|
</tr>
|
|
24164
24227
|
<tr>
|
|
24165
24228
|
<td>Oceanview Villas</td>
|
|
24166
|
-
<td>9,875</td>
|
|
24167
|
-
<td>$3,420.00</td>
|
|
24229
|
+
<td style="text-align: right">9,875</td>
|
|
24230
|
+
<td style="text-align: right">$3,420.00</td>
|
|
24168
24231
|
</tr>
|
|
24169
24232
|
</tbody>
|
|
24170
24233
|
</table>
|
|
@@ -24185,20 +24248,20 @@ var table_default = {
|
|
|
24185
24248
|
<thead>
|
|
24186
24249
|
<tr>
|
|
24187
24250
|
<th scope="col">Property Name</th>
|
|
24188
|
-
<th scope="col">Impressions</th>
|
|
24189
|
-
<th scope="col">Revenue</th>
|
|
24251
|
+
<th scope="col" style="text-align: right">Impressions</th>
|
|
24252
|
+
<th scope="col" style="text-align: right">Revenue</th>
|
|
24190
24253
|
</tr>
|
|
24191
24254
|
</thead>
|
|
24192
24255
|
<tbody>
|
|
24193
24256
|
<tr>
|
|
24194
24257
|
<td>Downtown Suites</td>
|
|
24195
|
-
<td>12,450</td>
|
|
24196
|
-
<td>$5,760.00</td>
|
|
24258
|
+
<td style="text-align: right">12,450</td>
|
|
24259
|
+
<td style="text-align: right">$5,760.00</td>
|
|
24197
24260
|
</tr>
|
|
24198
24261
|
<tr>
|
|
24199
24262
|
<td>Oceanview Villas</td>
|
|
24200
|
-
<td>9,875</td>
|
|
24201
|
-
<td>$3,420.00</td>
|
|
24263
|
+
<td style="text-align: right">9,875</td>
|
|
24264
|
+
<td style="text-align: right">$3,420.00</td>
|
|
24202
24265
|
</tr>
|
|
24203
24266
|
</tbody>
|
|
24204
24267
|
</table>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@triptease/design-system-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "MCP server for Triptease design system documentation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"node": ">=18.0.0"
|
|
22
22
|
},
|
|
23
23
|
"componentVersions": {
|
|
24
|
-
"@triptease/stylesheet": "2.
|
|
25
|
-
"@triptease/tt-bar-chart": "1.1.
|
|
24
|
+
"@triptease/stylesheet": "2.1.4",
|
|
25
|
+
"@triptease/tt-bar-chart": "1.1.3",
|
|
26
26
|
"@triptease/tt-combobox": "5.7.4",
|
|
27
27
|
"@triptease/tt-data-point": "1.1.1",
|
|
28
28
|
"@triptease/tt-dataset": "1.1.1",
|
|
29
|
-
"@triptease/tt-date-picker": "6.
|
|
30
|
-
"@triptease/tt-date-range-picker": "6.
|
|
29
|
+
"@triptease/tt-date-picker": "6.3.1",
|
|
30
|
+
"@triptease/tt-date-range-picker": "6.4.1",
|
|
31
31
|
"@triptease/tt-dialog": "5.2.1",
|
|
32
32
|
"@triptease/tt-highlight": "1.1.1",
|
|
33
|
-
"@triptease/tt-line-chart": "1.1.
|
|
33
|
+
"@triptease/tt-line-chart": "1.1.3",
|
|
34
34
|
"@triptease/tt-milestone": "1.1.1",
|
|
35
|
-
"@triptease/tt-paginator": "1.0.
|
|
36
|
-
"@triptease/tt-table-wrapper": "1.0.
|
|
35
|
+
"@triptease/tt-paginator": "1.0.6",
|
|
36
|
+
"@triptease/tt-table-wrapper": "1.0.5",
|
|
37
37
|
"@triptease/tt-tabs": "1.1.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@triptease/stylesheet": "2.1.
|
|
40
|
+
"@triptease/stylesheet": "2.1.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@modelcontextprotocol/sdk": "1.26.0",
|