@tanrei/mcp 0.1.0-next.0 → 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.
Files changed (224) hide show
  1. package/NOTICE +4 -5
  2. package/README.md +21 -6
  3. package/bin/tanrei-mcp.js +3 -3
  4. package/dist/server.js +2218 -711
  5. package/dist/vocabulary/docs/governance/mimicry-gaps.json +95 -21
  6. package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
  7. package/dist/vocabulary/specs/accordion.spec.json +1 -0
  8. package/dist/vocabulary/specs/app-bar.spec.json +1 -0
  9. package/dist/vocabulary/specs/app-shell.spec.json +1 -0
  10. package/dist/vocabulary/specs/avatar.spec.json +1 -0
  11. package/dist/vocabulary/specs/badge.spec.json +1 -0
  12. package/dist/vocabulary/specs/bottom-sheet.spec.json +1 -0
  13. package/dist/vocabulary/specs/breadcrumbs.spec.json +1 -0
  14. package/dist/vocabulary/specs/button-group.spec.json +1 -0
  15. package/dist/vocabulary/specs/button-with-menu.spec.json +1 -0
  16. package/dist/vocabulary/specs/button.spec.json +1 -0
  17. package/dist/vocabulary/specs/calendar.spec.json +1 -0
  18. package/dist/vocabulary/specs/callout.spec.json +1 -0
  19. package/dist/vocabulary/specs/card.spec.json +1 -0
  20. package/dist/vocabulary/specs/carousel.spec.json +1 -0
  21. package/dist/vocabulary/specs/chat-composer.spec.json +1 -0
  22. package/dist/vocabulary/specs/checkbox-group.spec.json +1 -0
  23. package/dist/vocabulary/specs/checkbox.spec.json +1 -0
  24. package/dist/vocabulary/specs/chip-field.spec.json +1 -0
  25. package/dist/vocabulary/specs/chip.spec.json +1 -0
  26. package/dist/vocabulary/specs/code-block.spec.json +1 -0
  27. package/dist/vocabulary/specs/color-field.spec.json +1 -0
  28. package/dist/vocabulary/specs/color-input.spec.json +1 -0
  29. package/dist/vocabulary/specs/combobox-field.spec.json +1 -0
  30. package/dist/vocabulary/specs/combobox.spec.json +1 -0
  31. package/dist/vocabulary/specs/component.schema.json +1 -0
  32. package/dist/vocabulary/specs/copy-button.spec.json +1 -0
  33. package/dist/vocabulary/specs/date-time-picker.spec.json +1 -0
  34. package/dist/vocabulary/specs/description-list.spec.json +1 -0
  35. package/dist/vocabulary/specs/dialog.spec.json +1 -0
  36. package/dist/vocabulary/specs/divider.spec.json +1 -0
  37. package/dist/vocabulary/specs/drop-zone.spec.json +1 -0
  38. package/dist/vocabulary/specs/embedded-text-input.spec.json +1 -0
  39. package/dist/vocabulary/specs/empty-state.spec.json +1 -0
  40. package/dist/vocabulary/specs/fab-menu.spec.json +1 -0
  41. package/dist/vocabulary/specs/field-group.spec.json +1 -0
  42. package/dist/vocabulary/specs/field.spec.json +1 -0
  43. package/dist/vocabulary/specs/figure.spec.json +1 -0
  44. package/dist/vocabulary/specs/file-item.spec.json +1 -0
  45. package/dist/vocabulary/specs/file-picker.spec.json +1 -0
  46. package/dist/vocabulary/specs/file-upload.spec.json +1 -0
  47. package/dist/vocabulary/specs/handle.spec.json +1 -0
  48. package/dist/vocabulary/specs/image-preview.spec.json +1 -0
  49. package/dist/vocabulary/specs/inline-code.spec.json +1 -0
  50. package/dist/vocabulary/specs/inventory.json +1 -0
  51. package/dist/vocabulary/specs/keyboard-shortcut.spec.json +1 -0
  52. package/dist/vocabulary/specs/link-card.spec.json +1 -0
  53. package/dist/vocabulary/specs/link.spec.json +1 -0
  54. package/dist/vocabulary/specs/list-row.spec.json +1 -0
  55. package/dist/vocabulary/specs/list.spec.json +1 -0
  56. package/dist/vocabulary/specs/loading-indicator.spec.json +1 -0
  57. package/dist/vocabulary/specs/main-action-button.spec.json +1 -0
  58. package/dist/vocabulary/specs/marquee-text.spec.json +1 -0
  59. package/dist/vocabulary/specs/menu.spec.json +1 -0
  60. package/dist/vocabulary/specs/menubar.spec.json +1 -0
  61. package/dist/vocabulary/specs/meter.spec.json +1 -0
  62. package/dist/vocabulary/specs/modal-layer.spec.json +1 -0
  63. package/dist/vocabulary/specs/navigation-bar.spec.json +1 -0
  64. package/dist/vocabulary/specs/navigation-drawer.spec.json +1 -0
  65. package/dist/vocabulary/specs/number-field.spec.json +1 -0
  66. package/dist/vocabulary/specs/number-input.spec.json +1 -0
  67. package/dist/vocabulary/specs/number-ticker.spec.json +1 -0
  68. package/dist/vocabulary/specs/one-time-code-field.spec.json +1 -0
  69. package/dist/vocabulary/specs/one-time-code-input.spec.json +1 -0
  70. package/dist/vocabulary/specs/page-header.spec.json +1 -0
  71. package/dist/vocabulary/specs/pagination.spec.json +1 -0
  72. package/dist/vocabulary/specs/popover.spec.json +1 -0
  73. package/dist/vocabulary/specs/previous-next-links.spec.json +1 -0
  74. package/dist/vocabulary/specs/progress-indicator.spec.json +1 -0
  75. package/dist/vocabulary/specs/prose.spec.json +1 -0
  76. package/dist/vocabulary/specs/radio-button.spec.json +1 -0
  77. package/dist/vocabulary/specs/radio-group.spec.json +1 -0
  78. package/dist/vocabulary/specs/rating.spec.json +1 -0
  79. package/dist/vocabulary/specs/resizable-frame.spec.json +1 -0
  80. package/dist/vocabulary/specs/scroll-area.spec.json +1 -0
  81. package/dist/vocabulary/specs/search.spec.json +1 -0
  82. package/dist/vocabulary/specs/segmented-button.spec.json +1 -0
  83. package/dist/vocabulary/specs/select-field.spec.json +1 -0
  84. package/dist/vocabulary/specs/select.spec.json +1 -0
  85. package/dist/vocabulary/specs/side-sheet.spec.json +1 -0
  86. package/dist/vocabulary/specs/size-transition.spec.json +1 -0
  87. package/dist/vocabulary/specs/skeleton.spec.json +1 -0
  88. package/dist/vocabulary/specs/slider-field.spec.json +1 -0
  89. package/dist/vocabulary/specs/slider.spec.json +1 -0
  90. package/dist/vocabulary/specs/snackbar.spec.json +1 -0
  91. package/dist/vocabulary/specs/split-view.spec.json +1 -0
  92. package/dist/vocabulary/specs/stepper.spec.json +1 -0
  93. package/dist/vocabulary/specs/steps.spec.json +1 -0
  94. package/dist/vocabulary/specs/swatch.spec.json +1 -0
  95. package/dist/vocabulary/specs/switch.spec.json +1 -0
  96. package/dist/vocabulary/specs/tab-view.spec.json +1 -0
  97. package/dist/vocabulary/specs/table-of-contents.spec.json +1 -0
  98. package/dist/vocabulary/specs/table.spec.json +1 -0
  99. package/dist/vocabulary/specs/tabs.spec.json +1 -0
  100. package/dist/vocabulary/specs/tag-group.spec.json +1 -0
  101. package/dist/vocabulary/specs/tag.spec.json +1 -0
  102. package/dist/vocabulary/specs/text-field.spec.json +1 -0
  103. package/dist/vocabulary/specs/text-input.spec.json +1 -0
  104. package/dist/vocabulary/specs/timeline.spec.json +1 -0
  105. package/dist/vocabulary/specs/toolbar.spec.json +1 -0
  106. package/dist/vocabulary/specs/tooltip.spec.json +1 -0
  107. package/dist/vocabulary/specs/tree-view.spec.json +1 -0
  108. package/dist/vocabulary/tanrei.config.json +2 -1
  109. package/dist/vocabulary/tokens/comp/accordion.tokens.json +70 -47
  110. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +99 -2
  111. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +1 -1
  112. package/dist/vocabulary/tokens/comp/avatar.tokens.json +17 -5
  113. package/dist/vocabulary/tokens/comp/badge.tokens.json +2 -1
  114. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +143 -73
  115. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +3 -3
  116. package/dist/vocabulary/tokens/comp/button-group.tokens.json +26 -4
  117. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +256 -28
  118. package/dist/vocabulary/tokens/comp/button.tokens.json +275 -22
  119. package/dist/vocabulary/tokens/comp/calendar.tokens.json +28 -18
  120. package/dist/vocabulary/tokens/comp/callout.tokens.json +55 -299
  121. package/dist/vocabulary/tokens/comp/card.tokens.json +3 -3
  122. package/dist/vocabulary/tokens/comp/carousel.tokens.json +70 -10
  123. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +37 -3
  124. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +18 -22
  125. package/dist/vocabulary/tokens/comp/chip.tokens.json +67 -16
  126. package/dist/vocabulary/tokens/comp/code-block.tokens.json +15 -1
  127. package/dist/vocabulary/tokens/comp/combobox.tokens.json +202 -33
  128. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +19 -2
  129. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +66 -35
  130. package/dist/vocabulary/tokens/comp/description-list.tokens.json +45 -23
  131. package/dist/vocabulary/tokens/comp/dialog.tokens.json +95 -35
  132. package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
  133. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +2 -2
  134. package/dist/vocabulary/tokens/comp/field-group.tokens.json +21 -1
  135. package/dist/vocabulary/tokens/comp/field.tokens.json +33 -4
  136. package/dist/vocabulary/tokens/comp/figure.tokens.json +56 -2
  137. package/dist/vocabulary/tokens/comp/file-item.tokens.json +4 -4
  138. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +3 -3
  139. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +2 -7
  140. package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
  141. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +53 -23
  142. package/dist/vocabulary/tokens/comp/input-box.tokens.json +161 -26
  143. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +5 -3
  144. package/dist/vocabulary/tokens/comp/link-card.tokens.json +24 -4
  145. package/dist/vocabulary/tokens/comp/link.tokens.json +3 -3
  146. package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
  147. package/dist/vocabulary/tokens/comp/list.tokens.json +106 -225
  148. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +13 -3
  149. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +96 -23
  150. package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
  151. package/dist/vocabulary/tokens/comp/menu.tokens.json +248 -43
  152. package/dist/vocabulary/tokens/comp/menubar.tokens.json +63 -12
  153. package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
  154. package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
  155. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +5 -36
  156. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +478 -122
  157. package/dist/vocabulary/tokens/comp/number-input.tokens.json +2 -2
  158. package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
  159. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +22 -7
  160. package/dist/vocabulary/tokens/comp/pagination.tokens.json +118 -79
  161. package/dist/vocabulary/tokens/comp/popover.tokens.json +84 -13
  162. package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
  163. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +14 -4
  164. package/dist/vocabulary/tokens/comp/prose.tokens.json +16 -0
  165. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +16 -20
  166. package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
  167. package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
  168. package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
  169. package/dist/vocabulary/tokens/comp/search.tokens.json +144 -58
  170. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +75 -21
  171. package/dist/vocabulary/tokens/comp/select.tokens.json +168 -34
  172. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +60 -13
  173. package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
  174. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +5 -2
  175. package/dist/vocabulary/tokens/comp/slider.tokens.json +11 -10
  176. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +81 -255
  177. package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
  178. package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
  179. package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
  180. package/dist/vocabulary/tokens/comp/switch.tokens.json +19 -18
  181. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +5 -5
  182. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +58 -33
  183. package/dist/vocabulary/tokens/comp/table.tokens.json +141 -30
  184. package/dist/vocabulary/tokens/comp/tabs.tokens.json +132 -44
  185. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +15 -4
  186. package/dist/vocabulary/tokens/comp/tag.tokens.json +32 -8
  187. package/dist/vocabulary/tokens/comp/text-input.tokens.json +18 -88
  188. package/dist/vocabulary/tokens/comp/timeline.tokens.json +15 -19
  189. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +121 -6
  190. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +8 -32
  191. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +136 -51
  192. package/dist/vocabulary/tokens/dial/dial.tokens.json +23 -3
  193. package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
  194. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +215 -5
  195. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
  196. package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
  197. package/dist/vocabulary/tokens/generated/cupertino/components.json +1749 -0
  198. package/dist/vocabulary/tokens/generated/cupertino/fidelity.json +162 -0
  199. package/dist/vocabulary/tokens/generated/m3-like/components.json +1761 -0
  200. package/dist/vocabulary/tokens/generated/m3-like/fidelity.json +182 -12
  201. package/dist/vocabulary/tokens/generated/tanrei/components.json +1764 -0
  202. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +2 -1
  203. package/dist/vocabulary/tokens/schema/system.schema.json +324 -35
  204. package/dist/vocabulary/tokens/sys/behavior.tokens.json +66 -1
  205. package/dist/vocabulary/tokens/sys/measure.tokens.json +105 -21
  206. package/dist/vocabulary/tokens/sys/motion.tokens.json +474 -2
  207. package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
  208. package/dist/vocabulary/tokens/sys/shape.tokens.json +1 -1
  209. package/dist/vocabulary/tokens/sys/state.tokens.json +16 -3
  210. package/dist/vocabulary/tokens/sys/typescale.tokens.json +5 -5
  211. package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
  212. package/dist/vocabulary/tokens/systems/cupertino.system.json +298 -79
  213. package/dist/vocabulary/tokens/{comp → systems/m3-like/comp}/fab-menu.tokens.json +5 -15
  214. package/dist/vocabulary/tokens/systems/m3-like.system.json +451 -125
  215. package/dist/vocabulary/tokens/systems/tanrei.system.json +619 -321
  216. package/dist/vocabulary/tokens/tanrei.resolver.json +48 -6
  217. package/package.json +22 -6
  218. package/dist/vocabulary/tokens/AGENTS.md +0 -15
  219. package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +0 -254
  220. package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +0 -68
  221. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +0 -67
  222. package/dist/vocabulary/tokens/generated/m3-expressive-like/fidelity.json +0 -99
  223. package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +0 -83
  224. package/dist/vocabulary/tokens/vocabulary.lock.json +0 -7052
@@ -89,7 +89,7 @@
89
89
  {
90
90
  "id": "shape-morph",
91
91
  "systems": [
92
- "Material 3 Expressive"
92
+ "Material 3"
93
93
  ],
94
94
  "trait": "Shapes morph between arbitrary rounded polygons.",
95
95
  "kind": "behavior",
@@ -130,7 +130,7 @@
130
130
  {
131
131
  "id": "button-shape-option",
132
132
  "systems": [
133
- "Material 3 Expressive"
133
+ "Material 3"
134
134
  ],
135
135
  "kind": "anatomy",
136
136
  "status": "open",
@@ -140,7 +140,7 @@
140
140
  {
141
141
  "id": "per-size-state-shape",
142
142
  "systems": [
143
- "Material 3 Expressive"
143
+ "Material 3"
144
144
  ],
145
145
  "kind": "vocabulary",
146
146
  "status": "open",
@@ -150,12 +150,12 @@
150
150
  {
151
151
  "id": "axis-default",
152
152
  "systems": [
153
- "Material 3 Expressive"
153
+ "Material 3"
154
154
  ],
155
155
  "kind": "mechanism",
156
- "status": "open",
156
+ "status": "resolved",
157
157
  "trait": "The reference's default button size is its `small` (40dp); Tanrei's `size` defaults to `medium` on every platform.",
158
- "proposal": "Let a layer set the default value of a component axis, delivered to platforms with the system."
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
159
  },
160
160
  {
161
161
  "id": "platform-symbol-sets",
@@ -200,12 +200,12 @@
200
200
  {
201
201
  "id": "progress-wavy",
202
202
  "systems": [
203
- "Material 3 Expressive"
203
+ "Material 3"
204
204
  ],
205
205
  "trait": "Progress indicators may be drawn as a wave.",
206
206
  "kind": "anatomy",
207
207
  "status": "open",
208
- "proposal": "A choice of kind for the indicator's form (flat | wavy), like sys.behavior.*, would close it; m3-expressive-like draws the flat form until then."
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
209
  },
210
210
  {
211
211
  "id": "radio-filled-disc",
@@ -290,11 +290,11 @@
290
290
  {
291
291
  "id": "navigation-rail-expanded",
292
292
  "systems": [
293
- "Material 3 Expressive"
293
+ "Material 3"
294
294
  ],
295
295
  "kind": "anatomy",
296
296
  "status": "resolved",
297
- "trait": "Material 3 Expressive'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.",
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
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
299
  },
300
300
  {
@@ -310,11 +310,11 @@
310
310
  {
311
311
  "id": "button-group-press-expand",
312
312
  "systems": [
313
- "m3-expressive-like"
313
+ "m3-like"
314
314
  ],
315
315
  "kind": "behavior",
316
316
  "status": "open",
317
- "trait": "Material 3 Expressive'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).",
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
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
319
  },
320
320
  {
@@ -324,17 +324,17 @@
324
324
  ],
325
325
  "kind": "anatomy",
326
326
  "status": "open",
327
- "trait": "Material 3 Expressive'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.",
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
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
329
  },
330
330
  {
331
331
  "id": "slider-inset-icon",
332
332
  "systems": [
333
- "m3-expressive-like"
333
+ "m3-like"
334
334
  ],
335
335
  "kind": "anatomy",
336
336
  "status": "open",
337
- "trait": "Material 3 Expressive 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.",
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
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
339
  },
340
340
  {
@@ -435,7 +435,7 @@
435
435
  "trait": "The input chip removes with an outlined `close` glyph and no hover color of its own.",
436
436
  "kind": "anatomy",
437
437
  "status": "wont-fix",
438
- "proposal": "Tanrei names the glyph in the spec: the remove action draws the icon set's filled `cancel` and, by default, turns to the error color under hover, focus and press (chip CHP-27, CHP-28). The Material presets keep the flag on; a product turns it off per chip with `destructiveRemove`."
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
439
  },
440
440
  {
441
441
  "id": "checkbox-mark-drawn-on",
@@ -498,14 +498,14 @@
498
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
499
  },
500
500
  {
501
- "id": "navigation-drawer-expressive-widths",
501
+ "id": "navigation-rail-widths",
502
502
  "systems": [
503
- "Material 3 Expressive"
503
+ "Material 3"
504
504
  ],
505
- "trait": "Material 3 Expressive'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.",
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
506
  "kind": "appearance",
507
507
  "status": "open",
508
- "proposal": "m3-expressive-like inherits m3-like's Material 3 values for the navigation drawer (80 collapsed, 360 expanded, a full-width pill). Setting comp.navigation-drawer.collapsed.container.width to 96 and container.width to 220 in m3-expressive-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."
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
509
  },
510
510
  {
511
511
  "id": "side-sheet-action-emphasis",
@@ -527,6 +527,16 @@
527
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
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
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
+ },
530
540
  {
531
541
  "id": "side-sheet-actions-in-header",
532
542
  "systems": [
@@ -575,9 +585,20 @@
575
585
  ],
576
586
  "kind": "vocabulary",
577
587
  "status": "open",
578
- "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 or m3-expressive-like must set collapsedLabels=\"always\" itself to get Material's column; the presets' representative collapsed fixture is collapsed-labels-always.",
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.",
579
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."
580
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
+ },
581
602
  {
582
603
  "id": "date-time-picker-period-place",
583
604
  "systems": [
@@ -587,6 +608,59 @@
587
608
  "status": "open",
588
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.",
589
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."
590
664
  }
591
665
  ]
592
666
  }