myoperator-mcp 0.2.379 → 0.2.380

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 +10 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10115,6 +10115,14 @@ export interface SelectFieldProps {
10115
10115
  * an "End of list" footer row. Default true (keep firing).
10116
10116
  */
10117
10117
  hasMore?: boolean;
10118
+ /**
10119
+ * Clip long option labels in the dropdown to a single line with an ellipsis
10120
+ * instead of wrapping them across lines. Default false (wrapped). The
10121
+ * selected value in the trigger always truncates, and the value reported to
10122
+ * \`onValueChange\` / \`onSelect\` is always the full string \u2014 truncation is
10123
+ * presentation only.
10124
+ */
10125
+ truncateOptionText?: boolean;
10118
10126
  }
10119
10127
 
10120
10128
  /**
@@ -10192,6 +10200,7 @@ const SelectField = React.forwardRef(
10192
10200
  onScrollEnd,
10193
10201
  loadingMore,
10194
10202
  hasMore,
10203
+ truncateOptionText,
10195
10204
  }: SelectFieldProps,
10196
10205
  ref: React.Ref<HTMLButtonElement>
10197
10206
  ) => {
@@ -10383,6 +10392,7 @@ const SelectField = React.forwardRef(
10383
10392
  <SelectContent
10384
10393
  onViewportScrollEnd={hasMore !== false ? onScrollEnd : undefined}
10385
10394
  hideScrollButtons={totalRendered === 0}
10395
+ truncateOptionText={truncateOptionText}
10386
10396
  className={contentClassName}
10387
10397
  >
10388
10398
  {/* Search input */}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-mcp",
3
- "version": "0.2.379",
3
+ "version": "0.2.380",
4
4
  "description": "MCP server for myOperator UI components - enables AI assistants to access component metadata, examples, and design tokens",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",