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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +58 -0
  3. package/README.md +77 -2
  4. package/bin/tanrei.js +14 -0
  5. package/dist/cli.js +6617 -0
  6. package/dist/studio/THIRD_PARTY_LICENSES.md +949 -0
  7. package/dist/studio/assets/css-Buuc00hS.js +1 -0
  8. package/dist/studio/assets/dart-CL60Wo_p.js +1 -0
  9. package/dist/studio/assets/highlight-hwWnuPS8.js +4 -0
  10. package/dist/studio/assets/index-BByvFAbB.js +26376 -0
  11. package/dist/studio/assets/index-CTe7Eja3.css +1 -0
  12. package/dist/studio/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  13. package/dist/studio/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  14. package/dist/studio/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  15. package/dist/studio/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  16. package/dist/studio/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  17. package/dist/studio/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  18. package/dist/studio/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  19. package/dist/studio/assets/javascript-DSMm3SZC.js +1 -0
  20. package/dist/studio/assets/json-CUC6w7Wi.js +1 -0
  21. package/dist/studio/assets/kotlin-8HB26Eaz.js +1 -0
  22. package/dist/studio/assets/markup-5VTZgibJ.js +1 -0
  23. package/dist/studio/assets/material-symbols-outlined-latin-full-normal-Cu9fI30F.woff2 +0 -0
  24. package/dist/studio/assets/material-symbols-rounded-latin-full-normal-DnCYgp88.woff2 +0 -0
  25. package/dist/studio/assets/noto-sans-jp-0-wght-normal-ChZwicxE.woff2 +0 -0
  26. package/dist/studio/assets/noto-sans-jp-1-wght-normal-CARGyt1_.woff2 +0 -0
  27. package/dist/studio/assets/noto-sans-jp-10-wght-normal-DtPkCCyJ.woff2 +0 -0
  28. package/dist/studio/assets/noto-sans-jp-100-wght-normal-IGIcweVU.woff2 +0 -0
  29. package/dist/studio/assets/noto-sans-jp-101-wght-normal-Dls8jqVU.woff2 +0 -0
  30. package/dist/studio/assets/noto-sans-jp-102-wght-normal-CKMRrjm1.woff2 +0 -0
  31. package/dist/studio/assets/noto-sans-jp-103-wght-normal-Cf0qKmex.woff2 +0 -0
  32. package/dist/studio/assets/noto-sans-jp-104-wght-normal-DU15_Tmk.woff2 +0 -0
  33. package/dist/studio/assets/noto-sans-jp-105-wght-normal-CTXm1m1e.woff2 +0 -0
  34. package/dist/studio/assets/noto-sans-jp-106-wght-normal-COtgWfsA.woff2 +0 -0
  35. package/dist/studio/assets/noto-sans-jp-107-wght-normal-BMH1cYUp.woff2 +0 -0
  36. package/dist/studio/assets/noto-sans-jp-108-wght-normal-1F5IhFoa.woff2 +0 -0
  37. package/dist/studio/assets/noto-sans-jp-109-wght-normal-XZ0efpq6.woff2 +0 -0
  38. package/dist/studio/assets/noto-sans-jp-11-wght-normal-Dkj9SGze.woff2 +0 -0
  39. package/dist/studio/assets/noto-sans-jp-110-wght-normal-CeHeZFeT.woff2 +0 -0
  40. package/dist/studio/assets/noto-sans-jp-111-wght-normal-DyRaOVPC.woff2 +0 -0
  41. package/dist/studio/assets/noto-sans-jp-112-wght-normal-CnVx-8lB.woff2 +0 -0
  42. package/dist/studio/assets/noto-sans-jp-113-wght-normal-CtbyXo_h.woff2 +0 -0
  43. package/dist/studio/assets/noto-sans-jp-114-wght-normal-DCIM4jZs.woff2 +0 -0
  44. package/dist/studio/assets/noto-sans-jp-115-wght-normal-CDBMNWew.woff2 +0 -0
  45. package/dist/studio/assets/noto-sans-jp-116-wght-normal-RqS7_mFx.woff2 +0 -0
  46. package/dist/studio/assets/noto-sans-jp-117-wght-normal-D73BPRww.woff2 +0 -0
  47. package/dist/studio/assets/noto-sans-jp-118-wght-normal-U5v7NshZ.woff2 +0 -0
  48. package/dist/studio/assets/noto-sans-jp-119-wght-normal-D3TauSHf.woff2 +0 -0
  49. package/dist/studio/assets/noto-sans-jp-12-wght-normal-CZgOv4iD.woff2 +0 -0
  50. package/dist/studio/assets/noto-sans-jp-13-wght-normal-B3bKCuev.woff2 +0 -0
  51. package/dist/studio/assets/noto-sans-jp-14-wght-normal-DbDHiDFQ.woff2 +0 -0
  52. package/dist/studio/assets/noto-sans-jp-15-wght-normal-BHvX48uZ.woff2 +0 -0
  53. package/dist/studio/assets/noto-sans-jp-16-wght-normal-CIRRqAST.woff2 +0 -0
  54. package/dist/studio/assets/noto-sans-jp-17-wght-normal-Cypgkvf4.woff2 +0 -0
  55. package/dist/studio/assets/noto-sans-jp-18-wght-normal-DhyYlhdC.woff2 +0 -0
  56. package/dist/studio/assets/noto-sans-jp-19-wght-normal-Cm6ySjN8.woff2 +0 -0
  57. package/dist/studio/assets/noto-sans-jp-2-wght-normal-RseJrQYo.woff2 +0 -0
  58. package/dist/studio/assets/noto-sans-jp-20-wght-normal-FgfhxZU_.woff2 +0 -0
  59. package/dist/studio/assets/noto-sans-jp-21-wght-normal-Ur8WYMVQ.woff2 +0 -0
  60. package/dist/studio/assets/noto-sans-jp-22-wght-normal-BACXhehE.woff2 +0 -0
  61. package/dist/studio/assets/noto-sans-jp-23-wght-normal-BguN3TwY.woff2 +0 -0
  62. package/dist/studio/assets/noto-sans-jp-24-wght-normal-CXEahOPk.woff2 +0 -0
  63. package/dist/studio/assets/noto-sans-jp-25-wght-normal-VS5EnqV2.woff2 +0 -0
  64. package/dist/studio/assets/noto-sans-jp-26-wght-normal-Bu8z50LX.woff2 +0 -0
  65. package/dist/studio/assets/noto-sans-jp-27-wght-normal-jmtCcHJ0.woff2 +0 -0
  66. package/dist/studio/assets/noto-sans-jp-28-wght-normal-DQNwlFIU.woff2 +0 -0
  67. package/dist/studio/assets/noto-sans-jp-29-wght-normal-BnPJOTuS.woff2 +0 -0
  68. package/dist/studio/assets/noto-sans-jp-3-wght-normal--H5uv3v4.woff2 +0 -0
  69. package/dist/studio/assets/noto-sans-jp-30-wght-normal-Bj8BZBgx.woff2 +0 -0
  70. package/dist/studio/assets/noto-sans-jp-31-wght-normal-Commwwo1.woff2 +0 -0
  71. package/dist/studio/assets/noto-sans-jp-32-wght-normal-CRZDfOIz.woff2 +0 -0
  72. package/dist/studio/assets/noto-sans-jp-33-wght-normal-BnYdH6SQ.woff2 +0 -0
  73. package/dist/studio/assets/noto-sans-jp-34-wght-normal-CGJbTgpI.woff2 +0 -0
  74. package/dist/studio/assets/noto-sans-jp-35-wght-normal-C7HufUhC.woff2 +0 -0
  75. package/dist/studio/assets/noto-sans-jp-36-wght-normal-Dyc832Mi.woff2 +0 -0
  76. package/dist/studio/assets/noto-sans-jp-37-wght-normal-BA1uUhJR.woff2 +0 -0
  77. package/dist/studio/assets/noto-sans-jp-38-wght-normal-6T50SRVw.woff2 +0 -0
  78. package/dist/studio/assets/noto-sans-jp-39-wght-normal-CN8CV109.woff2 +0 -0
  79. package/dist/studio/assets/noto-sans-jp-4-wght-normal-Dc2VWjiv.woff2 +0 -0
  80. package/dist/studio/assets/noto-sans-jp-40-wght-normal-Ac3ANHeE.woff2 +0 -0
  81. package/dist/studio/assets/noto-sans-jp-41-wght-normal-B-bcLJUI.woff2 +0 -0
  82. package/dist/studio/assets/noto-sans-jp-42-wght-normal-C4xWUztV.woff2 +0 -0
  83. package/dist/studio/assets/noto-sans-jp-43-wght-normal-DAb0Sc5Y.woff2 +0 -0
  84. package/dist/studio/assets/noto-sans-jp-44-wght-normal-DyPSHqCN.woff2 +0 -0
  85. package/dist/studio/assets/noto-sans-jp-45-wght-normal-BF-EckBd.woff2 +0 -0
  86. package/dist/studio/assets/noto-sans-jp-46-wght-normal-BmRwgAv-.woff2 +0 -0
  87. package/dist/studio/assets/noto-sans-jp-47-wght-normal-0LM1TynG.woff2 +0 -0
  88. package/dist/studio/assets/noto-sans-jp-48-wght-normal-DrhQr74m.woff2 +0 -0
  89. package/dist/studio/assets/noto-sans-jp-49-wght-normal-6kT-KCCt.woff2 +0 -0
  90. package/dist/studio/assets/noto-sans-jp-5-wght-normal-CeuaJ3GQ.woff2 +0 -0
  91. package/dist/studio/assets/noto-sans-jp-50-wght-normal-Cw6P8USA.woff2 +0 -0
  92. package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqxu35Xk.woff2 +0 -0
  93. package/dist/studio/assets/noto-sans-jp-52-wght-normal-DYmSQol3.woff2 +0 -0
  94. package/dist/studio/assets/noto-sans-jp-53-wght-normal-DwAVKRqn.woff2 +0 -0
  95. package/dist/studio/assets/noto-sans-jp-54-wght-normal-DkswS7jl.woff2 +0 -0
  96. package/dist/studio/assets/noto-sans-jp-55-wght-normal-BYcCjSG_.woff2 +0 -0
  97. package/dist/studio/assets/noto-sans-jp-56-wght-normal-k2E-xsGo.woff2 +0 -0
  98. package/dist/studio/assets/noto-sans-jp-57-wght-normal-Dcyw3o92.woff2 +0 -0
  99. package/dist/studio/assets/noto-sans-jp-58-wght-normal-C-mIssxc.woff2 +0 -0
  100. package/dist/studio/assets/noto-sans-jp-59-wght-normal-DUxkCIOP.woff2 +0 -0
  101. package/dist/studio/assets/noto-sans-jp-6-wght-normal-BETiiYWj.woff2 +0 -0
  102. package/dist/studio/assets/noto-sans-jp-60-wght-normal-B1SQjyhM.woff2 +0 -0
  103. package/dist/studio/assets/noto-sans-jp-61-wght-normal-DqwoqK_H.woff2 +0 -0
  104. package/dist/studio/assets/noto-sans-jp-62-wght-normal-Dvl1bj2o.woff2 +0 -0
  105. package/dist/studio/assets/noto-sans-jp-63-wght-normal-pZDrjPWR.woff2 +0 -0
  106. package/dist/studio/assets/noto-sans-jp-64-wght-normal-DGBgUuRb.woff2 +0 -0
  107. package/dist/studio/assets/noto-sans-jp-65-wght-normal-ZWzDwZG9.woff2 +0 -0
  108. package/dist/studio/assets/noto-sans-jp-66-wght-normal-C9Pvbzcq.woff2 +0 -0
  109. package/dist/studio/assets/noto-sans-jp-67-wght-normal-BmPiBD9j.woff2 +0 -0
  110. package/dist/studio/assets/noto-sans-jp-68-wght-normal-BM7y9lVd.woff2 +0 -0
  111. package/dist/studio/assets/noto-sans-jp-69-wght-normal-DjC_tZTr.woff2 +0 -0
  112. package/dist/studio/assets/noto-sans-jp-7-wght-normal-DPLqcl0u.woff2 +0 -0
  113. package/dist/studio/assets/noto-sans-jp-70-wght-normal-BhDpOk5L.woff2 +0 -0
  114. package/dist/studio/assets/noto-sans-jp-71-wght-normal-BeAYbG_b.woff2 +0 -0
  115. package/dist/studio/assets/noto-sans-jp-72-wght-normal-t74baR93.woff2 +0 -0
  116. package/dist/studio/assets/noto-sans-jp-73-wght-normal-CwrK-6j-.woff2 +0 -0
  117. package/dist/studio/assets/noto-sans-jp-74-wght-normal-iogpiswj.woff2 +0 -0
  118. package/dist/studio/assets/noto-sans-jp-75-wght-normal-DYpRVFfS.woff2 +0 -0
  119. package/dist/studio/assets/noto-sans-jp-76-wght-normal-HKTYIip9.woff2 +0 -0
  120. package/dist/studio/assets/noto-sans-jp-77-wght-normal-zMwvLrLX.woff2 +0 -0
  121. package/dist/studio/assets/noto-sans-jp-78-wght-normal-CJFvkh-5.woff2 +0 -0
  122. package/dist/studio/assets/noto-sans-jp-79-wght-normal-YT6TNXn0.woff2 +0 -0
  123. package/dist/studio/assets/noto-sans-jp-8-wght-normal-B-fyrhM6.woff2 +0 -0
  124. package/dist/studio/assets/noto-sans-jp-80-wght-normal-C8rE7JRr.woff2 +0 -0
  125. package/dist/studio/assets/noto-sans-jp-81-wght-normal-C3e5dWMK.woff2 +0 -0
  126. package/dist/studio/assets/noto-sans-jp-82-wght-normal-BjuKihWA.woff2 +0 -0
  127. package/dist/studio/assets/noto-sans-jp-83-wght-normal-CdGQgLIl.woff2 +0 -0
  128. package/dist/studio/assets/noto-sans-jp-84-wght-normal-BqzEfM_o.woff2 +0 -0
  129. package/dist/studio/assets/noto-sans-jp-85-wght-normal-CPi4u8zn.woff2 +0 -0
  130. package/dist/studio/assets/noto-sans-jp-86-wght-normal-B0MkLvt0.woff2 +0 -0
  131. package/dist/studio/assets/noto-sans-jp-87-wght-normal-D5BdgnTn.woff2 +0 -0
  132. package/dist/studio/assets/noto-sans-jp-88-wght-normal-CyIWoFtM.woff2 +0 -0
  133. package/dist/studio/assets/noto-sans-jp-89-wght-normal-B-qGeNph.woff2 +0 -0
  134. package/dist/studio/assets/noto-sans-jp-9-wght-normal-mnr2cWCS.woff2 +0 -0
  135. package/dist/studio/assets/noto-sans-jp-90-wght-normal-sQganGqO.woff2 +0 -0
  136. package/dist/studio/assets/noto-sans-jp-91-wght-normal-BZRsdRL6.woff2 +0 -0
  137. package/dist/studio/assets/noto-sans-jp-92-wght-normal-Bfqhr8vr.woff2 +0 -0
  138. package/dist/studio/assets/noto-sans-jp-93-wght-normal-ChR3IuHk.woff2 +0 -0
  139. package/dist/studio/assets/noto-sans-jp-94-wght-normal-CTW0oM41.woff2 +0 -0
  140. package/dist/studio/assets/noto-sans-jp-95-wght-normal-cEmZK7kl.woff2 +0 -0
  141. package/dist/studio/assets/noto-sans-jp-96-wght-normal-Bww_3Upk.woff2 +0 -0
  142. package/dist/studio/assets/noto-sans-jp-97-wght-normal-DEi73Ic_.woff2 +0 -0
  143. package/dist/studio/assets/noto-sans-jp-98-wght-normal-BE30qkDG.woff2 +0 -0
  144. package/dist/studio/assets/noto-sans-jp-99-wght-normal-Cj5IF6EZ.woff2 +0 -0
  145. package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BQJ6xfwZ.woff2 +0 -0
  146. package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-pB8enYeX.woff2 +0 -0
  147. package/dist/studio/assets/noto-sans-jp-latin-wght-normal-JmuruAaA.woff2 +0 -0
  148. package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CFXlG5tS.woff2 +0 -0
  149. package/dist/studio/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 +0 -0
  150. package/dist/studio/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 +0 -0
  151. package/dist/studio/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 +0 -0
  152. package/dist/studio/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 +0 -0
  153. package/dist/studio/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
  154. package/dist/studio/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
  155. package/dist/studio/assets/roboto-math-wght-normal-4a3xuzGk.woff2 +0 -0
  156. package/dist/studio/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 +0 -0
  157. package/dist/studio/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 +0 -0
  158. package/dist/studio/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 +0 -0
  159. package/dist/studio/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 +0 -0
  160. package/dist/studio/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 +0 -0
  161. package/dist/studio/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 +0 -0
  162. package/dist/studio/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 +0 -0
  163. package/dist/studio/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 +0 -0
  164. package/dist/studio/assets/shared-DaQcXrQr.js +1 -0
  165. package/dist/studio/assets/shell-BX8EJGse.js +1 -0
  166. package/dist/studio/assets/swift-BAKAYbPz.js +1 -0
  167. package/dist/studio/assets/typescript-TrpEWIdY.js +1 -0
  168. package/dist/studio/index.html +24 -0
  169. package/dist/vocabulary/tanrei.config.json +23 -0
  170. package/dist/vocabulary/tokens/AGENTS.md +15 -0
  171. package/dist/vocabulary/tokens/comp/accordion.tokens.json +436 -0
  172. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +211 -0
  173. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
  174. package/dist/vocabulary/tokens/comp/avatar.tokens.json +187 -0
  175. package/dist/vocabulary/tokens/comp/badge.tokens.json +100 -0
  176. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +256 -0
  177. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
  178. package/dist/vocabulary/tokens/comp/button-group.tokens.json +118 -0
  179. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +582 -0
  180. package/dist/vocabulary/tokens/comp/button.tokens.json +1102 -0
  181. package/dist/vocabulary/tokens/comp/calendar.tokens.json +490 -0
  182. package/dist/vocabulary/tokens/comp/callout.tokens.json +754 -0
  183. package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
  184. package/dist/vocabulary/tokens/comp/carousel.tokens.json +409 -0
  185. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +309 -0
  186. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +591 -0
  187. package/dist/vocabulary/tokens/comp/chip.tokens.json +665 -0
  188. package/dist/vocabulary/tokens/comp/code-block.tokens.json +459 -0
  189. package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
  190. package/dist/vocabulary/tokens/comp/combobox.tokens.json +587 -0
  191. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +39 -0
  192. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +766 -0
  193. package/dist/vocabulary/tokens/comp/description-list.tokens.json +181 -0
  194. package/dist/vocabulary/tokens/comp/dialog.tokens.json +280 -0
  195. package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
  196. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +103 -0
  197. package/dist/vocabulary/tokens/comp/empty-state.tokens.json +154 -0
  198. package/dist/vocabulary/tokens/comp/fab-menu.tokens.json +509 -0
  199. package/dist/vocabulary/tokens/comp/field-group.tokens.json +191 -0
  200. package/dist/vocabulary/tokens/comp/field.tokens.json +279 -0
  201. package/dist/vocabulary/tokens/comp/figure.tokens.json +215 -0
  202. package/dist/vocabulary/tokens/comp/file-item.tokens.json +445 -0
  203. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +282 -0
  204. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +35 -0
  205. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +297 -0
  206. package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
  207. package/dist/vocabulary/tokens/comp/input-box.tokens.json +938 -0
  208. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +192 -0
  209. package/dist/vocabulary/tokens/comp/link-card.tokens.json +301 -0
  210. package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
  211. package/dist/vocabulary/tokens/comp/list.tokens.json +447 -0
  212. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +208 -0
  213. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +345 -0
  214. package/dist/vocabulary/tokens/comp/menu.tokens.json +919 -0
  215. package/dist/vocabulary/tokens/comp/menubar.tokens.json +228 -0
  216. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +479 -0
  217. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +770 -0
  218. package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +254 -0
  219. package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
  220. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +231 -0
  221. package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
  222. package/dist/vocabulary/tokens/comp/pagination.tokens.json +194 -0
  223. package/dist/vocabulary/tokens/comp/popover.tokens.json +292 -0
  224. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +208 -0
  225. package/dist/vocabulary/tokens/comp/prose.tokens.json +267 -0
  226. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +417 -0
  227. package/dist/vocabulary/tokens/comp/search.tokens.json +675 -0
  228. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +360 -0
  229. package/dist/vocabulary/tokens/comp/select.tokens.json +553 -0
  230. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +285 -0
  231. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +111 -0
  232. package/dist/vocabulary/tokens/comp/slider.tokens.json +435 -0
  233. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1334 -0
  234. package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
  235. package/dist/vocabulary/tokens/comp/switch.tokens.json +349 -0
  236. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
  237. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +404 -0
  238. package/dist/vocabulary/tokens/comp/table.tokens.json +442 -0
  239. package/dist/vocabulary/tokens/comp/tabs.tokens.json +970 -0
  240. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +57 -0
  241. package/dist/vocabulary/tokens/comp/tag.tokens.json +527 -0
  242. package/dist/vocabulary/tokens/comp/text-input.tokens.json +166 -0
  243. package/dist/vocabulary/tokens/comp/timeline.tokens.json +243 -0
  244. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +155 -0
  245. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +415 -0
  246. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +393 -0
  247. package/dist/vocabulary/tokens/dial/dial.tokens.json +117 -0
  248. package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +68 -0
  249. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +178 -0
  250. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +67 -0
  251. package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
  252. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +278 -0
  253. package/dist/vocabulary/tokens/ref/typeface.tokens.json +116 -0
  254. package/dist/vocabulary/tokens/schema/icon-set.schema.json +82 -0
  255. package/dist/vocabulary/tokens/schema/system.schema.json +570 -0
  256. package/dist/vocabulary/tokens/sys/behavior.tokens.json +119 -0
  257. package/dist/vocabulary/tokens/sys/color.vocabulary.json +58 -0
  258. package/dist/vocabulary/tokens/sys/elevation.tokens.json +362 -0
  259. package/dist/vocabulary/tokens/sys/measure.tokens.json +358 -0
  260. package/dist/vocabulary/tokens/sys/motion.tokens.json +949 -0
  261. package/dist/vocabulary/tokens/sys/shape.tokens.json +169 -0
  262. package/dist/vocabulary/tokens/sys/space.tokens.json +256 -0
  263. package/dist/vocabulary/tokens/sys/state.tokens.json +70 -0
  264. package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
  265. package/dist/vocabulary/tokens/systems/cupertino.system.json +640 -0
  266. package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +83 -0
  267. package/dist/vocabulary/tokens/systems/m3-like.system.json +855 -0
  268. package/dist/vocabulary/tokens/systems/tanrei.system.json +409 -0
  269. package/dist/vocabulary/tokens/tanrei.resolver.json +358 -0
  270. package/dist/vocabulary/tokens/vocabulary.lock.json +7052 -0
  271. package/package.json +32 -3
@@ -0,0 +1,181 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "description-list": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product shows what it knows about one thing as named facts — an order's number, date and address; a file's size, owner and date; a component's category and status; the settings of an account — and the few figures a screen opens with — how many, how much, how long. It wants every such block drawn the same way: a quiet name, the value that answers it, the names in one column where there is room and above their values where there is not, loose where a person reads and tight where a person scans.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.axes": {
11
+ "density": {
12
+ "default": "regular",
13
+ "values": [
14
+ "regular",
15
+ "compact"
16
+ ],
17
+ "members": [
18
+ "fact.gap",
19
+ "term.gap",
20
+ "term.typescale",
21
+ "value.typescale",
22
+ "stat.value.typescale"
23
+ ]
24
+ }
25
+ },
26
+ "dev.tanrei.llm": {
27
+ "usage": "Everything a description list reads: per density, the space between two facts, the space between the term column and the value column, the text styles of a term and of a value, and the text style of a figure in the stat layout; the colors of a term and of a value; the space between a term and the value under it; the space between two columns of facts and the least width of a column that holds values; the one line between facts and how facts are told apart (a line or a gap, following the system's choice).",
28
+ "rules": [
29
+ "A description list presents the facts of one thing: each a name and the value that answers it. Many things that share the same names are a table; text that is read in order, with a term now and then, is prose.",
30
+ "Use layout inline for a block of facts a person looks things up in, stacked where values are long or the names are, and stat for a few figures with their labels. An inline list stacks by itself when it is narrow; do not switch the layout by hand for a small window.",
31
+ "Set columns to the most columns you want, and let the list draw fewer when it is narrow. An inline list is always one column.",
32
+ "Use density compact where a person scans many facts (a side panel, an inspector) and regular where a person reads them.",
33
+ "Write a term as a short name without a colon. Write a value as the person should read it: format numbers, dates and units yourself, and write \"None\" or \"Not set\" where a fact has no value.",
34
+ "A value may hold a tag, a link, inline code or a button; the list places it and styles nothing inside it. A fact, a term and a value are never pressed: put a link or a button inside the value.",
35
+ "A figure in the stat layout is text of the surface's color, never primary and never a status color. Say a change in words, with a glyph (a tag whose label says \"up 12 %\"), never by color alone.",
36
+ "Restyle through these tokens in a layer; never draw a line or a fill of your own between facts."
37
+ ]
38
+ }
39
+ },
40
+ "separation": {
41
+ "$type": "number",
42
+ "$value": "{tanrei.sys.behavior.separation}",
43
+ "$description": "How a fact is told from the fact below it. divider: a line of divider.thickness in divider.color between them, with fact.gap on each side of it. gap: fact.gap of empty space and no line. Follows the system's choice; a list's separation prop overrides it (DSL-13). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
44
+ "$extensions": {
45
+ "dev.tanrei.vocabulary": {
46
+ "rationale": "One product rules its blocks of facts with a line while its joined buttons stand apart, or parts both by space: the system-wide choice gives the common answer, and the description list must be able to leave it, because a line between the facts of a record and a line inside a filled control are not the same decision.",
47
+ "since": "0.1.0"
48
+ },
49
+ "dev.tanrei.enum": {
50
+ "values": [
51
+ "divider",
52
+ "gap"
53
+ ]
54
+ }
55
+ }
56
+ },
57
+ "divider": {
58
+ "color": {
59
+ "$type": "color",
60
+ "$value": "{tanrei.sys.color.outline-variant}",
61
+ "$description": "The line between two facts: the system's one hairline color. Decorative: facts, terms and values are exposed without it."
62
+ },
63
+ "thickness": {
64
+ "$type": "dimension",
65
+ "$value": "{tanrei.sys.border.hairline}",
66
+ "$description": "The width of the line between two facts."
67
+ }
68
+ },
69
+ "fact": {
70
+ "gap": {
71
+ "$type": "dimension",
72
+ "$description": "The space between a fact and the fact below it, per density: once where facts are told apart by space, and on each side of the line where they are told apart by a line. The list has no row height of its own: a fact is as tall as its term and its values.",
73
+ "regular": {
74
+ "$value": "{tanrei.sys.space.space150}"
75
+ },
76
+ "compact": {
77
+ "$value": "{tanrei.sys.space.space75}"
78
+ }
79
+ }
80
+ },
81
+ "term": {
82
+ "gap": {
83
+ "$type": "dimension",
84
+ "$description": "The space between the term column and the value column while the term sits beside its value, per density.",
85
+ "regular": {
86
+ "$value": "{tanrei.sys.space.space200}"
87
+ },
88
+ "compact": {
89
+ "$value": "{tanrei.sys.space.space100}"
90
+ }
91
+ },
92
+ "color": {
93
+ "$type": "color",
94
+ "$value": "{tanrei.sys.color.on-surface-variant}",
95
+ "$description": "The text of a term, and of a figure's label in the stat layout: secondary content, quieter than the value it names."
96
+ },
97
+ "typescale": {
98
+ "$type": "typography",
99
+ "$description": "The text of a term, per density: a label, not running text. In the stat layout it is the style of the label under the figure.",
100
+ "regular": {
101
+ "$value": "{tanrei.sys.typescale.label}"
102
+ },
103
+ "compact": {
104
+ "$value": "{tanrei.sys.typescale.label-small}"
105
+ }
106
+ }
107
+ },
108
+ "stack": {
109
+ "gap": {
110
+ "$type": "dimension",
111
+ "$value": "{tanrei.sys.space.space50}",
112
+ "$description": "The space between a term and the value under it, between a figure and its label, and between two values of one term. Small, so that a term and its values read as one fact."
113
+ }
114
+ },
115
+ "column": {
116
+ "gap": {
117
+ "$type": "dimension",
118
+ "$value": "{tanrei.sys.space.space400}",
119
+ "$description": "The space between two columns of facts in the stacked and stat layouts. Larger than term.gap and stack.gap, so that two facts side by side are not read as one."
120
+ },
121
+ "min-width": {
122
+ "$type": "dimension",
123
+ "$value": {
124
+ "value": 144,
125
+ "unit": "px"
126
+ },
127
+ "$description": "The least width of a column that holds values. A list in columns draws only as many columns as are at least this wide (DSL-7); an inline list whose value column would be narrower than this draws its terms above their values instead (DSL-4). It grows with enlarged text (DSL-21).",
128
+ "$extensions": {
129
+ "dev.tanrei.vocabulary": {
130
+ "rationale": "One product decides how far a value may be squeezed before its facts are rearranged: a block of facts that sits in a wide page, in a side panel and on a phone must go from several columns to one, and from terms beside values to terms above them, at a width the product can set once.",
131
+ "since": "0.1.0"
132
+ },
133
+ "dev.tanrei.derive": {
134
+ "fn": "mul",
135
+ "of": "{tanrei.dial.size.unit}",
136
+ "by": 36
137
+ }
138
+ }
139
+ }
140
+ },
141
+ "value": {
142
+ "color": {
143
+ "$type": "color",
144
+ "$value": "{tanrei.sys.color.on-surface}",
145
+ "$description": "The text of a value, and of a figure in the stat layout."
146
+ },
147
+ "typescale": {
148
+ "$type": "typography",
149
+ "$description": "The text of a value, per density: the interface's running text, as prose sets a description at its medium size.",
150
+ "regular": {
151
+ "$value": "{tanrei.sys.typescale.body}"
152
+ },
153
+ "compact": {
154
+ "$value": "{tanrei.sys.typescale.body-small}"
155
+ }
156
+ }
157
+ },
158
+ "stat": {
159
+ "$extensions": {
160
+ "dev.tanrei.vocabulary": {
161
+ "rationale": "One product opens a screen with a few figures — how many orders, how much revenue, how long a build took — each larger than anything it says about them, and shows the same kind of figure smaller in a card or a side panel.",
162
+ "since": "0.1.0"
163
+ }
164
+ },
165
+ "value": {
166
+ "typescale": {
167
+ "$type": "typography",
168
+ "$description": "The text of a figure in the stat layout, per density: a heading role, because the figure is what the fact is read for. Its label takes term.typescale and its color is value.color.",
169
+ "regular": {
170
+ "$value": "{tanrei.sys.typescale.heading-1}"
171
+ },
172
+ "compact": {
173
+ "$value": "{tanrei.sys.typescale.heading-3}"
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
@@ -0,0 +1,280 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "dialog": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product stops the person for a decision it cannot make for them (discard a draft, delete an account, grant a permission) and collects a few details without leaving the page, in a surface that dims and blocks everything behind it and always offers an answer.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.llm": {
11
+ "usage": "Everything a dialog reads: the scrim behind it; the container's color, elevation, corner shape, padding, gap, minimum and maximum width and its margin to the window; the window width below which it sits at the bottom; the header (where the icon sits and its gap to the headline); the icon, headline, supporting text and content colors and text styles; the dividers shown while the content scrolls; how the actions are arranged, their default Button variant and their spacing; and the enter and exit motion, centred and from the bottom.",
12
+ "rules": [
13
+ "Every dialog has at least one action. The actions are Tanrei Buttons, marked confirming or dismissive; the dialog places them as a full-width Button group and gives a Button without a variant the one comp.dialog.actions.variant names (tonal in the default system). It never changes a variant the product set.",
14
+ "Choose another look for every dialog of a product by re-valuing comp.dialog.actions.variant and comp.dialog.actions.arrangement in its layer; set a Button's variant for one action only.",
15
+ "Use the headline for a question or a statement of what will happen; it is the dialog's accessible name.",
16
+ "A dialog interrupts. Report an outcome with a snackbar and explain with a tooltip instead.",
17
+ "Restyle through these tokens in a layer; never fork the component."
18
+ ]
19
+ }
20
+ },
21
+ "scrim": {
22
+ "color": {
23
+ "$type": "color",
24
+ "$value": "{tanrei.sys.color.scrim}",
25
+ "$description": "The dim over everything behind the dialog, alpha included (the scrim role is the overlay as drawn)."
26
+ }
27
+ },
28
+ "container": {
29
+ "color": {
30
+ "$type": "color",
31
+ "$value": "{tanrei.sys.color.surface-bright}"
32
+ },
33
+ "elevation": {
34
+ "$type": "shadow",
35
+ "$value": "{tanrei.sys.elevation.level3}"
36
+ },
37
+ "shape": {
38
+ "$type": "dimension",
39
+ "$value": "{tanrei.sys.shape.corner.large}",
40
+ "$description": "Every corner of the container, centred or at the bottom of a compact window."
41
+ },
42
+ "padding": {
43
+ "$type": "dimension",
44
+ "$value": "{tanrei.sys.space.space300}",
45
+ "$description": "The inset of the header, text, content and actions from the container's edges, on every side."
46
+ },
47
+ "gap": {
48
+ "$type": "dimension",
49
+ "$value": "{tanrei.sys.space.space200}",
50
+ "$description": "Between the header, the supporting text and the content, top to bottom, and between the icon and the headline when the icon sits above it."
51
+ },
52
+ "min-width": {
53
+ "$type": "dimension",
54
+ "$value": {
55
+ "value": 280,
56
+ "unit": "px"
57
+ },
58
+ "$description": "The narrowest a dialog draws, unless the window less its margins is narrower.",
59
+ "$extensions": {
60
+ "dev.tanrei.derive": {
61
+ "fn": "mul",
62
+ "of": "{tanrei.dial.size.unit}",
63
+ "by": 70
64
+ }
65
+ }
66
+ },
67
+ "max-width": {
68
+ "$type": "dimension",
69
+ "$value": {
70
+ "value": 560,
71
+ "unit": "px"
72
+ },
73
+ "$description": "The widest a dialog draws, centred or at the bottom; longer text wraps and wider content scrolls or wraps.",
74
+ "$extensions": {
75
+ "dev.tanrei.derive": {
76
+ "fn": "mul",
77
+ "of": "{tanrei.dial.size.unit}",
78
+ "by": 140
79
+ }
80
+ }
81
+ },
82
+ "margin": {
83
+ "$type": "dimension",
84
+ "$value": "{tanrei.sys.space.space200}",
85
+ "$description": "The least distance between the container and the edges of the window's safe area (and the on-screen keyboard), centred or at the bottom. It wins over min-width on a narrow window."
86
+ }
87
+ },
88
+ "compact": {
89
+ "window-width": {
90
+ "$type": "dimension",
91
+ "$value": {
92
+ "value": 600,
93
+ "unit": "px"
94
+ },
95
+ "$description": "A window narrower than this is compact: the dialog sits at the bottom of it instead of its centre (DLG-17). 0 keeps the dialog centred in every window.",
96
+ "$extensions": {
97
+ "dev.tanrei.vocabulary": {
98
+ "rationale": "One product decides below which window width its dialogs move within reach of the thumb, and a product whose dialogs stay centred everywhere sets 0."
99
+ },
100
+ "dev.tanrei.derive": {
101
+ "fn": "mul",
102
+ "of": "{tanrei.dial.size.unit}",
103
+ "by": 150
104
+ }
105
+ }
106
+ }
107
+ },
108
+ "header": {
109
+ "gap": {
110
+ "$type": "dimension",
111
+ "$value": "{tanrei.sys.space.space150}",
112
+ "$description": "Between the icon and the headline beside it, while the icon sits at the headline's start (icon.placement inline).",
113
+ "$extensions": {
114
+ "dev.tanrei.vocabulary": {
115
+ "rationale": "One product pairs a glyph with the words beside it more tightly than it spaces the stacked parts of a surface; the header's gap is that pairing, apart from container.gap."
116
+ }
117
+ }
118
+ }
119
+ },
120
+ "icon": {
121
+ "color": {
122
+ "$type": "color",
123
+ "$value": "{tanrei.sys.color.secondary}"
124
+ },
125
+ "size": {
126
+ "$type": "dimension",
127
+ "$value": "{tanrei.sys.icon.medium}"
128
+ },
129
+ "placement": {
130
+ "$type": "number",
131
+ "$value": 0,
132
+ "$description": "Where the icon sits. inline: at the start of the headline's first line, header.gap before it, the headline and the supporting text aligned to the start. above: above the headline, container.gap apart, the icon and the headline centred and the supporting text at the start. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
133
+ "$extensions": {
134
+ "dev.tanrei.vocabulary": {
135
+ "rationale": "One product decides once, for all its dialogs, whether an icon marks the headline beside it or heads the dialog above it; the two read differently and a product picks one."
136
+ },
137
+ "dev.tanrei.enum": {
138
+ "values": [
139
+ "inline",
140
+ "above"
141
+ ]
142
+ },
143
+ "dev.tanrei.derive": {
144
+ "fixed": "A choice of kind; no dial scales it."
145
+ }
146
+ }
147
+ }
148
+ },
149
+ "headline": {
150
+ "color": {
151
+ "$type": "color",
152
+ "$value": "{tanrei.sys.color.on-surface}"
153
+ },
154
+ "typescale": {
155
+ "$type": "typography",
156
+ "$value": "{tanrei.sys.typescale.heading-5}"
157
+ }
158
+ },
159
+ "supporting-text": {
160
+ "color": {
161
+ "$type": "color",
162
+ "$value": "{tanrei.sys.color.on-surface-variant}"
163
+ },
164
+ "typescale": {
165
+ "$type": "typography",
166
+ "$value": "{tanrei.sys.typescale.body}"
167
+ }
168
+ },
169
+ "content": {
170
+ "color": {
171
+ "$type": "color",
172
+ "$value": "{tanrei.sys.color.on-surface}",
173
+ "$description": "The foreground the dialog hands to its custom content (a list, a field's surroundings), as the platform's inherited color."
174
+ }
175
+ },
176
+ "divider": {
177
+ "color": {
178
+ "$type": "color",
179
+ "$value": "{tanrei.sys.color.outline-variant}"
180
+ },
181
+ "width": {
182
+ "$type": "dimension",
183
+ "$value": "{tanrei.sys.border.hairline}"
184
+ }
185
+ },
186
+ "actions": {
187
+ "gap": {
188
+ "$type": "dimension",
189
+ "$value": "{tanrei.sys.space.space200}",
190
+ "$description": "Between two actions, in a row or stacked. At sys.target.touch minus the lowest Button (small, 32) or more, every action keeps its whole target in a column, as comp.button-group.standard.gap does."
191
+ },
192
+ "margin-block-start": {
193
+ "$type": "dimension",
194
+ "$value": "{tanrei.sys.space.space300}",
195
+ "$description": "Between the last of the header, text and content and the actions."
196
+ },
197
+ "arrangement": {
198
+ "$type": "number",
199
+ "$value": 0,
200
+ "$description": "How the actions sit. fill: a full-width Button group, the actions sharing the container's inner width equally. end: at their own widths, aligned to the end. Either stacks into a column when the row does not fit (DLG-10). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
201
+ "$extensions": {
202
+ "dev.tanrei.vocabulary": {
203
+ "rationale": "One product decides once how the answers at the foot of its dialogs sit: as equal, full-width targets, or as a compact row at the end that leaves the width to the text."
204
+ },
205
+ "dev.tanrei.enum": {
206
+ "values": [
207
+ "fill",
208
+ "end"
209
+ ]
210
+ },
211
+ "dev.tanrei.derive": {
212
+ "fixed": "A choice of kind; no dial scales it."
213
+ }
214
+ }
215
+ },
216
+ "variant": {
217
+ "$type": "number",
218
+ "$value": 1,
219
+ "$description": "The Button variant the dialog gives an action whose variant the product did not set (DLG-20). An action whose variant is set keeps it. The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
220
+ "$extensions": {
221
+ "dev.tanrei.vocabulary": {
222
+ "rationale": "One product chooses the emphasis of its dialogs' answers once, for every dialog, rather than on each Button: tonal where the answers are the dialog's point, text where the words should lead."
223
+ },
224
+ "dev.tanrei.enum": {
225
+ "values": [
226
+ "filled",
227
+ "tonal",
228
+ "elevated",
229
+ "outlined",
230
+ "text"
231
+ ]
232
+ },
233
+ "dev.tanrei.derive": {
234
+ "fixed": "A choice of kind; no dial scales it."
235
+ }
236
+ }
237
+ }
238
+ },
239
+ "motion": {
240
+ "enter-duration": {
241
+ "$type": "duration",
242
+ "$value": "{tanrei.sys.motion.duration.medium2}"
243
+ },
244
+ "enter-easing": {
245
+ "$type": "cubicBezier",
246
+ "$value": "{tanrei.sys.motion.easing.emphasized-decelerate}"
247
+ },
248
+ "enter-scale": {
249
+ "$type": "number",
250
+ "$value": 0.95,
251
+ "$description": "The size a centred container grows from, as a fraction of its own, while it fades in. 1 fades without growing.",
252
+ "$extensions": {
253
+ "dev.tanrei.derive": {
254
+ "fixed": "A proportion of the dialog's own size; no dial scales it."
255
+ }
256
+ }
257
+ },
258
+ "enter-offset": {
259
+ "$type": "dimension",
260
+ "$value": "{tanrei.sys.space.space400}",
261
+ "$description": "How far below its place a container at the bottom of a compact window starts as it rises in, and sinks as it leaves. 0 fades without moving.",
262
+ "$extensions": {
263
+ "dev.tanrei.vocabulary": {
264
+ "rationale": "One product tunes how far a dialog travels when it comes up from the bottom edge: far enough to say where it came from, short enough not to read as a sheet."
265
+ }
266
+ }
267
+ },
268
+ "exit-duration": {
269
+ "$type": "duration",
270
+ "$value": "{tanrei.sys.motion.duration.short4}"
271
+ },
272
+ "exit-easing": {
273
+ "$type": "cubicBezier",
274
+ "$value": "{tanrei.sys.motion.easing.emphasized-accelerate}"
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "divider": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product separates groups of content with a quiet line, horizontally and vertically, across the full length or inset to align with the content it separates.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.llm": {
11
+ "usage": "Everything a divider reads: the line's color and thickness, the length it is shortened by at its start (or at both ends) when inset, the gap between the dots of a dotted line, the length and gap of a dashed line's dashes, and the amplitude and wavelength of a wavy line.",
12
+ "rules": [
13
+ "A divider adds no space around itself; put the gap in the layout that places it.",
14
+ "Keep dividers decorative unless the grouping itself is meaningful (a toolbar's or a menu's groups).",
15
+ "Restyle through these tokens in a layer; never draw a line of your own.",
16
+ "A dotted, dashed or wavy divider is a distinction inside one product (a tear line, a boundary of something provisional, a light section break). Choose it per instance with the lineStyle prop; the default divider stays solid.",
17
+ "The dot, dash and wave lengths are derived from line.thickness, so a layer that thickens the line keeps the pattern's proportions. Set them in a layer only to change the proportions themselves."
18
+ ]
19
+ }
20
+ },
21
+ "line": {
22
+ "color": {
23
+ "$type": "color",
24
+ "$value": "{tanrei.sys.color.outline-variant}"
25
+ },
26
+ "thickness": {
27
+ "$type": "dimension",
28
+ "$value": "{tanrei.sys.border.hairline}",
29
+ "$description": "The line's extent across its axis: the side of a dot, the width of a dash, the width of the wave's stroke."
30
+ },
31
+ "inset": {
32
+ "$type": "dimension",
33
+ "$value": "{tanrei.sys.space.space200}",
34
+ "$description": "How far the line is shortened at its start (inset start) or at both ends (inset both): the inline-start of a horizontal divider, the top of a vertical one. A divider's insetLength replaces it for that divider."
35
+ },
36
+ "dot": {
37
+ "$extensions": {
38
+ "dev.tanrei.vocabulary": {
39
+ "rationale": "One product draws a dotted divider (leaders in a summary, a quiet boundary between entries) beside its solid ones, and spaces the dots for its own density.",
40
+ "since": "0.1.0"
41
+ }
42
+ },
43
+ "gap": {
44
+ "$type": "dimension",
45
+ "$description": "The least space between two dots of a dotted line, from one dot's edge to the next. A dot is as long as the line is thick. The divider widens the gaps equally so that a whole dot ends the line at each end.",
46
+ "$value": {
47
+ "value": 2,
48
+ "unit": "px"
49
+ },
50
+ "$extensions": {
51
+ "dev.tanrei.derive": {
52
+ "fn": "mul",
53
+ "of": "{tanrei.comp.divider.line.thickness}",
54
+ "by": 2
55
+ }
56
+ }
57
+ }
58
+ },
59
+ "dash": {
60
+ "$extensions": {
61
+ "dev.tanrei.vocabulary": {
62
+ "rationale": "One product draws a dashed divider (a tear line, the edge of a draft or an optional section) beside its solid and dotted ones; a dash must read as a dash, not as a long dot, at the product's own line thickness.",
63
+ "since": "0.1.0"
64
+ }
65
+ },
66
+ "length": {
67
+ "$type": "dimension",
68
+ "$description": "The length of one dash of a dashed line, round caps included. A dash is never drawn shorter than the line is thick.",
69
+ "$value": {
70
+ "value": 4,
71
+ "unit": "px"
72
+ },
73
+ "$extensions": {
74
+ "dev.tanrei.derive": {
75
+ "fn": "mul",
76
+ "of": "{tanrei.comp.divider.line.thickness}",
77
+ "by": 4
78
+ }
79
+ }
80
+ },
81
+ "gap": {
82
+ "$type": "dimension",
83
+ "$description": "The least space between two dashes, from one dash's edge to the next. The divider widens the gaps equally so that a whole dash ends the line at each end.",
84
+ "$value": {
85
+ "value": 4,
86
+ "unit": "px"
87
+ },
88
+ "$extensions": {
89
+ "dev.tanrei.derive": {
90
+ "fn": "mul",
91
+ "of": "{tanrei.comp.divider.line.thickness}",
92
+ "by": 4
93
+ }
94
+ }
95
+ }
96
+ },
97
+ "wave": {
98
+ "$extensions": {
99
+ "dev.tanrei.vocabulary": {
100
+ "rationale": "One product breaks a long page or a playful surface with a wavy line beside the straight dividers of its lists, and needs the wave's height and length to suit that surface.",
101
+ "since": "0.1.0"
102
+ }
103
+ },
104
+ "amplitude": {
105
+ "$type": "dimension",
106
+ "$description": "How far the wave's crest lies from the line's midline, measured to the center of the stroke. The divider takes twice this plus line.thickness across its axis. 0 draws a straight line.",
107
+ "$value": {
108
+ "value": 2,
109
+ "unit": "px"
110
+ },
111
+ "$extensions": {
112
+ "dev.tanrei.derive": {
113
+ "fn": "mul",
114
+ "of": "{tanrei.comp.divider.line.thickness}",
115
+ "by": 2
116
+ }
117
+ }
118
+ },
119
+ "wavelength": {
120
+ "$type": "dimension",
121
+ "$description": "The length of one whole wave, a crest and a trough. The divider stretches or shrinks it so that a whole number of waves fills the line.",
122
+ "$value": {
123
+ "value": 16,
124
+ "unit": "px"
125
+ },
126
+ "$extensions": {
127
+ "dev.tanrei.derive": {
128
+ "fn": "mul",
129
+ "of": "{tanrei.comp.divider.line.thickness}",
130
+ "by": 16
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ }