From ae4184f84892c008b958b7bfb5046f57ef1105ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Thu, 30 Jul 2026 13:00:27 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20tighten=20toolbar=20con?= =?UTF-8?q?trols=20to=20compact=20density=20-=20search,=20filter=20selects?= =?UTF-8?q?,=20filter=20buttons,=20columns=20menu:=20h-9=20=E2=86=92=20h-8?= =?UTF-8?q?,=20text-[13px]=20-=20selects/filters=20use=20rounded-lg=20(was?= =?UTF-8?q?=20rounded-md)=20to=20match=20the=20standard=20-=20update=20ui-?= =?UTF-8?q?conventions=20skill=20+=20tokens=20doc=20(compact=20h-8=20stand?= =?UTF-8?q?ard);=20sync=20.codex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/skills/ui-conventions/SKILL.md | 2 +- .codex/skills/ui-conventions/SKILL.md | 2 +- docs/ui/ui-redesign-tokens.md | 2 +- src/components/ui/data-table-search.tsx | 2 +- src/components/ui/data-table-view-menu.tsx | 2 +- src/components/ui/data-table.tsx | 2 +- src/components/ui/select.tsx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.claude/skills/ui-conventions/SKILL.md b/.claude/skills/ui-conventions/SKILL.md index 7dcecc1..ab21ffa 100644 --- a/.claude/skills/ui-conventions/SKILL.md +++ b/.claude/skills/ui-conventions/SKILL.md @@ -48,7 +48,7 @@ Active project reference docs (read the relevant one before changing that area): - Application tables must use `src/components/ui/data-table.tsx` `DataTable`. - Actions columns stay fixed at `w-[110px] min-w-[110px] max-w-[110px] h-[45px] text-center whitespace-nowrap` to prevent localized headers like `"İŞLEMLER"` from changing their size. - Table-page headers fold into the `DataTable` title/description/actions area; do not render a separate `PageHeader` above table-primary pages. -- Search inputs, dropdown filters, filter buttons, and toolbar actions share the same height/radius (`h-9 rounded-lg` unless the shared component changes the standard globally). +- Search inputs, dropdown filters, filter buttons, and column controls share the same compact height/radius (`h-8 rounded-lg`, `text-[13px]`) unless the shared component changes the standard globally. Page-header primary actions may stay `h-9`. - Pages/domain components must not import or render `Table` primitives directly; only the `DataTable` wrapper and table primitive files may. ## Date/time & attendance diff --git a/.codex/skills/ui-conventions/SKILL.md b/.codex/skills/ui-conventions/SKILL.md index 7dcecc1..ab21ffa 100644 --- a/.codex/skills/ui-conventions/SKILL.md +++ b/.codex/skills/ui-conventions/SKILL.md @@ -48,7 +48,7 @@ Active project reference docs (read the relevant one before changing that area): - Application tables must use `src/components/ui/data-table.tsx` `DataTable`. - Actions columns stay fixed at `w-[110px] min-w-[110px] max-w-[110px] h-[45px] text-center whitespace-nowrap` to prevent localized headers like `"İŞLEMLER"` from changing their size. - Table-page headers fold into the `DataTable` title/description/actions area; do not render a separate `PageHeader` above table-primary pages. -- Search inputs, dropdown filters, filter buttons, and toolbar actions share the same height/radius (`h-9 rounded-lg` unless the shared component changes the standard globally). +- Search inputs, dropdown filters, filter buttons, and column controls share the same compact height/radius (`h-8 rounded-lg`, `text-[13px]`) unless the shared component changes the standard globally. Page-header primary actions may stay `h-9`. - Pages/domain components must not import or render `Table` primitives directly; only the `DataTable` wrapper and table primitive files may. ## Date/time & attendance diff --git a/docs/ui/ui-redesign-tokens.md b/docs/ui/ui-redesign-tokens.md index 7968220..ed4cccd 100644 --- a/docs/ui/ui-redesign-tokens.md +++ b/docs/ui/ui-redesign-tokens.md @@ -69,7 +69,7 @@ display-font, translucent surface, or custom shadow rules. right, and inherits the exact opaque row surface - Data columns fill the available table width at a consistent proportional width. Column resizing is not offered (no resize handles, no width persistence) -- Search and column controls: `h-9 rounded-lg` (not pill) +- Search / filter / column controls: compact `h-8 rounded-lg` + `text-[13px]` (not pill) - Pagination includes range, optional page-size selector, previous/next, and page count - `storageKey` remains optional. When provided, only column visibility persists diff --git a/src/components/ui/data-table-search.tsx b/src/components/ui/data-table-search.tsx index 392cfed..7acb875 100644 --- a/src/components/ui/data-table-search.tsx +++ b/src/components/ui/data-table-search.tsx @@ -19,7 +19,7 @@ export function DataTableSearch(props: DataTableSearchProps) { value={props.value} onInput={(event) => props.onChange(event.currentTarget.value)} placeholder={props.placeholder ?? "Ara"} - class={cn("h-9 rounded-lg bg-muted/40", props.value ? "pl-9 pr-8" : "pl-9")} + class={cn("h-8 rounded-lg bg-muted/40 text-[13px] md:text-[13px]", props.value ? "pl-9 pr-8" : "pl-9")} />