@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,75 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "number-input": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product asks for a number as a number — a quantity, a size in a unit, a percentage, an amount of money — in the same box as its text inputs, and lets people nudge it by a step with two small buttons at the end of the box, which repeat while they are held, slowly at first and then faster. Where the two buttons stand and how a hold repeats is the number input's own; the box is the one box.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.llm": {
11
+ "usage": "What a number input draws that is its own: where its two steppers stand (their gap, and their inset from the end of the box) and how a held stepper repeats (the delay before the first repeat, the interval, and the faster interval of a long hold). The box, with the prefix and the suffix beside the figure, is comp.input-box.*.",
12
+ "rules": [
13
+ "A number input is the bare box: it has no label row, no requirement tag, no help and no error text. Put it in a Field for those, or use the number field, which is that pair; their tokens are comp.field.*.",
14
+ "The box — container, edges, floating label, the figure, placeholder, prefix and suffix (affix), caret, selection, heights and paddings per size, and the colors of each look in each state — is comp.input-box.*, shared with the text input, the select, the combobox and the color input. This group holds only the steppers' place and the timing of a hold.",
15
+ "Always give it a name: the label of the Field that frames it, or its own label where its visible label is elsewhere (a column's head, a row's title beside a slider). A placeholder is never the name.",
16
+ "A number input holds a number or nothing. For digits that are not a quantity (a postal code, a card number, a telephone number) use a text input; for a value chosen by feel within a range use a slider, and pair the two where both help.",
17
+ "The unit is suffixText and a currency sign is prefixText, drawn in comp.input-box's affix color beside the figure and read with the value; a unit a person can change is a select beside the input.",
18
+ "The steppers are two icon-only Buttons of the text variant with Button's own tokens; the input only places them (stepper.gap, stepper.inset) and times a hold (motion.repeat-delay, motion.repeat-interval, motion.repeat-interval-fast). Hide them with steppers where a row is too narrow; never shrink them.",
19
+ "Restyle through these tokens in a layer; never fork the component."
20
+ ]
21
+ }
22
+ },
23
+ "stepper": {
24
+ "$extensions": {
25
+ "dev.tanrei.vocabulary": {
26
+ "rationale": "One product lets people nudge a number by a press as well as type it — a quantity, a size, a percentage — and decides how close the two buttons stand to each other and to the box's edge; the buttons themselves are its Buttons."
27
+ }
28
+ },
29
+ "gap": {
30
+ "$type": "dimension",
31
+ "$value": "{tanrei.sys.space.space0}",
32
+ "$description": "Between the two steppers. 0 in the default system: they stand as close as their targets allow, each keeping sys.target.touch along the row: in the default system a 36 button is as wide as the target, so the two touch; under a 48 target they would stand 12 apart."
33
+ },
34
+ "inset": {
35
+ "$type": "dimension",
36
+ "$value": "{tanrei.sys.space.space50}",
37
+ "$description": "From the container's end edge to the stepper nearest it. In the default system a medium stacked box is as tall as its 36 steppers, so they fill its height and stand this far from its end."
38
+ }
39
+ },
40
+ "motion": {
41
+ "repeat-delay": {
42
+ "$type": "duration",
43
+ "$value": "{tanrei.sys.motion.duration.long2}",
44
+ "$description": "How long a stepper is held before it begins to repeat its step. A waiting time, not a motion: kept where motion is reduced.",
45
+ "$extensions": {
46
+ "dev.tanrei.vocabulary": {
47
+ "rationale": "One product decides how long a held stepper waits before it runs, long enough that a slow press steps once, short enough that holding is worth it."
48
+ }
49
+ }
50
+ },
51
+ "repeat-interval": {
52
+ "$type": "duration",
53
+ "$value": "{tanrei.sys.motion.duration.short2}",
54
+ "$description": "The time between two steps of a held stepper, for its first ten repeated steps.",
55
+ "$extensions": {
56
+ "dev.tanrei.vocabulary": {
57
+ "rationale": "One product decides how fast a held stepper runs at first, slow enough to stop on a value."
58
+ }
59
+ }
60
+ },
61
+ "repeat-interval-fast": {
62
+ "$type": "duration",
63
+ "$value": "{tanrei.sys.motion.duration.short1}",
64
+ "$description": "The time between two steps of a held stepper after its first ten repeated steps: the hold speeds up once, it does not change the size of a step.",
65
+ "$extensions": {
66
+ "dev.tanrei.vocabulary": {
67
+ "rationale": "The same product lets a long hold cross a wide range (a hue from 0 to 360) without waiting on every step."
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "number-ticker": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product shows numbers that change — counts, prices, scores, the figures of a dashboard — and wants every such change seen the same way: which digits changed and which way, at one pace, in the product's one manner of moving a digit.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.llm": {
11
+ "usage": "Everything a number ticker reads: how a digit changes (slide, blur, blur-slide or flip), how long a change takes and its curve, the delay from one digit place to the next, the cross-fade under reduced motion, and the blur's radius and the blur-slide's distance. It has no font, size or color of its own: it is drawn in the text style of where it stands.",
12
+ "rules": [
13
+ "Place it in text: it takes the font, size, color and direction of where it stands, and draws its digits in tabular figures.",
14
+ "Leave live off for a figure that is not the point of the moment; set it polite only for a number a person waits for. It is told once a change settles, never in between.",
15
+ "It has no colors for a rise or a fall: what a change means is the product's to say, beside the number (a tag, a word).",
16
+ "Restyle through these tokens in a layer; one product moves its numbers one way."
17
+ ]
18
+ }
19
+ },
20
+ "animation": {
21
+ "$type": "number",
22
+ "$value": 0,
23
+ "$description": "How a digit changes: slide (its column moves through the window), blur, blur-slide or flip (a split-flap board). The animation prop's auto reads it. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
24
+ "$extensions": {
25
+ "dev.tanrei.enum": {
26
+ "values": [
27
+ "slide",
28
+ "blur",
29
+ "blur-slide",
30
+ "flip"
31
+ ]
32
+ },
33
+ "dev.tanrei.derive": {
34
+ "fixed": "A choice of kind; no dial scales it."
35
+ }
36
+ }
37
+ },
38
+ "motion": {
39
+ "duration": {
40
+ "$type": "duration",
41
+ "$value": "{tanrei.sys.motion.role.resize.large}",
42
+ "$description": "How long one change takes: the digits and the width move together, so it is the role of a large change of size."
43
+ },
44
+ "easing": {
45
+ "$type": "cubicBezier",
46
+ "$value": "{tanrei.sys.motion.easing.spatial}",
47
+ "$description": "The curve of the digits' and the width's motion."
48
+ },
49
+ "stagger": {
50
+ "$type": "duration",
51
+ "$value": "{tanrei.sys.motion.duration.short1}",
52
+ "$description": "How much later each digit place starts than the one before it, from the most significant to the least. Shorter than sys.motion.duration.stagger, which spaces the items of a list: the digits of one number would lag half a second behind over six places."
53
+ },
54
+ "reduced-duration": {
55
+ "$type": "duration",
56
+ "$value": "{tanrei.sys.motion.role.reduced}",
57
+ "$description": "The cross-fade from the old number to the new one while motion is reduced."
58
+ }
59
+ },
60
+ "blur": {
61
+ "radius": {
62
+ "$type": "dimension",
63
+ "$value": "{tanrei.sys.space.space100}",
64
+ "$description": "How blurred a digit is at the far end of a blur or blur-slide change: the old one blurs to it as it fades out, the new one sharpens from it as it fades in."
65
+ }
66
+ },
67
+ "blur-slide": {
68
+ "distance": {
69
+ "$type": "dimension",
70
+ "$value": "{tanrei.sys.space.space100}",
71
+ "$description": "How far a digit moves out and in during a blur-slide change, in the direction a slide would move it."
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,246 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "one-time-code-input": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product sends a person a short code — to sign in, to confirm an address or a telephone number, to approve a payment — and asks for it back. The code arrives in a message as a few characters, often in two groups; a row of cells, one per character, says how long it is and how much of it has been entered. It is one text value, and the cells are how that value is drawn.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.states": {
11
+ "variants": [
12
+ "standard"
13
+ ],
14
+ "states": [
15
+ "hovered",
16
+ "focused",
17
+ "disabled"
18
+ ],
19
+ "perVariant": {
20
+ "container.color": "color",
21
+ "outline.color": "color",
22
+ "input.color": "color",
23
+ "caret.color": "color",
24
+ "separator.color": "color",
25
+ "state-layer.color": "color",
26
+ "error.container.color": "color",
27
+ "error.outline.color": "color",
28
+ "error.input.color": "color",
29
+ "error.caret.color": "color",
30
+ "error.separator.color": "color",
31
+ "error.state-layer.color": "color"
32
+ },
33
+ "perComponent": {
34
+ "outline.width": "dimension"
35
+ }
36
+ },
37
+ "dev.tanrei.axes": {
38
+ "condition": {
39
+ "default": "standard",
40
+ "from": "states"
41
+ }
42
+ },
43
+ "dev.tanrei.llm": {
44
+ "usage": "Everything a one-time-code input reads: a cell’s height, width, least padding and corners, and the distance between cells; the text style of a character; the length and thickness of the mark between two groups; the width of the line inside a cell’s edge, at rest and focused; the duration and curve of a change of state; and the colors of a cell, its inner line, its character, the caret and the group mark, plain and under the error condition (error.), at rest, hovered, focused and disabled.",
45
+ "rules": [
46
+ "A one-time-code input is one text field drawn as cells: one value, one stop in the focus order, one text box to assistive technology. Never build a code entry from several inputs.",
47
+ "It has no label, help or error text of its own. Put it in a Field, which names it, describes it and puts it in its error condition; where the visible label is elsewhere (a dialog’s headline), give label, which is never drawn.",
48
+ "For a short code sent to the person and typed back once. A password, a PIN the person chose, a recovery key, a licence key and a card number are text fields.",
49
+ "The focused tokens are read by the active cell alone — the cell the next character goes to — so the focused line is also what shows where typing goes. A system must keep the focused outline visible: it is this component’s focus indicator and its place marker.",
50
+ "The cells are a left-to-right run in every layout direction; only the row’s place follows the layout.",
51
+ "container.width is a cell’s widest: cells share the row’s width and become narrower before the row wraps, and the row wraps between groups before anywhere else.",
52
+ "state-layer.color (and its error. twin) is the color the hover state layer mixes into a cell; it aliases the character’s color. A focused cell draws no state layer.",
53
+ "Restyle through these tokens in a layer; never draw cells by hand over a hidden input."
54
+ ]
55
+ }
56
+ },
57
+ "container": {
58
+ "height": {
59
+ "$type": "dimension",
60
+ "$value": {
61
+ "value": 36,
62
+ "unit": "px"
63
+ },
64
+ "$description": "Minimum height of a cell: the control height (36 in the default system), a medium text field's, so that a code input and a text field in one form, and the Button that sends the code, are equally tall. Never below the minimum target: a finger aims at each cell.",
65
+ "$extensions": {
66
+ "dev.tanrei.derive": {
67
+ "fn": "mul",
68
+ "of": "{tanrei.sys.control.height.medium}",
69
+ "by": 1,
70
+ "min": "{tanrei.sys.target.minimum}"
71
+ },
72
+ "dev.tanrei.aligned": "control"
73
+ }
74
+ },
75
+ "width": {
76
+ "$type": "dimension",
77
+ "$value": "{tanrei.sys.space.space500}",
78
+ "$description": "The widest a cell is drawn (40 in the default system). Cells share the row and become narrower than this where the row has less room (OTC-23)."
79
+ },
80
+ "padding-inline": {
81
+ "$type": "dimension",
82
+ "$value": "{tanrei.sys.space.space50}",
83
+ "$description": "The least room between a cell’s edge and its character on each side: what a cell keeps when it becomes narrow."
84
+ },
85
+ "gap": {
86
+ "$type": "dimension",
87
+ "$value": "{tanrei.sys.space.space75}",
88
+ "$description": "Distance between two cells, between a cell and the group mark, and between two rows of a wrapped code."
89
+ },
90
+ "shape": {
91
+ "$type": "dimension",
92
+ "$value": "{tanrei.sys.shape.corner.small}",
93
+ "$description": "The corners of a cell: the text field’s."
94
+ }
95
+ },
96
+ "input": {
97
+ "typescale": {
98
+ "$type": "typography",
99
+ "$value": "{tanrei.sys.typescale.body-large}",
100
+ "$description": "A character in a cell: the text field’s input style, drawn with tabular figures. 16 px in the default system, below which a touch browser zooms the page into a focused input."
101
+ }
102
+ },
103
+ "separator": {
104
+ "width": {
105
+ "$type": "dimension",
106
+ "$value": "{tanrei.sys.space.space100}",
107
+ "$description": "Length of the mark drawn between two groups of cells."
108
+ },
109
+ "thickness": {
110
+ "$type": "dimension",
111
+ "$value": "{tanrei.sys.border.hairline}",
112
+ "$description": "Thickness of the group mark. A system that wants a wider gap and no mark sets this to nothing."
113
+ }
114
+ },
115
+ "caret": {
116
+ "width": {
117
+ "$type": "dimension",
118
+ "$value": "{tanrei.sys.border.hairline}",
119
+ "$description": "Width of the caret an empty active cell draws (OTC-7).",
120
+ "$extensions": {
121
+ "dev.tanrei.vocabulary": {
122
+ "rationale": "One product draws its text caret at a width of its own, apart from its dividers and edges: platforms keep a text field's cursor width as a value of its own, so a product that follows one draws a caret wider than its hairlines.",
123
+ "since": "0.1.0"
124
+ }
125
+ }
126
+ }
127
+ },
128
+ "outline": {
129
+ "width": {
130
+ "$type": "dimension",
131
+ "$value": "{tanrei.sys.border.hairline}",
132
+ "$description": "Width of the line inside a cell’s edge at rest, where it is drawn at all: the error line. The focused width is the focused state’s token."
133
+ }
134
+ },
135
+ "motion": {
136
+ "state-duration": {
137
+ "$type": "duration",
138
+ "$value": "{tanrei.sys.motion.role.state.default}",
139
+ "$description": "How long a change of a cell’s colors and line takes when the state, the active cell, error or disabled changes: the text field’s state duration."
140
+ },
141
+ "state-easing": {
142
+ "$type": "cubicBezier",
143
+ "$value": "{tanrei.sys.motion.easing.state}",
144
+ "$description": "The curve of that change."
145
+ }
146
+ },
147
+ "standard": {
148
+ "container": {
149
+ "color": {
150
+ "$type": "color",
151
+ "$value": "{tanrei.sys.color.surface-container-highest}",
152
+ "$description": "The fill of a cell, empty or filled: the stacked text field’s container."
153
+ }
154
+ },
155
+ "outline": {
156
+ "color": {
157
+ "$type": "color",
158
+ "$value": {
159
+ "colorSpace": "srgb",
160
+ "components": [
161
+ 0,
162
+ 0,
163
+ 0
164
+ ],
165
+ "alpha": 0,
166
+ "hex": "#000000"
167
+ },
168
+ "$extensions": {
169
+ "dev.tanrei.derive": {
170
+ "fixed": "At rest a cell has no edge; the active cell draws a line inside its edge while the field is focused (OTC-7)."
171
+ }
172
+ }
173
+ }
174
+ },
175
+ "input": {
176
+ "color": {
177
+ "$type": "color",
178
+ "$value": "{tanrei.sys.color.on-surface}",
179
+ "$description": "A character, and the mark that stands for it while mask is true."
180
+ }
181
+ },
182
+ "caret": {
183
+ "color": {
184
+ "$type": "color",
185
+ "$value": "{tanrei.sys.color.primary}",
186
+ "$description": "The caret in an empty active cell."
187
+ }
188
+ },
189
+ "separator": {
190
+ "color": {
191
+ "$type": "color",
192
+ "$value": "{tanrei.sys.color.on-surface-variant}",
193
+ "$description": "The mark between two groups: quieter than the characters it stands between, as a prefix is beside a value."
194
+ }
195
+ },
196
+ "state-layer": {
197
+ "color": {
198
+ "$type": "color",
199
+ "$value": "{tanrei.comp.one-time-code-input.standard.input.color}"
200
+ }
201
+ },
202
+ "error": {
203
+ "container": {
204
+ "color": {
205
+ "$type": "color",
206
+ "$value": "{tanrei.sys.color.surface-container-highest}"
207
+ }
208
+ },
209
+ "outline": {
210
+ "color": {
211
+ "$type": "color",
212
+ "$value": "{tanrei.sys.color.error}",
213
+ "$description": "The line inside every cell’s edge while the field is in error, so that the field itself is marked and not only its text."
214
+ }
215
+ },
216
+ "input": {
217
+ "color": {
218
+ "$type": "color",
219
+ "$value": "{tanrei.sys.color.on-surface}",
220
+ "$description": "The characters keep their color in error: the code is still what the person typed."
221
+ }
222
+ },
223
+ "caret": {
224
+ "color": {
225
+ "$type": "color",
226
+ "$value": "{tanrei.sys.color.error}"
227
+ }
228
+ },
229
+ "separator": {
230
+ "color": {
231
+ "$type": "color",
232
+ "$value": "{tanrei.sys.color.on-surface-variant}"
233
+ }
234
+ },
235
+ "state-layer": {
236
+ "color": {
237
+ "$type": "color",
238
+ "$value": "{tanrei.comp.one-time-code-input.standard.error.input.color}"
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
245
+ }
246
+ }
@@ -0,0 +1,247 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "page-header": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product opens its pages the same way: the page's title, a sentence that says what the page is, a line of facts about it (a date, an author, a state, tags), the actions that belong to the whole page, and the way back up above them. It opens an article, a settings page, a record and a list of results with that head, a part of a page with a smaller one and its landing page with a larger one, and wants the title of each to be the heading a reader and a machine both find.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.axes": {
11
+ "size": {
12
+ "default": "medium",
13
+ "values": [
14
+ "small",
15
+ "medium",
16
+ "large"
17
+ ],
18
+ "members": [
19
+ "title.typescale",
20
+ "description.typescale",
21
+ "description.gap",
22
+ "container.padding-block-end"
23
+ ]
24
+ }
25
+ },
26
+ "dev.tanrei.llm": {
27
+ "usage": "Everything a page header reads: per size, the title's text style, the description's text style, the space between them and the space the head keeps below its last part; the eyebrow's text style, color and its distance from the title; the colors of the title, the description and the meta line; the description's longest line; the meta line's text style, the space above it, between its items, between its rows and between a glyph or an avatar and the text of one item, and the dot drawn between two items; the space above the actions and between them; the distance between the text and actions that stand beside it; the width of the head from which actions stand beside the title; the space below what stands above the title (breadcrumbs); and the line under the head.",
28
+ "rules": [
29
+ "A page header is the head of a page's content: it says what the page is. Its title is the page's heading of level 1 — one per page or screen, never repeated in the app bar's title of the same screen, never an image. The head of a part of a page is the small size, whose title is a heading of level 2.",
30
+ "It stands in the content and scrolls with it. The bar at the top edge of the window is the app bar; the frame of regions is the app shell; a notice is a callout placed under the head.",
31
+ "Use medium for a page, small for a section of a page, large for the statement that opens a landing page. A size changes text styles and spaces only.",
32
+ "Write the eyebrow as a few words that say what the page belongs to (a category, a product, a version). The way up through a hierarchy is Breadcrumbs, or one Link back, in the breadcrumbs slot.",
33
+ "The description is one or two sentences. Long text belongs to the content below, as prose.",
34
+ "The meta line holds short facts about the page, each one item: a date (a time element on the web), an author's name with a small avatar, a reading time, a state as a Tag, a group of tags as one item. The page header draws the dot between two items; never write a separator of your own. Facts with names (\"Category: Actions\") are a description list below the head.",
35
+ "Actions are the product's Buttons and Links for the whole page, one to three, the main one filled. They stand beside the title while the head is wide and below the text while it is narrow; set actionsPlacement below to keep them under the text at every width.",
36
+ "The title wraps and is never cut: do not shorten a title to make it fit, and do not set a width on it.",
37
+ "The page header brings no fill. On a tinted band the product sets title.color, description.color, meta.color and eyebrow.color for that band.",
38
+ "Restyle through these tokens in a layer; never draw a page title by hand."
39
+ ]
40
+ }
41
+ },
42
+ "container": {
43
+ "gap": {
44
+ "$type": "dimension",
45
+ "$value": "{tanrei.sys.space.space300}",
46
+ "$description": "The distance between the text (eyebrow, title, description, meta) and the actions while the actions stand beside it. Larger than any space inside the text, so the actions read as belonging to the whole head and not to one line of it."
47
+ },
48
+ "padding-block-end": {
49
+ "$type": "dimension",
50
+ "$description": "The space the head keeps below its last part, inside its own box, per size: what follows a head starts further from it than two blocks of the content are from each other, by this much. Where the head draws its line (divider), the line is below this space, at the box's edge. The head brings no space above itself and no outer space at all.",
51
+ "small": {
52
+ "$value": "{tanrei.sys.space.space100}"
53
+ },
54
+ "medium": {
55
+ "$value": "{tanrei.sys.space.space200}"
56
+ },
57
+ "large": {
58
+ "$value": "{tanrei.sys.space.space400}"
59
+ }
60
+ }
61
+ },
62
+ "wide": {
63
+ "container-width": {
64
+ "$type": "dimension",
65
+ "$value": {
66
+ "value": 480,
67
+ "unit": "px"
68
+ },
69
+ "$description": "The width of the head itself — not of the window — from which it is wide: actions stand beside the title (PGH-10), and a large head draws its title at its own size (PGH-12). Below it the head is one column. It grows with enlarged text, so a head whose text was doubled goes to one column at twice this width.",
70
+ "$extensions": {
71
+ "dev.tanrei.vocabulary": {
72
+ "rationale": "One product shows the same head in a wide page, in a pane beside a list and on a phone, and decides once how narrow a head may be before its actions leave the title's side: a product with long titles or many actions sets it wider.",
73
+ "since": "0.1.0"
74
+ },
75
+ "dev.tanrei.derive": {
76
+ "fn": "mul",
77
+ "of": "{tanrei.dial.size.unit}",
78
+ "by": 120
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "breadcrumbs": {
84
+ "gap": {
85
+ "$type": "dimension",
86
+ "$value": "{tanrei.sys.space.space150}",
87
+ "$description": "The space below what stands above the title — Breadcrumbs, or a Link back — before the eyebrow or the title."
88
+ }
89
+ },
90
+ "eyebrow": {
91
+ "typescale": {
92
+ "$type": "typography",
93
+ "$value": "{tanrei.sys.typescale.eyebrow}",
94
+ "$description": "The eyebrow's text style: the system's kicker, small and tracked wide. The page header draws it in capitals where the script has them (PGH-6); the token stores no text transform."
95
+ },
96
+ "color": {
97
+ "$type": "color",
98
+ "$value": "{tanrei.sys.color.on-surface-variant}",
99
+ "$description": "The eyebrow: secondary content, quieter than the title it stands above."
100
+ },
101
+ "gap": {
102
+ "$type": "dimension",
103
+ "$value": "{tanrei.sys.space.space50}",
104
+ "$description": "Between the eyebrow and the title. Small, so the two read as one head."
105
+ }
106
+ },
107
+ "title": {
108
+ "typescale": {
109
+ "$type": "typography",
110
+ "$description": "The title's text style, per size: a section's heading for small, the page's title for medium, the system's one statement size for large. A large head narrower than wide.container-width draws medium's (PGH-12).",
111
+ "small": {
112
+ "$value": "{tanrei.sys.typescale.heading-2}"
113
+ },
114
+ "medium": {
115
+ "$value": "{tanrei.sys.typescale.heading-1}"
116
+ },
117
+ "large": {
118
+ "$value": "{tanrei.sys.typescale.display}"
119
+ }
120
+ },
121
+ "color": {
122
+ "$type": "color",
123
+ "$value": "{tanrei.sys.color.on-surface}",
124
+ "$description": "The title: the content color of the surface a page is drawn on."
125
+ }
126
+ },
127
+ "description": {
128
+ "typescale": {
129
+ "$type": "typography",
130
+ "$description": "The description's text style, per size: the interface's running text under a section's title, the style for a lead and long reading under a page's and a landing page's.",
131
+ "small": {
132
+ "$value": "{tanrei.sys.typescale.body}"
133
+ },
134
+ "medium": {
135
+ "$value": "{tanrei.sys.typescale.body-large}"
136
+ },
137
+ "large": {
138
+ "$value": "{tanrei.sys.typescale.body-large}"
139
+ }
140
+ },
141
+ "color": {
142
+ "$type": "color",
143
+ "$value": "{tanrei.sys.color.on-surface-variant}",
144
+ "$description": "The description: secondary content, so that the title stays the first thing read. Held to 4.5:1 on every surface by the token invariants."
145
+ },
146
+ "gap": {
147
+ "$type": "dimension",
148
+ "$description": "Between the title and the description, per size: a larger title stands further from the sentence under it.",
149
+ "small": {
150
+ "$value": "{tanrei.sys.space.space50}"
151
+ },
152
+ "medium": {
153
+ "$value": "{tanrei.sys.space.space100}"
154
+ },
155
+ "large": {
156
+ "$value": "{tanrei.sys.space.space200}"
157
+ }
158
+ },
159
+ "measure": {
160
+ "$type": "number",
161
+ "$value": 36,
162
+ "$description": "The description's longest line, as a multiple of its own font size (ems): the number prose limits its text blocks to, so a description and the paragraph under it end at the same edge when they are set at the same size. The title is not limited by it.",
163
+ "$extensions": {
164
+ "dev.tanrei.vocabulary": {
165
+ "rationale": "One product limits how long a line of its lead sentence grows on a wide page, apart from how wide the head itself is, whose actions stand at the far edge.",
166
+ "since": "0.1.0"
167
+ },
168
+ "dev.tanrei.derive": {
169
+ "fixed": "A count of characters, not a distance: it scales with the description's text size by being multiplied by it, and no dial moves it."
170
+ }
171
+ }
172
+ }
173
+ },
174
+ "meta": {
175
+ "typescale": {
176
+ "$type": "typography",
177
+ "$value": "{tanrei.sys.typescale.body-small}",
178
+ "$description": "The text of the meta line: secondary text, one step under the interface's running text, at every size."
179
+ },
180
+ "color": {
181
+ "$type": "color",
182
+ "$value": "{tanrei.sys.color.on-surface-variant}",
183
+ "$description": "The text of the meta line, where an item brings no color of its own (a Tag, a Link and an Avatar keep theirs)."
184
+ },
185
+ "gap": {
186
+ "$type": "dimension",
187
+ "$value": "{tanrei.sys.space.space150}",
188
+ "$description": "The space above the meta line, below the description or, without one, the title."
189
+ },
190
+ "item-gap": {
191
+ "$type": "dimension",
192
+ "$value": "{tanrei.sys.space.space200}",
193
+ "$description": "Between two items on one row of the meta line. The separator is drawn in the middle of it."
194
+ },
195
+ "row-gap": {
196
+ "$type": "dimension",
197
+ "$value": "{tanrei.sys.space.space50}",
198
+ "$description": "Between two rows of the meta line where it wraps. Small, so that a wrapped line still reads as one line of facts."
199
+ },
200
+ "icon": {
201
+ "gap": {
202
+ "$type": "dimension",
203
+ "$value": "{tanrei.sys.space.space75}",
204
+ "$description": "Between a glyph or an avatar and the text of the same item: an author's picture and name, a calendar glyph and a date."
205
+ }
206
+ },
207
+ "separator": {
208
+ "size": {
209
+ "$type": "dimension",
210
+ "$value": "{tanrei.sys.space.space50}",
211
+ "$description": "The diameter of the dot drawn between two items on one row. Decorative: it is never at the start or the end of a row and is not exposed. A system that parts its meta items by space alone sets it to the scale's zero."
212
+ },
213
+ "color": {
214
+ "$type": "color",
215
+ "$value": "{tanrei.sys.color.on-surface-variant}",
216
+ "$description": "The dot between two items: the color of the text it parts."
217
+ }
218
+ }
219
+ },
220
+ "actions": {
221
+ "gap": {
222
+ "$type": "dimension",
223
+ "$value": "{tanrei.sys.space.space200}",
224
+ "$description": "The space above the actions while they stand below the text."
225
+ },
226
+ "item-gap": {
227
+ "$type": "dimension",
228
+ "$value": "{tanrei.sys.space.space100}",
229
+ "$description": "Between two actions along their row, and between rows where they wrap."
230
+ }
231
+ },
232
+ "divider": {
233
+ "color": {
234
+ "$type": "color",
235
+ "$value": "{tanrei.sys.color.outline-variant}",
236
+ "$description": "The line under the head, where the product asks for it: the system's one hairline color. Decorative."
237
+ },
238
+ "thickness": {
239
+ "$type": "dimension",
240
+ "$value": "{tanrei.sys.border.hairline}",
241
+ "$description": "The width of the line under the head."
242
+ }
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }