myoperator-mcp 0.2.190 → 0.2.192
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 +15 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -817,7 +817,7 @@ import { Loader2 } from "lucide-react";
|
|
|
817
817
|
import { cn } from "@/lib/utils";
|
|
818
818
|
|
|
819
819
|
const buttonVariants = cva(
|
|
820
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded text-sm font-
|
|
820
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded text-sm font-semibold leading-none transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-semantic-primary focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
821
821
|
{
|
|
822
822
|
variants: {
|
|
823
823
|
variant: {
|
|
@@ -830,7 +830,7 @@ const buttonVariants = cva(
|
|
|
830
830
|
success:
|
|
831
831
|
"bg-semantic-success-primary text-semantic-text-inverted hover:bg-semantic-success-hover",
|
|
832
832
|
outline:
|
|
833
|
-
"border border-solid border-
|
|
833
|
+
"border border-solid border-semantic-border-layout bg-semantic-bg-primary text-semantic-text-secondary hover:bg-semantic-primary-surface",
|
|
834
834
|
secondary:
|
|
835
835
|
"bg-semantic-primary-surface text-semantic-text-secondary hover:bg-semantic-bg-hover",
|
|
836
836
|
ghost:
|
|
@@ -841,7 +841,7 @@ const buttonVariants = cva(
|
|
|
841
841
|
},
|
|
842
842
|
size: {
|
|
843
843
|
default: "min-w-20 py-2.5 px-4 [&_svg]:size-4",
|
|
844
|
-
sm: "min-w-16 py-2 px-
|
|
844
|
+
sm: "min-w-16 py-2.5 px-4 text-xs [&_svg]:size-[18px]",
|
|
845
845
|
lg: "min-w-24 py-3 px-6 [&_svg]:size-5",
|
|
846
846
|
icon: "h-8 w-8 rounded-md",
|
|
847
847
|
"icon-sm": "h-7 w-7 rounded-md",
|
|
@@ -7718,18 +7718,6 @@ function useTooltipFieldContext() {
|
|
|
7718
7718
|
return ctx;
|
|
7719
7719
|
}
|
|
7720
7720
|
|
|
7721
|
-
function composeEventHandlers<E extends React.SyntheticEvent>(
|
|
7722
|
-
original: React.EventHandler<E> | undefined,
|
|
7723
|
-
next: React.EventHandler<E> | undefined,
|
|
7724
|
-
) {
|
|
7725
|
-
return (event: E) => {
|
|
7726
|
-
original?.(event);
|
|
7727
|
-
if (!event.defaultPrevented) {
|
|
7728
|
-
next?.(event);
|
|
7729
|
-
}
|
|
7730
|
-
};
|
|
7731
|
-
}
|
|
7732
|
-
|
|
7733
7721
|
const Tooltip = (props: React.ComponentProps<typeof TooltipPrimitive.Root>) => {
|
|
7734
7722
|
const { open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, delayDuration: delayDurationProp } = props;
|
|
7735
7723
|
const tapMode = usePrefersTapTooltipInteraction();
|
|
@@ -7834,17 +7822,24 @@ const TooltipTrigger = React.forwardRef<
|
|
|
7834
7822
|
[tapMode, isControlled, open, setOpen, suppressFocusOpenRef],
|
|
7835
7823
|
);
|
|
7836
7824
|
|
|
7837
|
-
/* Event-handler-only ref writes; rule misfires on composeEventHandlers + useCallback. */
|
|
7838
|
-
/* eslint-disable react-hooks/refs -- suppressFocusOpenRef */
|
|
7839
7825
|
return (
|
|
7840
7826
|
<TooltipPrimitive.Trigger
|
|
7841
7827
|
ref={ref}
|
|
7842
7828
|
{...props}
|
|
7843
|
-
onPointerDown={
|
|
7844
|
-
|
|
7829
|
+
onPointerDown={(e) => {
|
|
7830
|
+
onPointerDown?.(e);
|
|
7831
|
+
if (!e.defaultPrevented) {
|
|
7832
|
+
onPointerDownForTap(e);
|
|
7833
|
+
}
|
|
7834
|
+
}}
|
|
7835
|
+
onClick={(e) => {
|
|
7836
|
+
onClick?.(e);
|
|
7837
|
+
if (!e.defaultPrevented) {
|
|
7838
|
+
onClickForTap(e);
|
|
7839
|
+
}
|
|
7840
|
+
}}
|
|
7845
7841
|
/>
|
|
7846
7842
|
);
|
|
7847
|
-
/* eslint-enable react-hooks/refs */
|
|
7848
7843
|
});
|
|
7849
7844
|
TooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;
|
|
7850
7845
|
|
package/package.json
CHANGED