@tanrei/cli 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 (376) hide show
  1. package/NOTICE +4 -5
  2. package/README.md +27 -8
  3. package/dist/cli.js +6254 -4596
  4. package/dist/studio/THIRD_PARTY_LICENSES.md +101 -3
  5. package/dist/studio/assets/{highlight-hwWnuPS8.js → highlight-DO0QW7yz.js} +1 -1
  6. package/dist/studio/assets/index-CmKf0KHF.css +1 -0
  7. package/dist/studio/assets/index-CtN9tpay.js +6232 -0
  8. package/dist/studio/assets/material-symbols-outlined-latin-full-normal-CbWsDl0D.woff2 +0 -0
  9. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-CFzFAzDo.woff2 +0 -0
  10. package/dist/studio/assets/noto-sans-arabic-arabic-wght-normal-BhzieyvS.woff2 +0 -0
  11. package/dist/studio/assets/noto-sans-jp-0-wght-normal-vN5ykBQF.woff2 +0 -0
  12. package/dist/studio/assets/noto-sans-jp-1-wght-normal-N_EDDt8j.woff2 +0 -0
  13. package/dist/studio/assets/noto-sans-jp-10-wght-normal-ChuiXes4.woff2 +0 -0
  14. package/dist/studio/assets/noto-sans-jp-100-wght-normal-CrE4HD6k.woff2 +0 -0
  15. package/dist/studio/assets/noto-sans-jp-101-wght-normal-DOqEZFXR.woff2 +0 -0
  16. package/dist/studio/assets/noto-sans-jp-102-wght-normal-2gFz4V6e.woff2 +0 -0
  17. package/dist/studio/assets/noto-sans-jp-103-wght-normal-D9RhXU-z.woff2 +0 -0
  18. package/dist/studio/assets/noto-sans-jp-104-wght-normal-OIyZ9iQD.woff2 +0 -0
  19. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CqRQAfnb.woff2 +0 -0
  20. package/dist/studio/assets/noto-sans-jp-106-wght-normal-D-PO3jqS.woff2 +0 -0
  21. package/dist/studio/assets/noto-sans-jp-107-wght-normal-DrykTIAp.woff2 +0 -0
  22. package/dist/studio/assets/noto-sans-jp-108-wght-normal-DijBe27A.woff2 +0 -0
  23. package/dist/studio/assets/noto-sans-jp-109-wght-normal-DaJwqT__.woff2 +0 -0
  24. package/dist/studio/assets/noto-sans-jp-11-wght-normal-DdkFqF_o.woff2 +0 -0
  25. package/dist/studio/assets/noto-sans-jp-110-wght-normal-bhh2FQQH.woff2 +0 -0
  26. package/dist/studio/assets/noto-sans-jp-111-wght-normal-CuGzYIdC.woff2 +0 -0
  27. package/dist/studio/assets/noto-sans-jp-112-wght-normal-DdhK_1vk.woff2 +0 -0
  28. package/dist/studio/assets/noto-sans-jp-113-wght-normal-hxVHS2d4.woff2 +0 -0
  29. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DUzjAsrP.woff2 +0 -0
  30. package/dist/studio/assets/noto-sans-jp-115-wght-normal-BiZ4-5rz.woff2 +0 -0
  31. package/dist/studio/assets/noto-sans-jp-116-wght-normal-DkZAcxAY.woff2 +0 -0
  32. package/dist/studio/assets/noto-sans-jp-117-wght-normal-CLJPD2y0.woff2 +0 -0
  33. package/dist/studio/assets/noto-sans-jp-118-wght-normal-D8DI_HXJ.woff2 +0 -0
  34. package/dist/studio/assets/noto-sans-jp-119-wght-normal-BAB3pFaH.woff2 +0 -0
  35. package/dist/studio/assets/noto-sans-jp-12-wght-normal-K36fA5_o.woff2 +0 -0
  36. package/dist/studio/assets/noto-sans-jp-13-wght-normal-BnYizWno.woff2 +0 -0
  37. package/dist/studio/assets/noto-sans-jp-14-wght-normal-BP4IgVC-.woff2 +0 -0
  38. package/dist/studio/assets/noto-sans-jp-15-wght-normal-DyhWcoYF.woff2 +0 -0
  39. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CXsQLI2j.woff2 +0 -0
  40. package/dist/studio/assets/noto-sans-jp-17-wght-normal-C8FU1ZJ4.woff2 +0 -0
  41. package/dist/studio/assets/noto-sans-jp-18-wght-normal-Cl0IKBVh.woff2 +0 -0
  42. package/dist/studio/assets/noto-sans-jp-19-wght-normal-D3D3JUJm.woff2 +0 -0
  43. package/dist/studio/assets/noto-sans-jp-2-wght-normal-CGu8NhtQ.woff2 +0 -0
  44. package/dist/studio/assets/noto-sans-jp-20-wght-normal-DxsoeWSt.woff2 +0 -0
  45. package/dist/studio/assets/noto-sans-jp-21-wght-normal-CuNsexW5.woff2 +0 -0
  46. package/dist/studio/assets/noto-sans-jp-22-wght-normal-DVX3OFQM.woff2 +0 -0
  47. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BPFuo_yH.woff2 +0 -0
  48. package/dist/studio/assets/noto-sans-jp-24-wght-normal-D85Fj66x.woff2 +0 -0
  49. package/dist/studio/assets/noto-sans-jp-25-wght-normal-DdOOVuSz.woff2 +0 -0
  50. package/dist/studio/assets/noto-sans-jp-26-wght-normal-BRB1GnUq.woff2 +0 -0
  51. package/dist/studio/assets/noto-sans-jp-27-wght-normal-BxZFF8JU.woff2 +0 -0
  52. package/dist/studio/assets/noto-sans-jp-28-wght-normal-VUlviaYI.woff2 +0 -0
  53. package/dist/studio/assets/noto-sans-jp-29-wght-normal-CalQqRwB.woff2 +0 -0
  54. package/dist/studio/assets/noto-sans-jp-3-wght-normal-cncaCaM8.woff2 +0 -0
  55. package/dist/studio/assets/noto-sans-jp-30-wght-normal-CHLg85G9.woff2 +0 -0
  56. package/dist/studio/assets/noto-sans-jp-31-wght-normal-BUoF9dl9.woff2 +0 -0
  57. package/dist/studio/assets/noto-sans-jp-32-wght-normal-C5ZTiBNw.woff2 +0 -0
  58. package/dist/studio/assets/noto-sans-jp-33-wght-normal-C6XNJsfA.woff2 +0 -0
  59. package/dist/studio/assets/noto-sans-jp-34-wght-normal-DHkM837w.woff2 +0 -0
  60. package/dist/studio/assets/noto-sans-jp-35-wght-normal-QMtEjDIl.woff2 +0 -0
  61. package/dist/studio/assets/noto-sans-jp-36-wght-normal-CUyF0GqZ.woff2 +0 -0
  62. package/dist/studio/assets/noto-sans-jp-37-wght-normal-EORmNjxA.woff2 +0 -0
  63. package/dist/studio/assets/noto-sans-jp-38-wght-normal-C8ERbMNG.woff2 +0 -0
  64. package/dist/studio/assets/noto-sans-jp-39-wght-normal-ChUfpJbl.woff2 +0 -0
  65. package/dist/studio/assets/noto-sans-jp-4-wght-normal-DtWqs3EP.woff2 +0 -0
  66. package/dist/studio/assets/noto-sans-jp-40-wght-normal-MgP8JEEE.woff2 +0 -0
  67. package/dist/studio/assets/noto-sans-jp-41-wght-normal-3ctF9abM.woff2 +0 -0
  68. package/dist/studio/assets/noto-sans-jp-42-wght-normal-CQtg6UZe.woff2 +0 -0
  69. package/dist/studio/assets/noto-sans-jp-43-wght-normal-D1Pmm9aG.woff2 +0 -0
  70. package/dist/studio/assets/noto-sans-jp-44-wght-normal-Cp9dHeXI.woff2 +0 -0
  71. package/dist/studio/assets/noto-sans-jp-45-wght-normal-D2b1osBj.woff2 +0 -0
  72. package/dist/studio/assets/noto-sans-jp-46-wght-normal-CGIA-Vlo.woff2 +0 -0
  73. package/dist/studio/assets/noto-sans-jp-47-wght-normal-C4EEGqDS.woff2 +0 -0
  74. package/dist/studio/assets/noto-sans-jp-48-wght-normal-D2iBztXa.woff2 +0 -0
  75. package/dist/studio/assets/noto-sans-jp-49-wght-normal-DxqRVik_.woff2 +0 -0
  76. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CFiyVtll.woff2 +0 -0
  77. package/dist/studio/assets/noto-sans-jp-50-wght-normal-CMseszwo.woff2 +0 -0
  78. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqc-9wfi.woff2 +0 -0
  79. package/dist/studio/assets/noto-sans-jp-52-wght-normal-BVLZTbqC.woff2 +0 -0
  80. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DTyNOJaY.woff2 +0 -0
  81. package/dist/studio/assets/noto-sans-jp-54-wght-normal-_mxGq_et.woff2 +0 -0
  82. package/dist/studio/assets/noto-sans-jp-55-wght-normal-Bvndync8.woff2 +0 -0
  83. package/dist/studio/assets/noto-sans-jp-56-wght-normal-0MmMqroR.woff2 +0 -0
  84. package/dist/studio/assets/noto-sans-jp-57-wght-normal-BdRnjDYs.woff2 +0 -0
  85. package/dist/studio/assets/noto-sans-jp-58-wght-normal-BYGgVeN_.woff2 +0 -0
  86. package/dist/studio/assets/noto-sans-jp-59-wght-normal-Bdv8mdje.woff2 +0 -0
  87. package/dist/studio/assets/noto-sans-jp-6-wght-normal-M-pWkj3J.woff2 +0 -0
  88. package/dist/studio/assets/noto-sans-jp-60-wght-normal-DC6FEqsM.woff2 +0 -0
  89. package/dist/studio/assets/noto-sans-jp-61-wght-normal-CYIuK5Lr.woff2 +0 -0
  90. package/dist/studio/assets/noto-sans-jp-62-wght-normal-DeHy8p7w.woff2 +0 -0
  91. package/dist/studio/assets/noto-sans-jp-63-wght-normal-B4M6eMmD.woff2 +0 -0
  92. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DLyOXBrC.woff2 +0 -0
  93. package/dist/studio/assets/noto-sans-jp-65-wght-normal-X7SsA1bs.woff2 +0 -0
  94. package/dist/studio/assets/noto-sans-jp-66-wght-normal-VScDM-_N.woff2 +0 -0
  95. package/dist/studio/assets/noto-sans-jp-67-wght-normal-Dg2D3DZB.woff2 +0 -0
  96. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BB0AR8UN.woff2 +0 -0
  97. package/dist/studio/assets/noto-sans-jp-69-wght-normal-CucwpUnQ.woff2 +0 -0
  98. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DzOz8Ryd.woff2 +0 -0
  99. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BZId6-Tb.woff2 +0 -0
  100. package/dist/studio/assets/noto-sans-jp-71-wght-normal-CzPU0NF7.woff2 +0 -0
  101. package/dist/studio/assets/noto-sans-jp-72-wght-normal-DrNRYXnT.woff2 +0 -0
  102. package/dist/studio/assets/noto-sans-jp-73-wght-normal-DF2BdR6a.woff2 +0 -0
  103. package/dist/studio/assets/noto-sans-jp-74-wght-normal-BMlOw_5y.woff2 +0 -0
  104. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DKq84hLG.woff2 +0 -0
  105. package/dist/studio/assets/noto-sans-jp-76-wght-normal-CTb-2MFr.woff2 +0 -0
  106. package/dist/studio/assets/noto-sans-jp-77-wght-normal-DfIVi-wf.woff2 +0 -0
  107. package/dist/studio/assets/noto-sans-jp-78-wght-normal-_-z1Vrir.woff2 +0 -0
  108. package/dist/studio/assets/noto-sans-jp-79-wght-normal-D8kGlXda.woff2 +0 -0
  109. package/dist/studio/assets/noto-sans-jp-8-wght-normal-BfWoBb3q.woff2 +0 -0
  110. package/dist/studio/assets/noto-sans-jp-80-wght-normal-BOEztZwY.woff2 +0 -0
  111. package/dist/studio/assets/noto-sans-jp-81-wght-normal-h5VC8QpU.woff2 +0 -0
  112. package/dist/studio/assets/noto-sans-jp-82-wght-normal-DJ4QkvX0.woff2 +0 -0
  113. package/dist/studio/assets/noto-sans-jp-83-wght-normal-DANtuAZG.woff2 +0 -0
  114. package/dist/studio/assets/noto-sans-jp-84-wght-normal-DjZ8Sp6m.woff2 +0 -0
  115. package/dist/studio/assets/noto-sans-jp-85-wght-normal-kpU7kbMF.woff2 +0 -0
  116. package/dist/studio/assets/noto-sans-jp-86-wght-normal-DRPTa-bf.woff2 +0 -0
  117. package/dist/studio/assets/noto-sans-jp-87-wght-normal-CFM472wD.woff2 +0 -0
  118. package/dist/studio/assets/noto-sans-jp-88-wght-normal-2rLLwelj.woff2 +0 -0
  119. package/dist/studio/assets/noto-sans-jp-89-wght-normal-DUIF9ybW.woff2 +0 -0
  120. package/dist/studio/assets/noto-sans-jp-9-wght-normal-WLs1HgG6.woff2 +0 -0
  121. package/dist/studio/assets/noto-sans-jp-90-wght-normal-B0n_tL-y.woff2 +0 -0
  122. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BishDeFy.woff2 +0 -0
  123. package/dist/studio/assets/noto-sans-jp-92-wght-normal-DoIdukLp.woff2 +0 -0
  124. package/dist/studio/assets/noto-sans-jp-93-wght-normal-DMCycan_.woff2 +0 -0
  125. package/dist/studio/assets/noto-sans-jp-94-wght-normal-DlyoTk-A.woff2 +0 -0
  126. package/dist/studio/assets/noto-sans-jp-95-wght-normal-D0L1aiGf.woff2 +0 -0
  127. package/dist/studio/assets/noto-sans-jp-96-wght-normal-CjJ0kYkQ.woff2 +0 -0
  128. package/dist/studio/assets/noto-sans-jp-97-wght-normal-CJ8uP04H.woff2 +0 -0
  129. package/dist/studio/assets/noto-sans-jp-98-wght-normal-CjEDrQIY.woff2 +0 -0
  130. package/dist/studio/assets/noto-sans-jp-99-wght-normal-DaQ3GEVf.woff2 +0 -0
  131. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BbS1Q_ZO.woff2 +0 -0
  132. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-IaSo_s9d.woff2 +0 -0
  133. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-Bnnzbixe.woff2 +0 -0
  134. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CjvP4Ahz.woff2 +0 -0
  135. package/dist/studio/index.html +18 -9
  136. package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
  137. package/dist/vocabulary/packages/web/src/generated/glyphs.json +189 -0
  138. package/dist/vocabulary/tanrei.config.json +2 -1
  139. package/dist/vocabulary/tokens/comp/accordion.tokens.json +70 -47
  140. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +99 -2
  141. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +1 -1
  142. package/dist/vocabulary/tokens/comp/avatar.tokens.json +17 -5
  143. package/dist/vocabulary/tokens/comp/badge.tokens.json +2 -1
  144. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +143 -73
  145. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +3 -3
  146. package/dist/vocabulary/tokens/comp/button-group.tokens.json +26 -4
  147. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +256 -28
  148. package/dist/vocabulary/tokens/comp/button.tokens.json +275 -22
  149. package/dist/vocabulary/tokens/comp/calendar.tokens.json +28 -18
  150. package/dist/vocabulary/tokens/comp/callout.tokens.json +55 -299
  151. package/dist/vocabulary/tokens/comp/card.tokens.json +3 -3
  152. package/dist/vocabulary/tokens/comp/carousel.tokens.json +70 -10
  153. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +37 -3
  154. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +18 -22
  155. package/dist/vocabulary/tokens/comp/chip.tokens.json +67 -16
  156. package/dist/vocabulary/tokens/comp/code-block.tokens.json +15 -1
  157. package/dist/vocabulary/tokens/comp/combobox.tokens.json +202 -33
  158. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +19 -2
  159. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +66 -35
  160. package/dist/vocabulary/tokens/comp/description-list.tokens.json +45 -23
  161. package/dist/vocabulary/tokens/comp/dialog.tokens.json +95 -35
  162. package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
  163. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +2 -2
  164. package/dist/vocabulary/tokens/comp/field-group.tokens.json +21 -1
  165. package/dist/vocabulary/tokens/comp/field.tokens.json +33 -4
  166. package/dist/vocabulary/tokens/comp/figure.tokens.json +56 -2
  167. package/dist/vocabulary/tokens/comp/file-item.tokens.json +4 -4
  168. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +3 -3
  169. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +2 -7
  170. package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
  171. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +53 -23
  172. package/dist/vocabulary/tokens/comp/input-box.tokens.json +161 -26
  173. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +5 -3
  174. package/dist/vocabulary/tokens/comp/link-card.tokens.json +24 -4
  175. package/dist/vocabulary/tokens/comp/link.tokens.json +3 -3
  176. package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
  177. package/dist/vocabulary/tokens/comp/list.tokens.json +106 -225
  178. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +13 -3
  179. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +96 -23
  180. package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
  181. package/dist/vocabulary/tokens/comp/menu.tokens.json +248 -43
  182. package/dist/vocabulary/tokens/comp/menubar.tokens.json +63 -12
  183. package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
  184. package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
  185. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +5 -36
  186. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +478 -122
  187. package/dist/vocabulary/tokens/comp/number-input.tokens.json +2 -2
  188. package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
  189. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +22 -7
  190. package/dist/vocabulary/tokens/comp/pagination.tokens.json +118 -79
  191. package/dist/vocabulary/tokens/comp/popover.tokens.json +84 -13
  192. package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
  193. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +14 -4
  194. package/dist/vocabulary/tokens/comp/prose.tokens.json +16 -0
  195. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +16 -20
  196. package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
  197. package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
  198. package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
  199. package/dist/vocabulary/tokens/comp/search.tokens.json +144 -58
  200. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +75 -21
  201. package/dist/vocabulary/tokens/comp/select.tokens.json +168 -34
  202. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +60 -13
  203. package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
  204. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +5 -2
  205. package/dist/vocabulary/tokens/comp/slider.tokens.json +11 -10
  206. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +81 -255
  207. package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
  208. package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
  209. package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
  210. package/dist/vocabulary/tokens/comp/switch.tokens.json +19 -18
  211. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +5 -5
  212. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +58 -33
  213. package/dist/vocabulary/tokens/comp/table.tokens.json +141 -30
  214. package/dist/vocabulary/tokens/comp/tabs.tokens.json +132 -44
  215. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +15 -4
  216. package/dist/vocabulary/tokens/comp/tag.tokens.json +32 -8
  217. package/dist/vocabulary/tokens/comp/text-input.tokens.json +18 -88
  218. package/dist/vocabulary/tokens/comp/timeline.tokens.json +15 -19
  219. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +121 -6
  220. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +8 -32
  221. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +136 -51
  222. package/dist/vocabulary/tokens/dial/dial.tokens.json +23 -3
  223. package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
  224. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +215 -5
  225. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
  226. package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
  227. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +2 -1
  228. package/dist/vocabulary/tokens/schema/system.schema.json +324 -35
  229. package/dist/vocabulary/tokens/sys/behavior.tokens.json +66 -1
  230. package/dist/vocabulary/tokens/sys/measure.tokens.json +105 -21
  231. package/dist/vocabulary/tokens/sys/motion.tokens.json +474 -2
  232. package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
  233. package/dist/vocabulary/tokens/sys/shape.tokens.json +1 -1
  234. package/dist/vocabulary/tokens/sys/state.tokens.json +16 -3
  235. package/dist/vocabulary/tokens/sys/typescale.tokens.json +5 -5
  236. package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
  237. package/dist/vocabulary/tokens/systems/cupertino.system.json +298 -79
  238. package/dist/vocabulary/tokens/{comp → systems/m3-like/comp}/fab-menu.tokens.json +5 -15
  239. package/dist/vocabulary/tokens/systems/m3-like.system.json +451 -125
  240. package/dist/vocabulary/tokens/systems/tanrei.system.json +619 -321
  241. package/dist/vocabulary/tokens/tanrei.resolver.json +48 -6
  242. package/package.json +22 -4
  243. package/dist/studio/assets/index-BByvFAbB.js +0 -26376
  244. package/dist/studio/assets/index-CTe7Eja3.css +0 -1
  245. package/dist/studio/assets/material-symbols-outlined-latin-full-normal-Cu9fI30F.woff2 +0 -0
  246. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-DnCYgp88.woff2 +0 -0
  247. package/dist/studio/assets/noto-sans-jp-0-wght-normal-ChZwicxE.woff2 +0 -0
  248. package/dist/studio/assets/noto-sans-jp-1-wght-normal-CARGyt1_.woff2 +0 -0
  249. package/dist/studio/assets/noto-sans-jp-10-wght-normal-DtPkCCyJ.woff2 +0 -0
  250. package/dist/studio/assets/noto-sans-jp-100-wght-normal-IGIcweVU.woff2 +0 -0
  251. package/dist/studio/assets/noto-sans-jp-101-wght-normal-Dls8jqVU.woff2 +0 -0
  252. package/dist/studio/assets/noto-sans-jp-102-wght-normal-CKMRrjm1.woff2 +0 -0
  253. package/dist/studio/assets/noto-sans-jp-103-wght-normal-Cf0qKmex.woff2 +0 -0
  254. package/dist/studio/assets/noto-sans-jp-104-wght-normal-DU15_Tmk.woff2 +0 -0
  255. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CTXm1m1e.woff2 +0 -0
  256. package/dist/studio/assets/noto-sans-jp-106-wght-normal-COtgWfsA.woff2 +0 -0
  257. package/dist/studio/assets/noto-sans-jp-107-wght-normal-BMH1cYUp.woff2 +0 -0
  258. package/dist/studio/assets/noto-sans-jp-108-wght-normal-1F5IhFoa.woff2 +0 -0
  259. package/dist/studio/assets/noto-sans-jp-109-wght-normal-XZ0efpq6.woff2 +0 -0
  260. package/dist/studio/assets/noto-sans-jp-11-wght-normal-Dkj9SGze.woff2 +0 -0
  261. package/dist/studio/assets/noto-sans-jp-110-wght-normal-CeHeZFeT.woff2 +0 -0
  262. package/dist/studio/assets/noto-sans-jp-111-wght-normal-DyRaOVPC.woff2 +0 -0
  263. package/dist/studio/assets/noto-sans-jp-112-wght-normal-CnVx-8lB.woff2 +0 -0
  264. package/dist/studio/assets/noto-sans-jp-113-wght-normal-CtbyXo_h.woff2 +0 -0
  265. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DCIM4jZs.woff2 +0 -0
  266. package/dist/studio/assets/noto-sans-jp-115-wght-normal-CDBMNWew.woff2 +0 -0
  267. package/dist/studio/assets/noto-sans-jp-116-wght-normal-RqS7_mFx.woff2 +0 -0
  268. package/dist/studio/assets/noto-sans-jp-117-wght-normal-D73BPRww.woff2 +0 -0
  269. package/dist/studio/assets/noto-sans-jp-118-wght-normal-U5v7NshZ.woff2 +0 -0
  270. package/dist/studio/assets/noto-sans-jp-119-wght-normal-D3TauSHf.woff2 +0 -0
  271. package/dist/studio/assets/noto-sans-jp-12-wght-normal-CZgOv4iD.woff2 +0 -0
  272. package/dist/studio/assets/noto-sans-jp-13-wght-normal-B3bKCuev.woff2 +0 -0
  273. package/dist/studio/assets/noto-sans-jp-14-wght-normal-DbDHiDFQ.woff2 +0 -0
  274. package/dist/studio/assets/noto-sans-jp-15-wght-normal-BHvX48uZ.woff2 +0 -0
  275. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CIRRqAST.woff2 +0 -0
  276. package/dist/studio/assets/noto-sans-jp-17-wght-normal-Cypgkvf4.woff2 +0 -0
  277. package/dist/studio/assets/noto-sans-jp-18-wght-normal-DhyYlhdC.woff2 +0 -0
  278. package/dist/studio/assets/noto-sans-jp-19-wght-normal-Cm6ySjN8.woff2 +0 -0
  279. package/dist/studio/assets/noto-sans-jp-2-wght-normal-RseJrQYo.woff2 +0 -0
  280. package/dist/studio/assets/noto-sans-jp-20-wght-normal-FgfhxZU_.woff2 +0 -0
  281. package/dist/studio/assets/noto-sans-jp-21-wght-normal-Ur8WYMVQ.woff2 +0 -0
  282. package/dist/studio/assets/noto-sans-jp-22-wght-normal-BACXhehE.woff2 +0 -0
  283. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BguN3TwY.woff2 +0 -0
  284. package/dist/studio/assets/noto-sans-jp-24-wght-normal-CXEahOPk.woff2 +0 -0
  285. package/dist/studio/assets/noto-sans-jp-25-wght-normal-VS5EnqV2.woff2 +0 -0
  286. package/dist/studio/assets/noto-sans-jp-26-wght-normal-Bu8z50LX.woff2 +0 -0
  287. package/dist/studio/assets/noto-sans-jp-27-wght-normal-jmtCcHJ0.woff2 +0 -0
  288. package/dist/studio/assets/noto-sans-jp-28-wght-normal-DQNwlFIU.woff2 +0 -0
  289. package/dist/studio/assets/noto-sans-jp-29-wght-normal-BnPJOTuS.woff2 +0 -0
  290. package/dist/studio/assets/noto-sans-jp-3-wght-normal--H5uv3v4.woff2 +0 -0
  291. package/dist/studio/assets/noto-sans-jp-30-wght-normal-Bj8BZBgx.woff2 +0 -0
  292. package/dist/studio/assets/noto-sans-jp-31-wght-normal-Commwwo1.woff2 +0 -0
  293. package/dist/studio/assets/noto-sans-jp-32-wght-normal-CRZDfOIz.woff2 +0 -0
  294. package/dist/studio/assets/noto-sans-jp-33-wght-normal-BnYdH6SQ.woff2 +0 -0
  295. package/dist/studio/assets/noto-sans-jp-34-wght-normal-CGJbTgpI.woff2 +0 -0
  296. package/dist/studio/assets/noto-sans-jp-35-wght-normal-C7HufUhC.woff2 +0 -0
  297. package/dist/studio/assets/noto-sans-jp-36-wght-normal-Dyc832Mi.woff2 +0 -0
  298. package/dist/studio/assets/noto-sans-jp-37-wght-normal-BA1uUhJR.woff2 +0 -0
  299. package/dist/studio/assets/noto-sans-jp-38-wght-normal-6T50SRVw.woff2 +0 -0
  300. package/dist/studio/assets/noto-sans-jp-39-wght-normal-CN8CV109.woff2 +0 -0
  301. package/dist/studio/assets/noto-sans-jp-4-wght-normal-Dc2VWjiv.woff2 +0 -0
  302. package/dist/studio/assets/noto-sans-jp-40-wght-normal-Ac3ANHeE.woff2 +0 -0
  303. package/dist/studio/assets/noto-sans-jp-41-wght-normal-B-bcLJUI.woff2 +0 -0
  304. package/dist/studio/assets/noto-sans-jp-42-wght-normal-C4xWUztV.woff2 +0 -0
  305. package/dist/studio/assets/noto-sans-jp-43-wght-normal-DAb0Sc5Y.woff2 +0 -0
  306. package/dist/studio/assets/noto-sans-jp-44-wght-normal-DyPSHqCN.woff2 +0 -0
  307. package/dist/studio/assets/noto-sans-jp-45-wght-normal-BF-EckBd.woff2 +0 -0
  308. package/dist/studio/assets/noto-sans-jp-46-wght-normal-BmRwgAv-.woff2 +0 -0
  309. package/dist/studio/assets/noto-sans-jp-47-wght-normal-0LM1TynG.woff2 +0 -0
  310. package/dist/studio/assets/noto-sans-jp-48-wght-normal-DrhQr74m.woff2 +0 -0
  311. package/dist/studio/assets/noto-sans-jp-49-wght-normal-6kT-KCCt.woff2 +0 -0
  312. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CeuaJ3GQ.woff2 +0 -0
  313. package/dist/studio/assets/noto-sans-jp-50-wght-normal-Cw6P8USA.woff2 +0 -0
  314. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqxu35Xk.woff2 +0 -0
  315. package/dist/studio/assets/noto-sans-jp-52-wght-normal-DYmSQol3.woff2 +0 -0
  316. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DwAVKRqn.woff2 +0 -0
  317. package/dist/studio/assets/noto-sans-jp-54-wght-normal-DkswS7jl.woff2 +0 -0
  318. package/dist/studio/assets/noto-sans-jp-55-wght-normal-BYcCjSG_.woff2 +0 -0
  319. package/dist/studio/assets/noto-sans-jp-56-wght-normal-k2E-xsGo.woff2 +0 -0
  320. package/dist/studio/assets/noto-sans-jp-57-wght-normal-Dcyw3o92.woff2 +0 -0
  321. package/dist/studio/assets/noto-sans-jp-58-wght-normal-C-mIssxc.woff2 +0 -0
  322. package/dist/studio/assets/noto-sans-jp-59-wght-normal-DUxkCIOP.woff2 +0 -0
  323. package/dist/studio/assets/noto-sans-jp-6-wght-normal-BETiiYWj.woff2 +0 -0
  324. package/dist/studio/assets/noto-sans-jp-60-wght-normal-B1SQjyhM.woff2 +0 -0
  325. package/dist/studio/assets/noto-sans-jp-61-wght-normal-DqwoqK_H.woff2 +0 -0
  326. package/dist/studio/assets/noto-sans-jp-62-wght-normal-Dvl1bj2o.woff2 +0 -0
  327. package/dist/studio/assets/noto-sans-jp-63-wght-normal-pZDrjPWR.woff2 +0 -0
  328. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DGBgUuRb.woff2 +0 -0
  329. package/dist/studio/assets/noto-sans-jp-65-wght-normal-ZWzDwZG9.woff2 +0 -0
  330. package/dist/studio/assets/noto-sans-jp-66-wght-normal-C9Pvbzcq.woff2 +0 -0
  331. package/dist/studio/assets/noto-sans-jp-67-wght-normal-BmPiBD9j.woff2 +0 -0
  332. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BM7y9lVd.woff2 +0 -0
  333. package/dist/studio/assets/noto-sans-jp-69-wght-normal-DjC_tZTr.woff2 +0 -0
  334. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DPLqcl0u.woff2 +0 -0
  335. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BhDpOk5L.woff2 +0 -0
  336. package/dist/studio/assets/noto-sans-jp-71-wght-normal-BeAYbG_b.woff2 +0 -0
  337. package/dist/studio/assets/noto-sans-jp-72-wght-normal-t74baR93.woff2 +0 -0
  338. package/dist/studio/assets/noto-sans-jp-73-wght-normal-CwrK-6j-.woff2 +0 -0
  339. package/dist/studio/assets/noto-sans-jp-74-wght-normal-iogpiswj.woff2 +0 -0
  340. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DYpRVFfS.woff2 +0 -0
  341. package/dist/studio/assets/noto-sans-jp-76-wght-normal-HKTYIip9.woff2 +0 -0
  342. package/dist/studio/assets/noto-sans-jp-77-wght-normal-zMwvLrLX.woff2 +0 -0
  343. package/dist/studio/assets/noto-sans-jp-78-wght-normal-CJFvkh-5.woff2 +0 -0
  344. package/dist/studio/assets/noto-sans-jp-79-wght-normal-YT6TNXn0.woff2 +0 -0
  345. package/dist/studio/assets/noto-sans-jp-8-wght-normal-B-fyrhM6.woff2 +0 -0
  346. package/dist/studio/assets/noto-sans-jp-80-wght-normal-C8rE7JRr.woff2 +0 -0
  347. package/dist/studio/assets/noto-sans-jp-81-wght-normal-C3e5dWMK.woff2 +0 -0
  348. package/dist/studio/assets/noto-sans-jp-82-wght-normal-BjuKihWA.woff2 +0 -0
  349. package/dist/studio/assets/noto-sans-jp-83-wght-normal-CdGQgLIl.woff2 +0 -0
  350. package/dist/studio/assets/noto-sans-jp-84-wght-normal-BqzEfM_o.woff2 +0 -0
  351. package/dist/studio/assets/noto-sans-jp-85-wght-normal-CPi4u8zn.woff2 +0 -0
  352. package/dist/studio/assets/noto-sans-jp-86-wght-normal-B0MkLvt0.woff2 +0 -0
  353. package/dist/studio/assets/noto-sans-jp-87-wght-normal-D5BdgnTn.woff2 +0 -0
  354. package/dist/studio/assets/noto-sans-jp-88-wght-normal-CyIWoFtM.woff2 +0 -0
  355. package/dist/studio/assets/noto-sans-jp-89-wght-normal-B-qGeNph.woff2 +0 -0
  356. package/dist/studio/assets/noto-sans-jp-9-wght-normal-mnr2cWCS.woff2 +0 -0
  357. package/dist/studio/assets/noto-sans-jp-90-wght-normal-sQganGqO.woff2 +0 -0
  358. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BZRsdRL6.woff2 +0 -0
  359. package/dist/studio/assets/noto-sans-jp-92-wght-normal-Bfqhr8vr.woff2 +0 -0
  360. package/dist/studio/assets/noto-sans-jp-93-wght-normal-ChR3IuHk.woff2 +0 -0
  361. package/dist/studio/assets/noto-sans-jp-94-wght-normal-CTW0oM41.woff2 +0 -0
  362. package/dist/studio/assets/noto-sans-jp-95-wght-normal-cEmZK7kl.woff2 +0 -0
  363. package/dist/studio/assets/noto-sans-jp-96-wght-normal-Bww_3Upk.woff2 +0 -0
  364. package/dist/studio/assets/noto-sans-jp-97-wght-normal-DEi73Ic_.woff2 +0 -0
  365. package/dist/studio/assets/noto-sans-jp-98-wght-normal-BE30qkDG.woff2 +0 -0
  366. package/dist/studio/assets/noto-sans-jp-99-wght-normal-Cj5IF6EZ.woff2 +0 -0
  367. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BQJ6xfwZ.woff2 +0 -0
  368. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-pB8enYeX.woff2 +0 -0
  369. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-JmuruAaA.woff2 +0 -0
  370. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CFXlG5tS.woff2 +0 -0
  371. package/dist/vocabulary/tokens/AGENTS.md +0 -15
  372. package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +0 -254
  373. package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +0 -68
  374. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +0 -67
  375. package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +0 -83
  376. package/dist/vocabulary/tokens/vocabulary.lock.json +0 -7052
@@ -11,6 +11,7 @@
11
11
  "variants": [
12
12
  "unselected",
13
13
  "selected",
14
+ "current",
14
15
  "destructive",
15
16
  "expanded"
16
17
  ],
@@ -38,7 +39,7 @@
38
39
  }
39
40
  },
40
41
  "dev.tanrei.llm": {
41
- "usage": "Everything a menu reads: its surface (color, elevation, shape, paddings, width bounds, distance from the anchor and from the viewport's edge), an item's height, paddings, gap and text styles, the form its keyboard shortcut is drawn in (keycap or plain), the icon sizes, how a checkbox item and a radio item are marked (the look of the matching control, or the icon set's check) and the measures of those looks, a group's title and its inset, how groups are separated (a divider or a gap) and the measures of each, a submenu's distance from the surface it opens from and the delay before a resting pointer opens it, the open and close motion, and for each condition (unselected, selected = checked, destructive, expanded = the item whose submenu is open) the colors of an item's row and parts in each state.",
42
+ "usage": "Everything a menu reads: its surface (color, elevation, shape, paddings, width bounds, distance from the anchor and from the viewport's edge), per size (small, medium) an item's least height, paddings and gap, a group title's inset and the sizes of the icons and the mark; an item's text styles, the form its keyboard shortcut is drawn in (keycap or plain), how a checkbox item and a radio item are marked (the look of the matching control, or the icon set's check) and the measures of those looks, a group's title, how groups are separated (a divider or a gap) and the measures of each, a submenu's distance from the surface it opens from and the delay before a resting pointer opens it, the open and close motion, and for each condition (unselected, selected = checked, current = the link item of the page the person is on, destructive, expanded = the item whose submenu is open) the colors of an item's row and parts in each state.",
42
43
  "rules": [
43
44
  "A menu holds actions and choices, never other controls: no fields, sliders or switches inside it. The checkbox and radio looks of its marks are drawings, not controls.",
44
45
  "Mark an item destructive only when its action deletes or discards something; do not use it for emphasis.",
@@ -46,19 +47,38 @@
46
47
  "Restyle through these tokens in a layer; never fork the component.",
47
48
  "Each condition's state-layer.color is the color hover, focus and press mix into the item's row; it aliases that condition's label color.",
48
49
  "separation follows sys.behavior.separation: set the sys token to change every component at once, comp.menu.separation to set the menu apart, and the menu's separation prop to set one menu apart.",
49
- "A checked item has a fill (selected.container.color) and a mark; never show a choice by the fill alone. To keep a row unfilled, alias selected.container.color to unselected.container.color.",
50
- "The fills of a row lie over the menu's sheet (surface.color), and a row's fill may be translucent. In the default system they are layers of the row's content color — a hovered row 8%, a checked row 16%, a checked and hovered row both — so each is told from the next on any sheet. To make a checked row stronger or weaker, set selected.container.color in a layer (a layer of the content color, or an opaque color chosen against your own sheet); do not pick a surface tone for it without measuring it against surface.color in both themes.",
50
+ "A checked item is told by its mark; selected.container.color is a fill that may support it. In the default system it is none at standard contrast and a layer of the row's content color at medium and high contrast, where a stronger cue is asked for. Never show a choice by the fill alone. To keep a row unfilled in every scheme, alias selected.container.color to unselected.container.color.",
51
+ "The current link item (current) is the destination the person is at: it has no mark, so it is told by its fill, current.container.color, in every scheme. Keep that fill whatever selected.container.color is: a checked row carries a mark, the current row only its fill.",
52
+ "The fills of a row lie over the menu's sheet (surface.color), and a row's fill may be translucent. In the default system they are layers of the row's content color — a hovered row 8%, the current link item's row the selected layer (sys.state.selected-state-layer-opacity, 16%), a checked row the same at medium and high contrast, a filled row that is hovered both — so each is told from the next on any sheet. To make a fill stronger or weaker, set it in a layer (a layer of the content color, or an opaque color chosen against your own sheet); do not pick a surface tone for it without measuring it against surface.color in both themes.",
51
53
  "checkbox-item.mark and radio-item.mark choose the default mark per kind of item. The control looks read control.* and each condition's control.color and control-mark.color; the check reads mark.size and each condition's mark.color. A product names another glyph for one item or one group with markIcon; never draw a mark of your own.",
52
54
  "Every glyph the menu draws — the check, the check inside a checked box, the submenu indicator (chevron_right) — is a glyph of the system's icon set; to change one, choose another icon set.",
53
55
  "A group's title starts where the rows' content starts (group-title.padding-inline, which follows container.padding-inline), not after the mark and icon columns.",
54
56
  "Give an item its keyboard shortcut in shortcut (the keyboard shortcut's key names, mod+c), never as trailing text; the menu draws it with the keyboard shortcut component in shortcut.variant's form and exposes it as the item's keyboard shortcut. Trailing text is for text that is not a shortcut (a count, \"Beta\").",
55
- "Use a submenu for a second level only when the first would otherwise be too long to scan; keep to one level of submenus where possible and never more than two. A submenu item is not an action and has no shortcut."
57
+ "Use a submenu for a second level only when the first would otherwise be too long to scan; keep to one level of submenus where possible and never more than two. A submenu item is not an action and has no shortcut.",
58
+ "small is for a tool used with a pointer, where rows are many and looked through often; a row is never lower than the target at either size. The size never changes a text style."
56
59
  ]
57
60
  },
