myoperator-mcp 0.2.89 → 0.2.91
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 +16 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2645,7 +2645,7 @@ const PageHeader = React.forwardRef<HTMLDivElement, PageHeaderProps>(
|
|
|
2645
2645
|
{/* Content Section: Title + Description */}
|
|
2646
2646
|
<div className="flex-1 min-w-0">
|
|
2647
2647
|
<div className="flex items-center gap-2">
|
|
2648
|
-
<h1 className="m-0 text-
|
|
2648
|
+
<h1 className="m-0 text-lg font-semibold text-semantic-text-primary truncate">
|
|
2649
2649
|
{title}
|
|
2650
2650
|
</h1>
|
|
2651
2651
|
{infoIcon && (
|
|
@@ -2655,7 +2655,7 @@ const PageHeader = React.forwardRef<HTMLDivElement, PageHeaderProps>(
|
|
|
2655
2655
|
)}
|
|
2656
2656
|
</div>
|
|
2657
2657
|
{description && (
|
|
2658
|
-
<p className="m-0 text-sm text-semantic-text-
|
|
2658
|
+
<p className="m-0 text-sm text-semantic-text-muted font-normal mt-1 line-clamp-2">
|
|
2659
2659
|
{description}
|
|
2660
2660
|
</p>
|
|
2661
2661
|
)}
|
|
@@ -3272,14 +3272,18 @@ const SelectField = React.forwardRef<HTMLButtonElement, SelectFieldProps>(
|
|
|
3272
3272
|
// Internal state for search
|
|
3273
3273
|
const [searchQuery, setSearchQuery] = React.useState("");
|
|
3274
3274
|
|
|
3275
|
-
//
|
|
3276
|
-
const
|
|
3277
|
-
(
|
|
3278
|
-
|
|
3279
|
-
|
|
3275
|
+
// Combined value change handler that also fires onSelect with full option object
|
|
3276
|
+
const handleValueChange = React.useCallback(
|
|
3277
|
+
(newValue: string) => {
|
|
3278
|
+
onValueChange?.(newValue);
|
|
3279
|
+
if (onSelect) {
|
|
3280
|
+
const option = options.find((o) => o.value === newValue);
|
|
3281
|
+
if (option) {
|
|
3282
|
+
onSelect(option);
|
|
3283
|
+
}
|
|
3280
3284
|
}
|
|
3281
3285
|
},
|
|
3282
|
-
[onSelect]
|
|
3286
|
+
[onValueChange, onSelect, options]
|
|
3283
3287
|
);
|
|
3284
3288
|
|
|
3285
3289
|
// Derive state from props
|
|
@@ -3356,7 +3360,7 @@ const SelectField = React.forwardRef<HTMLButtonElement, SelectFieldProps>(
|
|
|
3356
3360
|
<Select
|
|
3357
3361
|
value={value}
|
|
3358
3362
|
defaultValue={defaultValue}
|
|
3359
|
-
onValueChange={
|
|
3363
|
+
onValueChange={handleValueChange}
|
|
3360
3364
|
disabled={disabled || loading}
|
|
3361
3365
|
name={name}
|
|
3362
3366
|
onOpenChange={handleOpenChange}
|
|
@@ -3397,7 +3401,6 @@ const SelectField = React.forwardRef<HTMLButtonElement, SelectFieldProps>(
|
|
|
3397
3401
|
key={option.value}
|
|
3398
3402
|
value={option.value}
|
|
3399
3403
|
disabled={option.disabled}
|
|
3400
|
-
onPointerUp={() => handleItemSelect(option)}
|
|
3401
3404
|
>
|
|
3402
3405
|
{option.label}
|
|
3403
3406
|
</SelectItem>
|
|
@@ -3414,8 +3417,7 @@ const SelectField = React.forwardRef<HTMLButtonElement, SelectFieldProps>(
|
|
|
3414
3417
|
key={option.value}
|
|
3415
3418
|
value={option.value}
|
|
3416
3419
|
disabled={option.disabled}
|
|
3417
|
-
|
|
3418
|
-
>
|
|
3420
|
+
>
|
|
3419
3421
|
{option.label}
|
|
3420
3422
|
</SelectItem>
|
|
3421
3423
|
))}
|
|
@@ -4151,7 +4153,7 @@ const TableHead = React.forwardRef<HTMLTableCellElement, TableHeadProps>(
|
|
|
4151
4153
|
<th
|
|
4152
4154
|
ref={ref}
|
|
4153
4155
|
className={cn(
|
|
4154
|
-
"h-12 px-4 text-left align-middle font-
|
|
4156
|
+
"h-12 px-4 text-left align-middle font-semibold text-semantic-text-muted text-sm [&:has([role=checkbox])]:pr-0",
|
|
4155
4157
|
sticky && "sticky left-0 bg-[var(--color-neutral-100)] z-10",
|
|
4156
4158
|
sortDirection && "cursor-pointer select-none",
|
|
4157
4159
|
className
|
|
@@ -5240,7 +5242,7 @@ const TooltipContent = React.forwardRef<
|
|
|
5240
5242
|
ref={ref}
|
|
5241
5243
|
sideOffset={sideOffset}
|
|
5242
5244
|
className={cn(
|
|
5243
|
-
"z-
|
|
5245
|
+
"z-[9999] overflow-hidden rounded-md bg-semantic-primary px-3 py-1.5 text-xs text-semantic-text-inverted shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
5244
5246
|
className
|
|
5245
5247
|
)}
|
|
5246
5248
|
{...props}
|
package/package.json
CHANGED