From 55ca9116a3ba4650e76102a7745ce790b3171fe6 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Thu, 24 Sep 2026 16:44:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20Semantic=20Colour=20Rol?= =?UTF-8?q?es=20for=20Builder,=20Tools=20and=20Sharing=20Surfaces=20(#1629?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * style: move builder, tools and sharing surfaces onto semantic colour roles Replace raw palette utilities and dark: colour overrides in the Assistants builder, agent tool rows, principal avatars, SharePoint picker, code-analysis block, in-flight steers, prompt variables and the skill file editor with theme roles, so custom themes repaint them. Where a shared primitive owns its colour, the local override is dropped so the primitive's tokens apply. * test: cover semantic colour roles on builder, tools and sharing surfaces under a reference theme * fix: keep the theme focus ring, let steer text beat prose, clean up seeded messages Restore the ring-ring-primary focus role on the actions panel buttons so a theme's own focus colour applies, give the in-flight steer body an important text role so the unlayered .prose colour no longer wins, delete the messages the code-analysis scenarios seed, and read the v4 placeholder reference from the root --gray-400 triplet now that no source generates text-gray-400. (cherry picked from commit 5960f84a21f954b323de8d8c9e1557a096416896) Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/16294 --- .../Chat/Input/Files/Table/Columns.tsx | 12 +- .../components/Chat/Input/InFlightSteers.tsx | 2 +- .../Chat/Messages/Content/CodeAnalyze.tsx | 17 +- .../components/Prompts/editor/Markdown.tsx | 4 +- .../SharePoint/SharePointPickerDialog.tsx | 6 +- .../components/Sharing/PrincipalAvatar.tsx | 12 +- .../components/SidePanel/Agents/AgentTool.tsx | 4 +- .../SidePanel/Agents/Tools/ToolRow.tsx | 14 +- .../Tools/items/__tests__/icons.spec.ts | 6 +- .../SidePanel/Agents/Tools/items/icons.ts | 24 +- .../SidePanel/Builder/ActionsPanel.tsx | 2 +- .../SidePanel/Builder/AppendDateCheckbox.tsx | 6 +- .../SidePanel/Builder/AssistantPanel.tsx | 4 +- .../SidePanel/Builder/AssistantSelect.tsx | 17 +- .../SidePanel/Builder/AssistantTool.tsx | 4 +- .../src/components/SidePanel/Builder/Code.tsx | 6 +- .../SidePanel/Builder/ContextButton.tsx | 2 +- .../SidePanel/Builder/Retrieval.tsx | 6 +- .../Skills/tree/SkillFileEditor.tsx | 1 - .../mock/scenarios/semantic-surfaces.spec.ts | 351 ++++++++++++++++++ e2e/specs/mock/scenarios/v4-rendering.spec.ts | 10 +- eslint-suppressions.json | 78 +--- .../client/src/components/InputNumber.tsx | 15 - 23 files changed, 429 insertions(+), 174 deletions(-) create mode 100644 e2e/specs/mock/scenarios/semantic-surfaces.spec.ts diff --git a/client/src/components/Chat/Input/Files/Table/Columns.tsx b/client/src/components/Chat/Input/Files/Table/Columns.tsx index 01195dfc55..2c2c6985a7 100644 --- a/client/src/components/Chat/Input/Files/Table/Columns.tsx +++ b/client/src/components/Chat/Input/Files/Table/Columns.tsx @@ -90,7 +90,7 @@ export const columns: ColumnDef[] = [ render={ diff --git a/client/src/components/SidePanel/Builder/AppendDateCheckbox.tsx b/client/src/components/SidePanel/Builder/AppendDateCheckbox.tsx index b0c4c79015..2bbc0c17d6 100644 --- a/client/src/components/SidePanel/Builder/AppendDateCheckbox.tsx +++ b/client/src/components/SidePanel/Builder/AppendDateCheckbox.tsx @@ -45,7 +45,7 @@ export default function AppendDateCheckbox({ control, setValue }: AppendDateChec /> )} /> -
+
-
+
{/* Avatar & Name */}
( - + - + {createAssistant} diff --git a/client/src/components/SidePanel/Builder/AssistantTool.tsx b/client/src/components/SidePanel/Builder/AssistantTool.tsx index 6a794c8b08..b230580f1e 100644 --- a/client/src/components/SidePanel/Builder/AssistantTool.tsx +++ b/client/src/components/SidePanel/Builder/AssistantTool.tsx @@ -65,7 +65,7 @@ export default function AssistantTool({ {currentTool.icon && (
@@ -82,7 +82,7 @@ export default function AssistantTool({ diff --git a/client/src/components/SidePanel/Builder/Code.tsx b/client/src/components/SidePanel/Builder/Code.tsx index 1a9447f4f8..a7fa6d5021 100644 --- a/client/src/components/SidePanel/Builder/Code.tsx +++ b/client/src/components/SidePanel/Builder/Code.tsx @@ -37,7 +37,7 @@ export default function Code({ version }: { version: number | string }) { />
-

+

{version == 2 && localize('com_assistants_code_interpreter_info')}

diff --git a/client/src/components/SidePanel/Builder/ContextButton.tsx b/client/src/components/SidePanel/Builder/ContextButton.tsx index 00df7bb68b..ab2f6250e4 100644 --- a/client/src/components/SidePanel/Builder/ContextButton.tsx +++ b/client/src/components/SidePanel/Builder/ContextButton.tsx @@ -94,7 +94,7 @@ export default function ContextButton({ )} type="button" > -
+
diff --git a/client/src/components/SidePanel/Builder/Retrieval.tsx b/client/src/components/SidePanel/Builder/Retrieval.tsx index 7e4f8255cb..2be305272b 100644 --- a/client/src/components/SidePanel/Builder/Retrieval.tsx +++ b/client/src/components/SidePanel/Builder/Retrieval.tsx @@ -55,7 +55,7 @@ export default function Retrieval({ /> )} /> -
+
-

+

{version == 2 && localize('com_assistants_file_search_info')}

diff --git a/client/src/components/Skills/tree/SkillFileEditor.tsx b/client/src/components/Skills/tree/SkillFileEditor.tsx index 297aa92fc9..5d782d8df6 100644 --- a/client/src/components/Skills/tree/SkillFileEditor.tsx +++ b/client/src/components/Skills/tree/SkillFileEditor.tsx @@ -109,7 +109,6 @@ export default function SkillFileEditor({ skillId, nodeId, fileName }: SkillFile className={cn( 'text-text-primary size-full resize-none rounded-none border-0 bg-transparent px-4 py-3 font-mono text-[13px] leading-6', 'focus-visible:ring-ring-primary focus:ring-0 focus:ring-offset-0 focus-visible:ring-2 focus-visible:ring-inset', - 'selection:bg-blue-500/20', )} aria-label={`${localize('com_ui_edit')} ${fileName}`} /> diff --git a/e2e/specs/mock/scenarios/semantic-surfaces.spec.ts b/e2e/specs/mock/scenarios/semantic-surfaces.spec.ts new file mode 100644 index 0000000000..0b072ebe12 --- /dev/null +++ b/e2e/specs/mock/scenarios/semantic-surfaces.spec.ts @@ -0,0 +1,351 @@ +import { randomUUID } from 'crypto'; +import { expect, test } from '@playwright/test'; +import type { Locator, Page } from '@playwright/test'; +import type { IThemeRGB } from '../../../../packages/client/src/theme/types'; +import { + deleteConversations, + deleteMessagesByConversation, + seedConversations, + withMongo, +} from '../db'; +import { clickHouseTheme } from '../../../../packages/client/src/theme/themes/clickhouse'; +import { openAgentBuilder, uniqueAgentName, cleanupAgent } from '../agents.helpers'; +import { MOCK_ENDPOINTS, getAccessToken, requestJson } from '../helpers'; +import { getE2EUser } from '../../../setup/user'; +import { probeStyle } from './style.helpers'; + +/** + * The builder, tools, sharing and message surfaces used to paint with palette + * utilities and `dark:` twins, which no theme reaches. Each scenario hands the + * app the ClickHouse reference definition and reads what the browser paints, + * comparing it with the value the definition sets for the role the surface + * should use, in both modes. + */ + +type Mode = 'light' | 'dark'; +type Rgb = [number, number, number]; + +const MODES: Mode[] = ['light', 'dark']; +const THEME_PARAM = 'e2eThemeMode'; +const WCAG_AA_NORMAL = 4.5; +const CODE_INPUT = 'print(21 * 2)'; +const CODE_LOGS = 'forty-two-result'; + +async function installThemeBridge(page: Page) { + await page.addInitScript((stored) => { + const mode = new URL(location.href).searchParams.get('e2eThemeMode'); + if (mode) { + localStorage.setItem('color-theme', mode); + } + localStorage.removeItem('theme-colors'); + localStorage.removeItem('theme-name'); + localStorage.setItem('theme-definition', JSON.stringify(stored)); + localStorage.setItem('theme-source', 'definition'); + }, clickHouseTheme); +} + +const colorsFor = (mode: Mode): IThemeRGB => clickHouseTheme.modes[mode]?.colors ?? {}; + +const rgbCss = (triplet: string | undefined) => `rgb(${(triplet ?? '').split(' ').join(', ')})`; + +function parseRgb(value: string): Rgb { + const channels = value.match(/\d+(\.\d+)?/g)?.map(Number) ?? []; + return [channels[0], channels[1], channels[2]]; +} + +function channel(value: number): number { + const c = value / 255; + return c <= 0.04045 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4); +} + +function contrast(a: Rgb, b: Rgb): number { + const luminance = ([r, g, b]: Rgb) => + 0.2126 * channel(r) + 0.7152 * channel(g) + 0.0722 * channel(b); + const [lighter, darker] = [luminance(a), luminance(b)].sort((x, y) => y - x); + return (lighter + 0.05) / (darker + 0.05); +} + +const painted = (locator: Locator) => + locator.evaluate((node) => { + const style = getComputedStyle(node); + return { color: style.color, background: style.backgroundColor }; + }); + +async function createAgent(page: Page, name: string, tools: string[]): Promise { + const token = await getAccessToken(page); + const agent = await requestJson<{ id: string }>(page, { + path: '/api/agents', + token, + method: 'POST', + body: { + name, + provider: MOCK_ENDPOINTS[0].label, + model: MOCK_ENDPOINTS[0].model, + tools, + }, + }); + return agent.id; +} + +async function selectAgentInBuilder(page: Page, name: string) { + const form = await openAgentBuilder(page); + await form.getByRole('combobox', { name: 'Agent', exact: true }).click(); + await page.getByRole('option', { name, exact: true }).click(); + await expect(form.getByLabel('Agent name')).toHaveValue(name); + return form; +} + +async function seedCodeAnalysis(title: string, logs?: string): Promise { + const conversationId = randomUUID(); + const { email } = getE2EUser(); + await seedConversations(email, [{ conversationId, title, updatedAt: new Date() }]); + await withMongo(async (db) => { + const user = await db.collection('users').findOne({ email }); + const userId = String(user?._id); + const userMessageId = randomUUID(); + const now = Date.now(); + await db.collection('messages').insertMany([ + { + messageId: userMessageId, + parentMessageId: '00000000-0000-0000-0000-000000000000', + conversationId, + user: userId, + endpoint: 'agents', + text: 'Run the numbers', + isCreatedByUser: true, + sender: 'User', + error: false, + unfinished: false, + createdAt: new Date(now), + updatedAt: new Date(now), + __v: 0, + }, + { + messageId: randomUUID(), + parentMessageId: userMessageId, + conversationId, + user: userId, + endpoint: 'agents', + text: '', + isCreatedByUser: false, + sender: 'Mock Provider A', + error: false, + unfinished: false, + content: [ + { + type: 'tool_call', + tool_call: { + id: `ci-${conversationId}`, + type: 'code_interpreter', + progress: 1, + code_interpreter: { + input: CODE_INPUT, + outputs: logs == null ? [] : [{ type: 'logs', logs }], + }, + }, + }, + { type: 'text', text: 'Done.' }, + ], + createdAt: new Date(now + 1000), + updatedAt: new Date(now + 1000), + __v: 0, + }, + ]); + }); + return conversationId; +} + +async function openCodeAnalysis(page: Page, conversationId: string, mode: Mode) { + await page.goto(`/c/${conversationId}?${THEME_PARAM}=${mode}`); + await expect(page.locator('html')).toHaveClass(new RegExp(`\\b${mode}\\b`)); + await page.getByRole('button', { name: 'Finished analyzing' }).first().click(); + const block = page.locator('.code-analyze-block').first(); + await expect(block).toBeVisible({ timeout: 20000 }); + return block; +} + +test.describe('semantic colour roles on builder, tools and sharing surfaces', () => { + test('agent tool rows paint their icon chips with the theme series roles @scenario:agent-tool-row-chips-follow-theme-series-roles', async ({ + page, + }) => { + test.setTimeout(120000); + await installThemeBridge(page); + await page.goto('/c/new'); + const name = uniqueAgentName('Theme Tool Rows'); + const agentId = await createAgent(page, name, ['execute_code', 'file_search']); + + try { + for (const mode of MODES) { + await page.goto(`/c/new?${THEME_PARAM}=${mode}`); + const form = await selectAgentInBuilder(page, name); + const colors = colorsFor(mode); + + const runCode = form.getByText('Run Code', { exact: true }).first(); + await expect(runCode).toBeVisible(); + const chip = runCode + .locator('xpath=ancestor::div[contains(@class,"group")][1]') + .locator('span[aria-hidden="true"]') + .first(); + const chipPaint = await painted(chip); + expect(chipPaint.color).toBe(rgbCss(colors['rgb-series-7'])); + expect(chipPaint.background).toBe( + await probeStyle(page, 'bg-series-7/15', 'background-color'), + ); + + const fileSearch = form.getByText('File Search', { exact: true }).first(); + const fileChip = fileSearch + .locator('xpath=ancestor::div[contains(@class,"group")][1]') + .locator('span[aria-hidden="true"]') + .first(); + expect((await painted(fileChip)).color).toBe(rgbCss(colors['rgb-series-5'])); + } + } finally { + await cleanupAgent(page, agentId); + } + }); + + test('the share dialog paints a user principal with the theme series role @scenario:share-dialog-user-avatar-follows-theme-series-role', async ({ + page, + }) => { + test.setTimeout(120000); + await installThemeBridge(page); + await page.goto('/c/new'); + const name = uniqueAgentName('Theme Share Avatar'); + const agentId = await createAgent(page, name, []); + + try { + for (const mode of MODES) { + await page.goto(`/c/new?${THEME_PARAM}=${mode}`); + await selectAgentInBuilder(page, name); + await page.getByRole('button', { name: `Share ${name}` }).click(); + const dialog = page.getByRole('dialog').filter({ hasText: `Share ${name}` }); + await expect(dialog).toBeVisible(); + + const icon = dialog.locator('svg.lucide-user').first(); + await expect(icon).toBeVisible(); + const colors = colorsFor(mode); + expect((await painted(icon)).color).toBe(rgbCss(colors['rgb-series-1'])); + const container = icon.locator('xpath=..'); + expect((await painted(container)).background).toBe( + await probeStyle(page, 'bg-series-1/15', 'background-color'), + ); + } + } finally { + await cleanupAgent(page, agentId); + } + }); + + test('a code-analysis block paints the theme code surface and keeps its output readable @scenario:code-analysis-block-follows-theme-code-surface', async ({ + page, + }) => { + test.setTimeout(90000); + const conversationId = await seedCodeAnalysis('Theme code analysis', CODE_LOGS); + await installThemeBridge(page); + + try { + for (const mode of MODES) { + const colors = colorsFor(mode); + const block = await openCodeAnalysis(page, conversationId, mode); + expect((await painted(block)).background).toBe(rgbCss(colors['rgb-surface-code'])); + + const output = block.getByText(CODE_LOGS, { exact: true }); + await expect(output).toBeVisible(); + const pane = block.getByText('Result', { exact: true }).locator('xpath=..'); + const panePaint = await painted(pane); + expect(panePaint.background).toBe(rgbCss(colors['rgb-surface-tertiary'])); + + const outputColor = (await painted(output)).color; + expect(outputColor).toBe(rgbCss(colors['rgb-text-primary'])); + expect(contrast(parseRgb(outputColor), parseRgb(panePaint.background))).toBeGreaterThan( + WCAG_AA_NORMAL, + ); + } + } finally { + await deleteMessagesByConversation([conversationId]); + await deleteConversations([conversationId]); + } + }); + + test('a code-analysis block without output shows the code alone @scenario:code-analysis-block-without-output-has-no-result-pane', async ({ + page, + }) => { + test.setTimeout(90000); + const conversationId = await seedCodeAnalysis('Theme code analysis empty'); + await installThemeBridge(page); + + try { + for (const mode of MODES) { + const colors = colorsFor(mode); + const block = await openCodeAnalysis(page, conversationId, mode); + expect((await painted(block)).background).toBe(rgbCss(colors['rgb-surface-code'])); + await expect(block.getByText('print', { exact: false }).first()).toBeVisible(); + await expect(block.getByText('Result', { exact: true })).toHaveCount(0); + } + } finally { + await deleteMessagesByConversation([conversationId]); + await deleteConversations([conversationId]); + } + }); + + test('a prompt variable paints the theme warning roles @scenario:prompt-variable-chip-follows-theme-warning-role', async ({ + page, + }) => { + test.setTimeout(120000); + await installThemeBridge(page); + const groupIds: string[] = []; + + try { + for (const mode of MODES) { + await page.goto(`/c/new?${THEME_PARAM}=${mode}`); + await expect(page.locator('html')).toHaveClass(new RegExp(`\\b${mode}\\b`)); + const promptsButton = page.getByRole('button', { name: 'Prompts', exact: true }); + if ((await promptsButton.getAttribute('aria-pressed')) !== 'true') { + await promptsButton.click(); + } + + /** Prompts open on their own page only from inside the app, and creating + * one is the path that lands there. */ + await page.getByRole('button', { name: 'Create Prompt' }).click(); + const dialog = page.getByRole('dialog'); + await expect(dialog).toBeVisible(); + await dialog + .getByRole('textbox', { name: 'Prompt Name' }) + .fill(`Theme variable ${mode} ${randomUUID().slice(0, 8)}`); + await dialog + .getByRole('textbox', { name: 'Prompt text input field' }) + .fill('Summarize {{topic}} for the team.'); + const [created] = await Promise.all([ + page.waitForResponse( + (response) => + response.request().method() === 'POST' && + new URL(response.url()).pathname === '/api/prompts' && + response.ok(), + { timeout: 30000 }, + ), + dialog.getByRole('button', { name: 'Create Prompt' }).click(), + ]); + const body = (await created.json()) as { group?: { _id: string } }; + const groupId = body.group?._id ?? ''; + expect(groupId).not.toBe(''); + groupIds.push(groupId); + await expect(page).toHaveURL(new RegExp(`/prompts/${groupId}$`)); + + const chip = page.locator('b').filter({ hasText: '{{topic}}' }).first(); + await expect(chip).toBeVisible({ timeout: 20000 }); + const colors = colorsFor(mode); + const chipPaint = await painted(chip); + expect(chipPaint.background).toBe(rgbCss(colors['rgb-status-warning-subtle'])); + expect(chipPaint.color).toBe(rgbCss(colors['rgb-text-warning'])); + } + } finally { + const token = await getAccessToken(page); + for (const groupId of groupIds) { + await requestJson<{ message?: string }>(page, { + path: `/api/prompts/groups/${encodeURIComponent(groupId)}`, + token, + method: 'DELETE', + }); + } + } + }); +}); diff --git a/e2e/specs/mock/scenarios/v4-rendering.spec.ts b/e2e/specs/mock/scenarios/v4-rendering.spec.ts index 6bfeb44b00..e121359bef 100644 --- a/e2e/specs/mock/scenarios/v4-rendering.spec.ts +++ b/e2e/specs/mock/scenarios/v4-rendering.spec.ts @@ -149,11 +149,13 @@ test.describe('Tailwind v4 rendering', () => { expect(bare).not.toBe(inherited); /** And v4 would paint a placeholder as the field's own colour at half - * opacity. The app restores gray-400, which `text-gray-400` paints from the - * same CSS. The composer sets its own `placeholder:` role, so the probe is - * a plain field — which is what the preflight rule governs. */ + * opacity. The app restores gray-400, read from the root `--gray-400` + * triplet for the same reason as the border: no source writes + * `text-gray-400` any more, so a probe carrying it generates no CSS. The + * composer sets its own `placeholder:` role, so the probe is a plain + * field, which is what the preflight rule governs. */ const placeholder = await probePlaceholderColor(page); - const gray400 = await probeStyle(page, 'text-gray-400', 'color'); + const gray400 = await normalizeColor(page, `rgb(${await themeValue(page, '--gray-400')})`); const body = await probeStyle(page, '', 'color'); expect(placeholder).toBe(gray400); expect(placeholder).not.toBe(body); diff --git a/eslint-suppressions.json b/eslint-suppressions.json index 844e87c4b4..32c5869d21 100644 --- a/eslint-suppressions.json +++ b/eslint-suppressions.json @@ -304,11 +304,8 @@ } }, "client/src/components/Chat/Input/Files/Table/Columns.tsx": { - "shadcn/no-raw-colors": { - "count": 3 - }, "shadcn/no-restyle": { - "count": 23 + "count": 21 } }, "client/src/components/Chat/Input/Files/Table/DataTable.tsx": { @@ -325,9 +322,6 @@ } }, "client/src/components/Chat/Input/InFlightSteers.tsx": { - "shadcn/no-raw-colors": { - "count": 1 - }, "shadcn/no-unknown-classes": { "count": 1 }, @@ -554,14 +548,6 @@ "count": 10 } }, - "client/src/components/Chat/Messages/Content/CodeAnalyze.tsx": { - "shadcn/no-inline-styles": { - "count": 1 - }, - "shadcn/no-raw-colors": { - "count": 2 - } - }, "client/src/components/Chat/Messages/Content/Container.tsx": { "shadcn/no-raw-colors": { "count": 1 @@ -1695,9 +1681,6 @@ "client/src/components/Prompts/editor/Markdown.tsx": { "shadcn/no-arbitrary-values": { "count": 1 - }, - "shadcn/no-raw-colors": { - "count": 1 } }, "client/src/components/Prompts/editor/PromptEditor.tsx": { @@ -1808,9 +1791,6 @@ } }, "client/src/components/SharePoint/SharePointPickerDialog.tsx": { - "shadcn/no-raw-colors": { - "count": 2 - }, "shadcn/no-restyle": { "count": 6 } @@ -1922,9 +1902,6 @@ "shadcn/no-inline-styles": { "count": 5 }, - "shadcn/no-raw-colors": { - "count": 2 - }, "shadcn/no-restyle": { "count": 9 } @@ -2082,9 +2059,6 @@ } }, "client/src/components/SidePanel/Agents/Tools/ToolRow.tsx": { - "shadcn/no-raw-colors": { - "count": 1 - }, "shadcn/no-restyle": { "count": 8 } @@ -2142,19 +2116,6 @@ "count": 4 } }, - "client/src/components/SidePanel/Builder/ActionsPanel.tsx": { - "shadcn/no-raw-colors": { - "count": 1 - } - }, - "client/src/components/SidePanel/Builder/AppendDateCheckbox.tsx": { - "shadcn/no-raw-colors": { - "count": 3 - }, - "shadcn/no-restyle": { - "count": 1 - } - }, "client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx": { "shadcn/no-inline-styles": { "count": 3 @@ -2164,9 +2125,6 @@ } }, "client/src/components/SidePanel/Builder/AssistantPanel.tsx": { - "shadcn/no-raw-colors": { - "count": 2 - }, "shadcn/no-restyle": { "count": 4 }, @@ -2175,27 +2133,13 @@ } }, "client/src/components/SidePanel/Builder/AssistantSelect.tsx": { - "shadcn/no-raw-colors": { - "count": 15 - }, "shadcn/no-restyle": { - "count": 19 + "count": 7 } }, "client/src/components/SidePanel/Builder/AssistantTool.tsx": { "shadcn/no-inline-styles": { "count": 5 - }, - "shadcn/no-raw-colors": { - "count": 2 - } - }, - "client/src/components/SidePanel/Builder/Code.tsx": { - "shadcn/no-raw-colors": { - "count": 3 - }, - "shadcn/no-restyle": { - "count": 1 } }, "client/src/components/SidePanel/Builder/CodeFiles.tsx": { @@ -2203,11 +2147,6 @@ "count": 1 } }, - "client/src/components/SidePanel/Builder/ContextButton.tsx": { - "shadcn/no-raw-colors": { - "count": 1 - } - }, "client/src/components/SidePanel/Builder/Images.tsx": { "shadcn/no-arbitrary-values": { "count": 1 @@ -2224,14 +2163,6 @@ "count": 1 } }, - "client/src/components/SidePanel/Builder/Retrieval.tsx": { - "shadcn/no-raw-colors": { - "count": 3 - }, - "shadcn/no-restyle": { - "count": 1 - } - }, "client/src/components/SidePanel/Files/PanelColumns.tsx": { "shadcn/no-restyle": { "count": 4 @@ -2446,11 +2377,8 @@ "shadcn/no-arbitrary-values": { "count": 4 }, - "shadcn/no-raw-colors": { - "count": 1 - }, "shadcn/no-restyle": { - "count": 19 + "count": 18 } }, "client/src/components/Skills/tree/SkillFilePreview.tsx": { diff --git a/packages/client/src/components/InputNumber.tsx b/packages/client/src/components/InputNumber.tsx index f27831cd12..d18f17f563 100644 --- a/packages/client/src/components/InputNumber.tsx +++ b/packages/client/src/components/InputNumber.tsx @@ -29,19 +29,4 @@ const InputNumber: React.ForwardRefExoticComponent< ); InputNumber.displayName = 'Input'; -// console.log(_InputNumber); - -// const InputNumber = React.forwardRef(({ className, ...props }, ref) => { -// return ( -// -// ); -// }); - export { InputNumber };