58
61
  "dev.tanrei.axes": {
59
62
  "condition": {
60
63
  "default": "unselected",
61
64
  "from": "states"
65
+ },
66
+ "size": {
67
+ "default": "medium",
68
+ "values": [
69
+ "small",
70
+ "medium"
71
+ ],
72
+ "members": [
73
+ "container.height",
74
+ "container.padding-inline",
75
+ "container.padding-block",
76
+ "container.gap",
77
+ "leading-icon.size",
78
+ "trailing-icon.size",
79
+ "mark.size",
80
+ "group-title.padding-inline"
81
+ ]
62
82
  }
63
83
  }
64
84
  },
@@ -126,36 +146,93 @@
126
146
  },
127
147
  "container": {
128
148
  "shape": {
129
- "$type": "dimension",
130
- "$value": "{tanrei.sys.shape.corner.small}",
131
- "$description": "The corners of an item's row, which the state layer fills."
132
- },
133
- "height": {
134
149
  "$type": "dimension",
135
150
  "$value": {
136
- "value": 48,
151
+ "value": 4,
137
152
  "unit": "px"
138
153
  },
154
+ "$description": "The corners of an item's row, which the state layer fills: the sheet's corner less the inset the rows stand at, so that the two curves keep one distance.",
139
155
  "$extensions": {
140
156
  "dev.tanrei.derive": {
141
- "fn": "mul",
142
- "of": "{tanrei.dial.size.unit}",
143
- "by": 12
157
+ "fn": "sub",
158
+ "of": "{tanrei.comp.menu.surface.shape}",
159
+ "by": "{tanrei.comp.menu.surface.padding-inline}"
160
+ },
161
+ "dev.tanrei.concentric": {
162
+ "outer": "{tanrei.comp.menu.surface.shape}",
163
+ "inset": "{tanrei.comp.menu.surface.padding-inline}"
164
+ }
165
+ }
166
+ },
167
+ "height": {
168
+ "$type": "dimension",
169
+ "$description": "Minimum height of an item. It grows to the minimum target for touch, with its content and with enlarged text.",
170
+ "medium": {
171
+ "$value": {
172
+ "value": 36,
173
+ "unit": "px"
174
+ },
175
+ "$extensions": {
176
+ "dev.tanrei.derive": {
177
+ "fn": "mul",
178
+ "of": "{tanrei.sys.control.height.medium}",
179
+ "by": 1,
180
+ "min": "{tanrei.sys.target.minimum}"
181
+ },
182
+ "dev.tanrei.aligned": "control"
144
183
  }
145
184
  },
146
- "$description": "Minimum height of an item. It grows to the minimum target for touch, with its content and with enlarged text."
185
+ "small": {
186
+ "$value": {
187
+ "value": 36,
188
+ "unit": "px"
189
+ },
190
+ "$extensions": {
191
+ "dev.tanrei.derive": {
192
+ "fn": "mul",
193
+ "of": "{tanrei.sys.control.height.small}",
194
+ "by": 1,
195
+ "min": "{tanrei.sys.target.minimum}"
196
+ }
197
+ }
198
+ }
147
199
  },
148
200
  "padding-inline": {
149
201
  "$type": "dimension",
150
- "$value": "{tanrei.sys.space.space150}"
202
+ "medium": {
203
+ "$value": "{tanrei.sys.space.space150}"
204
+ },
205
+ "small": {
206
+ "$value": "{tanrei.comp.tree-view.container.padding-inline.small}"
207
+ }
151
208
  },
152
209
  "padding-block": {
153
210
  "$type": "dimension",
154
- "$value": "{tanrei.sys.space.space100}"
211
+ "medium": {
212
+ "$value": {
213
+ "value": 6,
214
+ "unit": "px"
215
+ },
216
+ "$extensions": {
217
+ "dev.tanrei.derive": {
218
+ "fn": "pad",
219
+ "of": "{tanrei.sys.space.space100}",
220
+ "height": "{tanrei.comp.menu.container.height.medium}"
221
+ }
222
+ }
223
+ },
224
+ "small": {
225
+ "$value": "{tanrei.comp.tree-view.container.padding-block.small}"
226
+ }
155
227
  },
156
228
  "gap": {
157
229
  "$type": "dimension",
158
- "$value": "{tanrei.sys.space.space150}"
230
+ "medium": {
231
+ "$value": "{tanrei.sys.space.space150}"
232
+ },
233
+ "small": {
234
+ "$value": "{tanrei.comp.tree-view.container.gap.small}"
235
+ }
159
236
  }
160
237
  },
161
238
  "separation": {
@@ -218,21 +295,36 @@
218
295
  "leading-icon": {
219
296
  "size": {
220
297
  "$type": "dimension",
221
- "$value": "{tanrei.sys.icon.medium}"
298
+ "medium": {
299
+ "$value": "{tanrei.sys.icon.medium}"
300
+ },
301
+ "small": {
302
+ "$value": "{tanrei.sys.icon.small}"
303
+ }
222
304
  }
223
305
  },
224
306
  "trailing-icon": {
225
307
  "size": {
226
308
  "$type": "dimension",
227
- "$value": "{tanrei.sys.icon.medium}",
228
- "$description": "The size of an item's trailing icon, and of the submenu indicator (the icon set's chevron_right) a submenu item draws in the same column."
309
+ "$description": "The size of an item's trailing icon, and of the submenu indicator (the icon set's chevron_right) a submenu item draws in the same column.",
310
+ "medium": {
311
+ "$value": "{tanrei.sys.icon.medium}"
312
+ },
313
+ "small": {
314
+ "$value": "{tanrei.sys.icon.small}"
315
+ }
229
316
  }
230
317
  },
231
318
  "mark": {
232
319
  "size": {
233
320
  "$type": "dimension",
234
- "$value": "{tanrei.sys.icon.medium}",
235
- "$description": "The width of the mark column, reserved in every item of a surface that has a checkbox or radio item, and the glyph box of a mark that is a glyph: the icon set's check, or the glyph markIcon names. A control look (control.box.size, control.ring.size) is centered in it. Medium, the size of the leading icon beside it."
321
+ "$description": "The width of the mark column, reserved in every item of a surface that has a checkbox or radio item, and the glyph box of a mark that is a glyph: the icon set's check, or the glyph markIcon names. A control look (control.box.size, control.ring.size) is centered in it. Medium, the size of the leading icon beside it.",
322
+ "medium": {
323
+ "$value": "{tanrei.sys.icon.medium}"
324
+ },
325
+ "small": {
326
+ "$value": "{tanrei.sys.icon.small}"
327
+ }
236
328
  },
237
329
  "width": {
238
330
  "$type": "dimension",
@@ -396,13 +488,8 @@
396
488
  },
397
489
  "opacity": {
398
490
  "$type": "number",
399
- "$value": 0.5,
400
- "$description": "The opacity the fill inside a checked ring is drawn at, applied to the control color of the condition and state. The radio button's own value.",
401
- "$extensions": {
402
- "dev.tanrei.derive": {
403
- "fixed": "An opacity is a proportion; no dial scales it."
404
- }
405
- }
491
+ "$value": "{tanrei.sys.state.selected-state-layer-opacity}",
492
+ "$description": "The opacity the fill inside a checked ring is drawn at, applied to the control color of the condition and state: the selected layer, as the radio button's own fill is. Where the fill meets the ring it is held 3:1 against the ring on the menu's sheet, the checked row's fill under it (WCAG 1.4.11)."
406
493
  }
407
494
  }
408
495
  },
@@ -418,13 +505,18 @@
418
505
  },
419
506
  "padding-inline": {
420
507
  "$type": "dimension",
421
- "$value": "{tanrei.comp.menu.container.padding-inline}",
422
508
  "$description": "How far a group's title is inset from the rows' start and end edges. It follows the rows' own padding, so the title starts where the rows' content starts (the check, the leading icon or the label, whichever comes first), not after the check and icon columns.",
423
- "$extensions": {
424
- "dev.tanrei.vocabulary": {
425
- "rationale": "One product may set its menus' section headings at an inset of their own — flush with the rows' content, or hung further out as a caption over a dense list — without moving the padding of every row.",
426
- "since": "0.1.0"
509
+ "medium": {
510
+ "$value": "{tanrei.comp.menu.container.padding-inline.medium}",
511
+ "$extensions": {
512
+ "dev.tanrei.vocabulary": {
513
+ "rationale": "One product may set its menus' section headings at an inset of their own — flush with the rows' content, or hung further out as a caption over a dense list — without moving the padding of every row.",
514
+ "since": "0.1.0"
515
+ }
427
516
  }
517
+ },
518
+ "small": {
519
+ "$value": "{tanrei.comp.menu.container.padding-inline.small}"
428
520
  }
429
521
  }
430
522
  },
@@ -432,7 +524,7 @@
432
524
  "gap": {
433
525
  "$type": "dimension",
434
526
  "$value": "{tanrei.sys.space.space200}",
435
- "$description": "Under gap: the empty space between a group and what is next to it, in place of the divider and its two spaces. Sixteen, so that the step between two groups is plainly larger than the step between two rows of one group (at the default height about 28 of clear space lies between two labels of one group, and 44 across the gap). Not read under divider.",
527
+ "$description": "Under gap: the empty space between a group and what is next to it, in place of the divider and its two spaces. Sixteen, so that the step between two groups is plainly larger than the step between two rows of one group (at the default height about 24 of clear space lies between two labels of one group, and 40 across the gap). Not read under divider.",
436
528
  "$extensions": {
437
529
  "dev.tanrei.vocabulary": {
438
530
  "rationale": "One product that parts its groups by space decides how much: enough to read as a break between rows that have no edge of their own, without a line. It is not the divider's space, which only has to clear a line.",
@@ -580,7 +672,7 @@
580
672
  "color": {
581
673
  "$type": "color",
582
674
  "$value": "{tanrei.sys.color.secondary-container}",
583
- "$description": "The fill of a checked item's row, drawn over the menu's sheet (MNU-37). The role named here is the quiet selection's; the default system does not draw that tone on the sheet — it values this token as a layer of the row's own content color (selected.state-layer.color at 16%, twice the hover layer: tokens/systems/tanrei.system.json), so that the fill is seen by the same step on whatever the sheet is. A design system that sets this token draws what it sets. A mark is always drawn with the fill; the fill never carries the choice alone."
675
+ "$description": "The fill of a checked item's row, drawn over the menu's sheet (MNU-37). A checked item is told by its mark; this fill only supports it. The role named here is the quiet selection's; the default system does not draw that tone on the sheet — it values this token as a layer of the row's own content color (selected.state-layer.color), none at standard contrast and the selected layer (sys.state.selected-state-layer-opacity, 16 %) at medium and high contrast (tokens/systems/tanrei.system.json), so that a person who asks for more contrast is given the fill as a second cue. A design system that sets this token draws what it sets."
584
676
  }
585
677
  },
586
678
  "label": {
@@ -643,6 +735,119 @@
643
735
  }
644
736
  }
645
737
  },
738
+ "current": {
739
+ "$extensions": {
740
+ "dev.tanrei.vocabulary": {
741
+ "rationale": "One product's menu both offers choices and lists destinations, and draws the destination the person is at apart from a checked choice: a choice is told by its mark and may go without a fill, while the current destination has no mark and is told by its fill alone.",
742
+ "since": "0.1.0"
743
+ }
744
+ },
745
+ "container": {
746
+ "color": {
747
+ "$type": "color",
748
+ "$value": "{tanrei.sys.color.secondary-container}",
749
+ "$description": "The fill of the link item that names the page the person is on (MNU-58): it has no mark, so this fill tells it from its neighbours, in every contrast scheme. The default system values it as a layer of the row's own content color (current.state-layer.color at the selected layer, sys.state.selected-state-layer-opacity: 16 %, twice the hover layer: tokens/systems/tanrei.system.json); the menubar's current link item draws the same fill."
750
+ }
751
+ },
752
+ "label": {
753
+ "color": {
754
+ "$type": "color",
755
+ "$value": "{tanrei.sys.color.on-secondary-container}"
756
+ }
757
+ },
758
+ "supporting-text": {
759
+ "color": {
760
+ "$type": "color",
761
+ "$value": "{tanrei.sys.color.on-secondary-container}",
762
+ "$description": "On the fill every part of the content takes the fill's own content role, so that none of it loses contrast when the row is hovered or pressed."
763
+ }
764
+ },
765
+ "trailing-text": {
766
+ "color": {
767
+ "$type": "color",
768
+ "$value": "{tanrei.sys.color.on-secondary-container}"
769
+ }
770
+ },
771
+ "leading-icon": {
772
+ "color": {
773
+ "$type": "color",
774
+ "$value": "{tanrei.sys.color.on-secondary-container}"
775
+ }
776
+ },
777
+ "trailing-icon": {
778
+ "color": {
779
+ "$type": "color",
780
+ "$value": "{tanrei.sys.color.on-secondary-container}"
781
+ }
782
+ },
783
+ "mark": {
784
+ "color": {
785
+ "$type": "color",
786
+ "$value": {
787
+ "colorSpace": "srgb",
788
+ "components": [
789
+ 0,
790
+ 0,
791
+ 0
792
+ ],
793
+ "alpha": 0,
794
+ "hex": "#000000"
795
+ },
796
+ "$extensions": {
797
+ "dev.tanrei.derive": {
798
+ "fixed": "The current link item has no mark: it is where the person is, not a choice."
799
+ }
800
+ }
801
+ }
802
+ },
803
+ "control": {
804
+ "color": {
805
+ "$type": "color",
806
+ "$value": {
807
+ "colorSpace": "srgb",
808
+ "components": [
809
+ 0,
810
+ 0,
811
+ 0
812
+ ],
813
+ "alpha": 0,
814
+ "hex": "#000000"
815
+ },
816
+ "$extensions": {
817
+ "dev.tanrei.derive": {
818
+ "fixed": "The current link item has no control look: it is where the person is, not a choice."
819
+ }
820
+ }
821
+ }
822
+ },
823
+ "control-mark": {
824
+ "color": {
825
+ "$type": "color",
826
+ "$value": {
827
+ "colorSpace": "srgb",
828
+ "components": [
829
+ 0,
830
+ 0,
831
+ 0
832
+ ],
833
+ "alpha": 0,
834
+ "hex": "#000000"
835
+ },
836
+ "$extensions": {
837
+ "dev.tanrei.derive": {
838
+ "fixed": "The current link item has no control look, and so no check."
839
+ }
840
+ }
841
+ }
842
+ },
843
+ "state-layer": {
844
+ "color": {
845
+ "$type": "color",
846
+ "$value": "{tanrei.comp.menu.current.label.color}",
847
+ "$description": "The color hover, focus and press mix into the item's row: the label's color."
848
+ }
849
+ }
850
+ },
646
851
  "destructive": {
647
852
  "container": {
648
853
  "color": {
@@ -872,34 +1077,34 @@
872
1077
  "motion": {
873
1078
  "state-duration": {
874
1079
  "$type": "duration",
875
- "$value": "{tanrei.sys.motion.duration.short3}"
1080
+ "$value": "{tanrei.sys.motion.role.state.large}"
876
1081
  },
877
1082
  "state-easing": {
878
1083
  "$type": "cubicBezier",
879
- "$value": "{tanrei.sys.motion.easing.standard}"
1084
+ "$value": "{tanrei.sys.motion.easing.state}"
880
1085
  },
881
1086
  "feedback-duration": {
882
1087
  "$type": "duration",
883
- "$value": "{tanrei.sys.motion.duration.long1}",
1088
+ "$value": "{tanrei.sys.motion.role.feedback}",
884
1089
  "$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
885
1090
  },
886
1091
  "open-duration": {
887
1092
  "$type": "duration",
888
- "$value": "{tanrei.sys.motion.duration.short4}",
1093
+ "$value": "{tanrei.sys.motion.role.appear.anchored.enter}",
889
1094
  "$description": "How long the sheet takes to fade in and grow from the anchor's side."
890
1095
  },
891
1096
  "open-easing": {
892
1097
  "$type": "cubicBezier",
893
- "$value": "{tanrei.sys.motion.easing.emphasized-decelerate}"
1098
+ "$value": "{tanrei.sys.motion.easing.enter}"
894
1099
  },
895
1100
  "close-duration": {
896
1101
  "$type": "duration",
897
- "$value": "{tanrei.sys.motion.duration.short2}",
1102
+ "$value": "{tanrei.sys.motion.role.appear.anchored.exit}",
898
1103
  "$description": "How long the sheet takes to fade out."
899
1104
  },
900
1105
  "close-easing": {
901
1106
  "$type": "cubicBezier",
902
- "$value": "{tanrei.sys.motion.easing.emphasized-accelerate}"
1107
+ "$value": "{tanrei.sys.motion.easing.exit}"
903
1108
  },
904
1109
  "submenu-delay": {
905
1110
  "$type": "duration",
@@ -10,6 +10,7 @@
10
10
  "dev.tanrei.states": {
11
11
  "variants": [
12
12
  "unselected",
13
+ "selected",
13
14
  "expanded"
14
15
  ],
15
16
  "states": [
@@ -30,10 +31,10 @@
30
31
  }
31
32
  },
32
33
  "dev.tanrei.llm": {
33
- "usage": "Everything a menubar draws of its own: the bar (its fill, paddings and the gap between titles), a title or a bar item (its height, padding, corners, text style, the size of the glyph an entry may draw — the overflow item's, a link item's new-context mark — and the gap between a label and that mark), the colors of a title in each condition (unselected, expanded = the title whose menu is open) and state, and the motion of a title's state change and press. The surfaces the titles open are Menus and read comp.menu.* — nothing here restyles them.",
34
+ "usage": "Everything a menubar draws of its own: the bar (its fill, paddings and the gap between titles), a title or a bar item (its height, padding, corners, text style, the size of the glyph an entry may draw — the overflow item's, a link item's new-context mark — and the gap between a label and that mark), the size of the indicator a menu's title ends in while the bar mixes menus with bar items, the colors of a title in each condition (unselected, selected = the current link item, expanded = the title whose menu is open) and state, and the motion of a title's state change and press. The surfaces the titles open are Menus and read comp.menu.* — nothing here restyles them.",
34
35
  "rules": [
35
36
  "A menubar holds menus and, beside them, a few bar items that act by themselves: an action that runs at once, or a link. It holds no field, no toggle and no checkbox or radio entry: a choice that is switched belongs in a menu. A row of bar items with no menu is not a menubar: actions alone are a toolbar, and a row of links to a site's pages is navigation.",
36
- "A bar item is drawn from the unselected condition, exactly as a title: no token sets an action, a link item or the current link item apart. The current link item is told by its label's weight (sys.typescale.emphasis.label), never by a fill or a color of its own; a link item that opens a new context is told by the mark open_in_new, container.gap after its label, at icon.size in the condition's icon.color.",
37
+ "A bar item is drawn from the unselected condition, exactly as a title, except the current link item: it is drawn from the selected condition, whose colors alias the menu's current link item (comp.menu.current.*), so that the place the person is on looks the same in the bar and in a menu. A link item that opens a new context is told by the mark open_in_new, container.gap after its label, at icon.size in the condition's icon.color. While the bar mixes menus with bar items, each menu's title ends in the indicator expand_more, container.gap after its label, at indicator.size.",
37
38
  "Use a menubar only for an application's commands, and only when there are enough of them to need several named menus. A short set of options belongs in one Menu opened from a button.",
38
39
  "Each condition's state-layer.color is the color hover, focus and press mix into a title's container; it aliases that condition's label color.",
39
40
  "The title of the open menu is drawn from the expanded condition. Never mark it by color alone in a way that could be read as a selection: nothing in a menubar is selected.",
@@ -82,7 +83,7 @@
82
83
  "padding-block": {
83
84
  "$type": "dimension",
84
85
  "$value": "{tanrei.sys.space.space50}",
85
- "$description": "Space above and below the titles. With container.height it gives the bar's height: 4 + 40 + 4 = 48 in the default system, which is sys.target.touch, so that a title's touch target lies inside the bar."
86
+ "$description": "Space above and below the titles. With container.height it gives the bar's height: 4 + 36 + 4 = 44 in the default system, at least sys.target.touch, so that a title's touch target lies inside the bar."
86
87
  },
87
88
  "gap": {
88
89
  "$type": "dimension",
@@ -94,27 +95,29 @@
94
95
  "height": {
95
96
  "$type": "dimension",
96
97
  "$value": {
97
- "value": 40,
98
+ "value": 36,
98
99
  "unit": "px"
99
100
  },
100
101
  "$extensions": {
101
102
  "dev.tanrei.derive": {
102
103
  "fn": "mul",
103
- "of": "{tanrei.dial.size.unit}",
104
- "by": 10
105
- }
104
+ "of": "{tanrei.sys.control.height.medium}",
105
+ "by": 1,
106
+ "min": "{tanrei.sys.target.minimum}"
107
+ },
108
+ "dev.tanrei.aligned": "control"
106
109
  },
107
110
  "$description": "Minimum height of a title's container: the medium Button's 40, because a title is pressed as a button is. It grows with enlarged text; the hit area extends to the minimum target."
108
111
  },
109
112
  "padding-inline": {
110
113
  "$type": "dimension",
111
114
  "$value": "{tanrei.sys.space.space150}",
112
- "$description": "Space between a title's container edge and its label, on each side: 12, the inset of a menu's own rows (comp.menu.container.padding-inline), so that a title's label stands over the labels of the menu it opens once the menu's own inset is added."
115
+ "$description": "Space between a title's container edge and its label, on each side: 12, the inset of a menu's own medium rows (comp.menu.container.padding-inline.medium), so that a title's label stands over the labels of the menu it opens once the menu's own inset is added."
113
116
  },
114
117
  "gap": {
115
118
  "$type": "dimension",
116
119
  "$value": "{tanrei.sys.space.space50}",
117
- "$description": "Distance between a bar item's label and the mark after it: the glyph open_in_new of a link item that opens a new context (MBR-37). 4 in the default system, so that the word and its mark read as one entry: the mark stands much nearer its own word than the next entry's, which is two paddings and bar.gap away."
120
+ "$description": "Distance between an entry's label and the glyph after it: the mark open_in_new of a link item that opens a new context (MBR-37), and the indicator expand_more of a menu's title while the bar mixes menus with bar items (MBR-32). 4 in the default system, so that the word and its mark read as one entry: the mark stands much nearer its own word than the next entry's, which is two paddings and bar.gap away."
118
121
  },
119
122
  "shape": {
120
123
  "$type": "dimension",
@@ -136,6 +139,19 @@
136
139
  "$description": "The glyph box of a glyph an entry draws: the overflow item's more_horiz, and the new-context mark open_in_new after a link item's label (MBR-37)."
137
140
  }
138
141
  },
142
+ "indicator": {
143
+ "size": {
144
+ "$type": "dimension",
145
+ "$value": "{tanrei.sys.icon.small}",
146
+ "$description": "The glyph box of the indicator expand_more that a menu's title ends in while the bar mixes menus with bar items (MBR-32), container.gap after the label. One step smaller than icon.size, as a disclosure glyph beside a word is: it marks the title, it is not a second word.",
147
+ "$extensions": {
148
+ "dev.tanrei.vocabulary": {
149
+ "rationale": "One product mixes a few entries that act by themselves with its menus in one bar, and needs a person to see before pressing which entries open a menu; how large that mark is beside a title's word is its own call.",
150
+ "since": "0.1.0"
151
+ }
152
+ }
153
+ }
154
+ },
139
155
  "unselected": {
140
156
  "container": {
141
157
  "color": {
@@ -178,6 +194,41 @@
178
194
  }
179
195
  }
180
196
  },
197
+ "selected": {
198
+ "$extensions": {
199
+ "dev.tanrei.vocabulary": {
200
+ "rationale": "One product puts a link to a page of its own in the bar beside its menus and needs the bar to say, when the person is on that page, that this is where they are, drawn as its menus draw the row the person is on, so that one place reads the same in the bar and in a menu.",
201
+ "since": "0.1.0"
202
+ }
203
+ },
204
+ "container": {
205
+ "color": {
206
+ "$type": "color",
207
+ "$value": "{tanrei.comp.menu.current.container.color}",
208
+ "$description": "The fill of the link item that names the page the person is on (MBR-38): the fill of the menu's current link item, so that the current place is drawn the same in the bar and in a menu. A design system that sets the menu's sets this one with it."
209
+ }
210
+ },
211
+ "label": {
212
+ "color": {
213
+ "$type": "color",
214
+ "$value": "{tanrei.comp.menu.current.label.color}"
215
+ }
216
+ },
217
+ "icon": {
218
+ "color": {
219
+ "$type": "color",
220
+ "$value": "{tanrei.comp.menu.current.leading-icon.color}",
221
+ "$description": "The new-context mark of a current link item, in the color of the menu's current row's glyphs."
222
+ }
223
+ },
224
+ "state-layer": {
225
+ "color": {
226
+ "$type": "color",
227
+ "$value": "{tanrei.comp.menubar.selected.label.color}",
228
+ "$description": "The color hover, focus and press mix into the current link item's container: the label's color."
229
+ }
230
+ }
231
+ },
181
232
  "expanded": {
182
233
  "container": {
183
234
  "color": {
@@ -210,15 +261,15 @@
210
261
  "motion": {
211
262
  "state-duration": {
212
263
  "$type": "duration",
213
- "$value": "{tanrei.sys.motion.duration.short3}"
264
+ "$value": "{tanrei.sys.motion.role.state.default}"
214
265
  },
215
266
  "state-easing": {
216
267
  "$type": "cubicBezier",
217
- "$value": "{tanrei.sys.motion.easing.standard}"
268
+ "$value": "{tanrei.sys.motion.easing.state}"
218
269
  },
219
270
  "feedback-duration": {
220
271
  "$type": "duration",
221
- "$value": "{tanrei.sys.motion.duration.long1}",
272
+ "$value": "{tanrei.sys.motion.role.feedback}",
222
273
  "$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
223
274
  }
224
275
  }