@triptease/design-system-mcp 1.2.13 → 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.
Files changed (2) hide show
  1. package/dist/index.js +33 -1
  2. package/package.json +1 -1
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.13",
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",
@@ -24476,6 +24476,10 @@ var combobox_default = {
24476
24476
  "open-upward": {
24477
24477
  type: "boolean",
24478
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."
24479
24483
  }
24480
24484
  },
24481
24485
  examples: [
@@ -24568,6 +24572,34 @@ var combobox_default = {
24568
24572
  <option value="metasearch" slot="option">Metasearch</option>
24569
24573
  <option value="ota-partner" slot="option">OTA Partner</option>
24570
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
+ `
24571
24603
  }
24572
24604
  ]
24573
24605
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triptease/design-system-mcp",
3
- "version": "1.2.13",
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",