Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

chore: upgrade to tailwind v4 (#2504)

Mike Fortman3a722c3ee9a3
diff --git a/frontend/app/chat/_components/assistant-message.tsx b/frontend/app/chat/_components/assistant-message.tsx
index b56c23df0..95fa1fb8d 100644
--- a/frontend/app/chat/_components/assistant-message.tsx
+++ b/frontend/app/chat/_components/assistant-message.tsx
@@ -205,7 +205,7 @@ export function AssistantMessage({
icon={
<div
className={cn(
- "w-8 h-8 flex items-center justify-center flex-shrink-0 select-none",
+ "w-8 h-8 flex items-center justify-center shrink-0 select-none",
isInitialGreeting && "mt-4",
)}
>
diff --git a/frontend/app/chat/_components/chat-input.tsx b/frontend/app/chat/_components/chat-input.tsx
index 9b43e15f3..64766090d 100644
--- a/frontend/app/chat/_components/chat-input.tsx
+++ b/frontend/app/chat/_components/chat-input.tsx
@@ -147,7 +147,6 @@ export function ChatInput({
}
} else {
setIsFilterDropdownOpen(false);
- setAnchorPosition(null);
}
};
@@ -345,14 +344,12 @@ export function ChatInput({
<div
className={cn(
"flex flex-col w-full p-2 rounded-xl border transition-all",
- isCloudBrand
- ? "border-[color:var(--chat-input-border)]"
- : "border-input",
- isCloudBrand ? "bg-[var(--chat-prompt-bg)]" : "bg-transparent",
+ isCloudBrand ? "border-(--chat-input-border)" : "border-input",
+ isCloudBrand ? "bg-(--chat-prompt-bg)" : "bg-transparent",
!isDragging &&
(isCloudBrand
- ? "hover:[&:not(:focus-within)]:border-muted-foreground focus-within:border-[color:var(--chat-input-border)]"
- : "hover:[&:not(:focus-within)]:border-muted-foreground focus-within:border-foreground"),
+ ? "hover:not-focus-within:border-muted-foreground focus-within:border-(--chat-input-border)"
+ : "hover:not-focus-within:border-muted-foreground focus-within:border-foreground"),
isDragging && "border-dashed",
)}
>
@@ -422,7 +419,7 @@ export function ChatInput({
className={cn(
"h-8 w-8 p-0 rounded-md",
isCloudBrand
- ? "hover:bg-[var(--layered-select-bg)]"
+ ? "hover:bg-(--layered-select-bg)"
: "hover:bg-muted/50",
)}
onMouseDown={(e) => {
@@ -447,7 +444,7 @@ export function ChatInput({
placeholder="Ask a question..."
data-testid="chat-input"
disabled={loading}
- className={`w-full text-sm bg-transparent focus-visible:outline-none resize-none`}
+ className={`w-full text-sm bg-transparent focus-visible:outline-hidden resize-none`}
rows={1}
/>
</div>
@@ -475,7 +472,7 @@ export function ChatInput({
className={cn(
"h-8 w-8 p-0 rounded-md",
isCloudBrand
- ? "hover:bg-[var(--layered-select-bg)]"
+ ? "hover:bg-(--layered-select-bg)"
: "hover:bg-muted/50",
)}
onMouseDown={(e) => {
@@ -496,9 +493,9 @@ export function ChatInput({
onClick={onFilePickerClick}
disabled={isUploading}
className={cn(
- "h-8 w-8 p-0 !rounded-md",
+ "h-8 w-8 p-0 rounded-md!",
isCloudBrand
- ? "hover:bg-[var(--layered-select-bg)]"
+ ? "hover:bg-(--layered-select-bg)"
: "hover:bg-muted/50",
)}
>
@@ -510,7 +507,7 @@ export function ChatInput({
type="submit"
size="iconSm"
disabled={(!input.trim() && !uploadedFile) || loading}
- className="chat-submit !rounded-md h-8 w-8 p-0"
+ className="chat-submit rounded-md! h-8 w-8 p-0"
data-testid="send-button"
>
{loading ? (
@@ -583,11 +580,11 @@ export function ChatInput({
className={cn(
"w-full text-left px-2 py-2 text-sm rounded flex items-center justify-between",
isCloudBrand
- ? "hover:bg-[var(--layered-select-bg)]"
+ ? "hover:bg-(--layered-select-bg)"
: "hover:bg-muted/50",
selectedFilterIndex === -1 &&
(isCloudBrand
- ? "bg-[var(--layered-select-bg)]"
+ ? "bg-(--layered-select-bg)"
: "bg-muted/50"),
)}
>
@@ -605,11 +602,11 @@ export function ChatInput({
className={cn(
"w-full overflow-hidden text-left px-2 py-2 gap-2 text-sm rounded flex items-center justify-between",
isCloudBrand
- ? "hover:bg-[var(--layered-select-bg)]"
+ ? "hover:bg-(--layered-select-bg)"
: "hover:bg-muted/50",
index === selectedFilterIndex &&
(isCloudBrand
- ? "bg-[var(--layered-select-bg)]"
+ ? "bg-(--layered-select-bg)"
: "bg-muted/50"),
)}
>
diff --git a/frontend/app/chat/_components/citation-cards.test.tsx b/frontend/app/chat/_components/citation-cards.test.tsx
new file mode 100644
index 000000000..2ab350211
--- /dev/null
+++ b/frontend/app/chat/_components/citation-cards.test.tsx
@@ -0,0 +1,62 @@
+import { render, screen } from "@testing-library/react";
+import userEvent from "@testing-library/user-event";
+import { describe, expect, it, vi } from "vitest";
+import type { CitedSource } from "@/components/markdown-citations";
+import { Popover } from "@/components/ui/popover";
+import { CitationCards } from "./citation-cards";
+
+const sources: CitedSource[] = [
+ {
+ index: 1,
+ item: {
+ chunk_id: "c1",
+ filename: "report.pdf",
+ score: 0.91,
+ page: 3,
+ source_url: "https://example.com/report",
+ },
+ },
+ { index: 2, item: { chunk_id: "c2", filename: "notes.md" } },
+];
+
+describe("CitationCards", () => {
+ it("renders nothing when there are no cited sources", () => {
+ const { container } = render(<CitationCards citedSources={[]} />);
+ expect(container).toBeEmptyDOMElement();
+ });
+
+ it("renders a clickable card per source with page and score", async () => {
+ const user = userEvent.setup();
+ const onCardClick = vi.fn();
+ render(
+ <Popover>
+ <CitationCards
+ citedSources={sources}
+ activeCardIndex={1}
+ onCardClick={onCardClick}
+ />
+ </Popover>,
+ );
+
+ const cards = screen.getAllByRole("button");
+ expect(cards).toHaveLength(2);
+ expect(cards[0]).toHaveClass("shadow-xs", "bg-muted", "cursor-pointer");
+ expect(cards[0]).toHaveTextContent("page 3 • score 0.91");
+ expect(cards[0]).toHaveAttribute(
+ "title",
+ "View source chunk details (has link: https://example.com/report)",
+ );
+ expect(cards[1]).toHaveClass("bg-muted/50");
+
+ await user.click(cards[1]);
+ expect(onCardClick).toHaveBeenCalledWith(2, cards[1]);
+ });
+
+ it("renders static cards when not interactive", () => {
+ render(<CitationCards citedSources={sources} interactive={false} />);
+ expect(screen.queryByRole("button")).not.toBeInTheDocument();
+ expect(screen.getByText("notes.md").closest(".shadow-xs")).toHaveClass(
+ "cursor-default",
+ );
+ });
+});
diff --git a/frontend/app/chat/_components/citation-cards.tsx b/frontend/app/chat/_components/citation-cards.tsx
index 55a2f1c3b..9bf8a800c 100644
--- a/frontend/app/chat/_components/citation-cards.tsx
+++ b/frontend/app/chat/_components/citation-cards.tsx
@@ -56,7 +56,7 @@ export function CitationCards({
const hasUrl = interactive && !!item.source_url;
const isActive = index === activeCardIndex;
- const className = `group relative flex items-center px-3 py-2 rounded-lg border transition-all duration-200 shadow-sm text-left ${
+ const className = `group relative flex items-center px-3 py-2 rounded-lg border transition-all duration-200 shadow-xs text-left ${
interactive ? "cursor-pointer" : "cursor-default"
} ${
isActive
diff --git a/frontend/app/chat/_components/error-message.tsx b/frontend/app/chat/_components/error-message.tsx
index 329f4e266..289f9a6fb 100644
--- a/frontend/app/chat/_components/error-message.tsx
+++ b/frontend/app/chat/_components/error-message.tsx
@@ -26,7 +26,7 @@ export function ErrorMessage({
>
<Message
icon={
- <div className="w-8 h-8 flex items-center justify-center flex-shrink-0 select-none">
+ <div className="w-8 h-8 flex items-center justify-center shrink-0 select-none">
<DogIcon
className="h-6 w-6 transition-colors duration-300"
disabled={false}
@@ -36,7 +36,7 @@ export function ErrorMessage({
>
<div className="rounded-lg border border-destructive/50 bg-destructive/5 p-4">
<div className="flex items-start gap-3">
- <AlertCircle className="h-5 w-5 text-destructive flex-shrink-0 mt-0.5" />
+ <AlertCircle className="h-5 w-5 text-destructive shrink-0 mt-0.5" />
<div className="flex-1">
<p className="text-sm text-destructive font-medium mb-1">Error</p>
<p className="text-sm text-muted-foreground">{content}</p>
diff --git a/frontend/app/chat/_components/file-preview.tsx b/frontend/app/chat/_components/file-preview.tsx
index b3a4fc35a..02e5cccb6 100644
--- a/frontend/app/chat/_components/file-preview.tsx
+++ b/frontend/app/chat/_components/file-preview.tsx
@@ -31,7 +31,7 @@ export const FilePreview = ({
return (
<div className="max-w-[250px] flex items-center gap-2 p-2 bg-muted rounded-lg">
{/* File Image Preview */}
- <div className="flex-shrink-0 w-8 h-8 bg-background rounded border border-input flex items-center justify-center overflow-hidden">
+ <div className="shrink-0 w-8 h-8 bg-background rounded border border-input flex items-center justify-center overflow-hidden">
{isUploading ? (
<Loader2 className="h-4 w-4 animate-spin text-muted-foreground" />
) : getFilePreviewUrl(uploadedFile) ? (
@@ -65,7 +65,7 @@ export const FilePreview = ({
variant="ghost"
size="iconSm"
onClick={onClear}
- className="flex-shrink-0 h-8 w-8 p-0 rounded-md hover:bg-background/50"
+ className="shrink-0 h-8 w-8 p-0 rounded-md hover:bg-background/50"
>
<X className="h-4 w-4" />
</Button>
diff --git a/frontend/app/chat/_components/message.tsx b/frontend/app/chat/_components/message.tsx
index 49ee390dc..d240e8b3c 100644
--- a/frontend/app/chat/_components/message.tsx
+++ b/frontend/app/chat/_components/message.tsx
@@ -26,7 +26,7 @@ export function Message({
}
>
<div className="flex-1 min-w-0">{children}</div>
- {actions && <div className="flex-shrink-0 ml-2">{actions}</div>}
+ {actions && <div className="shrink-0 ml-2">{actions}</div>}
</div>
</div>
);
diff --git a/frontend/app/chat/_components/nudges.tsx b/frontend/app/chat/_components/nudges.tsx
index 200eb319c..2fbf34bf4 100644
--- a/frontend/app/chat/_components/nudges.tsx
+++ b/frontend/app/chat/_components/nudges.tsx
@@ -16,7 +16,7 @@ export default function Nudges({
const isCloudBrand = useIsCloudBrand();
return (
- <div className="flex-shrink-0 w-full">
+ <div className="shrink-0 w-full">
<AnimatePresence>
{nudges.length > 0 && (
<motion.div
@@ -39,7 +39,7 @@ export default function Nudges({
onboarding || isCloudBrand
? "text-foreground"
: "text-placeholder-foreground hover:text-foreground",
- "ibm-chat-bubble bg-background border hover:bg-background/50 px-2 py-1.5 rounded-lg text-sm transition-colors max-w-full break-words text-left",
+ "ibm-chat-bubble bg-background border hover:bg-background/50 px-2 py-1.5 rounded-lg text-sm transition-colors max-w-full wrap-break-word text-left",
)}
>
{suggestion}
diff --git a/frontend/app/chat/_components/user-message.tsx b/frontend/app/chat/_components/user-message.tsx
index e795fcdd8..4a017e335 100644
--- a/frontend/app/chat/_components/user-message.tsx
+++ b/frontend/app/chat/_components/user-message.tsx
@@ -35,7 +35,7 @@ export function UserMessage({
>
<Message
icon={
- <Avatar className="w-8 h-8 rounded-lg flex-shrink-0 select-none">
+ <Avatar className="w-8 h-8 rounded-lg shrink-0 select-none">
<AvatarImage
draggable={false}
src={user?.picture}
@@ -61,14 +61,14 @@ export function UserMessage({
}
>
{files && (
- <p className="text-muted-foreground flex items-center gap-2 font-normal text-mmd py-1.5 whitespace-pre-wrap break-words overflow-wrap-anywhere transition-colors duration-300">
+ <p className="text-muted-foreground flex items-center gap-2 font-normal text-mmd py-1.5 whitespace-pre-wrap wrap-break-word overflow-wrap-anywhere transition-colors duration-300">
<FileText className="h-4 w-4" />
{files}
</p>
)}
<p
className={cn(
- "text-foreground text-sm py-1.5 whitespace-pre-wrap break-words overflow-wrap-anywhere transition-colors duration-300",
+ "text-foreground text-sm py-1.5 whitespace-pre-wrap wrap-break-word overflow-wrap-anywhere transition-colors duration-300",
isCompleted ? "text-placeholder-foreground" : "text-foreground",
)}
data-testid="user-message"
diff --git a/frontend/app/chat/page.tsx b/frontend/app/chat/page.tsx
index 58054aec0..d4f40dba2 100644
--- a/frontend/app/chat/page.tsx
+++ b/frontend/app/chat/page.tsx
@@ -1237,7 +1237,7 @@ export default function ProtectedChatPage() {
"flex w-full h-full overflow-hidden",
isCloudBrand && "ibm-chat-page",
isCloudBrand &&
- "bg-[var(--chat-surface-bg)] [background-image:linear-gradient(0deg,var(--chat-surface-gradient),transparent_280px)]",
+ "bg-(--chat-surface-bg) bg-[linear-gradient(0deg,var(--chat-surface-gradient),transparent_280px)]",
)}
>
<StickToBottom
diff --git a/frontend/app/globals.css b/frontend/app/globals.css
index 8e72960c1..117a7c849 100644
--- a/frontend/app/globals.css
+++ b/frontend/app/globals.css
@@ -1,6 +1,608 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@import "tailwindcss";
+@import "tw-animate-css";
+
+@plugin "@tailwindcss/forms" {
+ strategy: class;
+}
+@plugin "@tailwindcss/typography";
+
+@custom-variant dark (&:is(.dark *));
+
+@utility container {
+ margin-inline: auto;
+ @media (width >= --theme(--breakpoint-sm)) {
+ max-width: none;
+ }
+ @media (width >= 1400px) {
+ max-width: 1400px;
+ }
+ @media (width >= 1500px) {
+ max-width: 1500px;
+ }
+}
+
+@theme {
+ --container-content: 960px;
+ --container-task-dialog: var(--task-dialog-width);
+
+ --height-task-dialog: var(--task-dialog-max-height);
+
+ --min-height-header: var(--header-height);
+
+ --max-height-task-dialog: var(--task-dialog-max-height);
+
+ --width-task-dialog: var(--task-dialog-width);
+ --width-task-dialog-file-type: var(--task-dialog-file-type-width);
+
+ --z-index-task-dialog-menu: var(--z-task-dialog-menu);
+
+ --breakpoint-xl: 1200px;
+ --breakpoint-2xl: 1400px;
+ --breakpoint-3xl: 1500px;
+
+ --animate-toast-shake: toast-shake 0.4s ease-in-out;
+ --animate-overlayShow: overlayShow 400ms cubic-bezier(0.16, 1, 0.3, 1);
+ --animate-contentShow: contentShow 400ms cubic-bezier(0.16, 1, 0.3, 1);
+ --animate-wiggle: wiggle 150ms ease-in-out 1;
+ --animate-accordion-down: accordion-down 0.2s ease-out;
+ --animate-accordion-up: accordion-up 0.2s ease-out;
+ --animate-shimmer: shimmer 3s ease-in-out infinite;
+
+ --color-border: hsl(var(--border));
+ --color-input: hsl(var(--input));
+ --color-ring: hsl(var(--ring));
+
+ --color-background: hsl(var(--background));
+ --color-background-dark: hsl(var(--background-dark));
+
+ --color-foreground: hsl(var(--foreground));
+
+ --color-primary: hsl(var(--primary));
+ --color-primary-foreground: hsl(var(--primary-foreground));
+ --color-primary-hover: hsl(var(--primary-hover));
+
+ --color-secondary: hsl(var(--secondary));
+ --color-secondary-foreground: hsl(var(--secondary-foreground));
+ --color-secondary-hover: hsl(var(--secondary-hover));
+
+ --color-destructive: hsl(var(--destructive));
+ --color-destructive-foreground: hsl(var(--destructive-foreground));
+
+ --color-muted: hsl(var(--muted));
+ --color-muted-foreground: hsl(var(--muted-foreground));
+
+ --color-accent: hsl(var(--accent));
+ --color-accent-foreground: hsl(var(--accent-foreground));
+
+ --color-accent-emerald: hsl(var(--accent-emerald));
+ --color-accent-emerald-foreground: hsl(var(--accent-emerald-foreground));
+
+ --color-accent-pink: hsl(var(--accent-pink));
+ --color-accent-pink-foreground: hsl(var(--accent-pink-foreground));
+
+ --color-accent-amber: hsl(var(--accent-amber));
+ --color-accent-amber-foreground: hsl(var(--accent-amber-foreground));
+
+ --color-brand-amber-10: hsl(var(--brand-amber) / 0.1);
+ --color-brand-amber-30: hsl(var(--brand-amber) / 0.3);
+ --color-brand-amber: hsl(var(--brand-amber));
+
+ --color-accent-purple: hsl(var(--accent-purple));
+ --color-accent-purple-foreground: hsl(var(--accent-purple-foreground));
+
+ --color-accent-indigo: hsl(var(--accent-indigo));
+ --color-accent-indigo-foreground: hsl(var(--accent-indigo-foreground));
+
+ --color-accent-red: hsl(var(--accent-red));
+ --color-accent-red-foreground: hsl(var(--accent-red-foreground));
+
+ --color-popover: hsl(var(--popover));
+ --color-popover-foreground: hsl(var(--popover-foreground));
+
+ --color-card: hsl(var(--card));
+ --color-card-foreground: hsl(var(--card-foreground));
+
+ --color-canvas: hsl(var(--canvas));
+ --color-layer-contextual: hsl(var(--layer-contextual));
+ --color-task-dialog-oss: hsl(var(--task-dialog-oss-bg));
+ --color-task-dialog-oss-selected: hsl(var(--task-dialog-oss-selected));
+ --color-layer-contextual-foreground: hsl(var(--layer-contextual-foreground));
+ --color-border-subtle-contextual: hsl(
+ var(--border-subtle-background-contextual)
+ );
+ --color-text-text-01: hsl(var(--text-text-01));
+ --color-link-primary: hsl(var(--link-primary));
+ --color-button-tertiary: hsl(var(--button-tertiary));
+ --color-component-icon: var(--component-icon);
+ --color-flow-icon: var(--flow-icon);
+ --color-placeholder-foreground: hsl(var(--placeholder-foreground));
+ --color-placeholder: hsl(var(--placeholder));
+
+ --color-function-call-header: var(--function-call-header);
+ --color-function-call-header-hover: var(--function-call-header-hover);
+
+ --color-badge: hsl(var(--badge));
+ --color-badge-foreground: hsl(var(--badge-foreground));
+
+ --color-warning: hsl(var(--warning));
+ --color-warning-foreground: hsl(var(--warning-foreground));
+
+ --color-sidebar: hsl(var(--sidebar-background));
+ --color-sidebar-foreground: hsl(var(--sidebar-foreground));
+ --color-sidebar-primary: hsl(var(--sidebar-primary));
+ --color-sidebar-primary-foreground: hsl(var(--sidebar-primary-foreground));
+ --color-sidebar-accent: hsl(var(--sidebar-accent));
+ --color-sidebar-accent-foreground: hsl(var(--sidebar-accent-foreground));
+ --color-sidebar-border: hsl(var(--sidebar-border));
+ --color-sidebar-ring: hsl(var(--sidebar-ring));
+
+ --color-failure-soft: var(--failure-soft);
+ --color-failure-pill: var(--failure-pill);
+ --color-failure-file: var(--failure-file);
+ --color-failure-log: var(--failure-log);
+ --color-failure-message: var(--failure-message);
+ --color-failure-scroll: var(--failure-scroll);
+ --color-failure-muted: var(--failure-muted);
+ --color-failure-component-cause: hsl(var(--failure-component-cause));
+
+ --color-task-status-failed: hsl(var(--task-status-failed-bg));
+ --color-task-status-failed-foreground: hsl(var(--task-status-failed-fg));
+
+ --color-task-status-partial: hsl(var(--task-status-partial-bg));
+ --color-task-status-partial-foreground: hsl(var(--task-status-partial-fg));
+
+ --color-task-status-complete: hsl(var(--task-status-complete-bg));
+ --color-task-status-complete-foreground: hsl(var(--task-status-complete-fg));
+
+ --spacing-mmd: 13px;
+ --spacing-task-dialog-error-indent: var(--task-dialog-error-indent);
+ --spacing-task-dialog-error-indent-cloud: var(
+ --task-dialog-error-indent-cloud
+ );
+
+ --radius-lg: var(--radius);
+ --radius-md: calc(var(--radius) - 2px);
+ --radius-sm: calc(var(--radius) - 4px);
+ --text-xxs: 11px;
+ --text-mmd: 13px;
+
+ @keyframes toast-shake {
+ 0%,
+ 100% {
+ transform: translateX(0);
+ }
+ 20% {
+ transform: translateX(-6px);
+ }
+ 40% {
+ transform: translateX(6px);
+ }
+ 60% {
+ transform: translateX(-4px);
+ }
+ 80% {
+ transform: translateX(4px);
+ }
+ }
+ @keyframes overlayShow {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+ }
+ @keyframes contentShow {
+ from {
+ opacity: 0;
+ transform: translate(-50%, -50%) scale(0.95);
+ clip-path: inset(50% 0);
+ }
+ to {
+ opacity: 1;
+ transform: translate(-50%, -50%) scale(1);
+ clip-path: inset(0% 0);
+ }
+ }
+ @keyframes wiggle {
+ 0%,
+ 100% {
+ transform: scale(100%);
+ }
+ 50% {
+ transform: scale(120%);
+ }
+ }
+ @keyframes accordion-down {
+ from {
+ height: 0;
+ }
+ to {
+ height: var(--radix-accordion-content-height);
+ }
+ }
+ @keyframes accordion-up {
+ from {
+ height: var(--radix-accordion-content-height);
+ }
+ to {
+ height: 0;
+ }
+ }
+ @keyframes shimmer {
+ 0% {
+ background-position: 200% 0;
+ }
+ 100% {
+ background-position: -200% 0;
+ }
+ }
+}
+
+/*
+ Inline so utilities resolve these against the runtime variables of the same
+ name (set by next/font and the theme blocks below) instead of referencing
+ themselves.
+*/
+@theme inline {
+ --radius-mmd: var(--radius-mmd);
+
+ --font-sans:
+ var(--font-sans), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
+ "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
+ --font-mono:
+ var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
+ "Liberation Mono", "Courier New", monospace;
+ --font-chivo:
+ var(--font-chivo), ui-sans-serif, system-ui, sans-serif,
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
+ --font-ibm-plex-sans:
+ var(--font-ibm-plex-sans), ui-sans-serif, system-ui, sans-serif,
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
+}
+
+/*
+ Tailwind v4 dropped `cursor: pointer` on buttons; keep the v3 behaviour.
+*/
+@layer base {
+ button:not(:disabled),
+ [role="button"]:not(:disabled) {
+ cursor: pointer;
+ }
+}
+
+@utility scrollbar-hide {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
+}
+
+@utility truncate-multiline {
+ display: -webkit-box;
+ -webkit-line-clamp: 3;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+@utility custom-scroll {
+ &::-webkit-scrollbar {
+ width: 8px;
+ height: 8px;
+ }
+ &::-webkit-scrollbar-track {
+ background-color: hsl(var(--muted));
+ }
+ &::-webkit-scrollbar-thumb {
+ background-color: hsl(var(--border));
+ border-radius: 999px;
+ }
+ &::-webkit-scrollbar-thumb:hover {
+ background-color: hsl(var(--placeholder-foreground));
+ }
+}
+
+@utility primary-input {
+ display: block;
+ width: 100%;
+ height: 40px;
+ border-radius: 0.375rem;
+ border: 1px solid hsl(var(--input));
+ background-color: hsl(var(--background));
+ padding-left: 0.75rem;
+ padding-right: 0.75rem;
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+ font-size: 0.875rem;
+ text-align: left;
+ text-overflow: ellipsis;
+ transition-property:
+ color, background-color, border-color, text-decoration-color, fill, stroke;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 150ms;
+ &::placeholder {
+ color: hsl(var(--muted-foreground));
+ }
+ &:hover {
+ border-color: hsl(var(--muted-foreground));
+ }
+ &:focus {
+ border-color: hsl(var(--foreground));
+ outline: none;
+ box-shadow: none;
+ }
+ &:focus::placeholder {
+ color: transparent;
+ }
+ &:disabled {
+ pointer-events: none;
+ cursor: not-allowed;
+ background-color: hsl(var(--muted));
+ color: hsl(var(--muted-foreground));
+ }
+}
+
+@utility app-grid-arrangement {
+ --nav-width: 280px;
+ --right-panel-width: 0px;
+ --header-height: 54px;
+
+ &.notifications-open,
+ &.filters-open {
+ --right-panel-width: 320px;
+ }
+ display: grid;
+ height: 100%;
+ width: 100%;
+ grid-template-rows:
+ auto
+ var(--header-height)
+ 1fr;
+ grid-template-columns:
+ var(--nav-width)
+ 1fr
+ var(--right-panel-width);
+ grid-template-areas:
+ "banner banner banner"
+ "header header header"
+ "nav main right-panel";
+ transition: grid-template-columns 0.25s ease-in-out;
+}
+
+@utility header-start-display {
+ @apply flex items-center gap-2;
+}
+
+@utility header-end-division {
+ @apply flex justify-end px-2;
+}
+
+@utility header-end-display {
+ @apply ml-auto mr-2 flex items-center gap-5;
+}
+
+@utility header-github-link {
+ @apply inline-flex h-8 items-center justify-center rounded-md border border-input px-2 text-sm font-medium text-muted-foreground shadow-xs ring-offset-background transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50;
+}
+
+@utility header-notifications {
+ @apply absolute right-1 top-1 h-2 w-2 rounded-full bg-destructive;
+}
+
+@utility header-menu-bar {
+ @apply flex items-center rounded-md py-1 text-sm font-medium;
+}
+
+@utility header-menu-bar-display {
+ @apply flex max-w-[110px] cursor-pointer items-center gap-2 lg:max-w-[150px];
+}
+
+@utility header-menu-flow-name {
+ @apply flex-1 truncate;
+}
+
+@utility header-menu-options {
+ @apply mr-2 h-4 w-4;
+}
+
+@utility side-bar-arrangement {
+ @apply flex h-full w-[18rem] flex-col overflow-hidden border-r scrollbar-hide;
+}
+
+@utility side-bar-search-div-placement {
+ @apply relative mx-auto flex items-center py-3;
+}
+
+@utility side-bar-components-icon {
+ @apply h-6 w-4 text-ring;
+}
+
+@utility side-bar-components-text {
+ @apply w-full truncate pr-1 text-xs text-foreground;
+}
+
+@utility side-bar-components-div-form {
+ @apply flex w-full items-center justify-between rounded-md rounded-l-none border border-l-0 border-dashed border-ring px-3 py-1 text-sm;
+}
+
+@utility side-bar-components-border {
+ @apply cursor-grab rounded-l-md border-l-8;
+}
+
+@utility side-bar-components-gap {
+ @apply flex flex-col gap-2 p-2;
+}
+
+@utility side-bar-components-div-arrangement {
+ @apply w-full overflow-auto pb-10 scrollbar-hide;
+}
+
+@utility side-bar-button-size {
+ @apply h-5 w-5;
+
+ &:hover {
+ @apply hover:text-accent-foreground;
+ }
+}
+
+@utility side-bar-buttons-arrangement {
+ @apply mb-2 mt-2 flex w-full items-center justify-between gap-2 px-2;
+}
+
+@utility side-bar-button {
+ @apply flex w-full;
+}
+
+@utility components-disclosure-arrangement {
+ @apply -mt-px flex w-full select-none items-center justify-between border-y border-y-input bg-primary-foreground px-3 py-2;
+}
+
+@utility components-disclosure-title {
+ @apply flex items-center text-sm text-primary;
+}
+
+@utility toolbar-wrapper {
+ @apply flex h-10 items-center gap-1 rounded-xl border border-border bg-background p-1 shadow-xs;
+}
+
+@utility playground-btn-flow-toolbar {
+ @apply relative inline-flex h-8 w-full items-center justify-center gap-1.5 rounded px-3 py-1.5 text-sm font-normal transition-all duration-500 ease-in-out;
+}
+
+@utility input-search {
+ @apply primary-input mx-2 pr-7;
+}
+
+@utility github-star-link {
+ /* GitHub Star Button */
+ @apply inline-flex h-8 items-center rounded-md text-sm font-medium text-muted-foreground shadow-xs transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2;
+}
+
+@utility github-star-content {
+ @apply flex items-center px-2 pr-1;
+}
+
+@utility github-star-icon {
+ @apply h-4 w-4;
+}
+
+@utility github-star-text {
+ @apply ml-1;
+}
+
+@utility github-star-count-section {
+ @apply border-l bg-muted/80 px-2 py-1;
+}
+
+@utility github-star-display {
+ @apply flex items-center gap-1;
+}
+
+@utility github-star-count-icon {
+ @apply h-3 w-3 fill-current;
+}
+
+@utility github-star-count {
+ @apply text-xs font-medium text-foreground;
+}
+
+@utility github-star-loading {
+ @apply flex items-center justify-center;
+}
+
+@utility github-star-skeleton {
+ @apply h-3 w-8 animate-pulse bg-muted-foreground/20 rounded;
+}
+
+@utility github-star-error {
+ @apply text-xs text-muted-foreground;
+}
+
+@utility discord-link {
+ /* Discord Link */
+ @apply inline-flex h-8 items-center rounded-md text-sm font-medium shadow-xs transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2;
+ background-color: #5865f2;
+ border-color: #5865f2;
+ color: white;
+
+ &:hover {
+ @apply opacity-90;
+ }
+}
+
+@utility discord-content {
+ @apply flex items-center px-2 pr-1;
+}
+
+@utility discord-icon {
+ @apply flex items-center justify-center;
+}
+
+@utility discord-text {
+ @apply ml-1;
+}
+
+@utility discord-member-section {
+ @apply border-l border-white/20 bg-black/10 px-2 py-1;
+}
+
+@utility discord-member-display {
+ @apply flex items-center gap-1;
+}
+
+@utility discord-member-icon {
+ @apply h-3 w-3;
+}
+
+@utility discord-member-count {
+ @apply text-xs font-medium;
+}
+
+@utility discord-loading {
+ @apply flex items-center justify-center;
+}
+
+@utility discord-skeleton {
+ @apply h-3 w-8 animate-pulse bg-white/20 rounded;
+}
+
+@utility discord-error {
+ @apply text-xs opacity-70;
+}
+
+@utility prose {
+ & :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
+ @apply text-current;
+ }
+
+ & :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
+ @apply text-current;
+ }
+}
+
+@utility box-shadow-inner {
+ &::after {
+ content: " ";
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ pointer-events: none;
+ background: linear-gradient(to top, hsl(var(--background)), transparent);
+ display: block;
+ width: 100%;
+ height: 30px;
+ }
+}
+
+@utility thinking-dots {
+ &::after {
+ content: ".";
+ animation: thinking-dots 1.4s steps(3, end) infinite;
+ }
+}
@layer base {
:root {
@@ -237,274 +839,20 @@
--radius: 0rem; /* IBM theme dialogs (Carbon design system style) */
}
- /* IBM dialog chrome follows light/dark theme tokens (not always-dark Carbon). */
- [data-theme="ibm"] [data-slot="dialog-content"],
- [data-theme="ibm"] [role="dialog"] {
- border-radius: 0 !important;
- background-color: hsl(var(--background)) !important;
- border: none !important;
- color: hsl(var(--foreground)) !important;
- padding: 0 !important;
- box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5) !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-content"] > button[class*="absolute"],
- [data-theme="ibm"] [role="dialog"] > button[class*="absolute"] {
- display: flex !important;
- align-items: center !important;
- justify-content: center !important;
- top: 0.75rem !important;
- right: 0.75rem !important;
- width: 1.5rem !important;
- height: 1.5rem !important;
- padding: 0 !important;
- border-radius: 0 !important;
- color: hsl(var(--foreground)) !important;
- opacity: 0.75 !important;
- transition:
- background-color 0.1s ease,
- opacity 0.1s ease !important;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-content"]
- > button[class*="absolute"]:hover,
- [data-theme="ibm"] [role="dialog"] > button[class*="absolute"]:hover {
- opacity: 1 !important;
- background-color: hsl(var(--muted)) !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-content"] form {
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- }
-
- /* Non-form dialogs (delete confirm, etc.): inset body between header and footer. */
- [data-theme="ibm"]
- [data-slot="dialog-content"]
- > :not([data-slot="dialog-header"]):not([data-slot="dialog-footer"]):not(
- button
- ):not(form) {
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- }
-
- /* Task dialog manages its own layout padding. */
- [data-theme="ibm"] [data-slot="dialog-content"].h-task-dialog > div {
- padding-left: 0;
- padding-right: 0;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-content"]
- form
- [data-slot="dialog-header"],
- [data-theme="ibm"]
- [data-slot="dialog-content"]
- form
- [data-slot="dialog-footer"] {
- margin-left: -1.5rem !important;
- margin-right: -1.5rem !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-header"] {
- margin-left: 0 !important;
- margin-right: 0 !important;
- margin-top: 0 !important;
- padding-left: 1.5rem !important;
- padding-right: 1.5rem !important;
- padding-top: 1.5rem !important;
- padding-bottom: 1rem !important;
- border-bottom: 1px solid hsl(var(--border)) !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-title"] {
- font-size: 1.25rem !important;
- font-weight: 400 !important;
- color: hsl(var(--foreground)) !important;
- }
+ [data-theme="ibm"] {
+ /* Chat (IBM) */
+ --chat-surface-bg: hsl(var(--background));
+ --chat-surface-border: hsl(var(--muted));
+ --chat-prompt-bg: hsl(var(--background));
- [data-theme="ibm"] [data-slot="dialog-description"] {
- font-size: 0.875rem !important;
- color: hsl(var(--muted-foreground)) !important;
- font-weight: 400 !important;
- margin-top: 0.25rem !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-footer"] {
- display: grid !important;
- grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
- gap: 1px !important;
- margin-left: 0 !important;
- margin-right: 0 !important;
- margin-bottom: 0 !important;
- margin-top: 1rem !important;
- }
-
- /* Confirmation / alert dialogs without body content: remove header bottom border and footer top margin */
- [data-theme="ibm"]
- [data-slot="dialog-header"]:has(+ [data-slot="dialog-footer"]) {
- border-bottom: none !important;
- padding-bottom: 1.5rem !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-header"] + [data-slot="dialog-footer"] {
- margin-top: 0 !important;
- }
-
- /*
- * Carbon 3-button footer (e.g. Remove + Cancel + Save): a 2-column grid
- * wraps the third action onto a new row. Use 4 columns so tertiary sits
- * at 25% left and secondary/primary occupy 25% each on the right.
- */
- [data-theme="ibm"] [data-slot="dialog-footer"]:has(> :nth-child(3)) {
- grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
- background-color: hsl(var(--background)) !important;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-footer"]:has(> :nth-child(3))
- > :nth-child(1) {
- grid-column: 1;
- margin: 0 !important;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-footer"]:has(> :nth-child(3))
- > :nth-child(2) {
- grid-column: 3;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-footer"]:has(> :nth-child(3))
- > :nth-child(3) {
- grid-column: 4;
- }
-
- /* Tooltip wrappers (Remove) must fill the tertiary cell. */
- [data-theme="ibm"] [data-slot="dialog-footer"] > span {
- display: flex;
- width: 100%;
- min-height: 4rem;
- margin: 0 !important;
- }
-
- /* Task dialog: flush footer; match task surface tokens. */
- [data-theme="ibm"] [data-slot="dialog-content"].h-task-dialog {
- background-color: hsl(var(--layer-contextual)) !important;
- color: hsl(var(--layer-contextual-foreground)) !important;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-content"].h-task-dialog
- [data-slot="dialog-footer"] {
- margin-top: 0 !important;
- background-color: hsl(var(--layer-contextual)) !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-footer"] > button,
- [data-theme="ibm"] [data-slot="dialog-footer"] > span button {
- width: 100% !important;
- height: 4rem !important;
- margin: 0 !important;
- border: 0 !important;
- border-width: 0 !important;
- border-radius: 0 !important;
- outline: none !important;
- box-shadow: none !important;
- font-size: 0.875rem !important;
- font-weight: 400 !important;
- justify-content: flex-start !important;
- align-items: flex-start !important;
- padding: 1rem 0 0 1rem !important;
- }
-
- /* Tertiary (Remove) is full-bleed; match form/header 1.5rem text inset. */
- [data-theme="ibm"] [data-slot="dialog-footer"] > span button {
- padding-left: 1.5rem !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-footer"] > button:first-of-type {
- background-color: #6f6f6f !important;
- color: #ffffff !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-footer"] > button:first-of-type:hover {
- background-color: #525252 !important;
- border: 0 !important;
- outline: none !important;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-footer"]
- > button:first-of-type:hover:not(:focus-visible) {
- box-shadow: none !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-footer"] > button:last-of-type {
- background-color: #0f62fe !important;
- color: #ffffff !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-footer"] > button:last-of-type:hover {
- background-color: #0353e9 !important;
- border: 0 !important;
- outline: none !important;
- }
-
- [data-theme="ibm"]
- [data-slot="dialog-footer"]
- > button:last-of-type:hover:not(:focus-visible) {
- box-shadow: none !important;
- }
-
- /* Single-button footer: primary action sits on the right side (column 2). */
- [data-theme="ibm"] [data-slot="dialog-footer"] > button:only-child,
- [data-theme="ibm"] [data-slot="dialog-footer"] > span:only-child,
- [data-theme="ibm"]
- [data-slot="dialog-footer"]:has(> :only-child)
- > :only-child {
- grid-column: 2 !important;
- background-color: #0f62fe !important;
- color: #ffffff !important;
- }
-
- [data-theme="ibm"] [data-slot="dialog-footer"] > button:only-child:hover,
- [data-theme="ibm"]
- [data-slot="dialog-footer"]:has(> :only-child)
- > :only-child:hover,
- [data-theme="ibm"]
- [data-slot="dialog-footer"]
- > span:only-child
- button:hover {
- background-color: #0353e9 !important;
- border: 0 !important;
- outline: none !important;
- }
-
- /* After hover resets: restore a visible focus ring (matches Button focus-visible:ring). */
- [data-theme="ibm"] [data-slot="dialog-footer"] > button:focus-visible,
- [data-theme="ibm"] [data-slot="dialog-footer"] > span button:focus-visible {
- outline: none !important;
- box-shadow:
- 0 0 0 2px hsl(var(--background)),
- 0 0 0 4px hsl(var(--ring)) !important;
- }
-
- [data-theme="ibm"] {
- /* Chat (IBM) */
- --chat-surface-bg: hsl(var(--background));
- --chat-surface-border: hsl(var(--muted));
- --chat-prompt-bg: hsl(var(--background));
-
- --sidebar-background: 0 0% 90%; /* IBM Gray 20 */
- --sidebar-foreground: 0 0% 15%;
- --sidebar-primary: 217 100% 45%;
- --sidebar-primary-foreground: 0 0% 100%;
- --sidebar-accent: 0 0% 82%;
- --sidebar-accent-foreground: 0 0% 15%;
- --sidebar-border: 0 0% 82%;
- --sidebar-ring: 217 100% 45%;
+ --sidebar-background: 0 0% 90%; /* IBM Gray 20 */
+ --sidebar-foreground: 0 0% 15%;
+ --sidebar-primary: 217 100% 45%;
+ --sidebar-primary-foreground: 0 0% 100%;
+ --sidebar-accent: 0 0% 82%;
+ --sidebar-accent-foreground: 0 0% 15%;
+ --sidebar-border: 0 0% 82%;
+ --sidebar-ring: 217 100% 45%;
/* IBM-only UI tokens */
--layered-select-bg: rgba(131, 131, 131, 0.24);
@@ -535,16 +883,6 @@
--task-status-complete-fg: 135 59% 80%; /* #a7f0ba */
}
- /* IBM: match OSS switch colors — black track when checked, white thumb always */
- [data-theme="ibm"] [role="switch"][data-state="checked"] {
- background-color: hsl(var(--foreground));
- }
- [data-theme="ibm"]
- [role="switch"][data-state="unchecked"]
- > span[data-state="unchecked"] {
- background-color: hsl(var(--foreground));
- }
-
/* IBM Dark */
[data-theme="ibm"].dark {
--background: 0 0% 8.6%; /* IBM Gray 100 #161616 */
@@ -636,504 +974,514 @@
--task-status-complete-fg: 135 59% 80%; /* #a7f0ba */
}
- /* IBM Settings: section titles (productive heading-04); beats CardTitle utilities */
- [data-theme="ibm"] .ibm-settings-section-title {
- color: hsl(var(--text-text-01));
- font-family: inherit;
- font-size: 28px !important;
- font-weight: 400 !important;
- line-height: 36px !important;
- font-style: normal;
- letter-spacing: 0;
- }
-
- [data-theme="ibm"] .ibm-section-title {
- color: hsl(var(--text-text-01));
- font-family: inherit;
- font-size: 28px !important;
- font-weight: 400 !important;
- line-height: 36px !important;
- font-style: normal;
- letter-spacing: 0;
- }
-
- /* IBM settings: line-variant tabs — transparent default, blue active/hover */
- [data-theme="ibm"]
- .ibm-settings-page
- [data-slot="tabs-list"][data-variant="line"]
- [data-slot="tabs-trigger"] {
- border-width: 0;
- border-bottom-width: 2px;
- border-bottom-style: solid;
- border-bottom-color: transparent;
- background: transparent;
- color: hsl(var(--text-text-01));
- font-size: 14px;
- font-weight: 400;
- line-height: 18px;
- letter-spacing: 0.16px;
-
- &:hover {
- border-bottom-color: var(--border-border-interactive);
- }
-
- &[data-state="active"] {
- border-bottom-color: var(--border-border-interactive);
- font-weight: 600 !important;
- }
- }
-
- /* IBM Settings: inline links (Link/link-primary) — tabs are links too, but
- they use the blue underline border, not text-decoration */
- [data-theme="ibm"]
- .ibm-settings-page
- a[href]:not([data-slot="tabs-trigger"]) {
- color: hsl(var(--link-primary));
- }
-
- [data-theme="ibm"]
- .ibm-settings-page
- a[href]:not([data-slot="tabs-trigger"]):hover {
- text-decoration: underline;
- text-underline-offset: 2px;
- }
-
- /* IBM Carbon Design System: Input fields styling */
- [data-theme="ibm"] .primary-input {
- border: none;
- border-radius: 0;
- border-bottom: 2px solid hsl(var(--input));
- background-color: hsl(var(--layer-contextual));
- /* Explicit color so dialog `color: #f4f4f4` does not win over light input backgrounds */
- color: hsl(var(--layer-contextual-foreground));
- }
-
- [data-theme="ibm"].dark .primary-input {
- background-color: hsl(var(--layer-contextual));
- }
-
- [data-theme="ibm"] .primary-input:hover {
- border-bottom-color: hsl(var(--foreground));
- }
-
- [data-theme="ibm"] .primary-input:focus {
- border-bottom-color: hsl(var(--primary));
- }
-
- /* IBM Carbon Design System: Placeholder text uses secondary color #C6C6C6 */
- [data-theme="ibm"] .primary-input::placeholder {
- color: hsl(var(--muted-foreground));
- }
-
- /* IBM Carbon Design System: Select/Combobox styling (ModelSelector buttons) */
- [data-theme="ibm"] .ibm-settings-page button[role="combobox"] {
- border: none;
- border-radius: 0;
- border-bottom: 2px solid hsl(var(--input));
- background-color: hsl(var(--layer-contextual));
- }
-
- [data-theme="ibm"]
- .ibm-settings-page
- button[role="combobox"]:hover:not(:disabled) {
- border-bottom-color: hsl(var(--foreground));
- background-color: hsl(var(--layer-contextual));
- }
-
- [data-theme="ibm"] .ibm-settings-page button[role="combobox"]:focus {
- border-bottom-color: hsl(var(--primary));
- }
-
- /* IBM Carbon Design System: Regular Select trigger styling */
- [data-theme="ibm"] .ibm-settings-page [data-radix-select-trigger] {
- border: none;
- border-radius: 0;
- border-bottom: 2px solid hsl(var(--input));
- background-color: hsl(var(--card));
- }
-
- [data-theme="ibm"]
- .ibm-settings-page
- [data-radix-select-trigger]:hover:not(:disabled) {
- border-bottom-color: hsl(var(--foreground));
- background-color: hsl(var(--card));
- }
-
- [data-theme="ibm"] .ibm-settings-page [data-radix-select-trigger]:focus {
- border-bottom-color: hsl(var(--primary));
- }
-
- /* IBM Carbon Design System: Flatten cards in settings page */
- [data-theme="ibm"] .ibm-settings-page .rounded-xl {
- border-color: transparent;
- background-color: transparent;
- box-shadow: none;
- }
-
- /* IBM chat nudges / quick actions */
- [data-theme="ibm"] .ibm-chat-bubble {
- border-color: var(--chat-surface-border);
- }
-
- [data-theme="ibm"].dark .ibm-chat-bubble {
- background-color: #262626;
- }
-
- [data-theme="ibm"] .rounded-2xl {
- border-radius: 0;
- }
-
- [data-theme="ibm"] .rounded-xl {
- border-radius: 0;
- }
-
- /*
- * IBM chat page only: body copy #000 (light) / #fff (dark) via tokens.
- * Scoped so OSS and non-chat IBM surfaces keep existing --foreground.
- */
- [data-theme="ibm"] .ibm-chat-page {
- --ibm-chat-text: 0 0% 0%;
- --foreground: var(--ibm-chat-text);
- --muted-foreground: var(--ibm-chat-text);
- }
-
- [data-theme="ibm"].dark .ibm-chat-page {
- --ibm-chat-text: 0 0% 100%;
- --foreground: var(--ibm-chat-text);
- --muted-foreground: var(--ibm-chat-text);
+ * {
+ @apply border-border;
}
- [data-theme="ibm"] .ibm-chat-page .markdown.prose {
- color: hsl(var(--ibm-chat-text));
+ body {
+ @apply bg-background text-foreground;
+ font-feature-settings:
+ "rlig" 1,
+ "calt" 1;
+ font-family: Inter, system-ui, sans-serif;
}
+}
- [data-theme="ibm"] .ibm-chat-page .markdown.prose a {
- color: hsl(var(--primary));
- }
+/*
+ IBM theme overrides. These stay outside @layer so they keep beating
+ utilities, as they did in Tailwind v3 where @layer compiled to plain CSS and
+ their extra specificity decided. In v4 @layer is a native cascade layer, and
+ any utility would override a rule in `base` regardless of specificity.
+*/
+/* IBM dialog chrome follows light/dark theme tokens (not always-dark Carbon). */
+[data-theme="ibm"] [data-slot="dialog-content"],
+[data-theme="ibm"] [role="dialog"] {
+ border-radius: 0 !important;
+ background-color: hsl(var(--background)) !important;
+ border: none !important;
+ color: hsl(var(--foreground)) !important;
+ padding: 0 !important;
+ box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5) !important;
+}
- [data-theme="ibm"] .fc-card {
- background-color: #eaeff6;
- }
+[data-theme="ibm"] [data-slot="dialog-content"] > button[class*="absolute"],
+[data-theme="ibm"] [role="dialog"] > button[class*="absolute"] {
+ display: flex !important;
+ align-items: center !important;
+ justify-content: center !important;
+ top: 0.75rem !important;
+ right: 0.75rem !important;
+ width: 1.5rem !important;
+ height: 1.5rem !important;
+ padding: 0 !important;
+ border-radius: 0 !important;
+ color: hsl(var(--foreground)) !important;
+ opacity: 0.75 !important;
+ transition:
+ background-color 0.1s ease,
+ opacity 0.1s ease !important;
+}
- [data-theme="ibm"] .fc-card pre,
- [data-theme="ibm"] .fc-card .fc-value,
- [data-theme="ibm"] .fc-card .fc-result {
- background-color: rgba(120, 169, 255, 0.2); /* #78A9FF at 20% */
- }
+[data-theme="ibm"]
+ [data-slot="dialog-content"]
+ > button[class*="absolute"]:hover,
+[data-theme="ibm"] [role="dialog"] > button[class*="absolute"]:hover {
+ opacity: 1 !important;
+ background-color: hsl(var(--muted)) !important;
+}
- [data-theme="ibm"]:not(.dark) .fc-card .fc-id {
- color: #0f62fe;
- }
+[data-theme="ibm"] [data-slot="dialog-content"] form {
+ padding-left: 1.5rem;
+ padding-right: 1.5rem;
+}
- [data-theme="ibm"].dark .fc-card {
- background-color: #1d2431;
- }
+/* Non-form dialogs (delete confirm, etc.): inset body between header and footer. */
+[data-theme="ibm"]
+ [data-slot="dialog-content"]
+ > :not([data-slot="dialog-header"]):not([data-slot="dialog-footer"]):not(
+ button
+ ):not(form) {
+ padding-left: 1.5rem;
+ padding-right: 1.5rem;
+}
- [data-theme="ibm"]:not(.dark) .chat-submit {
- background-color: transparent;
- color: #161616;
- }
+/* Task dialog manages its own layout padding. */
+[data-theme="ibm"] [data-slot="dialog-content"].h-task-dialog > div {
+ padding-left: 0;
+ padding-right: 0;
+}
- [data-theme="ibm"]:not(.dark) .chat-submit:hover:not(:disabled) {
- background-color: #e8e8e8;
- }
+[data-theme="ibm"]
+ [data-slot="dialog-content"]
+ form
+ [data-slot="dialog-header"],
+[data-theme="ibm"]
+ [data-slot="dialog-content"]
+ form
+ [data-slot="dialog-footer"] {
+ margin-left: -1.5rem !important;
+ margin-right: -1.5rem !important;
+}
- [data-theme="ibm"].dark .chat-submit {
- background-color: transparent;
- color: #f4f4f4;
- }
+[data-theme="ibm"] [data-slot="dialog-header"] {
+ margin-left: 0 !important;
+ margin-right: 0 !important;
+ margin-top: 0 !important;
+ padding-left: 1.5rem !important;
+ padding-right: 1.5rem !important;
+ padding-top: 1.5rem !important;
+ padding-bottom: 1rem !important;
+ border-bottom: 1px solid hsl(var(--border)) !important;
+}
- [data-theme="ibm"].dark .chat-submit:hover:not(:disabled) {
- background-color: rgba(141, 141, 141, 0.4);
- }
+[data-theme="ibm"] [data-slot="dialog-title"] {
+ font-size: 1.25rem !important;
+ font-weight: 400 !important;
+ color: hsl(var(--foreground)) !important;
+}
- [data-theme="ibm"]:not(.dark) .fc-status-completed {
- background-color: #a7f0ba;
- color: #0e6027;
- border-color: #a7f0ba;
- }
+[data-theme="ibm"] [data-slot="dialog-description"] {
+ font-size: 0.875rem !important;
+ color: hsl(var(--muted-foreground)) !important;
+ font-weight: 400 !important;
+ margin-top: 0.25rem !important;
+}
- [data-theme="ibm"].dark .fc-status-completed {
- background-color: #0e6027;
- color: #a7f0ba;
- border-color: #0e6027;
- }
+[data-theme="ibm"] [data-slot="dialog-footer"] {
+ display: grid !important;
+ grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
+ gap: 1px !important;
+ margin-left: 0 !important;
+ margin-right: 0 !important;
+ margin-bottom: 0 !important;
+ margin-top: 1rem !important;
+}
- [data-theme="ibm"].dark .fc-card pre,
- [data-theme="ibm"].dark .fc-card .fc-value,
- [data-theme="ibm"].dark .fc-card .fc-result {
- background-color: rgba(15, 98, 254, 0.2); /* #0F62FE at 20% */
- }
+/* Confirmation / alert dialogs without body content: remove header bottom border and footer top margin */
+[data-theme="ibm"]
+ [data-slot="dialog-header"]:has(+ [data-slot="dialog-footer"]) {
+ border-bottom: none !important;
+ padding-bottom: 1.5rem !important;
+}
- * {
- @apply border-border;
- }
+[data-theme="ibm"] [data-slot="dialog-header"] + [data-slot="dialog-footer"] {
+ margin-top: 0 !important;
+}
- body {
- @apply bg-background text-foreground;
- font-feature-settings:
- "rlig" 1,
- "calt" 1;
- font-family: Inter, system-ui, sans-serif;
- }
+/*
+ * Carbon 3-button footer (e.g. Remove + Cancel + Save): a 2-column grid
+ * wraps the third action onto a new row. Use 4 columns so tertiary sits
+ * at 25% left and secondary/primary occupy 25% each on the right.
+ */
+[data-theme="ibm"] [data-slot="dialog-footer"]:has(> :nth-child(3)) {
+ grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
+ background-color: hsl(var(--background)) !important;
}
-@layer components {
- .app-grid-arrangement {
- --nav-width: 280px;
- --right-panel-width: 0px;
- --header-height: 54px;
-
- &.notifications-open,
- &.filters-open {
- --right-panel-width: 320px;
- }
- display: grid;
- height: 100%;
- width: 100%;
- grid-template-rows:
- auto
- var(--header-height)
- 1fr;
- grid-template-columns:
- var(--nav-width)
- 1fr
- var(--right-panel-width);
- grid-template-areas:
- "banner banner banner"
- "header header header"
- "nav main right-panel";
- transition: grid-template-columns 0.25s ease-in-out;
- }
+[data-theme="ibm"]
+ [data-slot="dialog-footer"]:has(> :nth-child(3))
+ > :nth-child(1) {
+ grid-column: 1;
+ margin: 0 !important;
+}
- .header-start-display {
- @apply flex items-center gap-2;
- }
+[data-theme="ibm"]
+ [data-slot="dialog-footer"]:has(> :nth-child(3))
+ > :nth-child(2) {
+ grid-column: 3;
+}
- .header-end-division {
- @apply flex justify-end px-2;
- }
+[data-theme="ibm"]
+ [data-slot="dialog-footer"]:has(> :nth-child(3))
+ > :nth-child(3) {
+ grid-column: 4;
+}
- .header-end-display {
- @apply ml-auto mr-2 flex items-center gap-5;
- }
+/* Tooltip wrappers (Remove) must fill the tertiary cell. */
+[data-theme="ibm"] [data-slot="dialog-footer"] > span {
+ display: flex;
+ width: 100%;
+ min-height: 4rem;
+ margin: 0 !important;
+}
- .header-github-link {
- @apply inline-flex h-8 items-center justify-center rounded-md border border-input px-2 text-sm font-medium text-muted-foreground shadow-sm ring-offset-background transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50;
- }
+/* Task dialog: flush footer; match task surface tokens. */
+[data-theme="ibm"] [data-slot="dialog-content"].h-task-dialog {
+ background-color: hsl(var(--layer-contextual)) !important;
+ color: hsl(var(--layer-contextual-foreground)) !important;
+}
- .header-notifications {
- @apply absolute right-1 top-1 h-2 w-2 rounded-full bg-destructive;
- }
+[data-theme="ibm"]
+ [data-slot="dialog-content"].h-task-dialog
+ [data-slot="dialog-footer"] {
+ margin-top: 0 !important;
+ background-color: hsl(var(--layer-contextual)) !important;
+}
- .header-menu-bar {
- @apply flex items-center rounded-md py-1 text-sm font-medium;
- }
+[data-theme="ibm"] [data-slot="dialog-footer"] > button,
+[data-theme="ibm"] [data-slot="dialog-footer"] > span button {
+ width: 100% !important;
+ height: 4rem !important;
+ margin: 0 !important;
+ border: 0 !important;
+ border-width: 0 !important;
+ border-radius: 0 !important;
+ outline: none !important;
+ box-shadow: none !important;
+ font-size: 0.875rem !important;
+ font-weight: 400 !important;
+ justify-content: flex-start !important;
+ align-items: flex-start !important;
+ padding: 1rem 0 0 1rem !important;
+}
- .header-menu-bar-display {
- @apply flex max-w-[110px] cursor-pointer items-center gap-2 lg:max-w-[150px];
- }
+/* Tertiary (Remove) is full-bleed; match form/header 1.5rem text inset. */
+[data-theme="ibm"] [data-slot="dialog-footer"] > span button {
+ padding-left: 1.5rem !important;
+}
- .header-menu-flow-name {
- @apply flex-1 truncate;
- }
+[data-theme="ibm"] [data-slot="dialog-footer"] > button:first-of-type {
+ background-color: #6f6f6f !important;
+ color: #ffffff !important;
+}
- .header-menu-options {
- @apply mr-2 h-4 w-4;
- }
+[data-theme="ibm"] [data-slot="dialog-footer"] > button:first-of-type:hover {
+ background-color: #525252 !important;
+ border: 0 !important;
+ outline: none !important;
+}
- .side-bar-arrangement {
- @apply flex h-full w-[18rem] flex-col overflow-hidden border-r scrollbar-hide;
- }
+[data-theme="ibm"]
+ [data-slot="dialog-footer"]
+ > button:first-of-type:hover:not(:focus-visible) {
+ box-shadow: none !important;
+}
- .side-bar-search-div-placement {
- @apply relative mx-auto flex items-center py-3;
- }
+[data-theme="ibm"] [data-slot="dialog-footer"] > button:last-of-type {
+ background-color: #0f62fe !important;
+ color: #ffffff !important;
+}
- .side-bar-components-icon {
- @apply h-6 w-4 text-ring;
- }
+[data-theme="ibm"] [data-slot="dialog-footer"] > button:last-of-type:hover {
+ background-color: #0353e9 !important;
+ border: 0 !important;
+ outline: none !important;
+}
- .side-bar-components-text {
- @apply w-full truncate pr-1 text-xs text-foreground;
- }
+[data-theme="ibm"]
+ [data-slot="dialog-footer"]
+ > button:last-of-type:hover:not(:focus-visible) {
+ box-shadow: none !important;
+}
- .side-bar-components-div-form {
- @apply flex w-full items-center justify-between rounded-md rounded-l-none border border-l-0 border-dashed border-ring px-3 py-1 text-sm;
- }
+/* Single-button footer: primary action sits on the right side (column 2). */
+[data-theme="ibm"] [data-slot="dialog-footer"] > button:only-child,
+[data-theme="ibm"] [data-slot="dialog-footer"] > span:only-child,
+[data-theme="ibm"]
+ [data-slot="dialog-footer"]:has(> :only-child)
+ > :only-child {
+ grid-column: 2 !important;
+ background-color: #0f62fe !important;
+ color: #ffffff !important;
+}
- .side-bar-components-border {
- @apply cursor-grab rounded-l-md border-l-8;
- }
+[data-theme="ibm"] [data-slot="dialog-footer"] > button:only-child:hover,
+[data-theme="ibm"]
+ [data-slot="dialog-footer"]:has(> :only-child)
+ > :only-child:hover,
+[data-theme="ibm"] [data-slot="dialog-footer"] > span:only-child button:hover {
+ background-color: #0353e9 !important;
+ border: 0 !important;
+ outline: none !important;
+}
- .side-bar-components-gap {
- @apply flex flex-col gap-2 p-2;
- }
+/* After hover resets: restore a visible focus ring (matches Button focus-visible:ring). */
+[data-theme="ibm"] [data-slot="dialog-footer"] > button:focus-visible,
+[data-theme="ibm"] [data-slot="dialog-footer"] > span button:focus-visible {
+ outline: none !important;
+ box-shadow:
+ 0 0 0 2px hsl(var(--background)),
+ 0 0 0 4px hsl(var(--ring)) !important;
+}
- .side-bar-components-div-arrangement {
- @apply w-full overflow-auto pb-10 scrollbar-hide;
- }
+/* IBM: match OSS switch colors — black track when checked, white thumb always */
+[data-theme="ibm"] [role="switch"][data-state="checked"] {
+ background-color: hsl(var(--foreground));
+}
+[data-theme="ibm"]
+ [role="switch"][data-state="unchecked"]
+ > span[data-state="unchecked"] {
+ background-color: hsl(var(--foreground));
+}
- .side-bar-button-size {
- @apply h-5 w-5;
- }
+/* IBM Settings: section titles (productive heading-04); beats CardTitle utilities */
+[data-theme="ibm"] .ibm-settings-section-title {
+ color: hsl(var(--text-text-01));
+ font-family: inherit;
+ font-size: 28px !important;
+ font-weight: 400 !important;
+ line-height: 36px !important;
+ font-style: normal;
+ letter-spacing: 0;
+}
- .side-bar-button-size:hover {
- @apply hover:text-accent-foreground;
- }
+[data-theme="ibm"] .ibm-section-title {
+ color: hsl(var(--text-text-01));
+ font-family: inherit;
+ font-size: 28px !important;
+ font-weight: 400 !important;
+ line-height: 36px !important;
+ font-style: normal;
+ letter-spacing: 0;
+}
- .side-bar-buttons-arrangement {
- @apply mb-2 mt-2 flex w-full items-center justify-between gap-2 px-2;
+/* IBM settings: line-variant tabs — transparent default, blue active/hover */
+[data-theme="ibm"]
+ .ibm-settings-page
+ [data-slot="tabs-list"][data-variant="line"]
+ [data-slot="tabs-trigger"] {
+ border-width: 0;
+ border-bottom-width: 2px;
+ border-bottom-style: solid;
+ border-bottom-color: transparent;
+ background: transparent;
+ color: hsl(var(--text-text-01));
+ font-size: 14px;
+ font-weight: 400;
+ line-height: 18px;
+ letter-spacing: 0.16px;
+
+ &:hover {
+ border-bottom-color: var(--border-border-interactive);
+ }
+
+ &[data-state="active"] {
+ border-bottom-color: var(--border-border-interactive);
+ font-weight: 600 !important;
}
+}
- .side-bar-button {
- @apply flex w-full;
- }
+/* IBM Settings: inline links (Link/link-primary) — tabs are links too, but
+ they use the blue underline border, not text-decoration */
+[data-theme="ibm"] .ibm-settings-page a[href]:not([data-slot="tabs-trigger"]) {
+ color: hsl(var(--link-primary));
+}
- .components-disclosure-arrangement {
- @apply -mt-px flex w-full select-none items-center justify-between border-y border-y-input bg-primary-foreground px-3 py-2;
- }
+[data-theme="ibm"]
+ .ibm-settings-page
+ a[href]:not([data-slot="tabs-trigger"]):hover {
+ text-decoration: underline;
+ text-underline-offset: 2px;
+}
- .components-disclosure-title {
- @apply flex items-center text-sm text-primary;
- }
+/* IBM Carbon Design System: Input fields styling */
+[data-theme="ibm"] .primary-input {
+ border: none;
+ border-radius: 0;
+ border-bottom: 2px solid hsl(var(--input));
+ background-color: hsl(var(--layer-contextual));
+ /* Explicit color so dialog `color: #f4f4f4` does not win over light input backgrounds */
+ color: hsl(var(--layer-contextual-foreground));
+}
- .toolbar-wrapper {
- @apply flex h-10 items-center gap-1 rounded-xl border border-border bg-background p-1 shadow-sm;
- }
+[data-theme="ibm"].dark .primary-input {
+ background-color: hsl(var(--layer-contextual));
+}
- .playground-btn-flow-toolbar {
- @apply relative inline-flex h-8 w-full items-center justify-center gap-1.5 rounded px-3 py-1.5 text-sm font-normal transition-all duration-500 ease-in-out;
- }
+[data-theme="ibm"] .primary-input:hover {
+ border-bottom-color: hsl(var(--foreground));
+}
- .input-search {
- @apply primary-input mx-2 pr-7;
- }
+[data-theme="ibm"] .primary-input:focus {
+ border-bottom-color: hsl(var(--primary));
+}
- /* GitHub Star Button */
- .github-star-link {
- @apply inline-flex h-8 items-center rounded-md text-sm font-medium text-muted-foreground shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2;
- }
+/* IBM Carbon Design System: Placeholder text uses secondary color #C6C6C6 */
+[data-theme="ibm"] .primary-input::placeholder {
+ color: hsl(var(--muted-foreground));
+}
- .github-star-content {
- @apply flex items-center px-2 pr-1;
- }
+/* IBM Carbon Design System: Select/Combobox styling (ModelSelector buttons) */
+[data-theme="ibm"] .ibm-settings-page button[role="combobox"] {
+ border: none;
+ border-radius: 0;
+ border-bottom: 2px solid hsl(var(--input));
+ background-color: hsl(var(--layer-contextual));
+}
- .github-star-icon {
- @apply h-4 w-4;
- }
+[data-theme="ibm"]
+ .ibm-settings-page
+ button[role="combobox"]:hover:not(:disabled) {
+ border-bottom-color: hsl(var(--foreground));
+ background-color: hsl(var(--layer-contextual));
+}
- .github-star-text {
- @apply ml-1;
- }
+[data-theme="ibm"] .ibm-settings-page button[role="combobox"]:focus {
+ border-bottom-color: hsl(var(--primary));
+}
- .github-star-count-section {
- @apply border-l bg-muted/80 px-2 py-1;
- }
+/* IBM Carbon Design System: Regular Select trigger styling */
+[data-theme="ibm"] .ibm-settings-page [data-radix-select-trigger] {
+ border: none;
+ border-radius: 0;
+ border-bottom: 2px solid hsl(var(--input));
+ background-color: hsl(var(--card));
+}
- .github-star-display {
- @apply flex items-center gap-1;
- }
+[data-theme="ibm"]
+ .ibm-settings-page
+ [data-radix-select-trigger]:hover:not(:disabled) {
+ border-bottom-color: hsl(var(--foreground));
+ background-color: hsl(var(--card));
+}
- .github-star-count-icon {
- @apply h-3 w-3 fill-current;
- }
+[data-theme="ibm"] .ibm-settings-page [data-radix-select-trigger]:focus {
+ border-bottom-color: hsl(var(--primary));
+}
- .github-star-count {
- @apply text-xs font-medium text-foreground;
- }
+/* IBM Carbon Design System: Flatten cards in settings page */
+[data-theme="ibm"] .ibm-settings-page .rounded-xl {
+ border-color: transparent;
+ background-color: transparent;
+ box-shadow: none;
+}
- .github-star-loading {
- @apply flex items-center justify-center;
- }
+/* IBM chat nudges / quick actions */
+[data-theme="ibm"] .ibm-chat-bubble {
+ border-color: var(--chat-surface-border);
+}
- .github-star-skeleton {
- @apply h-3 w-8 animate-pulse bg-muted-foreground/20 rounded;
- }
+[data-theme="ibm"].dark .ibm-chat-bubble {
+ background-color: #262626;
+}
- .github-star-error {
- @apply text-xs text-muted-foreground;
- }
+[data-theme="ibm"] .rounded-2xl {
+ border-radius: 0;
+}
- /* Discord Link */
- .discord-link {
- @apply inline-flex h-8 items-center rounded-md text-sm font-medium shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2;
- background-color: #5865f2;
- border-color: #5865f2;
- color: white;
- }
+[data-theme="ibm"] .rounded-xl {
+ border-radius: 0;
+}
- .discord-link:hover {
- @apply opacity-90;
- }
+/*
+ * IBM chat page only: body copy #000 (light) / #fff (dark) via tokens.
+ * Scoped so OSS and non-chat IBM surfaces keep existing --foreground.
+ */
+[data-theme="ibm"] .ibm-chat-page {
+ --ibm-chat-text: 0 0% 0%;
+ --foreground: var(--ibm-chat-text);
+ --muted-foreground: var(--ibm-chat-text);
+}
- .discord-content {
- @apply flex items-center px-2 pr-1;
- }
+[data-theme="ibm"].dark .ibm-chat-page {
+ --ibm-chat-text: 0 0% 100%;
+ --foreground: var(--ibm-chat-text);
+ --muted-foreground: var(--ibm-chat-text);
+}
- .discord-icon {
- @apply flex items-center justify-center;
- }
+[data-theme="ibm"] .ibm-chat-page .markdown.prose {
+ color: hsl(var(--ibm-chat-text));
+}
- .discord-text {
- @apply ml-1;
- }
+[data-theme="ibm"] .ibm-chat-page .markdown.prose a {
+ color: hsl(var(--primary));
+}
- .discord-member-section {
- @apply border-l border-white/20 bg-black/10 px-2 py-1;
- }
+[data-theme="ibm"] .fc-card {
+ background-color: #eaeff6;
+}
- .discord-member-display {
- @apply flex items-center gap-1;
- }
+[data-theme="ibm"] .fc-card pre,
+[data-theme="ibm"] .fc-card .fc-value,
+[data-theme="ibm"] .fc-card .fc-result {
+ background-color: rgba(120, 169, 255, 0.2); /* #78A9FF at 20% */
+}
- .discord-member-icon {
- @apply h-3 w-3;
- }
+[data-theme="ibm"]:not(.dark) .fc-card .fc-id {
+ color: #0f62fe;
+}
- .discord-member-count {
- @apply text-xs font-medium;
- }
+[data-theme="ibm"].dark .fc-card {
+ background-color: #1d2431;
+}
- .discord-loading {
- @apply flex items-center justify-center;
- }
+[data-theme="ibm"]:not(.dark) .chat-submit {
+ background-color: transparent;
+ color: #161616;
+}
- .discord-skeleton {
- @apply h-3 w-8 animate-pulse bg-white/20 rounded;
- }
+[data-theme="ibm"]:not(.dark) .chat-submit:hover:not(:disabled) {
+ background-color: #e8e8e8;
+}
- .discord-error {
- @apply text-xs opacity-70;
- }
+[data-theme="ibm"].dark .chat-submit {
+ background-color: transparent;
+ color: #f4f4f4;
+}
- .prose
- :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
- @apply text-current;
- }
+[data-theme="ibm"].dark .chat-submit:hover:not(:disabled) {
+ background-color: rgba(141, 141, 141, 0.4);
+}
- .prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
- @apply text-current;
- }
+[data-theme="ibm"]:not(.dark) .fc-status-completed {
+ background-color: #a7f0ba;
+ color: #0e6027;
+ border-color: #a7f0ba;
+}
- .box-shadow-inner::after {
- content: " ";
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- pointer-events: none;
- background: linear-gradient(to top, hsl(var(--background)), transparent);
- display: block;
- width: 100%;
- height: 30px;
- }
+[data-theme="ibm"].dark .fc-status-completed {
+ background-color: #0e6027;
+ color: #a7f0ba;
+ border-color: #0e6027;
+}
- .thinking-dots::after {
- content: ".";
- animation: thinking-dots 1.4s steps(3, end) infinite;
- }
+[data-theme="ibm"].dark .fc-card pre,
+[data-theme="ibm"].dark .fc-card .fc-value,
+[data-theme="ibm"].dark .fc-card .fc-result {
+ background-color: rgba(15, 98, 254, 0.2); /* #0F62FE at 20% */
+}
+@layer components {
@keyframes thinking-dots {
0% {
content: ".";
diff --git a/frontend/app/knowledge/page.test.tsx b/frontend/app/knowledge/page.test.tsx
index f7cc415cc..9eb299a1e 100644
--- a/frontend/app/knowledge/page.test.tsx
+++ b/frontend/app/knowledge/page.test.tsx
@@ -10,6 +10,7 @@
* formatAvgScoreLabel — avg-score cell number / dash formatting
* formatChunkCountLabel — chunk-count cell number / dash formatting
* resolveDisplayStatus — failed→cancelled promotion for cancelled files
+ * getSourceIcon — registry icon, url/docs, s3 and default fallbacks
*
* SearchPage render smoke-test — exercises the column-definition object
* construction (colOwner, colChunks, colAvgScore, colStatus, colActions, …)
@@ -35,6 +36,7 @@ import ProtectedSearchPage, {
getFileStatus,
getOwnerLabel,
getSkippedWarningText,
+ getSourceIcon,
getStatusSortRank,
isSkippedStatus,
resolveActionsVariant,
@@ -70,6 +72,35 @@ describe("getStatusSortRank", () => {
});
});
+describe("getSourceIcon", () => {
+ const renderIcon = (connectorType?: string) =>
+ render(<>{getSourceIcon(connectorType)}</>).container.querySelector("svg");
+
+ it("uses the registry icon for a registered connector", () => {
+ const icon = renderIcon("google_drive");
+ expect(icon).toHaveClass("text-foreground", "shrink-0");
+ });
+
+ it("renders a muted globe for url and openrag_docs sources", () => {
+ for (const type of ["url", "openrag_docs"]) {
+ const icon = renderIcon(type);
+ expect(icon).toHaveClass("lucide-globe", "text-muted-foreground");
+ }
+ });
+
+ it("renders a cloud for legacy s3 sources", () => {
+ expect(renderIcon("s3")).toHaveClass("lucide-cloud", "shrink-0");
+ });
+
+ it("falls back to a muted file icon for unknown or missing types", () => {
+ for (const type of [undefined, "local"]) {
+ const icon = renderIcon(type);
+ expect(icon).toHaveClass("text-muted-foreground", "shrink-0");
+ expect(icon).not.toHaveClass("lucide-globe");
+ }
+ });
+});
+
describe("getSkippedWarningText", () => {
it("returns the provided warning when present", () => {
const msg =
diff --git a/frontend/app/knowledge/page.tsx b/frontend/app/knowledge/page.tsx
index 4c214abb8..624db4f1b 100644
--- a/frontend/app/knowledge/page.tsx
+++ b/frontend/app/knowledge/page.tsx
@@ -106,21 +106,19 @@ function pruneNonDeletableGridSelection(
}
// Function to get the appropriate icon for a connector type
-function getSourceIcon(connectorType?: string) {
+export function getSourceIcon(connectorType?: string) {
if (connectorType) {
const Icon = getConnectorDescriptor(connectorType)?.Icon;
- if (Icon) return <Icon className="h-4 w-4 text-foreground flex-shrink-0" />;
+ if (Icon) return <Icon className="h-4 w-4 text-foreground shrink-0" />;
}
switch (connectorType) {
case "openrag_docs":
case "url":
- return <Globe className="h-4 w-4 text-muted-foreground flex-shrink-0" />;
+ return <Globe className="h-4 w-4 text-muted-foreground shrink-0" />;
case "s3":
- return <Cloud className="h-4 w-4 text-foreground flex-shrink-0" />;
+ return <Cloud className="h-4 w-4 text-foreground shrink-0" />;
default:
- return (
- <FileIcon className="h-4 w-4 text-muted-foreground flex-shrink-0" />
- );
+ return <FileIcon className="h-4 w-4 text-muted-foreground shrink-0" />;
}
}
@@ -201,7 +199,7 @@ export function SkippedStatusCell({ warning }: { warning?: string }) {
<TooltipContent
side="top"
align="end"
- className="max-w-80 whitespace-pre-wrap break-words"
+ className="max-w-80 whitespace-pre-wrap wrap-break-word"
>
{warningText}
</TooltipContent>
@@ -368,7 +366,7 @@ export function StatusCellContent({
<TooltipContent
side="top"
align="end"
- className="max-w-80 whitespace-pre-wrap break-words"
+ className="max-w-80 whitespace-pre-wrap wrap-break-word"
>
{data.error}
</TooltipContent>
@@ -1190,7 +1188,7 @@ function SearchPage() {
</div>
) : (
/* Search Input Area */
- <div className="flex items-center flex-shrink-0 flex-wrap-reverse gap-3 mb-6">
+ <div className="flex items-center shrink-0 flex-wrap-reverse gap-3 mb-6">
{!isNarrow && (
<KnowledgeSearchInput placeholder="Search your documents..." />
)}
@@ -1198,7 +1196,7 @@ function SearchPage() {
<Button
type="button"
variant="outline"
- className="rounded-lg flex-shrink-0"
+ className="rounded-lg shrink-0"
disabled={
syncAllConnectorsMutation.isPending ||
syncAllPreviewMutation.isPending
@@ -1222,7 +1220,7 @@ function SearchPage() {
<Button
type="button"
variant="outline"
- className="rounded-lg flex-shrink-0"
+ className="rounded-lg shrink-0"
disabled={refreshOpenragDocsMutation.isPending}
onClick={async () => {
trackButton({
@@ -1255,7 +1253,7 @@ function SearchPage() {
<Button
type="button"
variant="destructive"
- className="rounded-lg flex-shrink-0"
+ className="rounded-lg shrink-0"
onClick={() => setShowBulkDeleteDialog(true)}
>
Delete
diff --git a/frontend/app/onboarding/_components/animated-provider-steps.tsx b/frontend/app/onboarding/_components/animated-provider-steps.tsx
index da9bc5e20..0767c884f 100644
--- a/frontend/app/onboarding/_components/animated-provider-steps.tsx
+++ b/frontend/app/onboarding/_components/animated-provider-steps.tsx
@@ -89,7 +89,7 @@ export function AnimatedProviderSteps({
/>
</div>
- <span className="!text-mmd font-medium text-muted-foreground">
+ <span className="text-mmd! font-medium text-muted-foreground">
{hasError ? "Error" : isDone ? "Done" : "Thinking"}
</span>
</div>
diff --git a/frontend/app/onboarding/_components/anthropic-onboarding.tsx b/frontend/app/onboarding/_components/anthropic-onboarding.tsx
index 8d385d3b0..917296cd4 100644
--- a/frontend/app/onboarding/_components/anthropic-onboarding.tsx
+++ b/frontend/app/onboarding/_components/anthropic-onboarding.tsx
@@ -121,7 +121,7 @@ export function AnthropicOnboarding({
<LabelInput
label="Anthropic API key"
helperText="The API key for your Anthropic account."
- className={showModelsError ? "!border-destructive" : ""}
+ className={showModelsError ? "border-destructive!" : ""}
id="api-key"
type="password"
required
diff --git a/frontend/app/onboarding/_components/ibm-onboarding.tsx b/frontend/app/onboarding/_components/ibm-onboarding.tsx
index e46d02476..822f20447 100644
--- a/frontend/app/onboarding/_components/ibm-onboarding.tsx
+++ b/frontend/app/onboarding/_components/ibm-onboarding.tsx
@@ -237,7 +237,7 @@ export function IBMOnboarding({
<LabelInput
label="watsonx API key"
helperText="API key to access watsonx.ai"
- className={showModelsError ? "!border-destructive" : ""}
+ className={showModelsError ? "border-destructive!" : ""}
id="api-key"
type="password"
required
diff --git a/frontend/app/onboarding/_components/onboarding-card.tsx b/frontend/app/onboarding/_components/onboarding-card.tsx
index 589f492e4..956c86459 100644
--- a/frontend/app/onboarding/_components/onboarding-card.tsx
+++ b/frontend/app/onboarding/_components/onboarding-card.tsx
@@ -652,7 +652,7 @@ const OnboardingCard = ({
"data-[state=active]:border-destructive",
// Fixed 3-up basis so every card is the same width
// (like a grid) while flex still fills the row.
- "min-w-52 grow-0 basis-[calc((100%_-_1.5rem)/3)]",
+ "min-w-52 grow-0 basis-[calc((100%-1.5rem)/3)]",
)}
>
<TabTrigger
diff --git a/frontend/app/onboarding/_components/onboarding-step.tsx b/frontend/app/onboarding/_components/onboarding-step.tsx
index bf9cc2bbe..48ee38b00 100644
--- a/frontend/app/onboarding/_components/onboarding-step.tsx
+++ b/frontend/app/onboarding/_components/onboarding-step.tsx
@@ -89,10 +89,10 @@ export function OnboardingStep({
<Message
icon={
hideIcon ? (
- <div className="w-8 h-8 rounded-lg flex-shrink-0" />
+ <div className="w-8 h-8 rounded-lg shrink-0" />
) : (
icon || (
- <div className="w-8 h-8 flex items-center justify-center flex-shrink-0 select-none">
+ <div className="w-8 h-8 flex items-center justify-center shrink-0 select-none">
<DogIcon
className="h-6 w-6 text-accent-foreground transition-colors duration-300"
disabled={isCompleted}
diff --git a/frontend/app/onboarding/_components/openai-onboarding.tsx b/frontend/app/onboarding/_components/openai-onboarding.tsx
index 338520c36..d5b8eadb5 100644
--- a/frontend/app/onboarding/_components/openai-onboarding.tsx
+++ b/frontend/app/onboarding/_components/openai-onboarding.tsx
@@ -116,7 +116,7 @@ export function OpenAIOnboarding({
<LabelInput
label="OpenAI API key"
helperText="The API key for your OpenAI account."
- className={showModelsError ? "!border-destructive" : ""}
+ className={showModelsError ? "border-destructive!" : ""}
id="api-key"
type="password"
required
diff --git a/frontend/app/onboarding/_components/progress-bar.tsx b/frontend/app/onboarding/_components/progress-bar.tsx
index 7e425a6bd..eaf397485 100644
--- a/frontend/app/onboarding/_components/progress-bar.tsx
+++ b/frontend/app/onboarding/_components/progress-bar.tsx
@@ -47,7 +47,7 @@ export function ProgressBar({
});
onSkip?.();
}}
- className="flex items-center gap-2 text-mmd !text-placeholder-foreground hover:!text-foreground hover:!no-underline"
+ className="flex items-center gap-2 text-mmd text-placeholder-foreground! hover:text-foreground! hover:no-underline!"
>
Skip overview
<ArrowRight className="w-4 h-4" />
diff --git a/frontend/app/settings/_components/agent-settings-section.tsx b/frontend/app/settings/_components/agent-settings-section.tsx
index 1e8a2fecb..58f76a71f 100644
--- a/frontend/app/settings/_components/agent-settings-section.tsx
+++ b/frontend/app/settings/_components/agent-settings-section.tsx
@@ -363,7 +363,7 @@ export function AgentSettingsSection() {
</div>
<div className="space-y-2">
<div className="flex items-center justify-between gap-4">
- <Label htmlFor="system-prompt" className="font-medium !text-mmd">
+ <Label htmlFor="system-prompt" className="font-medium text-mmd!">
Agent instructions
</Label>
<span
@@ -390,7 +390,7 @@ export function AgentSettingsSection() {
className={cn(
"resize-y",
systemPrompt.length > MAX_SYSTEM_PROMPT_CHARS &&
- "!border-destructive focus:border-destructive",
+ "border-destructive! focus:border-destructive",
)}
/>
</div>
diff --git a/frontend/app/settings/_components/anthropic-settings-dialog.tsx b/frontend/app/settings/_components/anthropic-settings-dialog.tsx
index ffa2de369..6542a0bf7 100644
--- a/frontend/app/settings/_components/anthropic-settings-dialog.tsx
+++ b/frontend/app/settings/_components/anthropic-settings-dialog.tsx
@@ -175,7 +175,7 @@ const AnthropicSettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{settingsMutation.error?.message}
</p>
</motion.div>
@@ -187,7 +187,7 @@ const AnthropicSettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{removeMutation.error?.message}
</p>
</motion.div>
diff --git a/frontend/app/settings/_components/anthropic-settings-form.tsx b/frontend/app/settings/_components/anthropic-settings-form.tsx
index 98d3be5a1..3f95b910e 100644
--- a/frontend/app/settings/_components/anthropic-settings-form.tsx
+++ b/frontend/app/settings/_components/anthropic-settings-form.tsx
@@ -33,7 +33,7 @@ export function AnthropicSettingsForm({
{...register("apiKey", {
required: "API key is required",
})}
- className={apiKeyError ? "!border-destructive" : ""}
+ className={apiKeyError ? "border-destructive!" : ""}
id="api-key"
type="password"
autoComplete="new-password"
@@ -43,7 +43,7 @@ export function AnthropicSettingsForm({
{apiKeyError && (
<p
data-testid="provider-connection-error"
- className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]"
+ className="text-sm text-destructive min-w-0 wrap-anywhere"
>
{apiKeyError}
</p>
diff --git a/frontend/app/settings/_components/connector-card.tsx b/frontend/app/settings/_components/connector-card.tsx
index 940bf65c2..1b2ed125f 100644
--- a/frontend/app/settings/_components/connector-card.tsx
+++ b/frontend/app/settings/_components/connector-card.tsx
@@ -101,7 +101,7 @@ export default function ConnectorCard({
<CardDescription
className={cn(
"text-sm",
- isCloudBrand && "!text-layer-contextual-foreground",
+ isCloudBrand && "text-layer-contextual-foreground!",
)}
>
{isConnected
@@ -131,7 +131,7 @@ export default function ConnectorCard({
: "You do not have permission to add knowledge"
}
className={cn(
- "cursor-pointer !text-sm truncate flex-1 text-primary-foreground [&_svg]:text-primary-foreground",
+ "cursor-pointer text-sm! truncate flex-1 text-primary-foreground [&_svg]:text-primary-foreground",
isCloudBrand ? "rounded-none" : "rounded-md",
)}
size="md"
diff --git a/frontend/app/settings/_components/ollama-settings-dialog.tsx b/frontend/app/settings/_components/ollama-settings-dialog.tsx
index ef77f02d4..7aafbf2ff 100644
--- a/frontend/app/settings/_components/ollama-settings-dialog.tsx
+++ b/frontend/app/settings/_components/ollama-settings-dialog.tsx
@@ -179,7 +179,7 @@ const OllamaSettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{settingsMutation.error?.message}
</p>
</motion.div>
@@ -192,7 +192,7 @@ const OllamaSettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{removeMutation.error?.message}
</p>
</motion.div>
diff --git a/frontend/app/settings/_components/ollama-settings-form.tsx b/frontend/app/settings/_components/ollama-settings-form.tsx
index ee9d7d4ff..c5debcaa8 100644
--- a/frontend/app/settings/_components/ollama-settings-form.tsx
+++ b/frontend/app/settings/_components/ollama-settings-form.tsx
@@ -33,7 +33,7 @@ export function OllamaSettingsForm({
{...register("endpoint", {
required: "Ollama base URL is required",
})}
- className={endpointError ? "!border-destructive" : ""}
+ className={endpointError ? "border-destructive!" : ""}
id="endpoint"
type="text"
placeholder="http://localhost:11434"
@@ -42,7 +42,7 @@ export function OllamaSettingsForm({
{endpointError && (
<p
data-testid="provider-connection-error"
- className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]"
+ className="text-sm text-destructive min-w-0 wrap-anywhere"
>
{endpointError}
</p>
diff --git a/frontend/app/settings/_components/openai-settings-dialog.tsx b/frontend/app/settings/_components/openai-settings-dialog.tsx
index 20d7202b0..281bfa121 100644
--- a/frontend/app/settings/_components/openai-settings-dialog.tsx
+++ b/frontend/app/settings/_components/openai-settings-dialog.tsx
@@ -187,7 +187,7 @@ const OpenAISettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{settingsMutation.error?.message}
</p>
</motion.div>
@@ -200,7 +200,7 @@ const OpenAISettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{removeMutation.error?.message}
</p>
</motion.div>
diff --git a/frontend/app/settings/_components/openai-settings-form.tsx b/frontend/app/settings/_components/openai-settings-form.tsx
index 778e30f47..b238bac3d 100644
--- a/frontend/app/settings/_components/openai-settings-form.tsx
+++ b/frontend/app/settings/_components/openai-settings-form.tsx
@@ -33,7 +33,7 @@ export function OpenAISettingsForm({
{...register("apiKey", {
required: "API key is required",
})}
- className={apiKeyError ? "!border-destructive" : ""}
+ className={apiKeyError ? "border-destructive!" : ""}
id="api-key"
type="password"
autoComplete="new-password"
@@ -43,7 +43,7 @@ export function OpenAISettingsForm({
{apiKeyError && (
<p
data-testid="provider-connection-error"
- className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]"
+ className="text-sm text-destructive min-w-0 wrap-anywhere"
>
{apiKeyError}
</p>
diff --git a/frontend/app/settings/_components/provider-settings-dialog.tsx b/frontend/app/settings/_components/provider-settings-dialog.tsx
index a606a620b..25f9d3795 100644
--- a/frontend/app/settings/_components/provider-settings-dialog.tsx
+++ b/frontend/app/settings/_components/provider-settings-dialog.tsx
@@ -264,7 +264,7 @@ const ProviderSettingsDialog = ({
>
<p
data-testid="provider-connection-error"
- className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]"
+ className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere"
>
{settingsMutation.error?.message}
</p>
@@ -278,7 +278,7 @@ const ProviderSettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{removeMutation.error?.message}
</p>
</m.div>
diff --git a/frontend/app/settings/_components/provider-settings-form.tsx b/frontend/app/settings/_components/provider-settings-form.tsx
index 0356255db..4e2fb2a09 100644
--- a/frontend/app/settings/_components/provider-settings-form.tsx
+++ b/frontend/app/settings/_components/provider-settings-form.tsx
@@ -130,7 +130,7 @@ export function ProviderSettingsForm({
{...register(`credentials.${field.key}`, {
required: required ? `${field.label} is required` : false,
})}
- className={error ? "!border-destructive" : ""}
+ className={error ? "border-destructive!" : ""}
id={`provider-field-${field.key}`}
placeholder={
hasSaved ? "•••••••••" : (field.placeholder ?? undefined)
@@ -141,7 +141,7 @@ export function ProviderSettingsForm({
{...register(`credentials.${field.key}`, {
required: required ? `${field.label} is required` : false,
})}
- className={error ? "!border-destructive" : ""}
+ className={error ? "border-destructive!" : ""}
id={`provider-field-${field.key}`}
type={field.field_type === "password" ? "password" : "text"}
autoComplete={
@@ -161,7 +161,7 @@ export function ProviderSettingsForm({
{error && (
<p
data-testid="provider-connection-error"
- className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]"
+ className="text-sm text-destructive min-w-0 wrap-anywhere"
>
{error}
</p>
@@ -273,7 +273,7 @@ export function ProviderSettingsForm({
{saveError && (
<p
data-testid="provider-connection-error"
- className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]"
+ className="text-sm text-destructive min-w-0 wrap-anywhere"
>
{saveError}
</p>
diff --git a/frontend/app/settings/_components/watsonx-settings-dialog.tsx b/frontend/app/settings/_components/watsonx-settings-dialog.tsx
index 322276a4c..764ccb9c6 100644
--- a/frontend/app/settings/_components/watsonx-settings-dialog.tsx
+++ b/frontend/app/settings/_components/watsonx-settings-dialog.tsx
@@ -199,7 +199,7 @@ const WatsonxSettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{settingsMutation.error?.message}
</p>
</motion.div>
@@ -212,7 +212,7 @@ const WatsonxSettingsDialog = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -10 }}
>
- <p className="rounded-lg border border-destructive p-4 min-w-0 [overflow-wrap:anywhere]">
+ <p className="rounded-lg border border-destructive p-4 min-w-0 wrap-anywhere">
{removeMutation.error?.message}
</p>
</motion.div>
diff --git a/frontend/app/settings/_components/watsonx-settings-form.tsx b/frontend/app/settings/_components/watsonx-settings-form.tsx
index 37153f582..98985bb33 100644
--- a/frontend/app/settings/_components/watsonx-settings-form.tsx
+++ b/frontend/app/settings/_components/watsonx-settings-form.tsx
@@ -80,7 +80,7 @@ export function WatsonxSettingsForm({
/>
</LabelWrapper>
{errors.endpoint && (
- <p className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]">
+ <p className="text-sm text-destructive min-w-0 wrap-anywhere">
{errors.endpoint.message}
</p>
)}
@@ -97,7 +97,7 @@ export function WatsonxSettingsForm({
required: "Project ID is required",
})}
className={
- errors.projectId || modelsError ? "!border-destructive" : ""
+ errors.projectId || modelsError ? "border-destructive!" : ""
}
id="project-id"
type="text"
@@ -105,7 +105,7 @@ export function WatsonxSettingsForm({
/>
</LabelWrapper>
{errors.projectId && (
- <p className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]">
+ <p className="text-sm text-destructive min-w-0 wrap-anywhere">
{errors.projectId.message}
</p>
)}
@@ -122,7 +122,7 @@ export function WatsonxSettingsForm({
required: "API key is required",
})}
className={
- errors.apiKey || modelsError ? "!border-destructive" : ""
+ errors.apiKey || modelsError ? "border-destructive!" : ""
}
id="api-key"
type="password"
@@ -131,7 +131,7 @@ export function WatsonxSettingsForm({
/>
</LabelWrapper>
{errors.apiKey && (
- <p className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]">
+ <p className="text-sm text-destructive min-w-0 wrap-anywhere">
{errors.apiKey.message}
</p>
)}
@@ -143,7 +143,7 @@ export function WatsonxSettingsForm({
{modelsError && (
<p
data-testid="provider-connection-error"
- className="text-sm text-destructive min-w-0 [overflow-wrap:anywhere]"
+ className="text-sm text-destructive min-w-0 wrap-anywhere"
>
{modelsError.message}
</p>
diff --git a/frontend/components.json b/frontend/components.json
index e4c9021f5..7e41044b9 100644
--- a/frontend/components.json
+++ b/frontend/components.json
@@ -4,7 +4,7 @@
"rsc": true,
"tsx": true,
"tailwind": {
- "config": "tailwind.config.ts",
+ "config": "",
"css": "app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
diff --git a/frontend/components/bulk-delete-button.tsx b/frontend/components/bulk-delete-button.tsx
index e998b0269..53f9fee27 100644
--- a/frontend/components/bulk-delete-button.tsx
+++ b/frontend/components/bulk-delete-button.tsx
@@ -22,8 +22,8 @@ export const BulkDeleteButton = ({
disabled={count === 0 || isDeleting}
onClick={onDelete}
data-testid="bulk-delete-confirm"
- className="w-full !bg-transparent !border-red-600 text-red-600 hover:bg-red-50 dark:hover:bg-red-950/30
- disabled:opacity-100 disabled:!border-red-200 disabled:text-red-200 dark:disabled:!border-red-900 dark:disabled:text-red-900"
+ className="w-full bg-transparent! border-red-600! text-red-600 hover:bg-red-50 dark:hover:bg-red-950/30
+ disabled:opacity-100 disabled:border-red-200! disabled:text-red-200 dark:disabled:border-red-900! dark:disabled:text-red-900"
>
<Trash2 className="mr-2 h-4 w-4" />
Delete {count} chats
diff --git a/frontend/components/chat-renderer.tsx b/frontend/components/chat-renderer.tsx
index c962a3a66..df0614d50 100644
--- a/frontend/components/chat-renderer.tsx
+++ b/frontend/components/chat-renderer.tsx
@@ -491,7 +491,7 @@ export function ChatRenderer({
</>
)}
{isSelectingChats && (
- <div className="absolute inset-0 z-10 backdrop-blur-sm bg-background/60 flex items-center justify-center">
+ <div className="absolute inset-0 z-10 backdrop-blur-xs bg-background/60 flex items-center justify-center">
<div className="flex flex-col items-center gap-3 text-center px-8">
<div className="p-4 rounded-xl bg-muted">
<File className="h-8 w-8 text-muted-foreground" />
diff --git a/frontend/components/code-component.tsx b/frontend/components/code-component.tsx
index e612484de..0633ba130 100644
--- a/frontend/components/code-component.tsx
+++ b/frontend/components/code-component.tsx
@@ -47,7 +47,7 @@ export default function CodeComponent({ code, language }: CodeComponentProps) {
<SyntaxHighlighter
language={language.toLowerCase()}
style={tomorrow}
- className="!mt-0 h-full w-full overflow-scroll !rounded-b-md !rounded-t-none border border-border text-left !custom-scroll !text-sm"
+ className="mt-0! h-full w-full overflow-scroll rounded-b-md! rounded-t-none! border border-border text-left custom-scroll! text-sm!"
>
{code}
</SyntaxHighlighter>
diff --git a/frontend/components/console-status/button.tsx b/frontend/components/console-status/button.tsx
index 04449cd79..a716430f0 100644
--- a/frontend/components/console-status/button.tsx
+++ b/frontend/components/console-status/button.tsx
@@ -32,7 +32,7 @@ export function ConsoleStatusButton({
"relative flex items-center gap-2 rounded-lg transition-colors",
isNarrow
? "h-8 w-8 justify-center hover:bg-muted"
- : "px-3 py-2 bg-muted border border-border text-foreground text-sm font-medium hover:bg-muted/80 hover:border-muted-foreground/40 shadow-sm",
+ : "px-3 py-2 bg-muted border border-border text-foreground text-sm font-medium hover:bg-muted/80 hover:border-muted-foreground/40 shadow-xs",
!isNarrow && isOpen && "bg-muted/80 border-muted-foreground/40",
)}
>
diff --git a/frontend/components/console-status/component-card.tsx b/frontend/components/console-status/component-card.tsx
index 05d80f0d1..083b4c6bb 100644
--- a/frontend/components/console-status/component-card.tsx
+++ b/frontend/components/console-status/component-card.tsx
@@ -204,7 +204,7 @@ export function ComponentCard({ component }: { component: ComponentStatus }) {
{status}
</span>
{version && (
- <span className="text-[11px] text-zinc-500">• v{version}</span>
+ <span className="text-xxs text-zinc-500">• v{version}</span>
)}
</div>
{message && (
@@ -214,7 +214,7 @@ export function ComponentCard({ component }: { component: ComponentStatus }) {
<div className="flex items-center gap-2 shrink-0">
{latency_ms != null && (
- <span className="text-[11px] text-zinc-500 tabular-nums">
+ <span className="text-xxs text-zinc-500 tabular-nums">
{latency_ms}ms
</span>
)}
diff --git a/frontend/components/console-status/diagnose-modal.tsx b/frontend/components/console-status/diagnose-modal.tsx
index dbbdf7542..fb9e0aca3 100644
--- a/frontend/components/console-status/diagnose-modal.tsx
+++ b/frontend/components/console-status/diagnose-modal.tsx
@@ -47,7 +47,7 @@ export function ComponentDiagnoseModal({
<p className="text-zinc-100">{data.summary}</p>
{data.likely_cause && (
<div>
- <p className="text-[11px] uppercase tracking-wide text-zinc-500">
+ <p className="text-xxs uppercase tracking-wide text-zinc-500">
Likely cause
</p>
<p className="text-zinc-300 mt-0.5">{data.likely_cause}</p>
@@ -55,7 +55,7 @@ export function ComponentDiagnoseModal({
)}
{data.remediation.length > 0 && (
<div>
- <p className="text-[11px] uppercase tracking-wide text-zinc-500">
+ <p className="text-xxs uppercase tracking-wide text-zinc-500">
How to fix
</p>
<ul className="mt-1 space-y-1 list-disc list-inside text-zinc-300">
@@ -66,12 +66,12 @@ export function ComponentDiagnoseModal({
</div>
)}
{data.target && (
- <p className="text-[11px] text-zinc-500">
+ <p className="text-xxs text-zinc-500">
Endpoint: <span className="font-mono">{data.target}</span>
</p>
)}
{data.last_error && (
- <pre className="text-[11px] text-zinc-400 bg-zinc-800/60 rounded p-2 whitespace-pre-wrap break-all font-mono">
+ <pre className="text-xxs text-zinc-400 bg-zinc-800/60 rounded p-2 whitespace-pre-wrap break-all font-mono">
{data.last_error}
</pre>
)}
diff --git a/frontend/components/console-status/logs-modal.tsx b/frontend/components/console-status/logs-modal.tsx
index 658118b70..12dee864c 100644
--- a/frontend/components/console-status/logs-modal.tsx
+++ b/frontend/components/console-status/logs-modal.tsx
@@ -112,7 +112,7 @@ export function ComponentLogsModal({
</span>
</div>
{entry.detail && (
- <p className="text-[11px] text-zinc-400 mt-0.5 ml-0 break-all font-mono">
+ <p className="text-xxs text-zinc-400 mt-0.5 ml-0 break-all font-mono">
{entry.detail}
</p>
)}
@@ -122,7 +122,7 @@ export function ComponentLogsModal({
</div>
<div className="px-4 py-2 border-t border-zinc-700/60">
- <span className="text-[11px] text-zinc-500">
+ <span className="text-xxs text-zinc-500">
{entries.length} entr{entries.length === 1 ? "y" : "ies"} (most
recent 100)
</span>
diff --git a/frontend/components/console-status/panel.tsx b/frontend/components/console-status/panel.tsx
index 8bdf82ff0..2d7471c09 100644
--- a/frontend/components/console-status/panel.tsx
+++ b/frontend/components/console-status/panel.tsx
@@ -58,7 +58,7 @@ function SummaryCard({
const { text } = statusTokens(state);
return (
<div className="flex-1 rounded-lg bg-zinc-800/60 border border-zinc-700/50 px-3 py-2.5">
- <p className="text-[11px] font-medium text-zinc-400 uppercase tracking-wide">
+ <p className="text-xxs font-medium text-zinc-400 uppercase tracking-wide">
{label}
</p>
<p className={cn("text-2xl font-semibold mt-0.5", text)}>{count}</p>
@@ -166,7 +166,7 @@ export function ConsoleStatusPanel({
"fixed right-6 z-40",
"w-[440px] flex flex-col",
"bg-zinc-900 border border-zinc-700/70 rounded-2xl shadow-2xl overflow-hidden",
- "outline-none",
+ "outline-hidden",
)}
style={{
top: panelTop,
diff --git a/frontend/components/dev-role-toggle.tsx b/frontend/components/dev-role-toggle.tsx
index a007ba361..a8cea845b 100644
--- a/frontend/components/dev-role-toggle.tsx
+++ b/frontend/components/dev-role-toggle.tsx
@@ -93,7 +93,7 @@ export function DevRoleToggle() {
key={role.value}
type="button"
disabled={mutation.isPending}
- className={`px-2 h-6 rounded-full text-[11px] font-medium transition-colors disabled:opacity-50 ${
+ className={`px-2 h-6 rounded-full text-xxs font-medium transition-colors disabled:opacity-50 ${
currentRole === role.value
? "bg-blue-600 text-white"
: "text-foreground hover:bg-blue-600 hover:text-white"
diff --git a/frontend/components/docling-preview/text-preview.tsx b/frontend/components/docling-preview/text-preview.tsx
index 837ef7aa2..a5d358a6e 100644
--- a/frontend/components/docling-preview/text-preview.tsx
+++ b/frontend/components/docling-preview/text-preview.tsx
@@ -25,7 +25,7 @@ function ParsedBlock({
children: ReactNode;
}) {
return (
- <div className="relative rounded-md border-2 border-dashed border-blue-600/70 bg-blue-600/[0.12] px-3 pt-4 pb-2 dark:border-blue-500 dark:bg-blue-500/15">
+ <div className="relative rounded-md border-2 border-dashed border-blue-600/70 bg-blue-600/12 px-3 pt-4 pb-2 dark:border-blue-500 dark:bg-blue-500/15">
<span className="absolute -top-2 left-2 rounded px-1 py-px text-xxs font-medium uppercase leading-none tracking-wide bg-blue-600 text-white dark:bg-blue-500">
{label}
</span>
@@ -188,7 +188,7 @@ export function DoclingTextPreview({
return (
<div
- className="space-y-3 rounded-md border border-border/40 bg-white p-4 shadow-sm dark:bg-slate-900"
+ className="space-y-3 rounded-md border border-border/40 bg-white p-4 shadow-xs dark:bg-slate-900"
data-testid="docling-text-preview"
>
{groups.map((group) => {
@@ -200,7 +200,7 @@ export function DoclingTextPreview({
<div
key={key}
ref={key === firstChunkKey ? chunkFrameRef : undefined}
- className="relative space-y-3 rounded-md border-2 border-dashed border-blue-700 bg-blue-700/[0.06] p-3 pt-5 dark:border-blue-400"
+ className="relative space-y-3 rounded-md border-2 border-dashed border-blue-700 bg-blue-700/6 p-3 pt-5 dark:border-blue-400"
data-testid="docling-text-chunk-frame"
>
<span className="absolute -top-2.5 left-2 rounded px-1.5 py-0.5 text-xxs font-medium uppercase leading-none tracking-wide bg-blue-700 text-white dark:bg-blue-400">
diff --git a/frontend/components/duplicate-handling-dialog.tsx b/frontend/components/duplicate-handling-dialog.tsx
index 32311684c..b31fecfdc 100644
--- a/frontend/components/duplicate-handling-dialog.tsx
+++ b/frontend/components/duplicate-handling-dialog.tsx
@@ -115,8 +115,8 @@ export const DuplicateHandlingDialog = ({
className={cn(
"flex items-center gap-2 whitespace-nowrap text-primary-foreground",
isCloudBrand
- ? "rounded-none !bg-[hsl(var(--ibm-overwrite-button))] hover:!bg-[hsl(var(--ibm-overwrite-button-hover))]"
- : "!bg-accent-amber-foreground hover:!bg-foreground",
+ ? "rounded-none bg-[hsl(var(--ibm-overwrite-button))]! hover:bg-[hsl(var(--ibm-overwrite-button-hover))]!"
+ : "bg-accent-amber-foreground! hover:bg-foreground!",
)}
>
<RotateCcw className="h-3.5 w-3.5" />
diff --git a/frontend/components/file-browser-dialog.tsx b/frontend/components/file-browser-dialog.tsx
index e40e0d8e8..0264b7f5f 100644
--- a/frontend/components/file-browser-dialog.tsx
+++ b/frontend/components/file-browser-dialog.tsx
@@ -466,13 +466,13 @@ function FileRow({
</div>
</div>
{file.is_stale ? (
- <Badge variant="outline" className="text-xs flex-shrink-0">
+ <Badge variant="outline" className="text-xs shrink-0">
<RefreshCw className="h-3 w-3 mr-1" />
Update available
</Badge>
) : (
file.is_ingested && (
- <Badge variant="secondary" className="text-xs flex-shrink-0">
+ <Badge variant="secondary" className="text-xs shrink-0">
<Check className="h-3 w-3 mr-1" />
Ingested
</Badge>
diff --git a/frontend/components/file-chunks-panel.tsx b/frontend/components/file-chunks-panel.tsx
index 5c3209500..6d075aaeb 100644
--- a/frontend/components/file-chunks-panel.tsx
+++ b/frontend/components/file-chunks-panel.tsx
@@ -125,7 +125,7 @@ function FileChunkCard({
{showContents ? (
<blockquote
className={cn(
- "min-w-0 text-foreground leading-relaxed break-words [overflow-wrap:anywhere] whitespace-pre-wrap",
+ "min-w-0 text-foreground leading-relaxed wrap-break-word wrap-anywhere whitespace-pre-wrap",
compact ? "text-xs" : "text-sm ml-1.5",
)}
>
diff --git a/frontend/components/highlighted-text.tsx b/frontend/components/highlighted-text.tsx
index dd5d8e45d..c4baf5d3e 100644
--- a/frontend/components/highlighted-text.tsx
+++ b/frontend/components/highlighted-text.tsx
@@ -33,7 +33,7 @@ function parseFragment(fragment: string, keyPrefix: string): React.ReactNode {
return (
<mark
key={key}
- className="bg-yellow-200 dark:bg-yellow-800 text-foreground rounded-[2px] px-[1px] not-italic"
+ className="bg-yellow-200 dark:bg-yellow-800 text-foreground rounded-[2px] px-px not-italic"
>
{inner}
</mark>
diff --git a/frontend/components/ingest-preview-auto-open-control.tsx b/frontend/components/ingest-preview-auto-open-control.tsx
index fddb06026..f413d475b 100644
--- a/frontend/components/ingest-preview-auto-open-control.tsx
+++ b/frontend/components/ingest-preview-auto-open-control.tsx
@@ -31,8 +31,8 @@ export function IngestPreviewAutoOpenControl({
variant="default"
aria-label={ariaLabel}
className={cn(
- "grid !h-9 w-full min-w-0 max-w-[220px] sm:w-[220px] sm:shrink-0 grid-cols-2 items-stretch gap-0 !p-0",
- "border border-border !bg-transparent",
+ "grid h-9! w-full min-w-0 max-w-[220px] sm:w-[220px] sm:shrink-0 grid-cols-2 items-stretch gap-0 p-0!",
+ "border border-border bg-transparent!",
isCloudBrand
? "rounded-none overflow-hidden"
: "rounded-md overflow-hidden",
@@ -43,15 +43,15 @@ export function IngestPreviewAutoOpenControl({
key={option.value}
value={option.value}
className={cn(
- "!flex !h-full !min-h-0 items-center justify-center",
- "!rounded-none !border-0 !px-3 !py-0 !leading-none text-sm font-medium",
- "!shadow-none text-muted-foreground hover:text-foreground",
- "hover:!bg-transparent data-[state=active]:!shadow-none",
- "data-[state=active]:!bg-muted data-[state=active]:!text-foreground",
- "dark:hover:!bg-transparent dark:hover:!text-foreground",
- "dark:data-[state=active]:!bg-white/10 dark:data-[state=active]:!text-foreground",
- "dark:focus-visible:!bg-white/10 dark:focus-visible:!text-foreground",
- option.value === "every" && "!border-r !border-border",
+ "flex! h-full! min-h-0! items-center justify-center",
+ "rounded-none! border-0! px-3! py-0! leading-none! text-sm font-medium",
+ "shadow-none! text-muted-foreground hover:text-foreground",
+ "hover:bg-transparent! data-[state=active]:shadow-none!",
+ "data-[state=active]:bg-muted! data-[state=active]:text-foreground!",
+ "dark:hover:bg-transparent! dark:hover:text-foreground!",
+ "dark:data-[state=active]:bg-white/10! dark:data-[state=active]:text-foreground!",
+ "dark:focus-visible:bg-white/10! dark:focus-visible:text-foreground!",
+ option.value === "every" && "border-r! border-border!",
)}
>
{option.label}
diff --git a/frontend/components/ingest-review.tsx b/frontend/components/ingest-review.tsx
index 5829c7cc6..7a0b9240a 100644
--- a/frontend/components/ingest-review.tsx
+++ b/frontend/components/ingest-review.tsx
@@ -217,7 +217,7 @@ function DoclingDocSkeleton({ expanded = false }: { expanded?: boolean }) {
aria-busy="true"
aria-label="Loading document layout"
>
- <div className="min-h-full rounded-lg border border-border/60 bg-background p-4 shadow-sm space-y-5">
+ <div className="min-h-full rounded-lg border border-border/60 bg-background p-4 shadow-xs space-y-5">
<SkeletonChunk
label="Header"
lines={[
@@ -498,7 +498,7 @@ function DemoChunksList({
</Badge>
</div>
{showContents ? (
- <blockquote className="min-w-0 text-xs text-foreground leading-relaxed break-words [overflow-wrap:anywhere] whitespace-pre-wrap">
+ <blockquote className="min-w-0 text-xs text-foreground leading-relaxed wrap-break-word wrap-anywhere whitespace-pre-wrap">
{chunk.text_preview}
</blockquote>
) : (
@@ -703,7 +703,7 @@ function PreviewFileSelector({
</Button>
</PopoverTrigger>
<PopoverContent
- className="min-w-[260px] w-[var(--radix-popover-trigger-width)] p-0"
+ className="min-w-[260px] w-(--radix-popover-trigger-width) p-0"
align="start"
>
<Command>
@@ -1167,7 +1167,7 @@ function IngestReviewToolbar({
hideSubmit
placeholder="Search chunks…"
className="max-w-none w-full"
- inputClassName="rounded-full !min-h-9"
+ inputClassName="rounded-full min-h-9!"
/>
</div>
) : (
@@ -1439,7 +1439,7 @@ export function IngestReviewDialog({
type="button"
onClick={() => setExpanded((prev) => !prev)}
aria-label={expanded ? "Shrink review" : "Expand review"}
- className="absolute right-11 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
+ className="absolute right-11 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2"
>
{expanded ? (
<Minimize2 className="h-4 w-4" />
diff --git a/frontend/components/knowledge-batch-actions-bar.tsx b/frontend/components/knowledge-batch-actions-bar.tsx
index 923c9b094..737bbe192 100644
--- a/frontend/components/knowledge-batch-actions-bar.tsx
+++ b/frontend/components/knowledge-batch-actions-bar.tsx
@@ -25,7 +25,7 @@ export const KnowledgeBatchActionsBar = ({
type="button"
aria-label="Cancel selection"
onClick={onCancel}
- className="flex h-full w-12 flex-shrink-0 items-center justify-center border-r border-primary-foreground/20 transition-colors hover:bg-primary-foreground/10"
+ className="flex h-full w-12 shrink-0 items-center justify-center border-r border-primary-foreground/20 transition-colors hover:bg-primary-foreground/10"
>
<X className="h-4 w-4" />
</button>
diff --git a/frontend/components/knowledge-dropdown.tsx b/frontend/components/knowledge-dropdown.tsx
index 3f453e3bd..2add6c0b5 100644
--- a/frontend/components/knowledge-dropdown.tsx
+++ b/frontend/components/knowledge-dropdown.tsx
@@ -864,13 +864,13 @@ export function KnowledgeDropdown() {
<div className="flex h-12 pointer-events-none">
<Button
variant="outline"
- className="h-12 px-6 rounded-l-lg rounded-r-none border-r-0 text-[var(--icon-disabled)] cursor-not-allowed"
+ className="h-12 px-6 rounded-l-lg rounded-r-none border-r-0 text-(--icon-disabled) cursor-not-allowed"
>
<span>Add {isCloudBrand ? `knowledge` : `Knowledge`}</span>
</Button>
<Button
variant="outline"
- className="h-12 w-12 flex-shrink-0 rounded-r-lg rounded-l-none border-l border-border text-[var(--icon-disabled)] cursor-not-allowed"
+ className="h-12 w-12 shrink-0 rounded-r-lg rounded-l-none border-l border-border text-(--icon-disabled) cursor-not-allowed"
aria-label="Open add knowledge menu"
>
<ChevronDown className="h-5 w-5" />
@@ -913,7 +913,7 @@ export function KnowledgeDropdown() {
variant="default"
size="icon"
disabled={isLoading}
- className="h-12 w-12 flex-shrink-0 border-l border-placeholder bg-blue-600 text-primary-foreground hover:bg-blue-700"
+ className="h-12 w-12 shrink-0 border-l border-placeholder bg-blue-600 text-primary-foreground hover:bg-blue-700"
aria-label="Open add knowledge menu"
>
{!isLoading && (
diff --git a/frontend/components/knowledge-filter-list.tsx b/frontend/components/knowledge-filter-list.tsx
index 2f3eb339a..1c6b52050 100644
--- a/frontend/components/knowledge-filter-list.tsx
+++ b/frontend/components/knowledge-filter-list.tsx
@@ -75,7 +75,7 @@ export function KnowledgeFilterList({
return (
<div className="flex-1 min-h-0 flex flex-col">
<div className="px-3 flex-1 min-h-0 flex flex-col">
- <div className="flex-shrink-0">
+ <div className="shrink-0">
<div className="flex items-center justify-between mb-3 mr-2 ml-4">
<h3 className="text-xs font-medium text-muted-foreground">
Knowledge Filters
@@ -91,11 +91,11 @@ export function KnowledgeFilterList({
</div>
<div className="overflow-y-auto scrollbar-hide space-y-1">
{loading ? (
- <div className="text-[13px] text-muted-foreground p-2 ml-2">
+ <div className="text-mmd text-muted-foreground p-2 ml-2">
Loading...
</div>
) : filters.length === 0 ? (
- <div className="text-[13px] text-muted-foreground pb-2 pt-3 ml-4">
+ <div className="text-mmd text-muted-foreground pb-2 pt-3 ml-4">
No saved filters
</div>
) : (
diff --git a/frontend/components/knowledge-filter-panel.tsx b/frontend/components/knowledge-filter-panel.tsx
index b8913a5cb..c64b7852c 100644
--- a/frontend/components/knowledge-filter-panel.tsx
+++ b/frontend/components/knowledge-filter-panel.tsx
@@ -323,7 +323,7 @@ export function KnowledgeFilterPanel() {
/>
</div>
</div>
- <div className="text-xs min-h-[1.25rem]">
+ <div className="text-xs min-h-5">
{nameError ? (
<span className="text-destructive">{nameError}</span>
) : (
@@ -450,7 +450,7 @@ export function KnowledgeFilterPanel() {
);
setResultLimit(newLimit);
}}
- className="h-6 text-xs text-right px-2 bg-muted/30 !border-0 rounded ml-auto focus:ring-0 focus:outline-none"
+ className="h-6 text-xs text-right px-2 bg-muted/30 border-0! rounded ml-auto focus:ring-0 focus:outline-hidden"
style={{ width: "70px" }}
/>
</div>
@@ -479,7 +479,7 @@ export function KnowledgeFilterPanel() {
onChange={(e) =>
setScoreThreshold(parseFloat(e.target.value) || 0)
}
- className="h-6 text-xs text-right px-2 bg-muted/30 !border-0 rounded ml-auto focus:ring-0 focus:outline-none"
+ className="h-6 text-xs text-right px-2 bg-muted/30 border-0! rounded ml-auto focus:ring-0 focus:outline-hidden"
style={{ width: "70px" }}
/>
</div>
diff --git a/frontend/components/knowledge-search-bar.tsx b/frontend/components/knowledge-search-bar.tsx
index ea945a45d..ca8cc02c7 100644
--- a/frontend/components/knowledge-search-bar.tsx
+++ b/frontend/components/knowledge-search-bar.tsx
@@ -98,7 +98,7 @@ export const KnowledgeSearchBar = () => {
<div
title={selectedFilter.name}
className={cn(
- "flex h-full flex-shrink-0 items-center gap-1.5 border-r border-border px-2 max-w-[200px]",
+ "flex h-full shrink-0 items-center gap-1.5 border-r border-border px-2 max-w-[200px]",
filterAccentClasses[parsedFilterData?.color || "zinc"],
)}
>
@@ -108,7 +108,7 @@ export const KnowledgeSearchBar = () => {
<button
type="button"
aria-label="Remove filter"
- className="inline-flex h-4 w-4 flex-shrink-0 items-center justify-center opacity-80 transition-opacity hover:opacity-100"
+ className="inline-flex h-4 w-4 shrink-0 items-center justify-center opacity-80 transition-opacity hover:opacity-100"
onClick={() => setSelectedFilter(null)}
>
<X className="h-3.5 w-3.5" />
@@ -116,9 +116,9 @@ export const KnowledgeSearchBar = () => {
</div>
)}
- <div className="flex h-full flex-shrink-0 items-center justify-center">
+ <div className="flex h-full shrink-0 items-center justify-center">
<Search
- className="h-4 w-4 m-4 text-[var(--icon-secondary)]"
+ className="h-4 w-4 m-4 text-(--icon-secondary)"
strokeWidth={1.75}
/>
</div>
@@ -133,14 +133,14 @@ export const KnowledgeSearchBar = () => {
onChange={(e: ChangeEvent<HTMLInputElement>) =>
setSearchQueryInput(e.target.value)
}
- className="h-full w-full bg-transparent text-sm text-foreground placeholder:text-[hsl(var(--placeholder))] focus:outline-none focus:ring-0"
+ className="h-full w-full bg-transparent text-sm text-foreground placeholder:text-[hsl(var(--placeholder))] focus:outline-hidden focus:ring-0"
/>
{searchQueryInput && (
<button
type="button"
aria-label="Clear search"
onClick={handleReset}
- className="inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"
+ className="inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"
>
<X className="h-4 w-4" />
</button>
@@ -153,7 +153,7 @@ export const KnowledgeSearchBar = () => {
)}
type="submit"
>
- <ArrowRight className="h-4 w-4 text-[var(--icon-primary)]" />
+ <ArrowRight className="h-4 w-4 text-(--icon-primary)" />
</Button>
</div>
<Button
@@ -164,11 +164,11 @@ export const KnowledgeSearchBar = () => {
syncAllPreviewMutation.isPending
}
size="icon"
- className="h-auto flex-shrink-0 rounded-none hover:bg-accent hover:text-foreground"
+ className="h-auto shrink-0 rounded-none hover:bg-accent hover:text-foreground"
aria-label="Sync"
onClick={handleOpenSyncDialog}
>
- <RefreshCw className="h-4 w-4 m-4 text-[var(--icon-primary)]" />
+ <RefreshCw className="h-4 w-4 m-4 text-(--icon-primary)" />
</Button>
<RequirePermission perm="config:write">
<Button
@@ -180,7 +180,7 @@ export const KnowledgeSearchBar = () => {
? "Refreshing docs..."
: "Fetch latest docs"
}
- className="h-auto flex-shrink-0 rounded-none px-3 text-sm hover:bg-accent hover:text-foreground gap-2"
+ className="h-auto shrink-0 rounded-none px-3 text-sm hover:bg-accent hover:text-foreground gap-2"
onClick={async () => {
try {
toast.info("Refreshing OpenRAG docs...");
@@ -195,7 +195,7 @@ export const KnowledgeSearchBar = () => {
}
}}
>
- <Download className="h-4 w-4 flex-shrink-0" />
+ <Download className="h-4 w-4 shrink-0" />
<span className="hidden lg:inline">
{refreshOpenragDocsMutation.isPending
? "Refreshing docs..."
diff --git a/frontend/components/knowledge-search-input.tsx b/frontend/components/knowledge-search-input.tsx
index 46a38f5e8..08133a6c6 100644
--- a/frontend/components/knowledge-search-input.tsx
+++ b/frontend/components/knowledge-search-input.tsx
@@ -95,7 +95,7 @@ export function KnowledgeSearchInput({
>
<div
className={cn(
- "primary-input group/input min-h-10 !flex w-full items-center flex-nowrap focus-within:border-foreground transition-colors !p-[0.3rem]",
+ "primary-input group/input min-h-10 flex! w-full items-center flex-nowrap focus-within:border-foreground transition-colors p-[0.3rem]!",
inputClassName,
)}
>
@@ -111,17 +111,17 @@ export function KnowledgeSearchInput({
</span>
<X
aria-label="Remove filter"
- className="h-4 w-4 flex-shrink-0 cursor-pointer"
+ className="h-4 w-4 shrink-0 cursor-pointer"
onClick={() => setSelectedFilter(null)}
/>
</div>
)}
<Search
- className="h-4 w-4 ml-1 flex-shrink-0 text-placeholder-foreground"
+ className="h-4 w-4 ml-1 shrink-0 text-placeholder-foreground"
strokeWidth={1.5}
/>
<input
- className="bg-transparent w-full h-full ml-2 focus:outline-none focus-visible:outline-none font-mono placeholder:font-mono"
+ className="bg-transparent w-full h-full ml-2 focus:outline-hidden focus-visible:outline-hidden font-mono placeholder:font-mono"
name="search-query"
id="search-query"
type="text"
@@ -140,7 +140,7 @@ export function KnowledgeSearchInput({
{showClear && (
<Button
variant="ghost"
- className="h-full rounded-sm !px-1.5 !py-0"
+ className="h-full rounded-sm px-1.5! py-0!"
type="button"
onClick={handleClear}
>
@@ -151,7 +151,7 @@ export function KnowledgeSearchInput({
<Button
variant="ghost"
className={cn(
- "h-full rounded-sm !px-1.5 !py-0 hidden group-focus-within/input:block",
+ "h-full rounded-sm px-1.5! py-0! hidden group-focus-within/input:block",
inputValue && "block",
)}
type="submit"
diff --git a/frontend/components/label-wrapper.tsx b/frontend/components/label-wrapper.tsx
index 5570facf5..f31f26337 100644
--- a/frontend/components/label-wrapper.tsx
+++ b/frontend/components/label-wrapper.tsx
@@ -43,7 +43,7 @@ export function LabelWrapper({
htmlFor={id}
className={cn(
"font-medium flex items-center gap-1.5",
- description ? "!text-sm" : "!text-mmd",
+ description ? "text-sm!" : "text-mmd!",
)}
data-disabled={disabled}
>
diff --git a/frontend/components/markdown-renderer.tsx b/frontend/components/markdown-renderer.tsx
index 220d26d31..793231417 100644
--- a/frontend/components/markdown-renderer.tsx
+++ b/frontend/components/markdown-renderer.tsx
@@ -114,7 +114,7 @@ export const MarkdownRenderer = ({
return (
<div className="max-w-full overflow-hidden rounded-md border bg-muted">
<div className="max-h-[600px] w-full overflow-auto p-4">
- <table className="!my-0 w-full">{props.children}</table>
+ <table className="my-0! w-full">{props.children}</table>
</div>
</div>
);
diff --git a/frontend/components/models/model-selector.tsx b/frontend/components/models/model-selector.tsx
index fa7124c28..9786ab439 100644
--- a/frontend/components/models/model-selector.tsx
+++ b/frontend/components/models/model-selector.tsx
@@ -297,7 +297,7 @@ export function ModelSelector({
aria-controls={listboxId}
className={cn(
"w-full gap-2 justify-between font-normal text-sm",
- hasError && "!border-destructive",
+ hasError && "border-destructive!",
className,
)}
>
@@ -323,7 +323,7 @@ export function ModelSelector({
</PopoverTrigger>
<PopoverContent
align="start"
- className="p-0 w-[var(--radix-popover-trigger-width)]"
+ className="p-0 w-(--radix-popover-trigger-width)"
onOpenAutoFocus={(e) => e.preventDefault()}
>
<Command shouldFilter={false}>
diff --git a/frontend/components/models/watsonx-space-select.tsx b/frontend/components/models/watsonx-space-select.tsx
index d6ad13886..dc6202523 100644
--- a/frontend/components/models/watsonx-space-select.tsx
+++ b/frontend/components/models/watsonx-space-select.tsx
@@ -214,7 +214,7 @@ export function WatsonxSpaceSelect({
<ChevronsUpDown className="opacity-50" />
</Button>
</PopoverTrigger>
- <PopoverContent className="w-[var(--radix-popover-trigger-width)] p-0">
+ <PopoverContent className="w-(--radix-popover-trigger-width) p-0">
<Command>
<CommandInput
placeholder="Search or enter a deployment space ID…"
diff --git a/frontend/components/navigation.tsx b/frontend/components/navigation.tsx
index 0ac009b8a..620aa83bc 100644
--- a/frontend/components/navigation.tsx
+++ b/frontend/components/navigation.tsx
@@ -376,16 +376,16 @@ export function Navigation({
return (
<div className="flex flex-col h-full bg-background">
- <div className="px-4 py-2 flex-shrink-0">
+ <div className="px-4 py-2 shrink-0">
<div className="space-y-1">
{routes.map((route) => {
const isDisabled = loading && !route.active;
const tabClassName = cn(
- "text-[13px] group flex p-3 w-full justify-start font-medium transition-all",
+ "text-mmd group flex p-3 w-full justify-start font-medium transition-all",
isDisabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer",
isCloudBrand
? route.active
- ? "border-l-[3px] border-l-primary bg-[var(--layered-select-bg)] text-foreground rounded-r-lg"
+ ? "border-l-[3px] border-l-primary bg-(--layered-select-bg) text-foreground rounded-r-lg"
: cn(
"border-l-[3px] border-l-transparent text-foreground rounded-lg",
!isDisabled &&
@@ -394,7 +394,7 @@ export function Navigation({
: cn(
"rounded-lg",
route.active
- ? "bg-accent text-accent-foreground shadow-sm"
+ ? "bg-accent text-accent-foreground shadow-xs"
: "text-foreground",
!isDisabled &&
"hover:bg-accent hover:text-accent-foreground",
@@ -448,7 +448,7 @@ export function Navigation({
{isOnChatPage && (
<div className="flex-1 min-h-0 flex flex-col px-4">
{/* Conversations Section */}
- <div className="flex-shrink-0">
+ <div className="shrink-0">
<div className="flex items-center justify-between mb-3 mx-3">
<h3 className="text-xs font-medium text-muted-foreground">
Conversations
@@ -508,7 +508,7 @@ export function Navigation({
{conversations.length === 0 &&
!isConversationsLoading &&
!placeholderConversation ? (
- <div className="text-[13px] text-muted-foreground py-2 pl-3">
+ <div className="text-mmd text-muted-foreground py-2 pl-3">
No conversations yet
</div>
) : (
@@ -635,7 +635,7 @@ export function Navigation({
selection.toggle(conversation.response_id)
}
onClick={(e) => e.stopPropagation()}
- className="mr-2 flex-shrink-0"
+ className="mr-2 shrink-0"
/>
)}
<div className="text-sm font-medium text-foreground truncate">
@@ -665,7 +665,7 @@ export function Navigation({
asChild
>
<div
- className="opacity-0 group-hover:opacity-100 data-[state=open]:opacity-100 data-[state=open]:text-foreground transition-opacity p-1 hover:bg-accent rounded text-muted-foreground hover:text-foreground ml-2 flex-shrink-0 cursor-pointer"
+ className="opacity-0 group-hover:opacity-100 data-[state=open]:opacity-100 data-[state=open]:text-foreground transition-opacity p-1 hover:bg-accent rounded text-muted-foreground hover:text-foreground ml-2 shrink-0 cursor-pointer"
title="More options"
onClick={(e) => {
e.stopPropagation();
@@ -705,7 +705,7 @@ export function Navigation({
)}
</div>
{(newConversationFiles?.length ?? 0) !== 0 && (
- <div className="flex-shrink-0 mt-4">
+ <div className="shrink-0 mt-4">
<div className="flex items-center justify-between mb-3 mx-3">
<h3 className="text-xs font-medium text-muted-foreground">
Files
@@ -727,7 +727,7 @@ export function Navigation({
)}
</div>
{selection.isSelecting && (
- <div className="flex-shrink-0 py-3 border-t mx-3">
+ <div className="shrink-0 py-3 border-t mx-3">
<div className="flex items-center justify-between pb-1 text-xs text-muted-foreground">
<span>{selection.count} selected</span>
<span>of {conversations.length}</span>
diff --git a/frontend/components/sync-confirm-dialog.tsx b/frontend/components/sync-confirm-dialog.tsx
index dc55badad..2c9754882 100644
--- a/frontend/components/sync-confirm-dialog.tsx
+++ b/frontend/components/sync-confirm-dialog.tsx
@@ -98,7 +98,7 @@ const DeletesAlert = ({
<AlertTitle>
{pluralize(totalOrphans, "file")} will be deleted
</AlertTitle>
- <AlertDescription className="col-start-2 block min-w-0 !text-[#ffced0]">
+ <AlertDescription className="col-start-2 block min-w-0 text-[#ffced0]!">
<p>These files no longer exist at the source.</p>
<ScrollArea className="mt-2 max-h-60 w-full">
{isSyncAll ? (
@@ -136,7 +136,7 @@ const UnavailableAlert = ({ connectors }: { connectors: string[] }) => (
<Alert>
<AlertTriangle className="size-5" />
<AlertTitle>Couldn&apos;t check for deletions</AlertTitle>
- <AlertDescription className="col-start-2 block min-w-0 [text-wrap:pretty]">
+ <AlertDescription className="col-start-2 block min-w-0 text-pretty">
<p>
Files may be removed at the source without warning. Re-authenticate the
affected connection and try again to see a full preview.
@@ -216,7 +216,7 @@ const RecheckAlert = ({
<AlertTitle>
{pluralize(totalRechecked, "file")} will be re-checked
</AlertTitle>
- <AlertDescription className="col-start-2 block min-w-0 [text-wrap:pretty]">
+ <AlertDescription className="col-start-2 block min-w-0 text-pretty">
<p>
Sync re-reads these files and updates the ones whose content changed.
</p>
@@ -378,7 +378,7 @@ export const SyncConfirmDialog = ({
<Alert>
<Check className="size-5" />
<AlertTitle>Nothing to change</AlertTitle>
- <AlertDescription className="col-start-2 block min-w-0 [text-wrap:pretty]">
+ <AlertDescription className="col-start-2 block min-w-0 text-pretty">
{/* Only claim what the preview checked. It diffs the files
already in Knowledge against the source and never
enumerates new remote files — and sync would not ingest
diff --git a/frontend/components/task-collapsible-section.tsx b/frontend/components/task-collapsible-section.tsx
index fc0f081f1..7e655295f 100644
--- a/frontend/components/task-collapsible-section.tsx
+++ b/frontend/components/task-collapsible-section.tsx
@@ -29,7 +29,7 @@ export function TaskCollapsibleSection<T>({
<button
type="button"
onClick={onToggle}
- className="w-full flex items-center justify-between text-left hover:bg-muted/60 transition-colors !mt-0 p-4 border-t border-muted"
+ className="w-full flex items-center justify-between text-left hover:bg-muted/60 transition-colors mt-0! p-4 border-t border-muted"
>
<h3 className="font-semibold text-sm flex items-center gap-2 text-muted-foreground">
{title}
diff --git a/frontend/components/task-dialog/category-chips.tsx b/frontend/components/task-dialog/category-chips.tsx
index c15e29d0e..78a0002ca 100644
--- a/frontend/components/task-dialog/category-chips.tsx
+++ b/frontend/components/task-dialog/category-chips.tsx
@@ -53,7 +53,7 @@ export function TaskDialogCategoryChips({
isCloudBrand ? "rounded-full" : "rounded-lg",
isCloudBrand
? isActive
- ? "border-[var(--border-border-interactive)] bg-muted text-foreground"
+ ? "border-(--border-border-interactive) bg-muted text-foreground"
: "border-border-subtle-contextual bg-background text-muted-foreground hover:bg-muted hover:text-foreground"
: isActive
? "border-border bg-task-dialog-oss-selected text-foreground"
diff --git a/frontend/components/task-dialog/file-error-details.tsx b/frontend/components/task-dialog/file-error-details.tsx
index 1c5a10b4c..5015329c5 100644
--- a/frontend/components/task-dialog/file-error-details.tsx
+++ b/frontend/components/task-dialog/file-error-details.tsx
@@ -49,7 +49,7 @@ export function TaskDialogFileErrorDetails({
<div
key={step.id}
className={cn(
- "grid grid-cols-[theme(spacing.4)_minmax(0,1fr)] items-start gap-x-3 gap-y-1",
+ "grid grid-cols-[--spacing(4)_minmax(0,1fr)] items-start gap-x-3 gap-y-1",
isFailed && (isCloudBrand ? "gap-y-2" : "gap-y-1"),
)}
>
@@ -94,7 +94,7 @@ export function TaskDialogFileErrorDetails({
{isFailed && (
<>
- <p className="col-start-2 whitespace-pre-wrap break-words text-sm text-foreground/90">
+ <p className="col-start-2 whitespace-pre-wrap wrap-break-word text-sm text-foreground/90">
{analysis.resolvedError}
</p>
<p className="col-start-2 text-xs text-muted-foreground">
diff --git a/frontend/components/task-dialog/file-list.tsx b/frontend/components/task-dialog/file-list.tsx
index a72cb0218..1e4b6cfc0 100644
--- a/frontend/components/task-dialog/file-list.tsx
+++ b/frontend/components/task-dialog/file-list.tsx
@@ -118,8 +118,8 @@ export function TaskDialogFileList({
? cn(
"rounded-none border-0 border-b-2",
isActive
- ? "border-[var(--border-border-interactive)] bg-muted text-foreground"
- : "border-transparent bg-transparent text-muted-foreground hover:border-[var(--border-border-interactive)]",
+ ? "border-(--border-border-interactive) bg-muted text-foreground"
+ : "border-transparent bg-transparent text-muted-foreground hover:border-(--border-border-interactive)",
)
: cn(
"border-0",
diff --git a/frontend/components/task-dialog/filters.tsx b/frontend/components/task-dialog/filters.tsx
index 0e7d38001..cfe96fa94 100644
--- a/frontend/components/task-dialog/filters.tsx
+++ b/frontend/components/task-dialog/filters.tsx
@@ -102,9 +102,9 @@ function FileTypeMenu({
className={cn(
"px-2",
isCloudBrand &&
- "bg-layer-contextual text-layer-contextual-foreground hover:bg-muted focus:bg-muted data-[highlighted]:bg-muted",
+ "bg-layer-contextual text-layer-contextual-foreground hover:bg-muted focus:bg-muted data-highlighted:bg-muted",
fileType === value &&
- "bg-muted text-foreground focus:bg-muted data-[highlighted]:bg-muted",
+ "bg-muted text-foreground focus:bg-muted data-highlighted:bg-muted",
)}
>
{label}
@@ -136,8 +136,8 @@ function TaskDialogSearchField({
icon={<Search className="h-4 w-4" aria-hidden />}
inputClassName={
isCloudBrand
- ? "h-10 min-w-0 !rounded-none !border-0 bg-layer-contextual text-layer-contextual-foreground placeholder:text-muted-foreground focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"
- : "h-10 rounded-md !bg-canvas"
+ ? "h-10 min-w-0 rounded-none! border-0! bg-layer-contextual text-layer-contextual-foreground placeholder:text-muted-foreground focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50"
+ : "h-10 rounded-md bg-canvas!"
}
/>
);
diff --git a/frontend/components/task-notification-menu.tsx b/frontend/components/task-notification-menu.tsx
index f73224fb9..b455d52ee 100644
--- a/frontend/components/task-notification-menu.tsx
+++ b/frontend/components/task-notification-menu.tsx
@@ -358,7 +358,7 @@ export function TaskNotificationMenu() {
"h-10 w-full shrink-0 shadow-none",
isCloudBrand
? "justify-start rounded-none bg-border px-4 text-left text-muted-foreground hover:bg-accent hover:text-muted-foreground"
- : "justify-center rounded-lg border border-muted-foreground bg-task-dialog-oss-selected py-2.5 px-3 text-foreground hover:!bg-accent hover:text-foreground",
+ : "justify-center rounded-lg border border-muted-foreground bg-task-dialog-oss-selected py-2.5 px-3 text-foreground hover:bg-accent! hover:text-foreground",
);
return (
diff --git a/frontend/components/ui/accordion.tsx b/frontend/components/ui/accordion.tsx
index 5e7b813e2..0f2e7cadb 100644
--- a/frontend/components/ui/accordion.tsx
+++ b/frontend/components/ui/accordion.tsx
@@ -33,7 +33,7 @@ function AccordionTrigger({
<AccordionPrimitive.Trigger
ref={ref}
className={cn(
- "flex flex-1 items-center p-4 py-2.5 gap-2 font-medium !text-mmd text-muted-foreground transition-all [&[data-state=open]>svg]:rotate-90",
+ "flex flex-1 items-center p-4 py-2.5 gap-2 font-medium text-mmd! text-muted-foreground transition-all [&[data-state=open]>svg]:rotate-90",
className,
)}
{...props}
diff --git a/frontend/components/ui/alert.tsx b/frontend/components/ui/alert.tsx
index d3db05e48..10f9ec9b5 100644
--- a/frontend/components/ui/alert.tsx
+++ b/frontend/components/ui/alert.tsx
@@ -39,7 +39,7 @@ function AlertTitle({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="alert-title"
className={cn(
- "font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",
+ "font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 hover:[&_a]:text-foreground",
className,
)}
{...props}
@@ -55,7 +55,7 @@ function AlertDescription({
<div
data-slot="alert-description"
className={cn(
- "text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4 group-has-[>svg]/alert:col-start-2",
+ "text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 hover:[&_a]:text-foreground [&_p:not(:last-child)]:mb-4 group-has-[>svg]/alert:col-start-2",
className,
)}
{...props}
diff --git a/frontend/components/ui/badge.tsx b/frontend/components/ui/badge.tsx
index 80485d6e7..ab98698ab 100644
--- a/frontend/components/ui/badge.tsx
+++ b/frontend/components/ui/badge.tsx
@@ -4,7 +4,7 @@ import type * as React from "react";
import { cn } from "@/lib/utils";
const badgeVariants = cva(
- "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
+ "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
{
variants: {
variant: {
diff --git a/frontend/components/ui/button.tsx b/frontend/components/ui/button.tsx
index a4fd27a47..5ad376636 100644
--- a/frontend/components/ui/button.tsx
+++ b/frontend/components/ui/button.tsx
@@ -4,7 +4,7 @@ import * as React from "react";
import { cn } from "@/lib/utils";
const buttonVariants = cva(
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none disabled:select-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none disabled:select-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
{
variants: {
variant: {
@@ -12,14 +12,14 @@ const buttonVariants = cva(
destructive:
"bg-destructive text-destructive-foreground hover:bg-destructive/90",
outline:
- "border border-border hover:bg-muted hover:text-accent-foreground disabled:bg-muted disabled:!border-muted",
+ "border border-border hover:bg-muted hover:text-accent-foreground disabled:bg-muted disabled:border-muted!",
primary:
- "border bg-background text-secondary-foreground hover:bg-muted hover:shadow-sm",
+ "border bg-background text-secondary-foreground hover:bg-muted hover:shadow-xs",
warning: "bg-warning text-warning-foreground hover:bg-warning/90",
secondary:
"border border-muted bg-muted text-secondary-foreground hover:bg-secondary-foreground/5",
ghost:
- "text-foreground hover:bg-accent hover:text-accent-foreground disabled:!bg-transparent",
+ "text-foreground hover:bg-accent hover:text-accent-foreground disabled:bg-transparent!",
ghostActive:
"bg-muted text-foreground hover:bg-secondary-hover hover:text-accent-foreground",
link: "underline-offset-4 hover:underline text-primary",
diff --git a/frontend/components/ui/card.tsx b/frontend/components/ui/card.tsx
index 149095e64..3cea6a57a 100644
--- a/frontend/components/ui/card.tsx
+++ b/frontend/components/ui/card.tsx
@@ -6,7 +6,7 @@ function Card({ className, ref, ...props }: React.ComponentProps<"div">) {
<div
ref={ref}
className={cn(
- "rounded-xl border border-border bg-card text-card-foreground shadow-sm",
+ "rounded-xl border border-border bg-card text-card-foreground shadow-xs",
className,
)}
{...props}
diff --git a/frontend/components/ui/checkbox.tsx b/frontend/components/ui/checkbox.tsx
index 212c7b8ee..98d4b6ef1 100644
--- a/frontend/components/ui/checkbox.tsx
+++ b/frontend/components/ui/checkbox.tsx
@@ -12,7 +12,7 @@ const Checkbox = React.forwardRef<
<CheckboxPrimitive.Root
ref={ref}
className={cn(
- "grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
+ "grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
className,
)}
{...props}
diff --git a/frontend/components/ui/command.tsx b/frontend/components/ui/command.tsx
index 2a324876c..d80c43813 100644
--- a/frontend/components/ui/command.tsx
+++ b/frontend/components/ui/command.tsx
@@ -30,7 +30,7 @@ const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
return (
<Dialog {...props}>
<DialogContent className="overflow-hidden p-0 shadow-lg">
- <Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[data-cmdk-input-wrapper]_svg]:h-5 [&_[data-cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
+ <Command className="**:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 **:[[cmdk-group]]:px-2 [&_[data-cmdk-input-wrapper]_svg]:h-5 [&_[data-cmdk-input-wrapper]_svg]:w-5 **:[[cmdk-input]]:h-12 **:[[cmdk-item]]:px-2 **:[[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
{children}
</Command>
</DialogContent>
@@ -49,7 +49,7 @@ function CommandInput({
<CommandPrimitive.Input
ref={ref}
className={cn(
- "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
+ "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
className,
)}
{...props}
@@ -98,7 +98,7 @@ function CommandGroup({
<CommandPrimitive.Group
ref={ref}
className={cn(
- "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
+ "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",
className,
)}
{...props}
@@ -129,7 +129,7 @@ function CommandItem({
<CommandPrimitive.Item
ref={ref}
className={cn(
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",
className,
)}
{...props}
diff --git a/frontend/components/ui/dialog.tsx b/frontend/components/ui/dialog.tsx
index 538cbf380..b9fda332f 100644
--- a/frontend/components/ui/dialog.tsx
+++ b/frontend/components/ui/dialog.tsx
@@ -45,13 +45,13 @@ function DialogContent({
ref={ref}
data-slot="dialog-content"
className={cn(
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",
className,
)}
{...props}
>
{children}
- <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
+ <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
<X className="h-4 w-4" />
<span className="sr-only">Close</span>
</DialogPrimitive.Close>
diff --git a/frontend/components/ui/dropdown-menu.tsx b/frontend/components/ui/dropdown-menu.tsx
index 71825f029..99475a01b 100644
--- a/frontend/components/ui/dropdown-menu.tsx
+++ b/frontend/components/ui/dropdown-menu.tsx
@@ -31,7 +31,7 @@ function DropdownMenuSubTrigger({
<DropdownMenuPrimitive.SubTrigger
ref={ref}
className={cn(
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent data-[state=open]:bg-accent",
inset && "pl-8",
className,
)}
@@ -52,7 +52,7 @@ function DropdownMenuSubContent({
<DropdownMenuPrimitive.SubContent
ref={ref}
className={cn(
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
+ "z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
className,
)}
{...props}
@@ -72,7 +72,7 @@ function DropdownMenuContent({
ref={ref}
sideOffset={sideOffset}
className={cn(
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
+ "z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
className,
)}
{...props}
@@ -93,7 +93,7 @@ function DropdownMenuItem({
<DropdownMenuPrimitive.Item
ref={ref}
className={cn(
- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
inset && "pl-8",
className,
)}
@@ -113,7 +113,7 @@ function DropdownMenuCheckboxItem({
<DropdownMenuPrimitive.CheckboxItem
ref={ref}
className={cn(
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
className,
)}
checked={checked}
@@ -139,7 +139,7 @@ function DropdownMenuRadioItem({
<DropdownMenuPrimitive.RadioItem
ref={ref}
className={cn(
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
className,
)}
{...props}
diff --git a/frontend/components/ui/input.tsx b/frontend/components/ui/input.tsx
index f2574972a..61843f994 100644
--- a/frontend/components/ui/input.tsx
+++ b/frontend/components/ui/input.tsx
@@ -52,8 +52,8 @@ function Input({
placeholder={placeholder}
className={cn(
"primary-input",
- icon && "!pl-9",
- (type === "password" || props.disabled) && "!pr-8",
+ icon && "pl-9!",
+ (type === "password" || props.disabled) && "pr-8!",
icon ? inputClassName : className,
)}
ref={ref}
diff --git a/frontend/components/ui/inputs/number-input.tsx b/frontend/components/ui/inputs/number-input.tsx
index d81c3e860..e7d6070f4 100644
--- a/frontend/components/ui/inputs/number-input.tsx
+++ b/frontend/components/ui/inputs/number-input.tsx
@@ -42,7 +42,7 @@ export const NumberInput = ({
}
/>
{!disabled && (
- <div className="absolute inset-y-0 right-0 top-0 p-[1px] py-[1.5px] flex items-center ">
+ <div className="absolute inset-y-0 right-0 top-0 p-px py-[1.5px] flex items-center ">
<span className="text-sm text-placeholder-foreground mr-4 pointer-events-none">
{unit}
</span>
@@ -61,7 +61,7 @@ export const NumberInput = ({
</Button>
<Button
aria-label={`Decrease ${label} value`}
- className="h-5 rounded-l-none rounded-tr-none border-input border-b-transparent border-r-transparent hover:border-b-1 hover:border-b-[.5px] hover:border-foreground"
+ className="h-5 rounded-l-none rounded-tr-none border-input border-b-transparent border-r-transparent hover:border-b hover:border-b-[.5px] hover:border-foreground"
variant="outline"
size="iconSm"
onClick={() => onChange(value - 1)}
diff --git a/frontend/components/ui/popover.tsx b/frontend/components/ui/popover.tsx
index a7db85975..cacb52056 100644
--- a/frontend/components/ui/popover.tsx
+++ b/frontend/components/ui/popover.tsx
@@ -25,7 +25,7 @@ function PopoverContent({
align={align}
sideOffset={sideOffset}
className={cn(
- "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
+ "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
className,
)}
{...props}
diff --git a/frontend/components/ui/select.tsx b/frontend/components/ui/select.tsx
index 1106a6eb9..79ac9a2a4 100644
--- a/frontend/components/ui/select.tsx
+++ b/frontend/components/ui/select.tsx
@@ -28,7 +28,7 @@ function SelectTrigger({
<SelectPrimitive.Trigger
ref={ref}
className={cn(
- "flex h-10 w-full items-center justify-between rounded-md border border-input px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:bg-muted [&>span]:line-clamp-1 disabled:border-none",
+ "flex h-10 w-full items-center justify-between rounded-md border border-input px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:bg-muted [&>span]:line-clamp-1 disabled:border-none",
className,
)}
{...props}
@@ -95,7 +95,7 @@ function SelectContent({
<SelectPrimitive.Content
ref={ref}
className={cn(
- "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
+ "relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
position === "popper" &&
"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
className,
@@ -108,7 +108,7 @@ function SelectContent({
className={cn(
"p-1",
position === "popper" &&
- "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]",
+ "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)",
)}
>
{children}
@@ -143,7 +143,7 @@ function SelectItem({
<SelectPrimitive.Item
ref={ref}
className={cn(
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
className,
)}
{...props}
diff --git a/frontend/components/ui/separator.tsx b/frontend/components/ui/separator.tsx
index 286c6b7f9..48657ef62 100644
--- a/frontend/components/ui/separator.tsx
+++ b/frontend/components/ui/separator.tsx
@@ -19,7 +19,7 @@ function Separator({
orientation={orientation}
className={cn(
"shrink-0 bg-border",
- orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
+ orientation === "horizontal" ? "h-px w-full" : "h-full w-px",
className,
)}
{...props}
diff --git a/frontend/components/ui/settings-tabs.tsx b/frontend/components/ui/settings-tabs.tsx
index 86c16fe53..6096fa07c 100644
--- a/frontend/components/ui/settings-tabs.tsx
+++ b/frontend/components/ui/settings-tabs.tsx
@@ -64,9 +64,9 @@ function TabsTrigger({
<TabsPrimitive.Trigger
data-slot="tabs-trigger"
className={cn(
- "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
- "group-data-[variant=default]/tabs-list:hover:bg-accent group-data-[variant=default]/tabs-list:hover:text-accent-foreground group-data-[variant=default]/tabs-list:data-[state=active]:bg-background group-data-[variant=default]/tabs-list:data-[state=active]:text-foreground group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm dark:group-data-[variant=default]/tabs-list:hover:bg-neutral-900 dark:group-data-[variant=default]/tabs-list:hover:text-white dark:group-data-[variant=default]/tabs-list:focus-visible:bg-neutral-900 dark:group-data-[variant=default]/tabs-list:focus-visible:text-white dark:group-data-[variant=default]/tabs-list:focus-visible:ring-0 dark:group-data-[variant=default]/tabs-list:focus-visible:ring-offset-0 dark:group-data-[variant=default]/tabs-list:data-[state=active]:bg-neutral-900 dark:group-data-[variant=default]/tabs-list:data-[state=active]:text-white",
- "group-data-[variant=line]/tabs-list:box-border group-data-[variant=line]/tabs-list:flex-none group-data-[variant=line]/tabs-list:h-auto group-data-[variant=line]/tabs-list:flex-shrink-0 group-data-[variant=line]/tabs-list:rounded-none group-data-[variant=line]/tabs-list:border-0 group-data-[variant=line]/tabs-list:border-b-2 group-data-[variant=line]/tabs-list:border-b-transparent group-data-[variant=line]/tabs-list:px-4 group-data-[variant=line]/tabs-list:py-[11px] group-data-[variant=line]/tabs-list:font-normal group-data-[variant=line]/tabs-list:shadow-none group-data-[variant=line]/tabs-list:transition-none group-data-[variant=line]/tabs-list:hover:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:font-semibold group-data-[variant=line]/tabs-list:data-[state=active]:hover:bg-transparent group-data-[variant=line]/tabs-list:after:hidden",
+ "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground data-[state=active]:group-data-[variant=default]/tabs-list:shadow-xs data-[state=active]:group-data-[variant=line]/tabs-list:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "hover:group-data-[variant=default]/tabs-list:bg-accent hover:group-data-[variant=default]/tabs-list:text-accent-foreground data-[state=active]:group-data-[variant=default]/tabs-list:bg-background data-[state=active]:group-data-[variant=default]/tabs-list:text-foreground data-[state=active]:group-data-[variant=default]/tabs-list:shadow-xs dark:hover:group-data-[variant=default]/tabs-list:bg-neutral-900 dark:hover:group-data-[variant=default]/tabs-list:text-white dark:focus-visible:group-data-[variant=default]/tabs-list:bg-neutral-900 dark:focus-visible:group-data-[variant=default]/tabs-list:text-white dark:focus-visible:group-data-[variant=default]/tabs-list:ring-0 dark:focus-visible:group-data-[variant=default]/tabs-list:ring-offset-0 dark:data-[state=active]:group-data-[variant=default]/tabs-list:bg-neutral-900 dark:data-[state=active]:group-data-[variant=default]/tabs-list:text-white",
+ "group-data-[variant=line]/tabs-list:box-border group-data-[variant=line]/tabs-list:flex-none group-data-[variant=line]/tabs-list:h-auto group-data-[variant=line]/tabs-list:shrink-0 group-data-[variant=line]/tabs-list:rounded-none group-data-[variant=line]/tabs-list:border-0 group-data-[variant=line]/tabs-list:border-b-2 group-data-[variant=line]/tabs-list:border-b-transparent group-data-[variant=line]/tabs-list:px-4 group-data-[variant=line]/tabs-list:py-[11px] group-data-[variant=line]/tabs-list:font-normal group-data-[variant=line]/tabs-list:shadow-none group-data-[variant=line]/tabs-list:transition-none hover:group-data-[variant=line]/tabs-list:bg-transparent data-[state=active]:group-data-[variant=line]/tabs-list:font-semibold hover:data-[state=active]:group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:after:hidden",
className,
)}
{...props}
@@ -81,7 +81,7 @@ function TabsContent({
return (
<TabsPrimitive.Content
data-slot="tabs-content"
- className={cn("flex-1 text-sm outline-none", className)}
+ className={cn("flex-1 text-sm outline-hidden", className)}
{...props}
/>
);
diff --git a/frontend/components/ui/slider.tsx b/frontend/components/ui/slider.tsx
index 9566387b3..4e94728d5 100644
--- a/frontend/components/ui/slider.tsx
+++ b/frontend/components/ui/slider.tsx
@@ -22,7 +22,7 @@ function Slider({
<SliderPrimitive.Track className="relative h-[5px] w-full grow overflow-hidden rounded-full bg-muted">
<SliderPrimitive.Range className="absolute h-full bg-muted-foreground" />
</SliderPrimitive.Track>
- <SliderPrimitive.Thumb className="block h-4 w-4 rounded-full border-2 border-foreground bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" />
+ <SliderPrimitive.Thumb className="block h-4 w-4 rounded-full border-2 border-foreground bg-background ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" />
</SliderPrimitive.Root>
);
}
diff --git a/frontend/components/ui/sonner.tsx b/frontend/components/ui/sonner.tsx
index d55219347..9f1aa10f6 100644
--- a/frontend/components/ui/sonner.tsx
+++ b/frontend/components/ui/sonner.tsx
@@ -62,18 +62,18 @@ const Toaster = ({ ...props }: ToasterProps) => {
// light → tinted surface (accent-* bg) + accent-foreground left border
// dark → neutral card surface + accent-foreground left border only
success:
- "group-[.toaster]:!bg-accent-emerald dark:group-[.toaster]:!bg-card group-[.toaster]:!text-foreground [&_[data-description]]:!text-muted-foreground",
+ "group-[.toaster]:bg-accent-emerald! dark:group-[.toaster]:bg-card! group-[.toaster]:text-foreground! **:data-description:text-muted-foreground!",
warning:
- "group-[.toaster]:!bg-accent-amber dark:group-[.toaster]:!bg-card group-[.toaster]:!text-foreground [&_[data-description]]:!text-muted-foreground",
+ "group-[.toaster]:bg-accent-amber! dark:group-[.toaster]:bg-card! group-[.toaster]:text-foreground! **:data-description:text-muted-foreground!",
error:
- "group-[.toaster]:!bg-accent-red dark:group-[.toaster]:!bg-card group-[.toaster]:!text-foreground [&_[data-description]]:!text-muted-foreground",
+ "group-[.toaster]:bg-accent-red! dark:group-[.toaster]:bg-card! group-[.toaster]:text-foreground! **:data-description:text-muted-foreground!",
// Override sonner's fixed 16×16 icon slot so the 20×20 circle renders fully,
// and align it to the top of the content block (next to the title).
- icon: "!size-5 !h-auto self-start mt-0.5",
- description: "!text-muted-foreground",
+ icon: "size-5! h-auto! self-start mt-0.5",
+ description: "text-muted-foreground!",
actionButton:
- "!bg-secondary !text-secondary-foreground hover:!bg-secondary-hover",
- cancelButton: "!bg-muted !text-muted-foreground",
+ "bg-secondary! text-secondary-foreground! hover:bg-secondary-hover!",
+ cancelButton: "bg-muted! text-muted-foreground!",
},
}}
{...props}
diff --git a/frontend/components/ui/switch.tsx b/frontend/components/ui/switch.tsx
index 139bf4439..a0cb73821 100644
--- a/frontend/components/ui/switch.tsx
+++ b/frontend/components/ui/switch.tsx
@@ -13,7 +13,7 @@ function Switch({
return (
<SwitchPrimitives.Root
className={cn(
- "peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-muted",
+ "peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-muted",
className,
)}
{...props}
diff --git a/frontend/components/ui/tabs.tsx b/frontend/components/ui/tabs.tsx
index 3a9313cb3..55fa23b43 100644
--- a/frontend/components/ui/tabs.tsx
+++ b/frontend/components/ui/tabs.tsx
@@ -32,7 +32,7 @@ function TabsTrigger({
<TabsPrimitive.Trigger
ref={ref}
className={cn(
- "flex flex-col items-start justify-between p-5 gap-4 w-full h-full border border-border whitespace-nowrap rounded-lg text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-muted-foreground data-[state=active]:text-foreground",
+ "flex flex-col items-start justify-between p-5 gap-4 w-full h-full border border-border whitespace-nowrap rounded-lg text-sm font-medium transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-muted-foreground data-[state=active]:text-foreground",
className,
)}
{...props}
@@ -49,7 +49,7 @@ function TabsContent({
<TabsPrimitive.Content
ref={ref}
className={cn(
- "mt-2 space-y-5 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
+ "mt-2 space-y-5 ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
className,
)}
{...props}
diff --git a/frontend/components/ui/tooltip.tsx b/frontend/components/ui/tooltip.tsx
index d68c63ef7..e5a36963f 100644
--- a/frontend/components/ui/tooltip.tsx
+++ b/frontend/components/ui/tooltip.tsx
@@ -23,7 +23,7 @@ function TooltipContent({
ref={ref}
sideOffset={sideOffset}
className={cn(
- "z-50 overflow-hidden rounded-md border bg-primary py-1 px-1.5 text-xs font-normal text-primary-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
+ "z-50 overflow-hidden rounded-md border bg-primary py-1 px-1.5 text-xs font-normal text-primary-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin)",
className,
)}
{...props}
diff --git a/frontend/components/user-nav.tsx b/frontend/components/user-nav.tsx
index 5f4e95cba..e31729508 100644
--- a/frontend/components/user-nav.tsx
+++ b/frontend/components/user-nav.tsx
@@ -81,7 +81,7 @@ export function UserNav() {
<button
type="button"
onClick={login}
- className="flex items-center gap-2 h-7 px-3 mr-2 rounded-md bg-primary hover:bg-primary/90 text-primary-foreground text-[13px] line-height-[16px]"
+ className="flex items-center gap-2 h-7 px-3 mr-2 rounded-md bg-primary hover:bg-primary/90 text-primary-foreground text-mmd line-height-[16px]"
>
Sign In
</button>
diff --git a/frontend/lib/utils.test.ts b/frontend/lib/utils.test.ts
new file mode 100644
index 000000000..576bef0f2
--- /dev/null
+++ b/frontend/lib/utils.test.ts
@@ -0,0 +1,21 @@
+import { describe, expect, it } from "vitest";
+import { cn } from "./utils";
+
+describe("cn", () => {
+ it("keeps custom font sizes alongside a text color", () => {
+ expect(cn("text-mmd", "text-foreground")).toBe("text-mmd text-foreground");
+ expect(cn("text-xxs", "text-muted-foreground")).toBe(
+ "text-xxs text-muted-foreground",
+ );
+ });
+
+ it("resolves custom font sizes against other font sizes", () => {
+ expect(cn("text-sm", "text-mmd")).toBe("text-mmd");
+ expect(cn("text-mmd", "text-xxs")).toBe("text-xxs");
+ });
+
+ it("resolves custom radius and spacing against built-in values", () => {
+ expect(cn("rounded-md", "rounded-mmd")).toBe("rounded-mmd");
+ expect(cn("p-2", "p-mmd")).toBe("p-mmd");
+ });
+});
diff --git a/frontend/lib/utils.ts b/frontend/lib/utils.ts
index 64a6945b9..963e7e7e0 100644
--- a/frontend/lib/utils.ts
+++ b/frontend/lib/utils.ts
@@ -1,5 +1,22 @@
import { type ClassValue, clsx } from "clsx";
-import { twMerge } from "tailwind-merge";
+import { extendTailwindMerge } from "tailwind-merge";
+
+// Mirror the custom `@theme` keys in app/globals.css. Without this,
+// tailwind-merge reads `text-mmd` as a text color and drops it when a later
+// `text-foreground` appears.
+const twMerge = extendTailwindMerge({
+ extend: {
+ theme: {
+ text: ["xxs", "mmd"],
+ radius: ["mmd"],
+ spacing: [
+ "mmd",
+ "task-dialog-error-indent",
+ "task-dialog-error-indent-cloud",
+ ],
+ },
+ },
+});
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index e9ed0ffa5..9a858a345 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -53,7 +53,7 @@
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
- "tailwindcss-animate": "^1.0.7",
+ "tw-animate-css": "^1.4.0",
"use-stick-to-bottom": "^1.1.6",
"winston": "^3.19.0",
"zustand": "^5.0.8"
@@ -64,6 +64,7 @@
"@emnapi/runtime": "^1.11.1",
"@emnapi/wasi-threads": "^1.2.2",
"@playwright/test": "^1.61.1",
+ "@tailwindcss/postcss": "^4.3.3",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.7",
@@ -73,14 +74,13 @@
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^6.1.1",
"@vitest/coverage-v8": "^4.1.11",
- "autoprefixer": "^10.5.2",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"knip": "^6.23.0",
"lint-staged": "^17.0.8",
"msw": "^2.15.0",
"postcss": "8.5.26",
- "tailwindcss": "^3.4.19",
+ "tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
"vitest": "^4.1.11"
},
@@ -96,9 +96,10 @@
"license": "MIT"
},
"node_modules/@alloc/quick-lru": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
- "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz",
+ "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -756,16 +757,29 @@
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
"integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.5.0",
"@jridgewell/trace-mapping": "^0.3.24"
}
},
+ "node_modules/@jridgewell/remapping": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
"node_modules/@jridgewell/resolve-uri": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.0.0"
@@ -775,12 +789,14 @@
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
"license": "MIT"
},
"node_modules/@jridgewell/trace-mapping": {
"version": "0.3.31",
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
"integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
@@ -1013,41 +1029,6 @@
"node": ">= 10"
}
},
- "node_modules/@nodelib/fs.scandir": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
- "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "2.0.5",
- "run-parallel": "^1.1.9"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.stat": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
- "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "license": "MIT",
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.walk": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
- "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.scandir": "2.1.5",
- "fastq": "^1.6.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
"node_modules/@open-draft/deferred-promise": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-3.0.0.tgz",
@@ -3301,158 +3282,714 @@
"tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1"
}
},
- "node_modules/@tailwindcss/typography": {
- "version": "0.5.20",
- "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.20.tgz",
- "integrity": "sha512-hwbzQuNUfcPvbegQFatVPl/MY/tcM9KLl963hQ5laJKPh81TEZ1+dNG9PirGvcaDBkp+BCshExAyKVPW91dozw==",
+ "node_modules/@tailwindcss/node": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz",
+ "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "postcss-selector-parser": "6.0.10"
- },
- "peerDependencies": {
- "tailwindcss": ">=3.0.0 || >=4.0.0 || insiders"
- }
- },
- "node_modules/@tanstack/query-core": {
- "version": "5.101.2",
- "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.101.2.tgz",
- "integrity": "sha512-hH5MLoJhF7KaIGd7q3xTXGXvslI+GYlM1Z/35aSHHWaCJWB7XvTSHYuV3eM7tw+aE0mT/xMro4M4Q9rCGHT0lw==",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
+ "@jridgewell/remapping": "^2.3.5",
+ "enhanced-resolve": "^5.24.1",
+ "jiti": "^2.7.0",
+ "lightningcss": "1.32.0",
+ "magic-string": "^0.30.21",
+ "source-map-js": "^1.2.1",
+ "tailwindcss": "4.3.3"
}
},
- "node_modules/@tanstack/react-query": {
- "version": "5.101.2",
- "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.101.2.tgz",
- "integrity": "sha512-seDkr6kzGzX1okaaTtZPtgA688CDPlXUz1C6xSg0ESqn04Vuc8tlrYms1s3de+znBqhPVxFRfpAfUf+6XvfPWg==",
- "license": "MIT",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
+ "dev": true,
+ "license": "MPL-2.0",
"dependencies": {
- "@tanstack/query-core": "5.101.2"
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
},
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
},
- "peerDependencies": {
- "react": "^18 || ^19"
+ "optionalDependencies": {
+ "lightningcss-android-arm64": "1.32.0",
+ "lightningcss-darwin-arm64": "1.32.0",
+ "lightningcss-darwin-x64": "1.32.0",
+ "lightningcss-freebsd-x64": "1.32.0",
+ "lightningcss-linux-arm-gnueabihf": "1.32.0",
+ "lightningcss-linux-arm64-gnu": "1.32.0",
+ "lightningcss-linux-arm64-musl": "1.32.0",
+ "lightningcss-linux-x64-gnu": "1.32.0",
+ "lightningcss-linux-x64-musl": "1.32.0",
+ "lightningcss-win32-arm64-msvc": "1.32.0",
+ "lightningcss-win32-x64-msvc": "1.32.0"
+ }
+ },
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-android-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",
+ "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/@testing-library/dom": {
- "version": "10.4.1",
- "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz",
- "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-darwin-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
+ "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
- "peer": true,
- "dependencies": {
- "@babel/code-frame": "^7.10.4",
- "@babel/runtime": "^7.12.5",
- "@types/aria-query": "^5.0.1",
- "aria-query": "5.3.0",
- "dom-accessibility-api": "^0.5.9",
- "lz-string": "^1.5.0",
- "picocolors": "1.1.1",
- "pretty-format": "^27.0.2"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
"engines": {
- "node": ">=18"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/@testing-library/jest-dom": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-7.0.1.tgz",
- "integrity": "sha512-oMDTC3oA+6CXSO2JZnvOI7CA6oVub6kij5ggk9ohwye5slmkwxYDXcPOVxgMw/RQlticjtO0C1RZkR97HgrWMw==",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-darwin-x64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",
+ "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "@adobe/css-tools": "^4.4.0",
- "aria-query": "^5.0.0",
- "css.escape": "^1.5.1",
- "dom-accessibility-api": "^0.6.3",
- "picocolors": "^1.1.1",
- "redent": "^3.0.0"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
"engines": {
- "node": ">=22",
- "npm": ">=6",
- "yarn": ">=1"
- },
- "peerDependencies": {
- "@testing-library/dom": ">=10 <11",
- "vitest": ">= 0.32"
+ "node": ">= 12.0.0"
},
- "peerDependenciesMeta": {
- "vitest": {
- "optional": true
- }
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
- "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-freebsd-x64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",
+ "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
},
- "node_modules/@testing-library/react": {
- "version": "16.3.3",
- "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.3.tgz",
- "integrity": "sha512-Uo193NgQbPMz6lrrhtRQQFcMC6Re/ELLFbbuVL30WDlZxlpZf9/lMHTAVxPRLw1q1iu9OJmR1c2BLiENRstdBg==",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",
+ "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.12.5"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=18"
- },
- "peerDependencies": {
- "@testing-library/dom": "^10.0.0",
- "@types/react": "^18.0.0 || ^19.0.0",
- "@types/react-dom": "^18.0.0 || ^19.0.0",
- "react": "^18.0.0 || ^19.0.0",
- "react-dom": "^18.0.0 || ^19.0.0"
+ "node": ">= 12.0.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/@testing-library/user-event": {
- "version": "14.6.7",
- "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.7.tgz",
- "integrity": "sha512-MPCpX8bxe8zS+JmmTwLp8jd0dy1rAm60Te/SL8JrQM3qvQJcBOs1d7IefJMyZzqM3EWBrDn/LWDt1BCGu4ASfg==",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",
+ "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
+ "libc": [
+ "glibc"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=12",
- "npm": ">=6"
+ "node": ">= 12.0.0"
},
- "peerDependencies": {
- "@testing-library/dom": ">=7.21.4"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/@tybys/wasm-util": {
- "version": "0.10.4",
- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
- "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",
+ "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
+ "libc": [
+ "musl"
+ ],
+ "license": "MPL-2.0",
"optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/@types/aria-query": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
- "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",
+ "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",
+ "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",
+ "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz",
+ "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.3.3",
+ "@tailwindcss/oxide-darwin-arm64": "4.3.3",
+ "@tailwindcss/oxide-darwin-x64": "4.3.3",
+ "@tailwindcss/oxide-freebsd-x64": "4.3.3",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.3.3",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.3.3",
+ "@tailwindcss/oxide-linux-x64-musl": "4.3.3",
+ "@tailwindcss/oxide-wasm32-wasi": "4.3.3",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.3.3"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-android-arm64": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz",
+ "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz",
+ "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-x64": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz",
+ "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-freebsd-x64": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz",
+ "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz",
+ "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz",
+ "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz",
+ "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz",
+ "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz",
+ "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz",
+ "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==",
+ "bundleDependencies": [
+ "@napi-rs/wasm-runtime",
+ "@emnapi/core",
+ "@emnapi/runtime",
+ "@tybys/wasm-util",
+ "@emnapi/wasi-threads",
+ "tslib"
+ ],
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.11.1",
+ "@emnapi/runtime": "^1.11.1",
+ "@emnapi/wasi-threads": "^1.2.2",
+ "@napi-rs/wasm-runtime": "^1.1.4",
+ "@tybys/wasm-util": "^0.10.2",
+ "tslib": "^2.8.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz",
+ "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz",
+ "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/postcss": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.3.3.tgz",
+ "integrity": "sha512-JTSZZGQi1AyKirbLN3azmjVzef92tcX7h+iSqPdaeStyFpGpDlKvvpxeOE8njhbUanbRwr3z8DyzhICWnMtQeg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "@tailwindcss/node": "4.3.3",
+ "@tailwindcss/oxide": "4.3.3",
+ "postcss": "^8.5.16",
+ "tailwindcss": "4.3.3"
+ }
+ },
+ "node_modules/@tailwindcss/typography": {
+ "version": "0.5.20",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.20.tgz",
+ "integrity": "sha512-hwbzQuNUfcPvbegQFatVPl/MY/tcM9KLl963hQ5laJKPh81TEZ1+dNG9PirGvcaDBkp+BCshExAyKVPW91dozw==",
+ "license": "MIT",
+ "dependencies": {
+ "postcss-selector-parser": "6.0.10"
+ },
+ "peerDependencies": {
+ "tailwindcss": ">=3.0.0 || >=4.0.0 || insiders"
+ }
+ },
+ "node_modules/@tanstack/query-core": {
+ "version": "5.101.2",
+ "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.101.2.tgz",
+ "integrity": "sha512-hH5MLoJhF7KaIGd7q3xTXGXvslI+GYlM1Z/35aSHHWaCJWB7XvTSHYuV3eM7tw+aE0mT/xMro4M4Q9rCGHT0lw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/react-query": {
+ "version": "5.101.2",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.101.2.tgz",
+ "integrity": "sha512-seDkr6kzGzX1okaaTtZPtgA688CDPlXUz1C6xSg0ESqn04Vuc8tlrYms1s3de+znBqhPVxFRfpAfUf+6XvfPWg==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/query-core": "5.101.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": "^18 || ^19"
+ }
+ },
+ "node_modules/@testing-library/dom": {
+ "version": "10.4.1",
+ "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz",
+ "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.10.4",
+ "@babel/runtime": "^7.12.5",
+ "@types/aria-query": "^5.0.1",
+ "aria-query": "5.3.0",
+ "dom-accessibility-api": "^0.5.9",
+ "lz-string": "^1.5.0",
+ "picocolors": "1.1.1",
+ "pretty-format": "^27.0.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@testing-library/jest-dom": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-7.0.1.tgz",
+ "integrity": "sha512-oMDTC3oA+6CXSO2JZnvOI7CA6oVub6kij5ggk9ohwye5slmkwxYDXcPOVxgMw/RQlticjtO0C1RZkR97HgrWMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@adobe/css-tools": "^4.4.0",
+ "aria-query": "^5.0.0",
+ "css.escape": "^1.5.1",
+ "dom-accessibility-api": "^0.6.3",
+ "picocolors": "^1.1.1",
+ "redent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=22",
+ "npm": ">=6",
+ "yarn": ">=1"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": ">=10 <11",
+ "vitest": ">= 0.32"
+ },
+ "peerDependenciesMeta": {
+ "vitest": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
+ "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@testing-library/react": {
+ "version": "16.3.3",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.3.tgz",
+ "integrity": "sha512-Uo193NgQbPMz6lrrhtRQQFcMC6Re/ELLFbbuVL30WDlZxlpZf9/lMHTAVxPRLw1q1iu9OJmR1c2BLiENRstdBg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": "^10.0.0",
+ "@types/react": "^18.0.0 || ^19.0.0",
+ "@types/react-dom": "^18.0.0 || ^19.0.0",
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@testing-library/user-event": {
+ "version": "14.6.7",
+ "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.7.tgz",
+ "integrity": "sha512-MPCpX8bxe8zS+JmmTwLp8jd0dy1rAm60Te/SL8JrQM3qvQJcBOs1d7IefJMyZzqM3EWBrDn/LWDt1BCGu4ASfg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12",
+ "npm": ">=6"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": ">=7.21.4"
+ }
+ },
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.10.4",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
+ "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@types/aria-query": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
+ "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
"dev": true,
"license": "MIT",
"peer": true
@@ -3881,31 +4418,6 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/any-promise": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
- "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
- "license": "MIT"
- },
- "node_modules/anymatch": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
- "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
- "license": "ISC",
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/arg": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
- "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
- "license": "MIT"
- },
"node_modules/aria-hidden": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",
@@ -3977,43 +4489,6 @@
"node": ">=4"
}
},
- "node_modules/autoprefixer": {
- "version": "10.5.2",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.5.2.tgz",
- "integrity": "sha512-rD5t5DwOjJdmSORcTq64j8MawTC+tbQ+HHqjR4NDumamy/ambn1UJrlKL+KdwujWxMkFjPM3pPHOEA9tl4767Q==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/autoprefixer"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "browserslist": "^4.28.4",
- "caniuse-lite": "^1.0.30001799",
- "fraction.js": "^5.3.4",
- "picocolors": "^1.1.1",
- "postcss-value-parser": "^4.2.0"
- },
- "bin": {
- "autoprefixer": "bin/autoprefixer"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- },
- "peerDependencies": {
- "postcss": "^8.1.0"
- }
- },
"node_modules/axios": {
"version": "1.20.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.20.0.tgz",
@@ -4058,70 +4533,12 @@
"require-from-string": "^2.0.2"
}
},
- "node_modules/binary-extensions": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
- "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/bintrees": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz",
"integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==",
"license": "MIT"
},
- "node_modules/braces": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
- "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
- "license": "MIT",
- "dependencies": {
- "fill-range": "^7.1.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/browserslist": {
- "version": "4.28.7",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.7.tgz",
- "integrity": "sha512-JxV13hNrFxqjOc8alRbq9dK1MM79NEXYpma2B2J4wAtpWS5zIEIKqWPGCl7N4o7Uc7B7itylh7SuDujATRyyTw==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "baseline-browser-mapping": "^2.10.44",
- "caniuse-lite": "^1.0.30001806",
- "electron-to-chromium": "^1.5.393",
- "node-releases": "^2.0.51",
- "update-browserslist-db": "^1.2.3"
- },
- "bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- }
- },
"node_modules/call-bind-apply-helpers": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
@@ -4135,15 +4552,6 @@
"node": ">= 0.4"
}
},
- "node_modules/camelcase-css": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
- "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/caniuse-lite": {
"version": "1.0.30001810",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz",
@@ -4213,30 +4621,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/chokidar": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
- "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
- "license": "MIT",
- "dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
"node_modules/class-variance-authority": {
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.1.tgz",
@@ -4722,18 +5106,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/didyoumean": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
- "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
- "license": "Apache-2.0"
- },
- "node_modules/dlv": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
- "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
- "license": "MIT"
- },
"node_modules/dom-accessibility-api": {
"version": "0.5.16",
"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
@@ -4777,13 +5149,6 @@
"node": ">= 0.4"
}
},
- "node_modules/electron-to-chromium": {
- "version": "1.5.430",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.430.tgz",
- "integrity": "sha512-e1QEj72Y4zd8RlNZVmoTg+iCOSVwpk05IOiiQwdrkwCSVlZfPthevErhE+nckGd2YbsXfp1SkisznhGVIXP2NQ==",
- "dev": true,
- "license": "ISC"
- },
"node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
@@ -4797,6 +5162,20 @@
"integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==",
"license": "MIT"
},
+ "node_modules/enhanced-resolve": {
+ "version": "5.26.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz",
+ "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.3.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
"node_modules/entities": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
@@ -4934,22 +5313,6 @@
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
"license": "MIT"
},
- "node_modules/fast-glob": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
- "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.8"
- },
- "engines": {
- "node": ">=8.6.0"
- }
- },
"node_modules/fast-string-truncated-width": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz",
@@ -4977,15 +5340,6 @@
"fast-string-width": "^3.0.2"
}
},
- "node_modules/fastq": {
- "version": "1.20.1",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
- "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",
- "license": "ISC",
- "dependencies": {
- "reusify": "^1.0.4"
- }
- },
"node_modules/fault": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz",
@@ -5013,6 +5367,7 @@
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=12.0.0"
@@ -5043,18 +5398,6 @@
"node": ">= 12"
}
},
- "node_modules/fill-range": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
- "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
- "license": "MIT",
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/fn.name": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz",
@@ -5121,20 +5464,6 @@
"node": ">=18.3.0"
}
},
- "node_modules/fraction.js": {
- "version": "5.3.4",
- "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
- "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "*"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/rawify"
- }
- },
"node_modules/framer-motion": {
"version": "12.42.1",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.42.1.tgz",
@@ -5280,18 +5609,6 @@
"url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
}
},
- "node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/gopd": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
@@ -5304,6 +5621,13 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "dev": true,
+ "license": "ISC"
+ },
"node_modules/graphql": {
"version": "16.14.2",
"resolved": "https://registry.npmjs.org/graphql/-/graphql-16.14.2.tgz",
@@ -5686,33 +6010,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "license": "MIT",
- "dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-core-module": {
- "version": "2.16.2",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz",
- "integrity": "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==",
- "license": "MIT",
- "dependencies": {
- "hasown": "^2.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
"node_modules/is-decimal": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",
@@ -5723,15 +6020,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/is-fullwidth-code-point": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz",
@@ -5748,18 +6036,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "license": "MIT",
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/is-hexadecimal": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",
@@ -5777,15 +6053,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "license": "MIT",
- "engines": {
- "node": ">=0.12.0"
- }
- },
"node_modules/is-plain-obj": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
@@ -5860,7 +6127,7 @@
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",
"integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"bin": {
"jiti": "lib/jiti-cli.mjs"
@@ -6296,24 +6563,6 @@
"url": "https://opencollective.com/parcel"
}
},
- "node_modules/lilconfig": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
- "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
- "license": "MIT",
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/antonk52"
- }
- },
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
- "license": "MIT"
- },
"node_modules/lint-staged": {
"version": "17.0.8",
"resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.0.8.tgz",
@@ -6907,15 +7156,6 @@
"dev": true,
"license": "CC0-1.0"
},
- "node_modules/merge2": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
- "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
- "license": "MIT",
- "engines": {
- "node": ">= 8"
- }
- },
"node_modules/mhchemparser": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/mhchemparser/-/mhchemparser-4.2.1.tgz",
@@ -7457,19 +7697,6 @@
}
]
},
- "node_modules/micromatch": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
- "license": "MIT",
- "dependencies": {
- "braces": "^3.0.3",
- "picomatch": "^2.3.1"
- },
- "engines": {
- "node": ">=8.6"
- }
- },
"node_modules/mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
@@ -7631,17 +7858,6 @@
"node": "^20.17.0 || >=22.9.0"
}
},
- "node_modules/mz": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
- "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
- "license": "MIT",
- "dependencies": {
- "any-promise": "^1.0.0",
- "object-assign": "^4.0.1",
- "thenify-all": "^1.0.0"
- }
- },
"node_modules/nanoid": {
"version": "5.1.16",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.16.tgz",
@@ -7752,25 +7968,6 @@
}
}
},
- "node_modules/node-releases": {
- "version": "2.0.55",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.55.tgz",
- "integrity": "sha512-mIrE/Cw9y+9Au6dS5vDKDhQza9YvG6w+ZrS6X+ZzA7yFW/soAeaups4Qzn1bL6g5FVy8WtP79+0j82oPIbqRjQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/obj-case": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/obj-case/-/obj-case-0.2.1.tgz",
@@ -7786,15 +7983,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/object-hash": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
- "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/obug": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/obug/-/obug-2.1.4.tgz",
@@ -7940,12 +8128,6 @@
"url": "https://github.com/inikulin/parse5?sponsor=1"
}
},
- "node_modules/path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "license": "MIT"
- },
"node_modules/path-to-regexp": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
@@ -7970,30 +8152,13 @@
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "dev": true,
"license": "MIT",
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pirates": {
- "version": "4.0.7",
- "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
- "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/playwright": {
@@ -8056,115 +8221,6 @@
"node": "^10 || ^12 || >=14"
}
},
- "node_modules/postcss-import": {
- "version": "15.1.0",
- "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
- "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
- "license": "MIT",
- "dependencies": {
- "postcss-value-parser": "^4.0.0",
- "read-cache": "^1.0.0",
- "resolve": "^1.1.7"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "postcss": "^8.0.0"
- }
- },
- "node_modules/postcss-js": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz",
- "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "camelcase-css": "^2.0.1"
- },
- "engines": {
- "node": "^12 || ^14 || >= 16"
- },
- "peerDependencies": {
- "postcss": "^8.4.21"
- }
- },
- "node_modules/postcss-load-config": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
- "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "lilconfig": "^3.1.1"
- },
- "engines": {
- "node": ">= 18"
- },
- "peerDependencies": {
- "jiti": ">=1.21.0",
- "postcss": ">=8.0.9",
- "tsx": "^4.8.1",
- "yaml": "^2.4.2"
- },
- "peerDependenciesMeta": {
- "jiti": {
- "optional": true
- },
- "postcss": {
- "optional": true
- },
- "tsx": {
- "optional": true
- },
- "yaml": {
- "optional": true
- }
- }
- },
- "node_modules/postcss-nested": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
- "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "postcss-selector-parser": "^6.1.1"
- },
- "engines": {
- "node": ">=12.0"
- },
- "peerDependencies": {
- "postcss": "^8.2.14"
- }
- },
"node_modules/postcss-selector-parser": {
"version": "6.1.4",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz",
@@ -8178,12 +8234,6 @@
"node": ">=4"
}
},
- "node_modules/postcss-value-parser": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
- "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
- "license": "MIT"
- },
"node_modules/pretty-format": {
"version": "27.5.1",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
@@ -8294,26 +8344,6 @@
"node": ">=6"
}
},
- "node_modules/queue-microtask": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
- "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
"node_modules/react": {
"version": "19.2.7",
"resolved": "https://registry.npmjs.org/react/-/react-19.2.7.tgz",
@@ -8506,15 +8536,6 @@
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
- "node_modules/read-cache": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
- "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
- "license": "MIT",
- "dependencies": {
- "pify": "^2.3.0"
- }
- },
"node_modules/readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
@@ -8529,18 +8550,6 @@
"node": ">= 6"
}
},
- "node_modules/readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "license": "MIT",
- "dependencies": {
- "picomatch": "^2.2.1"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
"node_modules/redent": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",
@@ -8686,27 +8695,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/resolve": {
- "version": "1.22.12",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",
- "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "is-core-module": "^2.16.1",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
"node_modules/resolve-pkg-maps": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
@@ -8741,16 +8729,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/reusify": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
- "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
- "license": "MIT",
- "engines": {
- "iojs": ">=1.0.0",
- "node": ">=0.10.0"
- }
- },
"node_modules/rfdc": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz",
@@ -8802,29 +8780,6 @@
"url": "https://github.com/sponsors/oxc-project"
}
},
- "node_modules/run-parallel": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
- "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "queue-microtask": "^1.2.2"
- }
- },
"node_modules/safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
@@ -9165,37 +9120,6 @@
}
}
},
- "node_modules/sucrase": {
- "version": "3.35.1",
- "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
- "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.2",
- "commander": "^4.0.0",
- "lines-and-columns": "^1.1.6",
- "mz": "^2.7.0",
- "pirates": "^4.0.1",
- "tinyglobby": "^0.2.11",
- "ts-interface-checker": "^0.1.9"
- },
- "bin": {
- "sucrase": "bin/sucrase",
- "sucrase-node": "bin/sucrase-node"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
- "node_modules/sucrase/node_modules/commander": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
- "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -9209,18 +9133,6 @@
"node": ">=8"
}
},
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
"node_modules/symbol-tree": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
@@ -9252,58 +9164,23 @@
}
},
"node_modules/tailwindcss": {
- "version": "3.4.19",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz",
- "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==",
- "license": "MIT",
- "dependencies": {
- "@alloc/quick-lru": "^5.2.0",
- "arg": "^5.0.2",
- "chokidar": "^3.6.0",
- "didyoumean": "^1.2.2",
- "dlv": "^1.1.3",
- "fast-glob": "^3.3.2",
- "glob-parent": "^6.0.2",
- "is-glob": "^4.0.3",
- "jiti": "^1.21.7",
- "lilconfig": "^3.1.3",
- "micromatch": "^4.0.8",
- "normalize-path": "^3.0.0",
- "object-hash": "^3.0.0",
- "picocolors": "^1.1.1",
- "postcss": "^8.4.47",
- "postcss-import": "^15.1.0",
- "postcss-js": "^4.0.1",
- "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0",
- "postcss-nested": "^6.2.0",
- "postcss-selector-parser": "^6.1.2",
- "resolve": "^1.22.8",
- "sucrase": "^3.35.0"
- },
- "bin": {
- "tailwind": "lib/cli.js",
- "tailwindcss": "lib/cli.js"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/tailwindcss-animate": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz",
- "integrity": "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==",
- "license": "MIT",
- "peerDependencies": {
- "tailwindcss": ">=3.0.0 || insiders"
- }
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz",
+ "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==",
+ "license": "MIT"
},
- "node_modules/tailwindcss/node_modules/jiti": {
- "version": "1.21.7",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
- "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
+ "node_modules/tapable": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",
+ "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",
+ "dev": true,
"license": "MIT",
- "bin": {
- "jiti": "bin/jiti.js"
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
}
},
"node_modules/tdigest": {
@@ -9321,27 +9198,6 @@
"integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==",
"license": "MIT"
},
- "node_modules/thenify": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
- "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
- "license": "MIT",
- "dependencies": {
- "any-promise": "^1.0.0"
- }
- },
- "node_modules/thenify-all": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
- "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
- "license": "MIT",
- "dependencies": {
- "thenify": ">= 3.1.0 < 4"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
"node_modules/tinybench": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
@@ -9363,6 +9219,7 @@
"version": "0.2.17",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
"integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"fdir": "^6.5.0",
@@ -9405,18 +9262,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "license": "MIT",
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
"node_modules/tough-cookie": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.2.tgz",
@@ -9464,18 +9309,21 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/ts-interface-checker": {
- "version": "0.1.13",
- "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
- "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
- "license": "Apache-2.0"
- },
"node_modules/tslib": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD"
},
+ "node_modules/tw-animate-css": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/tw-animate-css/-/tw-animate-css-1.4.0.tgz",
+ "integrity": "sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/Wombosvideo"
+ }
+ },
"node_modules/type-fest": {
"version": "5.9.0",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.9.0.tgz",
@@ -9678,37 +9526,6 @@
"url": "https://github.com/sponsors/kettanaito"
}
},
- "node_modules/update-browserslist-db": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
- "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "escalade": "^3.2.0",
- "picocolors": "^1.1.1"
- },
- "bin": {
- "update-browserslist-db": "cli.js"
- },
- "peerDependencies": {
- "browserslist": ">= 4.21.0"
- }
- },
"node_modules/use-callback-ref": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",
@@ -10228,7 +10045,7 @@
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
"integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
- "devOptional": true,
+ "dev": true,
"license": "ISC",
"bin": {
"yaml": "bin.mjs"
diff --git a/frontend/package.json b/frontend/package.json
index 483f31308..da37a8fdc 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -66,7 +66,7 @@
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
- "tailwindcss-animate": "^1.0.7",
+ "tw-animate-css": "^1.4.0",
"use-stick-to-bottom": "^1.1.6",
"winston": "^3.19.0",
"zustand": "^5.0.8"
@@ -77,6 +77,7 @@
"@emnapi/runtime": "^1.11.1",
"@emnapi/wasi-threads": "^1.2.2",
"@playwright/test": "^1.61.1",
+ "@tailwindcss/postcss": "^4.3.3",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.7",
@@ -86,14 +87,13 @@
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^6.1.1",
"@vitest/coverage-v8": "^4.1.11",
- "autoprefixer": "^10.5.2",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"knip": "^6.23.0",
"lint-staged": "^17.0.8",
"msw": "^2.15.0",
"postcss": "8.5.26",
- "tailwindcss": "^3.4.19",
+ "tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
"vitest": "^4.1.11"
},
diff --git a/frontend/postcss.config.mjs b/frontend/postcss.config.mjs
index a982c6414..61e36849c 100644
--- a/frontend/postcss.config.mjs
+++ b/frontend/postcss.config.mjs
@@ -1,7 +1,6 @@
const config = {
plugins: {
- tailwindcss: {},
- autoprefixer: {},
+ "@tailwindcss/postcss": {},
},
};
diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts
deleted file mode 100644
index d81a720e9..000000000
--- a/frontend/tailwind.config.ts
+++ /dev/null
@@ -1,356 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-import tailwindcssForms from "@tailwindcss/forms";
-import tailwindcssTypography from "@tailwindcss/typography";
-import { fontFamily } from "tailwindcss/defaultTheme";
-import plugin from "tailwindcss/plugin";
-import tailwindcssAnimate from "tailwindcss-animate";
-
-const config = {
- darkMode: ["class"],
- content: [
- "./pages/**/*.{ts,tsx}",
- "./components/**/*.{ts,tsx}",
- "./app/**/*.{ts,tsx}",
- "./lib/**/*.{ts,tsx}",
- ],
- theme: {
- container: {
- center: true,
- screens: {
- "2xl": "1400px",
- "3xl": "1500px",
- },
- },
- extend: {
- maxWidth: {
- content: "960px",
- "task-dialog": "var(--task-dialog-width)",
- },
- height: {
- "task-dialog": "var(--task-dialog-max-height)",
- },
- minHeight: {
- header: "var(--header-height)",
- },
- maxHeight: {
- "task-dialog": "var(--task-dialog-max-height)",
- },
- width: {
- "task-dialog": "var(--task-dialog-width)",
- "task-dialog-file-type": "var(--task-dialog-file-type-width)",
- },
- zIndex: {
- "task-dialog-menu": "var(--z-task-dialog-menu)",
- },
- screens: {
- xl: "1200px",
- "2xl": "1400px",
- "3xl": "1500px",
- },
- keyframes: {
- "toast-shake": {
- "0%, 100%": { transform: "translateX(0)" },
- "20%": { transform: "translateX(-6px)" },
- "40%": { transform: "translateX(6px)" },
- "60%": { transform: "translateX(-4px)" },
- "80%": { transform: "translateX(4px)" },
- },
- overlayShow: {
- from: {
- opacity: 0,
- },
- to: {
- opacity: 1,
- },
- },
- contentShow: {
- from: {
- opacity: 0,
- transform: "translate(-50%, -50%) scale(0.95)",
- clipPath: "inset(50% 0)",
- },
- to: {
- opacity: 1,
- transform: "translate(-50%, -50%) scale(1)",
- clipPath: "inset(0% 0)",
- },
- },
- wiggle: {
- "0%, 100%": {
- transform: "scale(100%)",
- },
- "50%": {
- transform: "scale(120%)",
- },
- },
- "accordion-down": {
- from: {
- height: "0",
- },
- to: {
- height: "var(--radix-accordion-content-height)",
- },
- },
- "accordion-up": {
- from: {
- height: "var(--radix-accordion-content-height)",
- },
- to: {
- height: "0",
- },
- },
- shimmer: {
- "0%": {
- backgroundPosition: "200% 0",
- },
- "100%": {
- backgroundPosition: "-200% 0",
- },
- },
- },
- animation: {
- "toast-shake": "toast-shake 0.4s ease-in-out",
- overlayShow: "overlayShow 400ms cubic-bezier(0.16, 1, 0.3, 1)",
- contentShow: "contentShow 400ms cubic-bezier(0.16, 1, 0.3, 1)",
- wiggle: "wiggle 150ms ease-in-out 1",
- "accordion-down": "accordion-down 0.2s ease-out",
- "accordion-up": "accordion-up 0.2s ease-out",
- shimmer: "shimmer 3s ease-in-out infinite",
- },
- colors: {
- border: "hsl(var(--border))",
- input: "hsl(var(--input))",
- ring: "hsl(var(--ring))",
- background: {
- DEFAULT: "hsl(var(--background))",
- dark: "hsl(var(--background-dark))",
- },
- foreground: "hsl(var(--foreground))",
- primary: {
- DEFAULT: "hsl(var(--primary))",
- foreground: "hsl(var(--primary-foreground))",
- hover: "hsl(var(--primary-hover))",
- },
- secondary: {
- DEFAULT: "hsl(var(--secondary))",
- foreground: "hsl(var(--secondary-foreground))",
- hover: "hsl(var(--secondary-hover))",
- },
- destructive: {
- DEFAULT: "hsl(var(--destructive))",
- foreground: "hsl(var(--destructive-foreground))",
- },
- muted: {
- DEFAULT: "hsl(var(--muted))",
- foreground: "hsl(var(--muted-foreground))",
- },
- accent: {
- DEFAULT: "hsl(var(--accent))",
- foreground: "hsl(var(--accent-foreground))",
- },
- "accent-emerald": {
- DEFAULT: "hsl(var(--accent-emerald))",
- foreground: "hsl(var(--accent-emerald-foreground))",
- },
- "accent-pink": {
- DEFAULT: "hsl(var(--accent-pink))",
- foreground: "hsl(var(--accent-pink-foreground))",
- },
- "accent-amber": {
- DEFAULT: "hsl(var(--accent-amber))",
- foreground: "hsl(var(--accent-amber-foreground))",
- },
- "brand-amber": {
- DEFAULT: "hsl(var(--brand-amber))",
- 30: "hsl(var(--brand-amber) / 0.3)",
- 10: "hsl(var(--brand-amber) / 0.1)",
- },
- "accent-purple": {
- DEFAULT: "hsl(var(--accent-purple))",
- foreground: "hsl(var(--accent-purple-foreground))",
- },
- "accent-indigo": {
- DEFAULT: "hsl(var(--accent-indigo))",
- foreground: "hsl(var(--accent-indigo-foreground))",
- },
- "accent-red": {
- DEFAULT: "hsl(var(--accent-red))",
- foreground: "hsl(var(--accent-red-foreground))",
- },
- popover: {
- DEFAULT: "hsl(var(--popover))",
- foreground: "hsl(var(--popover-foreground))",
- },
- card: {
- DEFAULT: "hsl(var(--card))",
- foreground: "hsl(var(--card-foreground))",
- },
- canvas: "hsl(var(--canvas))",
- "layer-contextual": "hsl(var(--layer-contextual))",
- "task-dialog-oss": "hsl(var(--task-dialog-oss-bg))",
- "task-dialog-oss-selected": "hsl(var(--task-dialog-oss-selected))",
- "layer-contextual-foreground":
- "hsl(var(--layer-contextual-foreground))",
- "border-subtle-contextual":
- "hsl(var(--border-subtle-background-contextual))",
- "text-text-01": "hsl(var(--text-text-01))",
- "link-primary": "hsl(var(--link-primary))",
- "button-tertiary": "hsl(var(--button-tertiary))",
- "component-icon": "var(--component-icon)",
- "flow-icon": "var(--flow-icon)",
- "placeholder-foreground": "hsl(var(--placeholder-foreground))",
- placeholder: "hsl(var(--placeholder))",
- "function-call-header": {
- DEFAULT: "var(--function-call-header)",
- hover: "var(--function-call-header-hover)",
- },
- badge: {
- DEFAULT: "hsl(var(--badge))",
- foreground: "hsl(var(--badge-foreground))",
- },
- warning: {
- DEFAULT: "hsl(var(--warning))",
- foreground: "hsl(var(--warning-foreground))",
- },
- sidebar: {
- DEFAULT: "hsl(var(--sidebar-background))",
- foreground: "hsl(var(--sidebar-foreground))",
- primary: "hsl(var(--sidebar-primary))",
- "primary-foreground": "hsl(var(--sidebar-primary-foreground))",
- accent: "hsl(var(--sidebar-accent))",
- "accent-foreground": "hsl(var(--sidebar-accent-foreground))",
- border: "hsl(var(--sidebar-border))",
- ring: "hsl(var(--sidebar-ring))",
- },
- failure: {
- soft: "var(--failure-soft)",
- pill: "var(--failure-pill)",
- file: "var(--failure-file)",
- log: "var(--failure-log)",
- message: "var(--failure-message)",
- scroll: "var(--failure-scroll)",
- muted: "var(--failure-muted)",
- "component-cause": "hsl(var(--failure-component-cause))",
- },
- "task-status": {
- failed: {
- DEFAULT: "hsl(var(--task-status-failed-bg))",
- foreground: "hsl(var(--task-status-failed-fg))",
- },
- partial: {
- DEFAULT: "hsl(var(--task-status-partial-bg))",
- foreground: "hsl(var(--task-status-partial-fg))",
- },
- complete: {
- DEFAULT: "hsl(var(--task-status-complete-bg))",
- foreground: "hsl(var(--task-status-complete-fg))",
- },
- },
- },
- spacing: {
- mmd: "13px",
- "task-dialog-error-indent": "var(--task-dialog-error-indent)",
- "task-dialog-error-indent-cloud":
- "var(--task-dialog-error-indent-cloud)",
- },
- borderRadius: {
- lg: "var(--radius)",
- md: "calc(var(--radius) - 2px)",
- sm: "calc(var(--radius) - 4px)",
- mmd: "var(--radius-mmd)",
- },
- fontFamily: {
- sans: ["var(--font-sans)", ...fontFamily.sans],
- mono: ["var(--font-mono)", ...fontFamily.mono],
- chivo: ["var(--font-chivo)", ...fontFamily.sans],
- "ibm-plex-sans": ["var(--font-ibm-plex-sans)", ...fontFamily.sans],
- },
- fontSize: {
- xxs: "11px",
- mmd: "13px",
- },
- },
- },
- plugins: [
- tailwindcssAnimate,
- tailwindcssForms({
- strategy: "class",
- }),
- plugin(({ addUtilities }) => {
- addUtilities({
- ".scrollbar-hide": {
- "-ms-overflow-style": "none",
- "scrollbar-width": "none",
- "&::-webkit-scrollbar": {
- display: "none",
- },
- },
- ".truncate-multiline": {
- display: "-webkit-box",
- "-webkit-line-clamp": "3",
- "-webkit-box-orient": "vertical",
- overflow: "hidden",
- "text-overflow": "ellipsis",
- },
- ".custom-scroll": {
- "&::-webkit-scrollbar": {
- width: "8px",
- height: "8px",
- },
- "&::-webkit-scrollbar-track": {
- backgroundColor: "hsl(var(--muted))",
- },
- "&::-webkit-scrollbar-thumb": {
- backgroundColor: "hsl(var(--border))",
- borderRadius: "999px",
- },
- "&::-webkit-scrollbar-thumb:hover": {
- backgroundColor: "hsl(var(--placeholder-foreground))",
- },
- },
- ".primary-input": {
- display: "block",
- width: "100%",
- height: "40px",
- borderRadius: "0.375rem",
- border: "1px solid hsl(var(--input))",
- backgroundColor: "hsl(var(--background))",
- paddingLeft: "0.75rem",
- paddingRight: "0.75rem",
- paddingTop: "0.5rem",
- paddingBottom: "0.5rem",
- fontSize: "0.875rem",
- textAlign: "left",
- textOverflow: "ellipsis",
- transitionProperty:
- "color, background-color, border-color, text-decoration-color, fill, stroke",
- transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
- transitionDuration: "150ms",
- "&::placeholder": {
- color: "hsl(var(--muted-foreground))",
- },
- "&:hover": {
- borderColor: "hsl(var(--muted-foreground))",
- },
- "&:focus": {
- borderColor: "hsl(var(--foreground))",
- outline: "none",
- boxShadow: "none",
- "&::placeholder": {
- color: "transparent",
- },
- },
- "&:disabled": {
- pointerEvents: "none",
- cursor: "not-allowed",
- backgroundColor: "hsl(var(--muted))",
- color: "hsl(var(--muted-foreground))",
- },
- },
- });
- }),
- tailwindcssTypography,
- ],
-};
-
-export default config;