Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/wide-taps-land.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tailor-platform/app-shell": patch
---

Give small controls a 24×24px hit area (WCAG 2.5.8 target size) without changing their look: `Checkbox` (16px box), the date field segments, `Dialog`'s close button, `Combobox` chip remove buttons, `DescriptionCard`'s copy button, `DataTable`'s sub-row caret and `BadgeList`'s "+N" trigger.
Capsule `Tabs` with `size="xs"` now use a 24px tab inside 2px of track padding; the 28px track is unchanged, the active capsule is 4px taller.
26 changes: 13 additions & 13 deletions docs-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@
"symbols": ["Checkbox", "CheckboxProps"],
"hashes": {
"typeSurface": "3886bf7012f24283",
"outline": "c6eabaf24988d251",
"snapshot": "8d4d6148a3df5d61",
"outputMd": "ebe55c40fb5fb2e6",
"outline": "e48ef761fa0e22ef",
"snapshot": "a62d4fba4df0f913",
"outputMd": "5b54b536b58cb7a9",
"examples": "afd839a3fc55cc52"
}
},
Expand Down Expand Up @@ -478,7 +478,7 @@
"hashes": {
"typeSurface": "413c66caec0a0bf8",
"outline": "a4288a1435b46ed4",
"snapshot": "a97e067c66e46ef6",
"snapshot": "086508560262377e",
"outputMd": "c32c7ccf13528bf1",
"examples": "8adc119ac0d7152c"
}
Expand Down Expand Up @@ -638,7 +638,7 @@
"hashes": {
"typeSurface": "b1614970f950ceb6",
"outline": "5ba9ca06b0385f80",
"snapshot": "86c672f1c58f27fd",
"snapshot": "11bff790f38ef94e",
"outputMd": "cd9fa9c4b8ccb108",
"examples": "f5540beaf3f36609"
}
Expand Down Expand Up @@ -723,7 +723,7 @@
"hashes": {
"typeSurface": "b795ce4e10be0653",
"outline": "52990644d6ca82ab",
"snapshot": "ddebbf9718587cff",
"snapshot": "2ff3191d1827c612",
"outputMd": "12021e27b57f45e9",
"examples": "3d2e95eb69cb74fe"
}
Expand Down Expand Up @@ -1403,7 +1403,7 @@
"hashes": {
"typeSurface": "bc60676f880b485b",
"outline": "6df1a21eb91b6fbc",
"snapshot": "c788f8a131677ada",
"snapshot": "4e1d9dc6035ba4a2",
"outputMd": "c5933b640a78c3bf",
"examples": "d44fc86f972fd234"
}
Expand All @@ -1419,9 +1419,9 @@
"symbols": ["Tabs"],
"hashes": {
"typeSurface": "f6795191b952e110",
"outline": "f32b0cf0789281f4",
"snapshot": "43ed7df4bd0f3c75",
"outputMd": "a94b016f0c9709b7",
"outline": "4347062f59b919c5",
"snapshot": "388a9aed985933c8",
"outputMd": "88dbf25acb19f685",
"examples": "f94b62a568ca61ee"
}
},
Expand Down Expand Up @@ -1570,7 +1570,7 @@
"hashes": {
"typeSurface": "95d4d96e2c7cad05",
"outline": "1044541495fff6fd",
"snapshot": "e63b60420ec5113f",
"snapshot": "abb1d50b2f53d002",
"outputMd": "6010470f3c41538a",
"examples": "7e372a50c2939317"
}
Expand Down Expand Up @@ -1836,7 +1836,7 @@
"packages/core/skills/app-shell-patterns/references/components/badge.md": "7897980baf93a074",
"packages/core/skills/app-shell-patterns/references/components/button.md": "be862b0bff15cc1a",
"packages/core/skills/app-shell-patterns/references/components/card.md": "c1f88a287f197d79",
"packages/core/skills/app-shell-patterns/references/components/checkbox.md": "ebe55c40fb5fb2e6",
"packages/core/skills/app-shell-patterns/references/components/checkbox.md": "5b54b536b58cb7a9",
"packages/core/skills/app-shell-patterns/references/components/combobox.md": "c79cd0fe175187e3",
"packages/core/skills/app-shell-patterns/references/components/command-palette.md": "7e5bc675a593791a",
"packages/core/skills/app-shell-patterns/references/components/csv-importer.md": "10c04c78bb846c9a",
Expand Down Expand Up @@ -1864,7 +1864,7 @@
"packages/core/skills/app-shell-patterns/references/components/sidebar-section.md": "281cfa2dcbff14be",
"packages/core/skills/app-shell-patterns/references/components/spinner.md": "eec440408611a233",
"packages/core/skills/app-shell-patterns/references/components/table.md": "c5933b640a78c3bf",
"packages/core/skills/app-shell-patterns/references/components/tabs.md": "a94b016f0c9709b7",
"packages/core/skills/app-shell-patterns/references/components/tabs.md": "88dbf25acb19f685",
"packages/core/skills/app-shell-patterns/references/components/text.md": "e5311b1891f3ff7b",
"packages/core/skills/app-shell-patterns/references/components/textarea.md": "cf324904899ed318",
"packages/core/skills/app-shell-patterns/references/components/timeline.md": "5a0c1ec509b4c6dc",
Expand Down
2 changes: 2 additions & 0 deletions docs-src/components/checkbox.docs.outline.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ sources:

The `Checkbox` component is a styled control for boolean fields. It wraps Base UI's checkbox, so it works with [`Field`](./form.md) and React Hook Form the same way `Input`, `Select`, and `Combobox` do — dropped inside a `Field.Root` it inherits label association, `aria-describedby`, `disabled`, and the invalid (error) state automatically.

The box is 16px; its hit area is 24×24px (the WCAG 2.5.8 target size), so a bare checkbox in a table row is as easy to tap as a labelled one.

## Import

```tsx
Expand Down
2 changes: 2 additions & 0 deletions docs-src/components/tabs.docs.outline.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,5 @@ button. The value sets a **minimum** height — taller content still grows.
| `sm` | 32px | `size="sm"` |
| `default` | 36px | default |
| `lg` | 40px | `size="lg"` |

Every tab is at least 24×24px (the WCAG 2.5.8 target size). `xs` keeps its 28px track by using 2px of track padding around a 24px tab instead of 4px around a 20px one.
2 changes: 2 additions & 0 deletions docs/components/checkbox.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/components/tabs.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading