myoperator-mcp 0.2.359 → 0.2.361
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 +41 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1156,7 +1156,7 @@ const Checkbox = React.forwardRef(
|
|
|
1156
1156
|
htmlFor={id}
|
|
1157
1157
|
className={cn(
|
|
1158
1158
|
labelSizeVariants({ size }),
|
|
1159
|
-
"text-semantic-text-
|
|
1159
|
+
"font-semibold text-semantic-text-secondary cursor-pointer",
|
|
1160
1160
|
disabled && "opacity-50 cursor-not-allowed",
|
|
1161
1161
|
labelClassName
|
|
1162
1162
|
)}
|
|
@@ -1170,7 +1170,7 @@ const Checkbox = React.forwardRef(
|
|
|
1170
1170
|
htmlFor={id}
|
|
1171
1171
|
className={cn(
|
|
1172
1172
|
labelSizeVariants({ size }),
|
|
1173
|
-
"text-semantic-text-
|
|
1173
|
+
"font-semibold text-semantic-text-secondary cursor-pointer",
|
|
1174
1174
|
disabled && "opacity-50 cursor-not-allowed",
|
|
1175
1175
|
labelClassName
|
|
1176
1176
|
)}
|
|
@@ -1194,7 +1194,7 @@ const Checkbox = React.forwardRef(
|
|
|
1194
1194
|
<span
|
|
1195
1195
|
className={cn(
|
|
1196
1196
|
labelSizeVariants({ size }),
|
|
1197
|
-
"text-semantic-text-
|
|
1197
|
+
"font-semibold text-semantic-text-secondary",
|
|
1198
1198
|
disabled && "opacity-50",
|
|
1199
1199
|
labelClassName
|
|
1200
1200
|
)}
|
|
@@ -1207,7 +1207,7 @@ const Checkbox = React.forwardRef(
|
|
|
1207
1207
|
<span
|
|
1208
1208
|
className={cn(
|
|
1209
1209
|
labelSizeVariants({ size }),
|
|
1210
|
-
"text-semantic-text-
|
|
1210
|
+
"font-semibold text-semantic-text-secondary",
|
|
1211
1211
|
disabled && "opacity-50",
|
|
1212
1212
|
labelClassName
|
|
1213
1213
|
)}
|
|
@@ -2666,6 +2666,12 @@ export interface DateTimePickerProps
|
|
|
2666
2666
|
value?: DateTimePickerValue;
|
|
2667
2667
|
defaultValue?: DateTimePickerValue;
|
|
2668
2668
|
onValueChange?: (value: DateTimePickerValue) => void;
|
|
2669
|
+
/** Label text displayed above the trigger */
|
|
2670
|
+
label?: string;
|
|
2671
|
+
/** Shows a red asterisk next to the label when true */
|
|
2672
|
+
required?: boolean;
|
|
2673
|
+
/** Additional class for the label */
|
|
2674
|
+
labelClassName?: string;
|
|
2669
2675
|
placeholder?: string;
|
|
2670
2676
|
disabled?: boolean;
|
|
2671
2677
|
readOnly?: boolean;
|
|
@@ -3918,6 +3924,9 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
3918
3924
|
value,
|
|
3919
3925
|
defaultValue,
|
|
3920
3926
|
onValueChange,
|
|
3927
|
+
label,
|
|
3928
|
+
required,
|
|
3929
|
+
labelClassName,
|
|
3921
3930
|
placeholder: placeholderProp,
|
|
3922
3931
|
disabled = false,
|
|
3923
3932
|
readOnly = false,
|
|
@@ -4675,6 +4684,20 @@ const DateTimePicker = React.forwardRef<HTMLDivElement, DateTimePickerProps>(
|
|
|
4675
4684
|
)}
|
|
4676
4685
|
/>
|
|
4677
4686
|
)}
|
|
4687
|
+
{label && (
|
|
4688
|
+
<label
|
|
4689
|
+
htmlFor={triggerId}
|
|
4690
|
+
className={cn(
|
|
4691
|
+
"mb-1.5 block text-sm font-semibold text-semantic-text-secondary",
|
|
4692
|
+
labelClassName
|
|
4693
|
+
)}
|
|
4694
|
+
>
|
|
4695
|
+
{label}
|
|
4696
|
+
{required && (
|
|
4697
|
+
<span className="text-semantic-error-primary ml-0.5">*</span>
|
|
4698
|
+
)}
|
|
4699
|
+
</label>
|
|
4700
|
+
)}
|
|
4678
4701
|
<div
|
|
4679
4702
|
ref={setTriggerRef}
|
|
4680
4703
|
className={cn(
|
|
@@ -6371,7 +6394,7 @@ const MultiSelect = React.forwardRef(
|
|
|
6371
6394
|
selectedLabels.map((label, index) => (
|
|
6372
6395
|
<span
|
|
6373
6396
|
key={selectedValues[index]}
|
|
6374
|
-
className="inline-flex items-center gap-1 bg-semantic-bg-ui text-semantic-text-primary text-
|
|
6397
|
+
className="inline-flex items-center gap-1 bg-semantic-bg-ui text-semantic-text-primary text-sm px-2 py-0.5 rounded"
|
|
6375
6398
|
>
|
|
6376
6399
|
{label}
|
|
6377
6400
|
<span
|
|
@@ -6446,14 +6469,14 @@ const MultiSelect = React.forwardRef(
|
|
|
6446
6469
|
className="size-3.5 shrink-0 text-semantic-error-primary"
|
|
6447
6470
|
aria-hidden
|
|
6448
6471
|
/>
|
|
6449
|
-
<span className="text-
|
|
6472
|
+
<span className="text-sm text-semantic-error-primary">
|
|
6450
6473
|
{error}
|
|
6451
6474
|
</span>
|
|
6452
6475
|
</div>
|
|
6453
6476
|
) : helperText ? (
|
|
6454
6477
|
<span
|
|
6455
6478
|
id={helperId}
|
|
6456
|
-
className="text-
|
|
6479
|
+
className="text-sm text-semantic-text-muted"
|
|
6457
6480
|
>
|
|
6458
6481
|
{helperText}
|
|
6459
6482
|
</span>
|
|
@@ -6513,7 +6536,7 @@ const MultiSelect = React.forwardRef(
|
|
|
6513
6536
|
return (
|
|
6514
6537
|
<div
|
|
6515
6538
|
key={\`header-\${item.label}-\${itemIndex}\`}
|
|
6516
|
-
className="px-3 pt-2 pb-1 text-
|
|
6539
|
+
className="px-3 pt-2 pb-1 text-sm font-semibold uppercase tracking-wide text-semantic-text-muted"
|
|
6517
6540
|
>
|
|
6518
6541
|
{item.label}
|
|
6519
6542
|
</div>
|
|
@@ -6594,7 +6617,7 @@ const MultiSelect = React.forwardRef(
|
|
|
6594
6617
|
{option.label}
|
|
6595
6618
|
</span>
|
|
6596
6619
|
{secondaryLine ? (
|
|
6597
|
-
<span className="shrink-0 max-w-[55%] truncate text-right text-
|
|
6620
|
+
<span className="shrink-0 max-w-[55%] truncate text-right text-sm text-semantic-text-muted">
|
|
6598
6621
|
{secondaryLine}
|
|
6599
6622
|
</span>
|
|
6600
6623
|
) : null}
|
|
@@ -6614,7 +6637,7 @@ const MultiSelect = React.forwardRef(
|
|
|
6614
6637
|
</TooltipTrigger>
|
|
6615
6638
|
<TooltipContent
|
|
6616
6639
|
side="top"
|
|
6617
|
-
className="max-w-
|
|
6640
|
+
className="max-w-sm bg-semantic-primary text-semantic-text-inverted border-semantic-primary border-solid"
|
|
6618
6641
|
>
|
|
6619
6642
|
{overlayCopy}
|
|
6620
6643
|
</TooltipContent>
|
|
@@ -6636,7 +6659,7 @@ const MultiSelect = React.forwardRef(
|
|
|
6636
6659
|
|
|
6637
6660
|
{/* Footer with count */}
|
|
6638
6661
|
{maxSelections && showSelectionFooter ? (
|
|
6639
|
-
<div className="p-2 border-t border-solid border-semantic-border-layout text-
|
|
6662
|
+
<div className="p-2 border-t border-solid border-semantic-border-layout text-sm text-semantic-text-muted">
|
|
6640
6663
|
{selectedValues.length} / {maxSelections} selected
|
|
6641
6664
|
</div>
|
|
6642
6665
|
) : null}
|
|
@@ -7895,7 +7918,7 @@ export const ReadableField = React.forwardRef(
|
|
|
7895
7918
|
>
|
|
7896
7919
|
{/* Header Row: Label + Optional Action */}
|
|
7897
7920
|
<div className="flex items-start justify-between">
|
|
7898
|
-
<span className="text-sm font-semibold text-semantic-text-secondary
|
|
7921
|
+
<span className="text-sm font-semibold text-semantic-text-secondary">
|
|
7899
7922
|
{label}
|
|
7900
7923
|
</span>
|
|
7901
7924
|
{headerAction && (
|
|
@@ -7980,7 +8003,7 @@ export const ReadableField = React.forwardRef(
|
|
|
7980
8003
|
|
|
7981
8004
|
{/* Helper Text */}
|
|
7982
8005
|
{helperText && (
|
|
7983
|
-
<p className="m-0 text-sm text-semantic-text-muted
|
|
8006
|
+
<p className="m-0 text-sm text-semantic-text-muted">
|
|
7984
8007
|
{helperText}
|
|
7985
8008
|
</p>
|
|
7986
8009
|
)}
|
|
@@ -9075,7 +9098,7 @@ const SelectField = React.forwardRef(
|
|
|
9075
9098
|
{showEndOfList && (
|
|
9076
9099
|
<div
|
|
9077
9100
|
role="status"
|
|
9078
|
-
className="py-2 text-center text-
|
|
9101
|
+
className="py-2 text-center text-sm text-semantic-text-muted"
|
|
9079
9102
|
>
|
|
9080
9103
|
End of list
|
|
9081
9104
|
</div>
|
|
@@ -9089,12 +9112,12 @@ const SelectField = React.forwardRef(
|
|
|
9089
9112
|
{error ? (
|
|
9090
9113
|
<span
|
|
9091
9114
|
id={errorId}
|
|
9092
|
-
className="text-
|
|
9115
|
+
className="text-sm text-semantic-error-primary"
|
|
9093
9116
|
>
|
|
9094
9117
|
{error}
|
|
9095
9118
|
</span>
|
|
9096
9119
|
) : helperText ? (
|
|
9097
|
-
<span id={helperId} className="text-
|
|
9120
|
+
<span id={helperId} className="text-sm text-semantic-text-muted">
|
|
9098
9121
|
{helperText}
|
|
9099
9122
|
</span>
|
|
9100
9123
|
) : null}
|
|
@@ -9734,7 +9757,7 @@ const Switch = React.forwardRef(
|
|
|
9734
9757
|
<span
|
|
9735
9758
|
className={cn(
|
|
9736
9759
|
labelSizeVariants({ size }),
|
|
9737
|
-
"text-semantic-text-
|
|
9760
|
+
"font-semibold text-semantic-text-secondary",
|
|
9738
9761
|
disabled && "opacity-50"
|
|
9739
9762
|
)}
|
|
9740
9763
|
>
|
|
@@ -9746,7 +9769,7 @@ const Switch = React.forwardRef(
|
|
|
9746
9769
|
<span
|
|
9747
9770
|
className={cn(
|
|
9748
9771
|
labelSizeVariants({ size }),
|
|
9749
|
-
"text-semantic-text-
|
|
9772
|
+
"font-semibold text-semantic-text-secondary",
|
|
9750
9773
|
disabled && "opacity-50"
|
|
9751
9774
|
)}
|
|
9752
9775
|
>
|
package/package.json
CHANGED