myoperator-mcp 0.2.288 → 0.2.289
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 +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5343,13 +5343,14 @@ import { cn } from "@/lib/utils";
|
|
|
5343
5343
|
export interface ReplyQuoteProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5344
5344
|
/** Name of the person being quoted */
|
|
5345
5345
|
sender: string;
|
|
5346
|
-
/** The quoted message
|
|
5347
|
-
message:
|
|
5346
|
+
/** The quoted message content */
|
|
5347
|
+
message: React.ReactNode;
|
|
5348
5348
|
}
|
|
5349
5349
|
|
|
5350
5350
|
const ReplyQuote = React.forwardRef(
|
|
5351
5351
|
({ className, sender, message, onClick, onKeyDown, role, tabIndex, "aria-label": ariaLabel, ...props }: ReplyQuoteProps, ref: React.Ref<HTMLDivElement>) => {
|
|
5352
5352
|
const isInteractive = !!onClick;
|
|
5353
|
+
const messageLabel = typeof message === "string" ? \`: \${message}\` : "";
|
|
5353
5354
|
|
|
5354
5355
|
const handleKeyDown = React.useCallback(
|
|
5355
5356
|
(e: React.KeyboardEvent<HTMLDivElement>) => {
|
|
@@ -5368,21 +5369,21 @@ const ReplyQuote = React.forwardRef(
|
|
|
5368
5369
|
<div
|
|
5369
5370
|
ref={ref}
|
|
5370
5371
|
className={cn(
|
|
5371
|
-
"w-full bg-semantic-bg-ui border-l-[3px] border-solid border-semantic-border-accent rounded-sm px-4 py-1.5 mb-2 h-[56px] flex flex-col justify-center cursor-pointer hover:bg-semantic-bg-hover transition-colors",
|
|
5372
|
-
isInteractive && "focus-visible:ring-2 focus-visible:ring-semantic-border-focus focus-visible:ring-offset-1 focus-visible:outline-none",
|
|
5372
|
+
"tw-w-full tw-min-w-0 tw-bg-[var(--semantic-bg-ui,#F5F5F5)] tw-border-l-[3px] tw-border-solid tw-border-[var(--semantic-border-accent,#27ABB8)] tw-rounded-sm tw-px-4 tw-py-1.5 tw-mb-2 tw-h-[56px] tw-flex tw-flex-col tw-justify-center tw-gap-0 tw-overflow-hidden tw-cursor-pointer hover:tw-bg-[var(--semantic-bg-hover,#D5D7DA)] tw-transition-colors",
|
|
5373
|
+
isInteractive && "focus-visible:tw-ring-2 focus-visible:tw-ring-[var(--semantic-border-focus,#2BBCCA)] focus-visible:tw-ring-offset-1 focus-visible:tw-outline-none",
|
|
5373
5374
|
className
|
|
5374
5375
|
)}
|
|
5375
5376
|
role={role ?? (isInteractive ? "button" : undefined)}
|
|
5376
5377
|
tabIndex={tabIndex ?? (isInteractive ? 0 : undefined)}
|
|
5377
5378
|
onClick={onClick}
|
|
5378
5379
|
onKeyDown={isInteractive ? handleKeyDown : onKeyDown}
|
|
5379
|
-
aria-label={ariaLabel ?? \`Quoted reply from \${sender}
|
|
5380
|
+
aria-label={ariaLabel ?? \`Quoted reply from \${sender}\${messageLabel}\`}
|
|
5380
5381
|
{...props}
|
|
5381
5382
|
>
|
|
5382
|
-
<p className="text-[14px] font-semibold
|
|
5383
|
+
<p className="tw-m-0 tw-min-w-0 tw-shrink-0 tw-truncate tw-text-[14px] tw-font-semibold tw-leading-5 tw-tracking-[0.014px] tw-text-[var(--semantic-text-primary,#181D27)]">
|
|
5383
5384
|
{sender}
|
|
5384
5385
|
</p>
|
|
5385
|
-
<p className="text-[14px] text-semantic-text-muted
|
|
5386
|
+
<p className="tw-m-0 tw-min-h-0 tw-min-w-0 tw-flex-1 tw-truncate tw-text-[14px] tw-leading-5 tw-text-[var(--semantic-text-muted,#717680)]">
|
|
5386
5387
|
{message}
|
|
5387
5388
|
</p>
|
|
5388
5389
|
</div>
|
|
@@ -5391,8 +5392,7 @@ const ReplyQuote = React.forwardRef(
|
|
|
5391
5392
|
);
|
|
5392
5393
|
ReplyQuote.displayName = "ReplyQuote";
|
|
5393
5394
|
|
|
5394
|
-
export { ReplyQuote }
|
|
5395
|
-
`,
|
|
5395
|
+
export { ReplyQuote };`,
|
|
5396
5396
|
"select-field": `import * as React from "react";
|
|
5397
5397
|
import { Loader2, Search } from "lucide-react";
|
|
5398
5398
|
|
package/package.json
CHANGED