myoperator-mcp 0.2.308 → 0.2.309
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 +21 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3999,7 +3999,7 @@ const inputVariants = cva(
|
|
|
3999
3999
|
default:
|
|
4000
4000
|
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
4001
4001
|
error:
|
|
4002
|
-
"border border-solid border-semantic-error-primary focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
4002
|
+
"border border-solid border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
4003
4003
|
},
|
|
4004
4004
|
},
|
|
4005
4005
|
defaultVariants: {
|
|
@@ -4079,7 +4079,10 @@ const Input = React.forwardRef(
|
|
|
4079
4079
|
<input
|
|
4080
4080
|
type={type}
|
|
4081
4081
|
className={cn(
|
|
4082
|
-
inputVariants({ state
|
|
4082
|
+
inputVariants({ state }),
|
|
4083
|
+
className,
|
|
4084
|
+
state === "error" &&
|
|
4085
|
+
"border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
4083
4086
|
showCheckIcon && "pr-9",
|
|
4084
4087
|
type === "number" &&
|
|
4085
4088
|
hideNumberSpinners &&
|
|
@@ -8049,7 +8052,7 @@ const textFieldContainerVariants = cva(
|
|
|
8049
8052
|
empty:
|
|
8050
8053
|
"border border-solid border-semantic-border-input focus-within:border-semantic-border-input-focus focus-within:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
8051
8054
|
error:
|
|
8052
|
-
"border border-solid border-semantic-error-primary focus-within:border-semantic-error-primary focus-within:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
8055
|
+
"border border-solid border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus-within:border-semantic-error-primary focus-within:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
8053
8056
|
},
|
|
8054
8057
|
disabled: {
|
|
8055
8058
|
true: "cursor-not-allowed opacity-50 bg-[var(--color-neutral-50)]",
|
|
@@ -8076,7 +8079,7 @@ const textFieldInputVariants = cva(
|
|
|
8076
8079
|
empty:
|
|
8077
8080
|
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
8078
8081
|
error:
|
|
8079
|
-
"border border-solid border-semantic-error-primary focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
8082
|
+
"border border-solid border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
8080
8083
|
},
|
|
8081
8084
|
size: {
|
|
8082
8085
|
default: "h-[42px] px-4 py-2 text-base file:text-base",
|
|
@@ -8244,7 +8247,12 @@ const TextField = React.forwardRef(
|
|
|
8244
8247
|
"flex-1 bg-transparent border-0 outline-none focus:ring-0 px-0 h-full text-semantic-text-primary placeholder:text-semantic-text-placeholder disabled:cursor-not-allowed",
|
|
8245
8248
|
size === "sm" ? "text-sm" : "text-base"
|
|
8246
8249
|
)
|
|
8247
|
-
:
|
|
8250
|
+
: cn(
|
|
8251
|
+
textFieldInputVariants({ state: derivedState, size }),
|
|
8252
|
+
className,
|
|
8253
|
+
derivedState === "error" &&
|
|
8254
|
+
"border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]"
|
|
8255
|
+
),
|
|
8248
8256
|
type === "number" &&
|
|
8249
8257
|
"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"
|
|
8250
8258
|
)}
|
|
@@ -8294,7 +8302,9 @@ const TextField = React.forwardRef(
|
|
|
8294
8302
|
disabled: disabled || loading,
|
|
8295
8303
|
}),
|
|
8296
8304
|
size === "sm" ? "h-9 px-3" : "h-[42px] px-4",
|
|
8297
|
-
inputContainerClassName
|
|
8305
|
+
inputContainerClassName,
|
|
8306
|
+
derivedState === "error" &&
|
|
8307
|
+
"border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus-within:border-semantic-error-primary focus-within:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]"
|
|
8298
8308
|
)}
|
|
8299
8309
|
>
|
|
8300
8310
|
{prefix && (
|
|
@@ -8403,7 +8413,7 @@ const textareaVariants = cva(
|
|
|
8403
8413
|
default:
|
|
8404
8414
|
"border border-solid border-semantic-border-input focus:outline-none focus:border-semantic-border-input-focus focus:shadow-[0_0_0_1px_rgba(43,188,202,0.15)]",
|
|
8405
8415
|
error:
|
|
8406
|
-
"border border-solid border-semantic-error-primary focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
8416
|
+
"border border-solid border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus:outline-none focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
8407
8417
|
},
|
|
8408
8418
|
size: {
|
|
8409
8419
|
default: "px-4 py-2.5 text-base",
|
|
@@ -8576,7 +8586,10 @@ const Textarea = React.forwardRef(
|
|
|
8576
8586
|
id={textareaId}
|
|
8577
8587
|
rows={rows}
|
|
8578
8588
|
className={cn(
|
|
8579
|
-
textareaVariants({ state: derivedState, size
|
|
8589
|
+
textareaVariants({ state: derivedState, size }),
|
|
8590
|
+
className,
|
|
8591
|
+
derivedState === "error" &&
|
|
8592
|
+
"border-semantic-error-primary shadow-[0_0_0_1px_rgba(240,68,56,0.12)] focus:border-semantic-error-primary focus:shadow-[0_0_0_1px_rgba(240,68,56,0.12)]",
|
|
8580
8593
|
resizeClasses[resize]
|
|
8581
8594
|
)}
|
|
8582
8595
|
disabled={disabled}
|
package/package.json
CHANGED