myoperator-mcp 0.2.167 → 0.2.168
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 +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3455,7 +3455,10 @@ function parseOptionalInt(raw: string): number | null {
|
|
|
3455
3455
|
}
|
|
3456
3456
|
|
|
3457
3457
|
export interface NumberStepFieldProps
|
|
3458
|
-
extends Omit<
|
|
3458
|
+
extends Omit<
|
|
3459
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
3460
|
+
"onChange" | "children" | "onBlur"
|
|
3461
|
+
> {
|
|
3459
3462
|
value: number;
|
|
3460
3463
|
onValueChange: (value: number) => void;
|
|
3461
3464
|
min?: number;
|
|
@@ -3467,6 +3470,8 @@ export interface NumberStepFieldProps
|
|
|
3467
3470
|
"aria-label"?: string;
|
|
3468
3471
|
incrementAriaLabel?: string;
|
|
3469
3472
|
decrementAriaLabel?: string;
|
|
3473
|
+
/** Called when the number input loses focus (e.g. validation). */
|
|
3474
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
3470
3475
|
}
|
|
3471
3476
|
|
|
3472
3477
|
const NumberStepField = React.forwardRef<HTMLDivElement, NumberStepFieldProps>(
|
|
@@ -3483,6 +3488,7 @@ const NumberStepField = React.forwardRef<HTMLDivElement, NumberStepFieldProps>(
|
|
|
3483
3488
|
"aria-label": ariaLabel,
|
|
3484
3489
|
incrementAriaLabel,
|
|
3485
3490
|
decrementAriaLabel,
|
|
3491
|
+
onBlur,
|
|
3486
3492
|
...props
|
|
3487
3493
|
},
|
|
3488
3494
|
ref
|
|
@@ -3518,6 +3524,7 @@ const NumberStepField = React.forwardRef<HTMLDivElement, NumberStepFieldProps>(
|
|
|
3518
3524
|
step={step}
|
|
3519
3525
|
value={value}
|
|
3520
3526
|
onChange={(e) => handleChange(e.target.value)}
|
|
3527
|
+
onBlur={onBlur}
|
|
3521
3528
|
disabled={disabled}
|
|
3522
3529
|
aria-label={ariaLabel}
|
|
3523
3530
|
hideNumberSpinners
|
package/package.json
CHANGED