@godxjp/ui 20.2.1 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/components/data-display/chat-bubble.d.ts +30 -0
  2. package/dist/components/data-display/chat-bubble.js +229 -0
  3. package/dist/components/data-display/descriptions.js +4 -1
  4. package/dist/components/data-display/index.d.ts +4 -2
  5. package/dist/components/data-display/index.js +5 -2
  6. package/dist/components/data-display/popover.js +3 -2
  7. package/dist/components/data-display/scroll-area.js +26 -1
  8. package/dist/components/data-display/tree.d.ts +8 -0
  9. package/dist/components/data-display/tree.js +426 -0
  10. package/dist/components/data-entry/chat-composer.d.ts +50 -0
  11. package/dist/components/data-entry/chat-composer.js +163 -0
  12. package/dist/components/data-entry/chat-suggestion.d.ts +28 -0
  13. package/dist/components/data-entry/chat-suggestion.js +285 -0
  14. package/dist/components/data-entry/index.d.ts +4 -0
  15. package/dist/components/data-entry/index.js +4 -0
  16. package/dist/components/data-entry/textarea.js +3 -1
  17. package/dist/components/data-entry/tree-utils.d.ts +10 -48
  18. package/dist/components/data-entry/tree-utils.js +1 -154
  19. package/dist/i18n/messages/en.json +45 -0
  20. package/dist/i18n/messages/ja.json +43 -0
  21. package/dist/i18n/messages/vi.json +44 -0
  22. package/dist/lib/tree.d.ts +53 -0
  23. package/dist/lib/tree.js +155 -0
  24. package/dist/props/components/data-display.prop.d.ts +187 -1
  25. package/dist/props/components/data-entry.prop.d.ts +127 -0
  26. package/dist/props/registry.d.ts +140 -3
  27. package/dist/props/registry.js +202 -3
  28. package/dist/styles/control.css +7 -0
  29. package/dist/styles/data-display-layout.css +309 -55
  30. package/dist/styles/data-entry-layout.css +64 -0
  31. package/dist/styles/shell-layout.css +2 -1
  32. package/dist/tokens/base.css +3 -0
  33. package/dist/tokens/components/chat-bubble.css +36 -0
  34. package/dist/tokens/components/chat-composer.css +19 -0
  35. package/dist/tokens/components/data-display.css +0 -6
  36. package/dist/tokens/components/descriptions.css +4 -0
  37. package/dist/tokens/components/shell.css +1 -0
  38. package/dist/tokens/components/tree.css +27 -0
  39. package/docs/FRAME-COVERAGE-LEDGER.md +1 -1
  40. package/docs/FRAME-COVERAGE-REPORT.md +8 -3
  41. package/docs/data-display/chat-bubble.tsx +397 -0
  42. package/docs/data-display/timeline.tsx +46 -0
  43. package/docs/data-display/tree.tsx +394 -0
  44. package/docs/data-entry/chat-composer.tsx +464 -0
  45. package/docs/data-entry/chat-suggestion.tsx +301 -0
  46. package/docs/roadmap/ai-chat-components.md +207 -0
  47. package/docs/roadmap/antd-parity.md +154 -0
  48. package/docs/roadmap/badge-tag-chip-count.md +172 -0
  49. package/docs/roadmap/list-masonry.md +159 -0
  50. package/docs/roadmap/parity-audit-data-display-feedback.md +567 -0
  51. package/docs/roadmap/parity-audit-data-entry.md +344 -0
  52. package/docs/roadmap/parity-audit-layout-navigation-general.md +464 -0
  53. package/docs/roadmap/parity-backlog.md +79 -0
  54. package/docs/roadmap/tree-components.md +151 -0
  55. package/docs/showcase/table-tree-rows.tsx +4 -4
  56. package/package.json +5 -3
  57. package/dist/components/data-display/tree-list.d.ts +0 -13
  58. package/dist/components/data-display/tree-list.js +0 -26
  59. package/docs/data-display/tree-list.tsx +0 -107
@@ -0,0 +1,464 @@
1
+ # Ant Design parity — `layout` · `navigation` · `general`
2
+
3
+ > Audited 2026-09-10, read-only, against Ant Design 6.x docs. Method and ledger format are
4
+ > `docs/roadmap/antd-parity.md` §0/§2 — this file follows them, it does not restate them.
5
+ > `Tabs`, `Steps`, `Segmented`, `Tree*`, the Badge family, `List`/`Masonry` and the chat surface are
6
+ > **out of scope** here (already specced — see antd-parity.md §3).
7
+
8
+ ---
9
+
10
+ ## 1. Summary
11
+
12
+ These three groups are the **most Ant-aligned part of the library**, and in several places they are
13
+ ahead of it: `AppShell` (three navigation scopes, nav rail, mobile drawer), `MobileShell`,
14
+ `AuthShell`, `LegalDocumentShell`, `ErrorSurface`, `AppLauncher` and `AppProvider` have no antd
15
+ counterpart at all, and `Breadcrumb`, `Separator`, `Toolbar` and `Pagination` are already carrying
16
+ explicit antd-parity work in their prop docs. The "missing features vs Ant Design" complaint does
17
+ **not** originate here — most of what antd ships in `Space`, `Divider`, `Grid`, `Anchor`, `Affix`,
18
+ `FloatButton` and `App` is genuinely a composition or an existing primitive in this system (§4.2).
19
+
20
+ What is real, ordered by how badly it hurts:
21
+
22
+ 1. **`Dialog` has no `width` and no way to refuse dismissal.** `DialogContentProps`
23
+ (`src/components/feedback/dialog.tsx:287`) has no size axis, so the catalog's own example teaches
24
+ `className="max-w-lg"` — the utility-geometry `ui-audit` forbids everywhere else — and
25
+ `isDismissable` is hardcoded `true` (`src/components/feedback/dialog.tsx:310`), so a dirty form
26
+ cannot survive an outside click. `Sheet` already has `width?: WidthProp`
27
+ (`src/components/feedback/sheet.tsx:264`); the asymmetry between the two overlays IS the defect.
28
+ 2. **`Pagination` is controlled-only.** `PaginationProp` (`src/props/components/navigation.prop.ts`)
29
+ has `value` and `onValueChange` but no `defaultValue` / `defaultPageSize`, and `pagination.tsx`
30
+ holds no page state. That breaks `STANDARDS-vocabulary-tokens.md` rule 7 (the full triad), not
31
+ just antd's `defaultCurrent`.
32
+ 3. **The shell's collapse contract is half-built.** `AppShell` takes `sidebarCollapsed`
33
+ (`src/components/layout/app-shell.tsx:30`) with **no** change handler and **no** built-in trigger,
34
+ so every consumer hand-rolls the toggle *and* its `aria-expanded`/`aria-controls`; and the 900px
35
+ collapse step is a hardcoded media query (`src/styles/shell-layout.css:1119`,
36
+ `@media (width <= 56.25rem)`), not a token — while the overlay family's equivalent step *is* a
37
+ token (`--sheet-responsive-breakpoint-width`). antd's `Sider collapsible`/`trigger`/`breakpoint`/
38
+ `onCollapse`/`onBreakpoint` are all on the far side of that line.
39
+ 4. **Submenu open state is unreachable.** `Sidebar` keeps group expansion in local state
40
+ (`src/components/layout/sidebar.tsx:271`), route-synchronised but not controllable — so
41
+ "which sections the user left open" cannot be persisted. antd `openKeys`/`onOpenChange`.
42
+ 5. **Horizontal overflow has no affordance, twice.** `NavigationMenu`
43
+ (`src/components/navigation/navigation-menu.tsx`) is a thin 8-export Radix wrapper with no
44
+ overflow handling — antd `Menu overflowedIndicator`. This is the same defect already logged as
45
+ P1 for `Tabs moreIcon`, and it is a WCAG 1.4.10 / 2.4.3 problem, not a cosmetic one.
46
+
47
+ Honourable mention, because it is an i18n/a11y gap rather than a parity one: **there is no
48
+ `copyable` anywhere in the library** (`grep -rn "copyable" src/` → 0 hits), yet `ErrorSurface`
49
+ renders `requestId` in monospace explicitly "so it can be read out or copied accurately"
50
+ (`src/props/components/layout.prop.ts:787`) with no copy control.
51
+
52
+ ---
53
+
54
+ ## 2. Ledgers
55
+
56
+ ### 2.1 Fully aligned — no non-`PRESENT` rows
57
+
58
+ - **`VisuallyHidden`** (`src/components/general/visually-hidden.tsx`) — antd has no counterpart.
59
+ - **`AspectRatio`** (`src/components/ui/aspect-ratio.tsx`) — antd has no counterpart; `ratio` +
60
+ `asChild` is the whole capability.
61
+ - **`Logo`** (`src/components/general/logo.tsx`) — antd has no counterpart.
62
+ - **`ContextMenu`** (`src/components/navigation/context-menu.tsx`) — antd expresses this as
63
+ `Dropdown trigger={['contextMenu']}`; the dedicated primitive here IS the coverage.
64
+ - **`Menubar`** (`src/components/navigation/menubar.tsx`) — antd has no counterpart.
65
+ - **`Topbar` / `TopbarItem`** (`src/props/components/layout.prop.ts:1212`, `:1236`) — antd's
66
+ `Layout.Header` is a bare box; both are ahead of it.
67
+ - **`MobileShell`, `AuthShell`, `CenteredShell`, `LegalDocumentShell`, `MasterDetail`,
68
+ `AppLauncher`, `OrgSwitcher`, `AccountChip`, `AuthDivider`, `AuthFooter`, `AuthIdentity`,
69
+ `AuthAccountSummary`, `AuthStack`, `ServiceRolePanel`, `NavList`** — no antd counterpart
70
+ (antd's nearest is ProLayout, which is not antd core). Nothing to diff.
71
+ - **`AppProvider`** vs antd `App` — see 2.16.
72
+
73
+ ### 2.2 `Button` vs antd `Button`
74
+
75
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
76
+ | --- | --- | --- | --- |
77
+ | `type` — `primary`/`dashed`/`link`/`text`/`default` | `RENAMED` | `ButtonVariantProp`, `src/props/vocabulary/interaction.prop.ts:17` (`default`/`dashed`/`link`/`ghost`/`bare`/…) | antd `text` = `ghost`; antd `default` = `outline` |
78
+ | `danger` — destructive styling | `RENAMED` | same line — `variant="destructive"` | — |
79
+ | `shape: round` | `RENAMED` | `ShapeProp`, `interaction.prop.ts:24` — `pill` | — |
80
+ | `shape: circle` | `COVERED-ELSEWHERE` | `shape="pill"` + `size="icon"`, `src/components/general/button.tsx:38-51` | Two existing axes; no third |
81
+ | `size: large\|middle\|small` | `RENAMED` | `ButtonSizeProp`, `interaction.prop.ts:101` | but see next row |
82
+ | `size` includes the alias `"default"` | `MISSING` | `ButtonSizeProp = SizeProp \| "default" \| "icon" …`, `interaction.prop.ts:101`; `button.tsx:34-35` maps `default` and `md` to the same class | Deprecate `"default"` → `md` (STANDARDS rule 10: never `"default"`) |
83
+ | `block` — full parent width | `RENAMED` | `fullWidth`, `src/props/components/general.prop.ts` (`ButtonProp.fullWidth`) | — |
84
+ | `loading` (boolean) | `PRESENT` | `ButtonProp.loading`, `general.prop.ts`; spinner + `aria-busy` + activation block | — |
85
+ | `loading: { delay }` — suppress spinner flash | `MISSING` | no `delay` in `ButtonProp`; `grep -n "delay" src/components/general/button.tsx` → nothing | Add `loadingDelay?: number` |
86
+ | `loading: { icon }` | `WONT-PORT` | — | Design knob → `--button-*` token (rule #44) |
87
+ | `icon` + `iconPlacement` | `COVERED-ELSEWHERE` | icons are children; DOM order IS the placement (`button.tsx` icon sizing rules) | No work |
88
+ | `htmlType` | `PRESENT` | `ButtonProp extends React.ButtonHTMLAttributes` → native `type` | — |
89
+ | `href` / `target` | `COVERED-ELSEWHERE` | `asChild` + `<a>`/router `Link`, `ButtonProp.asChild` | Catalog already documents this |
90
+ | `ghost` — transparent + inverted on a coloured ground | `WONT-PORT` | — | Per-region role scoping (`COMPOSITION-VS-COMPONENT.md` §4.3), not a prop |
91
+ | `autoInsertSpace` — CJK two-char spacing | `WONT-PORT` | — | Typographic knob; belongs to `text-spacing-trim` in the token layer |
92
+ | `color` × `variant` matrix (v5.21) | `WONT-PORT` | — | `variant` + `tone` already own this; a third dialect is the defect rule #1 names |
93
+ | `classNames` / `styles` semantic DOM | `WONT-PORT` | — | Ground rule §0.4 (inline-style twins) |
94
+ | **`Button.Group` / `Space.Compact`** — joined controls | `MISSING` | `grep -rn "ButtonGroup\|SplitButton\|Space.Compact" src/ mcp/src/data/components.ts` → 0 hits; `ToggleGroup` (`src/components/ui/toggle-group.tsx`) joins **toggles** only | Add `ButtonGroup` — GATE-0 ledger in §4.1 |
95
+ | `count` / `overflowCount` / `showZero` | `PRESENT` | `general.prop.ts` (`ButtonProp.count`…) | Beyond antd Button (antd needs a wrapping Badge) |
96
+
97
+ ### 2.3 `Text` vs antd `Typography.Text` / `.Paragraph` / `.Link`
98
+
99
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
100
+ | --- | --- | --- | --- |
101
+ | `type: secondary\|success\|warning\|danger` | `RENAMED` | `TextToneProp`, `src/props/vocabulary/interaction.prop.ts:40` — `tone` | STANDARDS rule 9 |
102
+ | `strong` | `RENAMED` | `TextProp.weight` / `as="strong"`, `src/props/components/general.prop.ts` | — |
103
+ | `underline` / `delete` | `RENAMED` | `TextProp.decoration` (`underline` \| `line-through`) | — |
104
+ | `code` | `RENAMED` | `TextProp.chip` + `as="code"` | — |
105
+ | `keyboard` | `COVERED-ELSEWHERE` | `as="kbd"` — the element union in `general.prop.ts` | — |
106
+ | `italic` | `COVERED-ELSEWHERE` | `as="em"` | Semantic emphasis beats a visual flag |
107
+ | `disabled` | `COVERED-ELSEWHERE` | `tone="muted"` | — |
108
+ | `mark` — highlighted run | `MISSING` | no `mark` in `TextProp`, `general.prop.ts:44-120`; no `<mark>` in the `as` union | Add `as="mark"` to the element union (search-result highlighting) |
109
+ | `ellipsis` (boolean) | `PRESENT` | `TextProp.truncate`, `general.prop.ts:69` | — |
110
+ | `ellipsis.rows` | `RENAMED` | `TextProp.clamp`, `general.prop.ts:72` | — |
111
+ | `ellipsis.expandable` / `expanded` / `defaultExpanded` / `symbol` / `onExpand` | `MISSING` | `grep -rn "expandable" src/props/components/general.prop.ts` → nothing | Add `expandable` + the `expanded`/`defaultExpanded`/`onExpandedChange` triad on `clamp` |
112
+ | `ellipsis.tooltip` — tooltip only when truncated | `MISSING` | not in `TextProp` | Add `truncateTooltip?: boolean`; a bare `<Tooltip>` wrap fires even when nothing is clipped |
113
+ | `ellipsis.suffix` / `onEllipsis` | `MISSING` | not in `TextProp` | P2, add alongside `expandable` |
114
+ | **`copyable`** (+ `text`/`format`/`icon`/`tooltips`/`onCopy`) | `MISSING` | `grep -rn "copyable" src/ mcp/src/data/components.ts` → **0 hits**; nearest is `CredentialReveal.onCopy` (`mcp/src/data/components.ts:4026`), a secret-field component, not a text affordance | Add `copyable` on `Text`/`Heading` (see priority list) |
115
+ | `editable` (+ `triggerType`/`maxLength`/`autoSize`/`onChange`/`onCancel`) | `MISSING` | `grep -rn "editable" src/props/components/general.prop.ts` → nothing | GATE-0 ledger §4.1 — inline edit owns real behaviour |
116
+ | `actions` operation bar (v6.4) | `WONT-PORT` | — | Composition: `Flex` + `Button` |
117
+ | `Typography.Paragraph` | `COVERED-ELSEWHERE` | `Text as="p"` | — |
118
+ | `Typography.Link` | `COVERED-ELSEWHERE` | `TextProp.link` (`general.prop.ts`, with the underline/focus-mark contract) | Better than antd — it is an affordance, not a colour |
119
+ | `classNames` / `styles` | `WONT-PORT` | — | Ground rule §0.4 |
120
+
121
+ ### 2.4 `Heading` vs antd `Typography.Title`
122
+
123
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
124
+ | --- | --- | --- | --- |
125
+ | `level: 1..5` | `MISSING` (partial) | `HeadingLevelProp = 1 \| 2 \| 3 \| 4`, `src/props/vocabulary/interaction.prop.ts` | P2 — either add `5` or document the 4-level canon in the catalog entry as deliberate |
126
+ | `type` | `RENAMED` | `HeadingProp.tone` | — |
127
+ | `ellipsis` (boolean) | `PRESENT` | `HeadingProp.truncate`, `general.prop.ts` | — |
128
+ | `ellipsis.rows` / `.expandable` / `.tooltip` | `MISSING` | no `clamp` on `HeadingProp` | P2 — a wrapped two-line page title is common |
129
+ | `copyable` / `editable` | `MISSING` | as 2.3 | Same rows as `Text` |
130
+ | `code`/`mark`/`underline`/`delete`/`italic` | `COVERED-ELSEWHERE` | wrap the run in `Text` | Headings do not need six inline flags |
131
+
132
+ ### 2.5 `Flex` vs antd `Flex` + `Space`
133
+
134
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
135
+ | --- | --- | --- | --- |
136
+ | `vertical` / `orientation` | `RENAMED` | `FlexProp.direction`, `src/props/components/layout.prop.ts:161` — and it takes a responsive object, which antd's does not | — |
137
+ | `justify` / `align` | `PRESENT` | `FlexJustifyProp` / `FlexAlignProp`, `layout.prop.ts:142-143` | Closed unions, deliberately |
138
+ | `wrap` (boolean) | `PRESENT` | `layout.prop.ts:216` | — |
139
+ | `wrap: "wrap-reverse"` | `MISSING` | boolean only, `layout.prop.ts:216` | P2 — negligible demand |
140
+ | `gap` presets + numeric | `PRESENT` | `GapProp` + the `gapRaw` escape hatch, `layout.prop.ts:164`,`:193` | Ahead of antd (the escape is counted via `data-gap-raw`) |
141
+ | per-axis gap `[row, column]` | `MISSING` | `gap?: GapProp` is a single step, `layout.prop.ts:164` | P2 — `gap={{row,column}}` |
142
+ | `flex` (CSS shorthand) | `COVERED-ELSEWHERE` | `fill` / `grow` / `shrink` / `width`, `layout.prop.ts:162-163`,`:242`,`:252` | Named axes beat a CSS passthrough |
143
+ | `component` — render as | `RENAMED` | `FlexProp.as`, `layout.prop.ts:154` (closed union) | Narrower on purpose |
144
+ | `Space.separator` / `split` — a rule BETWEEN children | `MISSING` | `grep -n "separator" src/components/layout/flex.tsx` → nothing | **Composition** — interleave `<Separator orientation="vertical" />`; document it in the catalog `related` |
145
+ | `Space.Compact` | `MISSING` | see 2.2 | `ButtonGroup`, §4.1 |
146
+ | `Space.align: baseline` | `PRESENT` | `FlexAlignProp` includes `baseline`, `layout.prop.ts:142` | — |
147
+
148
+ ### 2.6 `ResponsiveGrid` vs antd `Grid` (`Row` / `Col`)
149
+
150
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
151
+ | --- | --- | --- | --- |
152
+ | `Row.gutter` (number/object) | `RENAMED` | `ResponsiveGridProps.gap`, `src/components/layout/responsive-grid.tsx:16` | — |
153
+ | `Row.gutter: [horizontal, vertical]` | `MISSING` | single `gap`, `responsive-grid.tsx:16` | P2 |
154
+ | `Row.justify` / `Row.align` | `MISSING` | `grep -n "justify\|align" src/components/layout/responsive-grid.tsx` → nothing | P2 — `align` matters for unequal-height cards |
155
+ | `Col.span` + responsive `xs..xxl` | `PRESENT` | `ResponsiveGridItem span`, `responsive-grid.tsx:115-135` (takes `{base,sm,md,lg}`) | **Not in the MCP catalog** — sync gap, see §5 |
156
+ | breakpoint steps above `lg` | `MISSING` | `ResponsiveGridColumnsProp = number \| {base,sm,md,lg}`, `src/props/components/layout.prop.ts:256`, while `BreakpointProp` has `xl` (`interaction.prop.ts:140`) | P2 — add `xl` for consistency |
157
+ | `Col.order` | `MISSING` | not in `ResponsiveGridItem`, `responsive-grid.tsx:115` | P2 — real for mobile reordering |
158
+ | `Col.offset` / `push` / `pull` | `WONT-PORT` | — | 12-column raster arithmetic; this system counts columns, it does not index them |
159
+ | `Grid.useBreakpoint()` | `WONT-PORT` | — | Container queries + `--responsive-grid-*` are the model; a JS viewport hook re-introduces the thing they replace |
160
+ | `Row.wrap` | `PRESENT` | CSS Grid wraps by definition | — |
161
+
162
+ ### 2.7 `Separator` vs antd `Divider`
163
+
164
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
165
+ | --- | --- | --- | --- |
166
+ | `orientation` (axis) | `PRESENT` | `SeparatorProp.orientation`, `src/props/components/layout.prop.ts:573` | — |
167
+ | `children` / title | `PRESENT` | `SeparatorProp.label`, `layout.prop.ts:579` | Plus a real `role="separator"` when labelled — ahead of antd |
168
+ | `titlePlacement: start\|end\|center` | `RENAMED` | `SeparatorProp.labelAlign`, `layout.prop.ts:581` | — |
169
+ | `plain` | `COVERED-ELSEWHERE` | `labelSize` + `tone`, `layout.prop.ts:568`,`:586` | — |
170
+ | `size: small\|medium` (spacing) | `RENAMED` | `SeparatorProp.space: GapProp`, `layout.prop.ts:569` | — |
171
+ | `variant: solid\|dashed\|dotted` / `dashed` | `MISSING` | `grep -n "dashed\|dotted" src/props/components/layout.prop.ts` → nothing in `SeparatorProp` | **Token** — `--separator-rule-style` (rule #44); not a prop |
172
+ | `orientationMargin` | `WONT-PORT` | — | Pixel offset (ground rule §0.4) → `--separator-label-inset`, which already exists |
173
+ | `classNames` / `styles` | `WONT-PORT` | — | Ground rule §0.4 |
174
+
175
+ ### 2.8 `AppShell` + `Sidebar` vs antd `Layout` / `Layout.Sider`
176
+
177
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
178
+ | --- | --- | --- | --- |
179
+ | `Layout.hasSider` (SSR flicker guard) | `COVERED-ELSEWHERE` | the track is derived from `sidebar` presence at render, `src/components/layout/app-shell.tsx:301` | No work |
180
+ | `Sider.collapsed` | `PRESENT` | `AppShellProp.sidebarCollapsed`, `src/props/components/layout.prop.ts:328`; `SidebarProp.collapsed`, `:1164` | — |
181
+ | **`Sider.onCollapse`** | `MISSING` | `AppShellProp` (`layout.prop.ts:318-421`) has no `onSidebarCollapsedChange`; `grep -n "onCollapse\|CollapsedChange" src/components/layout/app-shell.tsx` → nothing | Add `onSidebarCollapsedChange` — the `open`/`onOpenChange` triad shape the mobile drawer already uses (`layout.prop.ts:418-420`) |
182
+ | **`Sider.collapsible` + `Sider.trigger`** (built-in toggle) | `MISSING` | no toggle in `app-shell.tsx`; `mobileNav` gets one, the docked rail does not | Add a library-owned collapse trigger carrying `aria-expanded` + `aria-controls`. Today every consumer re-authors that ARIA pair |
183
+ | `Sider.defaultCollapsed` | `MISSING` | `sidebarCollapsed = false` is a plain default, `app-shell.tsx:30` | P2 — comes free with the triad above |
184
+ | **`Sider.breakpoint` + `onBreakpoint`** | `MISSING` | the step is a hardcoded query — `src/styles/shell-layout.css:1119` `@media (width <= 56.25rem)`; `grep -n "900\|breakpoint" src/tokens/components/shell.css` returns only prose | Tokenize as `--app-shell-collapse-breakpoint-width`, mirroring `--sheet-responsive-breakpoint-width` (`src/components/feedback/sheet.tsx:46`) |
185
+ | `Sider.width` / `collapsedWidth` | `COVERED-ELSEWHERE` | `--app-shell-sidebar-width` / `--app-shell-nav-rail-width`, documented at `layout.prop.ts:333`,`:349` | Component tokens (rule #44) — no prop |
186
+ | `Sider.theme: light\|dark` | `WONT-PORT` | — | Theme is a global token axis (`AppProviderProp.theme`), never a per-component prop |
187
+ | `Sider.reverseArrow` / `zeroWidthTriggerStyle` | `WONT-PORT` | — | Physical spelling + inline style (ground rule §0.4) |
188
+ | `Header` / `Content` / `Footer` slots | `PRESENT` | `AppShellProp.topbar`/`children`/`footer`, `layout.prop.ts:322`,`:321`,`:327` | Plus `navRail`, `navRailPosition`, `mobileNav` — well ahead |
189
+
190
+ ### 2.9 `Sidebar` / `NavList` vs antd `Menu`
191
+
192
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
193
+ | --- | --- | --- | --- |
194
+ | `items` config array | `PRESENT` | `SidebarProp.sections` / `NavListProp.items`, `src/props/components/layout.prop.ts:1146`,`:870` | House `items` dialect |
195
+ | `mode="inline"` + submenus | `PRESENT` | `SidebarItemProp.children`, `layout.prop.ts:858` | — |
196
+ | `inlineCollapsed` + collapsed tooltips/flyout | `PRESENT` | `src/components/layout/sidebar.tsx:436-531`; flyout entries at `:398-409` | Ahead of antd (real `menuitem` roles) |
197
+ | `selectedKeys` / `defaultSelectedKeys` | `RENAMED` | `SidebarProp.activeId`, `layout.prop.ts:1144` | Single-selection route rail |
198
+ | **`openKeys` / `defaultOpenKeys` / `onOpenChange`** | `MISSING` | expansion is local state — `src/components/layout/sidebar.tsx:271` `const [open, setOpen] = React.useState(active)` | Add `openIds` / `defaultOpenIds` / `onOpenIdsChange` (house triad spelling for a set) |
199
+ | `items[].icon` | `PRESENT` (required) | `SidebarItemProp.icon`, `layout.prop.ts:840` | Stricter than antd, deliberately |
200
+ | `items[].extra` | `RENAMED` | `SidebarItemProp.badge`, `layout.prop.ts:845` | — |
201
+ | `items[].title` (collapsed tooltip) | `PRESENT` | collapsed-rail tooltip via `SidebarLinkProp["aria-label"]`, `layout.prop.ts:901` | — |
202
+ | `items[].danger` | `MISSING` | `SidebarBadgeToneProp` tones the **badge**, not the row (`layout.prop.ts:829`) | P2 — a destructive row is rare in a route rail; add as `tone` on the item if a screen asks |
203
+ | `items[].disabled` | `PRESENT` | `layout.prop.ts:851` | — |
204
+ | `type: "group"` / `"divider"` | `PRESENT` | `SidebarSectionProp.label`, `layout.prop.ts:945` | — |
205
+ | `inlineIndent` | `COVERED-ELSEWHERE` | `--sidebar-nav-*` component tokens | Rule #44 |
206
+ | `expandIcon` | `MISSING` | fixed `ChevronDown`, `src/components/layout/sidebar.tsx:284`,`:506` | **Token**, not a prop (rule #44) |
207
+ | `multiple` / `selectable={false}` | `WONT-PORT` | — | A route rail has one current page |
208
+ | `triggerSubMenuAction` / `subMenuOpenDelay` / `subMenuCloseDelay` | `WONT-PORT` | — | APG disclosure is click; hover-only expansion fails keyboard parity |
209
+ | `theme` | `WONT-PORT` | — | Global token axis |
210
+ | `overflowedIndicator` (horizontal mode) | `COVERED-ELSEWHERE` | that is `NavigationMenu`'s axis — see 2.10 | — |
211
+ | `forceSubMenuRender` | `WONT-PORT` | — | Renders hidden content to the a11y tree for no user-visible gain |
212
+
213
+ ### 2.10 `NavigationMenu` vs antd `Menu mode="horizontal"`
214
+
215
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
216
+ | --- | --- | --- | --- |
217
+ | `mode="horizontal"` | `PRESENT` | `orientation`, `mcp/src/data/components.ts:12486` entry | — |
218
+ | open state control | `PRESENT` | `value` / `defaultValue` / `onValueChange`, catalog entry | Full triad |
219
+ | `subMenuOpenDelay` | `RENAMED` | `delayDuration` (default 200), catalog entry | — |
220
+ | `subMenuCloseDelay` | `MISSING` | only `delayDuration` exists | P2 |
221
+ | **`overflowedIndicator` — a "more" menu when items do not fit** | `MISSING` | `src/components/navigation/navigation-menu.tsx` is 8 thin Radix re-exports (`Root`/`List`/`Item`/`Trigger`/`Content`/`Link`/`Indicator`/`Viewport`); `grep -n "overflow" ` → nothing | **P1** — same class as the recorded `Tabs moreIcon` P1. Unreachable destinations = WCAG 2.4.3 / 1.4.10 |
222
+ | `items[].disabled` | `MISSING` | no `disabled` on `NavigationMenuItem`/`Link` in `navigation-menu.tsx` | P2 |
223
+ | `items` config array | `WONT-PORT` | — | Compound-part composition is the house style for overlay menus |
224
+ | `theme` / `classNames` / `styles` | `WONT-PORT` | — | Ground rule §0.4 |
225
+
226
+ ### 2.11 `DropdownMenu` vs antd `Dropdown` (+ `Dropdown.Button`)
227
+
228
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
229
+ | --- | --- | --- | --- |
230
+ | `open` / `onOpenChange` | `PRESENT` | `mcp/src/data/components.ts:7588` entry | — |
231
+ | `placement` (12 anchors) | `PRESENT` (6, logical) | `DropdownMenuPlacementProp`, `src/props/components/navigation.prop.ts` — `bottomStart`/`topEnd`… | antd's inline-side `left*`/`right*` are a documented `WONT-PORT` (physical in RTL) |
232
+ | `arrow` | `PRESENT` | `DropdownMenuContentProps.arrow`, `src/components/navigation/dropdown-menu.tsx:353` | Sized from `--dropdown-arrow-*` |
233
+ | `autoAdjustOverflow` | `PRESENT` | RAC popover collision handling, `dropdown-menu.tsx:383-404` | Always on |
234
+ | `disabled` | `COVERED-ELSEWHERE` | the trigger's own `disabled` (`DropdownMenuTrigger`, `dropdown-menu.tsx:232`) | — |
235
+ | `menu.items` config array | `WONT-PORT` | — | Compound parts; the catalog `usage` block mandates the full tree |
236
+ | `trigger: ['contextMenu']` | `COVERED-ELSEWHERE` | `ContextMenu` (`mcp/src/data/components.ts:12384`) | Cross-link exists on both sides |
237
+ | `trigger: ['hover']` | `WONT-PORT` | — | An APG menu button opens on click; hover-only is a keyboard/AT trap |
238
+ | `destroyOnHidden` / `forceRender` | `PRESENT` | `forceMount` kept for contract shape, `dropdown-menu.tsx:364` | — |
239
+ | `getPopupContainer` | `WONT-PORT` | — | Portal escape hatch |
240
+ | `popupRender` / `dropdownRender` | `WONT-PORT` | — | Render-prop escape past the a11y contract (ground rule) |
241
+ | `menu.items[].danger` | `PRESENT` | `DropdownMenuItem variant="destructive"`, catalog `usage` | — |
242
+ | **`Dropdown.Button`** — split primary + menu | `MISSING` | `grep -rn "SplitButton\|Dropdown.Button" src/` → 0 hits | **Composition once `ButtonGroup` exists** (§4.1); do not add a third component |
243
+ | `Dropdown.Button.loading` | `MISSING` | as above | Same row |
244
+
245
+ ### 2.12 `Breadcrumb` vs antd `Breadcrumb`
246
+
247
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
248
+ | --- | --- | --- | --- |
249
+ | `items` | `PRESENT` | `BreadcrumbProp`, `src/props/vocabulary/navigation.prop.ts:43` | — |
250
+ | `items[].title` / `href` | `RENAMED` | `label` / `to`, `navigation.prop.ts:34-37` | — |
251
+ | `items[].menu` (sibling dropdown) | `PRESENT` | `BreadcrumbItemMenuProp`, `navigation.prop.ts:26-30`; rendered at `src/components/layout/breadcrumb.tsx:88-120` | Trigger is a real `<button>` — ahead of antd |
252
+ | `separator` | `PRESENT` | `BreadcrumbSeparatorProp`, `navigation.prop.ts:47`; `breadcrumb.tsx:45-46` | `""` removes it, always `aria-hidden` |
253
+ | `itemRender` | `PRESENT` | `BreadcrumbItemRenderProp`, `navigation.prop.ts:57`; `breadcrumb.tsx:75` | — |
254
+ | `params` | `WONT-PORT` | — | Router concern; `itemRender` covers it |
255
+ | `dropdownIcon` | `MISSING` | fixed `ChevronDown`, `src/components/layout/breadcrumb.tsx:99` | **Token** (`--breadcrumb-menu-icon-*`), not a prop |
256
+ | `type: "separator"` item (per-gap separator) | `MISSING` | one `separator` for the whole trail, `breadcrumb.tsx:45` | P2 — rare |
257
+ | `items[].onClick` | `COVERED-ELSEWHERE` | `itemRender` | — |
258
+ | `<nav aria-label>` + `<ol>` + `aria-current="page"` | `PRESENT` | `breadcrumb.tsx:49-50`,`:128` | Ahead of antd, which emits a bare `<nav>` |
259
+
260
+ ### 2.13 `Pagination` vs antd `Pagination`
261
+
262
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
263
+ | --- | --- | --- | --- |
264
+ | `current` | `RENAMED` | `PaginationProp.value`, `src/props/components/navigation.prop.ts` | — |
265
+ | **`defaultCurrent` / `defaultPageSize`** | `MISSING` | `PaginationProp` declares `value`/`total`/`pageSize` but no `defaultValue`/`defaultPageSize`; `grep -n "defaultValue\|useState" src/components/navigation/pagination.tsx` → only `jumperDraft` state (`:156`) | Add `defaultValue` / `defaultPageSize` — **STANDARDS rule 7** requires the whole triad, so this is a vocabulary violation, not only a parity gap |
266
+ | `total` / `pageSize` / `pageSizeOptions` | `PRESENT` | `PaginationProp`, navigation.prop.ts | Catalog entry omits `total`/`pageSize` — sync gap, §5 |
267
+ | `showSizeChanger` / `showTotal` / `showQuickJumper` | `PRESENT` | `PaginationProp` | `showQuickJumper` even takes `{goButton}` |
268
+ | `hideOnSinglePage` / `simple` / `disabled` | `PRESENT` | `PaginationProp` | `hideOnSinglePage` defaults `true` (antd defaults `false`) — documented |
269
+ | `size: small\|medium` | `RENAMED` | `PaginationSizeProp = "sm" \| "md"`, navigation.prop.ts | — |
270
+ | `align` | `PRESENT` | `PaginationAlignProp` — `start`/`center`/`end`, logical | Ahead of antd (RTL-safe) |
271
+ | `responsive` | `PRESENT` | `PaginationProp.responsive` | Documented measurement at 390px |
272
+ | `onChange` / `onShowSizeChange` | `RENAMED` | `onValueChange(page, pageSize)` | One callback carries both |
273
+ | `itemRender` — render pages as real `<a href>` | `MISSING` | `grep -n "itemRender" src/components/navigation/pagination.tsx` → nothing | P2 — needed for crawlable/middle-clickable list pages |
274
+ | `showLessItems` | `MISSING` | not in `PaginationProp` | P2 → token or fold into `responsive` |
275
+ | `showTitle` (native `title=`) | `WONT-PORT` | — | `title` is not an accessible affordance; every control already has `aria-label` (`pagination.tsx:253`,`:332`) |
276
+ | `components` | `WONT-PORT` | — | Render-prop escape hatch |
277
+
278
+ ### 2.14 `Dialog` vs antd `Modal`
279
+
280
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
281
+ | --- | --- | --- | --- |
282
+ | `open` / `onCancel` | `PRESENT` | `open`/`onOpenChange`, `src/components/feedback/dialog.tsx:90-94` | — |
283
+ | `title` / `footer` | `PRESENT` | `DialogHeaderProps.title`/`subtitle`/`extra`/`tone`, `dialog.tsx:329-333`; `DialogFooter` part | `extra`/`tone` are ahead of antd |
284
+ | **`width`** | `MISSING` | `DialogContentProps` (`dialog.tsx:287-294`) has `showClose`/`overlayClassName`/`forceMount`/`onCloseAutoFocus` and no size axis; the catalog's own example is `<DialogContent className="max-w-lg">` (`mcp/src/data/components.ts`, Dialog `example`) | Add `width?: WidthProp` — copy `SheetContentProps.width` verbatim (`src/components/feedback/sheet.tsx:264`) |
285
+ | **`maskClosable` / `keyboard`** — refuse dismissal | `MISSING` | `isDismissable` is passed as a hardcoded literal, `dialog.tsx:310` (`<DialogShell isDismissable …>`); `grep -n "onInteractOutside\|onEscapeKeyDown" src/components/feedback/dialog.tsx` → nothing | Add `dismissible?: boolean` (positive boolean, house rule). Today the only escape is switching to `AlertDialog`, which changes the ARIA role |
286
+ | `centered` | `PRESENT` | centred by default | — |
287
+ | `loading` (skeleton body) | `MISSING` | not in `DialogContentProps`, `dialog.tsx:287` | P2 |
288
+ | `afterClose` | `MISSING` | only `onCloseAutoFocus`, `dialog.tsx:294` | P2 — form reset after the exit animation |
289
+ | `destroyOnHidden` / `forceRender` | `PRESENT` | `forceMount`, `dialog.tsx:292` | — |
290
+ | `zIndex` / `wrapClassName` / `modalRender` / `styles` | `WONT-PORT` | — | Tokens + ground rule §0.4 |
291
+ | `mask: { blur }` | `WONT-PORT` | — | `--dialog-overlay-*` token |
292
+ | **`Modal.confirm/info/success/error/warning`** | `WONT-PORT` | — | Imperative API bypassing React state. `AlertDialog` (`mcp/src/data/components.ts:6890`) is the declarative answer — record the refusal in its catalog entry so nobody re-adds it |
293
+ | `Modal.useModal()` / `Modal.destroyAll()` | `WONT-PORT` | — | Same reason |
294
+
295
+ ### 2.15 `Sheet` vs antd `Drawer`
296
+
297
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
298
+ | --- | --- | --- | --- |
299
+ | `open` / `onClose` | `PRESENT` | `src/components/feedback/sheet.tsx:135` | — |
300
+ | `placement` | `RENAMED` (physical, deliberate) | `side`, `sheet.tsx:237-249` — carries an explicit `rtl-ignore: named physical side` and a written rationale | Documented exception to the logical-spelling rule; keep, but the reason belongs in the catalog entry too |
301
+ | `width` / `size` | `PRESENT` | `SheetContentProps.width: WidthProp`, `sheet.tsx:264` | Caps at the viewport, `sheet.tsx:327` |
302
+ | `height` (top/bottom sheets) | `MISSING` | `widthSet` only applies when `horizontal`, `sheet.tsx:297` | P2 |
303
+ | `title` / `extra` / `footer` | `PRESENT` | `SheetHeader title/subtitle/extra/tone` + `SheetFooter`, catalog entry | — |
304
+ | `closable` / `closeIcon` | `PRESENT` | `showCloseButton` on `SheetContent` | — |
305
+ | `keyboard` (esc) | `PRESENT` | RAC `ModalOverlay`, `sheet.tsx` | — |
306
+ | `maskClosable` | `MISSING` | same defect as 2.14 | Same `dismissible` fix, applied to both overlays |
307
+ | responsive side→bottom swap | `PRESENT` | `responsive="auto"` + `useSheetResponsiveMode`, `sheet.tsx:75-92` | **No antd equivalent** — ahead |
308
+ | `loading` (skeleton) | `MISSING` | not in `SheetContentProps`, `sheet.tsx:255-270` | P2 |
309
+ | `afterOpenChange` | `MISSING` | not in `SheetProps`, `sheet.tsx:135` | P2 |
310
+ | `resizable` / `maxSize` | `MISSING` | not present | P2 — `ResizablePanel` covers the docked case |
311
+ | `push` (nested drawers) | `WONT-PORT` | — | The catalog already forbids nesting a Sheet in a Dialog |
312
+ | `getContainer` / `rootStyle` / `styles` | `WONT-PORT` | — | Ground rule §0.4 |
313
+
314
+ ### 2.16 `SplitPane` / `ResizablePanel` vs antd `Splitter`; `AppProvider` vs antd `App`
315
+
316
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
317
+ | --- | --- | --- | --- |
318
+ | `Splitter.orientation` | `PRESENT` | `ResizablePanelGroup orientation`, `mcp/src/data/components.ts:12545` entry | `SplitPane` is inline-axis-only by design (it is a static two-column layout, not a splitter) |
319
+ | `Panel.defaultSize` / `min` / `max` / `collapsible` | `PRESENT` | catalog entry props `defaultSize`, `minSize`, `maxSize`, `collapsible` | — |
320
+ | `onResize` | `PRESENT` | catalog entry | — |
321
+ | `onResizeStart` / `onResizeEnd` | `MISSING` | catalog lists only `onResize`; `grep -n "onResizeEnd\|onDragging" src/components/layout/resizable.tsx` → nothing | P2 — needed to persist a layout only on drop |
322
+ | `lazy` | `MISSING` | not exposed, `src/components/layout/resizable.tsx:6-17` | P2 |
323
+ | `onDraggerDoubleClick` (reset to default) | `MISSING` | not exposed | P2 — a real interaction-feel expectation |
324
+ | `draggerIcon` | `WONT-PORT` | — | Token (`--resizable-handle-*`) |
325
+ | `destroyOnHidden` | `MISSING` | not exposed | P2 |
326
+ | handle a11y (`role="separator"`, arrow-key resize) | `PRESENT` | `ResizablePrimitive.Separator`, `resizable.tsx:57`; plus the library's own scroll-region tab stop, `resizable.tsx:26-38` | Ahead of antd |
327
+ | antd `App.message` / `.notification` | `COVERED-ELSEWHERE` | `Toaster` (`mcp/src/data/components.ts:7299`) | — |
328
+ | antd `App.useApp().modal` | `WONT-PORT` | — | Imperative; `Dialog`/`AlertDialog` are the declarative answer |
329
+ | antd `App`/`ConfigProvider` scope | `PRESENT` and beyond | `AppProviderProp`, `src/props/components/app.prop.ts:27-95` — locale, timezone, date/time format, theme, brand, density, fontSize, scaling, per-axis persistence | No antd counterpart for most of it |
330
+
331
+ ### 2.17 `ErrorSurface` vs antd `Result`
332
+
333
+ | Ant Design prop / behaviour | Status | Evidence | Verdict |
334
+ | --- | --- | --- | --- |
335
+ | `status: 403\|404\|500` | `PRESENT` | `ErrorSurfaceStatusProp` (400/403/404/500/503), `src/props/components/layout.prop.ts:763` | Wider than antd |
336
+ | `title` / `subTitle` / `extra` / `icon` | `PRESENT` | `layout.prop.ts:765`,`:767`,`:773`,`:778` | `extra` is deliberately a single slot |
337
+ | `status: success\|error\|info\|warning` (non-HTTP result page) | `COVERED-ELSEWHERE` | `EmptyState` + `tone` (`data-display`) | Add a `related` cross-link on both sides |
338
+ | `requestId` / `permission` / `organization` / `maintenance` | `PRESENT` | `layout.prop.ts:790`,`:795`,`:800`,`:802` | No antd equivalent; ISO-8601 + IANA + `Intl.formatRange` |
339
+ | copy control for `requestId` | `MISSING` | the doc comment says it is rendered "so it can be read out or copied accurately" (`layout.prop.ts:787`) but there is no copy affordance anywhere | Falls out of the `Text copyable` row (2.3) |
340
+
341
+ ---
342
+
343
+ ## 3. Priority list — every `MISSING` row
344
+
345
+ ### P0 — breaks a real screen
346
+
347
+ *(none)*. Every gap below has a workaround; the ones that do not are in the other groups
348
+ (`Tree`, count badge, `List`/`Masonry`), already specced.
349
+
350
+ ### P1 — a workaround exists but it is hand-rolled and a11y-risky
351
+
352
+ | # | Gap | Component | Evidence | Fix |
353
+ | --- | --- | --- | --- | --- |
354
+ | 1 | **No `width` on `Dialog`** — the catalog itself teaches `className="max-w-lg"`, the utility geometry `ui-audit` blocks everywhere else | `Dialog` | `src/components/feedback/dialog.tsx:287-294`; catalog `example` | `width?: WidthProp`, copied from `src/components/feedback/sheet.tsx:264` |
355
+ | 2 | **No way to refuse dismissal** on `Dialog`/`Sheet` — a dirty form dies on an outside click; the only escape changes the ARIA role to `alertdialog` | `Dialog`, `Sheet` | `dialog.tsx:310` (`isDismissable` hardcoded); no `onInteractOutside`/`onEscapeKeyDown` | `dismissible?: boolean` on both content parts |
356
+ | 3 | **`Pagination` is controlled-only** — violates STANDARDS rule 7 as well as antd `defaultCurrent` | `Pagination` | `src/props/components/navigation.prop.ts` (`PaginationProp`); `src/components/navigation/pagination.tsx` holds no page state | `defaultValue` + `defaultPageSize` |
357
+ | 4 | **No shell collapse handler or trigger** — every consumer re-authors the toggle's `aria-expanded`/`aria-controls` | `AppShell` | `src/components/layout/app-shell.tsx:30`, `:301`; `AppShellProp` `layout.prop.ts:318-421` | `onSidebarCollapsedChange` + a library-owned trigger |
358
+ | 5 | **Shell collapse breakpoint is a hardcoded media query**, while the overlay family's equivalent is a token | `AppShell` | `src/styles/shell-layout.css:1119` (`@media (width <= 56.25rem)`) vs `--sheet-responsive-breakpoint-width` (`src/components/feedback/sheet.tsx:46`) | Tokenize as `--app-shell-collapse-breakpoint-width` |
359
+ | 6 | **Submenu open state is unreachable** — cannot persist which sections are open | `Sidebar`, `NavList` | `src/components/layout/sidebar.tsx:271` | `openIds` / `defaultOpenIds` / `onOpenIdsChange` |
360
+ | 7 | **Horizontal nav has no overflow affordance** — destinations become unreachable (WCAG 2.4.3 / 1.4.10) | `NavigationMenu` | `src/components/navigation/navigation-menu.tsx` (8 thin re-exports, no overflow logic) | An overflow "more" menu, same shape as the recorded `Tabs moreIcon` P1 |
361
+ | 8 | **No `copyable` anywhere in the library** — an id rendered explicitly *to be copied* has no copy control | `Text`, `Heading`, `ErrorSurface.requestId` | `grep -rn "copyable" src/` → 0 hits; `src/props/components/layout.prop.ts:787` | `copyable` on `Text`/`Heading` (localized "Copy"/"Copied" via `t()`, `navigator.clipboard`, live-region confirmation) |
362
+ | 9 | **Clamped text cannot expand** — `clamp` with no "show more" is a content dead end | `Text` | `src/props/components/general.prop.ts:69-77` — `truncate`/`clamp` only | `expandable` + `expanded`/`defaultExpanded`/`onExpandedChange` |
363
+ | 10 | **No joined control group / split button** | `Button` | `grep -rn "ButtonGroup\|SplitButton\|Space.Compact" src/ mcp/` → 0 hits | `ButtonGroup` — GATE-0 ledger §4.1 |
364
+
365
+ ### P2 — nice to have
366
+
367
+ | Gap | Component | Verdict |
368
+ | --- | --- | --- |
369
+ | `size: "default"` alias should be `md` | `Button` | Deprecate the alias (STANDARDS rule 10) |
370
+ | `loading: { delay }` | `Button` | `loadingDelay?: number` |
371
+ | `mark` (highlighted run) | `Text` | Add `"mark"` to the `as` union |
372
+ | `ellipsis.tooltip` (only when actually clipped) | `Text` | `truncateTooltip?: boolean` |
373
+ | `ellipsis.suffix` / `onEllipsis` | `Text` | with `expandable` |
374
+ | `editable` (inline edit) | `Text` | GATE-0 §4.1 — a separate spec, not a `Text` prop |
375
+ | `level: 5`; `clamp`/`ellipsis.tooltip` on headings | `Heading` | Add `5` or document the 4-level canon |
376
+ | `wrap: "wrap-reverse"`; per-axis `gap` | `Flex` | `gap={{row,column}}` |
377
+ | `Space.separator` (rule between children) | `Flex` | **Composition** — interleave `Separator orientation="vertical"`; document it |
378
+ | `Row.justify` / `Row.align`; `Col.order`; per-axis gutter; `xl` step | `ResponsiveGrid` | — |
379
+ | `variant: dashed\|dotted` | `Separator` | **Token** `--separator-rule-style` |
380
+ | `items[].danger`; `expandIcon` | `Sidebar` | `expandIcon` → token |
381
+ | `subMenuCloseDelay`; item `disabled` | `NavigationMenu` | — |
382
+ | `dropdownIcon`; per-gap `type:"separator"` item | `Breadcrumb` | `dropdownIcon` → token |
383
+ | `itemRender`; `showLessItems` | `Pagination` | `itemRender` matters for crawlable list pages |
384
+ | `loading` (skeleton); `afterClose` | `Dialog` | — |
385
+ | `height` for top/bottom sheets; `loading`; `afterOpenChange`; `resizable` | `Sheet` | — |
386
+ | `onResizeStart`/`onResizeEnd`; `lazy`; `onDraggerDoubleClick`; `destroyOnHidden` | `ResizablePanel` | double-click-to-reset is an interaction-feel expectation |
387
+ | `Dropdown.Button` (split button) | `DropdownMenu` | **Composition** over `ButtonGroup` once it exists |
388
+
389
+ ---
390
+
391
+ ## 4. GATE 0
392
+
393
+ ### 4.1 Proposed as **new** framework components
394
+
395
+ Only two things in these three groups survive `docs/COMPOSITION-VS-COMPONENT.md` §2.
396
+
397
+ #### `ButtonGroup` — joined controls (antd `Button.Group` / `Space.Compact`, and the base of `Dropdown.Button`)
398
+
399
+ | # | Criterion | Verdict | Reasoning |
400
+ | --- | --- | --- | --- |
401
+ | C1 | Universal, not design-specific | **PASS** | Segmented actions, split buttons and welded input+button rows appear in every admin app; antd, Radix, Fluent and SLDS all ship one. |
402
+ | C2 | Encapsulates reusable BEHAVIOR | **PASS** (borderline) | Little state, but a real contract: an `aria-label`led `role="group"`, and for the split-button shape the primary `<button>` + a separately-named menu-trigger `<button>` pair the APG requires. Comparable to `StatCard`, the documented borderline case. |
403
+ | C3 | Not expressible from primitives + tokens | **PASS** | Joining requires zeroing the inner corner radii and collapsing the shared border per child — per-child geometry the app would have to write as `[&>*:not(:first-child)]` utilities, which `ui-audit`'s `no-utility-layout` blocks. This is exactly the `Flex fill` situation recorded at `src/props/components/layout.prop.ts:229-241`. |
404
+ | C4 | Single responsibility + controlled vocabulary | **PASS** | One job (weld a row of controls). API: `orientation`, `size` (`xs\|sm\|md\|lg`, forwarded to children), `attached`, `label`. No `value`/selection axis — that is `ToggleGroup`/`Segmented`. |
405
+ | C5 | Fully token-themeable | **PASS** | Reads `--button-radius`, `--radius-sharp` and the existing control tokens; nothing new baked. |
406
+ | C6 | Earns the international contract | **PASS** | Needs `role="group"` + a required accessible name, and its joining must be **logical** (`border-start-start-radius`), which is precisely what an app hand-rolling it with `rounded-l-none` gets wrong in RTL. |
407
+ | C7 | Earns its bundle cost | **PASS** | Small (CSS + a thin wrapper), and it unlocks `Dropdown.Button` and welded `Input + Button` rows without a second component. |
408
+
409
+ **Verdict: framework component.** Note the boundary explicitly in the catalog: `ToggleGroup` and
410
+ `Segmented` stay the *selection* controls; `ButtonGroup` is *actions only*.
411
+
412
+ #### `EditableText` — inline edit (antd `Typography editable`)
413
+
414
+ | # | Criterion | Verdict | Reasoning |
415
+ | --- | --- | --- | --- |
416
+ | C1 | Universal | **PASS** | Rename-in-place on a title, a list row, a board card. |
417
+ | C2 | Reusable behaviour | **PASS** | Display↔edit swap, Enter commits / Escape cancels / blur commits, focus return to the trigger, `aria-live` confirmation, `maxLength`, autosize. Every one of these is got wrong by a hand-rolled version. |
418
+ | C3 | Not composable today | **PASS** | `Text` + `Input` + local state reproduces the look and none of the focus/keyboard contract. |
419
+ | C4 | Single responsibility + vocabulary | **PASS** | `value`/`defaultValue`/`onValueChange` + `editing`/`defaultEditing`/`onEditingChange`. |
420
+ | C5 | Token-themeable | **PASS** | Reuses `--input-*` and the type scale. |
421
+ | C6 | International contract | **PASS** | Needs a localized edit/save/cancel accessible name set and IME-safe commit (a JA/VI composition Enter must not commit). That IME rule alone is why this must not be per-app. |
422
+ | C7 | Bundle cost | **PASS** (weaker) | Narrower reach than `ButtonGroup`. |
423
+
424
+ **Verdict: framework component, but P2** — write it as its own spec, not as a `Text` prop. Attaching
425
+ an editing lifecycle to the typographic primitive would make every `<Text>` in the bundle carry it.
426
+
427
+ ### 4.2 These antd components are **compositions** here, not gaps
428
+
429
+ | antd | Why it is not a gap | Build it with |
430
+ | --- | --- | --- |
431
+ | `Space` | `gap` already lives on the layout primitive, with a counted escape hatch (`data-gap-raw`). C3 fails outright. | `Flex gap` / `ResponsiveGrid gap` |
432
+ | `Divider` | Exists. | `Separator` (`src/props/components/layout.prop.ts:567`) |
433
+ | `Grid` / `Row` / `Col` | Exists, in the house `{base,sm,md,lg}` count model rather than a 12-column raster. | `ResponsiveGrid` + `ResponsiveGrid.Item span` (`src/components/layout/responsive-grid.tsx:115`) |
434
+ | `Affix` | C1/C2/C3 all fail — it is `position: sticky` with a JS shim, and antd's own docs now recommend the CSS property. Sticky chrome is already a first-class slot here. | `PageContainer toolbar` (`layout.prop.ts:82-88`), `PageContainer stickyFooter`, `Toolbar sticky`, `DataTable sticky` |
435
+ | `Anchor` | C1/C7 fail — the one real use (a long document with a contents rail) is already owned end-to-end, including scroll-spy, hash deep-linking, focus handoff and `aria-current="location"`. A second general Anchor would duplicate it. | `LegalDocumentShell` (`layout.prop.ts:1279-1331`) |
436
+ | `FloatButton` / `BackTop` | C1/C2 fail — layout + content + colour, positioned by the screen that wants it. `BackTop` additionally competes with the shell's own scroll ownership (`MobileShell` is deliberately the only scroll container, `layout.prop.ts:504-507`). | `Button shape="pill" size="icon-lg"` placed by the page; a token for the inset if one is missing |
437
+ | `Layout.Header` / `Content` / `Footer` | Bare boxes in antd; real slots here. | `AppShell topbar` / `children` / `footer`, `Topbar`, `PageContainer` |
438
+ | `App` (static-method context) | The context problem it solves does not exist here — nothing is imperative. | `AppProvider` + `Toaster` + declarative `Dialog`/`AlertDialog` |
439
+ | `PageHeader` (removed from antd core) | Exists, and is wider. | `PageContainer` (`layout.prop.ts:64-139`) |
440
+ | `Result` | Exists for HTTP statuses; the non-HTTP shapes are an empty state with an action. | `ErrorSurface` / `EmptyState` |
441
+ | `Menu` `items` config array as the only API | Both dialects exist already: config-array for the route rails, compound parts for the overlay menus. | `Sidebar.sections` / `NavList.items` · `DropdownMenu*` / `Menubar*` / `NavigationMenu*` |
442
+ | `Dropdown.Button` | Two existing primitives plus the proposed `ButtonGroup`. | `ButtonGroup` + `Button` + `DropdownMenu` |
443
+
444
+ ---
445
+
446
+ ## 5. Side findings — MCP catalog drift (not parity, but found while measuring)
447
+
448
+ `pnpm check:mcp-sync` passes on shape, so these are documented-surface omissions rather than
449
+ build failures. Each is a prop that exists in `src/` and is invisible to a consumer asking the MCP:
450
+
451
+ | Component | Props present in `src/` but absent from `mcp/src/data/components.ts` |
452
+ | --- | --- |
453
+ | `ResponsiveGrid` | `pad`, `preset`, and the whole `ResponsiveGrid.Item` / `span` API (`src/components/layout/responsive-grid.tsx:115`) |
454
+ | `Pagination` | `total`, `pageSize` (`src/props/components/navigation.prop.ts`) |
455
+ | `Flex` | `grow`, `shrink`, `bleed` (`src/props/components/layout.prop.ts:158`,`:162-163`) |
456
+ | `Separator` | `space`, `hideBelow`, `hideFrom` (`layout.prop.ts:569-571`) |
457
+ | `AppLauncher` | `error`, `onRetry`, `open` (`layout.prop.ts:1112-1136`) |
458
+ | `OrgSwitcher` | `value`, `error`, `onRetry`, `open` (`layout.prop.ts:985-1015`) |
459
+ | `AppShell` | `navRailLabel` is listed but the `sidebarCollapsed` change handler gap (P1 #4) means the entry documents a half-contract |
460
+ | `Button` | `size` type in the catalog omits `md`, which `src/components/general/button.tsx:33` supports |
461
+ | `ResizablePanel` | `onCollapse` / `onExpand` (react-resizable-panels surface) |
462
+
463
+ These should be folded into whichever fix wave touches each component, per the
464
+ `godxjp-ui-mcp-catalog-sync` contract — not as a separate pass.
@@ -0,0 +1,79 @@
1
+ # Consolidated parity backlog — all three audits merged
2
+
3
+ Sources: `parity-audit-data-entry.md` · `parity-audit-data-display-feedback.md` ·
4
+ `parity-audit-layout-navigation-general.md`. Sequencing strategy is decided in
5
+ `debate/antd-parity-scope-and-sequencing/04-Decision.md`.
6
+
7
+ ## The headline the audits actually produced
8
+
9
+ All three groups came back **more Ant-aligned than the complaint implied**, and all three agents
10
+ independently proposed **zero new components** for their P0/P1 rows — every one closes by widening
11
+ an existing API. The real damage is not missing antd props. It is:
12
+
13
+ 1. **Two data-corruption / i18n defects that are live in shipped locales** (P0 below).
14
+ 2. **A toast surface with no owner** — the catalog tells consumers to import from `sonner` directly.
15
+ 3. **MCP catalog drift** — props that ship in `src/` but are invisible to consumers, in at least
16
+ 10 components. This is the same failure class as commit `8365bf05`.
17
+
18
+ A reference-version note that changes how future audits must run: ant.design now serves **v6**, and
19
+ v6 has moved `fixed`, `gapPosition`, `dotPosition`, `expandIconPosition` and `Timeline.mode` to
20
+ logical `start`/`end` — **toward the spelling this repo already uses**. Part of "doesn't look like
21
+ Ant Design" is this library being ahead, not behind. Any future audit must pin the antd version it
22
+ compared against, or successive waves will silently measure against different targets.
23
+
24
+ ## P0 — fix first, regardless of which strategy wins
25
+
26
+ | # | Defect | Evidence | Why P0 |
27
+ | --- | --- | --- | --- |
28
+ | 1 | **`NumberInput` corrupts values 10× in comma-decimal locales, including shipped `vi`** | formats via `Intl.NumberFormat` (`number-input.tsx:100`), parses via hardcoded `replace(/,/g,"")` (`:41`), `handleBlur` re-parses the displayed draft (`:220`). `Intl.NumberFormat("vi",{useGrouping:false}).format(1.5)` → `"1,5"` → parses back as `15` | Silent money/quantity corruption. Focus-then-blur is enough. Keep the NFKC 全角 fold — it is correct. |
29
+ | 2 | **`Timeline` hardcodes English screen-reader status text** | `SR_PREFIX = {done:"Completed: ",…}` `timeline.tsx:31-35`, injected `:107`; `grep timeline src/i18n/messages/en.json` → 0 hits | A ja/vi product announces English. Violates the mandatory i18n gate. |
30
+ | 3 | **`PasswordStrength` is hardcoded English end-to-end** | `password-strength.tsx:4-8,75,106,113,119-133`; never imports `useTranslation`; `labels` overrides only 3 of ~10 strings | Same gate; and consumers cannot work around it. |
31
+
32
+ ## P1 — grouped by owning file, so one agent owns one group
33
+
34
+ **`data-entry`** — `Slider` missing `aria-valuetext` (`slider.tsx:138-157`) · `SearchInput` Enter does
35
+ not commit (no `onKeyDown` in the file; `:59-63`) · `ColorPicker` has no `size`/`status`/`variant`
36
+ and no `presets` (`data-entry.prop.ts:893-908`) · `PasswordStrength` uses `role="img"` instead of
37
+ `role="meter"` (`:74-76`) · `Upload showUploadList` boolean-only (`:1196`) · `DateRangePicker
38
+ disabled` scalar, cannot lock one end (`:787`) · no `defaultPickerValue` on either date picker ·
39
+ `Transfer` has no `status` (`:1413-1459`) · `Cascader` search uncapped (`cascader.tsx:389-393`) ·
40
+ `Select` lacks `fieldNames` although `Cascader` and `TreeSelect` both have it · `NumberInput` has
41
+ no `stringMode`.
42
+
43
+ **`data-display` + `feedback`** — `Toaster` has no house API at all (`components.ts:7302` sends
44
+ consumers to `sonner`; `position` is physical and never flips under RTL) · `Skeleton` puts
45
+ `aria-live="polite"` on every block (`skeleton.tsx:13-14`); `SkeletonTable` mounts 40+ nested,
46
+ unnamed live regions · `Accordion` hardcodes `<h3>` (`ui/accordion.tsx:314`) and has no `extra`
47
+ slot · `Carousel` dots lack `aria-controls` and the arrows do not flip under RTL
48
+ (`carousel.tsx:249-269`, `data-display-layout.css:547-580`) · `Avatar` has no `size` · `Progress`
49
+ never displays its percentage and hand-builds `aria-valuetext` (`progress.tsx:174`) · `StatCard`
50
+ derives delta tone from a regex on a stringified node (`card.tsx:233-246`) · `QrCode` has no
51
+ `status`/`onRefresh` · `DataTable` lacks `virtual`, `onCell`, `column.rowScope`,
52
+ `childrenColumnName`/`indentSize`.
53
+
54
+ **`layout` + `navigation` + `general`** — `Dialog` has no `width` while `Sheet` does
55
+ (`dialog.tsx:287-294` vs `sheet.tsx:264`), so the catalog's own example teaches the utility geometry
56
+ `ui-audit` blocks · no `dismissible` on `Dialog`/`Sheet` (`dialog.tsx:310` hardcodes
57
+ `isDismissable`) · `Pagination` is controlled-only, breaking the full-triad rule · `AppShell` has no
58
+ `onSidebarCollapsedChange` and no built-in trigger (`app-shell.tsx:30`) · shell collapse breakpoint
59
+ hardcoded (`shell-layout.css:1119`) while the overlay family's equivalent is a token · `Sidebar`
60
+ submenu open state is unreachable local state (`sidebar.tsx:271`) · `NavigationMenu` has no overflow
61
+ affordance (WCAG 2.4.3 / 1.4.10) · no `copyable` anywhere despite `ErrorSurface` rendering a
62
+ `requestId` "so it can be read out or copied accurately" (`layout.prop.ts:787`) · clamped text
63
+ cannot expand.
64
+
65
+ ## Cross-cutting: MCP catalog drift
66
+
67
+ Props that ship but are invisible to consumers — `Select`'s `onSelect`/`onDeselect`/
68
+ `maxTagPlaceholder` (`data-entry.prop.ts:1093,1112-1114,1124` vs `components.ts:5572-5987`), the
69
+ entire `ResponsiveGrid.Item`/`span` API, `Pagination`'s `total`/`pageSize`, and six more. Treat as
70
+ one work item, not ten: whatever fixes it must be a **check**, not a sweep, or it returns.
71
+
72
+ ## New components proposed by the audits (all deferred pending the ruling)
73
+
74
+ `ButtonGroup` (GATE 0 7/7; `Dropdown.Button` then becomes a composition over it) ·
75
+ `EditableText` (GATE 0 passes; deliberately not a `Text` prop, so IME-safe commit does not ride
76
+ along on every `<Text>`) · `Avatar.Group` (blocked on `Avatar.size`). Rejected outright:
77
+ `Watermark`, `Popconfirm`, `CircularProgress`, `Notification`, `Empty`, `Result`, `Spin`, `Rate`,
78
+ `ColorSwatchPicker`, `CascaderPanel`, `Input.Search`. `Image` preview and `Tour` pass on merit but
79
+ fail C7 (bundle cost) and are deferred with a catalog note forbidding hand-rolled lightboxes.