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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +57 -0
  3. package/README.md +96 -2
  4. package/bin/tanrei.js +14 -0
  5. package/dist/cli.js +8275 -0
  6. package/dist/studio/THIRD_PARTY_LICENSES.md +1047 -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-DO0QW7yz.js +4 -0
  10. package/dist/studio/assets/index-CmKf0KHF.css +1 -0
  11. package/dist/studio/assets/index-CtN9tpay.js +6232 -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-CbWsDl0D.woff2 +0 -0
  24. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-CFzFAzDo.woff2 +0 -0
  25. package/dist/studio/assets/noto-sans-arabic-arabic-wght-normal-BhzieyvS.woff2 +0 -0
  26. package/dist/studio/assets/noto-sans-jp-0-wght-normal-vN5ykBQF.woff2 +0 -0
  27. package/dist/studio/assets/noto-sans-jp-1-wght-normal-N_EDDt8j.woff2 +0 -0
  28. package/dist/studio/assets/noto-sans-jp-10-wght-normal-ChuiXes4.woff2 +0 -0
  29. package/dist/studio/assets/noto-sans-jp-100-wght-normal-CrE4HD6k.woff2 +0 -0
  30. package/dist/studio/assets/noto-sans-jp-101-wght-normal-DOqEZFXR.woff2 +0 -0
  31. package/dist/studio/assets/noto-sans-jp-102-wght-normal-2gFz4V6e.woff2 +0 -0
  32. package/dist/studio/assets/noto-sans-jp-103-wght-normal-D9RhXU-z.woff2 +0 -0
  33. package/dist/studio/assets/noto-sans-jp-104-wght-normal-OIyZ9iQD.woff2 +0 -0
  34. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CqRQAfnb.woff2 +0 -0
  35. package/dist/studio/assets/noto-sans-jp-106-wght-normal-D-PO3jqS.woff2 +0 -0
  36. package/dist/studio/assets/noto-sans-jp-107-wght-normal-DrykTIAp.woff2 +0 -0
  37. package/dist/studio/assets/noto-sans-jp-108-wght-normal-DijBe27A.woff2 +0 -0
  38. package/dist/studio/assets/noto-sans-jp-109-wght-normal-DaJwqT__.woff2 +0 -0
  39. package/dist/studio/assets/noto-sans-jp-11-wght-normal-DdkFqF_o.woff2 +0 -0
  40. package/dist/studio/assets/noto-sans-jp-110-wght-normal-bhh2FQQH.woff2 +0 -0
  41. package/dist/studio/assets/noto-sans-jp-111-wght-normal-CuGzYIdC.woff2 +0 -0
  42. package/dist/studio/assets/noto-sans-jp-112-wght-normal-DdhK_1vk.woff2 +0 -0
  43. package/dist/studio/assets/noto-sans-jp-113-wght-normal-hxVHS2d4.woff2 +0 -0
  44. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DUzjAsrP.woff2 +0 -0
  45. package/dist/studio/assets/noto-sans-jp-115-wght-normal-BiZ4-5rz.woff2 +0 -0
  46. package/dist/studio/assets/noto-sans-jp-116-wght-normal-DkZAcxAY.woff2 +0 -0
  47. package/dist/studio/assets/noto-sans-jp-117-wght-normal-CLJPD2y0.woff2 +0 -0
  48. package/dist/studio/assets/noto-sans-jp-118-wght-normal-D8DI_HXJ.woff2 +0 -0
  49. package/dist/studio/assets/noto-sans-jp-119-wght-normal-BAB3pFaH.woff2 +0 -0
  50. package/dist/studio/assets/noto-sans-jp-12-wght-normal-K36fA5_o.woff2 +0 -0
  51. package/dist/studio/assets/noto-sans-jp-13-wght-normal-BnYizWno.woff2 +0 -0
  52. package/dist/studio/assets/noto-sans-jp-14-wght-normal-BP4IgVC-.woff2 +0 -0
  53. package/dist/studio/assets/noto-sans-jp-15-wght-normal-DyhWcoYF.woff2 +0 -0
  54. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CXsQLI2j.woff2 +0 -0
  55. package/dist/studio/assets/noto-sans-jp-17-wght-normal-C8FU1ZJ4.woff2 +0 -0
  56. package/dist/studio/assets/noto-sans-jp-18-wght-normal-Cl0IKBVh.woff2 +0 -0
  57. package/dist/studio/assets/noto-sans-jp-19-wght-normal-D3D3JUJm.woff2 +0 -0
  58. package/dist/studio/assets/noto-sans-jp-2-wght-normal-CGu8NhtQ.woff2 +0 -0
  59. package/dist/studio/assets/noto-sans-jp-20-wght-normal-DxsoeWSt.woff2 +0 -0
  60. package/dist/studio/assets/noto-sans-jp-21-wght-normal-CuNsexW5.woff2 +0 -0
  61. package/dist/studio/assets/noto-sans-jp-22-wght-normal-DVX3OFQM.woff2 +0 -0
  62. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BPFuo_yH.woff2 +0 -0
  63. package/dist/studio/assets/noto-sans-jp-24-wght-normal-D85Fj66x.woff2 +0 -0
  64. package/dist/studio/assets/noto-sans-jp-25-wght-normal-DdOOVuSz.woff2 +0 -0
  65. package/dist/studio/assets/noto-sans-jp-26-wght-normal-BRB1GnUq.woff2 +0 -0
  66. package/dist/studio/assets/noto-sans-jp-27-wght-normal-BxZFF8JU.woff2 +0 -0
  67. package/dist/studio/assets/noto-sans-jp-28-wght-normal-VUlviaYI.woff2 +0 -0
  68. package/dist/studio/assets/noto-sans-jp-29-wght-normal-CalQqRwB.woff2 +0 -0
  69. package/dist/studio/assets/noto-sans-jp-3-wght-normal-cncaCaM8.woff2 +0 -0
  70. package/dist/studio/assets/noto-sans-jp-30-wght-normal-CHLg85G9.woff2 +0 -0
  71. package/dist/studio/assets/noto-sans-jp-31-wght-normal-BUoF9dl9.woff2 +0 -0
  72. package/dist/studio/assets/noto-sans-jp-32-wght-normal-C5ZTiBNw.woff2 +0 -0
  73. package/dist/studio/assets/noto-sans-jp-33-wght-normal-C6XNJsfA.woff2 +0 -0
  74. package/dist/studio/assets/noto-sans-jp-34-wght-normal-DHkM837w.woff2 +0 -0
  75. package/dist/studio/assets/noto-sans-jp-35-wght-normal-QMtEjDIl.woff2 +0 -0
  76. package/dist/studio/assets/noto-sans-jp-36-wght-normal-CUyF0GqZ.woff2 +0 -0
  77. package/dist/studio/assets/noto-sans-jp-37-wght-normal-EORmNjxA.woff2 +0 -0
  78. package/dist/studio/assets/noto-sans-jp-38-wght-normal-C8ERbMNG.woff2 +0 -0
  79. package/dist/studio/assets/noto-sans-jp-39-wght-normal-ChUfpJbl.woff2 +0 -0
  80. package/dist/studio/assets/noto-sans-jp-4-wght-normal-DtWqs3EP.woff2 +0 -0
  81. package/dist/studio/assets/noto-sans-jp-40-wght-normal-MgP8JEEE.woff2 +0 -0
  82. package/dist/studio/assets/noto-sans-jp-41-wght-normal-3ctF9abM.woff2 +0 -0
  83. package/dist/studio/assets/noto-sans-jp-42-wght-normal-CQtg6UZe.woff2 +0 -0
  84. package/dist/studio/assets/noto-sans-jp-43-wght-normal-D1Pmm9aG.woff2 +0 -0
  85. package/dist/studio/assets/noto-sans-jp-44-wght-normal-Cp9dHeXI.woff2 +0 -0
  86. package/dist/studio/assets/noto-sans-jp-45-wght-normal-D2b1osBj.woff2 +0 -0
  87. package/dist/studio/assets/noto-sans-jp-46-wght-normal-CGIA-Vlo.woff2 +0 -0
  88. package/dist/studio/assets/noto-sans-jp-47-wght-normal-C4EEGqDS.woff2 +0 -0
  89. package/dist/studio/assets/noto-sans-jp-48-wght-normal-D2iBztXa.woff2 +0 -0
  90. package/dist/studio/assets/noto-sans-jp-49-wght-normal-DxqRVik_.woff2 +0 -0
  91. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CFiyVtll.woff2 +0 -0
  92. package/dist/studio/assets/noto-sans-jp-50-wght-normal-CMseszwo.woff2 +0 -0
  93. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqc-9wfi.woff2 +0 -0
  94. package/dist/studio/assets/noto-sans-jp-52-wght-normal-BVLZTbqC.woff2 +0 -0
  95. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DTyNOJaY.woff2 +0 -0
  96. package/dist/studio/assets/noto-sans-jp-54-wght-normal-_mxGq_et.woff2 +0 -0
  97. package/dist/studio/assets/noto-sans-jp-55-wght-normal-Bvndync8.woff2 +0 -0
  98. package/dist/studio/assets/noto-sans-jp-56-wght-normal-0MmMqroR.woff2 +0 -0
  99. package/dist/studio/assets/noto-sans-jp-57-wght-normal-BdRnjDYs.woff2 +0 -0
  100. package/dist/studio/assets/noto-sans-jp-58-wght-normal-BYGgVeN_.woff2 +0 -0
  101. package/dist/studio/assets/noto-sans-jp-59-wght-normal-Bdv8mdje.woff2 +0 -0
  102. package/dist/studio/assets/noto-sans-jp-6-wght-normal-M-pWkj3J.woff2 +0 -0
  103. package/dist/studio/assets/noto-sans-jp-60-wght-normal-DC6FEqsM.woff2 +0 -0
  104. package/dist/studio/assets/noto-sans-jp-61-wght-normal-CYIuK5Lr.woff2 +0 -0
  105. package/dist/studio/assets/noto-sans-jp-62-wght-normal-DeHy8p7w.woff2 +0 -0
  106. package/dist/studio/assets/noto-sans-jp-63-wght-normal-B4M6eMmD.woff2 +0 -0
  107. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DLyOXBrC.woff2 +0 -0
  108. package/dist/studio/assets/noto-sans-jp-65-wght-normal-X7SsA1bs.woff2 +0 -0
  109. package/dist/studio/assets/noto-sans-jp-66-wght-normal-VScDM-_N.woff2 +0 -0
  110. package/dist/studio/assets/noto-sans-jp-67-wght-normal-Dg2D3DZB.woff2 +0 -0
  111. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BB0AR8UN.woff2 +0 -0
  112. package/dist/studio/assets/noto-sans-jp-69-wght-normal-CucwpUnQ.woff2 +0 -0
  113. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DzOz8Ryd.woff2 +0 -0
  114. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BZId6-Tb.woff2 +0 -0
  115. package/dist/studio/assets/noto-sans-jp-71-wght-normal-CzPU0NF7.woff2 +0 -0
  116. package/dist/studio/assets/noto-sans-jp-72-wght-normal-DrNRYXnT.woff2 +0 -0
  117. package/dist/studio/assets/noto-sans-jp-73-wght-normal-DF2BdR6a.woff2 +0 -0
  118. package/dist/studio/assets/noto-sans-jp-74-wght-normal-BMlOw_5y.woff2 +0 -0
  119. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DKq84hLG.woff2 +0 -0
  120. package/dist/studio/assets/noto-sans-jp-76-wght-normal-CTb-2MFr.woff2 +0 -0
  121. package/dist/studio/assets/noto-sans-jp-77-wght-normal-DfIVi-wf.woff2 +0 -0
  122. package/dist/studio/assets/noto-sans-jp-78-wght-normal-_-z1Vrir.woff2 +0 -0
  123. package/dist/studio/assets/noto-sans-jp-79-wght-normal-D8kGlXda.woff2 +0 -0
  124. package/dist/studio/assets/noto-sans-jp-8-wght-normal-BfWoBb3q.woff2 +0 -0
  125. package/dist/studio/assets/noto-sans-jp-80-wght-normal-BOEztZwY.woff2 +0 -0
  126. package/dist/studio/assets/noto-sans-jp-81-wght-normal-h5VC8QpU.woff2 +0 -0
  127. package/dist/studio/assets/noto-sans-jp-82-wght-normal-DJ4QkvX0.woff2 +0 -0
  128. package/dist/studio/assets/noto-sans-jp-83-wght-normal-DANtuAZG.woff2 +0 -0
  129. package/dist/studio/assets/noto-sans-jp-84-wght-normal-DjZ8Sp6m.woff2 +0 -0
  130. package/dist/studio/assets/noto-sans-jp-85-wght-normal-kpU7kbMF.woff2 +0 -0
  131. package/dist/studio/assets/noto-sans-jp-86-wght-normal-DRPTa-bf.woff2 +0 -0
  132. package/dist/studio/assets/noto-sans-jp-87-wght-normal-CFM472wD.woff2 +0 -0
  133. package/dist/studio/assets/noto-sans-jp-88-wght-normal-2rLLwelj.woff2 +0 -0
  134. package/dist/studio/assets/noto-sans-jp-89-wght-normal-DUIF9ybW.woff2 +0 -0
  135. package/dist/studio/assets/noto-sans-jp-9-wght-normal-WLs1HgG6.woff2 +0 -0
  136. package/dist/studio/assets/noto-sans-jp-90-wght-normal-B0n_tL-y.woff2 +0 -0
  137. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BishDeFy.woff2 +0 -0
  138. package/dist/studio/assets/noto-sans-jp-92-wght-normal-DoIdukLp.woff2 +0 -0
  139. package/dist/studio/assets/noto-sans-jp-93-wght-normal-DMCycan_.woff2 +0 -0
  140. package/dist/studio/assets/noto-sans-jp-94-wght-normal-DlyoTk-A.woff2 +0 -0
  141. package/dist/studio/assets/noto-sans-jp-95-wght-normal-D0L1aiGf.woff2 +0 -0
  142. package/dist/studio/assets/noto-sans-jp-96-wght-normal-CjJ0kYkQ.woff2 +0 -0
  143. package/dist/studio/assets/noto-sans-jp-97-wght-normal-CJ8uP04H.woff2 +0 -0
  144. package/dist/studio/assets/noto-sans-jp-98-wght-normal-CjEDrQIY.woff2 +0 -0
  145. package/dist/studio/assets/noto-sans-jp-99-wght-normal-DaQ3GEVf.woff2 +0 -0
  146. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BbS1Q_ZO.woff2 +0 -0
  147. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-IaSo_s9d.woff2 +0 -0
  148. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-Bnnzbixe.woff2 +0 -0
  149. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CjvP4Ahz.woff2 +0 -0
  150. package/dist/studio/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 +0 -0
  151. package/dist/studio/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 +0 -0
  152. package/dist/studio/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 +0 -0
  153. package/dist/studio/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 +0 -0
  154. package/dist/studio/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
  155. package/dist/studio/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
  156. package/dist/studio/assets/roboto-math-wght-normal-4a3xuzGk.woff2 +0 -0
  157. package/dist/studio/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 +0 -0
  158. package/dist/studio/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 +0 -0
  159. package/dist/studio/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 +0 -0
  160. package/dist/studio/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 +0 -0
  161. package/dist/studio/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 +0 -0
  162. package/dist/studio/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 +0 -0
  163. package/dist/studio/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 +0 -0
  164. package/dist/studio/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 +0 -0
  165. package/dist/studio/assets/shared-DaQcXrQr.js +1 -0
  166. package/dist/studio/assets/shell-BX8EJGse.js +1 -0
  167. package/dist/studio/assets/swift-BAKAYbPz.js +1 -0
  168. package/dist/studio/assets/typescript-TrpEWIdY.js +1 -0
  169. package/dist/studio/index.html +33 -0
  170. package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
  171. package/dist/vocabulary/packages/web/src/generated/glyphs.json +189 -0
  172. package/dist/vocabulary/tanrei.config.json +24 -0
  173. package/dist/vocabulary/tokens/comp/accordion.tokens.json +459 -0
  174. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +308 -0
  175. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
  176. package/dist/vocabulary/tokens/comp/avatar.tokens.json +199 -0
  177. package/dist/vocabulary/tokens/comp/badge.tokens.json +101 -0
  178. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +326 -0
  179. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
  180. package/dist/vocabulary/tokens/comp/button-group.tokens.json +140 -0
  181. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +810 -0
  182. package/dist/vocabulary/tokens/comp/button.tokens.json +1355 -0
  183. package/dist/vocabulary/tokens/comp/calendar.tokens.json +500 -0
  184. package/dist/vocabulary/tokens/comp/callout.tokens.json +510 -0
  185. package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
  186. package/dist/vocabulary/tokens/comp/carousel.tokens.json +469 -0
  187. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +343 -0
  188. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +587 -0
  189. package/dist/vocabulary/tokens/comp/chip.tokens.json +716 -0
  190. package/dist/vocabulary/tokens/comp/code-block.tokens.json +473 -0
  191. package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
  192. package/dist/vocabulary/tokens/comp/combobox.tokens.json +756 -0
  193. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +56 -0
  194. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +797 -0
  195. package/dist/vocabulary/tokens/comp/description-list.tokens.json +203 -0
  196. package/dist/vocabulary/tokens/comp/dialog.tokens.json +340 -0
  197. package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
  198. package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
  199. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +103 -0
  200. package/dist/vocabulary/tokens/comp/empty-state.tokens.json +154 -0
  201. package/dist/vocabulary/tokens/comp/field-group.tokens.json +211 -0
  202. package/dist/vocabulary/tokens/comp/field.tokens.json +308 -0
  203. package/dist/vocabulary/tokens/comp/figure.tokens.json +269 -0
  204. package/dist/vocabulary/tokens/comp/file-item.tokens.json +445 -0
  205. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +282 -0
  206. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +30 -0
  207. package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
  208. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +327 -0
  209. package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
  210. package/dist/vocabulary/tokens/comp/input-box.tokens.json +1073 -0
  211. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +194 -0
  212. package/dist/vocabulary/tokens/comp/link-card.tokens.json +321 -0
  213. package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
  214. package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
  215. package/dist/vocabulary/tokens/comp/list.tokens.json +328 -0
  216. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +218 -0
  217. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +418 -0
  218. package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
  219. package/dist/vocabulary/tokens/comp/menu.tokens.json +1124 -0
  220. package/dist/vocabulary/tokens/comp/menubar.tokens.json +279 -0
  221. package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
  222. package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
  223. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +448 -0
  224. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +1126 -0
  225. package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
  226. package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
  227. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +246 -0
  228. package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
  229. package/dist/vocabulary/tokens/comp/pagination.tokens.json +233 -0
  230. package/dist/vocabulary/tokens/comp/popover.tokens.json +363 -0
  231. package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
  232. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +218 -0
  233. package/dist/vocabulary/tokens/comp/prose.tokens.json +283 -0
  234. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +413 -0
  235. package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
  236. package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
  237. package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
  238. package/dist/vocabulary/tokens/comp/search.tokens.json +761 -0
  239. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +414 -0
  240. package/dist/vocabulary/tokens/comp/select.tokens.json +687 -0
  241. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +332 -0
  242. package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
  243. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +114 -0
  244. package/dist/vocabulary/tokens/comp/slider.tokens.json +436 -0
  245. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1160 -0
  246. package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
  247. package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
  248. package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
  249. package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
  250. package/dist/vocabulary/tokens/comp/switch.tokens.json +350 -0
  251. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
  252. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +429 -0
  253. package/dist/vocabulary/tokens/comp/table.tokens.json +553 -0
  254. package/dist/vocabulary/tokens/comp/tabs.tokens.json +1058 -0
  255. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +68 -0
  256. package/dist/vocabulary/tokens/comp/tag.tokens.json +551 -0
  257. package/dist/vocabulary/tokens/comp/text-input.tokens.json +96 -0
  258. package/dist/vocabulary/tokens/comp/timeline.tokens.json +239 -0
  259. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +270 -0
  260. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +391 -0
  261. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +478 -0
  262. package/dist/vocabulary/tokens/dial/dial.tokens.json +137 -0
  263. package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
  264. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +388 -0
  265. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
  266. package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
  267. package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
  268. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +279 -0
  269. package/dist/vocabulary/tokens/ref/typeface.tokens.json +116 -0
  270. package/dist/vocabulary/tokens/schema/icon-set.schema.json +82 -0
  271. package/dist/vocabulary/tokens/schema/system.schema.json +859 -0
  272. package/dist/vocabulary/tokens/sys/behavior.tokens.json +184 -0
  273. package/dist/vocabulary/tokens/sys/color.vocabulary.json +58 -0
  274. package/dist/vocabulary/tokens/sys/elevation.tokens.json +362 -0
  275. package/dist/vocabulary/tokens/sys/measure.tokens.json +442 -0
  276. package/dist/vocabulary/tokens/sys/motion.tokens.json +1421 -0
  277. package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
  278. package/dist/vocabulary/tokens/sys/shape.tokens.json +169 -0
  279. package/dist/vocabulary/tokens/sys/space.tokens.json +256 -0
  280. package/dist/vocabulary/tokens/sys/state.tokens.json +83 -0
  281. package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
  282. package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
  283. package/dist/vocabulary/tokens/systems/cupertino.system.json +859 -0
  284. package/dist/vocabulary/tokens/systems/m3-like/comp/fab-menu.tokens.json +499 -0
  285. package/dist/vocabulary/tokens/systems/m3-like.system.json +1181 -0
  286. package/dist/vocabulary/tokens/systems/tanrei.system.json +707 -0
  287. package/dist/vocabulary/tokens/tanrei.resolver.json +400 -0
  288. package/package.json +50 -3
