@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,970 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "tabs": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product switches between views of the same content with a row of tabs — main sections with an icon above the label, sub-sections inside them, and a quiet row for a choice in a header — in rows whose tabs share the width or hug their content and scroll, some tabs disabled, on a track or straight on the surface the row stands on, at the height of the place the row stands in, the selected one marked by an indicator that slides to it and follows a finger, or is simply drawn on it, by a line under it, or by both.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.states": {
11
+ "variants": [
12
+ "primary",
13
+ "secondary",
14
+ "tonal"
15
+ ],
16
+ "states": [
17
+ "hovered",
18
+ "focused",
19
+ "pressed",
20
+ "disabled"
21
+ ],
22
+ "perVariant": {
23
+ "track.color": "color",
24
+ "container.color": "color",
25
+ "label.color": "color",
26
+ "icon.color": "color",
27
+ "covered-label.color": "color",
28
+ "covered-icon.color": "color",
29
+ "active-indicator.color": "color",
30
+ "active-indicator.thickness": "dimension",
31
+ "active-indicator.shape": "dimension",
32
+ "underline.color": "color",
33
+ "underline.thickness": "dimension",
34
+ "underline.shape": "dimension",
35
+ "state-layer.color": "color",
36
+ "selected.container.color": "color",
37
+ "selected.label.color": "color",
38
+ "selected.icon.color": "color",
39
+ "selected.covered-label.color": "color",
40
+ "selected.covered-icon.color": "color",
41
+ "selected.active-indicator.color": "color",
42
+ "selected.underline.color": "color",
43
+ "selected.state-layer.color": "color"
44
+ },
45
+ "perComponent": {
46
+ "opacity": "number"
47
+ }
48
+ },
49
+ "dev.tanrei.llm": {
50
+ "usage": "Everything tabs read: for each size (medium, small) a tab's height, its padding, the active indicator's margins around the content and the icon size; the height of a tab that stacks its icon, the gap, the corner of its state layer and the label style; the track behind the row (its inset and corner, whether it is drawn, and its color per variant); the divider under the row; the motion, and whether a new selection travels or is drawn at once; and for each variant (primary, secondary, tonal) the track's color, the active indicator's corner, the underline's thickness and corner, and the colors of a tab (plain = not selected, selected.) in each state — its label and icon, and the same where the active indicator covers them (covered-label, covered-icon).",
51
+ "rules": [
52
+ "Primary tabs switch the main views of a screen; secondary tabs switch within one of them; tonal tabs are the quiet row, for a choice that should not compete with the content it changes (a sample's language, a contrast, a unit, a period). The three differ in the weight of the active indicator alone: the filled color, the color one step quieter, and a tonal layer under a label that darkens. Never put two rows of primary tabs on one screen.",
53
+ "Tabs switch views of the same subject; to move between destinations use a navigation bar, rail or drawer.",
54
+ "Give every tab a label, even an icon-only one (labelHidden keeps it as the name).",
55
+ "The track is the constant background of the whole row: one color per variant, the same whichever tab is selected, with no outline. Whether it is drawn is one choice, track.visible, which a product sets for one row with the track prop; without it the row stands on the surface it is placed on, and nothing of its layout changes (the inset stays). Tabs are one choice among equals, so nothing but the active indicator marks the selection. A switch is the opposite: its track, outline and handle change between off and on.",
56
+ "The active indicator is the thumb on the track: as tall as the row less track.padding above and below, the same on every tab. In a row that hugs it is as wide as the selected tab's content plus padding, and a circle when that content is not wider than it is tall (an icon, one character); in a row that fills it is as wide as the tab. Never give it a height of its own.",
57
+ "The underline is the line on the row's bottom edge under the selected tab, and the divider the hairline under the whole row. The default system leaves both transparent; a layer that marks the selection with a line (Material's tabs) colors them, makes the active indicator and the track transparent and sets track.padding to nothing.",
58
+ "covered-label.color and covered-icon.color are what the label and icon become where the active indicator covers them; each must be readable on active-indicator.color, and label.color and icon.color on track.color and, because a row may be drawn without its track, on every surface a row may stand on. A layer whose indicator is transparent aliases the covered colors to label.color and icon.color.",
59
+ "A tap selects a tab; a drag across the row carries the indicator with the finger and selects the tab it is released on. Nothing is selected, and nothing announced, until the release. Where motion.transition is none (or the row's transition prop says so) the indicator does not travel by itself: a new selection is drawn whole in one frame, and a drag still carries the indicator, because the finger moves it.",
60
+ "Hug (the default) sizes each tab to its content and never truncates it; fullWidth shares the row's width and truncates a label that does not fit. Choose hug for long, translated or user-written labels.",
61
+ "Restyle through these tokens in a layer; never fork the component.",
62
+ "Each look's state-layer.color is the color hover, focus and press mix into a tab; it aliases that look's label color.",
63
+ "Hover, press and keyboard focus are drawn at the active indicator's size and place on the tab — a capsule or a circle in the default system — never on the tab's rectangle. The whole tab still answers the pointer. container.shape rounds that box; keep it equal to active-indicator.shape.",
64
+ "Size is the row's height and what must shrink with it (padding, the indicator's margins, the icon); the label's style, the track's inset, every color and every motion are the same at every size. Medium (48) is the row of a screen's views; small (32) stands in a header or a toolbar beside small buttons. A small row is still pressed over the minimum target: its hit area reaches above and below it.",
65
+ "Variant, track, size and transition are four independent decisions: every variant is drawn with and without its track, at every size, with and without the travel. Do not make a variant imply one of the others in a layer.",
66
+ "The tonal variant's active indicator is a layer, not a tone: in the default system the color of the selected label at 16%, laid over whatever is beneath it, so that it is seen by the same step on the track, on a page and on a filled card. selected.active-indicator.color names the tonal container, which a design system may draw as it is where its tonal container stands apart from its surfaces; do not pick a surface tone for it without measuring it against every surface a row may stand on, in both themes.",
67
+ "motion.transition and track.visible are choices of kind, not values to imitate: do not shorten indicator-duration to stop the travel, and do not make track.color transparent to hide the track of one row — set the choice, or the prop."
68
+ ]
69
+ },
70
+ "dev.tanrei.axes": {
71
+ "variant": {
72
+ "default": "primary",
73
+ "from": "states"
74
+ },
75
+ "size": {
76
+ "default": "medium",
77
+ "values": [
78
+ "small",
79
+ "medium"
80
+ ],
81
+ "members": [
82
+ "container.height",
83
+ "container.padding-inline",
84
+ "active-indicator.padding-inline",
85
+ "active-indicator.padding-block",
86
+ "icon.size"
87
+ ]
88
+ }
89
+ }
90
+ },
91
+ "container": {
92
+ "shape": {
93
+ "$type": "dimension",
94
+ "$value": "{tanrei.sys.shape.corner.full}",
95
+ "$description": "The corners of a tab's state layer, each at most half its height. Hover, focus and press are drawn in the box the active indicator has on that tab (selected, or as it would be if it were), never on the tab's rectangle; the focus indicator surrounds it. With the default's full corner the state layer is the indicator's capsule or circle: a layer that changes active-indicator.shape changes this with it."
96
+ },
97
+ "height": {
98
+ "$type": "dimension",
99
+ "$description": "Minimum height of a tab, per size; the row, and with it the track, is as tall as its tabs. Medium is the row of a screen's views, as tall as the touch target. Small is the row in a header or a toolbar, as tall as a small Button, so that the two share a line; its hit area reaches above and below it to the minimum target.",
100
+ "$extensions": {
101
+ "dev.tanrei.vocabulary": {
102
+ "rationale": "One product puts a row of tabs at the top of a screen's content, where it is as tall as a finger needs, and another in the header of a card, a figure or a toolbar beside a title and small buttons, where a row that tall would make the header taller than what it heads.",
103
+ "since": "0.1.0"
104
+ }
105
+ },
106
+ "small": {
107
+ "$value": {
108
+ "value": 32,
109
+ "unit": "px"
110
+ },
111
+ "$extensions": {
112
+ "dev.tanrei.derive": {
113
+ "fn": "mul",
114
+ "of": "{tanrei.dial.size.unit}",
115
+ "by": 8
116
+ }
117
+ }
118
+ },
119
+ "medium": {
120
+ "$value": {
121
+ "value": 48,
122
+ "unit": "px"
123
+ },
124
+ "$extensions": {
125
+ "dev.tanrei.derive": {
126
+ "fn": "mul",
127
+ "of": "{tanrei.dial.size.unit}",
128
+ "by": 12
129
+ }
130
+ }
131
+ }
132
+ },
133
+ "height-with-icon": {
134
+ "$type": "dimension",
135
+ "$value": {
136
+ "value": 64,
137
+ "unit": "px"
138
+ },
139
+ "$extensions": {
140
+ "dev.tanrei.derive": {
141
+ "fn": "mul",
142
+ "of": "{tanrei.dial.size.unit}",
143
+ "by": 16
144
+ }
145
+ },
146
+ "$description": "Minimum height of a primary tab with its icon above its label. Only a medium row stacks: at small the icon stands before the label in every variant, and this is not read."
147
+ },
148
+ "padding-inline": {
149
+ "$type": "dimension",
150
+ "$description": "Space between a tab's edges and its content, per size. A tab that hugs its content is its content plus this on each side; a tab that shares the row's width truncates its label inside it.",
151
+ "small": {
152
+ "$value": "{tanrei.sys.space.space150}"
153
+ },
154
+ "medium": {
155
+ "$value": "{tanrei.sys.space.space200}"
156
+ }
157
+ },
158
+ "gap": {
159
+ "$type": "dimension",
160
+ "$value": "{tanrei.sys.space.space50}",
161
+ "$description": "Space between a tab's icon and its label."
162
+ }
163
+ },
164
+ "label": {
165
+ "typescale": {
166
+ "$type": "typography",
167
+ "$value": "{tanrei.sys.typescale.label}"
168
+ }
169
+ },
170
+ "icon": {
171
+ "size": {
172
+ "$type": "dimension",
173
+ "$description": "The icon box, per size. A small row draws the small glyph, which leaves the active indicator its margin above and below.",
174
+ "small": {
175
+ "$value": "{tanrei.sys.icon.small}"
176
+ },
177
+ "medium": {
178
+ "$value": "{tanrei.sys.icon.medium}"
179
+ }
180
+ }
181
+ },
182
+ "track": {
183
+ "$extensions": {
184
+ "dev.tanrei.vocabulary": {
185
+ "rationale": "One product seats its tabs on a track, the constant ground the indicator slides along, and decides how far the indicator stays inside it and how round it is: a roomy capsule for the main views, a tighter one in a toolbar, none at all where the tabs sit on a line.",
186
+ "since": "0.1.0"
187
+ }
188
+ },
189
+ "padding": {
190
+ "$type": "dimension",
191
+ "$value": "{tanrei.sys.space.space50}",
192
+ "$description": "The space between the track's edge and what sits on it: above and below every tab's state layer and the active indicator, and between the track's ends and the first and last tab. The indicator is as tall as the row less this above and below."
193
+ },
194
+ "shape": {
195
+ "$type": "dimension",
196
+ "$value": "{tanrei.sys.shape.corner.full}",
197
+ "$description": "The radius of the track's corners, at most half its height: full makes it a capsule. Tabs that scroll are clipped to it."
198
+ },
199
+ "visible": {
200
+ "$type": "number",
201
+ "$value": 1,
202
+ "$description": "Whether a row whose track the product did not set draws its track (TAB-49). on: the track of the row's variant behind the whole row. off: no fill behind the row, which then stands on the surface it is placed on; the inset, the corners that clip a row that scrolls and every measure stay, so a row is the same size either way. A row whose track is set keeps what it was given. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
203
+ "$extensions": {
204
+ "dev.tanrei.vocabulary": {
205
+ "rationale": "One product decides once whether its rows of tabs are seated on a track or stand straight on the page, and still draws a single row the other way: a row inside a header that is already a filled bar, a row on a card.",
206
+ "since": "0.1.0"
207
+ },
208
+ "dev.tanrei.enum": {
209
+ "values": [
210
+ "off",
211
+ "on"
212
+ ]
213
+ },
214
+ "dev.tanrei.derive": {
215
+ "fixed": "A choice of kind; no dial scales it."
216
+ }
217
+ }
218
+ }
219
+ },
220
+ "active-indicator": {
221
+ "$extensions": {
222
+ "dev.tanrei.vocabulary": {
223
+ "rationale": "One product sizes the indicator apart from the tab it rests on: filling a tab that hugs its content, or held in from the tab's edges so that air shows between it and the neighbouring tabs, with its own margin around a stacked icon or enlarged text.",
224
+ "since": "0.1.0"
225
+ }
226
+ },
227
+ "height": {
228
+ "$type": "dimension",
229
+ "$value": {
230
+ "value": 32,
231
+ "unit": "px"
232
+ },
233
+ "$extensions": {
234
+ "dev.tanrei.derive": {
235
+ "fn": "mul",
236
+ "of": "{tanrei.dial.size.unit}",
237
+ "by": 8
238
+ }
239
+ },
240
+ "$description": "Read by no behaviour of this revision: the active indicator is as tall as the row less track.padding above and below, so it has no height of its own. It stays so that the platforms still drawing the previous revision keep building; remove it in the commit that brings the last of them up to date."
241
+ },
242
+ "padding-inline": {
243
+ "$type": "dimension",
244
+ "$description": "How far the active indicator reaches past the selected tab's content on each side in a row that hugs, per size. It aliases the tab's own padding of that size, so the indicator fills the tab; a layer can make it smaller, leaving air between the indicator and the neighbouring tabs, without moving the tabs. A row that fills does not read it: there the indicator is as wide as the tab.",
245
+ "small": {
246
+ "$value": "{tanrei.comp.tabs.container.padding-inline.small}"
247
+ },
248
+ "medium": {
249
+ "$value": "{tanrei.comp.tabs.container.padding-inline.medium}"
250
+ }
251
+ },
252
+ "padding-block": {
253
+ "$type": "dimension",
254
+ "$description": "The least space between the active indicator's top and bottom edges and the tallest content it holds, per size. The row grows to keep it (a stacked icon, enlarged text). Small's is the smaller step, so that one line of the label fits a small row's indicator without making the row taller.",
255
+ "small": {
256
+ "$value": "{tanrei.sys.space.space25}"
257
+ },
258
+ "medium": {
259
+ "$value": "{tanrei.sys.space.space50}"
260
+ }
261
+ }
262
+ },
263
+ "divider": {
264
+ "color": {
265
+ "$type": "color",
266
+ "$value": {
267
+ "colorSpace": "srgb",
268
+ "components": [
269
+ 0,
270
+ 0,
271
+ 0
272
+ ],
273
+ "alpha": 0,
274
+ "hex": "#000000"
275
+ },
276
+ "$extensions": {
277
+ "dev.tanrei.derive": {
278
+ "fixed": "The default system draws no line under the row: the track is the row. A layer whose tabs sit on a line (Material's) gives this a color."
279
+ }
280
+ }
281
+ },
282
+ "thickness": {
283
+ "$type": "dimension",
284
+ "$value": "{tanrei.sys.border.hairline}"
285
+ }
286
+ },
287
+ "primary": {
288
+ "track": {
289
+ "color": {
290
+ "$type": "color",
291
+ "$value": "{tanrei.sys.color.secondary-container}",
292
+ "$description": "The track behind the whole row in this variant: one color, the same whichever tab is selected and in every state of every tab. The tonal container's color, as a tonal Button's."
293
+ }
294
+ },
295
+ "container": {
296
+ "color": {
297
+ "$type": "color",
298
+ "$value": {
299
+ "colorSpace": "srgb",
300
+ "components": [
301
+ 0,
302
+ 0,
303
+ 0
304
+ ],
305
+ "alpha": 0,
306
+ "hex": "#000000"
307
+ },
308
+ "$extensions": {
309
+ "dev.tanrei.derive": {
310
+ "fixed": "A tab has no fill of its own; the track shows through."
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "label": {
316
+ "color": {
317
+ "$type": "color",
318
+ "$value": "{tanrei.sys.color.on-secondary-container}",
319
+ "$description": "A tab's label on the track."
320
+ }
321
+ },
322
+ "icon": {
323
+ "color": {
324
+ "$type": "color",
325
+ "$value": "{tanrei.sys.color.on-secondary-container}"
326
+ }
327
+ },
328
+ "covered-label": {
329
+ "color": {
330
+ "$type": "color",
331
+ "$value": "{tanrei.sys.color.on-primary}",
332
+ "$description": "The label of a tab that is not selected where the active indicator covers it, as the indicator slides across it to another tab."
333
+ }
334
+ },
335
+ "covered-icon": {
336
+ "color": {
337
+ "$type": "color",
338
+ "$value": "{tanrei.sys.color.on-primary}",
339
+ "$description": "The icon of a tab that is not selected where the active indicator covers it on its way across."
340
+ }
341
+ },
342
+ "active-indicator": {
343
+ "color": {
344
+ "$type": "color",
345
+ "$value": {
346
+ "colorSpace": "srgb",
347
+ "components": [
348
+ 0,
349
+ 0,
350
+ 0
351
+ ],
352
+ "alpha": 0,
353
+ "hex": "#000000"
354
+ },
355
+ "$extensions": {
356
+ "dev.tanrei.derive": {
357
+ "fixed": "A tab that is not selected draws no indicator."
358
+ }
359
+ }
360
+ },
361
+ "thickness": {
362
+ "$type": "dimension",
363
+ "$value": {
364
+ "value": 3,
365
+ "unit": "px"
366
+ },
367
+ "$description": "Read by no behaviour of this revision: the line it measured is now the underline (underline.thickness). It stays so that the platforms still lagging behind the revision keep building and keep drawing their line; remove it in the commit that brings the last of them up to date.",
368
+ "$extensions": {
369
+ "dev.tanrei.derive": {
370
+ "fn": "mul",
371
+ "of": "{tanrei.dial.stroke.unit}",
372
+ "by": 3
373
+ }
374
+ }
375
+ },
376
+ "shape": {
377
+ "$type": "dimension",
378
+ "$value": "{tanrei.sys.shape.corner.full}",
379
+ "$description": "The radius of the active indicator's four corners, at most half its height: full makes it a capsule, and a circle where it is as wide as it is tall."
380
+ }
381
+ },
382
+ "underline": {
383
+ "color": {
384
+ "$type": "color",
385
+ "$value": {
386
+ "colorSpace": "srgb",
387
+ "components": [
388
+ 0,
389
+ 0,
390
+ 0
391
+ ],
392
+ "alpha": 0,
393
+ "hex": "#000000"
394
+ },
395
+ "$extensions": {
396
+ "dev.tanrei.derive": {
397
+ "fixed": "A tab that is not selected draws no underline."
398
+ }
399
+ }
400
+ },
401
+ "thickness": {
402
+ "$type": "dimension",
403
+ "$value": {
404
+ "value": 3,
405
+ "unit": "px"
406
+ },
407
+ "$description": "The underline's thickness in this variant. Primary's is heavier than secondary's, so that two rows of underlined tabs on one screen read as main views and sub-views even where their colors are the same.",
408
+ "$extensions": {
409
+ "dev.tanrei.derive": {
410
+ "fn": "mul",
411
+ "of": "{tanrei.dial.stroke.unit}",
412
+ "by": 3
413
+ }
414
+ }
415
+ },
416
+ "shape": {
417
+ "$type": "dimension",
418
+ "$value": "{tanrei.sys.shape.corner.extra-small}",
419
+ "$description": "The radius of the underline's corners that face away from the divider. Primary's heavier line is rounded on top; secondary's stays square."
420
+ }
421
+ },
422
+ "state-layer": {
423
+ "color": {
424
+ "$type": "color",
425
+ "$value": "{tanrei.comp.tabs.primary.label.color}",
426
+ "$description": "The color hover, focus and press mix into a tab: its label's color."
427
+ }
428
+ },
429
+ "selected": {
430
+ "container": {
431
+ "color": {
432
+ "$type": "color",
433
+ "$value": {
434
+ "colorSpace": "srgb",
435
+ "components": [
436
+ 0,
437
+ 0,
438
+ 0
439
+ ],
440
+ "alpha": 0,
441
+ "hex": "#000000"
442
+ },
443
+ "$extensions": {
444
+ "dev.tanrei.derive": {
445
+ "fixed": "A selected tab has no fill of its own; the active indicator shows the selection."
446
+ }
447
+ }
448
+ }
449
+ },
450
+ "label": {
451
+ "color": {
452
+ "$type": "color",
453
+ "$value": "{tanrei.sys.color.on-secondary-container}",
454
+ "$description": "The selected tab's label outside the active indicator, on the track: seen while the indicator is on its way or follows a finger, and wherever a layer's indicator does not cover the label."
455
+ }
456
+ },
457
+ "icon": {
458
+ "color": {
459
+ "$type": "color",
460
+ "$value": "{tanrei.sys.color.on-secondary-container}"
461
+ }
462
+ },
463
+ "covered-label": {
464
+ "color": {
465
+ "$type": "color",
466
+ "$value": "{tanrei.sys.color.on-primary}",
467
+ "$description": "The selected tab's label where the active indicator covers it: all of it once the indicator has landed."
468
+ }
469
+ },
470
+ "covered-icon": {
471
+ "color": {
472
+ "$type": "color",
473
+ "$value": "{tanrei.sys.color.on-primary}"
474
+ }
475
+ },
476
+ "active-indicator": {
477
+ "color": {
478
+ "$type": "color",
479
+ "$value": "{tanrei.sys.color.primary}",
480
+ "$description": "The active indicator of primary tabs: the filled color, the strongest mark on the track."
481
+ }
482
+ },
483
+ "underline": {
484
+ "color": {
485
+ "$type": "color",
486
+ "$value": {
487
+ "colorSpace": "srgb",
488
+ "components": [
489
+ 0,
490
+ 0,
491
+ 0
492
+ ],
493
+ "alpha": 0,
494
+ "hex": "#000000"
495
+ },
496
+ "$extensions": {
497
+ "dev.tanrei.derive": {
498
+ "fixed": "The default system marks the selection with the active indicator alone and draws no line; a layer that wants the line gives this a color."
499
+ }
500
+ }
501
+ }
502
+ },
503
+ "state-layer": {
504
+ "color": {
505
+ "$type": "color",
506
+ "$value": "{tanrei.comp.tabs.primary.selected.label.color}",
507
+ "$description": "The color hover, focus and press mix into the selected tab."
508
+ }
509
+ }
510
+ }
511
+ },
512
+ "secondary": {
513
+ "track": {
514
+ "color": {
515
+ "$type": "color",
516
+ "$value": "{tanrei.sys.color.secondary-container}",
517
+ "$description": "The track behind the whole row in this variant: one color, the same whichever tab is selected and in every state of every tab. The tonal container's color, as a tonal Button's."
518
+ }
519
+ },
520
+ "container": {
521
+ "color": {
522
+ "$type": "color",
523
+ "$value": {
524
+ "colorSpace": "srgb",
525
+ "components": [
526
+ 0,
527
+ 0,
528
+ 0
529
+ ],
530
+ "alpha": 0,
531
+ "hex": "#000000"
532
+ },
533
+ "$extensions": {
534
+ "dev.tanrei.derive": {
535
+ "fixed": "A tab has no fill of its own; the track shows through."
536
+ }
537
+ }
538
+ }
539
+ },
540
+ "label": {
541
+ "color": {
542
+ "$type": "color",
543
+ "$value": "{tanrei.sys.color.on-secondary-container}",
544
+ "$description": "A tab's label on the track."
545
+ }
546
+ },
547
+ "icon": {
548
+ "color": {
549
+ "$type": "color",
550
+ "$value": "{tanrei.sys.color.on-secondary-container}"
551
+ }
552
+ },
553
+ "covered-label": {
554
+ "color": {
555
+ "$type": "color",
556
+ "$value": "{tanrei.sys.color.on-secondary}",
557
+ "$description": "The label of a tab that is not selected where the active indicator covers it, as the indicator slides across it to another tab."
558
+ }
559
+ },
560
+ "covered-icon": {
561
+ "color": {
562
+ "$type": "color",
563
+ "$value": "{tanrei.sys.color.on-secondary}",
564
+ "$description": "The icon of a tab that is not selected where the active indicator covers it on its way across."
565
+ }
566
+ },
567
+ "active-indicator": {
568
+ "color": {
569
+ "$type": "color",
570
+ "$value": {
571
+ "colorSpace": "srgb",
572
+ "components": [
573
+ 0,
574
+ 0,
575
+ 0
576
+ ],
577
+ "alpha": 0,
578
+ "hex": "#000000"
579
+ },
580
+ "$extensions": {
581
+ "dev.tanrei.derive": {
582
+ "fixed": "A tab that is not selected draws no indicator."
583
+ }
584
+ }
585
+ },
586
+ "thickness": {
587
+ "$type": "dimension",
588
+ "$value": "{tanrei.sys.border.thick}",
589
+ "$description": "Read by no behaviour of this revision: the line it measured is now the underline (underline.thickness). It stays so that the platforms still lagging behind the revision keep building and keep drawing their line; remove it in the commit that brings the last of them up to date."
590
+ },
591
+ "shape": {
592
+ "$type": "dimension",
593
+ "$value": "{tanrei.sys.shape.corner.full}",
594
+ "$description": "The radius of the active indicator's four corners, at most half its height: full makes it a capsule, and a circle where it is as wide as it is tall."
595
+ }
596
+ },
597
+ "underline": {
598
+ "color": {
599
+ "$type": "color",
600
+ "$value": {
601
+ "colorSpace": "srgb",
602
+ "components": [
603
+ 0,
604
+ 0,
605
+ 0
606
+ ],
607
+ "alpha": 0,
608
+ "hex": "#000000"
609
+ },
610
+ "$extensions": {
611
+ "dev.tanrei.derive": {
612
+ "fixed": "A tab that is not selected draws no underline."
613
+ }
614
+ }
615
+ },
616
+ "thickness": {
617
+ "$type": "dimension",
618
+ "$value": "{tanrei.sys.border.thick}",
619
+ "$description": "The underline's thickness in this variant."
620
+ },
621
+ "shape": {
622
+ "$type": "dimension",
623
+ "$value": "{tanrei.sys.shape.corner.none}",
624
+ "$description": "The radius of the underline's corners that face away from the divider."
625
+ }
626
+ },
627
+ "state-layer": {
628
+ "color": {
629
+ "$type": "color",
630
+ "$value": "{tanrei.comp.tabs.secondary.label.color}",
631
+ "$description": "The color hover, focus and press mix into a tab: its label's color."
632
+ }
633
+ },
634
+ "selected": {
635
+ "container": {
636
+ "color": {
637
+ "$type": "color",
638
+ "$value": {
639
+ "colorSpace": "srgb",
640
+ "components": [
641
+ 0,
642
+ 0,
643
+ 0
644
+ ],
645
+ "alpha": 0,
646
+ "hex": "#000000"
647
+ },
648
+ "$extensions": {
649
+ "dev.tanrei.derive": {
650
+ "fixed": "A selected tab has no fill of its own; the active indicator shows the selection."
651
+ }
652
+ }
653
+ }
654
+ },
655
+ "label": {
656
+ "color": {
657
+ "$type": "color",
658
+ "$value": "{tanrei.sys.color.on-secondary-container}",
659
+ "$description": "The selected tab's label outside the active indicator, on the track: seen while the indicator is on its way or follows a finger, and wherever a layer's indicator does not cover the label."
660
+ }
661
+ },
662
+ "icon": {
663
+ "color": {
664
+ "$type": "color",
665
+ "$value": "{tanrei.sys.color.on-secondary-container}"
666
+ }
667
+ },
668
+ "covered-label": {
669
+ "color": {
670
+ "$type": "color",
671
+ "$value": "{tanrei.sys.color.on-secondary}",
672
+ "$description": "The selected tab's label where the active indicator covers it: all of it once the indicator has landed."
673
+ }
674
+ },
675
+ "covered-icon": {
676
+ "color": {
677
+ "$type": "color",
678
+ "$value": "{tanrei.sys.color.on-secondary}"
679
+ }
680
+ },
681
+ "active-indicator": {
682
+ "color": {
683
+ "$type": "color",
684
+ "$value": "{tanrei.sys.color.secondary}",
685
+ "$description": "The active indicator of secondary tabs: one step quieter than primary's, so that a row of sub-views under a row of main views reads as the lesser of the two on the same track."
686
+ }
687
+ },
688
+ "underline": {
689
+ "color": {
690
+ "$type": "color",
691
+ "$value": {
692
+ "colorSpace": "srgb",
693
+ "components": [
694
+ 0,
695
+ 0,
696
+ 0
697
+ ],
698
+ "alpha": 0,
699
+ "hex": "#000000"
700
+ },
701
+ "$extensions": {
702
+ "dev.tanrei.derive": {
703
+ "fixed": "The default system marks the selection with the active indicator alone and draws no line; a layer that wants the line gives this a color."
704
+ }
705
+ }
706
+ }
707
+ },
708
+ "state-layer": {
709
+ "color": {
710
+ "$type": "color",
711
+ "$value": "{tanrei.comp.tabs.secondary.selected.label.color}",
712
+ "$description": "The color hover, focus and press mix into the selected tab."
713
+ }
714
+ }
715
+ }
716
+ },
717
+ "tonal": {
718
+ "track": {
719
+ "color": {
720
+ "$type": "color",
721
+ "$value": "{tanrei.sys.color.secondary-container}",
722
+ "$description": "The track behind the whole row in this variant: the tonal container's color, as primary's and secondary's, so that the three variants are told apart by the active indicator alone. Drawn while the row's track is on."
723
+ }
724
+ },
725
+ "container": {
726
+ "color": {
727
+ "$type": "color",
728
+ "$value": {
729
+ "colorSpace": "srgb",
730
+ "components": [
731
+ 0,
732
+ 0,
733
+ 0
734
+ ],
735
+ "alpha": 0,
736
+ "hex": "#000000"
737
+ },
738
+ "$extensions": {
739
+ "dev.tanrei.derive": {
740
+ "fixed": "A tab has no fill of its own; the track, or the surface the row stands on, shows through."
741
+ }
742
+ }
743
+ }
744
+ },
745
+ "label": {
746
+ "color": {
747
+ "$type": "color",
748
+ "$value": "{tanrei.sys.color.on-surface-variant}",
749
+ "$description": "A tab's label: the color of secondary text, which is held on the track and on every surface a row without a track may stand on. It is quieter than the selected tab's label, so that the selection is told by the label as well as by the indicator's layer."
750
+ }
751
+ },
752
+ "icon": {
753
+ "color": {
754
+ "$type": "color",
755
+ "$value": "{tanrei.sys.color.on-surface-variant}"
756
+ }
757
+ },
758
+ "covered-label": {
759
+ "color": {
760
+ "$type": "color",
761
+ "$value": "{tanrei.sys.color.on-secondary-container}",
762
+ "$description": "The label of a tab that is not selected where the active indicator covers it, as the indicator slides across it to another tab or is dragged over it."
763
+ }
764
+ },
765
+ "covered-icon": {
766
+ "color": {
767
+ "$type": "color",
768
+ "$value": "{tanrei.sys.color.on-secondary-container}",
769
+ "$description": "The icon of a tab that is not selected where the active indicator covers it on its way across."
770
+ }
771
+ },
772
+ "active-indicator": {
773
+ "color": {
774
+ "$type": "color",
775
+ "$value": {
776
+ "colorSpace": "srgb",
777
+ "components": [
778
+ 0,
779
+ 0,
780
+ 0
781
+ ],
782
+ "alpha": 0,
783
+ "hex": "#000000"
784
+ },
785
+ "$extensions": {
786
+ "dev.tanrei.derive": {
787
+ "fixed": "A tab that is not selected draws no indicator."
788
+ }
789
+ }
790
+ },
791
+ "thickness": {
792
+ "$type": "dimension",
793
+ "$value": "{tanrei.sys.border.thick}",
794
+ "$description": "Read by no behaviour of this revision; it is here because the platforms still drawing the earlier revision read it for every variant. Remove it with primary's and secondary's."
795
+ },
796
+ "shape": {
797
+ "$type": "dimension",
798
+ "$value": "{tanrei.sys.shape.corner.full}",
799
+ "$description": "The radius of the active indicator's four corners, at most half its height: full makes it a capsule, and a circle where it is as wide as it is tall."
800
+ }
801
+ },
802
+ "underline": {
803
+ "color": {
804
+ "$type": "color",
805
+ "$value": {
806
+ "colorSpace": "srgb",
807
+ "components": [
808
+ 0,
809
+ 0,
810
+ 0
811
+ ],
812
+ "alpha": 0,
813
+ "hex": "#000000"
814
+ },
815
+ "$extensions": {
816
+ "dev.tanrei.derive": {
817
+ "fixed": "A tab that is not selected draws no underline."
818
+ }
819
+ }
820
+ },
821
+ "thickness": {
822
+ "$type": "dimension",
823
+ "$value": "{tanrei.sys.border.thick}",
824
+ "$description": "The underline's thickness in this variant: secondary's."
825
+ },
826
+ "shape": {
827
+ "$type": "dimension",
828
+ "$value": "{tanrei.sys.shape.corner.none}",
829
+ "$description": "The radius of the underline's corners that face away from the divider."
830
+ }
831
+ },
832
+ "state-layer": {
833
+ "color": {
834
+ "$type": "color",
835
+ "$value": "{tanrei.comp.tabs.tonal.label.color}",
836
+ "$description": "The color hover, focus and press mix into a tab: its label's color."
837
+ }
838
+ },
839
+ "selected": {
840
+ "container": {
841
+ "color": {
842
+ "$type": "color",
843
+ "$value": {
844
+ "colorSpace": "srgb",
845
+ "components": [
846
+ 0,
847
+ 0,
848
+ 0
849
+ ],
850
+ "alpha": 0,
851
+ "hex": "#000000"
852
+ },
853
+ "$extensions": {
854
+ "dev.tanrei.derive": {
855
+ "fixed": "A selected tab has no fill of its own; the active indicator shows the selection."
856
+ }
857
+ }
858
+ }
859
+ },
860
+ "label": {
861
+ "color": {
862
+ "$type": "color",
863
+ "$value": "{tanrei.sys.color.on-surface-variant}",
864
+ "$description": "The selected tab's label outside the active indicator: seen while the indicator is on its way or follows a finger. It stays the quiet color there, so that the darker label is always the one under the indicator."
865
+ }
866
+ },
867
+ "icon": {
868
+ "color": {
869
+ "$type": "color",
870
+ "$value": "{tanrei.sys.color.on-surface-variant}"
871
+ }
872
+ },
873
+ "covered-label": {
874
+ "color": {
875
+ "$type": "color",
876
+ "$value": "{tanrei.sys.color.on-secondary-container}",
877
+ "$description": "The selected tab's label where the active indicator covers it — all of it once the indicator has landed: the content color of the tonal container, darker than the labels around it."
878
+ }
879
+ },
880
+ "covered-icon": {
881
+ "color": {
882
+ "$type": "color",
883
+ "$value": "{tanrei.sys.color.on-secondary-container}"
884
+ }
885
+ },
886
+ "active-indicator": {
887
+ "color": {
888
+ "$type": "color",
889
+ "$value": "{tanrei.sys.color.secondary-container}",
890
+ "$description": "The active indicator of tonal tabs: the quiet selection. The role named here is the tonal container's; the default system does not draw that tone — it values this token as a layer of the selected tab's own content color (selected.state-layer.color at 16%, twice the hover layer: tokens/systems/tanrei.system.json), so that the indicator is seen by the same step on the track and on whatever surface a row without a track stands on. A design system that sets this token draws what it sets."
891
+ }
892
+ },
893
+ "underline": {
894
+ "color": {
895
+ "$type": "color",
896
+ "$value": {
897
+ "colorSpace": "srgb",
898
+ "components": [
899
+ 0,
900
+ 0,
901
+ 0
902
+ ],
903
+ "alpha": 0,
904
+ "hex": "#000000"
905
+ },
906
+ "$extensions": {
907
+ "dev.tanrei.derive": {
908
+ "fixed": "The default system marks the selection with the active indicator alone and draws no line; a layer that wants the line gives this a color."
909
+ }
910
+ }
911
+ }
912
+ },
913
+ "state-layer": {
914
+ "color": {
915
+ "$type": "color",
916
+ "$value": "{tanrei.comp.tabs.tonal.selected.covered-label.color}",
917
+ "$description": "The color hover, focus and press mix into the selected tab: the color of its content, which is drawn on the indicator. The default system also makes the indicator itself from this color."
918
+ }
919
+ }
920
+ }
921
+ },
922
+ "motion": {
923
+ "transition": {
924
+ "$type": "number",
925
+ "$value": 0,
926
+ "$description": "How a row whose transition the product did not set draws a new selection (TAB-43). slide: the active indicator and the underline slide and resize to the newly selected tab over indicator-duration, the covered colors traveling with them, the two tabs' colors change over state-duration, and a tab scrolled out of view is brought in over indicator-duration. none: the new selection is drawn whole in the frame it is made — nothing travels and nothing fades. Under both a drag across the row and a Tab view's swipe still carry the indicator, because the finger moves it, and hover, focus and press are answered the same. Reduced motion draws none whatever this says. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
927
+ "$extensions": {
928
+ "dev.tanrei.vocabulary": {
929
+ "rationale": "One product lets the indicator of its tabs travel, because the travel says which way the views lie, and another draws every selection at once, because nothing in it moves; and the first still stops the travel on one row, where a thumb that slides beside the content a choice has just changed draws the eye from it. No duration says this: a row that does not travel still animates its hover and its press.",
930
+ "since": "0.1.0"
931
+ },
932
+ "dev.tanrei.enum": {
933
+ "values": [
934
+ "slide",
935
+ "none"
936
+ ]
937
+ },
938
+ "dev.tanrei.derive": {
939
+ "fixed": "A choice of kind; no dial scales it."
940
+ }
941
+ }
942
+ },
943
+ "state-duration": {
944
+ "$type": "duration",
945
+ "$value": "{tanrei.sys.motion.duration.short3}",
946
+ "$description": "How long a tab's colors take to change between states, and how long the active indicator takes to reach the pointer when a drag is taken away from it."
947
+ },
948
+ "state-easing": {
949
+ "$type": "cubicBezier",
950
+ "$value": "{tanrei.sys.motion.easing.standard}"
951
+ },
952
+ "feedback-duration": {
953
+ "$type": "duration",
954
+ "$value": "{tanrei.sys.motion.duration.long1}",
955
+ "$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
956
+ },
957
+ "indicator-duration": {
958
+ "$type": "duration",
959
+ "$value": "{tanrei.sys.motion.spring.standard.default-spatial.duration}",
960
+ "$description": "How long the active indicator and the underline take to slide and resize to the newly selected tab, and to settle on a tab, or return to the selected one, when a drag is released; the covered label and icon follow the indicator over the same time."
961
+ },
962
+ "indicator-easing": {
963
+ "$type": "cubicBezier",
964
+ "$value": "{tanrei.sys.motion.spring.standard.default-spatial.easing}"
965
+ }
966
+ }
967
+ }
968
+ }
969
+ }
970
+ }