@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,1160 @@
1
+ {
2
+ "tanrei": {
3
+ "comp": {
4
+ "snackbar": {
5
+ "$extensions": {
6
+ "dev.tanrei.vocabulary": {
7
+ "rationale": "One product confirms what it just did (saved, archived, sent) with a brief message at the edge of the screen, some messages with one way to undo or follow up and some with a way to close them, and it lets short messages go by themselves while messages that ask for an action stay. The same product also reports, in the same place, that something is worth knowing, needs attention, failed or succeeded, and gives such a message a title and a description that a person can expand when it is longer. It draws most of these as a raised surface of its own theme, and may draw one in the opposite theme's colors where it must stand apart from a busy screen.",
8
+ "since": "0.1.0"
9
+ },
10
+ "dev.tanrei.states": {
11
+ "variants": [
12
+ "action"
13
+ ],
14
+ "states": [
15
+ "hovered",
16
+ "focused",
17
+ "pressed"
18
+ ],
19
+ "perVariant": {
20
+ "container.color": "color",
21
+ "content.color": "color",
22
+ "state-layer.color": "color",
23
+ "info.container.color": "color",
24
+ "info.content.color": "color",
25
+ "info.state-layer.color": "color",
26
+ "warning.container.color": "color",
27
+ "warning.content.color": "color",
28
+ "warning.state-layer.color": "color",
29
+ "error.container.color": "color",
30
+ "error.content.color": "color",
31
+ "error.state-layer.color": "color",
32
+ "success.container.color": "color",
33
+ "success.content.color": "color",
34
+ "success.state-layer.color": "color",
35
+ "inverse.container.color": "color",
36
+ "inverse.content.color": "color",
37
+ "inverse.state-layer.color": "color",
38
+ "inverse-info.container.color": "color",
39
+ "inverse-info.content.color": "color",
40
+ "inverse-info.state-layer.color": "color",
41
+ "inverse-warning.container.color": "color",
42
+ "inverse-warning.content.color": "color",
43
+ "inverse-warning.state-layer.color": "color",
44
+ "inverse-error.container.color": "color",
45
+ "inverse-error.content.color": "color",
46
+ "inverse-error.state-layer.color": "color",
47
+ "inverse-success.container.color": "color",
48
+ "inverse-success.content.color": "color",
49
+ "inverse-success.state-layer.color": "color"
50
+ },
51
+ "perComponent": {
52
+ "opacity": "number"
53
+ }
54
+ },
55
+ "dev.tanrei.llm": {
56
+ "usage": "Everything a snackbar reads. It has ten forms: the default form and four status forms (info, warning, error, success), each drawn on a surface of the scheme or, inverse, in the opposite scheme's colors; container.inverse says which of the two a snackbar takes when the product did not say. For every form: the bar's color, the title's and the message's colors, the status glyph's color, the color of a status form's edge and the color of the focus indicator on that bar; and, for the action, drawn as a tonal button, in each state, its container color, content color and state-layer color. The expand and close buttons are Tanrei Buttons: close-button.size names their size (small in the default system) and close-button.variant their variant, and the snackbar gives them its form's message color and focus-ring color as their tone. Four opacities are shared by every form and say how far a part steps back from its color: the message under a title (supporting-text.under-title.opacity), the status glyph (icon.opacity), a status form's edge (outline.opacity) and the action's tonal layer (action.tonal-layer.opacity). Also shared: the bar's elevation, shape, padding and size limits; the text styles and line limits; the glyph's size and gap; the edge's width; the action's height (as tall as the expand and close buttons), shape and text style, and the gap between the controls; how far the bar sits from the window's edges; the window width below which a snackbar placed at the top end stands across the top (breakpoint.medium); how it enters, leaves and expands; and the two timeouts.",
57
+ "rules": [
58
+ "One message, at most one action. A second choice belongs in a dialog.",
59
+ "The action is a tonal button by default, because it is usually an undo that must be seen at once. Tonal means one quiet step away from the bar it sits on, the same step in every form: the action's container is the bar's own color, and the tonal layer (the action's content color at action.tonal-layer.opacity) is drawn over it. Never give the action a fill that outweighs the message. A product that wants a text action sets action.tonal-layer.opacity to 0. An action important enough to seem to want a filled button does not belong in a snackbar: put a Main Action Button in a bottom sheet instead.",
60
+ "The action is the snackbar's own control, drawn on its bar with these tokens. The expand and close buttons are Tanrei Buttons of the size close-button.size names, which the snackbar places itself: choose their look for every snackbar of a product with close-button.variant, and their colors with each form's supporting-text.color and focus-ring.color, which the snackbar gives them as their tone. Do not place other Buttons in a snackbar.",
61
+ "A form's tokens carry its prefix: none for the default form, the status for a status form (info.container.color), inverse for the inverse form (inverse.container.color), and inverse-<status> for an inverse status form (inverse-info.container.color). Inside the action the prefix follows the state (action.hovered.inverse.container.color).",
62
+ "Which form a product's snackbars take by default is one choice, container.inverse. Change that choice in a layer; do not copy the inverse values over the unprefixed tokens.",
63
+ "A status form takes its colors from the status's own color roles and always draws the status's glyph; its status is also given in words (statusLabel) for assistive technology. Never show a status by color alone. Its bar is quiet (the status's container pair); the status's own color is kept for the glyph and the edge.",
64
+ "An inverse status form is the same status's form of the other theme, part for part (SNK-30): light's inverse info bar is dark's info bar, with dark's text, glyph and edge colors, and the reverse. The default system writes that as one rule per part beside the roles in its layer. To recolor a status, change its palette or its roles and the inverse rules that restate their tones together; never give an inverse status form a color its other theme does not draw.",
65
+ "A status form's edge is its outline.color at outline.opacity, drawn over the ring of the bar's elevation. The default form and the inverse form have no outline tokens: they keep the elevation's ring, which every raised surface has.",
66
+ "An opacity here is applied to one part's color where that part is drawn; it never fades the bar or a whole control. Text drawn at an opacity must still reach 4.5:1 on its bar, and the glyph 3:1: check both when changing supporting-text.under-title.opacity, icon.opacity or a form's colors.",
67
+ "A form's supporting-text.color is also the tone of its expand and close buttons: their glyph, and their circle at comp.button.tone.container.opacity over the bar. When changing it, keep 3:1 for the glyph against that circle in each of its states, as well as 4.5:1 for the message against the bar.",
68
+ "The action's state-layer.color is the color hover, focus and press mix into its container; it aliases the action's content color, in every form. The expand and close buttons answer their states as Buttons, over the tone the snackbar gives them.",
69
+ "A form's focus-ring.color must keep 3:1 against that form's container.color. On a bar that is not a surface role it is the bar's content color, never sys.color.focus-ring. It is also the focus color of the tone the expand and close buttons are given.",
70
+ "A snackbar with an action does not time out by default (duration auto). A product that times one out must offer the action somewhere else too.",
71
+ "breakpoint.medium is a width of the window, not a size of anything drawn. It aliases the system's window class (sys.breakpoint.medium); set it here only to part this one component from the rest, and never as a literal.",
72
+ "Restyle through these tokens in a layer; never fork the component."
73
+ ]
74
+ },
75
+ "dev.tanrei.axes": {
76
+ "control": {
77
+ "default": "action",
78
+ "from": "states"
79
+ }
80
+ }
81
+ },
82
+ "container": {
83
+ "color": {
84
+ "$type": "color",
85
+ "$value": "{tanrei.sys.color.surface-bright}",
86
+ "$description": "The bar in the default form: the bright surface that floating bars and dialogs stand on, which separates from a dark page by its tone and from a light one by its elevation."
87
+ },
88
+ "inverse": {
89
+ "$type": "number",
90
+ "$value": 0,
91
+ "$description": "Whether a snackbar whose inverse the product did not set is drawn inverse (SNK-30). off: on a surface of the scheme, from the unprefixed and the status tokens. on: in the opposite scheme's colors, from the inverse tokens. A snackbar whose inverse is set keeps what it was given. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
92
+ "$extensions": {
93
+ "dev.tanrei.vocabulary": {
94
+ "rationale": "One product decides once, for all its snackbars, whether a message is a raised surface of its own theme or a bar of the opposite theme, and still draws a single one the other way where a screen calls for it.",
95
+ "since": "0.1.0"
96
+ },
97
+ "dev.tanrei.enum": {
98
+ "values": [
99
+ "off",
100
+ "on"
101
+ ]
102
+ },
103
+ "dev.tanrei.derive": {
104
+ "fixed": "A choice of kind; no dial scales it."
105
+ }
106
+ }
107
+ },
108
+ "elevation": {
109
+ "$type": "shadow",
110
+ "$value": "{tanrei.sys.elevation.level3}"
111
+ },
112
+ "shape": {
113
+ "$type": "dimension",
114
+ "$value": "{tanrei.sys.shape.corner.medium}",
115
+ "$description": "The bar's corners: the step of the rich tooltip and the card, one above a menu's, so that a bar holding pill controls does not read as a box."
116
+ },
117
+ "min-height": {
118
+ "$type": "dimension",
119
+ "$value": {
120
+ "value": 48,
121
+ "unit": "px"
122
+ },
123
+ "$description": "A minimum: the bar grows with a wrapped message, an action on its own row, or enlarged text.",
124
+ "$extensions": {
125
+ "dev.tanrei.derive": {
126
+ "fn": "mul",
127
+ "of": "{tanrei.dial.size.unit}",
128
+ "by": 12
129
+ }
130
+ }
131
+ },
132
+ "min-width": {
133
+ "$type": "dimension",
134
+ "$value": {
135
+ "value": 288,
136
+ "unit": "px"
137
+ },
138
+ "$description": "The narrowest a snackbar draws, so that a one-word message still reads as a bar. Never wider than the host less the margins.",
139
+ "$extensions": {
140
+ "dev.tanrei.derive": {
141
+ "fn": "mul",
142
+ "of": "{tanrei.dial.size.unit}",
143
+ "by": 72
144
+ }
145
+ }
146
+ },
147
+ "max-width": {
148
+ "$type": "dimension",
149
+ "$value": {
150
+ "value": 560,
151
+ "unit": "px"
152
+ },
153
+ "$description": "The widest a snackbar draws on a large window; a longer message wraps.",
154
+ "$extensions": {
155
+ "dev.tanrei.derive": {
156
+ "fn": "mul",
157
+ "of": "{tanrei.dial.size.unit}",
158
+ "by": 140
159
+ }
160
+ }
161
+ },
162
+ "margin": {
163
+ "$type": "dimension",
164
+ "$value": "{tanrei.sys.space.space200}",
165
+ "$description": "The least distance between the snackbar and the edges of its host's safe area (and the on-screen keyboard)."
166
+ },
167
+ "padding-inline-start": {
168
+ "$type": "dimension",
169
+ "$value": "{tanrei.sys.space.space200}",
170
+ "$description": "Before the message."
171
+ },
172
+ "padding-inline-end": {
173
+ "$type": "dimension",
174
+ "$value": "{tanrei.sys.space.space200}",
175
+ "$description": "After the message, when the snackbar has no action and no close button."
176
+ },
177
+ "padding-inline-end-with-controls": {
178
+ "$type": "dimension",
179
+ "$value": "{tanrei.sys.space.space100}",
180
+ "$description": "After the last control. Tighter than the text padding, because a control's own padding already surrounds its label or icon."
181
+ },
182
+ "padding-block": {
183
+ "$type": "dimension",
184
+ "$value": "{tanrei.sys.space.space150}",
185
+ "$description": "Above and below the message. Heights are minimums, so this shows when the message wraps."
186
+ },
187
+ "gap": {
188
+ "$type": "dimension",
189
+ "$value": "{tanrei.sys.space.space100}",
190
+ "$description": "Between the message and the first control, and between the message and an action moved to its own row."
191
+ }
192
+ },
193
+ "breakpoint": {
194
+ "$type": "dimension",
195
+ "$extensions": {
196
+ "dev.tanrei.vocabulary": {
197
+ "rationale": "One product that shows its snackbars at the top end of a wide window shows them across the top of a narrow one, from the same window width at which its own layout becomes a single column.",
198
+ "since": "0.1.0"
199
+ }
200
+ },
201
+ "medium": {
202
+ "$value": "{tanrei.sys.breakpoint.medium}",
203
+ "$description": "The window width from which a snackbar placed at the top end stands at the end side (SNK-35). Below it the window is compact and the snackbar stands across the top. A width of the window, not a size of anything drawn."
204
+ }
205
+ },
206
+ "title": {
207
+ "$extensions": {
208
+ "dev.tanrei.vocabulary": {
209
+ "rationale": "One product gives some messages a short title above a longer description, and styles the title apart from the description (heavier, or a line limit of its own).",
210
+ "since": "0.1.0"
211
+ }
212
+ },
213
+ "color": {
214
+ "$type": "color",
215
+ "$value": "{tanrei.comp.snackbar.supporting-text.color}",
216
+ "$description": "The title's color in the default form. It aliases the message's color, so a layer that recolors the message recolors the title too unless it sets this."
217
+ },
218
+ "typescale": {
219
+ "$type": "typography",
220
+ "$value": "{tanrei.sys.typescale.heading-6}",
221
+ "$description": "As the rich tooltip's title: the message's size, heavier."
222
+ },
223
+ "max-lines": {
224
+ "$type": "number",
225
+ "$value": 3,
226
+ "$description": "The most lines the title shows while the snackbar is collapsed; a longer title ends with an ellipsis and the expand button appears.",
227
+ "$extensions": {
228
+ "dev.tanrei.derive": {
229
+ "fixed": "A count of lines, not a size; no dial scales it."
230
+ }
231
+ }
232
+ },
233
+ "gap": {
234
+ "$type": "dimension",
235
+ "$value": "{tanrei.sys.space.space50}",
236
+ "$description": "Between the title and the message below it."
237
+ }
238
+ },
239
+ "supporting-text": {
240
+ "color": {
241
+ "$type": "color",
242
+ "$value": "{tanrei.sys.color.on-surface}"
243
+ },
244
+ "typescale": {
245
+ "$type": "typography",
246
+ "$value": "{tanrei.sys.typescale.body}"
247
+ },
248
+ "max-lines": {
249
+ "$type": "number",
250
+ "$value": 3,
251
+ "$description": "The most lines the message shows while the snackbar is collapsed; a longer message ends with an ellipsis and the expand button appears. Its whole text still reaches assistive technology.",
252
+ "$extensions": {
253
+ "dev.tanrei.derive": {
254
+ "fixed": "A count of lines, not a size; no dial scales it."
255
+ }
256
+ }
257
+ },
258
+ "under-title": {
259
+ "$extensions": {
260
+ "dev.tanrei.vocabulary": {
261
+ "rationale": "One product draws the description under a title a little quieter than the title, so that the two read as a heading and its text, and still draws a message that stands alone at full strength.",
262
+ "since": "0.1.0"
263
+ }
264
+ },
265
+ "opacity": {
266
+ "$type": "number",
267
+ "$value": 0.8,
268
+ "$description": "The opacity the message is drawn at while a title stands above it, applied to the message color of the form (SNK-32). A message without a title is drawn whole. Chosen so that the quieter text keeps 4.5:1 on its bar in every form and scheme of the default system, and 7:1 in the high-contrast schemes.",
269
+ "$extensions": {
270
+ "dev.tanrei.derive": {
271
+ "fixed": "An opacity is a proportion; no dial scales it. sys.state holds the state-layer and disabled opacities, which are other decisions."
272
+ }
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "icon": {
278
+ "$extensions": {
279
+ "dev.tanrei.vocabulary": {
280
+ "rationale": "One product marks a status message with a glyph of its icon set before the text, so that the status is seen by its shape and not by color alone, and sizes and spaces that glyph for its bars.",
281
+ "since": "0.1.0"
282
+ }
283
+ },
284
+ "size": {
285
+ "$type": "dimension",
286
+ "$value": "{tanrei.sys.icon.medium}",
287
+ "$description": "The status glyph (info, warning, error, check_circle). Drawn only in a status form."
288
+ },
289
+ "gap": {
290
+ "$type": "dimension",
291
+ "$value": "{tanrei.sys.space.space150}",
292
+ "$description": "Between the status glyph and the title or message after it."
293
+ },
294
+ "opacity": {
295
+ "$type": "number",
296
+ "$value": 0.85,
297
+ "$description": "The opacity the status glyph is drawn at, applied to the glyph color of the form (SNK-21): a mark beside the text, a little softer than the text. Chosen so that the glyph keeps 3:1 against its bar in every status form and scheme of the default system.",
298
+ "$extensions": {
299
+ "dev.tanrei.vocabulary": {
300
+ "rationale": "One product softens the status glyph beside its text, by one amount for every status, without recoloring it.",
301
+ "since": "0.1.0"
302
+ },
303
+ "dev.tanrei.derive": {
304
+ "fixed": "An opacity is a proportion; no dial scales it. sys.state holds the state-layer and disabled opacities, which are other decisions."
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "focus-ring": {
310
+ "$extensions": {
311
+ "dev.tanrei.vocabulary": {
312
+ "rationale": "One product whose focus color is tuned for its surfaces still shows keyboard focus on a bar that is not one of them (a status's color, the opposite theme), so the indicator's color on each bar is the snackbar's to say.",
313
+ "since": "0.1.0"
314
+ }
315
+ },
316
+ "color": {
317
+ "$type": "color",
318
+ "$value": "{tanrei.sys.color.focus-ring}",
319
+ "$description": "The outer stroke of the focus indicator on the default form's bar: the system's own, since that bar is a surface role the invariants hold it against."
320
+ }
321
+ },
322
+ "outline": {
323
+ "$extensions": {
324
+ "dev.tanrei.vocabulary": {
325
+ "rationale": "One product edges a status message with a line of that status, where its neutral messages keep the hairline every raised surface has, and decides once how thin and how faint that line is.",
326
+ "since": "0.1.0"
327
+ }
328
+ },
329
+ "width": {
330
+ "$type": "dimension",
331
+ "$value": "{tanrei.sys.border.hairline}",
332
+ "$description": "The width of a status form's edge: the hairline, the width of the ring of the bar's elevation, which the edge is drawn over (SNK-31)."
333
+ },
334
+ "opacity": {
335
+ "$type": "number",
336
+ "$value": 0.4,
337
+ "$description": "The opacity a status form's edge is drawn at, applied to the outline color of the form (SNK-31). 0 draws no edge of the status, so the elevation's ring shows as on the default form.",
338
+ "$extensions": {
339
+ "dev.tanrei.derive": {
340
+ "fixed": "An opacity is a proportion; no dial scales it. sys.state holds the state-layer and disabled opacities, which are other decisions."
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "info": {
346
+ "$extensions": {
347
+ "dev.tanrei.vocabulary": {
348
+ "rationale": "One product reports an info message in its own form, in the info color roles, beside its neutral messages; each part keeps a token so that a product can quiet or strengthen one of them.",
349
+ "since": "0.1.0"
350
+ }
351
+ },
352
+ "container": {
353
+ "color": {
354
+ "$type": "color",
355
+ "$value": "{tanrei.sys.color.info-container}",
356
+ "$description": "The bar in the info form: a faint tint of the status on the scheme's surface, raised by the same elevation as the default form's. The default system values this role from the status's quiet palette, so the bar carries the hue and not its full chroma."
357
+ }
358
+ },
359
+ "title": {
360
+ "color": {
361
+ "$type": "color",
362
+ "$value": "{tanrei.comp.snackbar.info.supporting-text.color}"
363
+ }
364
+ },
365
+ "supporting-text": {
366
+ "color": {
367
+ "$type": "color",
368
+ "$value": "{tanrei.sys.color.on-info-container}"
369
+ }
370
+ },
371
+ "icon": {
372
+ "color": {
373
+ "$type": "color",
374
+ "$value": "{tanrei.sys.color.info}",
375
+ "$description": "The glyph takes the status's own color, the one chromatic mark on a quiet bar, drawn at icon.opacity. Its shape, not its color, tells the status apart (SNK-21)."
376
+ }
377
+ },
378
+ "focus-ring": {
379
+ "color": {
380
+ "$type": "color",
381
+ "$value": "{tanrei.sys.color.on-info-container}",
382
+ "$description": "The focus indicator on the info bar: the bar's content color, which the invariants hold against the bar in every scheme."
383
+ }
384
+ },
385
+ "outline": {
386
+ "color": {
387
+ "$type": "color",
388
+ "$value": "{tanrei.sys.color.info}",
389
+ "$description": "The edge of the info bar: the status's own color, drawn at outline.opacity over the ring of the bar's elevation (SNK-31)."
390
+ }
391
+ }
392
+ },
393
+ "warning": {
394
+ "$extensions": {
395
+ "dev.tanrei.vocabulary": {
396
+ "rationale": "One product reports a warning message in its own form, in the warning color roles, beside its neutral messages; each part keeps a token so that a product can quiet or strengthen one of them.",
397
+ "since": "0.1.0"
398
+ }
399
+ },
400
+ "container": {
401
+ "color": {
402
+ "$type": "color",
403
+ "$value": "{tanrei.sys.color.warning-container}",
404
+ "$description": "The bar in the warning form: a faint tint of the status on the scheme's surface, raised by the same elevation as the default form's. The default system values this role from the status's quiet palette, so the bar carries the hue and not its full chroma."
405
+ }
406
+ },
407
+ "title": {
408
+ "color": {
409
+ "$type": "color",
410
+ "$value": "{tanrei.comp.snackbar.warning.supporting-text.color}"
411
+ }
412
+ },
413
+ "supporting-text": {
414
+ "color": {
415
+ "$type": "color",
416
+ "$value": "{tanrei.sys.color.on-warning-container}"
417
+ }
418
+ },
419
+ "icon": {
420
+ "color": {
421
+ "$type": "color",
422
+ "$value": "{tanrei.sys.color.warning}",
423
+ "$description": "The glyph takes the status's own color, the one chromatic mark on a quiet bar, drawn at icon.opacity. Its shape, not its color, tells the status apart (SNK-21)."
424
+ }
425
+ },
426
+ "focus-ring": {
427
+ "color": {
428
+ "$type": "color",
429
+ "$value": "{tanrei.sys.color.on-warning-container}",
430
+ "$description": "The focus indicator on the warning bar: the bar's content color, which the invariants hold against the bar in every scheme."
431
+ }
432
+ },
433
+ "outline": {
434
+ "color": {
435
+ "$type": "color",
436
+ "$value": "{tanrei.sys.color.warning}",
437
+ "$description": "The edge of the warning bar: the status's own color, drawn at outline.opacity over the ring of the bar's elevation (SNK-31)."
438
+ }
439
+ }
440
+ },
441
+ "error": {
442
+ "$extensions": {
443
+ "dev.tanrei.vocabulary": {
444
+ "rationale": "One product reports an error message in its own form, in the error color roles, beside its neutral messages; each part keeps a token so that a product can quiet or strengthen one of them.",
445
+ "since": "0.1.0"
446
+ }
447
+ },
448
+ "container": {
449
+ "color": {
450
+ "$type": "color",
451
+ "$value": "{tanrei.sys.color.error-container}",
452
+ "$description": "The bar in the error form: a faint tint of the status on the scheme's surface, raised by the same elevation as the default form's. The default system values this role from the status's quiet palette, so the bar carries the hue and not its full chroma."
453
+ }
454
+ },
455
+ "title": {
456
+ "color": {
457
+ "$type": "color",
458
+ "$value": "{tanrei.comp.snackbar.error.supporting-text.color}"
459
+ }
460
+ },
461
+ "supporting-text": {
462
+ "color": {
463
+ "$type": "color",
464
+ "$value": "{tanrei.sys.color.on-error-container}"
465
+ }
466
+ },
467
+ "icon": {
468
+ "color": {
469
+ "$type": "color",
470
+ "$value": "{tanrei.sys.color.error}",
471
+ "$description": "The glyph takes the status's own color, the one chromatic mark on a quiet bar, drawn at icon.opacity. Its shape, not its color, tells the status apart (SNK-21)."
472
+ }
473
+ },
474
+ "focus-ring": {
475
+ "color": {
476
+ "$type": "color",
477
+ "$value": "{tanrei.sys.color.on-error-container}",
478
+ "$description": "The focus indicator on the error bar: the bar's content color, which the invariants hold against the bar in every scheme."
479
+ }
480
+ },
481
+ "outline": {
482
+ "color": {
483
+ "$type": "color",
484
+ "$value": "{tanrei.sys.color.error}",
485
+ "$description": "The edge of the error bar: the status's own color, drawn at outline.opacity over the ring of the bar's elevation (SNK-31)."
486
+ }
487
+ }
488
+ },
489
+ "success": {
490
+ "$extensions": {
491
+ "dev.tanrei.vocabulary": {
492
+ "rationale": "One product reports a success message in its own form, in the success color roles, beside its neutral messages; each part keeps a token so that a product can quiet or strengthen one of them.",
493
+ "since": "0.1.0"
494
+ }
495
+ },
496
+ "container": {
497
+ "color": {
498
+ "$type": "color",
499
+ "$value": "{tanrei.sys.color.success-container}",
500
+ "$description": "The bar in the success form: a faint tint of the status on the scheme's surface, raised by the same elevation as the default form's. The default system values this role from the status's quiet palette, so the bar carries the hue and not its full chroma."
501
+ }
502
+ },
503
+ "title": {
504
+ "color": {
505
+ "$type": "color",
506
+ "$value": "{tanrei.comp.snackbar.success.supporting-text.color}"
507
+ }
508
+ },
509
+ "supporting-text": {
510
+ "color": {
511
+ "$type": "color",
512
+ "$value": "{tanrei.sys.color.on-success-container}"
513
+ }
514
+ },
515
+ "icon": {
516
+ "color": {
517
+ "$type": "color",
518
+ "$value": "{tanrei.sys.color.success}",
519
+ "$description": "The glyph takes the status's own color, the one chromatic mark on a quiet bar, drawn at icon.opacity. Its shape, not its color, tells the status apart (SNK-21)."
520
+ }
521
+ },
522
+ "focus-ring": {
523
+ "color": {
524
+ "$type": "color",
525
+ "$value": "{tanrei.sys.color.on-success-container}",
526
+ "$description": "The focus indicator on the success bar: the bar's content color, which the invariants hold against the bar in every scheme."
527
+ }
528
+ },
529
+ "outline": {
530
+ "color": {
531
+ "$type": "color",
532
+ "$value": "{tanrei.sys.color.success}",
533
+ "$description": "The edge of the success bar: the status's own color, drawn at outline.opacity over the ring of the bar's elevation (SNK-31)."
534
+ }
535
+ }
536
+ },
537
+ "inverse": {
538
+ "$extensions": {
539
+ "dev.tanrei.vocabulary": {
540
+ "rationale": "One product draws some messages, or all of them, as a bar of the opposite theme, so that the message stands apart from whatever screen it lands on; each part keeps a token so that the inverse bar can be tuned apart from the default one.",
541
+ "since": "0.1.0"
542
+ }
543
+ },
544
+ "container": {
545
+ "color": {
546
+ "$type": "color",
547
+ "$value": "{tanrei.sys.color.inverse-surface}",
548
+ "$description": "The bar in the inverse form: the opposite scheme's surface."
549
+ }
550
+ },
551
+ "title": {
552
+ "color": {
553
+ "$type": "color",
554
+ "$value": "{tanrei.comp.snackbar.inverse.supporting-text.color}"
555
+ }
556
+ },
557
+ "supporting-text": {
558
+ "color": {
559
+ "$type": "color",
560
+ "$value": "{tanrei.sys.color.inverse-on-surface}"
561
+ }
562
+ },
563
+ "focus-ring": {
564
+ "color": {
565
+ "$type": "color",
566
+ "$value": "{tanrei.sys.color.inverse-on-surface}",
567
+ "$description": "The focus indicator on the inverse bar: the bar's content color. sys.color.focus-ring is made for surfaces and does not reach 3:1 on the inverse surface in most schemes."
568
+ }
569
+ }
570
+ },
571
+ "inverse-info": {
572
+ "$extensions": {
573
+ "dev.tanrei.vocabulary": {
574
+ "rationale": "One product that draws its messages inverse reports an info message as its other theme draws one on a surface: that theme's tint of the status under that theme's text, glyph and edge, so that the two themes' status messages are one pair seen from either side; each part keeps a token so that a product can quiet or strengthen one of them.",
575
+ "since": "0.1.0"
576
+ }
577
+ },
578
+ "container": {
579
+ "color": {
580
+ "$type": "color",
581
+ "$value": "{tanrei.sys.color.on-info-container}",
582
+ "$description": "The bar in the inverse info form: the bar of the info form in the other theme. The default system values it by rule as the tone info.container.color has in the scheme of the other theme at the same contrast level (tokens/systems/tanrei.system.json). The role named here is the nearest one a single scheme has, and is what a system draws when it sets no such rule. A design system that sets this token draws what it sets."
583
+ }
584
+ },
585
+ "title": {
586
+ "color": {
587
+ "$type": "color",
588
+ "$value": "{tanrei.comp.snackbar.inverse-info.supporting-text.color}"
589
+ }
590
+ },
591
+ "supporting-text": {
592
+ "color": {
593
+ "$type": "color",
594
+ "$value": "{tanrei.sys.color.info-container}",
595
+ "$description": "The message on the inverse info bar: the message color of the info form in the other theme, valued by rule in the default system as the bar is. The title, the focus indicator, the action's label and the close button follow it by alias."
596
+ }
597
+ },
598
+ "icon": {
599
+ "color": {
600
+ "$type": "color",
601
+ "$value": "{tanrei.comp.snackbar.inverse-info.supporting-text.color}",
602
+ "$description": "The glyph on the inverse info bar, drawn at icon.opacity: the glyph color of the info form in the other theme, which is that theme's status color, valued by rule in the default system. The alias written here is the text's color, which is what a system without that rule draws: the status color of the scheme itself does not reach 3:1 against this bar."
603
+ }
604
+ },
605
+ "focus-ring": {
606
+ "color": {
607
+ "$type": "color",
608
+ "$value": "{tanrei.comp.snackbar.inverse-info.supporting-text.color}",
609
+ "$description": "The focus indicator on the inverse info bar: the bar's content color, by alias, so that it follows whatever the message color of this form is. sys.color.focus-ring is made for surfaces and is not held against this bar."
610
+ }
611
+ },
612
+ "outline": {
613
+ "color": {
614
+ "$type": "color",
615
+ "$value": "{tanrei.sys.color.info}",
616
+ "$description": "The edge of the inverse info bar, drawn at outline.opacity over the ring of the bar's elevation (SNK-31): the edge color of the info form in the other theme, valued by rule in the default system, so that one bar carries one status color in its glyph and its edge."
617
+ }
618
+ }
619
+ },
620
+ "inverse-warning": {
621
+ "$extensions": {
622
+ "dev.tanrei.vocabulary": {
623
+ "rationale": "One product that draws its messages inverse reports a warning message as its other theme draws one on a surface: that theme's tint of the status under that theme's text, glyph and edge, so that the two themes' status messages are one pair seen from either side; each part keeps a token so that a product can quiet or strengthen one of them.",
624
+ "since": "0.1.0"
625
+ }
626
+ },
627
+ "container": {
628
+ "color": {
629
+ "$type": "color",
630
+ "$value": "{tanrei.sys.color.on-warning-container}",
631
+ "$description": "The bar in the inverse warning form: the bar of the warning form in the other theme. The default system values it by rule as the tone warning.container.color has in the scheme of the other theme at the same contrast level (tokens/systems/tanrei.system.json). The role named here is the nearest one a single scheme has, and is what a system draws when it sets no such rule. A design system that sets this token draws what it sets."
632
+ }
633
+ },
634
+ "title": {
635
+ "color": {
636
+ "$type": "color",
637
+ "$value": "{tanrei.comp.snackbar.inverse-warning.supporting-text.color}"
638
+ }
639
+ },
640
+ "supporting-text": {
641
+ "color": {
642
+ "$type": "color",
643
+ "$value": "{tanrei.sys.color.warning-container}",
644
+ "$description": "The message on the inverse warning bar: the message color of the warning form in the other theme, valued by rule in the default system as the bar is. The title, the focus indicator, the action's label and the close button follow it by alias."
645
+ }
646
+ },
647
+ "icon": {
648
+ "color": {
649
+ "$type": "color",
650
+ "$value": "{tanrei.comp.snackbar.inverse-warning.supporting-text.color}",
651
+ "$description": "The glyph on the inverse warning bar, drawn at icon.opacity: the glyph color of the warning form in the other theme, which is that theme's status color, valued by rule in the default system. The alias written here is the text's color, which is what a system without that rule draws: the status color of the scheme itself does not reach 3:1 against this bar."
652
+ }
653
+ },
654
+ "focus-ring": {
655
+ "color": {
656
+ "$type": "color",
657
+ "$value": "{tanrei.comp.snackbar.inverse-warning.supporting-text.color}",
658
+ "$description": "The focus indicator on the inverse warning bar: the bar's content color, by alias, so that it follows whatever the message color of this form is. sys.color.focus-ring is made for surfaces and is not held against this bar."
659
+ }
660
+ },
661
+ "outline": {
662
+ "color": {
663
+ "$type": "color",
664
+ "$value": "{tanrei.sys.color.warning}",
665
+ "$description": "The edge of the inverse warning bar, drawn at outline.opacity over the ring of the bar's elevation (SNK-31): the edge color of the warning form in the other theme, valued by rule in the default system, so that one bar carries one status color in its glyph and its edge."
666
+ }
667
+ }
668
+ },
669
+ "inverse-error": {
670
+ "$extensions": {
671
+ "dev.tanrei.vocabulary": {
672
+ "rationale": "One product that draws its messages inverse reports an error message as its other theme draws one on a surface: that theme's tint of the status under that theme's text, glyph and edge, so that the two themes' status messages are one pair seen from either side; each part keeps a token so that a product can quiet or strengthen one of them.",
673
+ "since": "0.1.0"
674
+ }
675
+ },
676
+ "container": {
677
+ "color": {
678
+ "$type": "color",
679
+ "$value": "{tanrei.sys.color.on-error-container}",
680
+ "$description": "The bar in the inverse error form: the bar of the error form in the other theme. The default system values it by rule as the tone error.container.color has in the scheme of the other theme at the same contrast level (tokens/systems/tanrei.system.json). The role named here is the nearest one a single scheme has, and is what a system draws when it sets no such rule. A design system that sets this token draws what it sets."
681
+ }
682
+ },
683
+ "title": {
684
+ "color": {
685
+ "$type": "color",
686
+ "$value": "{tanrei.comp.snackbar.inverse-error.supporting-text.color}"
687
+ }
688
+ },
689
+ "supporting-text": {
690
+ "color": {
691
+ "$type": "color",
692
+ "$value": "{tanrei.sys.color.error-container}",
693
+ "$description": "The message on the inverse error bar: the message color of the error form in the other theme, valued by rule in the default system as the bar is. The title, the focus indicator, the action's label and the close button follow it by alias."
694
+ }
695
+ },
696
+ "icon": {
697
+ "color": {
698
+ "$type": "color",
699
+ "$value": "{tanrei.comp.snackbar.inverse-error.supporting-text.color}",
700
+ "$description": "The glyph on the inverse error bar, drawn at icon.opacity: the glyph color of the error form in the other theme, which is that theme's status color, valued by rule in the default system. The alias written here is the text's color, which is what a system without that rule draws: the status color of the scheme itself does not reach 3:1 against this bar."
701
+ }
702
+ },
703
+ "focus-ring": {
704
+ "color": {
705
+ "$type": "color",
706
+ "$value": "{tanrei.comp.snackbar.inverse-error.supporting-text.color}",
707
+ "$description": "The focus indicator on the inverse error bar: the bar's content color, by alias, so that it follows whatever the message color of this form is. sys.color.focus-ring is made for surfaces and is not held against this bar."
708
+ }
709
+ },
710
+ "outline": {
711
+ "color": {
712
+ "$type": "color",
713
+ "$value": "{tanrei.sys.color.error}",
714
+ "$description": "The edge of the inverse error bar, drawn at outline.opacity over the ring of the bar's elevation (SNK-31): the edge color of the error form in the other theme, valued by rule in the default system, so that one bar carries one status color in its glyph and its edge."
715
+ }
716
+ }
717
+ },
718
+ "inverse-success": {
719
+ "$extensions": {
720
+ "dev.tanrei.vocabulary": {
721
+ "rationale": "One product that draws its messages inverse reports a success message as its other theme draws one on a surface: that theme's tint of the status under that theme's text, glyph and edge, so that the two themes' status messages are one pair seen from either side; each part keeps a token so that a product can quiet or strengthen one of them.",
722
+ "since": "0.1.0"
723
+ }
724
+ },
725
+ "container": {
726
+ "color": {
727
+ "$type": "color",
728
+ "$value": "{tanrei.sys.color.on-success-container}",
729
+ "$description": "The bar in the inverse success form: the bar of the success form in the other theme. The default system values it by rule as the tone success.container.color has in the scheme of the other theme at the same contrast level (tokens/systems/tanrei.system.json). The role named here is the nearest one a single scheme has, and is what a system draws when it sets no such rule. A design system that sets this token draws what it sets."
730
+ }
731
+ },
732
+ "title": {
733
+ "color": {
734
+ "$type": "color",
735
+ "$value": "{tanrei.comp.snackbar.inverse-success.supporting-text.color}"
736
+ }
737
+ },
738
+ "supporting-text": {
739
+ "color": {
740
+ "$type": "color",
741
+ "$value": "{tanrei.sys.color.success-container}",
742
+ "$description": "The message on the inverse success bar: the message color of the success form in the other theme, valued by rule in the default system as the bar is. The title, the focus indicator, the action's label and the close button follow it by alias."
743
+ }
744
+ },
745
+ "icon": {
746
+ "color": {
747
+ "$type": "color",
748
+ "$value": "{tanrei.comp.snackbar.inverse-success.supporting-text.color}",
749
+ "$description": "The glyph on the inverse success bar, drawn at icon.opacity: the glyph color of the success form in the other theme, which is that theme's status color, valued by rule in the default system. The alias written here is the text's color, which is what a system without that rule draws: the status color of the scheme itself does not reach 3:1 against this bar."
750
+ }
751
+ },
752
+ "focus-ring": {
753
+ "color": {
754
+ "$type": "color",
755
+ "$value": "{tanrei.comp.snackbar.inverse-success.supporting-text.color}",
756
+ "$description": "The focus indicator on the inverse success bar: the bar's content color, by alias, so that it follows whatever the message color of this form is. sys.color.focus-ring is made for surfaces and is not held against this bar."
757
+ }
758
+ },
759
+ "outline": {
760
+ "color": {
761
+ "$type": "color",
762
+ "$value": "{tanrei.sys.color.success}",
763
+ "$description": "The edge of the inverse success bar, drawn at outline.opacity over the ring of the bar's elevation (SNK-31): the edge color of the success form in the other theme, valued by rule in the default system, so that one bar carries one status color in its glyph and its edge."
764
+ }
765
+ }
766
+ },
767
+ "controls": {
768
+ "height": {
769
+ "$type": "dimension",
770
+ "$value": "{tanrei.comp.button.container.height.small}",
771
+ "$description": "The action's height: the height of the Button size close-button.size names (a small Button's in the default system), so that the action stands as tall as the expand and close buttons in the same row; a system that changes that size points this at the same size's height. A minimum, which grows with enlarged text. Every hit area meets the minimum target."
772
+ },
773
+ "padding-inline": {
774
+ "$type": "dimension",
775
+ "$value": "{tanrei.sys.space.space175}",
776
+ "$description": "Before and after the action's label: a medium tonal Button's padding, since the action is drawn as one."
777
+ },
778
+ "shape": {
779
+ "$type": "dimension",
780
+ "$value": "{tanrei.sys.shape.corner.full}",
781
+ "$description": "The corners of the action's container. Full in the default system: the action is a pill."
782
+ },
783
+ "gap": {
784
+ "$type": "dimension",
785
+ "$value": {
786
+ "value": 8,
787
+ "unit": "px"
788
+ },
789
+ "$description": "Between the action, the expand button and the close button. Neighbouring hit areas meet at the middle of it (SNK-4, BTN-5), so it is what keeps each small Button's target whole: sys.target.touch less the small Button's side, never below zero — 36 − 28 = 8 in the default system.",
790
+ "$extensions": {
791
+ "dev.tanrei.derive": {
792
+ "fn": "sub",
793
+ "of": "{tanrei.sys.target.touch}",
794
+ "by": "{tanrei.comp.button.container.height.small}"
795
+ }
796
+ }
797
+ },
798
+ "label": {
799
+ "typescale": {
800
+ "$type": "typography",
801
+ "$value": "{tanrei.sys.typescale.label}"
802
+ }
803
+ }
804
+ },
805
+ "action": {
806
+ "container": {
807
+ "color": {
808
+ "$type": "color",
809
+ "$value": "{tanrei.comp.snackbar.container.color}",
810
+ "$description": "The action is a tonal button: its container starts from the color of its own bar, and the tonal layer drawn over it (action.tonal-layer.opacity) sets it off by the same amount in every form. A hover, a focus and a press mix the state layer into this color as into any container."
811
+ }
812
+ },
813
+ "content": {
814
+ "color": {
815
+ "$type": "color",
816
+ "$value": "{tanrei.comp.snackbar.supporting-text.color}",
817
+ "$description": "The label takes the color of the text on its bar, in every form."
818
+ }
819
+ },
820
+ "state-layer": {
821
+ "color": {
822
+ "$type": "color",
823
+ "$value": "{tanrei.comp.snackbar.action.content.color}"
824
+ }
825
+ },
826
+ "tonal-layer": {
827
+ "$extensions": {
828
+ "dev.tanrei.vocabulary": {
829
+ "rationale": "One product draws the action of its messages as a quiet step off whatever bar it sits on, by one amount for every bar, so that the action weighs the same on a neutral message, a status message and an inverse one.",
830
+ "since": "0.1.0"
831
+ }
832
+ },
833
+ "opacity": {
834
+ "$type": "number",
835
+ "$value": 0.12,
836
+ "$description": "The opacity of the tonal layer: the action's content color, of its form and state, drawn at this opacity over the action's container, under the label (SNK-15). It is what makes the action a tonal button: the same step toward the content color on every bar. 0 draws no layer, so the action is its container alone (a text action where the container is the bar's color or transparent).",
837
+ "$extensions": {
838
+ "dev.tanrei.derive": {
839
+ "fixed": "An opacity is a proportion; no dial scales it. sys.state holds the state-layer and disabled opacities, which are other decisions."
840
+ }
841
+ }
842
+ }
843
+ },
844
+ "info": {
845
+ "container": {
846
+ "color": {
847
+ "$type": "color",
848
+ "$value": "{tanrei.comp.snackbar.info.container.color}",
849
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
850
+ }
851
+ },
852
+ "content": {
853
+ "color": {
854
+ "$type": "color",
855
+ "$value": "{tanrei.comp.snackbar.info.supporting-text.color}"
856
+ }
857
+ },
858
+ "state-layer": {
859
+ "color": {
860
+ "$type": "color",
861
+ "$value": "{tanrei.comp.snackbar.action.info.content.color}"
862
+ }
863
+ }
864
+ },
865
+ "warning": {
866
+ "container": {
867
+ "color": {
868
+ "$type": "color",
869
+ "$value": "{tanrei.comp.snackbar.warning.container.color}",
870
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
871
+ }
872
+ },
873
+ "content": {
874
+ "color": {
875
+ "$type": "color",
876
+ "$value": "{tanrei.comp.snackbar.warning.supporting-text.color}"
877
+ }
878
+ },
879
+ "state-layer": {
880
+ "color": {
881
+ "$type": "color",
882
+ "$value": "{tanrei.comp.snackbar.action.warning.content.color}"
883
+ }
884
+ }
885
+ },
886
+ "error": {
887
+ "container": {
888
+ "color": {
889
+ "$type": "color",
890
+ "$value": "{tanrei.comp.snackbar.error.container.color}",
891
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
892
+ }
893
+ },
894
+ "content": {
895
+ "color": {
896
+ "$type": "color",
897
+ "$value": "{tanrei.comp.snackbar.error.supporting-text.color}"
898
+ }
899
+ },
900
+ "state-layer": {
901
+ "color": {
902
+ "$type": "color",
903
+ "$value": "{tanrei.comp.snackbar.action.error.content.color}"
904
+ }
905
+ }
906
+ },
907
+ "success": {
908
+ "container": {
909
+ "color": {
910
+ "$type": "color",
911
+ "$value": "{tanrei.comp.snackbar.success.container.color}",
912
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
913
+ }
914
+ },
915
+ "content": {
916
+ "color": {
917
+ "$type": "color",
918
+ "$value": "{tanrei.comp.snackbar.success.supporting-text.color}"
919
+ }
920
+ },
921
+ "state-layer": {
922
+ "color": {
923
+ "$type": "color",
924
+ "$value": "{tanrei.comp.snackbar.action.success.content.color}"
925
+ }
926
+ }
927
+ },
928
+ "inverse": {
929
+ "container": {
930
+ "color": {
931
+ "$type": "color",
932
+ "$value": "{tanrei.comp.snackbar.inverse.container.color}",
933
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
934
+ }
935
+ },
936
+ "content": {
937
+ "color": {
938
+ "$type": "color",
939
+ "$value": "{tanrei.comp.snackbar.inverse.supporting-text.color}"
940
+ }
941
+ },
942
+ "state-layer": {
943
+ "color": {
944
+ "$type": "color",
945
+ "$value": "{tanrei.comp.snackbar.action.inverse.content.color}"
946
+ }
947
+ }
948
+ },
949
+ "inverse-info": {
950
+ "container": {
951
+ "color": {
952
+ "$type": "color",
953
+ "$value": "{tanrei.comp.snackbar.inverse-info.container.color}",
954
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
955
+ }
956
+ },
957
+ "content": {
958
+ "color": {
959
+ "$type": "color",
960
+ "$value": "{tanrei.comp.snackbar.inverse-info.supporting-text.color}"
961
+ }
962
+ },
963
+ "state-layer": {
964
+ "color": {
965
+ "$type": "color",
966
+ "$value": "{tanrei.comp.snackbar.action.inverse-info.content.color}"
967
+ }
968
+ }
969
+ },
970
+ "inverse-warning": {
971
+ "container": {
972
+ "color": {
973
+ "$type": "color",
974
+ "$value": "{tanrei.comp.snackbar.inverse-warning.container.color}",
975
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
976
+ }
977
+ },
978
+ "content": {
979
+ "color": {
980
+ "$type": "color",
981
+ "$value": "{tanrei.comp.snackbar.inverse-warning.supporting-text.color}"
982
+ }
983
+ },
984
+ "state-layer": {
985
+ "color": {
986
+ "$type": "color",
987
+ "$value": "{tanrei.comp.snackbar.action.inverse-warning.content.color}"
988
+ }
989
+ }
990
+ },
991
+ "inverse-error": {
992
+ "container": {
993
+ "color": {
994
+ "$type": "color",
995
+ "$value": "{tanrei.comp.snackbar.inverse-error.container.color}",
996
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
997
+ }
998
+ },
999
+ "content": {
1000
+ "color": {
1001
+ "$type": "color",
1002
+ "$value": "{tanrei.comp.snackbar.inverse-error.supporting-text.color}"
1003
+ }
1004
+ },
1005
+ "state-layer": {
1006
+ "color": {
1007
+ "$type": "color",
1008
+ "$value": "{tanrei.comp.snackbar.action.inverse-error.content.color}"
1009
+ }
1010
+ }
1011
+ },
1012
+ "inverse-success": {
1013
+ "container": {
1014
+ "color": {
1015
+ "$type": "color",
1016
+ "$value": "{tanrei.comp.snackbar.inverse-success.container.color}",
1017
+ "$description": "The action starts from the color of its own bar; the tonal layer (action.tonal-layer.opacity) sets it off, by the same amount in every form."
1018
+ }
1019
+ },
1020
+ "content": {
1021
+ "color": {
1022
+ "$type": "color",
1023
+ "$value": "{tanrei.comp.snackbar.inverse-success.supporting-text.color}"
1024
+ }
1025
+ },
1026
+ "state-layer": {
1027
+ "color": {
1028
+ "$type": "color",
1029
+ "$value": "{tanrei.comp.snackbar.action.inverse-success.content.color}"
1030
+ }
1031
+ }
1032
+ }
1033
+ },
1034
+ "close-button": {
1035
+ "variant": {
1036
+ "$type": "number",
1037
+ "$value": 1,
1038
+ "$description": "The Button variant of the close button and of the expand button, icon-only Buttons of the size close-button.size names on the bar (SNK-34), which the snackbar gives its form's message color as their tone (BTN-45). The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
1039
+ "$extensions": {
1040
+ "dev.tanrei.vocabulary": {
1041
+ "rationale": "One product decides once how its snackbars' close and expand controls stand on the bar: a tonal button whose circle of the bar's own text color reads as a control on every form, or a bare glyph beside the text."
1042
+ },
1043
+ "dev.tanrei.enum": {
1044
+ "values": [
1045
+ "filled",
1046
+ "tonal",
1047
+ "elevated",
1048
+ "outlined",
1049
+ "text"
1050
+ ]
1051
+ },
1052
+ "dev.tanrei.derive": {
1053
+ "fixed": "A choice of kind; no dial scales it."
1054
+ }
1055
+ }
1056
+ },
1057
+ "size": {
1058
+ "$type": "number",
1059
+ "$value": 0,
1060
+ "$description": "The Button size of the close button and of the expand button, icon-only Buttons on the bar (SNK-34): small in the default system. The action stands as tall as controls.height, which a system that changes this size changes with it. The value is an index into dev.tanrei.enum.values, the core Button sizes; platforms receive the name.",
1061
+ "$extensions": {
1062
+ "dev.tanrei.vocabulary": {
1063
+ "rationale": "One product decides once how large its snackbars' close and expand controls are: small ones that keep the bar low, or the size its other icon buttons take."
1064
+ },
1065
+ "dev.tanrei.enum": {
1066
+ "values": [
1067
+ "small",
1068
+ "medium",
1069
+ "large"
1070
+ ]
1071
+ },
1072
+ "dev.tanrei.derive": {
1073
+ "fixed": "A choice of kind; no dial scales it."
1074
+ }
1075
+ }
1076
+ }
1077
+ },
1078
+ "motion": {
1079
+ "enter-duration": {
1080
+ "$type": "duration",
1081
+ "$value": "{tanrei.sys.motion.role.appear.toast.enter}"
1082
+ },
1083
+ "enter-easing": {
1084
+ "$type": "cubicBezier",
1085
+ "$value": "{tanrei.sys.motion.easing.enter}"
1086
+ },
1087
+ "exit-duration": {
1088
+ "$type": "duration",
1089
+ "$value": "{tanrei.sys.motion.role.appear.toast.exit}"
1090
+ },
1091
+ "exit-easing": {
1092
+ "$type": "cubicBezier",
1093
+ "$value": "{tanrei.sys.motion.easing.exit}"
1094
+ },
1095
+ "state-duration": {
1096
+ "$type": "duration",
1097
+ "$value": "{tanrei.sys.motion.role.state.default}"
1098
+ },
1099
+ "state-easing": {
1100
+ "$type": "cubicBezier",
1101
+ "$value": "{tanrei.sys.motion.easing.state}"
1102
+ },
1103
+ "feedback-duration": {
1104
+ "$type": "duration",
1105
+ "$value": "{tanrei.sys.motion.role.feedback}",
1106
+ "$description": "How long the answer to a press on a control takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
1107
+ },
1108
+ "expand-duration": {
1109
+ "$type": "duration",
1110
+ "$value": "{tanrei.sys.motion.role.resize.large}",
1111
+ "$description": "How long the bar takes to grow to its expanded height or shrink back.",
1112
+ "$extensions": {
1113
+ "dev.tanrei.vocabulary": {
1114
+ "rationale": "One product lets a longer message open in place, at a pace of its own that is not the pace at which the bar enters or leaves.",
1115
+ "since": "0.1.0"
1116
+ }
1117
+ }
1118
+ },
1119
+ "expand-easing": {
1120
+ "$type": "cubicBezier",
1121
+ "$value": "{tanrei.sys.motion.easing.spatial}",
1122
+ "$extensions": {
1123
+ "dev.tanrei.vocabulary": {
1124
+ "rationale": "As expand-duration: expanding in place moves by its own curve.",
1125
+ "since": "0.1.0"
1126
+ }
1127
+ }
1128
+ }
1129
+ },
1130
+ "timeout": {
1131
+ "$type": "duration",
1132
+ "short": {
1133
+ "$value": {
1134
+ "value": 4000,
1135
+ "unit": "ms"
1136
+ },
1137
+ "$description": "How long a short snackbar stays, unless it is hovered, focused or covered.",
1138
+ "$extensions": {
1139
+ "dev.tanrei.derive": {
1140
+ "fixed": "A reading time, not an animation: the motion dial, which speeds or slows animation, must not shorten it."
1141
+ }
1142
+ }
1143
+ },
1144
+ "long": {
1145
+ "$value": {
1146
+ "value": 10000,
1147
+ "unit": "ms"
1148
+ },
1149
+ "$description": "How long a long snackbar stays, for a message that takes longer to read.",
1150
+ "$extensions": {
1151
+ "dev.tanrei.derive": {
1152
+ "fixed": "A reading time, not an animation: the motion dial, which speeds or slows animation, must not shorten it."
1153
+ }
1154
+ }
1155
+ }
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ }