@triptease/design-system-mcp 1.2.12 → 1.2.14
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 +70 -13
- package/package.json +3 -3
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.14",
|
|
23306
23306
|
description: "MCP server for Triptease design system documentation",
|
|
23307
23307
|
type: "module",
|
|
23308
23308
|
main: "dist/index.js",
|
|
@@ -23323,7 +23323,7 @@ var package_default = {
|
|
|
23323
23323
|
node: ">=18.0.0"
|
|
23324
23324
|
},
|
|
23325
23325
|
componentVersions: {
|
|
23326
|
-
"@triptease/stylesheet": "2.1.
|
|
23326
|
+
"@triptease/stylesheet": "2.1.10",
|
|
23327
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",
|
|
@@ -23341,7 +23341,7 @@ var package_default = {
|
|
|
23341
23341
|
"@triptease/tt-weekday-picker": "1.0.1"
|
|
23342
23342
|
},
|
|
23343
23343
|
dependencies: {
|
|
23344
|
-
"@triptease/stylesheet": "2.1.
|
|
23344
|
+
"@triptease/stylesheet": "2.1.10"
|
|
23345
23345
|
},
|
|
23346
23346
|
devDependencies: {
|
|
23347
23347
|
"@modelcontextprotocol/sdk": "1.26.0",
|
|
@@ -24006,11 +24006,16 @@ var card_default = {
|
|
|
24006
24006
|
examples: [
|
|
24007
24007
|
{
|
|
24008
24008
|
title: "Basic usage",
|
|
24009
|
-
|
|
24010
|
-
|
|
24011
|
-
|
|
24012
|
-
|
|
24013
|
-
|
|
24009
|
+
description: "- A card is the layout component. The content it holds is irrelevant and can be more than what is shown here.\n\n- Do not nest cards as this can make UI look too busy.",
|
|
24010
|
+
code: `
|
|
24011
|
+
<div className="card" style={{ width: '25rem' }}>
|
|
24012
|
+
<tt-icon name="target" color="var(--color-primary-500)"></tt-icon>
|
|
24013
|
+
<div>
|
|
24014
|
+
<h3>Retarget guests</h3>
|
|
24015
|
+
<p>Re-engage high-value guests after they've left your website</p>
|
|
24016
|
+
</div>
|
|
24017
|
+
<a href="#">Configure retargeting ads</a>
|
|
24018
|
+
</div>;`
|
|
24014
24019
|
}
|
|
24015
24020
|
]
|
|
24016
24021
|
}
|
|
@@ -24471,6 +24476,10 @@ var combobox_default = {
|
|
|
24471
24476
|
"open-upward": {
|
|
24472
24477
|
type: "boolean",
|
|
24473
24478
|
description: "Make the dropdown open upward instead of downward. Use when combobox is near bottom of viewport."
|
|
24479
|
+
},
|
|
24480
|
+
"placeholder-plural-noun": {
|
|
24481
|
+
type: "string",
|
|
24482
|
+
description: "Plural noun to use in the placeholder text. Only valid when multiselect is true."
|
|
24474
24483
|
}
|
|
24475
24484
|
},
|
|
24476
24485
|
examples: [
|
|
@@ -24563,6 +24572,34 @@ var combobox_default = {
|
|
|
24563
24572
|
<option value="metasearch" slot="option">Metasearch</option>
|
|
24564
24573
|
<option value="ota-partner" slot="option">OTA Partner</option>
|
|
24565
24574
|
</tt-combobox>`
|
|
24575
|
+
},
|
|
24576
|
+
{
|
|
24577
|
+
title: "Custom Placeholder Plural Noun",
|
|
24578
|
+
description: "Use to customise the noun when multiple options are selected.\n\n- When only one option is selected, the selected option is displayed as normal.",
|
|
24579
|
+
code: `
|
|
24580
|
+
<div>
|
|
24581
|
+
<label htmlFor="custom-placeholder-plural-noun">Booking Channel</label>
|
|
24582
|
+
<tt-combobox id="custom-placeholder-plural-noun" multiselect placeholder-plural-noun="channels">
|
|
24583
|
+
<option value="direct-booking" slot="option">Direct Booking</option>
|
|
24584
|
+
<option value="metasearch" slot="option">Metasearch</option>
|
|
24585
|
+
<option value="ota-partner" slot="option">OTA Partner</option>
|
|
24586
|
+
</tt-combobox>
|
|
24587
|
+
</div>;
|
|
24588
|
+
`
|
|
24589
|
+
},
|
|
24590
|
+
{
|
|
24591
|
+
title: "With Icon",
|
|
24592
|
+
code: `
|
|
24593
|
+
<div>
|
|
24594
|
+
<label htmlFor="with-icon">Booking Channel</label>
|
|
24595
|
+
<tt-combobox id="with-icon">
|
|
24596
|
+
<tt-icon slot="icon" name="channels"></tt-icon>
|
|
24597
|
+
<option value="direct-booking" slot="option">Direct Booking</option>
|
|
24598
|
+
<option value="metasearch" slot="option">Metasearch</option>
|
|
24599
|
+
<option value="ota-partner" slot="option">OTA Partner</option>
|
|
24600
|
+
</tt-combobox>
|
|
24601
|
+
</div>
|
|
24602
|
+
`
|
|
24566
24603
|
}
|
|
24567
24604
|
]
|
|
24568
24605
|
}
|
|
@@ -28628,13 +28665,13 @@ var tokens_default = {
|
|
|
28628
28665
|
},
|
|
28629
28666
|
"box-shadow": {
|
|
28630
28667
|
sm: {
|
|
28631
|
-
value: "
|
|
28668
|
+
value: "0 1px 0 0 #E8EAEC",
|
|
28632
28669
|
type: "boxShadow",
|
|
28633
28670
|
name: " ",
|
|
28634
28671
|
filePath: "tokens/src/styles.json",
|
|
28635
28672
|
isSource: true,
|
|
28636
28673
|
original: {
|
|
28637
|
-
value: "
|
|
28674
|
+
value: "0 1px 0 0 #E8EAEC",
|
|
28638
28675
|
type: "boxShadow",
|
|
28639
28676
|
name: "Small box shadow"
|
|
28640
28677
|
},
|
|
@@ -28647,14 +28684,34 @@ var tokens_default = {
|
|
|
28647
28684
|
"sm"
|
|
28648
28685
|
]
|
|
28649
28686
|
},
|
|
28687
|
+
md: {
|
|
28688
|
+
value: "0 8px 12px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.06)",
|
|
28689
|
+
type: "boxShadow",
|
|
28690
|
+
name: " ",
|
|
28691
|
+
filePath: "tokens/src/styles.json",
|
|
28692
|
+
isSource: true,
|
|
28693
|
+
original: {
|
|
28694
|
+
value: "0 8px 12px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.06)",
|
|
28695
|
+
type: "boxShadow",
|
|
28696
|
+
name: "Medium box shadow"
|
|
28697
|
+
},
|
|
28698
|
+
attributes: {
|
|
28699
|
+
category: "box-shadow",
|
|
28700
|
+
type: "md"
|
|
28701
|
+
},
|
|
28702
|
+
path: [
|
|
28703
|
+
"box-shadow",
|
|
28704
|
+
"md"
|
|
28705
|
+
]
|
|
28706
|
+
},
|
|
28650
28707
|
lg: {
|
|
28651
|
-
value: "
|
|
28708
|
+
value: "0 50px 100px 0 rgba(60, 66, 87, 0.08), 0 15px 35px 0 rgba(60, 66, 87, 0.08), 0 5px 15px 0 rgba(0, 0, 0, 0.12)",
|
|
28652
28709
|
type: "boxShadow",
|
|
28653
28710
|
name: " ",
|
|
28654
28711
|
filePath: "tokens/src/styles.json",
|
|
28655
28712
|
isSource: true,
|
|
28656
28713
|
original: {
|
|
28657
|
-
value: "
|
|
28714
|
+
value: "0 50px 100px 0 rgba(60, 66, 87, 0.08), 0 15px 35px 0 rgba(60, 66, 87, 0.08), 0 5px 15px 0 rgba(0, 0, 0, 0.12)",
|
|
28658
28715
|
type: "boxShadow",
|
|
28659
28716
|
name: "Large box shadow"
|
|
28660
28717
|
},
|
|
@@ -28678,7 +28735,7 @@ var tokens_default = {
|
|
|
28678
28735
|
value: "0px 10px 20px rgba(0, 0, 0, 0.2)",
|
|
28679
28736
|
type: "boxShadow",
|
|
28680
28737
|
comment: "Large box shadow used for hover effects",
|
|
28681
|
-
name: "Large box shadow hover state"
|
|
28738
|
+
name: "DEPRECATED - Large box shadow hover state"
|
|
28682
28739
|
},
|
|
28683
28740
|
attributes: {
|
|
28684
28741
|
category: "box-shadow",
|
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.14",
|
|
4
4
|
"description": "MCP server for Triptease design system documentation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"node": ">=18.0.0"
|
|
22
22
|
},
|
|
23
23
|
"componentVersions": {
|
|
24
|
-
"@triptease/stylesheet": "2.1.
|
|
24
|
+
"@triptease/stylesheet": "2.1.10",
|
|
25
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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@triptease/tt-weekday-picker": "1.0.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@triptease/stylesheet": "2.1.
|
|
42
|
+
"@triptease/stylesheet": "2.1.10"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@modelcontextprotocol/sdk": "1.26.0",
|