@tanrei/cli 0.0.0-stage → 0.1.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +58 -0
  3. package/README.md +77 -2
  4. package/bin/tanrei.js +14 -0
  5. package/dist/cli.js +6617 -0
  6. package/dist/studio/THIRD_PARTY_LICENSES.md +949 -0
  7. package/dist/studio/assets/css-Buuc00hS.js +1 -0
  8. package/dist/studio/assets/dart-CL60Wo_p.js +1 -0
  9. package/dist/studio/assets/highlight-hwWnuPS8.js +4 -0
  10. package/dist/studio/assets/index-BByvFAbB.js +26376 -0
  11. package/dist/studio/assets/index-CTe7Eja3.css +1 -0
  12. package/dist/studio/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  13. package/dist/studio/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  14. package/dist/studio/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  15. package/dist/studio/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  16. package/dist/studio/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  17. package/dist/studio/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  18. package/dist/studio/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  19. package/dist/studio/assets/javascript-DSMm3SZC.js +1 -0
  20. package/dist/studio/assets/json-CUC6w7Wi.js +1 -0
  21. package/dist/studio/assets/kotlin-8HB26Eaz.js +1 -0
  22. package/dist/studio/assets/markup-5VTZgibJ.js +1 -0
  23. package/dist/studio/assets/material-symbols-outlined-latin-full-normal-Cu9fI30F.woff2 +0 -0
  24. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-DnCYgp88.woff2 +0 -0
  25. package/dist/studio/assets/noto-sans-jp-0-wght-normal-ChZwicxE.woff2 +0 -0
  26. package/dist/studio/assets/noto-sans-jp-1-wght-normal-CARGyt1_.woff2 +0 -0
  27. package/dist/studio/assets/noto-sans-jp-10-wght-normal-DtPkCCyJ.woff2 +0 -0
  28. package/dist/studio/assets/noto-sans-jp-100-wght-normal-IGIcweVU.woff2 +0 -0
  29. package/dist/studio/assets/noto-sans-jp-101-wght-normal-Dls8jqVU.woff2 +0 -0
  30. package/dist/studio/assets/noto-sans-jp-102-wght-normal-CKMRrjm1.woff2 +0 -0
  31. package/dist/studio/assets/noto-sans-jp-103-wght-normal-Cf0qKmex.woff2 +0 -0
  32. package/dist/studio/assets/noto-sans-jp-104-wght-normal-DU15_Tmk.woff2 +0 -0
  33. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CTXm1m1e.woff2 +0 -0
  34. package/dist/studio/assets/noto-sans-jp-106-wght-normal-COtgWfsA.woff2 +0 -0
  35. package/dist/studio/assets/noto-sans-jp-107-wght-normal-BMH1cYUp.woff2 +0 -0
  36. package/dist/studio/assets/noto-sans-jp-108-wght-normal-1F5IhFoa.woff2 +0 -0
  37. package/dist/studio/assets/noto-sans-jp-109-wght-normal-XZ0efpq6.woff2 +0 -0
  38. package/dist/studio/assets/noto-sans-jp-11-wght-normal-Dkj9SGze.woff2 +0 -0
  39. package/dist/studio/assets/noto-sans-jp-110-wght-normal-CeHeZFeT.woff2 +0 -0
  40. package/dist/studio/assets/noto-sans-jp-111-wght-normal-DyRaOVPC.woff2 +0 -0
  41. package/dist/studio/assets/noto-sans-jp-112-wght-normal-CnVx-8lB.woff2 +0 -0
  42. package/dist/studio/assets/noto-sans-jp-113-wght-normal-CtbyXo_h.woff2 +0 -0
  43. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DCIM4jZs.woff2 +0 -0
  44. package/dist/studio/assets/noto-sans-jp-115-wght-normal-CDBMNWew.woff2 +0 -0
  45. package/dist/studio/assets/noto-sans-jp-116-wght-normal-RqS7_mFx.woff2 +0 -0
  46. package/dist/studio/assets/noto-sans-jp-117-wght-normal-D73BPRww.woff2 +0 -0
  47. package/dist/studio/assets/noto-sans-jp-118-wght-normal-U5v7NshZ.woff2 +0 -0
  48. package/dist/studio/assets/noto-sans-jp-119-wght-normal-D3TauSHf.woff2 +0 -0
  49. package/dist/studio/assets/noto-sans-jp-12-wght-normal-CZgOv4iD.woff2 +0 -0
  50. package/dist/studio/assets/noto-sans-jp-13-wght-normal-B3bKCuev.woff2 +0 -0
  51. package/dist/studio/assets/noto-sans-jp-14-wght-normal-DbDHiDFQ.woff2 +0 -0
  52. package/dist/studio/assets/noto-sans-jp-15-wght-normal-BHvX48uZ.woff2 +0 -0
  53. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CIRRqAST.woff2 +0 -0
  54. package/dist/studio/assets/noto-sans-jp-17-wght-normal-Cypgkvf4.woff2 +0 -0
  55. package/dist/studio/assets/noto-sans-jp-18-wght-normal-DhyYlhdC.woff2 +0 -0
  56. package/dist/studio/assets/noto-sans-jp-19-wght-normal-Cm6ySjN8.woff2 +0 -0
  57. package/dist/studio/assets/noto-sans-jp-2-wght-normal-RseJrQYo.woff2 +0 -0
  58. package/dist/studio/assets/noto-sans-jp-20-wght-normal-FgfhxZU_.woff2 +0 -0
  59. package/dist/studio/assets/noto-sans-jp-21-wght-normal-Ur8WYMVQ.woff2 +0 -0
  60. package/dist/studio/assets/noto-sans-jp-22-wght-normal-BACXhehE.woff2 +0 -0
  61. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BguN3TwY.woff2 +0 -0
  62. package/dist/studio/assets/noto-sans-jp-24-wght-normal-CXEahOPk.woff2 +0 -0
  63. package/dist/studio/assets/noto-sans-jp-25-wght-normal-VS5EnqV2.woff2 +0 -0
  64. package/dist/studio/assets/noto-sans-jp-26-wght-normal-Bu8z50LX.woff2 +0 -0
  65. package/dist/studio/assets/noto-sans-jp-27-wght-normal-jmtCcHJ0.woff2 +0 -0
  66. package/dist/studio/assets/noto-sans-jp-28-wght-normal-DQNwlFIU.woff2 +0 -0
  67. package/dist/studio/assets/noto-sans-jp-29-wght-normal-BnPJOTuS.woff2 +0 -0
  68. package/dist/studio/assets/noto-sans-jp-3-wght-normal--H5uv3v4.woff2 +0 -0
  69. package/dist/studio/assets/noto-sans-jp-30-wght-normal-Bj8BZBgx.woff2 +0 -0
  70. package/dist/studio/assets/noto-sans-jp-31-wght-normal-Commwwo1.woff2 +0 -0
  71. package/dist/studio/assets/noto-sans-jp-32-wght-normal-CRZDfOIz.woff2 +0 -0
  72. package/dist/studio/assets/noto-sans-jp-33-wght-normal-BnYdH6SQ.woff2 +0 -0
  73. package/dist/studio/assets/noto-sans-jp-34-wght-normal-CGJbTgpI.woff2 +0 -0
  74. package/dist/studio/assets/noto-sans-jp-35-wght-normal-C7HufUhC.woff2 +0 -0
  75. package/dist/studio/assets/noto-sans-jp-36-wght-normal-Dyc832Mi.woff2 +0 -0
  76. package/dist/studio/assets/noto-sans-jp-37-wght-normal-BA1uUhJR.woff2 +0 -0
  77. package/dist/studio/assets/noto-sans-jp-38-wght-normal-6T50SRVw.woff2 +0 -0
  78. package/dist/studio/assets/noto-sans-jp-39-wght-normal-CN8CV109.woff2 +0 -0
  79. package/dist/studio/assets/noto-sans-jp-4-wght-normal-Dc2VWjiv.woff2 +0 -0
  80. package/dist/studio/assets/noto-sans-jp-40-wght-normal-Ac3ANHeE.woff2 +0 -0
  81. package/dist/studio/assets/noto-sans-jp-41-wght-normal-B-bcLJUI.woff2 +0 -0
  82. package/dist/studio/assets/noto-sans-jp-42-wght-normal-C4xWUztV.woff2 +0 -0
  83. package/dist/studio/assets/noto-sans-jp-43-wght-normal-DAb0Sc5Y.woff2 +0 -0
  84. package/dist/studio/assets/noto-sans-jp-44-wght-normal-DyPSHqCN.woff2 +0 -0
  85. package/dist/studio/assets/noto-sans-jp-45-wght-normal-BF-EckBd.woff2 +0 -0
  86. package/dist/studio/assets/noto-sans-jp-46-wght-normal-BmRwgAv-.woff2 +0 -0
  87. package/dist/studio/assets/noto-sans-jp-47-wght-normal-0LM1TynG.woff2 +0 -0
  88. package/dist/studio/assets/noto-sans-jp-48-wght-normal-DrhQr74m.woff2 +0 -0
  89. package/dist/studio/assets/noto-sans-jp-49-wght-normal-6kT-KCCt.woff2 +0 -0
  90. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CeuaJ3GQ.woff2 +0 -0
  91. package/dist/studio/assets/noto-sans-jp-50-wght-normal-Cw6P8USA.woff2 +0 -0
  92. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqxu35Xk.woff2 +0 -0
  93. package/dist/studio/assets/noto-sans-jp-52-wght-normal-DYmSQol3.woff2 +0 -0
  94. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DwAVKRqn.woff2 +0 -0
  95. package/dist/studio/assets/noto-sans-jp-54-wght-normal-DkswS7jl.woff2 +0 -0
  96. package/dist/studio/assets/noto-sans-jp-55-wght-normal-BYcCjSG_.woff2 +0 -0
  97. package/dist/studio/assets/noto-sans-jp-56-wght-normal-k2E-xsGo.woff2 +0 -0
  98. package/dist/studio/assets/noto-sans-jp-57-wght-normal-Dcyw3o92.woff2 +0 -0
  99. package/dist/studio/assets/noto-sans-jp-58-wght-normal-C-mIssxc.woff2 +0 -0
  100. package/dist/studio/assets/noto-sans-jp-59-wght-normal-DUxkCIOP.woff2 +0 -0
  101. package/dist/studio/assets/noto-sans-jp-6-wght-normal-BETiiYWj.woff2 +0 -0
  102. package/dist/studio/assets/noto-sans-jp-60-wght-normal-B1SQjyhM.woff2 +0 -0
  103. package/dist/studio/assets/noto-sans-jp-61-wght-normal-DqwoqK_H.woff2 +0 -0
  104. package/dist/studio/assets/noto-sans-jp-62-wght-normal-Dvl1bj2o.woff2 +0 -0
  105. package/dist/studio/assets/noto-sans-jp-63-wght-normal-pZDrjPWR.woff2 +0 -0
  106. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DGBgUuRb.woff2 +0 -0
  107. package/dist/studio/assets/noto-sans-jp-65-wght-normal-ZWzDwZG9.woff2 +0 -0
  108. package/dist/studio/assets/noto-sans-jp-66-wght-normal-C9Pvbzcq.woff2 +0 -0
  109. package/dist/studio/assets/noto-sans-jp-67-wght-normal-BmPiBD9j.woff2 +0 -0
  110. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BM7y9lVd.woff2 +0 -0
  111. package/dist/studio/assets/noto-sans-jp-69-wght-normal-DjC_tZTr.woff2 +0 -0
  112. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DPLqcl0u.woff2 +0 -0
  113. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BhDpOk5L.woff2 +0 -0
  114. package/dist/studio/assets/noto-sans-jp-71-wght-normal-BeAYbG_b.woff2 +0 -0
  115. package/dist/studio/assets/noto-sans-jp-72-wght-normal-t74baR93.woff2 +0 -0
  116. package/dist/studio/assets/noto-sans-jp-73-wght-normal-CwrK-6j-.woff2 +0 -0
  117. package/dist/studio/assets/noto-sans-jp-74-wght-normal-iogpiswj.woff2 +0 -0
  118. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DYpRVFfS.woff2 +0 -0
  119. package/dist/studio/assets/noto-sans-jp-76-wght-normal-HKTYIip9.woff2 +0 -0
  120. package/dist/studio/assets/noto-sans-jp-77-wght-normal-zMwvLrLX.woff2 +0 -0
  121. package/dist/studio/assets/noto-sans-jp-78-wght-normal-CJFvkh-5.woff2 +0 -0
  122. package/dist/studio/assets/noto-sans-jp-79-wght-normal-YT6TNXn0.woff2 +0 -0
  123. package/dist/studio/assets/noto-sans-jp-8-wght-normal-B-fyrhM6.woff2 +0 -0
  124. package/dist/studio/assets/noto-sans-jp-80-wght-normal-C8rE7JRr.woff2 +0 -0
  125. package/dist/studio/assets/noto-sans-jp-81-wght-normal-C3e5dWMK.woff2 +0 -0
  126. package/dist/studio/assets/noto-sans-jp-82-wght-normal-BjuKihWA.woff2 +0 -0
  127. package/dist/studio/assets/noto-sans-jp-83-wght-normal-CdGQgLIl.woff2 +0 -0
  128. package/dist/studio/assets/noto-sans-jp-84-wght-normal-BqzEfM_o.woff2 +0 -0
  129. package/dist/studio/assets/noto-sans-jp-85-wght-normal-CPi4u8zn.woff2 +0 -0
  130. package/dist/studio/assets/noto-sans-jp-86-wght-normal-B0MkLvt0.woff2 +0 -0
  131. package/dist/studio/assets/noto-sans-jp-87-wght-normal-D5BdgnTn.woff2 +0 -0
  132. package/dist/studio/assets/noto-sans-jp-88-wght-normal-CyIWoFtM.woff2 +0 -0
  133. package/dist/studio/assets/noto-sans-jp-89-wght-normal-B-qGeNph.woff2 +0 -0
  134. package/dist/studio/assets/noto-sans-jp-9-wght-normal-mnr2cWCS.woff2 +0 -0
  135. package/dist/studio/assets/noto-sans-jp-90-wght-normal-sQganGqO.woff2 +0 -0
  136. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BZRsdRL6.woff2 +0 -0
  137. package/dist/studio/assets/noto-sans-jp-92-wght-normal-Bfqhr8vr.woff2 +0 -0
  138. package/dist/studio/assets/noto-sans-jp-93-wght-normal-ChR3IuHk.woff2 +0 -0
  139. package/dist/studio/assets/noto-sans-jp-94-wght-normal-CTW0oM41.woff2 +0 -0
  140. package/dist/studio/assets/noto-sans-jp-95-wght-normal-cEmZK7kl.woff2 +0 -0
  141. package/dist/studio/assets/noto-sans-jp-96-wght-normal-Bww_3Upk.woff2 +0 -0
  142. package/dist/studio/assets/noto-sans-jp-97-wght-normal-DEi73Ic_.woff2 +0 -0
  143. package/dist/studio/assets/noto-sans-jp-98-wght-normal-BE30qkDG.woff2 +0 -0
  144. package/dist/studio/assets/noto-sans-jp-99-wght-normal-Cj5IF6EZ.woff2 +0 -0
  145. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BQJ6xfwZ.woff2 +0 -0
  146. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-pB8enYeX.woff2 +0 -0
  147. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-JmuruAaA.woff2 +0 -0
  148. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CFXlG5tS.woff2 +0 -0
  149. package/dist/studio/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 +0 -0
  150. package/dist/studio/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 +0 -0
  151. package/dist/studio/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 +0 -0
  152. package/dist/studio/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 +0 -0
  153. package/dist/studio/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
  154. package/dist/studio/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
  155. package/dist/studio/assets/roboto-math-wght-normal-4a3xuzGk.woff2 +0 -0
  156. package/dist/studio/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 +0 -0
  157. package/dist/studio/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 +0 -0
  158. package/dist/studio/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 +0 -0
  159. package/dist/studio/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 +0 -0
  160. package/dist/studio/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 +0 -0
  161. package/dist/studio/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 +0 -0
  162. package/dist/studio/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 +0 -0
  163. package/dist/studio/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 +0 -0
  164. package/dist/studio/assets/shared-DaQcXrQr.js +1 -0
  165. package/dist/studio/assets/shell-BX8EJGse.js +1 -0
  166. package/dist/studio/assets/swift-BAKAYbPz.js +1 -0
  167. package/dist/studio/assets/typescript-TrpEWIdY.js +1 -0
  168. package/dist/studio/index.html +24 -0
  169. package/dist/vocabulary/tanrei.config.json +23 -0
  170. package/dist/vocabulary/tokens/AGENTS.md +15 -0
  171. package/dist/vocabulary/tokens/comp/accordion.tokens.json +436 -0
  172. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +211 -0
  173. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
  174. package/dist/vocabulary/tokens/comp/avatar.tokens.json +187 -0
  175. package/dist/vocabulary/tokens/comp/badge.tokens.json +100 -0
  176. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +256 -0
  177. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
  178. package/dist/vocabulary/tokens/comp/button-group.tokens.json +118 -0
  179. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +582 -0
  180. package/dist/vocabulary/tokens/comp/button.tokens.json +1102 -0
  181. package/dist/vocabulary/tokens/comp/calendar.tokens.json +490 -0
  182. package/dist/vocabulary/tokens/comp/callout.tokens.json +754 -0
  183. package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
  184. package/dist/vocabulary/tokens/comp/carousel.tokens.json +409 -0
  185. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +309 -0
  186. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +591 -0
  187. package/dist/vocabulary/tokens/comp/chip.tokens.json +665 -0
  188. package/dist/vocabulary/tokens/comp/code-block.tokens.json +459 -0
  189. package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
  190. package/dist/vocabulary/tokens/comp/combobox.tokens.json +587 -0
  191. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +39 -0
  192. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +766 -0
  193. package/dist/vocabulary/tokens/comp/description-list.tokens.json +181 -0
  194. package/dist/vocabulary/tokens/comp/dialog.tokens.json +280 -0
  195. package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
  196. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +103 -0
  197. package/dist/vocabulary/tokens/comp/empty-state.tokens.json +154 -0
  198. package/dist/vocabulary/tokens/comp/fab-menu.tokens.json +509 -0
  199. package/dist/vocabulary/tokens/comp/field-group.tokens.json +191 -0
  200. package/dist/vocabulary/tokens/comp/field.tokens.json +279 -0
  201. package/dist/vocabulary/tokens/comp/figure.tokens.json +215 -0
  202. package/dist/vocabulary/tokens/comp/file-item.tokens.json +445 -0
  203. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +282 -0
  204. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +35 -0
  205. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +297 -0
  206. package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
  207. package/dist/vocabulary/tokens/comp/input-box.tokens.json +938 -0
  208. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +192 -0
  209. package/dist/vocabulary/tokens/comp/link-card.tokens.json +301 -0
  210. package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
  211. package/dist/vocabulary/tokens/comp/list.tokens.json +447 -0
  212. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +208 -0
  213. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +345 -0
  214. package/dist/vocabulary/tokens/comp/menu.tokens.json +919 -0
  215. package/dist/vocabulary/tokens/comp/menubar.tokens.json +228 -0
  216. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +479 -0
  217. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +770 -0
  218. package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +254 -0
  219. package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
  220. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +231 -0
  221. package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
  222. package/dist/vocabulary/tokens/comp/pagination.tokens.json +194 -0
  223. package/dist/vocabulary/tokens/comp/popover.tokens.json +292 -0
  224. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +208 -0
  225. package/dist/vocabulary/tokens/comp/prose.tokens.json +267 -0
  226. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +417 -0
  227. package/dist/vocabulary/tokens/comp/search.tokens.json +675 -0
  228. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +360 -0
  229. package/dist/vocabulary/tokens/comp/select.tokens.json +553 -0
  230. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +285 -0
  231. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +111 -0
  232. package/dist/vocabulary/tokens/comp/slider.tokens.json +435 -0
  233. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1334 -0
  234. package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
  235. package/dist/vocabulary/tokens/comp/switch.tokens.json +349 -0
  236. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
  237. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +404 -0
  238. package/dist/vocabulary/tokens/comp/table.tokens.json +442 -0
  239. package/dist/vocabulary/tokens/comp/tabs.tokens.json +970 -0
  240. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +57 -0
  241. package/dist/vocabulary/tokens/comp/tag.tokens.json +527 -0
  242. package/dist/vocabulary/tokens/comp/text-input.tokens.json +166 -0
  243. package/dist/vocabulary/tokens/comp/timeline.tokens.json +243 -0
  244. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +155 -0
  245. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +415 -0
  246. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +393 -0
  247. package/dist/vocabulary/tokens/dial/dial.tokens.json +117 -0
  248. package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +68 -0
  249. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +178 -0
  250. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +67 -0
  251. package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
  252. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +278 -0
  253. package/dist/vocabulary/tokens/ref/typeface.tokens.json +116 -0
  254. package/dist/vocabulary/tokens/schema/icon-set.schema.json +82 -0
  255. package/dist/vocabulary/tokens/schema/system.schema.json +570 -0
  256. package/dist/vocabulary/tokens/sys/behavior.tokens.json +119 -0
  257. package/dist/vocabulary/tokens/sys/color.vocabulary.json +58 -0
  258. package/dist/vocabulary/tokens/sys/elevation.tokens.json +362 -0
  259. package/dist/vocabulary/tokens/sys/measure.tokens.json +358 -0
  260. package/dist/vocabulary/tokens/sys/motion.tokens.json +949 -0
  261. package/dist/vocabulary/tokens/sys/shape.tokens.json +169 -0
  262. package/dist/vocabulary/tokens/sys/space.tokens.json +256 -0
  263. package/dist/vocabulary/tokens/sys/state.tokens.json +70 -0
  264. package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
  265. package/dist/vocabulary/tokens/systems/cupertino.system.json +640 -0
  266. package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +83 -0
  267. package/dist/vocabulary/tokens/systems/m3-like.system.json +855 -0
  268. package/dist/vocabulary/tokens/systems/tanrei.system.json +409 -0
  269. package/dist/vocabulary/tokens/tanrei.resolver.json +358 -0
  270. package/dist/vocabulary/tokens/vocabulary.lock.json +7052 -0
  271. package/package.json +32 -3
@@ -0,0 +1,919 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "menu": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product offers short sets of actions and choices in a surface that opens from a button or a field — plain actions, on/off options and one-of-several options, some destructive, some disabled, in groups, and where a set needs a second level, in a submenu that opens beside the item that names it.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.states": {
11
+ "variants": [
12
+ "unselected",
13
+ "selected",
14
+ "destructive",
15
+ "expanded"
16
+ ],
17
+ "states": [
18
+ "hovered",
19
+ "focused",
20
+ "pressed",
21
+ "disabled"
22
+ ],
23
+ "perVariant": {
24
+ "container.color": "color",
25
+ "label.color": "color",
26
+ "supporting-text.color": "color",
27
+ "trailing-text.color": "color",
28
+ "leading-icon.color": "color",
29
+ "trailing-icon.color": "color",
30
+ "mark.color": "color",
31
+ "control.color": "color",
32
+ "control-mark.color": "color",
33
+ "state-layer.color": "color"
34
+ },
35
+ "perComponent": {
36
+ "opacity": "number",
37
+ "container.shape": "dimension"
38
+ }
39
+ },
40
+ "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
+ "rules": [
43
+ "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
+ "Mark an item destructive only when its action deletes or discards something; do not use it for emphasis.",
45
+ "Group related items, and title a group only when its items need a heading to be understood (\"Sort by\"); the menu separates groups itself, by a divider or by a gap as separation names.",
46
+ "Restyle through these tokens in a layer; never fork the component.",
47
+ "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
+ "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.",
51
+ "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
+ "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
+ "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
+ "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."
56
+ ]
57
+ },
58
+ "dev.tanrei.axes": {
59
+ "condition": {
60
+ "default": "unselected",
61
+ "from": "states"
62
+ }
63
+ }
64
+ },
65
+ "surface": {
66
+ "color": {
67
+ "$type": "color",
68
+ "$value": "{tanrei.sys.color.surface-bright}",
69
+ "$description": "The menu's sheet: white in light schemes, lifted above the page in dark ones."
70
+ },
71
+ "elevation": {
72
+ "$type": "shadow",
73
+ "$value": "{tanrei.sys.elevation.level2}"
74
+ },
75
+ "shape": {
76
+ "$type": "dimension",
77
+ "$value": "{tanrei.sys.shape.corner.medium}"
78
+ },
79
+ "padding-block": {
80
+ "$type": "dimension",
81
+ "$value": "{tanrei.sys.space.space50}"
82
+ },
83
+ "padding-inline": {
84
+ "$type": "dimension",
85
+ "$value": "{tanrei.sys.space.space50}",
86
+ "$description": "Insets the items' rows from the sheet's sides, so a highlighted row shows its own corners."
87
+ },
88
+ "min-width": {
89
+ "$type": "dimension",
90
+ "$value": {
91
+ "value": 160,
92
+ "unit": "px"
93
+ },
94
+ "$extensions": {
95
+ "dev.tanrei.derive": {
96
+ "fn": "mul",
97
+ "of": "{tanrei.dial.size.unit}",
98
+ "by": 40
99
+ }
100
+ }
101
+ },
102
+ "max-width": {
103
+ "$type": "dimension",
104
+ "$value": {
105
+ "value": 320,
106
+ "unit": "px"
107
+ },
108
+ "$extensions": {
109
+ "dev.tanrei.derive": {
110
+ "fn": "mul",
111
+ "of": "{tanrei.dial.size.unit}",
112
+ "by": 80
113
+ }
114
+ }
115
+ },
116
+ "offset": {
117
+ "$type": "dimension",
118
+ "$value": "{tanrei.sys.space.space50}",
119
+ "$description": "Distance between the anchor and the sheet."
120
+ },
121
+ "viewport-margin": {
122
+ "$type": "dimension",
123
+ "$value": "{tanrei.sys.space.space100}",
124
+ "$description": "The sheet stays at least this far inside the viewport's edges."
125
+ }
126
+ },
127
+ "container": {
128
+ "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
+ "$type": "dimension",
135
+ "$value": {
136
+ "value": 48,
137
+ "unit": "px"
138
+ },
139
+ "$extensions": {
140
+ "dev.tanrei.derive": {
141
+ "fn": "mul",
142
+ "of": "{tanrei.dial.size.unit}",
143
+ "by": 12
144
+ }
145
+ },
146
+ "$description": "Minimum height of an item. It grows to the minimum target for touch, with its content and with enlarged text."
147
+ },
148
+ "padding-inline": {
149
+ "$type": "dimension",
150
+ "$value": "{tanrei.sys.space.space150}"
151
+ },
152
+ "padding-block": {
153
+ "$type": "dimension",
154
+ "$value": "{tanrei.sys.space.space100}"
155
+ },
156
+ "gap": {
157
+ "$type": "dimension",
158
+ "$value": "{tanrei.sys.space.space150}"
159
+ }
160
+ },
161
+ "separation": {
162
+ "$type": "number",
163
+ "$value": "{tanrei.sys.behavior.separation}",
164
+ "$description": "How a group is told from what is next to it. divider: a line of divider.thickness in divider.color, with divider.space above and below it. gap: group.gap of empty space and no line. Follows the system's choice; a menu's separation prop overrides it (MNU-35), and a submenu follows its menu. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
165
+ "$extensions": {
166
+ "dev.tanrei.vocabulary": {
167
+ "rationale": "One product rules its menus with a line while its joined buttons stand apart, or parts both by space: the system-wide choice gives the common answer, and the menu must be able to leave it, because a line between rows of text and a line inside a filled control are not the same decision.",
168
+ "since": "0.1.0"
169
+ },
170
+ "dev.tanrei.enum": {
171
+ "values": [
172
+ "divider",
173
+ "gap"
174
+ ]
175
+ }
176
+ }
177
+ },
178
+ "label": {
179
+ "typescale": {
180
+ "$type": "typography",
181
+ "$value": "{tanrei.sys.typescale.label}"
182
+ }
183
+ },
184
+ "supporting-text": {
185
+ "typescale": {
186
+ "$type": "typography",
187
+ "$value": "{tanrei.sys.typescale.body-small}"
188
+ }
189
+ },
190
+ "trailing-text": {
191
+ "typescale": {
192
+ "$type": "typography",
193
+ "$value": "{tanrei.sys.typescale.label-small}"
194
+ }
195
+ },
196
+ "shortcut": {
197
+ "variant": {
198
+ "$type": "number",
199
+ "$value": 0,
200
+ "$description": "How a menu draws an item's keyboard shortcut: keycap draws each key in a cap, plain draws the shortcut as text. The value is an index into dev.tanrei.enum.values, which are the keyboard shortcut's core variants; platforms receive the name.",
201
+ "$extensions": {
202
+ "dev.tanrei.enum": {
203
+ "values": [
204
+ "keycap",
205
+ "plain"
206
+ ]
207
+ },
208
+ "dev.tanrei.derive": {
209
+ "fixed": "A choice of kind; no dial scales it."
210
+ },
211
+ "dev.tanrei.vocabulary": {
212
+ "rationale": "One product may draw its shortcuts as keys in its menus and as text elsewhere, or the reverse; the menu owns the choice for its rows.",
213
+ "since": "0.1.0"
214
+ }
215
+ }
216
+ }
217
+ },
218
+ "leading-icon": {
219
+ "size": {
220
+ "$type": "dimension",
221
+ "$value": "{tanrei.sys.icon.medium}"
222
+ }
223
+ },
224
+ "trailing-icon": {
225
+ "size": {
226
+ "$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."
229
+ }
230
+ },
231
+ "mark": {
232
+ "size": {
233
+ "$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."
236
+ },
237
+ "width": {
238
+ "$type": "dimension",
239
+ "$value": "{tanrei.sys.border.thick}",
240
+ "$description": "The stroke of the check drawn as a path. No behaviour of the current spec reads it: the check is a glyph of the icon set (MNU-22). It stays only so that the platforms that still draw it as a path keep building; remove it in the commit that brings the last of them up to date."
241
+ }
242
+ },
243
+ "checkbox-item": {
244
+ "mark": {
245
+ "$type": "number",
246
+ "$value": 0,
247
+ "$description": "How a checkbox item is marked unless the item or its group names a glyph (markIcon). checkbox: the look of the checkbox, drawn in both conditions — an empty box, and a filled box with a check. check: the icon set's check while the item is checked, nothing while it is not. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
248
+ "$extensions": {
249
+ "dev.tanrei.enum": {
250
+ "values": [
251
+ "checkbox",
252
+ "check"
253
+ ]
254
+ },
255
+ "dev.tanrei.derive": {
256
+ "fixed": "A choice of kind; no dial scales it."
257
+ },
258
+ "dev.tanrei.vocabulary": {
259
+ "rationale": "One product shows the options of a menu that can be switched on and off as boxes, so that an option that is off is still seen to be an option; another shows only a check beside the ones that are on. It is a choice of kind, and apart from the radio item's: boxes for options and a check for the one choice, or the reverse, are both ordinary menus.",
260
+ "since": "0.1.0"
261
+ }
262
+ }
263
+ }
264
+ },
265
+ "radio-item": {
266
+ "mark": {
267
+ "$type": "number",
268
+ "$value": 0,
269
+ "$description": "How a radio item is marked unless the item or its group names a glyph (markIcon). radio: the look of the radio button, drawn in both conditions — a thin ring, and a heavy ring with its fill. check: the icon set's check while the item is checked, nothing while it is not. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
270
+ "$extensions": {
271
+ "dev.tanrei.enum": {
272
+ "values": [
273
+ "radio",
274
+ "check"
275
+ ]
276
+ },
277
+ "dev.tanrei.derive": {
278
+ "fixed": "A choice of kind; no dial scales it."
279
+ },
280
+ "dev.tanrei.vocabulary": {
281
+ "rationale": "One product shows a set of which one is chosen as rings, so that the set reads as one choice before anything in it is read; another marks the chosen one with a check. It is a choice of kind, and apart from the checkbox item's.",
282
+ "since": "0.1.0"
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "control": {
288
+ "$extensions": {
289
+ "dev.tanrei.vocabulary": {
290
+ "rationale": "One product draws the marks of its menus as the controls they stand for — a box for an option that is on or off, a ring for one choice of several — and may draw them at measures of their own there: smaller in a dense desktop menu than the checkbox of a form, or with a squarer box. The menu owns them; their defaults are the checkbox's and the radio button's.",
291
+ "since": "0.1.0"
292
+ }
293
+ },
294
+ "box": {
295
+ "size": {
296
+ "$type": "dimension",
297
+ "$value": {
298
+ "value": 18,
299
+ "unit": "px"
300
+ },
301
+ "$description": "The side of the box of the checkbox look: the checkbox's own 18. It is centered in the mark column (mark.size).",
302
+ "$extensions": {
303
+ "dev.tanrei.derive": {
304
+ "fn": "mul",
305
+ "of": "{tanrei.dial.size.unit}",
306
+ "by": 4.5
307
+ }
308
+ }
309
+ },
310
+ "shape": {
311
+ "$type": "dimension",
312
+ "$value": {
313
+ "value": 2,
314
+ "unit": "px"
315
+ },
316
+ "$description": "The corner of that box: the checkbox's own 2, one unit of the roundness dial.",
317
+ "$extensions": {
318
+ "dev.tanrei.derive": {
319
+ "fn": "mul",
320
+ "of": "{tanrei.dial.shape.unit}",
321
+ "by": 1
322
+ }
323
+ }
324
+ }
325
+ },
326
+ "outline": {
327
+ "width": {
328
+ "$type": "dimension",
329
+ "$value": "{tanrei.sys.border.thick}",
330
+ "$description": "The border of an unchecked box, drawn inside its edge."
331
+ }
332
+ },
333
+ "mark": {
334
+ "size": {
335
+ "$type": "dimension",
336
+ "$value": "{tanrei.sys.icon.small}",
337
+ "$description": "The glyph box of the check drawn inside a checked box (the icon set's check), as the checkbox draws its own: a glyph's ink fills less of its box than the box it sits on."
338
+ },
339
+ "weight": {
340
+ "$type": "number",
341
+ "$value": "{tanrei.sys.icon.mark.weight}",
342
+ "$description": "The weight the check inside a checked box is drawn at (the `wght` axis of the icon font): the system's weight for a control's own mark, as the checkbox draws its own, so that a checkbox in a menu and one in a form agree (MNU-39). The glyph box (control.mark.size) does not change with it; only the stroke does. The check of the glyph look (mark.size, MNU-22) is an icon on the sheet and keeps sys.icon.weight.",
343
+ "$extensions": {
344
+ "dev.tanrei.vocabulary": {
345
+ "rationale": "One product draws the checkbox items of its menus as the checkboxes of its forms and needs the check in that small filled box seen at a glance, at the weight its checkboxes draw theirs; a product with a dense desktop menu sets it apart from its forms without touching its icons.",
346
+ "since": "0.1.0"
347
+ }
348
+ }
349
+ }
350
+ },
351
+ "ring": {
352
+ "size": {
353
+ "$type": "dimension",
354
+ "$value": {
355
+ "value": 20,
356
+ "unit": "px"
357
+ },
358
+ "$description": "The outer diameter of the ring of the radio look, the same checked and unchecked: the radio button's own 20. It is centered in the mark column (mark.size).",
359
+ "$extensions": {
360
+ "dev.tanrei.derive": {
361
+ "fn": "mul",
362
+ "of": "{tanrei.dial.size.unit}",
363
+ "by": 5
364
+ }
365
+ }
366
+ },
367
+ "width": {
368
+ "$type": "dimension",
369
+ "$value": "{tanrei.sys.border.thick}",
370
+ "$description": "The stroke of an unchecked ring, drawn inside its outer diameter, and the thinnest a checked ring's stroke can be."
371
+ },
372
+ "selected-width-share": {
373
+ "$type": "number",
374
+ "$value": 0.5,
375
+ "$description": "The stroke of a checked ring, as a share of the ring's radius, drawn inward from the outer diameter: 0 keeps ring.width, 1 is a solid disc. The radio button's own value.",
376
+ "$extensions": {
377
+ "dev.tanrei.derive": {
378
+ "fixed": "A proportion of the ring's own radius; no dial scales it."
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "fill": {
384
+ "inset": {
385
+ "$type": "dimension",
386
+ "$value": {
387
+ "value": 0,
388
+ "unit": "px"
389
+ },
390
+ "$description": "How far the fill inside a checked ring sits from the ring's inner edge. 0 fills what the ring leaves; a larger inset turns the fill into a dot. The radio button's own value.",
391
+ "$extensions": {
392
+ "dev.tanrei.derive": {
393
+ "fixed": "The fill meets the ring: a gap of nothing is not a length any dial scales."
394
+ }
395
+ }
396
+ },
397
+ "opacity": {
398
+ "$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
+ }
406
+ }
407
+ }
408
+ },
409
+ "group-title": {
410
+ "typescale": {
411
+ "$type": "typography",
412
+ "$value": "{tanrei.sys.typescale.label-small}"
413
+ },
414
+ "color": {
415
+ "$type": "color",
416
+ "$value": "{tanrei.sys.color.on-surface-variant}",
417
+ "$description": "A group's title: quieter than the items, which are what a person acts on."
418
+ },
419
+ "padding-inline": {
420
+ "$type": "dimension",
421
+ "$value": "{tanrei.comp.menu.container.padding-inline}",
422
+ "$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"
427
+ }
428
+ }
429
+ }
430
+ },
431
+ "group": {
432
+ "gap": {
433
+ "$type": "dimension",
434
+ "$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.",
436
+ "$extensions": {
437
+ "dev.tanrei.vocabulary": {
438
+ "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.",
439
+ "since": "0.1.0"
440
+ }
441
+ }
442
+ }
443
+ },
444
+ "divider": {
445
+ "color": {
446
+ "$type": "color",
447
+ "$value": "{tanrei.sys.color.outline-variant}"
448
+ },
449
+ "thickness": {
450
+ "$type": "dimension",
451
+ "$value": "{tanrei.sys.border.hairline}"
452
+ },
453
+ "space": {
454
+ "$type": "dimension",
455
+ "$value": "{tanrei.sys.space.space50}",
456
+ "$description": "Under divider: space above and below the divider between two groups. Not read under gap."
457
+ }
458
+ },
459
+ "submenu": {
460
+ "offset": {
461
+ "$type": "dimension",
462
+ "$value": "{tanrei.sys.space.space50}",
463
+ "$description": "Distance between the edge of the surface a submenu opens from and the submenu's surface, along the inline axis.",
464
+ "$extensions": {
465
+ "dev.tanrei.vocabulary": {
466
+ "rationale": "One product sets its submenus a little apart from the surface they open from, as it sets a menu apart from its anchor; another butts them against it or lets them touch. It is not the anchor's offset: that one is measured below a button, this one beside a sheet.",
467
+ "since": "0.1.0"
468
+ }
469
+ }
470
+ }
471
+ },
472
+ "unselected": {
473
+ "container": {
474
+ "color": {
475
+ "$type": "color",
476
+ "$value": {
477
+ "colorSpace": "srgb",
478
+ "components": [
479
+ 0,
480
+ 0,
481
+ 0
482
+ ],
483
+ "alpha": 0,
484
+ "hex": "#000000"
485
+ },
486
+ "$extensions": {
487
+ "dev.tanrei.derive": {
488
+ "fixed": "An item has no fill at rest; the menu's surface shows through."
489
+ }
490
+ }
491
+ }
492
+ },
493
+ "label": {
494
+ "color": {
495
+ "$type": "color",
496
+ "$value": "{tanrei.sys.color.on-surface}"
497
+ }
498
+ },
499
+ "supporting-text": {
500
+ "color": {
501
+ "$type": "color",
502
+ "$value": "{tanrei.sys.color.on-surface-variant}"
503
+ }
504
+ },
505
+ "trailing-text": {
506
+ "color": {
507
+ "$type": "color",
508
+ "$value": "{tanrei.sys.color.on-surface-variant}"
509
+ }
510
+ },
511
+ "leading-icon": {
512
+ "color": {
513
+ "$type": "color",
514
+ "$value": "{tanrei.sys.color.on-surface-variant}"
515
+ }
516
+ },
517
+ "trailing-icon": {
518
+ "color": {
519
+ "$type": "color",
520
+ "$value": "{tanrei.sys.color.on-surface-variant}"
521
+ }
522
+ },
523
+ "mark": {
524
+ "color": {
525
+ "$type": "color",
526
+ "$value": {
527
+ "colorSpace": "srgb",
528
+ "components": [
529
+ 0,
530
+ 0,
531
+ 0
532
+ ],
533
+ "alpha": 0,
534
+ "hex": "#000000"
535
+ },
536
+ "$extensions": {
537
+ "dev.tanrei.derive": {
538
+ "fixed": "Only a checked item shows a check."
539
+ }
540
+ }
541
+ }
542
+ },
543
+ "control": {
544
+ "color": {
545
+ "$type": "color",
546
+ "$value": "{tanrei.sys.color.outline}",
547
+ "$description": "The line of a control look while the item is not checked: the border of the empty box and the thin ring. The functional outline role, as the checkbox's and the radio button's."
548
+ }
549
+ },
550
+ "control-mark": {
551
+ "color": {
552
+ "$type": "color",
553
+ "$value": {
554
+ "colorSpace": "srgb",
555
+ "components": [
556
+ 0,
557
+ 0,
558
+ 0
559
+ ],
560
+ "alpha": 0,
561
+ "hex": "#000000"
562
+ },
563
+ "$extensions": {
564
+ "dev.tanrei.derive": {
565
+ "fixed": "Only a checked box shows a check."
566
+ }
567
+ }
568
+ }
569
+ },
570
+ "state-layer": {
571
+ "color": {
572
+ "$type": "color",
573
+ "$value": "{tanrei.comp.menu.unselected.label.color}",
574
+ "$description": "The color hover, focus and press mix into the item's row: the label's color."
575
+ }
576
+ }
577
+ },
578
+ "selected": {
579
+ "container": {
580
+ "color": {
581
+ "$type": "color",
582
+ "$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."
584
+ }
585
+ },
586
+ "label": {
587
+ "color": {
588
+ "$type": "color",
589
+ "$value": "{tanrei.sys.color.on-secondary-container}"
590
+ }
591
+ },
592
+ "supporting-text": {
593
+ "color": {
594
+ "$type": "color",
595
+ "$value": "{tanrei.sys.color.on-secondary-container}",
596
+ "$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."
597
+ }
598
+ },
599
+ "trailing-text": {
600
+ "color": {
601
+ "$type": "color",
602
+ "$value": "{tanrei.sys.color.on-secondary-container}"
603
+ }
604
+ },
605
+ "leading-icon": {
606
+ "color": {
607
+ "$type": "color",
608
+ "$value": "{tanrei.sys.color.on-secondary-container}"
609
+ }
610
+ },
611
+ "trailing-icon": {
612
+ "color": {
613
+ "$type": "color",
614
+ "$value": "{tanrei.sys.color.on-secondary-container}"
615
+ }
616
+ },
617
+ "mark": {
618
+ "color": {
619
+ "$type": "color",
620
+ "$value": "{tanrei.sys.color.primary}",
621
+ "$description": "The mark when it is a glyph: the icon set's check, or the glyph markIcon names."
622
+ }
623
+ },
624
+ "control": {
625
+ "color": {
626
+ "$type": "color",
627
+ "$value": "{tanrei.sys.color.primary}",
628
+ "$description": "The control look of a checked item: the box's outline and fill, and the ring and its fill. The checkbox's and the radio button's selected color."
629
+ }
630
+ },
631
+ "control-mark": {
632
+ "color": {
633
+ "$type": "color",
634
+ "$value": "{tanrei.sys.color.on-primary}",
635
+ "$description": "The check drawn inside a checked box."
636
+ }
637
+ },
638
+ "state-layer": {
639
+ "color": {
640
+ "$type": "color",
641
+ "$value": "{tanrei.comp.menu.selected.label.color}",
642
+ "$description": "The color hover, focus and press mix into the item's row: the label's color."
643
+ }
644
+ }
645
+ },
646
+ "destructive": {
647
+ "container": {
648
+ "color": {
649
+ "$type": "color",
650
+ "$value": {
651
+ "colorSpace": "srgb",
652
+ "components": [
653
+ 0,
654
+ 0,
655
+ 0
656
+ ],
657
+ "alpha": 0,
658
+ "hex": "#000000"
659
+ },
660
+ "$extensions": {
661
+ "dev.tanrei.derive": {
662
+ "fixed": "An item has no fill at rest; the menu's surface shows through."
663
+ }
664
+ }
665
+ }
666
+ },
667
+ "label": {
668
+ "color": {
669
+ "$type": "color",
670
+ "$value": "{tanrei.sys.color.error}"
671
+ }
672
+ },
673
+ "supporting-text": {
674
+ "color": {
675
+ "$type": "color",
676
+ "$value": "{tanrei.sys.color.on-surface-variant}"
677
+ }
678
+ },
679
+ "trailing-text": {
680
+ "color": {
681
+ "$type": "color",
682
+ "$value": "{tanrei.sys.color.on-surface-variant}"
683
+ }
684
+ },
685
+ "leading-icon": {
686
+ "color": {
687
+ "$type": "color",
688
+ "$value": "{tanrei.sys.color.error}"
689
+ }
690
+ },
691
+ "trailing-icon": {
692
+ "color": {
693
+ "$type": "color",
694
+ "$value": "{tanrei.sys.color.on-surface-variant}"
695
+ }
696
+ },
697
+ "mark": {
698
+ "color": {
699
+ "$type": "color",
700
+ "$value": {
701
+ "colorSpace": "srgb",
702
+ "components": [
703
+ 0,
704
+ 0,
705
+ 0
706
+ ],
707
+ "alpha": 0,
708
+ "hex": "#000000"
709
+ },
710
+ "$extensions": {
711
+ "dev.tanrei.derive": {
712
+ "fixed": "Only a checked item shows a check."
713
+ }
714
+ }
715
+ }
716
+ },
717
+ "control": {
718
+ "color": {
719
+ "$type": "color",
720
+ "$value": {
721
+ "colorSpace": "srgb",
722
+ "components": [
723
+ 0,
724
+ 0,
725
+ 0
726
+ ],
727
+ "alpha": 0,
728
+ "hex": "#000000"
729
+ },
730
+ "$extensions": {
731
+ "dev.tanrei.derive": {
732
+ "fixed": "A destructive item is an action; it has no mark."
733
+ }
734
+ }
735
+ }
736
+ },
737
+ "control-mark": {
738
+ "color": {
739
+ "$type": "color",
740
+ "$value": {
741
+ "colorSpace": "srgb",
742
+ "components": [
743
+ 0,
744
+ 0,
745
+ 0
746
+ ],
747
+ "alpha": 0,
748
+ "hex": "#000000"
749
+ },
750
+ "$extensions": {
751
+ "dev.tanrei.derive": {
752
+ "fixed": "A destructive item is an action; it has no mark."
753
+ }
754
+ }
755
+ }
756
+ },
757
+ "state-layer": {
758
+ "color": {
759
+ "$type": "color",
760
+ "$value": "{tanrei.comp.menu.destructive.label.color}",
761
+ "$description": "The color hover, focus and press mix into the item's row: the label's color."
762
+ }
763
+ }
764
+ },
765
+ "expanded": {
766
+ "container": {
767
+ "color": {
768
+ "$type": "color",
769
+ "$value": "{tanrei.sys.color.surface-container-high}",
770
+ "$description": "The row of a submenu item while its submenu is open: a quiet fill that stays when the pointer and focus have moved into the submenu, so that the path to the surface in use stays marked (MNU-50). The default system does not draw this tone on the sheet — it values this token as the hover layer (expanded.state-layer.color at sys.state.hover-state-layer-opacity: tokens/systems/tanrei.system.json), so the open item keeps the look it had under the pointer, and it does not stack a second layer on it. A design system that sets this token draws what it sets."
771
+ }
772
+ },
773
+ "label": {
774
+ "color": {
775
+ "$type": "color",
776
+ "$value": "{tanrei.sys.color.on-surface}"
777
+ }
778
+ },
779
+ "supporting-text": {
780
+ "color": {
781
+ "$type": "color",
782
+ "$value": "{tanrei.sys.color.on-surface-variant}"
783
+ }
784
+ },
785
+ "trailing-text": {
786
+ "color": {
787
+ "$type": "color",
788
+ "$value": "{tanrei.sys.color.on-surface-variant}"
789
+ }
790
+ },
791
+ "leading-icon": {
792
+ "color": {
793
+ "$type": "color",
794
+ "$value": "{tanrei.sys.color.on-surface-variant}"
795
+ }
796
+ },
797
+ "trailing-icon": {
798
+ "color": {
799
+ "$type": "color",
800
+ "$value": "{tanrei.sys.color.on-surface-variant}",
801
+ "$description": "The submenu indicator of the item whose submenu is open."
802
+ }
803
+ },
804
+ "mark": {
805
+ "color": {
806
+ "$type": "color",
807
+ "$value": {
808
+ "colorSpace": "srgb",
809
+ "components": [
810
+ 0,
811
+ 0,
812
+ 0
813
+ ],
814
+ "alpha": 0,
815
+ "hex": "#000000"
816
+ },
817
+ "$extensions": {
818
+ "dev.tanrei.derive": {
819
+ "fixed": "A submenu item has no mark."
820
+ }
821
+ }
822
+ }
823
+ },
824
+ "control": {
825
+ "color": {
826
+ "$type": "color",
827
+ "$value": {
828
+ "colorSpace": "srgb",
829
+ "components": [
830
+ 0,
831
+ 0,
832
+ 0
833
+ ],
834
+ "alpha": 0,
835
+ "hex": "#000000"
836
+ },
837
+ "$extensions": {
838
+ "dev.tanrei.derive": {
839
+ "fixed": "A submenu item has no mark."
840
+ }
841
+ }
842
+ }
843
+ },
844
+ "control-mark": {
845
+ "color": {
846
+ "$type": "color",
847
+ "$value": {
848
+ "colorSpace": "srgb",
849
+ "components": [
850
+ 0,
851
+ 0,
852
+ 0
853
+ ],
854
+ "alpha": 0,
855
+ "hex": "#000000"
856
+ },
857
+ "$extensions": {
858
+ "dev.tanrei.derive": {
859
+ "fixed": "A submenu item has no mark."
860
+ }
861
+ }
862
+ }
863
+ },
864
+ "state-layer": {
865
+ "color": {
866
+ "$type": "color",
867
+ "$value": "{tanrei.comp.menu.expanded.label.color}",
868
+ "$description": "The color hover, focus and press mix into the item's row: the label's color."
869
+ }
870
+ }
871
+ },
872
+ "motion": {
873
+ "state-duration": {
874
+ "$type": "duration",
875
+ "$value": "{tanrei.sys.motion.duration.short3}"
876
+ },
877
+ "state-easing": {
878
+ "$type": "cubicBezier",
879
+ "$value": "{tanrei.sys.motion.easing.standard}"
880
+ },
881
+ "feedback-duration": {
882
+ "$type": "duration",
883
+ "$value": "{tanrei.sys.motion.duration.long1}",
884
+ "$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
885
+ },
886
+ "open-duration": {
887
+ "$type": "duration",
888
+ "$value": "{tanrei.sys.motion.duration.short4}",
889
+ "$description": "How long the sheet takes to fade in and grow from the anchor's side."
890
+ },
891
+ "open-easing": {
892
+ "$type": "cubicBezier",
893
+ "$value": "{tanrei.sys.motion.easing.emphasized-decelerate}"
894
+ },
895
+ "close-duration": {
896
+ "$type": "duration",
897
+ "$value": "{tanrei.sys.motion.duration.short2}",
898
+ "$description": "How long the sheet takes to fade out."
899
+ },
900
+ "close-easing": {
901
+ "$type": "cubicBezier",
902
+ "$value": "{tanrei.sys.motion.easing.emphasized-accelerate}"
903
+ },
904
+ "submenu-delay": {
905
+ "$type": "duration",
906
+ "$value": "{tanrei.sys.motion.duration.short4}",
907
+ "$description": "How long a pointer rests on a submenu item before its submenu opens, and how long it may rest on the way to an open submenu before the item under it takes over (MNU-44, MNU-45). It reads the pointer's intent; it is not an animation and is not shortened where motion is reduced.",
908
+ "$extensions": {
909
+ "dev.tanrei.vocabulary": {
910
+ "rationale": "One product decides how eager its submenus are: opened by a pointer that merely passes, or only by one that stops. One delay serves both uses, because both ask the same question — has the pointer stopped here on purpose.",
911
+ "since": "0.1.0"
912
+ }
913
+ }
914
+ }
915
+ }
916
+ }
917
+ }
918
+ }
919
+ }