@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,810 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "button-with-menu": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product offers a main action with more options for it one press away (Save and Save as, Merge and Squash and merge), at several emphasis levels and at the heights of its buttons, enabled and disabled, some of them for a main action that deletes or discards something (Delete, with Delete all in its menu), which a person should be able to tell apart before pressing; on a desktop it may also reveal those options when the pointer rests on the trailing half.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.states": {
11
+ "variants": [
12
+ "filled",
13
+ "tonal",
14
+ "elevated",
15
+ "outlined"
16
+ ],
17
+ "states": [
18
+ "hovered",
19
+ "focused",
20
+ "pressed",
21
+ "disabled"
22
+ ],
23
+ "perVariant": {
24
+ "container.color": "color",
25
+ "container.elevation": "shadow",
26
+ "label.color": "color",
27
+ "outline.color": "color",
28
+ "divider.color": "color",
29
+ "state-layer.color": "color",
30
+ "destructive.container.color": "color",
31
+ "destructive.label.color": "color",
32
+ "destructive.outline.color": "color",
33
+ "destructive.divider.color": "color",
34
+ "destructive.state-layer.color": "color"
35
+ },
36
+ "perComponent": {
37
+ "opacity": "number",
38
+ "container.shape": "dimension"
39
+ }
40
+ },
41
+ "dev.tanrei.llm": {
42
+ "usage": "Everything a button with menu reads: per size its height, the leading half's paddings and gap, the trailing half's padding at its default width and its inset at the narrow one, the label style, the icon size and the outline width; whether the halves are joined by a divider or by a gap, the divider's thickness and inset, the gap, the outer, inner and open inner corners and the padding added at the rounded outer ends; the motion, including how long a pointer rests before the menu opens on hover and how long it may be away before that menu closes; and per variant (filled, tonal, elevated, outlined) the container, label (icon and chevron too), outline, divider and elevation of a half in each state, and of a button with menu whose main action deletes or discards (destructive.).",
43
+ "rules": [
44
+ "Use a button with menu when a main action has a few more options; when there is no main action, use a menu from a button.",
45
+ "Both halves share one look; each shows its own state.",
46
+ "Always give menuLabel: it names the trailing half.",
47
+ "Restyle through these tokens in a layer; never restyle it through Button's tokens.",
48
+ "Each variant's state-layer.color is the color hover, focus and press mix into a half; it aliases that variant's label color.",
49
+ "Heights are minimums: a height must hold 2 × padding-block + one label line, and the build reports it when it does not.",
50
+ "Under gap each half draws its outline and its elevation's ring inside its own edge, so the gap between the halves stays clear however narrow inner-gap is; under divider neither is drawn along the seam, and the divider is the only line there.",
51
+ "The hover delays apply only where the product turns hoverOpen on, and only to a fine pointer.",
52
+ "container.separation follows sys.behavior.separation; set it here only to join this component differently from the rest of the system, and use the separation prop for one instance.",
53
+ "inner-shape, inner-shape-open and inner-gap are read under gap only. Keep inner-shape-open equal to inner-shape unless the trailing half should change shape while the menu is open.",
54
+ "In the default system the outlined outline and the divider of the outlined, tonal and elevated variants are the hairline, the color the divider component draws its line in. filled.divider.color stays the functional outline role: a hairline cannot be seen on the filled container.",
55
+ "destructive. is the look of a button with menu whose main action deletes or discards something: each variant's destructive parts alias Button's (comp.button.<variant>.destructive.*), so the two components agree, and both halves take it; the menu's items do not. Disabled, it looks like any disabled button with menu of its variant."
56
+ ]
57
+ },
58
+ "dev.tanrei.axes": {
59
+ "size": {
60
+ "default": "medium",
61
+ "values": [
62
+ "small",
63
+ "medium",
64
+ "large"
65
+ ],
66
+ "members": [
67
+ "container.height",
68
+ "container.padding-block",
69
+ "container.gap",
70
+ "leading.padding-inline-start",
71
+ "leading.padding-inline-start-with-icon",
72
+ "leading.padding-inline-end",
73
+ "trailing.padding-inline",
74
+ "trailing.padding-inline-narrow",
75
+ "label.typescale",
76
+ "icon.size",
77
+ "outline.width"
78
+ ]
79
+ },
80
+ "variant": {
81
+ "default": "filled",
82
+ "from": "states"
83
+ }
84
+ }
85
+ },
86
+ "container": {
87
+ "separation": {
88
+ "$type": "number",
89
+ "$value": "{tanrei.sys.behavior.separation}",
90
+ "$description": "How the two halves are joined. divider: they touch, with a line on the seam and square inner corners. gap: they stand inner-gap apart, with inner-shape where they face each other and nothing drawn between them. Follows the system's choice; an instance's separation prop overrides it (SPB-30). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
91
+ "$extensions": {
92
+ "dev.tanrei.vocabulary": {
93
+ "rationale": "One product joins its buttons with menus by a gap while its menus keep their dividers, or the reverse: the system-wide choice gives the common answer, and a component whose parts read better the other way must be able to leave it.",
94
+ "since": "0.1.0"
95
+ },
96
+ "dev.tanrei.enum": {
97
+ "values": [
98
+ "divider",
99
+ "gap"
100
+ ]
101
+ }
102
+ }
103
+ },
104
+ "shape": {
105
+ "$type": "dimension",
106
+ "$value": "{tanrei.sys.shape.corner.full}",
107
+ "$description": "The outer corners: the leading half's start corners and the trailing half's end corners. Capped at half a half's height, so full draws round ends."
108
+ },
109
+ "inner-shape": {
110
+ "$type": "dimension",
111
+ "$value": "{tanrei.sys.shape.corner.small}",
112
+ "$description": "The corners where the two halves face each other, under gap: a small step, so the seam reads against the round ends. Under divider those corners are square."
113
+ },
114
+ "inner-shape-open": {
115
+ "$type": "dimension",
116
+ "$value": "{tanrei.comp.button-with-menu.container.inner-shape}",
117
+ "$description": "The trailing half's inner corners while the menu is open, under gap. The same as inner-shape by default: the trailing half keeps its shape, and the chevron alone shows that the menu is open. A system whose trailing half rounds into a shape of its own while open sets container.shape here."
118
+ },
119
+ "inner-gap": {
120
+ "$type": "dimension",
121
+ "$value": "{tanrei.sys.space.space25}",
122
+ "$description": "The space between the two halves under gap. Neither half's outline nor elevation ring reaches into it. Unused under divider, where the halves touch."
123
+ },
124
+ "outer-inset": {
125
+ "$type": "dimension",
126
+ "$value": "{tanrei.sys.space.space50}",
127
+ "$description": "Padding added to the leading half at its start and to the trailing half at its end, at either trailing width (SPB-32). A full outer end takes more of the container away beside the content than the tighter inner corner does, so equal paddings look unequal; this evens them, as the connected button group does. A system whose outer ends are no rounder than its inner corners sets 0.",
128
+ "$extensions": {
129
+ "dev.tanrei.vocabulary": {
130
+ "rationale": "One product draws this control under full outer ends in one place and under squarer ends in another: how much the rounded end must be compensated is a value of the shape, and a product that changes the shape has to be able to change it.",
131
+ "since": "0.1.0"
132
+ }
133
+ }
134
+ },
135
+ "height": {
136
+ "$type": "dimension",
137
+ "$description": "Minimum height of both halves, per size.",
138
+ "small": {
139
+ "$value": {
140
+ "value": 28,
141
+ "unit": "px"
142
+ },
143
+ "$extensions": {
144
+ "dev.tanrei.derive": {
145
+ "fn": "mul",
146
+ "of": "{tanrei.sys.control.height.small}",
147
+ "by": 1
148
+ }
149
+ }
150
+ },
151
+ "medium": {
152
+ "$value": {
153
+ "value": 36,
154
+ "unit": "px"
155
+ },
156
+ "$extensions": {
157
+ "dev.tanrei.derive": {
158
+ "fn": "mul",
159
+ "of": "{tanrei.sys.control.height.medium}",
160
+ "by": 1,
161
+ "min": "{tanrei.sys.target.minimum}"
162
+ },
163
+ "dev.tanrei.aligned": "control"
164
+ }
165
+ },
166
+ "large": {
167
+ "$value": {
168
+ "value": 52,
169
+ "unit": "px"
170
+ },
171
+ "$extensions": {
172
+ "dev.tanrei.derive": {
173
+ "fn": "mul",
174
+ "of": "{tanrei.sys.control.height.large}",
175
+ "by": 1,
176
+ "min": "{tanrei.sys.target.minimum}"
177
+ }
178
+ }
179
+ }
180
+ },
181
+ "padding-block": {
182
+ "$type": "dimension",
183
+ "$description": "Vertical padding. Heights are minimums, so this shows only when the label wraps or text is enlarged.",
184
+ "small": {
185
+ "$value": {
186
+ "value": 4,
187
+ "unit": "px"
188
+ },
189
+ "$extensions": {
190
+ "dev.tanrei.derive": {
191
+ "fn": "pad",
192
+ "of": "{tanrei.sys.space.space75}",
193
+ "height": "{tanrei.comp.button-with-menu.container.height.small}"
194
+ }
195
+ }
196
+ },
197
+ "medium": {
198
+ "$value": {
199
+ "value": 4,
200
+ "unit": "px"
201
+ },
202
+ "$extensions": {
203
+ "dev.tanrei.derive": {
204
+ "fn": "pad",
205
+ "of": "{tanrei.sys.space.space75}",
206
+ "height": "{tanrei.comp.button-with-menu.container.height.medium}"
207
+ }
208
+ }
209
+ },
210
+ "large": {
211
+ "$value": {
212
+ "value": 4,
213
+ "unit": "px"
214
+ },
215
+ "$extensions": {
216
+ "dev.tanrei.derive": {
217
+ "fn": "pad",
218
+ "of": "{tanrei.sys.space.space75}",
219
+ "height": "{tanrei.comp.button-with-menu.container.height.large}"
220
+ }
221
+ }
222
+ }
223
+ },
224
+ "gap": {
225
+ "$type": "dimension",
226
+ "$description": "Space between the leading half's icon and its label, per size.",
227
+ "small": {
228
+ "$value": "{tanrei.sys.space.space100}"
229
+ },
230
+ "medium": {
231
+ "$value": "{tanrei.sys.space.space100}"
232
+ },
233
+ "large": {
234
+ "$value": "{tanrei.sys.space.space100}"
235
+ }
236
+ }
237
+ },
238
+ "divider": {
239
+ "thickness": {
240
+ "$type": "dimension",
241
+ "$value": "{tanrei.sys.border.hairline}",
242
+ "$description": "The thickness of the line on the seam under divider."
243
+ },
244
+ "inset": {
245
+ "$type": "dimension",
246
+ "$value": "{tanrei.sys.space.space100}",
247
+ "$description": "How far the line stops short of the top and of the bottom of the seam. 0 draws it across the whole seam. The same as the connected button group's by default, so the two joined controls are ruled alike."
248
+ }
249
+ },
250
+ "leading": {
251
+ "padding-inline-start": {
252
+ "$type": "dimension",
253
+ "$description": "The leading half's start padding without an icon.",
254
+ "small": {
255
+ "$value": "{tanrei.sys.space.space200}"
256
+ },
257
+ "medium": {
258
+ "$value": "{tanrei.sys.space.space200}"
259
+ },
260
+ "large": {
261
+ "$value": "{tanrei.sys.space.space300}"
262
+ }
263
+ },
264
+ "padding-inline-start-with-icon": {
265
+ "$type": "dimension",
266
+ "$description": "The leading half's start padding with an icon: a step tighter than without one (4 less at small and medium, 8 less at large), as Button's, because a glyph carries empty space inside its box.",
267
+ "small": {
268
+ "$value": "{tanrei.sys.space.space150}"
269
+ },
270
+ "medium": {
271
+ "$value": "{tanrei.sys.space.space150}"
272
+ },
273
+ "large": {
274
+ "$value": "{tanrei.sys.space.space200}"
275
+ }
276
+ },
277
+ "padding-inline-end": {
278
+ "$type": "dimension",
279
+ "$description": "The leading half's end padding, before the gap to the trailing half.",
280
+ "small": {
281
+ "$value": "{tanrei.sys.space.space200}"
282
+ },
283
+ "medium": {
284
+ "$value": "{tanrei.sys.space.space200}"
285
+ },
286
+ "large": {
287
+ "$value": "{tanrei.sys.space.space300}"
288
+ }
289
+ }
290
+ },
291
+ "trailing": {
292
+ "padding-inline": {
293
+ "$type": "dimension",
294
+ "$description": "Padding on each side of the chevron at the default trailing width. With the default icon size it holds the chevron in a square of the height (28, 36 and 52 in the default system), before the outer padding is added; each follows the height of its size as the block padding does, giving up half of what the height loses below the control height's reference of 40, so that the half stays a square at every control height.",
295
+ "small": {
296
+ "$value": {
297
+ "value": 4,
298
+ "unit": "px"
299
+ },
300
+ "$extensions": {
301
+ "dev.tanrei.derive": {
302
+ "fn": "pad",
303
+ "of": "{tanrei.sys.space.space75}",
304
+ "height": "{tanrei.comp.button-with-menu.container.height.small}"
305
+ }
306
+ }
307
+ },
308
+ "medium": {
309
+ "$value": {
310
+ "value": 6,
311
+ "unit": "px"
312
+ },
313
+ "$extensions": {
314
+ "dev.tanrei.derive": {
315
+ "fn": "pad",
316
+ "of": "{tanrei.sys.space.space100}",
317
+ "height": "{tanrei.comp.button-with-menu.container.height.medium}"
318
+ }
319
+ }
320
+ },
321
+ "large": {
322
+ "$value": {
323
+ "value": 14,
324
+ "unit": "px"
325
+ },
326
+ "$extensions": {
327
+ "dev.tanrei.derive": {
328
+ "fn": "pad",
329
+ "of": "{tanrei.sys.space.space200}",
330
+ "height": "{tanrei.comp.button-with-menu.container.height.large}"
331
+ }
332
+ }
333
+ }
334
+ },
335
+ "padding-inline-narrow": {
336
+ "$type": "dimension",
337
+ "$description": "The inset on each side of the chevron while trailingWidth is narrow: the trailing half is then the chevron's box, this twice and container.outer-inset at its end (SPB-32). The default system holds it at 4 at every size, as comp.button.container.padding-inline-narrow, so that the half is a narrow icon-only Button's width and the outer padding (32, 36 and 36). A system that wants a wider handle at one size gives that size a larger value; it should not go below the default's.",
338
+ "$extensions": {
339
+ "dev.tanrei.vocabulary": {
340
+ "rationale": "One product gives the menu half the weight of a second button in one place and makes it a slim handle on the main action in another (a toolbar, a table row, a narrow sheet), at the same height.",
341
+ "since": "0.1.0"
342
+ }
343
+ },
344
+ "small": {
345
+ "$value": "{tanrei.sys.space.space50}"
346
+ },
347
+ "medium": {
348
+ "$value": "{tanrei.sys.space.space50}"
349
+ },
350
+ "large": {
351
+ "$value": "{tanrei.sys.space.space50}"
352
+ }
353
+ }
354
+ },
355
+ "label": {
356
+ "typescale": {
357
+ "$type": "typography",
358
+ "$description": "The label's text style, per size.",
359
+ "small": {
360
+ "$value": "{tanrei.sys.typescale.label}"
361
+ },
362
+ "medium": {
363
+ "$value": "{tanrei.sys.typescale.label}"
364
+ },
365
+ "large": {
366
+ "$value": "{tanrei.sys.typescale.label}"
367
+ }
368
+ }
369
+ },
370
+ "icon": {
371
+ "size": {
372
+ "$type": "dimension",
373
+ "$description": "The leading icon's and the chevron's box, per size (a chevron slot's glyph too).",
374
+ "small": {
375
+ "$value": "{tanrei.sys.icon.small}"
376
+ },
377
+ "medium": {
378
+ "$value": "{tanrei.sys.icon.medium}"
379
+ },
380
+ "large": {
381
+ "$value": "{tanrei.sys.icon.medium}"
382
+ }
383
+ }
384
+ },
385
+ "outline": {
386
+ "width": {
387
+ "$type": "dimension",
388
+ "$description": "Width of each half's outline, per size, drawn inside the half's edge.",
389
+ "small": {
390
+ "$value": "{tanrei.sys.border.hairline}"
391
+ },
392
+ "medium": {
393
+ "$value": "{tanrei.sys.border.hairline}"
394
+ },
395
+ "large": {
396
+ "$value": "{tanrei.sys.border.hairline}"
397
+ }
398
+ }
399
+ },
400
+ "filled": {
401
+ "container": {
402
+ "color": {
403
+ "$type": "color",
404
+ "$value": "{tanrei.sys.color.primary}"
405
+ },
406
+ "elevation": {
407
+ "$type": "shadow",
408
+ "$value": "{tanrei.sys.elevation.level0}"
409
+ }
410
+ },
411
+ "label": {
412
+ "color": {
413
+ "$type": "color",
414
+ "$value": "{tanrei.sys.color.on-primary}",
415
+ "$description": "The label, the icon and the chevron."
416
+ }
417
+ },
418
+ "outline": {
419
+ "color": {
420
+ "$type": "color",
421
+ "$value": {
422
+ "colorSpace": "srgb",
423
+ "components": [
424
+ 0,
425
+ 0,
426
+ 0
427
+ ],
428
+ "alpha": 0,
429
+ "hex": "#000000"
430
+ },
431
+ "$extensions": {
432
+ "dev.tanrei.derive": {
433
+ "fixed": "This variant has no border."
434
+ }
435
+ }
436
+ }
437
+ },
438
+ "divider": {
439
+ "color": {
440
+ "$type": "color",
441
+ "$value": "{tanrei.sys.color.outline}",
442
+ "$description": "The line on the seam under divider. It is the functional outline role and not the hairline the other variants use: the hairline is a faint darkening of a light ground or a faint lightening of a dark one, and cannot be seen on this container (1.0:1 in every scheme of the default system)."
443
+ }
444
+ },
445
+ "state-layer": {
446
+ "color": {
447
+ "$type": "color",
448
+ "$value": "{tanrei.comp.button-with-menu.filled.label.color}",
449
+ "$description": "The color hover, focus and press mix into a half's container: its label color."
450
+ }
451
+ },
452
+ "destructive": {
453
+ "$type": "color",
454
+ "container": {
455
+ "color": {
456
+ "$value": "{tanrei.comp.button.filled.destructive.container.color}",
457
+ "$description": "A destructive filled button with menu: both halves in the error role, as a destructive filled Button."
458
+ }
459
+ },
460
+ "label": {
461
+ "color": {
462
+ "$value": "{tanrei.comp.button.filled.destructive.label.color}",
463
+ "$description": "The label, the icon and the chevron: a destructive Button's label color."
464
+ }
465
+ },
466
+ "outline": {
467
+ "color": {
468
+ "$value": "{tanrei.comp.button.filled.destructive.outline.color}"
469
+ }
470
+ },
471
+ "divider": {
472
+ "color": {
473
+ "$value": "{tanrei.comp.button-with-menu.filled.divider.color}",
474
+ "$description": "The line on the seam keeps the variant's own divider color."
475
+ }
476
+ },
477
+ "state-layer": {
478
+ "color": {
479
+ "$value": "{tanrei.comp.button-with-menu.filled.destructive.label.color}",
480
+ "$description": "The color hover, focus and press mix into a destructive half: its label color."
481
+ }
482
+ }
483
+ }
484
+ },
485
+ "tonal": {
486
+ "container": {
487
+ "color": {
488
+ "$type": "color",
489
+ "$value": "{tanrei.sys.color.secondary-container}"
490
+ },
491
+ "elevation": {
492
+ "$type": "shadow",
493
+ "$value": "{tanrei.sys.elevation.level0}"
494
+ }
495
+ },
496
+ "label": {
497
+ "color": {
498
+ "$type": "color",
499
+ "$value": "{tanrei.sys.color.on-secondary-container}",
500
+ "$description": "The label, the icon and the chevron."
501
+ }
502
+ },
503
+ "outline": {
504
+ "color": {
505
+ "$type": "color",
506
+ "$value": {
507
+ "colorSpace": "srgb",
508
+ "components": [
509
+ 0,
510
+ 0,
511
+ 0
512
+ ],
513
+ "alpha": 0,
514
+ "hex": "#000000"
515
+ },
516
+ "$extensions": {
517
+ "dev.tanrei.derive": {
518
+ "fixed": "This variant has no border."
519
+ }
520
+ }
521
+ }
522
+ },
523
+ "divider": {
524
+ "color": {
525
+ "$type": "color",
526
+ "$value": "{tanrei.sys.color.outline-variant}",
527
+ "$description": "The line on the seam under divider. In the default system it is the hairline role, the color the divider draws its line in: it reads on this container as it does on a surface."
528
+ }
529
+ },
530
+ "state-layer": {
531
+ "color": {
532
+ "$type": "color",
533
+ "$value": "{tanrei.comp.button-with-menu.tonal.label.color}",
534
+ "$description": "The color hover, focus and press mix into a half's container: its label color."
535
+ }
536
+ },
537
+ "destructive": {
538
+ "$type": "color",
539
+ "container": {
540
+ "color": {
541
+ "$value": "{tanrei.comp.button.tonal.destructive.container.color}",
542
+ "$description": "A destructive tonal button with menu: both halves in the error role's tonal container, as a destructive tonal Button."
543
+ }
544
+ },
545
+ "label": {
546
+ "color": {
547
+ "$value": "{tanrei.comp.button.tonal.destructive.label.color}",
548
+ "$description": "The label, the icon and the chevron: a destructive Button's label color."
549
+ }
550
+ },
551
+ "outline": {
552
+ "color": {
553
+ "$value": "{tanrei.comp.button.tonal.destructive.outline.color}"
554
+ }
555
+ },
556
+ "divider": {
557
+ "color": {
558
+ "$value": "{tanrei.comp.button-with-menu.tonal.divider.color}",
559
+ "$description": "The line on the seam keeps the variant's own divider color."
560
+ }
561
+ },
562
+ "state-layer": {
563
+ "color": {
564
+ "$value": "{tanrei.comp.button-with-menu.tonal.destructive.label.color}",
565
+ "$description": "The color hover, focus and press mix into a destructive half: its label color."
566
+ }
567
+ }
568
+ }
569
+ },
570
+ "elevated": {
571
+ "container": {
572
+ "color": {
573
+ "$type": "color",
574
+ "$value": "{tanrei.sys.color.surface-container-lowest}"
575
+ },
576
+ "elevation": {
577
+ "$type": "shadow",
578
+ "$value": "{tanrei.sys.elevation.level2}",
579
+ "$description": "Under gap its ring is drawn inside each half's edge and only the blurred layers fall outside; under divider no ring is drawn along the seam (SPB-18, SPB-26)."
580
+ }
581
+ },
582
+ "label": {
583
+ "color": {
584
+ "$type": "color",
585
+ "$value": "{tanrei.sys.color.on-surface}",
586
+ "$description": "The label, the icon and the chevron."
587
+ }
588
+ },
589
+ "outline": {
590
+ "color": {
591
+ "$type": "color",
592
+ "$value": {
593
+ "colorSpace": "srgb",
594
+ "components": [
595
+ 0,
596
+ 0,
597
+ 0
598
+ ],
599
+ "alpha": 0,
600
+ "hex": "#000000"
601
+ },
602
+ "$extensions": {
603
+ "dev.tanrei.derive": {
604
+ "fixed": "This variant has no border."
605
+ }
606
+ }
607
+ }
608
+ },
609
+ "divider": {
610
+ "color": {
611
+ "$type": "color",
612
+ "$value": "{tanrei.sys.color.outline-variant}",
613
+ "$description": "The line on the seam under divider. In the default system it is the hairline role, the color the divider draws its line in: it reads on this container as it does on a surface."
614
+ }
615
+ },
616
+ "state-layer": {
617
+ "color": {
618
+ "$type": "color",
619
+ "$value": "{tanrei.comp.button-with-menu.elevated.label.color}",
620
+ "$description": "The color hover, focus and press mix into a half's container: its label color."
621
+ }
622
+ },
623
+ "destructive": {
624
+ "$type": "color",
625
+ "container": {
626
+ "color": {
627
+ "$value": "{tanrei.comp.button.elevated.destructive.container.color}",
628
+ "$description": "A destructive elevated button with menu keeps its variant's container, as a destructive elevated Button; its label and chevron take the error color."
629
+ }
630
+ },
631
+ "label": {
632
+ "color": {
633
+ "$value": "{tanrei.comp.button.elevated.destructive.label.color}",
634
+ "$description": "The label, the icon and the chevron: a destructive Button's label color."
635
+ }
636
+ },
637
+ "outline": {
638
+ "color": {
639
+ "$value": "{tanrei.comp.button.elevated.destructive.outline.color}"
640
+ }
641
+ },
642
+ "divider": {
643
+ "color": {
644
+ "$value": "{tanrei.comp.button-with-menu.elevated.divider.color}",
645
+ "$description": "The line on the seam keeps the variant's own divider color."
646
+ }
647
+ },
648
+ "state-layer": {
649
+ "color": {
650
+ "$value": "{tanrei.comp.button-with-menu.elevated.destructive.label.color}",
651
+ "$description": "The color hover, focus and press mix into a destructive half: its label color."
652
+ }
653
+ }
654
+ }
655
+ },
656
+ "outlined": {
657
+ "container": {
658
+ "color": {
659
+ "$type": "color",
660
+ "$value": {
661
+ "colorSpace": "srgb",
662
+ "components": [
663
+ 0,
664
+ 0,
665
+ 0
666
+ ],
667
+ "alpha": 0,
668
+ "hex": "#000000"
669
+ },
670
+ "$extensions": {
671
+ "dev.tanrei.derive": {
672
+ "fixed": "The outlined button with menu has no fill."
673
+ }
674
+ }
675
+ },
676
+ "elevation": {
677
+ "$type": "shadow",
678
+ "$value": "{tanrei.sys.elevation.level0}"
679
+ }
680
+ },
681
+ "label": {
682
+ "color": {
683
+ "$type": "color",
684
+ "$value": "{tanrei.sys.color.on-surface}",
685
+ "$description": "The label, the icon and the chevron."
686
+ }
687
+ },
688
+ "outline": {
689
+ "color": {
690
+ "$type": "color",
691
+ "$value": "{tanrei.sys.color.outline-variant}",
692
+ "$description": "The edge of the outlined variant. In the default system it is the hairline role, the color the divider draws its line in, as the outlined Button's is. It keeps its own token so that a system can draw the edge apart from its dividers."
693
+ }
694
+ },
695
+ "divider": {
696
+ "color": {
697
+ "$type": "color",
698
+ "$value": "{tanrei.comp.button-with-menu.outlined.outline.color}",
699
+ "$description": "The line on the seam under divider: the outline's own color, so the control reads as one outline with a rule in it."
700
+ }
701
+ },
702
+ "state-layer": {
703
+ "color": {
704
+ "$type": "color",
705
+ "$value": "{tanrei.comp.button-with-menu.outlined.label.color}",
706
+ "$description": "The color hover, focus and press mix into a half's container: its label color."
707
+ }
708
+ },
709
+ "destructive": {
710
+ "$type": "color",
711
+ "container": {
712
+ "color": {
713
+ "$value": "{tanrei.comp.button.outlined.destructive.container.color}",
714
+ "$description": "A destructive outlined button with menu keeps its variant's container (none), as a destructive outlined Button; its label, chevron and edge take the error color."
715
+ }
716
+ },
717
+ "label": {
718
+ "color": {
719
+ "$value": "{tanrei.comp.button.outlined.destructive.label.color}",
720
+ "$description": "The label, the icon and the chevron: a destructive Button's label color."
721
+ }
722
+ },
723
+ "outline": {
724
+ "color": {
725
+ "$value": "{tanrei.comp.button.outlined.destructive.outline.color}"
726
+ }
727
+ },
728
+ "divider": {
729
+ "color": {
730
+ "$value": "{tanrei.comp.button-with-menu.outlined.destructive.outline.color}",
731
+ "$description": "The line on the seam of a destructive outlined button with menu: its edge color, as the plain outlined divider is its edge color."
732
+ }
733
+ },
734
+ "state-layer": {
735
+ "color": {
736
+ "$value": "{tanrei.comp.button-with-menu.outlined.destructive.label.color}",
737
+ "$description": "The color hover, focus and press mix into a destructive half: its label color."
738
+ }
739
+ }
740
+ }
741
+ },
742
+ "motion": {
743
+ "state-duration": {
744
+ "$type": "duration",
745
+ "$value": "{tanrei.sys.motion.role.state.default}"
746
+ },
747
+ "state-easing": {
748
+ "$type": "cubicBezier",
749
+ "$value": "{tanrei.sys.motion.easing.state}"
750
+ },
751
+ "feedback-duration": {
752
+ "$type": "duration",
753
+ "$value": "{tanrei.sys.motion.role.feedback}",
754
+ "$description": "How long the ripple takes to spread."
755
+ },
756
+ "open-duration": {
757
+ "$type": "duration",
758
+ "$value": "{tanrei.sys.motion.role.appear.anchored.enter}",
759
+ "$description": "The chevron turning or cross-fading to its open form, and the trailing half's inner corners changing where inner-shape-open differs from inner-shape, when the menu opens or closes."
760
+ },
761
+ "open-easing": {
762
+ "$type": "cubicBezier",
763
+ "$value": "{tanrei.sys.motion.easing.spatial}"
764
+ },
765
+ "hover-open-delay": {
766
+ "$type": "duration",
767
+ "$value": "{tanrei.sys.motion.duration.medium2}",
768
+ "$description": "Where hoverOpen is on and hoverDelay is not set: how long a fine pointer rests on the trailing half before the menu opens, so that a pointer passing over it does not open one."
769
+ },
770
+ "hover-close-delay": {
771
+ "$type": "duration",
772
+ "$value": "{tanrei.sys.motion.duration.medium2}",
773
+ "$description": "How long a menu opened on hover stays open after the pointer has left both the trailing half and the menu, so the pointer can cross onto the menu or slip off an edge and come back (WCAG 1.4.13, hoverable)."
774
+ },
775
+ "busy-cycle-duration": {
776
+ "$type": "duration",
777
+ "$value": "{tanrei.comp.button.motion.busy-cycle-duration}",
778
+ "$description": "One turn of the busy leading half's arc (SPB-39): a busy Button's, so that the two components agree. Under reduced motion it does not turn, and its opacity eases once per this time instead."
779
+ },
780
+ "busy-pulse-floor-opacity": {
781
+ "$type": "number",
782
+ "$value": "{tanrei.comp.button.motion.busy-pulse-floor-opacity}",
783
+ "$description": "The opacity the busy leading half's circle eases down to at the low point of each pulse under reduced motion (SPB-39): a busy Button's, so that the two components agree."
784
+ },
785
+ "busy-fade-duration": {
786
+ "$type": "duration",
787
+ "$value": "{tanrei.comp.button.motion.busy-fade-duration}",
788
+ "$description": "How long the leading half's label and icon take to fade out when the button with menu becomes busy, and back in when it stops (SPB-39), with state-easing: a busy Button's. The arc appears and goes at once, and under reduced motion the label and the icon do too."
789
+ }
790
+ },
791
+ "busy": {
792
+ "$description": "What the leading half of a busy button with menu draws in place of its label and icon (SPB-39): the loading indicator's arc, in the label color, in the icon's box, as a busy Button draws it.",
793
+ "$extensions": {
794
+ "dev.tanrei.vocabulary": {
795
+ "rationale": "One product keeps a main action with more options on screen and focused while the action it started is under way (a save, a send), its options still offered, and must show that the main action is working rather than disable it and drop the person's focus.",
796
+ "since": "0.1.0"
797
+ }
798
+ },
799
+ "indicator": {
800
+ "thickness": {
801
+ "$type": "dimension",
802
+ "$value": "{tanrei.comp.button.busy.indicator.thickness}",
803
+ "$description": "The arc's stroke: a busy Button's."
804
+ }
805
+ }
806
+ }
807
+ }
808
+ }
809
+ }
810
+ }