@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,279 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "menubar": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product that is an application — an editor, a spreadsheet, a drawing or planning tool — has more commands than its screen can show as buttons, and keeps all of them within reach in one persistent row of named menus across the top of its window (File, Edit, View…). It styles that row and its titles apart from the rows inside the menus the titles open: how tall a title is, how it is padded and rounded, how far titles stand apart, whether the row has a fill, and how the title of the open menu stays marked. One or two commands or places it wants in one press — \"Run\", \"Documentation\" — stand in the same row as entries that act by themselves and are drawn as the titles are.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.states": {
11
+ "variants": [
12
+ "unselected",
13
+ "selected",
14
+ "expanded"
15
+ ],
16
+ "states": [
17
+ "hovered",
18
+ "focused",
19
+ "pressed",
20
+ "disabled"
21
+ ],
22
+ "perVariant": {
23
+ "container.color": "color",
24
+ "label.color": "color",
25
+ "icon.color": "color",
26
+ "state-layer.color": "color"
27
+ },
28
+ "perComponent": {
29
+ "opacity": "number",
30
+ "container.shape": "dimension"
31
+ }
32
+ },
33
+ "dev.tanrei.llm": {
34
+ "usage": "Everything a menubar draws of its own: the bar (its fill, paddings and the gap between titles), a title or a bar item (its height, padding, corners, text style, the size of the glyph an entry may draw — the overflow item's, a link item's new-context mark — and the gap between a label and that mark), the size of the indicator a menu's title ends in while the bar mixes menus with bar items, the colors of a title in each condition (unselected, selected = the current link item, expanded = the title whose menu is open) and state, and the motion of a title's state change and press. The surfaces the titles open are Menus and read comp.menu.* — nothing here restyles them.",
35
+ "rules": [
36
+ "A menubar holds menus and, beside them, a few bar items that act by themselves: an action that runs at once, or a link. It holds no field, no toggle and no checkbox or radio entry: a choice that is switched belongs in a menu. A row of bar items with no menu is not a menubar: actions alone are a toolbar, and a row of links to a site's pages is navigation.",
37
+ "A bar item is drawn from the unselected condition, exactly as a title, except the current link item: it is drawn from the selected condition, whose colors alias the menu's current link item (comp.menu.current.*), so that the place the person is on looks the same in the bar and in a menu. A link item that opens a new context is told by the mark open_in_new, container.gap after its label, at icon.size in the condition's icon.color. While the bar mixes menus with bar items, each menu's title ends in the indicator expand_more, container.gap after its label, at indicator.size.",
38
+ "Use a menubar only for an application's commands, and only when there are enough of them to need several named menus. A short set of options belongs in one Menu opened from a button.",
39
+ "Each condition's state-layer.color is the color hover, focus and press mix into a title's container; it aliases that condition's label color.",
40
+ "The title of the open menu is drawn from the expanded condition. Never mark it by color alone in a way that could be read as a selection: nothing in a menubar is selected.",
41
+ "bar.color is transparent in the default system: the bar takes the color of the chrome it stands on. A design system that fills its bar sets bar.color and checks each condition's label color against it.",
42
+ "The menus a bar opens are Menus: restyle them through comp.menu.* and every menu of the product changes with them. There is no token here that sets a bar's menus apart from the product's other menus.",
43
+ "A title's height is a visual size; its hit area extends to the minimum target (MBR-17). bar.gap is what neighbouring hit areas meet in the middle of.",
44
+ "Restyle through these tokens in a layer; never fork the component."
45
+ ]
46
+ },
47
+ "dev.tanrei.axes": {
48
+ "condition": {
49
+ "default": "unselected",
50
+ "from": "states"
51
+ }
52
+ }
53
+ },
54
+ "bar": {
55
+ "color": {
56
+ "$type": "color",
57
+ "$value": {
58
+ "colorSpace": "srgb",
59
+ "components": [
60
+ 0,
61
+ 0,
62
+ 0
63
+ ],
64
+ "alpha": 0,
65
+ "hex": "#000000"
66
+ },
67
+ "$extensions": {
68
+ "dev.tanrei.derive": {
69
+ "fixed": "The bar has no fill of its own in the default system; the chrome it stands on shows through."
70
+ },
71
+ "dev.tanrei.vocabulary": {
72
+ "rationale": "One product draws its menu row as part of the window's chrome, in the chrome's color; another sets it off as a strip of its own tone above the content. The token is the place where the second product says so, and where a design system that fills its bar is checked for the contrast of the titles on it.",
73
+ "since": "0.1.0"
74
+ }
75
+ },
76
+ "$description": "The fill of the whole bar, behind every title and across its full width."
77
+ },
78
+ "padding-inline": {
79
+ "$type": "dimension",
80
+ "$value": "{tanrei.sys.space.space50}",
81
+ "$description": "Space between the bar's start and end edges and its first and last titles."
82
+ },
83
+ "padding-block": {
84
+ "$type": "dimension",
85
+ "$value": "{tanrei.sys.space.space50}",
86
+ "$description": "Space above and below the titles. With container.height it gives the bar's height: 4 + 36 + 4 = 44 in the default system, at least sys.target.touch, so that a title's touch target lies inside the bar."
87
+ },
88
+ "gap": {
89
+ "$type": "dimension",
90
+ "$value": "{tanrei.sys.space.space25}",
91
+ "$description": "Distance between the visible bounds of two neighbouring titles. Their hit areas meet at the middle of it (MBR-17). It is small because the titles of one bar are read as one row of words, and not zero so that the open title's fill and a hovered neighbour's stay two shapes."
92
+ }
93
+ },
94
+ "container": {
95
+ "height": {
96
+ "$type": "dimension",
97
+ "$value": {
98
+ "value": 36,
99
+ "unit": "px"
100
+ },
101
+ "$extensions": {
102
+ "dev.tanrei.derive": {
103
+ "fn": "mul",
104
+ "of": "{tanrei.sys.control.height.medium}",
105
+ "by": 1,
106
+ "min": "{tanrei.sys.target.minimum}"
107
+ },
108
+ "dev.tanrei.aligned": "control"
109
+ },
110
+ "$description": "Minimum height of a title's container: the medium Button's 40, because a title is pressed as a button is. It grows with enlarged text; the hit area extends to the minimum target."
111
+ },
112
+ "padding-inline": {
113
+ "$type": "dimension",
114
+ "$value": "{tanrei.sys.space.space150}",
115
+ "$description": "Space between a title's container edge and its label, on each side: 12, the inset of a menu's own medium rows (comp.menu.container.padding-inline.medium), so that a title's label stands over the labels of the menu it opens once the menu's own inset is added."
116
+ },
117
+ "gap": {
118
+ "$type": "dimension",
119
+ "$value": "{tanrei.sys.space.space50}",
120
+ "$description": "Distance between an entry's label and the glyph after it: the mark open_in_new of a link item that opens a new context (MBR-37), and the indicator expand_more of a menu's title while the bar mixes menus with bar items (MBR-32). 4 in the default system, so that the word and its mark read as one entry: the mark stands much nearer its own word than the next entry's, which is two paddings and bar.gap away."
121
+ },
122
+ "shape": {
123
+ "$type": "dimension",
124
+ "$value": "{tanrei.sys.shape.corner.small}",
125
+ "$description": "The corners of a title's container, which the state layer and the open title's fill take: the step a menu's own row has, because a title is one choice among several in a row and not a button that stands alone."
126
+ }
127
+ },
128
+ "label": {
129
+ "typescale": {
130
+ "$type": "typography",
131
+ "$value": "{tanrei.sys.typescale.label}",
132
+ "$description": "A title's text style: the style of a menu's own item labels, so that the bar and its menus read as one list in two directions."
133
+ }
134
+ },
135
+ "icon": {
136
+ "size": {
137
+ "$type": "dimension",
138
+ "$value": "{tanrei.sys.icon.medium}",
139
+ "$description": "The glyph box of a glyph an entry draws: the overflow item's more_horiz, and the new-context mark open_in_new after a link item's label (MBR-37)."
140
+ }
141
+ },
142
+ "indicator": {
143
+ "size": {
144
+ "$type": "dimension",
145
+ "$value": "{tanrei.sys.icon.small}",
146
+ "$description": "The glyph box of the indicator expand_more that a menu's title ends in while the bar mixes menus with bar items (MBR-32), container.gap after the label. One step smaller than icon.size, as a disclosure glyph beside a word is: it marks the title, it is not a second word.",
147
+ "$extensions": {
148
+ "dev.tanrei.vocabulary": {
149
+ "rationale": "One product mixes a few entries that act by themselves with its menus in one bar, and needs a person to see before pressing which entries open a menu; how large that mark is beside a title's word is its own call.",
150
+ "since": "0.1.0"
151
+ }
152
+ }
153
+ }
154
+ },
155
+ "unselected": {
156
+ "container": {
157
+ "color": {
158
+ "$type": "color",
159
+ "$value": {
160
+ "colorSpace": "srgb",
161
+ "components": [
162
+ 0,
163
+ 0,
164
+ 0
165
+ ],
166
+ "alpha": 0,
167
+ "hex": "#000000"
168
+ },
169
+ "$extensions": {
170
+ "dev.tanrei.derive": {
171
+ "fixed": "A title has no fill at rest; the bar, or what the bar stands on, shows through."
172
+ }
173
+ }
174
+ }
175
+ },
176
+ "label": {
177
+ "color": {
178
+ "$type": "color",
179
+ "$value": "{tanrei.sys.color.on-surface}"
180
+ }
181
+ },
182
+ "icon": {
183
+ "color": {
184
+ "$type": "color",
185
+ "$value": "{tanrei.sys.color.on-surface}",
186
+ "$description": "The glyph of the overflow item (more_horiz), the one entry that is a glyph and not a word, and the new-context mark after a link item's label: each takes the color a title's label has, so that it reads as part of the row of words."
187
+ }
188
+ },
189
+ "state-layer": {
190
+ "color": {
191
+ "$type": "color",
192
+ "$value": "{tanrei.comp.menubar.unselected.label.color}",
193
+ "$description": "The color hover, focus and press mix into the title's container: the label's color."
194
+ }
195
+ }
196
+ },
197
+ "selected": {
198
+ "$extensions": {
199
+ "dev.tanrei.vocabulary": {
200
+ "rationale": "One product puts a link to a page of its own in the bar beside its menus and needs the bar to say, when the person is on that page, that this is where they are, drawn as its menus draw the row the person is on, so that one place reads the same in the bar and in a menu.",
201
+ "since": "0.1.0"
202
+ }
203
+ },
204
+ "container": {
205
+ "color": {
206
+ "$type": "color",
207
+ "$value": "{tanrei.comp.menu.current.container.color}",
208
+ "$description": "The fill of the link item that names the page the person is on (MBR-38): the fill of the menu's current link item, so that the current place is drawn the same in the bar and in a menu. A design system that sets the menu's sets this one with it."
209
+ }
210
+ },
211
+ "label": {
212
+ "color": {
213
+ "$type": "color",
214
+ "$value": "{tanrei.comp.menu.current.label.color}"
215
+ }
216
+ },
217
+ "icon": {
218
+ "color": {
219
+ "$type": "color",
220
+ "$value": "{tanrei.comp.menu.current.leading-icon.color}",
221
+ "$description": "The new-context mark of a current link item, in the color of the menu's current row's glyphs."
222
+ }
223
+ },
224
+ "state-layer": {
225
+ "color": {
226
+ "$type": "color",
227
+ "$value": "{tanrei.comp.menubar.selected.label.color}",
228
+ "$description": "The color hover, focus and press mix into the current link item's container: the label's color."
229
+ }
230
+ }
231
+ },
232
+ "expanded": {
233
+ "container": {
234
+ "color": {
235
+ "$type": "color",
236
+ "$value": "{tanrei.sys.color.surface-container-high}",
237
+ "$description": "The title of the menu that is open: a quiet fill that stays while the pointer and focus are in the menu below it, so that the bar keeps saying which menu is shown (MBR-9). The default system does not draw this tone: it values this token as the hover layer (expanded.state-layer.color at sys.state.hover-state-layer-opacity, in tokens/systems/tanrei.system.json), as it does for the menu's own item whose submenu is open, because the bar has no fill of its own and a tone chosen against one surface may not show on another. A design system that sets this token draws what it sets."
238
+ }
239
+ },
240
+ "label": {
241
+ "color": {
242
+ "$type": "color",
243
+ "$value": "{tanrei.sys.color.on-surface}"
244
+ }
245
+ },
246
+ "icon": {
247
+ "color": {
248
+ "$type": "color",
249
+ "$value": "{tanrei.sys.color.on-surface}",
250
+ "$description": "The glyph of the overflow item (more_horiz), the one title that is a glyph and not a word: it takes the color a title's label has, so that it reads as one more title."
251
+ }
252
+ },
253
+ "state-layer": {
254
+ "color": {
255
+ "$type": "color",
256
+ "$value": "{tanrei.comp.menubar.expanded.label.color}",
257
+ "$description": "The color hover, focus and press mix into the title's container: the label's color."
258
+ }
259
+ }
260
+ },
261
+ "motion": {
262
+ "state-duration": {
263
+ "$type": "duration",
264
+ "$value": "{tanrei.sys.motion.role.state.default}"
265
+ },
266
+ "state-easing": {
267
+ "$type": "cubicBezier",
268
+ "$value": "{tanrei.sys.motion.easing.state}"
269
+ },
270
+ "feedback-duration": {
271
+ "$type": "duration",
272
+ "$value": "{tanrei.sys.motion.role.feedback}",
273
+ "$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
@@ -0,0 +1,173 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "meter": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product shows where a quantity stands in a known range — storage used, a battery's charge, a quota, a password's strength — apart from the progress of a task: the two look alike by default, but they mean different things, so the product can restyle one without the other.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.llm": {
11
+ "usage": "Everything a meter reads: the bar's thickness and the ring's size and stroke per size, the track color, the ends' shape, whether the indicator meets the track or stands a gap from it, that gap and the stop indicator, the indicator color of each status, and the motion of a change of value or of status. The dimensions, the track and the default indicator color follow the progress indicator's tokens, so the two match side by side.",
12
+ "rules": [
13
+ "Use a meter for a quantity in a known range; a task under way is a progress indicator, and a value with no meaningful maximum is neither.",
14
+ "Always give it a label (the accessible name); use valueText when a percentage is not the natural reading (\"12.4 GB of 15 GB\").",
15
+ "The meter has no thresholds: the product decides the status from what the value means, and says it in words too (valueText or the text beside it) — the status changes the color only.",
16
+ "Every indicator color on track.color, and on the surface behind the meter, must stay distinguishable (3:1): the boundary between them is the value.",
17
+ "Restyle through these tokens in a layer; to set the meter apart from the progress indicator, value these tokens rather than the progress indicator's."
18
+ ]
19
+ },
20
+ "dev.tanrei.axes": {
21
+ "size": {
22
+ "default": "medium",
23
+ "values": [
24
+ "small",
25
+ "medium",
26
+ "large"
27
+ ],
28
+ "members": [
29
+ "linear.thickness",
30
+ "circular.size",
31
+ "circular.thickness"
32
+ ]
33
+ }
34
+ }
35
+ },
36
+ "linear": {
37
+ "thickness": {
38
+ "$type": "dimension",
39
+ "$description": "The bar's height, per size: the progress indicator's by default. The bar has no length of its own; it fills the inline size its layout gives it.",
40
+ "small": {
41
+ "$value": "{tanrei.comp.progress-indicator.linear.thickness.small}"
42
+ },
43
+ "medium": {
44
+ "$value": "{tanrei.comp.progress-indicator.linear.thickness.medium}"
45
+ },
46
+ "large": {
47
+ "$value": "{tanrei.comp.progress-indicator.linear.thickness.large}"
48
+ }
49
+ }
50
+ },
51
+ "circular": {
52
+ "size": {
53
+ "$type": "dimension",
54
+ "$description": "The ring's square box, per size: the progress indicator's by default.",
55
+ "small": {
56
+ "$value": "{tanrei.comp.progress-indicator.circular.size.small}"
57
+ },
58
+ "medium": {
59
+ "$value": "{tanrei.comp.progress-indicator.circular.size.medium}"
60
+ },
61
+ "large": {
62
+ "$value": "{tanrei.comp.progress-indicator.circular.size.large}"
63
+ }
64
+ },
65
+ "thickness": {
66
+ "$type": "dimension",
67
+ "$description": "The ring's stroke width, per size: the progress indicator's by default.",
68
+ "small": {
69
+ "$value": "{tanrei.comp.progress-indicator.circular.thickness.small}"
70
+ },
71
+ "medium": {
72
+ "$value": "{tanrei.comp.progress-indicator.circular.thickness.medium}"
73
+ },
74
+ "large": {
75
+ "$value": "{tanrei.comp.progress-indicator.circular.thickness.large}"
76
+ }
77
+ }
78
+ },
79
+ "track": {
80
+ "color": {
81
+ "$type": "color",
82
+ "$value": "{tanrei.comp.progress-indicator.track.color}",
83
+ "$description": "The whole range, from min to max: the progress indicator's track by default."
84
+ },
85
+ "shape": {
86
+ "$type": "dimension",
87
+ "$value": "{tanrei.comp.progress-indicator.track.shape}",
88
+ "$description": "The corner radius of the bar's ends and of the indicator's ends, clamped to half the thickness. The ring's caps are round unless this is sys.shape.corner.none."
89
+ },
90
+ "separation": {
91
+ "$type": "number",
92
+ "$value": "{tanrei.comp.progress-indicator.track.separation}",
93
+ "$description": "How the indicator is told from the rest of its track. divider: the indicator is drawn on the track with no space between them. gap: track.gap of empty space is left between them. Follows the progress indicator's choice, and so the system's; an instance's separation prop overrides it. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
94
+ "$extensions": {
95
+ "dev.tanrei.enum": {
96
+ "values": [
97
+ "divider",
98
+ "gap"
99
+ ]
100
+ }
101
+ }
102
+ },
103
+ "gap": {
104
+ "$type": "dimension",
105
+ "$value": "{tanrei.comp.progress-indicator.track.gap}",
106
+ "$description": "Under gap: empty space, measured along the track, between the end of the indicator and the rest of the track. Not drawn under divider."
107
+ }
108
+ },
109
+ "stop-indicator": {
110
+ "size": {
111
+ "$type": "dimension",
112
+ "$value": "{tanrei.comp.progress-indicator.stop-indicator.size}",
113
+ "$description": "The diameter of the dot a bar draws at the track's end, in the indicator color of its status, to mark where the range ends; never drawn larger than the bar is thick, and not drawn while the indicator covers it at max. 0 draws none."
114
+ }
115
+ },
116
+ "indicator": {
117
+ "color": {
118
+ "$type": "color",
119
+ "$value": "{tanrei.comp.progress-indicator.indicator.color}",
120
+ "$description": "The indicator of a meter whose status is default: the progress indicator's indicator color by default."
121
+ }
122
+ },
123
+ "info": {
124
+ "indicator": {
125
+ "color": {
126
+ "$type": "color",
127
+ "$value": "{tanrei.sys.color.info}",
128
+ "$description": "The indicator of a meter whose status is info: the status's own color, as the tag's info mark."
129
+ }
130
+ }
131
+ },
132
+ "success": {
133
+ "indicator": {
134
+ "color": {
135
+ "$type": "color",
136
+ "$value": "{tanrei.sys.color.success}",
137
+ "$description": "The indicator of a meter whose status is success: the status's own color, as the tag's success mark."
138
+ }
139
+ }
140
+ },
141
+ "warning": {
142
+ "indicator": {
143
+ "color": {
144
+ "$type": "color",
145
+ "$value": "{tanrei.sys.color.warning}",
146
+ "$description": "The indicator of a meter whose status is warning: the status's own color, as the tag's warning mark."
147
+ }
148
+ }
149
+ },
150
+ "error": {
151
+ "indicator": {
152
+ "color": {
153
+ "$type": "color",
154
+ "$value": "{tanrei.sys.color.error}",
155
+ "$description": "The indicator of a meter whose status is error: the status's own color, as the tag's error mark."
156
+ }
157
+ }
158
+ },
159
+ "motion": {
160
+ "value-duration": {
161
+ "$type": "duration",
162
+ "$value": "{tanrei.comp.progress-indicator.motion.value-duration}",
163
+ "$description": "How long the indicator's end takes to move to a new value, and its color to change to a new status's."
164
+ },
165
+ "value-easing": {
166
+ "$type": "cubicBezier",
167
+ "$value": "{tanrei.comp.progress-indicator.motion.value-easing}"
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "modal-layer": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product presents several kinds of modal surface — a dialog, a modal sheet, a modal drawer, a full-window preview, a modal picker — and wants what lies under all of them to be one thing: the same dim over the page, the same tempo in and out, the same way of blocking what is behind. Changing that once, for every modal surface, is the reason this group exists apart from each surface's own.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.llm": {
11
+ "usage": "Everything a modal layer reads: the scrim's color (alpha included) and how much it blurs what lies behind it, and the motion the scrim fades in and out with. Every modal overlay of Tanrei (the dialog, the modal side sheet, the modal bottom sheet, the modal navigation drawer, the image preview, the modal date-time picker, the search's modal views) is built from it: its own scrim and enter and exit motion tokens alias these.",
12
+ "rules": [
13
+ "Set comp.modal-layer.* in a layer to change what lies under every modal surface of a product at once; set one overlay's own scrim or motion token only to set that overlay apart.",
14
+ "The scrim's color carries its opacity: re-value the color (or sys.color.scrim) to make the dim lighter or darker; there is no separate opacity.",
15
+ "A blur is drawn only where the platform can blur what is behind a window; a product that wants the same look everywhere keeps comp.modal-layer.scrim.blur at 0.",
16
+ "The layer is behaviour as much as look: everything behind it inert, focus moved in, kept and given back, Escape, the platform's back and a press on the scrim. A surface that wants any of that is built from the modal layer, never a copy of it.",
17
+ "A surface that is not modal (a popover, a menu, a tooltip, a docked picker) draws no scrim and is not built from the modal layer."
18
+ ]
19
+ }
20
+ },
21
+ "scrim": {
22
+ "color": {
23
+ "$type": "color",
24
+ "$value": "{tanrei.sys.color.scrim}",
25
+ "$description": "The dim over everything behind a modal surface, alpha included (the scrim role is the overlay as drawn). Each modal overlay's own scrim color aliases this one."
26
+ },
27
+ "blur": {
28
+ "$type": "dimension",
29
+ "$value": {
30
+ "value": 0,
31
+ "unit": "px"
32
+ },
33
+ "$description": "How much the scrim blurs what lies behind it: the radius of a Gaussian blur, with the meaning of CSS's blur() (the standard deviation). 0 dims without blurring. A platform that cannot blur what is behind a window draws the color alone. Each modal overlay's own scrim blur aliases this one.",
34
+ "$extensions": {
35
+ "dev.tanrei.vocabulary": {
36
+ "rationale": "One product frosts the page behind its modal surfaces instead of only dimming it, so that what is behind reads as set aside rather than as darkened; the dim alone cannot say that."
37
+ },
38
+ "dev.tanrei.derive": {
39
+ "fixed": "No blur is the default's choice, not a length any dial scales: a system that blurs sets the radius it wants."
40
+ }
41
+ }
42
+ }
43
+ },
44
+ "motion": {
45
+ "enter-duration": {
46
+ "$type": "duration",
47
+ "$value": "{tanrei.sys.motion.role.appear.modal.enter}",
48
+ "$description": "How long the scrim takes to fade in as a modal surface opens: the modal role's entrance. The enter duration of each modal surface that takes the modal role (dialog, modal picker, image preview) aliases this one, so that it arrives with its scrim; a sheet takes the sheet role, and its scrim fades in step with it."
49
+ },
50
+ "enter-easing": {
51
+ "$type": "cubicBezier",
52
+ "$value": "{tanrei.sys.motion.easing.enter}",
53
+ "$description": "The curve of the scrim's fade in: the entrance curve. The enter easing of each modal surface that takes the modal role aliases it."
54
+ },
55
+ "exit-duration": {
56
+ "$type": "duration",
57
+ "$value": "{tanrei.sys.motion.role.appear.modal.exit}",
58
+ "$description": "How long the scrim takes to fade out as a modal surface closes: the modal role's exit. The exit duration of each modal surface that takes the modal role (dialog, modal picker, image preview) aliases this one, so that it leaves with its scrim; a sheet takes the sheet role, and its scrim fades out in step with it."
59
+ },
60
+ "exit-easing": {
61
+ "$type": "cubicBezier",
62
+ "$value": "{tanrei.sys.motion.easing.exit}",
63
+ "$description": "The curve of the scrim's fade out: the exit curve. The exit easing of each modal surface that takes the modal role aliases it."
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }