@tanrei/mcp 0.0.0-stage → 0.1.0-next.1
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.
- package/LICENSE +202 -0
- package/NOTICE +57 -0
- package/README.md +150 -2
- package/bin/tanrei-mcp.js +15 -0
- package/dist/server.js +4515 -0
- package/dist/vocabulary/docs/governance/mimicry-gaps.json +666 -0
- package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
- package/dist/vocabulary/specs/accordion.spec.json +1 -0
- package/dist/vocabulary/specs/app-bar.spec.json +1 -0
- package/dist/vocabulary/specs/app-shell.spec.json +1 -0
- package/dist/vocabulary/specs/avatar.spec.json +1 -0
- package/dist/vocabulary/specs/badge.spec.json +1 -0
- package/dist/vocabulary/specs/bottom-sheet.spec.json +1 -0
- package/dist/vocabulary/specs/breadcrumbs.spec.json +1 -0
- package/dist/vocabulary/specs/button-group.spec.json +1 -0
- package/dist/vocabulary/specs/button-with-menu.spec.json +1 -0
- package/dist/vocabulary/specs/button.spec.json +1 -0
- package/dist/vocabulary/specs/calendar.spec.json +1 -0
- package/dist/vocabulary/specs/callout.spec.json +1 -0
- package/dist/vocabulary/specs/card.spec.json +1 -0
- package/dist/vocabulary/specs/carousel.spec.json +1 -0
- package/dist/vocabulary/specs/chat-composer.spec.json +1 -0
- package/dist/vocabulary/specs/checkbox-group.spec.json +1 -0
- package/dist/vocabulary/specs/checkbox.spec.json +1 -0
- package/dist/vocabulary/specs/chip-field.spec.json +1 -0
- package/dist/vocabulary/specs/chip.spec.json +1 -0
- package/dist/vocabulary/specs/code-block.spec.json +1 -0
- package/dist/vocabulary/specs/color-field.spec.json +1 -0
- package/dist/vocabulary/specs/color-input.spec.json +1 -0
- package/dist/vocabulary/specs/combobox-field.spec.json +1 -0
- package/dist/vocabulary/specs/combobox.spec.json +1 -0
- package/dist/vocabulary/specs/component.schema.json +1 -0
- package/dist/vocabulary/specs/copy-button.spec.json +1 -0
- package/dist/vocabulary/specs/date-time-picker.spec.json +1 -0
- package/dist/vocabulary/specs/description-list.spec.json +1 -0
- package/dist/vocabulary/specs/dialog.spec.json +1 -0
- package/dist/vocabulary/specs/divider.spec.json +1 -0
- package/dist/vocabulary/specs/drop-zone.spec.json +1 -0
- package/dist/vocabulary/specs/embedded-text-input.spec.json +1 -0
- package/dist/vocabulary/specs/empty-state.spec.json +1 -0
- package/dist/vocabulary/specs/fab-menu.spec.json +1 -0
- package/dist/vocabulary/specs/field-group.spec.json +1 -0
- package/dist/vocabulary/specs/field.spec.json +1 -0
- package/dist/vocabulary/specs/figure.spec.json +1 -0
- package/dist/vocabulary/specs/file-item.spec.json +1 -0
- package/dist/vocabulary/specs/file-picker.spec.json +1 -0
- package/dist/vocabulary/specs/file-upload.spec.json +1 -0
- package/dist/vocabulary/specs/handle.spec.json +1 -0
- package/dist/vocabulary/specs/image-preview.spec.json +1 -0
- package/dist/vocabulary/specs/inline-code.spec.json +1 -0
- package/dist/vocabulary/specs/inventory.json +1 -0
- package/dist/vocabulary/specs/keyboard-shortcut.spec.json +1 -0
- package/dist/vocabulary/specs/link-card.spec.json +1 -0
- package/dist/vocabulary/specs/link.spec.json +1 -0
- package/dist/vocabulary/specs/list-row.spec.json +1 -0
- package/dist/vocabulary/specs/list.spec.json +1 -0
- package/dist/vocabulary/specs/loading-indicator.spec.json +1 -0
- package/dist/vocabulary/specs/main-action-button.spec.json +1 -0
- package/dist/vocabulary/specs/marquee-text.spec.json +1 -0
- package/dist/vocabulary/specs/menu.spec.json +1 -0
- package/dist/vocabulary/specs/menubar.spec.json +1 -0
- package/dist/vocabulary/specs/meter.spec.json +1 -0
- package/dist/vocabulary/specs/modal-layer.spec.json +1 -0
- package/dist/vocabulary/specs/navigation-bar.spec.json +1 -0
- package/dist/vocabulary/specs/navigation-drawer.spec.json +1 -0
- package/dist/vocabulary/specs/number-field.spec.json +1 -0
- package/dist/vocabulary/specs/number-input.spec.json +1 -0
- package/dist/vocabulary/specs/number-ticker.spec.json +1 -0
- package/dist/vocabulary/specs/one-time-code-field.spec.json +1 -0
- package/dist/vocabulary/specs/one-time-code-input.spec.json +1 -0
- package/dist/vocabulary/specs/page-header.spec.json +1 -0
- package/dist/vocabulary/specs/pagination.spec.json +1 -0
- package/dist/vocabulary/specs/popover.spec.json +1 -0
- package/dist/vocabulary/specs/previous-next-links.spec.json +1 -0
- package/dist/vocabulary/specs/progress-indicator.spec.json +1 -0
- package/dist/vocabulary/specs/prose.spec.json +1 -0
- package/dist/vocabulary/specs/radio-button.spec.json +1 -0
- package/dist/vocabulary/specs/radio-group.spec.json +1 -0
- package/dist/vocabulary/specs/rating.spec.json +1 -0
- package/dist/vocabulary/specs/resizable-frame.spec.json +1 -0
- package/dist/vocabulary/specs/scroll-area.spec.json +1 -0
- package/dist/vocabulary/specs/search.spec.json +1 -0
- package/dist/vocabulary/specs/segmented-button.spec.json +1 -0
- package/dist/vocabulary/specs/select-field.spec.json +1 -0
- package/dist/vocabulary/specs/select.spec.json +1 -0
- package/dist/vocabulary/specs/side-sheet.spec.json +1 -0
- package/dist/vocabulary/specs/size-transition.spec.json +1 -0
- package/dist/vocabulary/specs/skeleton.spec.json +1 -0
- package/dist/vocabulary/specs/slider-field.spec.json +1 -0
- package/dist/vocabulary/specs/slider.spec.json +1 -0
- package/dist/vocabulary/specs/snackbar.spec.json +1 -0
- package/dist/vocabulary/specs/split-view.spec.json +1 -0
- package/dist/vocabulary/specs/stepper.spec.json +1 -0
- package/dist/vocabulary/specs/steps.spec.json +1 -0
- package/dist/vocabulary/specs/swatch.spec.json +1 -0
- package/dist/vocabulary/specs/switch.spec.json +1 -0
- package/dist/vocabulary/specs/tab-view.spec.json +1 -0
- package/dist/vocabulary/specs/table-of-contents.spec.json +1 -0
- package/dist/vocabulary/specs/table.spec.json +1 -0
- package/dist/vocabulary/specs/tabs.spec.json +1 -0
- package/dist/vocabulary/specs/tag-group.spec.json +1 -0
- package/dist/vocabulary/specs/tag.spec.json +1 -0
- package/dist/vocabulary/specs/text-field.spec.json +1 -0
- package/dist/vocabulary/specs/text-input.spec.json +1 -0
- package/dist/vocabulary/specs/timeline.spec.json +1 -0
- package/dist/vocabulary/specs/toolbar.spec.json +1 -0
- package/dist/vocabulary/specs/tooltip.spec.json +1 -0
- package/dist/vocabulary/specs/tree-view.spec.json +1 -0
- package/dist/vocabulary/tanrei.config.json +24 -0
- package/dist/vocabulary/tokens/comp/accordion.tokens.json +459 -0
- package/dist/vocabulary/tokens/comp/app-bar.tokens.json +308 -0
- package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
- package/dist/vocabulary/tokens/comp/avatar.tokens.json +199 -0
- package/dist/vocabulary/tokens/comp/badge.tokens.json +101 -0
- package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +326 -0
- package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
- package/dist/vocabulary/tokens/comp/button-group.tokens.json +140 -0
- package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +810 -0
- package/dist/vocabulary/tokens/comp/button.tokens.json +1355 -0
- package/dist/vocabulary/tokens/comp/calendar.tokens.json +500 -0
- package/dist/vocabulary/tokens/comp/callout.tokens.json +510 -0
- package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
- package/dist/vocabulary/tokens/comp/carousel.tokens.json +469 -0
- package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/checkbox.tokens.json +587 -0
- package/dist/vocabulary/tokens/comp/chip.tokens.json +716 -0
- package/dist/vocabulary/tokens/comp/code-block.tokens.json +473 -0
- package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/combobox.tokens.json +756 -0
- package/dist/vocabulary/tokens/comp/copy-button.tokens.json +56 -0
- package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +797 -0
- package/dist/vocabulary/tokens/comp/description-list.tokens.json +203 -0
- package/dist/vocabulary/tokens/comp/dialog.tokens.json +340 -0
- package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
- package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
- package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +103 -0
- package/dist/vocabulary/tokens/comp/empty-state.tokens.json +154 -0
- package/dist/vocabulary/tokens/comp/field-group.tokens.json +211 -0
- package/dist/vocabulary/tokens/comp/field.tokens.json +308 -0
- package/dist/vocabulary/tokens/comp/figure.tokens.json +269 -0
- package/dist/vocabulary/tokens/comp/file-item.tokens.json +445 -0
- package/dist/vocabulary/tokens/comp/file-picker.tokens.json +282 -0
- package/dist/vocabulary/tokens/comp/file-upload.tokens.json +30 -0
- package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/image-preview.tokens.json +327 -0
- package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
- package/dist/vocabulary/tokens/comp/input-box.tokens.json +1073 -0
- package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/link-card.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
- package/dist/vocabulary/tokens/comp/list.tokens.json +328 -0
- package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +218 -0
- package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +418 -0
- package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
- package/dist/vocabulary/tokens/comp/menu.tokens.json +1124 -0
- package/dist/vocabulary/tokens/comp/menubar.tokens.json +279 -0
- package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
- package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
- package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +448 -0
- package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +1126 -0
- package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
- package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
- package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +246 -0
- package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
- package/dist/vocabulary/tokens/comp/pagination.tokens.json +233 -0
- package/dist/vocabulary/tokens/comp/popover.tokens.json +363 -0
- package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +218 -0
- package/dist/vocabulary/tokens/comp/prose.tokens.json +283 -0
- package/dist/vocabulary/tokens/comp/radio-button.tokens.json +413 -0
- package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
- package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
- package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
- package/dist/vocabulary/tokens/comp/search.tokens.json +761 -0
- package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +414 -0
- package/dist/vocabulary/tokens/comp/select.tokens.json +687 -0
- package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +332 -0
- package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/skeleton.tokens.json +114 -0
- package/dist/vocabulary/tokens/comp/slider.tokens.json +436 -0
- package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1160 -0
- package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
- package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
- package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
- package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/switch.tokens.json +350 -0
- package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
- package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +429 -0
- package/dist/vocabulary/tokens/comp/table.tokens.json +553 -0
- package/dist/vocabulary/tokens/comp/tabs.tokens.json +1058 -0
- package/dist/vocabulary/tokens/comp/tag-group.tokens.json +68 -0
- package/dist/vocabulary/tokens/comp/tag.tokens.json +551 -0
- package/dist/vocabulary/tokens/comp/text-input.tokens.json +96 -0
- package/dist/vocabulary/tokens/comp/timeline.tokens.json +239 -0
- package/dist/vocabulary/tokens/comp/toolbar.tokens.json +270 -0
- package/dist/vocabulary/tokens/comp/tooltip.tokens.json +391 -0
- package/dist/vocabulary/tokens/comp/tree-view.tokens.json +478 -0
- package/dist/vocabulary/tokens/dial/dial.tokens.json +137 -0
- package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
- package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +388 -0
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
- package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
- package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
- package/dist/vocabulary/tokens/generated/cupertino/components.json +1749 -0
- package/dist/vocabulary/tokens/generated/cupertino/fidelity.json +162 -0
- package/dist/vocabulary/tokens/generated/m3-like/components.json +1761 -0
- package/dist/vocabulary/tokens/generated/m3-like/fidelity.json +194 -0
- package/dist/vocabulary/tokens/generated/tanrei/components.json +1764 -0
- package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +279 -0
- package/dist/vocabulary/tokens/ref/typeface.tokens.json +116 -0
- package/dist/vocabulary/tokens/schema/icon-set.schema.json +82 -0
- package/dist/vocabulary/tokens/schema/system.schema.json +859 -0
- package/dist/vocabulary/tokens/sys/behavior.tokens.json +184 -0
- package/dist/vocabulary/tokens/sys/color.vocabulary.json +58 -0
- package/dist/vocabulary/tokens/sys/elevation.tokens.json +362 -0
- package/dist/vocabulary/tokens/sys/measure.tokens.json +442 -0
- package/dist/vocabulary/tokens/sys/motion.tokens.json +1421 -0
- package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
- package/dist/vocabulary/tokens/sys/shape.tokens.json +169 -0
- package/dist/vocabulary/tokens/sys/space.tokens.json +256 -0
- package/dist/vocabulary/tokens/sys/state.tokens.json +83 -0
- package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
- package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
- package/dist/vocabulary/tokens/systems/cupertino.system.json +859 -0
- package/dist/vocabulary/tokens/systems/m3-like/comp/fab-menu.tokens.json +499 -0
- package/dist/vocabulary/tokens/systems/m3-like.system.json +1181 -0
- package/dist/vocabulary/tokens/systems/tanrei.system.json +707 -0
- package/dist/vocabulary/tokens/tanrei.resolver.json +400 -0
- package/package.json +52 -3
|
@@ -0,0 +1,666 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Tanrei must be able to imitate any design system by changing VALUES. A trait that cannot be imitated is a defect in Tanrei and is filed here. Resolve in this order: (1) a value, (2) a new token TYPE, (3) a small enumerated behaviour token, (4) a component composition option. `status`: open | planned | resolved | wont-fix (with the reason). A shipped preset's accessibility measurements are not gaps: Tanrei's accessibility criteria do not apply to an imitation preset, so they are information in its a11y-report.json, not entries here.",
|
|
3
|
+
"gaps": [
|
|
4
|
+
{
|
|
5
|
+
"id": "ripple",
|
|
6
|
+
"systems": [
|
|
7
|
+
"Material 2",
|
|
8
|
+
"Material 3"
|
|
9
|
+
],
|
|
10
|
+
"trait": "Pressed feedback is a ripple: an overlay that starts at the pointer position and expands over time.",
|
|
11
|
+
"kind": "behavior",
|
|
12
|
+
"status": "resolved",
|
|
13
|
+
"proposal": "Implemented: the choice of kind `sys.behavior.pressed-feedback` — overlay | ripple | dim | none — read by components on all five platforms (Button BTN-9). `m3-like` sets ripple: the pressed state layer grows from the point of contact over `comp.button.motion.feedback-duration`. `cupertino` sets dim. A system that chooses dim without a pressed opacity below 1 is reported."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "continuous-corners",
|
|
17
|
+
"systems": [
|
|
18
|
+
"Apple HIG"
|
|
19
|
+
],
|
|
20
|
+
"trait": "Corners are continuous (a superellipse), not circular arcs; at the same nominal radius they read differently.",
|
|
21
|
+
"kind": "mechanism",
|
|
22
|
+
"status": "resolved",
|
|
23
|
+
"proposal": "Implemented: `sys.shape.corner-smoothing`, an amount 0–1 with Figma's meaning (0.6 = iOS), at the same radius (Button BTN-10); `cupertino` sets 0.6. Compose and Flutter draw Figma's construction of the curve and the web the nearest superellipse; Apple's own corner is a different curve, about 5 px² apart on a 180×80 box at 0.6; SwiftUI and iOS React Native draw the OS curve for any amount above 0; React Native on Android stays circular for now."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "materials-backdrop-blur",
|
|
27
|
+
"systems": [
|
|
28
|
+
"Apple HIG (materials, Liquid Glass)",
|
|
29
|
+
"Radix Themes (translucent panels)"
|
|
30
|
+
],
|
|
31
|
+
"trait": "Surfaces blur and tint what is behind them; Liquid Glass also adapts luminosity to its backdrop.",
|
|
32
|
+
"kind": "mechanism",
|
|
33
|
+
"status": "open",
|
|
34
|
+
"proposal": "New token types for a surface: backdrop blur radius and surface opacity. Luminosity adaptation and edge lensing cannot be expressed and will be stated as out of reach."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "dynamic-type-table",
|
|
38
|
+
"systems": [
|
|
39
|
+
"Apple HIG",
|
|
40
|
+
"Android 14+ non-linear font scale"
|
|
41
|
+
],
|
|
42
|
+
"trait": "User text-size settings scale each text style by its own table, not by one multiplier (iOS Body grows ×3.1 from default to AX5, Large Title ×1.8, Caption 2 is flat across the five smallest sizes).",
|
|
43
|
+
"kind": "mechanism",
|
|
44
|
+
"status": "open",
|
|
45
|
+
"proposal": "Leave to the OS where the platform provides it (SwiftUI Dynamic Type, Android font scale). If products need it on the web, add a `content-size` context to the resolver; per-token coefficients already allow each style its own curve."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "text-case",
|
|
49
|
+
"systems": [
|
|
50
|
+
"Material 2"
|
|
51
|
+
],
|
|
52
|
+
"trait": "Button labels are uppercase as a matter of style. DTCG typography has no text-transform field.",
|
|
53
|
+
"kind": "vocabulary",
|
|
54
|
+
"status": "open",
|
|
55
|
+
"proposal": "Add `text-case` to typescale roles (one product may set eyebrows and buttons in caps). Tanrei's own `eyebrow` currently relies on the component to uppercase."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "explicit-tone-per-state",
|
|
59
|
+
"systems": [
|
|
60
|
+
"Fluent 2",
|
|
61
|
+
"Radix Themes"
|
|
62
|
+
],
|
|
63
|
+
"trait": "A state's color is an explicit step of a ramp (Fluent brand: rest 80, hover 70, pressed 40, selected 60 — not monotonic), not a function of the resting color.",
|
|
64
|
+
"kind": "mechanism",
|
|
65
|
+
"status": "resolved",
|
|
66
|
+
"proposal": "Implemented: per-state component tokens accept the `tone` rule — `{ \"fn\": \"tone\", \"palette\": \"brand\", \"tone\": 70 }`, or per theme and contrast level `{ \"light\": [70, 60, 50], \"dark\": [80] }` — in `tokens` and in pattern `rules`, next to `mix`, `alpha` and `contrast-pick`. The value is computed per scheme into the bundle (`generated/comp.states.<scheme>`). The IR delivers a color that differs between schemes as the paint `{ kind: 'scheme', by }`, and all five platform emitters draw it (tested from the fixture `packages/tokens-build/test/fixtures/tone-per-state.system.json`)."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "remove-inherited-palette",
|
|
70
|
+
"systems": [
|
|
71
|
+
"any preset extending tanrei"
|
|
72
|
+
],
|
|
73
|
+
"trait": "A preset inherits the `accent` palette declared by the default system even when the imitated system has no such thing.",
|
|
74
|
+
"kind": "mechanism",
|
|
75
|
+
"status": "resolved",
|
|
76
|
+
"proposal": "Implemented: a layer sets an inherited declared palette to null (`\"accent\": null`), which removes its four roles from that system's bundle. Core palettes cannot be dropped. Used by m3-like and cupertino."
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "elevation-ring-is-implicit",
|
|
80
|
+
"systems": [
|
|
81
|
+
"Material 3",
|
|
82
|
+
"Fluent 2"
|
|
83
|
+
],
|
|
84
|
+
"trait": "Tanrei's elevation puts a 1px ring first in every level and native renderers draw that first layer as a border. Systems whose first layer is an ordinary shadow would be drawn wrongly.",
|
|
85
|
+
"kind": "vocabulary",
|
|
86
|
+
"status": "resolved",
|
|
87
|
+
"proposal": "Resolved without new vocabulary: a ring is defined by geometry, not position — a shadow layer with no offset, no blur and a positive spread (exactly what CSS box-shadow draws for it). Every native renderer detects it that way, m3-like and cupertino have levels with no ring at all, and each platform's preset baselines show `elevated` without a border."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "shape-morph",
|
|
91
|
+
"systems": [
|
|
92
|
+
"Material 3"
|
|
93
|
+
],
|
|
94
|
+
"trait": "Shapes morph between arbitrary rounded polygons.",
|
|
95
|
+
"kind": "behavior",
|
|
96
|
+
"status": "wont-fix",
|
|
97
|
+
"proposal": "The per-state container shape token covers the tokenized part (M3's pressed/selected corner sizes). Polygon morphing is an animation system, not a design-token concern."
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "focus-engine",
|
|
101
|
+
"systems": [
|
|
102
|
+
"tvOS",
|
|
103
|
+
"visionOS"
|
|
104
|
+
],
|
|
105
|
+
"trait": "Focus is shown by scale, parallax and lighting driven by the OS focus engine or gaze.",
|
|
106
|
+
"kind": "behavior",
|
|
107
|
+
"status": "wont-fix",
|
|
108
|
+
"proposal": "Input models owned by the platform. Tanrei's focus tokens describe a drawn indicator."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "anatomy-text-field-label",
|
|
112
|
+
"systems": [
|
|
113
|
+
"Material 3"
|
|
114
|
+
],
|
|
115
|
+
"trait": "Filled and outlined text fields animate the label into the container or notch it into the border; most other systems keep a static label above the field.",
|
|
116
|
+
"kind": "anatomy",
|
|
117
|
+
"status": "resolved",
|
|
118
|
+
"proposal": "Implemented: a text field variant, `stacked` (TXF-25–TXF-27), draws a static label above the field, start-aligned, and is the default variant. A system that keeps only the label above leaves `filled` and `outlined` out, as the default system does; the Material presets keep all three. A variant rather than a choice of kind, so one variant draws one layout in every system."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "scrim-color-and-opacity",
|
|
122
|
+
"systems": [
|
|
123
|
+
"Material 3"
|
|
124
|
+
],
|
|
125
|
+
"kind": "vocabulary",
|
|
126
|
+
"status": "resolved",
|
|
127
|
+
"trait": "The reference publishes `scrim` as an opaque color and lets each component apply its own opacity (32% for dialogs and sheets). Tanrei's `scrim` role is the overlay as drawn, alpha included.",
|
|
128
|
+
"proposal": "Decided with the dialog: one role, the overlay as drawn, alpha included. `comp.dialog.scrim.color` aliases it; m3-like values it black at 32%, which reproduces the rendered result, and the fidelity map keeps md.sys.color.scrim (opaque) unmapped."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "button-shape-option",
|
|
132
|
+
"systems": [
|
|
133
|
+
"Material 3"
|
|
134
|
+
],
|
|
135
|
+
"kind": "anatomy",
|
|
136
|
+
"status": "open",
|
|
137
|
+
"trait": "A button is either round (pill) or square (a corner per size), chosen per instance, and a toggle button swaps the two while selected.",
|
|
138
|
+
"proposal": "A composition option on Button (`shape: round | square`) valued per size, and a selected state once Button can toggle. Until then a system picks one shape for all buttons through `container.shape`."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "per-size-state-shape",
|
|
142
|
+
"systems": [
|
|
143
|
+
"Material 3"
|
|
144
|
+
],
|
|
145
|
+
"kind": "vocabulary",
|
|
146
|
+
"status": "open",
|
|
147
|
+
"trait": "The pressed container shape differs per button size (small corners on small buttons, large corners on large ones).",
|
|
148
|
+
"proposal": "Let per-state component parts join an axis (`<state>.container.shape.<size>`). Today `pressed.container.shape` is one token for every size."
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "axis-default",
|
|
152
|
+
"systems": [
|
|
153
|
+
"Material 3"
|
|
154
|
+
],
|
|
155
|
+
"kind": "mechanism",
|
|
156
|
+
"status": "resolved",
|
|
157
|
+
"trait": "The reference's default button size is its `small` (40dp); Tanrei's `size` defaults to `medium` on every platform.",
|
|
158
|
+
"proposal": "Resolved by mapping the sizes by role, not by name: m3-like's `medium` is Material's `small` (40dp), the size its buttons and icon buttons take by default, its `small` and `large` are Material's extra small (32dp) and medium (56dp), and Material's large (96dp) and extra large (136dp) are the two sizes it adds above them. A layer would set the default value of a component axis only if one product's default were not the middle of its scale."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "platform-symbol-sets",
|
|
162
|
+
"systems": [
|
|
163
|
+
"cupertino"
|
|
164
|
+
],
|
|
165
|
+
"trait": "SF Symbols is not a font: symbols are addressed through a platform image API, exist only on Apple platforms, and their license forbids use elsewhere. Tanrei's icon style is a font family per selection state, so `cupertino` keeps the default icon font.",
|
|
166
|
+
"kind": "mechanism",
|
|
167
|
+
"status": "open",
|
|
168
|
+
"proposal": "Decide with the icon primitive (Button's icon-only form): an icon source that is either a font family or a platform symbol provider, chosen per platform, with a fallback family off-platform."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "device-pixel-hairline",
|
|
172
|
+
"systems": [
|
|
173
|
+
"Apple HIG"
|
|
174
|
+
],
|
|
175
|
+
"trait": "Separators are one device pixel thick, whatever the display density.",
|
|
176
|
+
"kind": "mechanism",
|
|
177
|
+
"status": "open",
|
|
178
|
+
"proposal": "A dimension token cannot say \"one device pixel\". The divider snaps its line to the pixel grid (DIV-8), so a 1 px line on a 3× display is three device pixels. A token type or a keyword for a device hairline would close it."
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "progress-indeterminate-track",
|
|
182
|
+
"systems": [
|
|
183
|
+
"Material 3"
|
|
184
|
+
],
|
|
185
|
+
"trait": "The indeterminate circular indicator draws no track; the determinate one does.",
|
|
186
|
+
"kind": "behavior",
|
|
187
|
+
"status": "open",
|
|
188
|
+
"proposal": "The progress indicator draws the same track in both modes. A per-mode track color (transparent when indeterminate) would close it without a new mechanism."
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "progress-indeterminate-choreography",
|
|
192
|
+
"systems": [
|
|
193
|
+
"Material 3"
|
|
194
|
+
],
|
|
195
|
+
"trait": "The indeterminate animations follow a specific choreography (a growing and shrinking arc; two bars for the linear form).",
|
|
196
|
+
"kind": "behavior",
|
|
197
|
+
"status": "open",
|
|
198
|
+
"proposal": "Tanrei's indeterminate forms are its own (PRG-). Matching Material's choreography needs the animation as values or a choice of kind; not planned until a product asks."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "progress-wavy",
|
|
202
|
+
"systems": [
|
|
203
|
+
"Material 3"
|
|
204
|
+
],
|
|
205
|
+
"trait": "Progress indicators may be drawn as a wave.",
|
|
206
|
+
"kind": "anatomy",
|
|
207
|
+
"status": "open",
|
|
208
|
+
"proposal": "A choice of kind for the indicator's form (flat | wavy), like sys.behavior.*, would close it; m3-like draws the flat form until then."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "radio-filled-disc",
|
|
212
|
+
"systems": [
|
|
213
|
+
"Apple HIG"
|
|
214
|
+
],
|
|
215
|
+
"trait": "A selected radio button is a disc filled with the tint, with a light dot in it; an unselected one is a light disc.",
|
|
216
|
+
"kind": "anatomy",
|
|
217
|
+
"status": "resolved",
|
|
218
|
+
"proposal": "Resolved: the radio button has a fill in both conditions (`unselected.fill.color`, `selected.fill.color`, RAD-19). cupertino draws Apple's light disc in a hairline ring when unselected and a tinted band around a light center when selected; both values are estimates."
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "switch-handle-stretch",
|
|
222
|
+
"systems": [
|
|
223
|
+
"Apple HIG"
|
|
224
|
+
],
|
|
225
|
+
"trait": "While a switch is pressed, its handle stretches wider along the track, then settles back to a circle.",
|
|
226
|
+
"kind": "anatomy",
|
|
227
|
+
"status": "open",
|
|
228
|
+
"proposal": "The switch's handle has a size per condition and state but no width of its own, so `cupertino` keeps it round. A per-state handle width (or aspect), drawn along the track, would close it."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "text-field-corner-per-variant",
|
|
232
|
+
"systems": [
|
|
233
|
+
"Apple HIG"
|
|
234
|
+
],
|
|
235
|
+
"trait": "The rounded fill field and the rounded-border field have different corner radii (cupertino's corner.medium, 10, and corner.extra-small, 4).",
|
|
236
|
+
"kind": "vocabulary",
|
|
237
|
+
"status": "open",
|
|
238
|
+
"proposal": "Text field's `container.shape` is one token for both variants, so `cupertino` rounds both by corner.medium, the fill field's radius, and its outlined field is 10 instead of 4. A per-variant `container.shape` (a per-variant part rather than a component token) would close it."
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "menu-icon-side",
|
|
242
|
+
"systems": [
|
|
243
|
+
"cupertino"
|
|
244
|
+
],
|
|
245
|
+
"kind": "anatomy",
|
|
246
|
+
"status": "open",
|
|
247
|
+
"trait": "Apple's menus draw an item's icon at the trailing end of the row, after the label; Tanrei's menu item has a leading icon column (MNU-19) and a trailing icon that is a second glyph.",
|
|
248
|
+
"proposal": "A composition option on the menu (the side of the item's icon), valued by a system, if a product needs it. Until then cupertino draws menu icons at the leading edge."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "tabs-scrollable-inset",
|
|
252
|
+
"systems": [
|
|
253
|
+
"Material 3"
|
|
254
|
+
],
|
|
255
|
+
"kind": "vocabulary",
|
|
256
|
+
"status": "open",
|
|
257
|
+
"trait": "A scrollable row of Material 3 tabs starts 52dp from the row's leading edge; Tanrei's tabs have no token for an inset before the first tab.",
|
|
258
|
+
"proposal": "A comp.tabs token for the leading inset of a scrollable row, if one product needs it; until then m3-like starts the row at the edge and a product pads the row itself."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "dialog-centred-headline",
|
|
262
|
+
"systems": [
|
|
263
|
+
"cupertino"
|
|
264
|
+
],
|
|
265
|
+
"kind": "anatomy",
|
|
266
|
+
"status": "open",
|
|
267
|
+
"trait": "Tanrei's dialog aligns its headline to the start, except under `icon.placement` above with an icon.",
|
|
268
|
+
"proposal": "A composition option on the dialog (the alignment of its headline and supporting text), valued by a system, if one product needs it."
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"id": "dialog-stacked-separated-actions",
|
|
272
|
+
"systems": [
|
|
273
|
+
"cupertino"
|
|
274
|
+
],
|
|
275
|
+
"kind": "anatomy",
|
|
276
|
+
"status": "open",
|
|
277
|
+
"trait": "Tanrei's actions share the width (DLG-10) but are separate Buttons with a gap, stack only when they do not fit, and are inset by the padding. Apple's are edge-to-edge rows separated by hairlines, and stack from three.",
|
|
278
|
+
"proposal": "A composition option on the dialog for edge-to-edge, separated actions, with the divider tokens it would need, if one product needs it."
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "app-bar-title-alignment",
|
|
282
|
+
"systems": [
|
|
283
|
+
"cupertino"
|
|
284
|
+
],
|
|
285
|
+
"kind": "mechanism",
|
|
286
|
+
"status": "open",
|
|
287
|
+
"trait": "Apple centres a compact navigation bar's title by default; Tanrei's app bar aligns it to the start unless the product sets titleAlignment, a prop a system cannot default.",
|
|
288
|
+
"proposal": "Let a system set the default of a structural prop (as axis-default asks for an axis), or a choice-of-kind token for the title's alignment. Until then a product imitating Apple sets titleAlignment: center."
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"id": "navigation-rail-expanded",
|
|
292
|
+
"systems": [
|
|
293
|
+
"Material 3"
|
|
294
|
+
],
|
|
295
|
+
"kind": "anatomy",
|
|
296
|
+
"status": "resolved",
|
|
297
|
+
"trait": "Material 3's navigation rail expands in place into a wide panel with labels beside the icons; Tanrei's rail had one form, and its wide panel was the navigation drawer, a separate component.",
|
|
298
|
+
"proposal": "Resolved: the rail is retired into the navigation drawer's collapsed form, and a collapsible drawer expands in place (`collapsible`, `expanded`, NVD-30 to NVD-40), every icon staying where it is."
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "segmented-selection-slides",
|
|
302
|
+
"systems": [
|
|
303
|
+
"cupertino"
|
|
304
|
+
],
|
|
305
|
+
"kind": "behavior",
|
|
306
|
+
"status": "open",
|
|
307
|
+
"trait": "Apple's segmented control slides its raised selection from the old segment to the new one, hides the dividers on either side of the selection, and in dark draws the selection lighter than its track. Tanrei's segmented button changes colors and elevation in place (SEG-16), keeps every divider (SEG-17), and cupertino has no role lighter than surface-container-high in dark (its surface-bright selection is slightly darker than the track, 1.2:1).",
|
|
308
|
+
"proposal": "A composition option for a sliding selection with dividers that hide beside it, and a role (or a cupertino-declared one) for a selection lighter than its track in dark. Until then the selection is told apart by its fill and one soft shadow."
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"id": "button-group-press-expand",
|
|
312
|
+
"systems": [
|
|
313
|
+
"m3-like"
|
|
314
|
+
],
|
|
315
|
+
"kind": "behavior",
|
|
316
|
+
"status": "open",
|
|
317
|
+
"trait": "Material 3's button groups answer a press by widening the pressed button and narrowing its neighbours, round a selected button of a connected group, and scale the connected inner corners and gaps with the button size. Tanrei's button group changes no width under a press (BGR-5), keeps no selection, and has one inner corner and one gap for every size. Its split button grows a pressed half's inner corners; Tanrei's split button keeps them (no per-state inner corner).",
|
|
318
|
+
"proposal": "A composition option for a press that redistributes width, and per-size inner corners if one product needs them (the group has no size axis today)."
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"id": "toolbar-vibrant-color",
|
|
322
|
+
"systems": [
|
|
323
|
+
"m3-like"
|
|
324
|
+
],
|
|
325
|
+
"kind": "anatomy",
|
|
326
|
+
"status": "open",
|
|
327
|
+
"trait": "Material 3's vibrant toolbars fill the bar with primary-container and recolor the items on it; Tanrei's toolbar places Buttons, icon-only or labelled, that keep their own tokens (TBR-*), so a toolbar color cannot recolor its items.",
|
|
328
|
+
"proposal": "A composition option (a toolbar color scheme its items read), or item tokens scoped to a toolbar, if one product needs it."
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"id": "slider-inset-icon",
|
|
332
|
+
"systems": [
|
|
333
|
+
"m3-like"
|
|
334
|
+
],
|
|
335
|
+
"kind": "anatomy",
|
|
336
|
+
"status": "open",
|
|
337
|
+
"trait": "Material 3 draws a glyph inside the thick track of its larger sliders (a volume or brightness icon at the track's start); Tanrei's slider has no icon slot, and the product's glyph sits beside the slider.",
|
|
338
|
+
"proposal": "A composition option (an icon inside the track's start, with the icon size and color it would need) if one product needs it."
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"id": "search-docked-view-joins-bar",
|
|
342
|
+
"systems": [
|
|
343
|
+
"m3-like"
|
|
344
|
+
],
|
|
345
|
+
"kind": "anatomy",
|
|
346
|
+
"status": "open",
|
|
347
|
+
"trait": "Material's docked search view grows out of the search bar: the bar becomes the view's header and the two read as one surface. Tanrei's docked view is a separate surface placed view.offset below the bar (SRC-*), which keeps its own shape and elevation.",
|
|
348
|
+
"proposal": "A composition option for a docked view that takes the bar in as its header (the bar's bottom corners and the view's top corners joined), if one product needs it."
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"id": "calendar-year-colors",
|
|
352
|
+
"systems": [
|
|
353
|
+
"m3-like"
|
|
354
|
+
],
|
|
355
|
+
"kind": "vocabulary",
|
|
356
|
+
"status": "open",
|
|
357
|
+
"trait": "Material colors an unselected year on-surface-variant while unselected days are on-surface, and colors the month-and-year button apart from the days; Tanrei's Calendar draws days and years from the same conditions and the view toggle from the unselected colors.",
|
|
358
|
+
"proposal": "Year and view-toggle colors of their own, if one product needs them apart from the days'."
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"id": "date-time-picker-full-screen-range",
|
|
362
|
+
"systems": [
|
|
363
|
+
"m3-like"
|
|
364
|
+
],
|
|
365
|
+
"kind": "anatomy",
|
|
366
|
+
"status": "open",
|
|
367
|
+
"trait": "Material's modal range picker is a full-screen, vertically scrolling list of months; Tanrei's modal range DateTimePicker still pages one month at a time in the dialog-sized surface — with comp.calendar.navigation.axis vertical it scrolls, but one month at a time.",
|
|
368
|
+
"proposal": "A presentation option for a full-screen scrolling range picker, if one product needs it."
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"id": "calendar-navigation-tint",
|
|
372
|
+
"systems": [
|
|
373
|
+
"cupertino"
|
|
374
|
+
],
|
|
375
|
+
"kind": "vocabulary",
|
|
376
|
+
"status": "open",
|
|
377
|
+
"trait": "Apple draws the month title's chevron and the paging arrows in the tint; Tanrei's Calendar draws the view toggle in the unselected colors and the arrows as text-variant icon-only Buttons, which keep their own tokens.",
|
|
378
|
+
"proposal": "A tint for the calendar's navigation, if one product needs it apart from its icon-only Buttons."
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"id": "date-time-picker-apple-no-modal-header",
|
|
382
|
+
"systems": [
|
|
383
|
+
"cupertino"
|
|
384
|
+
],
|
|
385
|
+
"kind": "anatomy",
|
|
386
|
+
"status": "open",
|
|
387
|
+
"trait": "Apple's calendar picker has no header with the chosen date set large; Tanrei's modal DateTimePicker in a date mode always draws its header (title and value).",
|
|
388
|
+
"proposal": "A composition option to leave the modal header out, if one product needs it."
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"id": "date-time-picker-period-segments",
|
|
392
|
+
"systems": [
|
|
393
|
+
"m3-like"
|
|
394
|
+
],
|
|
395
|
+
"kind": "anatomy",
|
|
396
|
+
"status": "open",
|
|
397
|
+
"trait": "Material draws both names, AM and PM, stacked in one outlined container beside the selectors, the chosen half filled with a tertiary container. Tanrei draws the pending name alone, in a narrow cell on the unselected selector's ground that changes to the other name on a press (DTM-14): two names in the selectors' height would be two targets of 40, below the default system's minimum.",
|
|
398
|
+
"proposal": "A choice-of-kind token for the period's names (`period.names`: chosen | both) and a second form with its own semantics on five platforms would close it, for one preset; the one-product test allows that as a last resort for a gap, and it can be added later without breaking anything."
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"id": "time-picker-wheels",
|
|
402
|
+
"systems": [
|
|
403
|
+
"cupertino"
|
|
404
|
+
],
|
|
405
|
+
"kind": "anatomy",
|
|
406
|
+
"status": "resolved",
|
|
407
|
+
"trait": "Apple sets a time with wheels, not a dial, and marks the part being set by a tinted number; Tanrei's time picker is a dial with selectors, and cupertino keeps the number on-surface because the tint on its fill measures 3.1:1.",
|
|
408
|
+
"proposal": "Resolved: DateTimePicker sets a time on wheels, and cupertino values comp.date-time-picker.time.entry-modes wheels (1) with Apple's grey band (comp.date-time-picker.wheel.selection.container.color)."
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"id": "date-time-picker-keyboard-entry",
|
|
412
|
+
"systems": [
|
|
413
|
+
"m3-like"
|
|
414
|
+
],
|
|
415
|
+
"kind": "anatomy",
|
|
416
|
+
"status": "open",
|
|
417
|
+
"trait": "Material switches its date and time pickers to text entry with a pencil or keyboard icon; in Tanrei a date or time is typed in the Text field, so DateTimePicker has no text entry.",
|
|
418
|
+
"proposal": "None planned: typing is the Text field's, with one set of reading rules (the owner's decision). A time wheel takes its own number from a keyboard after a press on its chosen row, and the dial mode's selectors read digits from a hardware keyboard (DTM-22, DTM-43 to DTM-45); a whole date or time as text is still the Text field's, and m3-like, which offers the dial only, still has no text-entry mode to switch to."
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"id": "date-time-picker-title-size",
|
|
422
|
+
"systems": [
|
|
423
|
+
"m3-like"
|
|
424
|
+
],
|
|
425
|
+
"kind": "vocabulary",
|
|
426
|
+
"status": "open",
|
|
427
|
+
"trait": "Material's time picker title is 12 (label-medium) and its date picker title 14; one comp.date-time-picker.header.label.typescale sets both at 14.",
|
|
428
|
+
"proposal": "A title size per mode, if one product needs them apart."
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"id": "chip-remove-glyph",
|
|
432
|
+
"systems": [
|
|
433
|
+
"Material 3"
|
|
434
|
+
],
|
|
435
|
+
"trait": "The input chip removes with an outlined `close` glyph and no hover color of its own.",
|
|
436
|
+
"kind": "anatomy",
|
|
437
|
+
"status": "wont-fix",
|
|
438
|
+
"proposal": "Tanrei names the glyph in the spec: the remove action draws the icon set's filled `cancel`. Its hover, focus and press show on a round container of its own, and take the error color only on a chip where the product sets `destructiveRemove` (chip CHP-27, CHP-28), in every preset alike."
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"id": "checkbox-mark-drawn-on",
|
|
442
|
+
"systems": [
|
|
443
|
+
"Material 3"
|
|
444
|
+
],
|
|
445
|
+
"trait": "The checkbox's check is the system's own drawing, not an icon glyph: it is drawn on stroke by stroke when the box is checked, and bends into the indeterminate dash and back.",
|
|
446
|
+
"kind": "behavior",
|
|
447
|
+
"status": "wont-fix",
|
|
448
|
+
"proposal": "Every mark a component draws is a glyph of the system's icon set, and a glyph from a font cannot be drawn on or bent. m3-like draws Material Symbols Outlined's check and remove at weight 400, close to Material's check at rest (about 1.7 against a 2 stroke, nearly the same extent in the 18 box), and fades and grows them over the fast-effects and fast-spatial springs (CHK-13)."
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"id": "radio-dot-scale-in",
|
|
452
|
+
"systems": [
|
|
453
|
+
"Material 3"
|
|
454
|
+
],
|
|
455
|
+
"trait": "A selected radio's dot scales in from the center.",
|
|
456
|
+
"kind": "behavior",
|
|
457
|
+
"status": "open",
|
|
458
|
+
"proposal": "The fill changes color only (RAD-15), so m3-like's dot fades in; a per-condition inset or a scale-in choice would close it."
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"id": "tabs-fixed-label-truncates",
|
|
462
|
+
"systems": [
|
|
463
|
+
"Material 3"
|
|
464
|
+
],
|
|
465
|
+
"trait": "A fixed tab lets its label wrap onto a second line.",
|
|
466
|
+
"kind": "behavior",
|
|
467
|
+
"status": "wont-fix",
|
|
468
|
+
"proposal": "The owner decided (2026-09-27) that a tab in a full-width row truncates its label with an ellipsis in every system, and a hugging tab grows to fit it (tabs TAB-14, TAB-25); the whole label stays the accessible name. m3-like truncates where Material wraps."
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": "carousel-multi-browse",
|
|
472
|
+
"systems": [
|
|
473
|
+
"Material 3"
|
|
474
|
+
],
|
|
475
|
+
"trait": "The multi-browse arrangement shows several large items, then a medium and a small one.",
|
|
476
|
+
"kind": "anatomy",
|
|
477
|
+
"status": "open",
|
|
478
|
+
"proposal": "Tanrei describes the carousel by its axes and retires multi-browse; m3-like draws one hero with peeking neighbours. Reproducing the arrangement would need a layer extension with evidence in the fidelity map."
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"id": "navigation-bar-press-does-not-spread",
|
|
482
|
+
"systems": [
|
|
483
|
+
"Material 3"
|
|
484
|
+
],
|
|
485
|
+
"trait": "Material's press ripple spreads from the point of contact inside the active indicator.",
|
|
486
|
+
"kind": "behavior",
|
|
487
|
+
"status": "open",
|
|
488
|
+
"proposal": "Tanrei makes the pill the item container; m3-like turns its state layer off and shows the pressed tone on the icon indicator at once. Tanrei does the same for the collapsed navigation drawer (Material's rail): its collapsed conditions' state layer is transparent and the icon indicator answers press at once. A ripple confined to the icon indicator would close the gap in both."
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"id": "navigation-drawer-collapsed-tone",
|
|
492
|
+
"systems": [
|
|
493
|
+
"Material 3"
|
|
494
|
+
],
|
|
495
|
+
"trait": "Material's navigation rail is on surface, and its navigation drawer on surface-container-low.",
|
|
496
|
+
"kind": "appearance",
|
|
497
|
+
"status": "open",
|
|
498
|
+
"proposal": "Tanrei makes the rail the navigation drawer's collapsed form, one surface that changes width, so m3-like's collapsed drawer keeps the drawer's surface-container-low. Per-form container colors (a collapsed container color token) would close the gap if one product needs the column and the panel in different tones."
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"id": "navigation-rail-widths",
|
|
502
|
+
"systems": [
|
|
503
|
+
"Material 3"
|
|
504
|
+
],
|
|
505
|
+
"trait": "Material 3's navigation rail is 96 wide collapsed and 220 to 360 wide expanded, and its expanded active indicator hugs its content rather than filling the row.",
|
|
506
|
+
"kind": "appearance",
|
|
507
|
+
"status": "open",
|
|
508
|
+
"proposal": "m3-like values the navigation drawer 80 wide collapsed and 360 expanded, with a full-width pill. Setting comp.navigation-drawer.collapsed.container.width.medium to 96 and container.width to 220 in m3-like, once its fidelity map covers the rail, would close the widths; a hugging expanded indicator would need a token for the indicator's width in the expanded form."
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"id": "side-sheet-action-emphasis",
|
|
512
|
+
"systems": [
|
|
513
|
+
"Material 3"
|
|
514
|
+
],
|
|
515
|
+
"kind": "anatomy",
|
|
516
|
+
"status": "open",
|
|
517
|
+
"trait": "Material's side sheet gives its main and its secondary action different variants (filled and outlined). Tanrei gives every action without a variant the same one (SSH-17), and a flag never changes a look (BGR-19). The product sets the secondary action's variant.",
|
|
518
|
+
"proposal": "m3-like values comp.side-sheet.actions.variant filled, so the main action is faithful by default. A variant per flag would close the gap, but it would tie emphasis to placement, which the button group keeps apart on purpose (BGR-19)."
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"id": "side-sheet-main-action-first",
|
|
522
|
+
"systems": [
|
|
523
|
+
"Material 3"
|
|
524
|
+
],
|
|
525
|
+
"kind": "behavior",
|
|
526
|
+
"status": "open",
|
|
527
|
+
"trait": "Material's side sheet puts its main action first, at the start (Save · Cancel). Tanrei places a confirming action at the end of a row (BGR-13).",
|
|
528
|
+
"proposal": "A product that leaves its actions unflagged keeps the order it gives them, which reproduces Material's order. A per-system placement order for the button group would close it if one product needs the flags and Material's order together."
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"id": "close-button-size",
|
|
532
|
+
"systems": [
|
|
533
|
+
"Material 3"
|
|
534
|
+
],
|
|
535
|
+
"kind": "vocabulary",
|
|
536
|
+
"status": "open",
|
|
537
|
+
"trait": "Material's side sheet closes with a standard icon button 40 tall, its small size, the one an icon button takes by default. Tanrei draws every host's close button at the small Button size (SSH-5), one step below the default, and m3-like maps Material's sizes to Tanrei's by role, so its small Button is Material's extra small, 32. No token sets one host's close button apart in size: a system re-values the variant per host, not the size.",
|
|
538
|
+
"proposal": "A small enumerated token per host (comp.<host>.close-button.size, a Button size) would let m3-like close with its medium Button, Material's 40. Add it if one product needs one host's close control to differ in size from the others; until then m3-like's side sheet closes with a 32 text Button. Valuing m3-like's small Button 40 instead would close this gap by opening a wider one: every Button at the default size would be Material's medium, 56, where Material draws its default 40."
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"id": "side-sheet-actions-in-header",
|
|
542
|
+
"systems": [
|
|
543
|
+
"cupertino"
|
|
544
|
+
],
|
|
545
|
+
"kind": "anatomy",
|
|
546
|
+
"status": "open",
|
|
547
|
+
"trait": "Apple's panels (the iPad inspector, a sheet's navigation bar) put their actions (Done, Cancel) in the top bar, not in a footer. Tanrei's side sheet has a footer only.",
|
|
548
|
+
"proposal": "A composition option on the side sheet for actions in its header, if one product needs it. Apple has no side sheet, so the evidence is thin."
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"id": "tabs-indicator-drag",
|
|
552
|
+
"systems": [
|
|
553
|
+
"Material 3"
|
|
554
|
+
],
|
|
555
|
+
"kind": "behavior",
|
|
556
|
+
"status": "open",
|
|
557
|
+
"trait": "Material 3's tabs answer a tap only: a finger dragged across the row does not carry the indicator. Tanrei's tabs follow a drag in every system and select on release (TAB-28 to TAB-30), so m3-like's line and its label colors follow the finger too.",
|
|
558
|
+
"proposal": "The drag is the component's behaviour in every system, as the Tab view's swipe is; a sys.behavior choice (follow or none) would close it but fails the one-product test, since no product wants some of its tabs draggable and others not. A tap still selects, so nothing Material offers is lost."
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"id": "tabs-state-layer-follows-indicator",
|
|
562
|
+
"systems": [
|
|
563
|
+
"Material 3"
|
|
564
|
+
],
|
|
565
|
+
"kind": "anatomy",
|
|
566
|
+
"status": "open",
|
|
567
|
+
"trait": "A Material 3 tab draws hover, focus and press on the whole tab, a rectangle. Tanrei's tabs draw them in the active indicator's box (TAB-18, TAB-4; decided by the owner on 2026-10-03). m3-like keeps the whole tab by value (comp.tabs.track.padding nothing, comp.tabs.container.shape square) wherever that box is the tab, but in a row that hugs, a tab whose content is not wider than it is tall (an icon alone, a short label under a stacked icon) gets a state layer and a focus ring as wide as the row is tall: 48 in a 56 tab for an icon alone.",
|
|
568
|
+
"proposal": "A token for the state layer's width (the tab, or the indicator) would close it, but only an imitation whose indicator is invisible would set it: it fails the one-product test, and the owner ruled the rectangle out for a system that draws the indicator. Until a product needs it, m3-like's state layer on such tabs is narrower than Material's."
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"id": "navigation-bar-indicator-drag",
|
|
572
|
+
"systems": [
|
|
573
|
+
"Material 3",
|
|
574
|
+
"Apple HIG"
|
|
575
|
+
],
|
|
576
|
+
"kind": "behavior",
|
|
577
|
+
"status": "open",
|
|
578
|
+
"trait": "Material 3's navigation bar and Apple's tab bar answer a tap only, and draw state and focus on or around the glyph. Tanrei's navigation bar follows a sideways drag in every system and chooses on release (NVB-27 to NVB-29), and draws its focus indicator around the destination's item container, which is the whole cell (NVB-5, NVB-12). m3-like and cupertino make that container transparent and pin the bar's inset to nothing, so nothing is seen moving while a finger drags, the release still chooses a destination, and the focus indicator surrounds the cell rather than the indicator behind the glyph.",
|
|
579
|
+
"proposal": "The drag is the component's behaviour in every system, as the tabs' is (gap tabs-indicator-drag); a sys.behavior choice (follow or none) would close it but fails the one-product test, since no product wants some of its bars draggable and others not. A \"hug\" sizing for the focus box reachable by a token would only ever be set by a system whose item container is invisible. A tap still selects, so nothing either original offers is lost."
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"id": "navigation-drawer-collapsed-labels-default",
|
|
583
|
+
"systems": [
|
|
584
|
+
"Material 3"
|
|
585
|
+
],
|
|
586
|
+
"kind": "vocabulary",
|
|
587
|
+
"status": "open",
|
|
588
|
+
"trait": "Material 3's collapsed navigation column draws a label under every icon. In Tanrei whether a collapsed cell has a label is the prop collapsedLabels, whose default is never. A system cannot default a prop, so a product on m3-like must set collapsedLabels=\"always\" itself to get Material's column; the preset's representative collapsed fixture is collapsed-labels-always.",
|
|
589
|
+
"proposal": "A way for a system to default a prop (the text field's variant would need the same), or a choice of kind for this one prop — which fails the one-product test as a sys.behavior value, since it concerns one component, and component choices do not reach the native emitters as typed values yet. Until then the product sets the prop."
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"id": "navigation-drawer-compact-density",
|
|
593
|
+
"systems": [
|
|
594
|
+
"Material 3",
|
|
595
|
+
"Apple HIG"
|
|
596
|
+
],
|
|
597
|
+
"kind": "appearance",
|
|
598
|
+
"status": "open",
|
|
599
|
+
"trait": "Material 3's navigation drawer has one row size, and so has the iPadOS sidebar; macOS sizes its sidebar's rows by the person's Sidebar icon size setting, not by the app. Tanrei's drawer has a small size (NVD-65), and m3-like and cupertino give it Tanrei's own small values, which neither original publishes.",
|
|
600
|
+
"proposal": "Material has no small drawer to follow, so m3-like's small stays Tanrei's. cupertino could value small from the macOS sidebar's small size once its fidelity map covers the macOS sidebar; until then a product on cupertino that wants Apple's own rows keeps the medium size."
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"id": "date-time-picker-period-place",
|
|
604
|
+
"systems": [
|
|
605
|
+
"m3-like"
|
|
606
|
+
],
|
|
607
|
+
"kind": "anatomy",
|
|
608
|
+
"status": "open",
|
|
609
|
+
"trait": "Material draws AM and PM beside the time selectors in portrait and below them, as a row, in landscape. Tanrei's period is a part of the time and stands beside the selectors again — after the minute, or before the hour where the locale writes it first (DTM-14) — at Material's width and distance under m3-like (two pins). What remains: in Material's horizontal layout the period lies under the selectors as a row; in Tanrei it stays beside them in every layout.",
|
|
610
|
+
"proposal": "A choice-of-kind token for the period's place in the horizontal layout would close what remains, but one product has no use for it."
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"id": "field-error-text-placement",
|
|
614
|
+
"systems": [
|
|
615
|
+
"Material 3",
|
|
616
|
+
"Carbon",
|
|
617
|
+
"GOV.UK"
|
|
618
|
+
],
|
|
619
|
+
"kind": "behavior",
|
|
620
|
+
"status": "resolved",
|
|
621
|
+
"trait": "Where a field's error text stands beside its help. Material 3 and Carbon put the error text in the help's place while the field is in error; GOV.UK keeps the hint and shows the error message as well. One frame that did one of the two could not imitate the other.",
|
|
622
|
+
"proposal": "Implemented: the choice of kind `comp.field.error-text.placement` — replace | append — read by the Field (FLD-7, FLD-31). The default system and every shipped preset use replace; a layer imitating a system that keeps the help sets append."
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"id": "select-chevron-flips-open",
|
|
626
|
+
"systems": [
|
|
627
|
+
"Material 3"
|
|
628
|
+
],
|
|
629
|
+
"trait": "Material's web select swaps its arrow while the menu is open: a downward arrow while closed, an upward one while open. It is swapped, not turned.",
|
|
630
|
+
"kind": "behavior",
|
|
631
|
+
"status": "open",
|
|
632
|
+
"proposal": "Tanrei's select draws one chevron that neither turns nor swaps (the state is told by aria-expanded and by the open list), as the native select and Apple's pop-up button do, so m3-like keeps a downward chevron while open. A small choice of kind for the chevron while open (none | swap | turn) would close the gap; whether one product needs it is not yet shown."
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"id": "list-item-row-anatomy",
|
|
636
|
+
"systems": [
|
|
637
|
+
"Material 3",
|
|
638
|
+
"Apple HIG"
|
|
639
|
+
],
|
|
640
|
+
"trait": "A list item is a ready-made row: a headline with an overline and supporting text, a leading icon, avatar or image, and trailing text, an icon or a control, at one-, two- and three-line heights (Material 3 lists; the cells of an Apple list).",
|
|
641
|
+
"kind": "anatomy",
|
|
642
|
+
"status": "resolved",
|
|
643
|
+
"proposal": "Implemented: the List row, a component of its own placed in a list item or standing alone: an overline, a headline and one or two lines of supporting text; a leading glyph, or an avatar, a picture or a control in its leading slot; a trailing value, a control and a glyph; one-, two- and three-line heights per density from its own tokens (comp.list-row.*). The item tells the row whether it pads it and whether it is selected, and takes its name from the row's headline. m3-like sets the headline in body-large and 24 after the last part; cupertino sets the headline in body-large and a row of one line 44 tall."
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"id": "list-reorder-control-trailing",
|
|
647
|
+
"systems": [
|
|
648
|
+
"Apple HIG"
|
|
649
|
+
],
|
|
650
|
+
"trait": "In an editable Apple list the reorder control (three lines) stands at the trailing end of the row, appears only in edit mode, and is the only part a finger drags.",
|
|
651
|
+
"kind": "anatomy",
|
|
652
|
+
"status": "open",
|
|
653
|
+
"proposal": "Tanrei's reorderable list draws its handle at the start of every item, always, and lets the whole item be dragged (a long press on touch), with a menu of moves on the handle. A choice of where the handle stands (start | end) would let cupertino place it at the trailing end; an edit mode is the product's (it sets reorderable)."
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"id": "emphasis-per-style",
|
|
657
|
+
"systems": [
|
|
658
|
+
"Apple HIG"
|
|
659
|
+
],
|
|
660
|
+
"trait": "Each text style has an emphasized weight of its own: Title 1 and Title 2 go from Regular to Bold, Title 3 from Regular to Semibold, and Headline stays Semibold. Apple's controls also set some text at a style's emphasized weight: the large navigation title is Large Title, Bold.",
|
|
661
|
+
"kind": "mechanism",
|
|
662
|
+
"status": "open",
|
|
663
|
+
"proposal": "Tanrei's emphasis is one weight step per family (`sys.typescale.emphasis.*`), so cupertino's heading step (300, Title 1 and Title 2) draws heading-3 and heading-4 heavier than Apple's emphasized Title 3 and Headline (the fidelity map lists both); and a component's text style aliases a role at its own weight, so cupertino's large app-bar title is Regular. An emphasized weight per role, and a component text style that can name its role's emphasized weight, would close both."
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
|
+
}
|