@@ -0,0 +1,165 @@
1
+ {
2
+ "$comment": "How the cupertino preset is measured against the figures Apple publishes in its Human Interface Guidelines. Every reference token in scope is MAPPED to something Tanrei resolves — and is then compared — or listed under a section's `outside` with the reason it lies outside what the preset reproduces. A mapped token that differs and is listed under `findings` is a measured difference awaiting a decision on the preset's value: it counts against the number, and the test fails once it is no longer true. `unpublished` names what cupertino sets for which Apple publishes no figure, so nothing there can be measured.",
3
+ "system": "cupertino",
4
+ "reference": "reference/apple-hig.json",
5
+ "scope": "The control sizes of iOS and iPadOS (and macOS for a pointer), the iOS text styles at the default Dynamic Type size (Large), and the system colors that cupertino's status and accent colors stand for, in the default light and dark appearances.",
6
+ "colors": {
7
+ "$comment": "apple.color.<name> is compared with tanrei.sys.color.<rename[name]> in every scheme `schemes` names, against the appearance of Apple's that scheme stands for. The swatches are Apple's current ones (Color › Specifications › System colors: Default and Increased contrast, in light and dark; the values were updated on June 9, 2025, the page last changed on December 16, 2025, read 2026-11-12). Apple publishes one increased contrast, so Tanrei's medium and high contrast are both compared with it.",
8
+ "schemes": {
9
+ "light": "light",
10
+ "light-medium": "light-increased-contrast",
11
+ "light-high": "light-increased-contrast",
12
+ "dark": "dark",
13
+ "dark-medium": "dark-increased-contrast",
14
+ "dark-high": "dark-increased-contrast"
15
+ },
16
+ "prefix": "apple.color.",
17
+ "rename": {
18
+ "blue": "primary",
19
+ "red": "error",
20
+ "green": "success",
21
+ "orange": "warning",
22
+ "cyan": "info"
23
+ },
24
+ "outside": [
25
+ {
26
+ "ref": "brown",
27
+ "reason": "A system color no Tanrei role stands for: cupertino's colored roles are its accent (blue) and the four statuses."
28
+ },
29
+ {
30
+ "ref": "indigo",
31
+ "reason": "A system color no Tanrei role stands for: cupertino's colored roles are its accent (blue) and the four statuses."
32
+ },
33
+ {
34
+ "ref": "mint",
35
+ "reason": "A system color no Tanrei role stands for: cupertino's colored roles are its accent (blue) and the four statuses."
36
+ },
37
+ {
38
+ "ref": "pink",
39
+ "reason": "A system color no Tanrei role stands for: cupertino's colored roles are its accent (blue) and the four statuses."
40
+ },
41
+ {
42
+ "ref": "purple",
43
+ "reason": "A system color no Tanrei role stands for: cupertino's colored roles are its accent (blue) and the four statuses."
44
+ },
45
+ {
46
+ "ref": "teal",
47
+ "reason": "A system color no Tanrei role stands for: cupertino's colored roles are its accent (blue) and the four statuses."
48
+ },
49
+ {
50
+ "ref": "yellow",
51
+ "reason": "A system color no Tanrei role stands for: cupertino's colored roles are its accent (blue) and the four statuses."
52
+ },
53
+ {
54
+ "ref": "gray*",
55
+ "reason": "Apple publishes the six grays as a ramp, not as roles, and does not publish which gray a background, fill or separator is (its semantic colors are named without values). cupertino's neutral roles cannot be paired with a gray step on Apple's word."
56
+ }
57
+ ]
58
+ },
59
+ "typescale": {
60
+ "$comment": "apple.typescale.<style>-<field> is compared with the Tanrei level `roles` names. An `-emphasized` weight is the level's weight plus its family's `emphasis.*` step. The figures are Typography › iOS, iPadOS Dynamic Type sizes › Large (default) (the page last changed on December 16, 2025, read 2026-11-12).",
61
+ "prefix": "apple.typescale.",
62
+ "roles": {
63
+ "large-title": "display",
64
+ "title-1": "heading-1",
65
+ "title-2": "heading-2",
66
+ "title-3": "heading-3",
67
+ "headline": "heading-4",
68
+ "body": "body-large",
69
+ "callout": "body-callout",
70
+ "subhead": "body-subhead",
71
+ "footnote": "body-small",
72
+ "caption-1": "caption",
73
+ "caption-2": "caption-small"
74
+ },
75
+ "outside": [
76
+ {
77
+ "ref": "*-tracking",
78
+ "reason": "Apple publishes tracking for mockups: \"In a running app, the system font dynamically adjusts tracking at every point size\" (Typography). cupertino names the system font and leaves its letter spacing at 0, so the font's own tracking stands."
79
+ }
80
+ ]
81
+ },
82
+ "values": {
83
+ "$comment": "apple.target.<platform>.<size> is compared with the Tanrei token its rule names.",
84
+ "prefix": "apple.target.",
85
+ "map": [
86
+ {
87
+ "ref": "ios.default",
88
+ "tanrei": "tanrei.sys.target.touch",
89
+ "note": "The least area a press is taken from under a finger."
90
+ },
91
+ {
92
+ "ref": "ios.minimum",
93
+ "tanrei": "tanrei.sys.target.minimum",
94
+ "note": "The least size a control is drawn at."
95
+ },
96
+ {
97
+ "ref": "macos.default",
98
+ "tanrei": "tanrei.sys.target.pointer",
99
+ "note": "The least area a press is taken from under a fine pointer: the Mac's figure."
100
+ }
101
+ ],
102
+ "outside": [
103
+ {
104
+ "ref": "macos.minimum",
105
+ "reason": "Tanrei has one least drawn size for every input (sys.target.minimum); cupertino takes the iOS figure, the larger of the two."
106
+ }
107
+ ]
108
+ },
109
+ "findings": [
110
+ {
111
+ "ref": "apple.typescale.title-3-emphasized-weight",
112
+ "note": "heading-3 400 plus the heading emphasis step 300 is 700; Apple's emphasized Title 3 is Semibold (600). One step serves the heading family, and it is Title 1 and Title 2's (+300): mimicry gap emphasis-per-style."
113
+ },
114
+ {
115
+ "ref": "apple.typescale.headline-emphasized-weight",
116
+ "note": "heading-4 600 plus the heading emphasis step 300 is 900; Apple's emphasized Headline stays Semibold (600). One step serves the heading family: mimicry gap emphasis-per-style."
117
+ }
118
+ ],
119
+ "unpublished": [
120
+ {
121
+ "tanrei": "tanrei.comp.*.close-button.size, tanrei.comp.*.button.size, tanrei.comp.date-time-picker.actions.size",
122
+ "note": "The Human Interface Guidelines publish no size for the buttons a sheet, popover, banner, photo viewer or picker draws itself (Sheets, Popovers, Buttons: control sizes are given for visionOS only), so cupertino keeps the default system's choice: small close buttons and bar controls, medium previous and next controls and picker actions."
123
+ },
124
+ {
125
+ "tanrei": "tanrei.sys.shape.corner.*",
126
+ "note": "The Human Interface Guidelines publish no corner radius for an iOS, iPadOS or macOS control or container (the only figure is visionOS's: an alert's accessory view has a 16 pt corner radius)."
127
+ },
128
+ {
129
+ "tanrei": "tanrei.sys.shape.corner-smoothing",
130
+ "note": "Apple calls its corners continuous and publishes no figure for them; 0.6 is Figma's corner smoothing, not Apple's."
131
+ },
132
+ {
133
+ "tanrei": "tanrei.comp.*.container.height.*",
134
+ "note": "No iOS, iPadOS or macOS control height is published (Buttons gives sizes for visionOS only: mini 28, small 32, regular 44, large 52, extra large 64 pt). Only the target sizes above are."
135
+ },
136
+ {
137
+ "tanrei": "tanrei.sys.elevation.*",
138
+ "note": "No shadow offset, blur or opacity is published."
139
+ },
140
+ {
141
+ "tanrei": "tanrei.comp.*.pressed.opacity",
142
+ "note": "Buttons asks for a press state but publishes no figure for how much a pressed control dims."
143
+ },
144
+ {
145
+ "tanrei": "tanrei.sys.color.* (every role but primary, error, success, warning and info)",
146
+ "note": "Apple's semantic colors (labels, backgrounds, fills, separators) are published by name and API, without values; only the system colors and grays carry sRGB values."
147
+ },
148
+ {
149
+ "tanrei": "tanrei.sys.target.spacing",
150
+ "note": "Accessibility asks for \"about 12 points of padding around elements that include a bezel\" and about 24 without: an approximate padding around one element, not a spacing between targets. cupertino does not set it."
151
+ },
152
+ {
153
+ "tanrei": "tanrei.comp.side-sheet.content.padding-block-start, tanrei.comp.bottom-sheet.content.padding-block-start",
154
+ "note": "Sheets publishes no distance between a sheet's title and its content: an iOS sheet is titled by a navigation bar, and its content scrolls under it. cupertino does not set it, and draws the default 8."
155
+ },
156
+ {
157
+ "tanrei": "tanrei.comp.navigation-bar.item.label.typescale, tanrei.comp.navigation-bar.item.icon-indicator.height, tanrei.comp.navigation-bar.item.gap",
158
+ "note": "Tab bars publishes no height for the bar, no box for its glyphs and no text style for its titles. cupertino's are its own, chosen so that the bar holds them at its 49: a 32 glyph box, the title 2 below it, in Caption 2 (Caption 1's line is one point too tall)."
159
+ },
160
+ {
161
+ "tanrei": "tanrei.comp.segmented-button.container.padding-block.*, tanrei.comp.segmented-button.set.padding",
162
+ "note": "Segmented controls publishes no inset of the selection in its track and no padding around a title. cupertino's are its own, chosen so that a set stays at its height with one title line in each segment."
163
+ }
164
+ ]
165
+ }
@@ -0,0 +1,388 @@
1
+ {
2
+ "$comment": "How the m3-like preset is measured against its reference. Every reference token of a covered component is either MAPPED to something Tanrei resolves — and must then be equal — or listed under `unmapped` with the mimicry gap that explains it. `{variant}` and `{state}` are filled from the tables below. Kinds: equal (default) · level (the reference names an elevation level; Tanrei's token must alias the level of the same name) · state-layer (the reference gives a layer color and opacity; Tanrei's state color must equal that layer composited over the resting container) · with-opacity (a color and a separate opacity token; Tanrei's token is that color with its alpha multiplied). Sizes: the androidx snapshot is keyed by size (one token object per size; `{size}` is the Tanrei size it maps to). Where material-web's older single-size button disagrees with it, the androidx value is current Material 3, and the material-web token says `superseded-by`.",
3
+ "system": "m3-like",
4
+ "reference": [
5
+ "reference/material-web.json",
6
+ "reference/androidx-material3.json"
7
+ ],
8
+ "scope": "Every color role and every text style material-web publishes, and Button (five variants) at its single size (40px, Material's default, = Tanrei's medium); from androidx, the five button sizes, the five icon button sizes (height, spaces, icon size, outline width, shape) and the loading indicator; and the size of the Buttons a host draws itself (close buttons, bar controls, a snackbar's and a picker's actions), by the size the reference's own component gives them.",
9
+ "colors": {
10
+ "$comment": "md.sys.color.<role> is compared with tanrei.sys.color.<role> in light and dark. `rename` lists roles whose Tanrei name differs.",
11
+ "rename": {},
12
+ "unmapped": [
13
+ {
14
+ "ref": "scrim",
15
+ "gap": "scrim-color-and-opacity",
16
+ "note": "m3-like draws black at 32%, the reference's rendered result; the reference token itself is opaque black."
17
+ }
18
+ ]
19
+ },
20
+ "typescale": {
21
+ "$comment": "md.sys.typescale.<role>-<field> is compared with the Tanrei role `roles` names (a typescale level). An `-emphasized` role is the base role's weight plus the family's `emphasis.*` step; `families` says which step a role takes where its family is not its first name segment.",
22
+ "roles": {
23
+ "display-large": "display-large",
24
+ "display-medium": "display",
25
+ "display-small": "display-small",
26
+ "headline-large": "heading-1",
27
+ "headline-medium": "heading-2",
28
+ "headline-small": "heading-3",
29
+ "title-large": "heading-4",
30
+ "title-medium": "heading-5",
31
+ "title-small": "heading-6",
32
+ "body-large": "body-large",
33
+ "body-medium": "body",
34
+ "body-small": "body-small",
35
+ "label-large": "label",
36
+ "label-medium": "label-small",
37
+ "label-small": "caption"
38
+ },
39
+ "families": {
40
+ "display-large": "display",
41
+ "display-small": "display",
42
+ "heading-5": "label",
43
+ "heading-6": "label"
44
+ }
45
+ },
46
+ "sizes": [
47
+ {
48
+ "$comment": "Button, at each of the five sizes, mapped by role: Material's small (40dp) is the size a button takes by default, as Tanrei's medium is, so its extra small, small and medium are Tanrei's small, medium and large, and its large and extra large are the two sizes m3-like adds above them.",
49
+ "objects": {
50
+ "ButtonXSmallTokens": "small",
51
+ "ButtonSmallTokens": "medium",
52
+ "ButtonMediumTokens": "large",
53
+ "ButtonLargeTokens": "xlarge",
54
+ "ButtonXLargeTokens": "xxlarge"
55
+ },
56
+ "map": [
57
+ {
58
+ "ref": "ContainerHeight",
59
+ "tanrei": "tanrei.comp.button.container.height.{size}"
60
+ },
61
+ {
62
+ "ref": "LeadingSpace",
63
+ "tanrei": "tanrei.comp.button.container.padding-inline-start.{size}"
64
+ },
65
+ {
66
+ "ref": "TrailingSpace",
67
+ "tanrei": "tanrei.comp.button.container.padding-inline-end.{size}"
68
+ },
69
+ {
70
+ "ref": "IconSize",
71
+ "tanrei": "tanrei.comp.button.icon.size.{size}"
72
+ },
73
+ {
74
+ "ref": "IconLabelSpace",
75
+ "tanrei": "tanrei.comp.button.container.gap.{size}"
76
+ },
77
+ {
78
+ "ref": "OutlinedOutlineWidth",
79
+ "tanrei": "tanrei.comp.button.outline.width.{size}"
80
+ },
81
+ {
82
+ "ref": "ContainerShapeRound",
83
+ "tanrei": "tanrei.comp.button.container.shape",
84
+ "kind": "shape"
85
+ }
86
+ ],
87
+ "unmapped": [
88
+ {
89
+ "ref": "ContainerShapeSquare",
90
+ "gap": "button-shape-option"
91
+ },
92
+ {
93
+ "ref": "SelectedContainerShapeRound",
94
+ "gap": "button-shape-option"
95
+ },
96
+ {
97
+ "ref": "SelectedContainerShapeSquare",
98
+ "gap": "button-shape-option"
99
+ },
100
+ {
101
+ "ref": "PressedContainerShape",
102
+ "gap": "per-size-state-shape"
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "$comment": "The icon button (Tanrei's icon-only Button) at each of the five sizes. Its default width is its height: the default space on each side of the glyph, twice, plus the glyph. Narrow is the glyph and padding-inline-narrow on each side; wide is container.width-wide.",
108
+ "objects": {
109
+ "XSmallIconButtonTokens": "small",
110
+ "SmallIconButtonTokens": "medium",
111
+ "MediumIconButtonTokens": "large",
112
+ "LargeIconButtonTokens": "xlarge",
113
+ "XLargeIconButtonTokens": "xxlarge"
114
+ },
115
+ "map": [
116
+ {
117
+ "ref": "ContainerHeight",
118
+ "tanrei": "tanrei.comp.button.container.height.{size}"
119
+ },
120
+ {
121
+ "ref": "IconSize",
122
+ "tanrei": "tanrei.comp.button.icon.size-without-label.{size}"
123
+ },
124
+ {
125
+ "ref": "DefaultLeadingSpace",
126
+ "tanrei": "tanrei.comp.button.container.height.{size}",
127
+ "kind": "across",
128
+ "glyph": "IconSize"
129
+ },
130
+ {
131
+ "ref": "DefaultTrailingSpace",
132
+ "covered-by": "DefaultLeadingSpace"
133
+ },
134
+ {
135
+ "ref": "UniformLeadingSpace",
136
+ "tanrei": "tanrei.comp.button.container.height.{size}",
137
+ "kind": "across",
138
+ "glyph": "IconSize",
139
+ "note": "The large icon button names its default space Uniform."
140
+ },
141
+ {
142
+ "ref": "UniformTrailingSpace",
143
+ "covered-by": "UniformLeadingSpace"
144
+ },
145
+ {
146
+ "ref": "NarrowLeadingSpace",
147
+ "tanrei": "tanrei.comp.button.container.padding-inline-narrow.{size}"
148
+ },
149
+ {
150
+ "ref": "NarrowTrailingSpace",
151
+ "covered-by": "NarrowLeadingSpace"
152
+ },
153
+ {
154
+ "ref": "WideLeadingSpace",
155
+ "tanrei": "tanrei.comp.button.container.width-wide.{size}",
156
+ "kind": "across",
157
+ "glyph": "IconSize"
158
+ },
159
+ {
160
+ "ref": "WideTrailingSpace",
161
+ "covered-by": "WideLeadingSpace"
162
+ },
163
+ {
164
+ "ref": "OutlinedOutlineWidth",
165
+ "tanrei": "tanrei.comp.button.outline.width.{size}"
166
+ },
167
+ {
168
+ "ref": "ContainerShapeRound",
169
+ "tanrei": "tanrei.comp.button.container.shape",
170
+ "kind": "shape"
171
+ }
172
+ ],
173
+ "unmapped": [
174
+ {
175
+ "ref": "ContainerShapeSquare",
176
+ "gap": "button-shape-option"
177
+ },
178
+ {
179
+ "ref": "SelectedContainerShapeRound",
180
+ "gap": "button-shape-option"
181
+ },
182
+ {
183
+ "ref": "SelectedContainerShapeSquare",
184
+ "gap": "button-shape-option"
185
+ },
186
+ {
187
+ "ref": "PressedContainerShape",
188
+ "gap": "per-size-state-shape"
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "$comment": "The loading indicator, at its one size (Tanrei's medium).",
194
+ "objects": {
195
+ "LoadingIndicatorTokens": "medium"
196
+ },
197
+ "map": [
198
+ {
199
+ "ref": "ActiveSize",
200
+ "tanrei": "tanrei.comp.loading-indicator.indicator.size.{size}"
201
+ },
202
+ {
203
+ "ref": "ContainerWidth",
204
+ "tanrei": "tanrei.comp.loading-indicator.container.size.{size}"
205
+ },
206
+ {
207
+ "ref": "ContainerHeight",
208
+ "covered-by": "ContainerWidth"
209
+ },
210
+ {
211
+ "ref": "ContainerShape",
212
+ "tanrei": "tanrei.comp.loading-indicator.container.shape",
213
+ "kind": "shape"
214
+ },
215
+ {
216
+ "ref": "ActiveIndicatorColor",
217
+ "tanrei": "tanrei.comp.loading-indicator.indicator.color",
218
+ "kind": "role"
219
+ },
220
+ {
221
+ "ref": "ContainedActiveColor",
222
+ "tanrei": "tanrei.comp.loading-indicator.contained.indicator.color",
223
+ "kind": "role"
224
+ },
225
+ {
226
+ "ref": "ContainedContainerColor",
227
+ "tanrei": "tanrei.comp.loading-indicator.contained.container.color",
228
+ "kind": "role"
229
+ }
230
+ ]
231
+ }
232
+ ],
233
+ "components": {
234
+ "filled-button": "filled",
235
+ "filled-tonal-button": "tonal",
236
+ "elevated-button": "elevated",
237
+ "outlined-button": "outlined",
238
+ "text-button": "text"
239
+ },
240
+ "states": {
241
+ "hover": "hovered",
242
+ "focus": "focused",
243
+ "pressed": "pressed",
244
+ "disabled": "disabled"
245
+ },
246
+ "map": [
247
+ {
248
+ "ref": "container-color",
249
+ "tanrei": "tanrei.comp.button.{variant}.container.color"
250
+ },
251
+ {
252
+ "ref": "container-height",
253
+ "tanrei": "tanrei.comp.button.container.height.medium"
254
+ },
255
+ {
256
+ "ref": "container-shape",
257
+ "tanrei": "tanrei.comp.button.container.shape"
258
+ },
259
+ {
260
+ "ref": "container-shadow-color",
261
+ "tanrei": "tanrei.sys.color.shadow"
262
+ },
263
+ {
264
+ "ref": "container-elevation",
265
+ "tanrei": "tanrei.comp.button.{variant}.container.elevation",
266
+ "kind": "level"
267
+ },
268
+ {
269
+ "ref": "{state}-container-elevation",
270
+ "tanrei": "tanrei.comp.button.{variant}.{state}.container.elevation",
271
+ "kind": "level"
272
+ },
273
+ {
274
+ "ref": "label-text-color",
275
+ "tanrei": "tanrei.comp.button.{variant}.label.color"
276
+ },
277
+ {
278
+ "ref": "{state}-label-text-color",
279
+ "tanrei": "tanrei.comp.button.{variant}.{state}.label.color",
280
+ "with": "{state}-label-text-opacity"
281
+ },
282
+ {
283
+ "ref": "{state}-label-text-opacity",
284
+ "covered-by": "{state}-label-text-color"
285
+ },
286
+ {
287
+ "ref": "{state}-state-layer-color",
288
+ "tanrei": "tanrei.comp.button.{variant}.{state}.container.color",
289
+ "kind": "state-layer",
290
+ "opacity": "{state}-state-layer-opacity",
291
+ "over": "container-color"
292
+ },
293
+ {
294
+ "ref": "{state}-state-layer-opacity",
295
+ "tanrei": "tanrei.sys.state.{state-ref}-state-layer-opacity"
296
+ },
297
+ {
298
+ "ref": "disabled-container-color",
299
+ "tanrei": "tanrei.comp.button.{variant}.disabled.container.color",
300
+ "with": "disabled-container-opacity"
301
+ },
302
+ {
303
+ "ref": "disabled-container-opacity",
304
+ "covered-by": "disabled-container-color"
305
+ },
306
+ {
307
+ "ref": "outline-color",
308
+ "tanrei": "tanrei.comp.button.{variant}.outline.color"
309
+ },
310
+ {
311
+ "ref": "outline-width",
312
+ "tanrei": "tanrei.comp.button.outline.width.medium"
313
+ },
314
+ {
315
+ "ref": "{state}-outline-color",
316
+ "tanrei": "tanrei.comp.button.{variant}.{state}.outline.color",
317
+ "with": "{state}-outline-opacity"
318
+ },
319
+ {
320
+ "ref": "{state}-outline-opacity",
321
+ "covered-by": "{state}-outline-color"
322
+ },
323
+ {
324
+ "ref": "label-text-font",
325
+ "tanrei": "tanrei.comp.button.label.typescale.medium",
326
+ "field": "fontFamily"
327
+ },
328
+ {
329
+ "ref": "label-text-size",
330
+ "tanrei": "tanrei.comp.button.label.typescale.medium",
331
+ "field": "fontSize"
332
+ },
333
+ {
334
+ "ref": "label-text-line-height",
335
+ "tanrei": "tanrei.comp.button.label.typescale.medium",
336
+ "field": "lineHeight"
337
+ },
338
+ {
339
+ "ref": "label-text-tracking",
340
+ "tanrei": "tanrei.comp.button.label.typescale.medium",
341
+ "field": "letterSpacing"
342
+ },
343
+ {
344
+ "ref": "label-text-weight",
345
+ "tanrei": "tanrei.comp.button.label.typescale.medium",
346
+ "field": "fontWeight"
347
+ },
348
+ {
349
+ "ref": "with-icon-icon-size",
350
+ "superseded-by": "androidx.ButtonSmallTokens.IconSize",
351
+ "note": "material-web (v0_192) draws a button's icon at 18; current Material 3 draws a small button's at 20 (ButtonSmallTokens.IconSize), which m3-like follows."
352
+ },
353
+ {
354
+ "ref": "with-icon-icon-color",
355
+ "tanrei": "tanrei.comp.button.{variant}.label.color",
356
+ "note": "Tanrei draws the icon in the label color; equal in the reference for every variant, so one token reproduces both."
357
+ },
358
+ {
359
+ "ref": "with-icon-{state}-icon-color",
360
+ "tanrei": "tanrei.comp.button.{variant}.{state}.label.color",
361
+ "with": "with-icon-{state}-icon-opacity"
362
+ },
363
+ {
364
+ "ref": "with-icon-{state}-icon-opacity",
365
+ "covered-by": "with-icon-{state}-icon-color"
366
+ }
367
+ ],
368
+ "unmapped": [],
369
+ "hosts": {
370
+ "$comment": "The Buttons a component draws itself (a close button, a bar's controls, a snackbar's action), by the size the reference's own component gives them. Each Tanrei token names a Button size, which must be the one the `sizes` blocks map the reference object to (Material's default button and default icon button, 40dp, are Tanrei's medium); a plain dimension `tanrei` is compared with the object's ContainerHeight. Each entry is one measurement.",
371
+ "map": [
372
+ { "tanrei": "tanrei.comp.popover.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 closes a surface with a standard icon button (androidx: IconButtonDefaults.smallContainerSize())." },
373
+ { "tanrei": "tanrei.comp.side-sheet.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 side sheet: the close affordance is a standard icon button (m3.material.io/components/side-sheets/specs); androidx: IconButtonDefaults.smallContainerSize()." },
374
+ { "tanrei": "tanrei.comp.callout.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 closes a surface with a standard icon button (androidx: IconButtonDefaults.smallContainerSize())." },
375
+ { "tanrei": "tanrei.comp.bottom-sheet.close-button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 closes a surface with a standard icon button (androidx: IconButtonDefaults.smallContainerSize())." },
376
+ { "tanrei": "tanrei.comp.snackbar.close-button.size", "ref": "SmallIconButtonTokens", "source": "androidx Snackbar.kt: the dismiss action is the standard icon button, with no size of its own." },
377
+ { "tanrei": "tanrei.comp.snackbar.controls.height", "ref": "ButtonSmallTokens", "source": "androidx Snackbar.kt: the action is a TextButton with no size of its own (ButtonDefaults.MinHeight, ButtonSmallTokens.ContainerHeight)." },
378
+ { "tanrei": "tanrei.comp.image-preview.bar.button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 top app bar: its actions are standard icon buttons (AppBar.kt: an actions slot of standard icon buttons)." },
379
+ { "tanrei": "tanrei.comp.image-preview.navigation.button.size", "ref": "SmallIconButtonTokens", "source": "Material 3 has no image viewer; its standard icon button (IconButtonDefaults.smallContainerSize()) is the size of every icon action over content." },
380
+ { "tanrei": "tanrei.comp.date-time-picker.actions.size", "ref": "ButtonSmallTokens", "source": "androidx DatePickerDialog and the time picker dialog samples: the confirm and dismiss actions are TextButtons with no size of their own (ButtonDefaults.MinHeight)." }
381
+ ]
382
+ },
383
+ "evidence": {
384
+ "tanrei.comp.button.size.xlarge": "androidx.ButtonLargeTokens",
385
+ "tanrei.comp.button.size.xxlarge": "androidx.ButtonXLargeTokens",
386
+ "tanrei.comp.fab-menu": "androidx.FabMenuBaselineTokens"
387
+ }
388
+ }