refactor(web): one wrap width for tooltips, plus a code variant (#13031)

Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Fable 5 authored and GitHub committed 2026-09-22 12:22:15 -07:00
1 parent 7d658c24db
commit aa2b25d29b
38 files changed
+60 -153

No files matched your search

@@ -918,7 +918,7 @@ export function BranchToolbarBranchSelector({
</label>
}
/>
<TooltipPopup side="top" className="max-w-72 whitespace-normal leading-tight">
<TooltipPopup side="top">
Creates the worktree from the latest matching branch on origin instead of your local
branch.
</TooltipPopup>
+2 -10
View File
@@ -2209,10 +2209,7 @@ const MarkdownFileLink = memo(function MarkdownFileLink({
)
}
/>
<TooltipPopup
side="top"
className="max-w-[min(40rem,calc(100vw-2rem))] font-mono text-[11px] leading-tight"
>
<TooltipPopup side="top" variant="code">
{/* The full path: the chip already shows the shortened form, and a link
to the workspace root collapses to a bare label that repeats it. */}
<div className="overflow-x-auto whitespace-nowrap [scrollbar-color:color-mix(in_srgb,var(--contrast-border)_78%,transparent)_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-[color-mix(in_srgb,var(--contrast-border)_78%,transparent)] [&::-webkit-scrollbar-track]:bg-transparent">
@@ -3062,12 +3059,7 @@ const CHAT_MARKDOWN_COMPONENTS = {
return (
<Tooltip>
<TooltipTrigger render={link} />
<TooltipPopup
side="top"
className="max-w-[min(36rem,calc(100vw-2rem))] whitespace-normal leading-tight wrap-anywhere"
>
{href}
</TooltipPopup>
<TooltipPopup side="top">{href}</TooltipPopup>
</Tooltip>
);
}
+1 -1
View File
@@ -6533,7 +6533,7 @@ export default function ChatView(props: ChatViewProps) {
</code>
}
/>
<TooltipPopup side="top" className="max-w-80">
<TooltipPopup side="top">
This thread last ran on {localCheckoutBranchMismatch.threadBranch}. Sending will
continue on {localCheckoutBranchMismatch.currentBranch}.
</TooltipPopup>
@@ -237,12 +237,7 @@ function ComposerMentionNodeView({ node }: NodeViewProps) {
<NodeViewWrapper as="span" className={COMPOSER_INLINE_CHIP_DECORATOR_CLASS_NAME}>
<Tooltip>
<TooltipTrigger render={chip} />
<TooltipPopup
side="top"
className="max-w-120 whitespace-normal leading-tight wrap-anywhere"
>
{path}
</TooltipPopup>
<TooltipPopup side="top">{path}</TooltipPopup>
</Tooltip>
</NodeViewWrapper>
);
@@ -77,7 +77,7 @@ export function ConfirmDialogHost() {
>
<AlertDialogPopup>
<AlertDialogHeader>
<AlertDialogTitle className="wrap-anywhere">{copy.title}</AlertDialogTitle>
<AlertDialogTitle>{copy.title}</AlertDialogTitle>
{copy.description ? (
<AlertDialogDescription className="whitespace-pre-line">
{copy.description}
@@ -69,7 +69,7 @@ export function ConnectionStatusDot({
return (
<Tooltip>
<TooltipTrigger render={dot} />
<TooltipPopup side="top" className="max-w-80 whitespace-pre-wrap leading-tight">
<TooltipPopup side="top" className="whitespace-pre-wrap">
{tooltipText}
</TooltipPopup>
</Tooltip>
@@ -659,7 +659,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) {
</Button>
}
/>
<TooltipPopup side="top" align="end" className="max-w-72">
<TooltipPopup side="top" align="end">
{readiness.hint ??
"Open Settings -> Source Control to configure this provider."}
</TooltipPopup>
+1 -3
View File
@@ -785,9 +785,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
</span>
}
/>
<TooltipPopup side="top" className="max-w-80 whitespace-normal leading-tight">
{thread.title}
</TooltipPopup>
<TooltipPopup side="top">{thread.title}</TooltipPopup>
</Tooltip>
)}
</div>
@@ -163,9 +163,7 @@ export function ServerUpdateProgress({
<span className="size-1.5 shrink-0 rounded-full bg-destructive" aria-hidden="true" />
<Tooltip>
<TooltipTrigger render={<span className="min-w-0 truncate">{state.message}</span>} />
<TooltipPopup side="top" className="max-w-80">
{state.message}
</TooltipPopup>
<TooltipPopup side="top">{state.message}</TooltipPopup>
</Tooltip>
</div>
);
+1 -1
View File
@@ -350,7 +350,7 @@ function SidebarThreadTooltip({
align="start"
sideOffset={4}
variant="glass"
className="max-w-80 text-left whitespace-normal [&_[data-slot=tooltip-viewport]]:p-0"
className="[&_[data-slot=tooltip-viewport]]:p-0"
>
<div className="flex min-w-0 max-w-80 flex-col gap-2 p-[var(--floating-content-inset)]">
<div className="min-w-0 truncate text-xs leading-tight font-medium text-foreground">
@@ -17,7 +17,7 @@ export function StartTruncatedPath({ path, className }: { path: string; classNam
>
<bdi>{path}</bdi>
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-sm break-all font-mono">
<TooltipPopup side="top" variant="code">
{path}
</TooltipPopup>
</Tooltip>
+4 -22
View File
@@ -6569,10 +6569,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
</span>
}
/>
<TooltipPopup
side="top"
className="max-w-64 whitespace-normal leading-tight"
>
<TooltipPopup side="top">
Draft attachment could not be saved locally and may be lost on
navigation.
</TooltipPopup>
@@ -6604,12 +6601,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
>
<RefreshIcon />
</TooltipTrigger>
<TooltipPopup
side="top"
className="max-w-64 whitespace-normal leading-tight"
>
{upload.reason}
</TooltipPopup>
<TooltipPopup side="top">{upload.reason}</TooltipPopup>
</Tooltip>
)}
<Button
@@ -6704,12 +6696,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
>
<RefreshIcon />
</TooltipTrigger>
<TooltipPopup
side="top"
className="max-w-64 whitespace-normal leading-tight"
>
{upload.reason}
</TooltipPopup>
<TooltipPopup side="top">{upload.reason}</TooltipPopup>
</Tooltip>
)}
<Button
@@ -6787,12 +6774,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
>
<RefreshIcon />
</TooltipTrigger>
<TooltipPopup
side="top"
className="max-w-64 whitespace-normal leading-tight"
>
{upload.reason}
</TooltipPopup>
<TooltipPopup side="top">{upload.reason}</TooltipPopup>
</Tooltip>
) : null}
<Button
@@ -59,9 +59,7 @@ export const ComposerPendingApprovalActions = memo(function ComposerPendingAppro
return option.warning ? (
<Tooltip key={option.decision}>
<TooltipTrigger render={button} />
<TooltipPopup side="top" className="max-w-72 text-xs leading-snug">
{option.warning}
</TooltipPopup>
<TooltipPopup side="top">{option.warning}</TooltipPopup>
</Tooltip>
) : (
button
@@ -98,9 +96,7 @@ export const ComposerPendingApprovalActions = memo(function ComposerPendingAppro
return option.warning ? (
<Tooltip key={option.decision}>
<TooltipTrigger render={item} />
<TooltipPopup side="top" className="max-w-64 text-xs leading-snug">
{option.warning}
</TooltipPopup>
<TooltipPopup side="top">{option.warning}</TooltipPopup>
</Tooltip>
) : (
item
@@ -56,7 +56,7 @@ export function ComposerServerUpdateStatus({
</button>
}
/>
<TooltipPopup side="top" className="max-w-80">
<TooltipPopup side="top">
{title}: {detail}
</TooltipPopup>
</Tooltip>
@@ -146,9 +146,7 @@ export function DraftHeroHeadline({
{activeProjectDisplayName ?? "Choose a project"}
</TooltipTrigger>
{activeProjectDisplayName ? (
<TooltipPopup side="top" className="max-w-80">
{activeProjectDisplayName}
</TooltipPopup>
<TooltipPopup side="top">{activeProjectDisplayName}</TooltipPopup>
) : null}
</Tooltip>
<MenuPopup align="center" className="max-h-80 min-w-40! w-max max-w-64 overflow-y-auto">
@@ -202,9 +200,7 @@ export function DraftHeroHeadline({
<TooltipTrigger render={<span className="block min-w-0 truncate" />}>
{group.displayName}
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-80">
{group.displayName}
</TooltipPopup>
<TooltipPopup side="top">{group.displayName}</TooltipPopup>
</Tooltip>
{showProjectEnvironments ? (
<ProjectEnvironmentBadge
@@ -145,7 +145,7 @@ export const ModelListRow = memo(function ModelListRow(props: {
return (
<Tooltip>
<TooltipTrigger render={row} />
<TooltipPopup side="left" align="center" className="max-w-64 text-balance leading-snug">
<TooltipPopup side="left" align="center">
{props.disabledReason}
</TooltipPopup>
</Tooltip>
@@ -39,7 +39,6 @@ const NEW_BADGE_CLASS = `${BADGE_BASE_CLASS} text-update-foreground `;
/** Opens toward the rail so the list stays readable (not over the model names). */
const PICKER_TOOLTIP_SIDE = "left" as const;
const PICKER_TOOLTIP_SIDE_OFFSET = 8;
const PICKER_TOOLTIP_CLASS = "max-w-64 text-balance font-normal leading-snug";
export const ModelPickerSidebar = memo(function ModelPickerSidebar(props: {
selectedInstanceId: ProviderInstanceId | "favorites";
@@ -139,7 +138,6 @@ export const ModelPickerSidebar = memo(function ModelPickerSidebar(props: {
side={PICKER_TOOLTIP_SIDE}
sideOffset={PICKER_TOOLTIP_SIDE_OFFSET}
align="center"
className={PICKER_TOOLTIP_CLASS}
>
Favorites
</TooltipPopup>
@@ -242,7 +240,6 @@ export const ModelPickerSidebar = memo(function ModelPickerSidebar(props: {
side={PICKER_TOOLTIP_SIDE}
sideOffset={PICKER_TOOLTIP_SIDE_OFFSET}
align="center"
className={PICKER_TOOLTIP_CLASS}
>
{tooltip}
</TooltipPopup>
@@ -100,7 +100,7 @@ export const ProviderStatusBanner = memo(function ProviderStatusBanner({
<TooltipTrigger
render={<div className="line-clamp-3 text-muted-foreground">{message}</div>}
/>
<TooltipPopup side="top" className="max-w-96 whitespace-pre-wrap">
<TooltipPopup side="top" className="whitespace-pre-wrap">
{message}
</TooltipPopup>
</Tooltip>
@@ -53,7 +53,7 @@ export const ThreadErrorBanner = memo(function ThreadErrorBanner({
<AlertDescription>
<Tooltip>
<TooltipTrigger render={<div className="line-clamp-3" />}>{error}</TooltipTrigger>
<TooltipPopup side="top" className="max-w-96 whitespace-pre-wrap">
<TooltipPopup side="top" className="whitespace-pre-wrap">
{error}
</TooltipPopup>
</Tooltip>
@@ -393,9 +393,7 @@ export function CloudEnvironmentConnectRows({
? "Unavailable"
: "Checking…"))}
</TooltipTrigger>
<TooltipPopup className="max-w-80 break-words">
{unsupportedDetail ?? statusText}
</TooltipPopup>
<TooltipPopup>{unsupportedDetail ?? statusText}</TooltipPopup>
</Tooltip>
</label>
);
@@ -454,9 +452,7 @@ export function CloudEnvironmentConnectRows({
Add
</Button>
</TooltipTrigger>
<TooltipPopup className="max-w-80 break-words">
{unsupportedDetail ?? "Client not supported"}
</TooltipPopup>
<TooltipPopup>{unsupportedDetail ?? "Client not supported"}</TooltipPopup>
</Tooltip>
) : savedConnection ? (
<Button size="sm" variant="outline" disabled>
@@ -199,7 +199,7 @@ function ImageContextChip(props: {
/>
}
/>
<TooltipPopup side="top" className="max-w-80 whitespace-pre-wrap leading-tight">
<TooltipPopup side="top" className="whitespace-pre-wrap">
{attachmentTooltip(props.record, props.upload)}
</TooltipPopup>
</Tooltip>
+1 -1
View File
@@ -301,7 +301,7 @@ export function FileChip(props: {
)
}
/>
<TooltipPopup side="top" className="max-w-80 whitespace-pre-wrap leading-tight">
<TooltipPopup side="top" className="whitespace-pre-wrap">
{props.tooltip}
</TooltipPopup>
</Tooltip>
@@ -61,9 +61,7 @@ function BreadcrumbLabel(props: {
>
{props.label}
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-80">
{props.pathLabel}
</TooltipPopup>
<TooltipPopup side="top">{props.pathLabel}</TooltipPopup>
</Tooltip>
);
}
@@ -241,9 +239,7 @@ function DirectoryBreadcrumb(props: FileBreadcrumbsProps & { readonly crumb: Fil
>
<span className="block truncate">{props.crumb.label}</span>
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-80">
{props.crumb.path || props.projectName}
</TooltipPopup>
<TooltipPopup side="top">{props.crumb.path || props.projectName}</TooltipPopup>
</Tooltip>
{open ? (
<BreadcrumbMenuContent
@@ -186,9 +186,7 @@ export function MediaActions({
void showMenu({ x: bounds.left, y: bounds.bottom });
}}
/>
<TooltipPopup className="max-w-[min(40rem,calc(100vw-2rem))] break-all font-mono text-[11px] leading-tight">
{tooltip}
</TooltipPopup>
<TooltipPopup variant="code">{tooltip}</TooltipPopup>
</Tooltip>
);
}
@@ -1453,7 +1453,7 @@ function ImportCandidateRow({
</span>
) : null}
</TooltipTrigger>
<TooltipPopup className="max-w-96 break-all font-mono">{candidate.path}</TooltipPopup>
<TooltipPopup variant="code">{candidate.path}</TooltipPopup>
</Tooltip>
<ImportRowMeta
sources={nested ? null : candidate.sources}
@@ -58,7 +58,7 @@ export function PullRequestCopyableCode({
Copied
</span>
</TooltipTrigger>
<TooltipPopup className="max-w-96 wrap-anywhere font-mono" side={tooltipSide}>
<TooltipPopup variant="code" side={tooltipSide}>
{`${isCopied ? "Copied" : copyLabel}: ${value}`}
</TooltipPopup>
</Tooltip>
@@ -202,9 +202,7 @@ function PullRequestFilterRadioGroup<Value extends string>({
return (
<Tooltip key={option.value}>
<TooltipTrigger render={item} />
<TooltipPopup side="top" className="max-w-80">
{option.unavailable}
</TooltipPopup>
<TooltipPopup side="top">{option.unavailable}</TooltipPopup>
</Tooltip>
);
})}
@@ -925,9 +925,7 @@ const PairingLinkListRow = memo(function PairingLinkListRow({
</code>
}
/>
<TooltipPopup side="top" className="max-w-80 break-all">
{qrPairingUrl}
</TooltipPopup>
<TooltipPopup side="top">{qrPairingUrl}</TooltipPopup>
</Tooltip>
<Button
size="xs"
@@ -1334,9 +1332,7 @@ const AdvertisedEndpointListRow = memo(function AdvertisedEndpointListRow({
</p>
}
/>
<TooltipPopup side="top" className="max-w-80">
{endpoint.httpBaseUrl}
</TooltipPopup>
<TooltipPopup side="top">{endpoint.httpBaseUrl}</TooltipPopup>
</Tooltip>
) : null}
{!isAvailable ? (
@@ -1573,7 +1569,7 @@ function SavedBackendListRow({
>
{subtitleText}
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-80 whitespace-pre-wrap leading-tight">
<TooltipPopup side="top" className="whitespace-pre-wrap">
{unsupported
? (environment.connection.error ?? connectionStatusText(environment.connection))
: enabled
@@ -3635,9 +3631,7 @@ export function ConnectionsSettings() {
}
/>
{pendingTailscaleServeBaseUrl ? (
<TooltipPopup side="top" className="max-w-80">
{pendingTailscaleServeBaseUrl}
</TooltipPopup>
<TooltipPopup side="top">{pendingTailscaleServeBaseUrl}</TooltipPopup>
) : null}
</Tooltip>
</div>
@@ -109,12 +109,7 @@ function StatBlock({
</button>
}
/>
<TooltipPopup
side="top"
className="max-w-[min(300px,calc(100vw-2rem))] whitespace-normal text-left text-[11px] leading-relaxed text-wrap"
>
{tooltip}
</TooltipPopup>
<TooltipPopup side="top">{tooltip}</TooltipPopup>
</Tooltip>
) : null}
</div>
@@ -225,10 +220,7 @@ function TraceIdCell({ traceId }: { traceId: string }) {
</span>
}
/>
<TooltipPopup
side="top"
className="max-w-[min(520px,calc(100vw-2rem))] break-all font-mono text-[11px]"
>
<TooltipPopup side="top" variant="code">
{traceId}
</TooltipPopup>
</Tooltip>
@@ -300,10 +292,7 @@ function ProcessNameCell({
<TooltipTrigger
render={<span className="min-w-0 truncate font-medium text-foreground">{name}</span>}
/>
<TooltipPopup
side="top"
className="max-w-[min(440px,calc(100vw-2rem))] whitespace-normal break-words text-left font-mono text-[11px] leading-relaxed text-wrap"
>
<TooltipPopup side="top" variant="code">
{process.command}
</TooltipPopup>
</Tooltip>
@@ -411,10 +400,7 @@ function ProcessDiagnosticsTable({
<TooltipTrigger
render={<span className="block truncate">{process.command}</span>}
/>
<TooltipPopup
side="top"
className="max-w-[min(440px,calc(100vw-2rem))] whitespace-normal break-words text-left font-mono text-[11px] leading-relaxed text-wrap"
>
<TooltipPopup side="top" variant="code">
{process.command}
</TooltipPopup>
</Tooltip>
@@ -484,10 +470,7 @@ function ResourceHistoryProcessNameCell({
<TooltipTrigger
render={<span className="min-w-0 truncate font-medium text-foreground">{name}</span>}
/>
<TooltipPopup
side="top"
className="max-w-[min(440px,calc(100vw-2rem))] whitespace-normal break-words text-left font-mono text-[11px] leading-relaxed text-wrap"
>
<TooltipPopup side="top" variant="code">
{process.command}
</TooltipPopup>
</Tooltip>
@@ -654,10 +637,7 @@ function ProcessResourceHistoryTable({
<TooltipTrigger
render={<span className="block truncate">{process.command}</span>}
/>
<TooltipPopup
side="top"
className="max-w-[min(440px,calc(100vw-2rem))] whitespace-normal break-words text-left font-mono text-[11px] leading-relaxed text-wrap"
>
<TooltipPopup side="top" variant="code">
{process.command}
</TooltipPopup>
</Tooltip>
@@ -261,9 +261,7 @@ function WarningTooltipIcon({
>
<TriangleAlertIcon className="size-3.5" />
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-72 whitespace-normal leading-relaxed">
{children}
</TooltipPopup>
<TooltipPopup side="top">{children}</TooltipPopup>
</Tooltip>
);
}
@@ -503,10 +503,7 @@ function ProcessTreeName({
<TooltipTrigger
render={<span className="min-w-0 truncate font-medium text-foreground">{name}</span>}
/>
<TooltipPopup
side="top"
className="max-w-[min(520px,calc(100vw-2rem))] whitespace-normal break-words text-left font-mono text-[11px]"
>
<TooltipPopup side="top" variant="code">
{process.command || process.name}
</TooltipPopup>
</Tooltip>
@@ -721,10 +718,7 @@ function HistoryProcessTable({
</span>
}
/>
<TooltipPopup
side="top"
className="max-w-[min(520px,calc(100vw-2rem))] whitespace-normal break-words text-left font-mono text-[11px]"
>
<TooltipPopup side="top" variant="code">
{process.command || process.name}
</TooltipPopup>
</Tooltip>
@@ -156,9 +156,7 @@ export function PolicyTooltip({ children }: { readonly children: string }) {
</Button>
}
/>
<TooltipPopup side="top" className="max-w-72">
{children}
</TooltipPopup>
<TooltipPopup side="top">{children}</TooltipPopup>
</Tooltip>
);
}
@@ -372,9 +370,7 @@ export function SettingsRow({
{control}
</div>
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-72">
{message}
</TooltipPopup>
<TooltipPopup side="top">{message}</TooltipPopup>
</Tooltip>
);
// A mixed selection keeps the real control with "Mixed" as its placeholder
+1 -1
View File
@@ -101,7 +101,7 @@ function AlertDialogFooter({
function AlertDialogTitle({ className, ...props }: AlertDialogPrimitive.Title.Props) {
return (
<AlertDialogPrimitive.Title
className={cn("font-heading font-semibold text-xl leading-none", className)}
className={cn("wrap-anywhere font-heading font-semibold text-xl leading-none", className)}
data-slot="alert-dialog-title"
{...props}
/>
+1 -1
View File
@@ -145,7 +145,7 @@ function DialogFooter({
function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props) {
return (
<DialogPrimitive.Title
className={cn("font-heading font-semibold text-xl leading-none", className)}
className={cn("wrap-anywhere font-heading font-semibold text-xl leading-none", className)}
data-slot="dialog-title"
{...props}
/>
+6 -1
View File
@@ -23,7 +23,8 @@ function TooltipPopup({
align?: TooltipPrimitive.Positioner.Props["align"];
side?: TooltipPrimitive.Positioner.Props["side"];
sideOffset?: TooltipPrimitive.Positioner.Props["sideOffset"];
variant?: "default" | "glass";
/** `code` renders monospace content that breaks anywhere, for paths and commands. */
variant?: "default" | "glass" | "code";
anchor?: TooltipPrimitive.Positioner.Props["anchor"];
}) {
return (
@@ -42,6 +43,10 @@ function TooltipPopup({
variant === "glass"
? "dropdown-glass shadow-xl shadow-black/25 before:hidden"
: "border bg-popover not-dark:bg-clip-padding shadow-md/5",
// One wrap width for prose; code dumps get more room and break anywhere.
variant === "code"
? "max-w-120 wrap-anywhere text-left font-mono text-[11px] leading-relaxed"
: "max-w-80 wrap-anywhere whitespace-normal leading-snug",
className,
)}
data-slot="tooltip-popup"
@@ -127,7 +127,7 @@ function WindowBar({
/>
) : null}
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-72 text-xs">
<TooltipPopup side="top">
<div className="flex flex-col gap-0.5">
<span className="text-foreground">
{remaining}% left{timeLeft !== null ? ` · ${timeLeft}% of the window left` : ""}
+1 -3
View File
@@ -2280,9 +2280,7 @@ function CompactFilterMenu<Value extends string>({
) : (
<Tooltip key={option.value}>
<TooltipTrigger render={item} />
<TooltipPopup side="right" className="max-w-64 break-words">
{option.unavailable}
</TooltipPopup>
<TooltipPopup side="right">{option.unavailable}</TooltipPopup>
</Tooltip>
);
})}
+1 -1
View File
@@ -8,7 +8,7 @@ import * as NodeURL from "node:url";
// components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the
// count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you
// migrate a file, and delete this script when the rule becomes an error.
export const RESTYLE_CEILING = 981;
export const RESTYLE_CEILING = 921;
const RULE = "shadcn(no-restyle)";