@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.
- package/LICENSE +202 -0
- package/NOTICE +57 -0
- package/README.md +96 -2
- package/bin/tanrei.js +14 -0
- package/dist/cli.js +8275 -0
- package/dist/studio/THIRD_PARTY_LICENSES.md +1047 -0
- package/dist/studio/assets/css-Buuc00hS.js +1 -0
- package/dist/studio/assets/dart-CL60Wo_p.js +1 -0
- package/dist/studio/assets/highlight-DO0QW7yz.js +4 -0
- package/dist/studio/assets/index-CmKf0KHF.css +1 -0
- package/dist/studio/assets/index-CtN9tpay.js +6232 -0
- package/dist/studio/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/studio/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/studio/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/studio/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/studio/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/studio/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/studio/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/studio/assets/javascript-DSMm3SZC.js +1 -0
- package/dist/studio/assets/json-CUC6w7Wi.js +1 -0
- package/dist/studio/assets/kotlin-8HB26Eaz.js +1 -0
- package/dist/studio/assets/markup-5VTZgibJ.js +1 -0
- package/dist/studio/assets/material-symbols-outlined-latin-full-normal-CbWsDl0D.woff2 +0 -0
- package/dist/studio/assets/material-symbols-rounded-latin-full-normal-CFzFAzDo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-arabic-arabic-wght-normal-BhzieyvS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-0-wght-normal-vN5ykBQF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-1-wght-normal-N_EDDt8j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-10-wght-normal-ChuiXes4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-100-wght-normal-CrE4HD6k.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-101-wght-normal-DOqEZFXR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-102-wght-normal-2gFz4V6e.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-103-wght-normal-D9RhXU-z.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-104-wght-normal-OIyZ9iQD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-105-wght-normal-CqRQAfnb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-106-wght-normal-D-PO3jqS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-107-wght-normal-DrykTIAp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-108-wght-normal-DijBe27A.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-109-wght-normal-DaJwqT__.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-11-wght-normal-DdkFqF_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-110-wght-normal-bhh2FQQH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-111-wght-normal-CuGzYIdC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-112-wght-normal-DdhK_1vk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-113-wght-normal-hxVHS2d4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-114-wght-normal-DUzjAsrP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-115-wght-normal-BiZ4-5rz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-116-wght-normal-DkZAcxAY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-117-wght-normal-CLJPD2y0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-118-wght-normal-D8DI_HXJ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-119-wght-normal-BAB3pFaH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-12-wght-normal-K36fA5_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-13-wght-normal-BnYizWno.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-14-wght-normal-BP4IgVC-.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-15-wght-normal-DyhWcoYF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-16-wght-normal-CXsQLI2j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-17-wght-normal-C8FU1ZJ4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-18-wght-normal-Cl0IKBVh.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-19-wght-normal-D3D3JUJm.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-2-wght-normal-CGu8NhtQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-20-wght-normal-DxsoeWSt.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-21-wght-normal-CuNsexW5.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-22-wght-normal-DVX3OFQM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-23-wght-normal-BPFuo_yH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-24-wght-normal-D85Fj66x.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-25-wght-normal-DdOOVuSz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-26-wght-normal-BRB1GnUq.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-27-wght-normal-BxZFF8JU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-28-wght-normal-VUlviaYI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-29-wght-normal-CalQqRwB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-3-wght-normal-cncaCaM8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-30-wght-normal-CHLg85G9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-31-wght-normal-BUoF9dl9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-32-wght-normal-C5ZTiBNw.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-33-wght-normal-C6XNJsfA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-34-wght-normal-DHkM837w.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-35-wght-normal-QMtEjDIl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-36-wght-normal-CUyF0GqZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-37-wght-normal-EORmNjxA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-38-wght-normal-C8ERbMNG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-39-wght-normal-ChUfpJbl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-4-wght-normal-DtWqs3EP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-40-wght-normal-MgP8JEEE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-41-wght-normal-3ctF9abM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-42-wght-normal-CQtg6UZe.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-43-wght-normal-D1Pmm9aG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-44-wght-normal-Cp9dHeXI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-45-wght-normal-D2b1osBj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-46-wght-normal-CGIA-Vlo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-47-wght-normal-C4EEGqDS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-48-wght-normal-D2iBztXa.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-49-wght-normal-DxqRVik_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-5-wght-normal-CFiyVtll.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-50-wght-normal-CMseszwo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqc-9wfi.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-52-wght-normal-BVLZTbqC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-53-wght-normal-DTyNOJaY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-54-wght-normal-_mxGq_et.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-55-wght-normal-Bvndync8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-56-wght-normal-0MmMqroR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-57-wght-normal-BdRnjDYs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-58-wght-normal-BYGgVeN_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-59-wght-normal-Bdv8mdje.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-6-wght-normal-M-pWkj3J.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-60-wght-normal-DC6FEqsM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-61-wght-normal-CYIuK5Lr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-62-wght-normal-DeHy8p7w.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-63-wght-normal-B4M6eMmD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-64-wght-normal-DLyOXBrC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-65-wght-normal-X7SsA1bs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-66-wght-normal-VScDM-_N.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-67-wght-normal-Dg2D3DZB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-68-wght-normal-BB0AR8UN.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-69-wght-normal-CucwpUnQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-7-wght-normal-DzOz8Ryd.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-70-wght-normal-BZId6-Tb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-71-wght-normal-CzPU0NF7.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-72-wght-normal-DrNRYXnT.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-73-wght-normal-DF2BdR6a.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-74-wght-normal-BMlOw_5y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-75-wght-normal-DKq84hLG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-76-wght-normal-CTb-2MFr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-77-wght-normal-DfIVi-wf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-78-wght-normal-_-z1Vrir.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-79-wght-normal-D8kGlXda.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-8-wght-normal-BfWoBb3q.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-80-wght-normal-BOEztZwY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-81-wght-normal-h5VC8QpU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-82-wght-normal-DJ4QkvX0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-83-wght-normal-DANtuAZG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-84-wght-normal-DjZ8Sp6m.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-85-wght-normal-kpU7kbMF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-86-wght-normal-DRPTa-bf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-87-wght-normal-CFM472wD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-88-wght-normal-2rLLwelj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-89-wght-normal-DUIF9ybW.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-9-wght-normal-WLs1HgG6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-90-wght-normal-B0n_tL-y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-91-wght-normal-BishDeFy.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-92-wght-normal-DoIdukLp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-93-wght-normal-DMCycan_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-94-wght-normal-DlyoTk-A.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-95-wght-normal-D0L1aiGf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-96-wght-normal-CjJ0kYkQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-97-wght-normal-CJ8uP04H.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-98-wght-normal-CjEDrQIY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-99-wght-normal-DaQ3GEVf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BbS1Q_ZO.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-IaSo_s9d.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-wght-normal-Bnnzbixe.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CjvP4Ahz.woff2 +0 -0
- package/dist/studio/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 +0 -0
- package/dist/studio/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 +0 -0
- package/dist/studio/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 +0 -0
- package/dist/studio/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 +0 -0
- package/dist/studio/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 +0 -0
- package/dist/studio/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 +0 -0
- package/dist/studio/assets/roboto-math-wght-normal-4a3xuzGk.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 +0 -0
- package/dist/studio/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 +0 -0
- package/dist/studio/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 +0 -0
- package/dist/studio/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 +0 -0
- package/dist/studio/assets/shared-DaQcXrQr.js +1 -0
- package/dist/studio/assets/shell-BX8EJGse.js +1 -0
- package/dist/studio/assets/swift-BAKAYbPz.js +1 -0
- package/dist/studio/assets/typescript-TrpEWIdY.js +1 -0
- package/dist/studio/index.html +33 -0
- package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
- package/dist/vocabulary/packages/web/src/generated/glyphs.json +189 -0
- package/dist/vocabulary/tanrei.config.json +24 -0
- package/dist/vocabulary/tokens/comp/accordion.tokens.json +459 -0
- package/dist/vocabulary/tokens/comp/app-bar.tokens.json +308 -0
- package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
- package/dist/vocabulary/tokens/comp/avatar.tokens.json +199 -0
- package/dist/vocabulary/tokens/comp/badge.tokens.json +101 -0
- package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +326 -0
- package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
- package/dist/vocabulary/tokens/comp/button-group.tokens.json +140 -0
- package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +810 -0
- package/dist/vocabulary/tokens/comp/button.tokens.json +1355 -0
- package/dist/vocabulary/tokens/comp/calendar.tokens.json +500 -0
- package/dist/vocabulary/tokens/comp/callout.tokens.json +510 -0
- package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
- package/dist/vocabulary/tokens/comp/carousel.tokens.json +469 -0
- package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/checkbox.tokens.json +587 -0
- package/dist/vocabulary/tokens/comp/chip.tokens.json +716 -0
- package/dist/vocabulary/tokens/comp/code-block.tokens.json +473 -0
- package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/combobox.tokens.json +756 -0
- package/dist/vocabulary/tokens/comp/copy-button.tokens.json +56 -0
- package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +797 -0
- package/dist/vocabulary/tokens/comp/description-list.tokens.json +203 -0
- package/dist/vocabulary/tokens/comp/dialog.tokens.json +340 -0
- package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -0
- package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
- package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +103 -0
- package/dist/vocabulary/tokens/comp/empty-state.tokens.json +154 -0
- package/dist/vocabulary/tokens/comp/field-group.tokens.json +211 -0
- package/dist/vocabulary/tokens/comp/field.tokens.json +308 -0
- package/dist/vocabulary/tokens/comp/figure.tokens.json +269 -0
- package/dist/vocabulary/tokens/comp/file-item.tokens.json +445 -0
- package/dist/vocabulary/tokens/comp/file-picker.tokens.json +282 -0
- package/dist/vocabulary/tokens/comp/file-upload.tokens.json +30 -0
- package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/image-preview.tokens.json +327 -0
- package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
- package/dist/vocabulary/tokens/comp/input-box.tokens.json +1073 -0
- package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/link-card.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
- package/dist/vocabulary/tokens/comp/list.tokens.json +328 -0
- package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +218 -0
- package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +418 -0
- package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
- package/dist/vocabulary/tokens/comp/menu.tokens.json +1124 -0
- package/dist/vocabulary/tokens/comp/menubar.tokens.json +279 -0
- package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
- package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
- package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +448 -0
- package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +1126 -0
- package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
- package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
- package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +246 -0
- package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
- package/dist/vocabulary/tokens/comp/pagination.tokens.json +233 -0
- package/dist/vocabulary/tokens/comp/popover.tokens.json +363 -0
- package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +218 -0
- package/dist/vocabulary/tokens/comp/prose.tokens.json +283 -0
- package/dist/vocabulary/tokens/comp/radio-button.tokens.json +413 -0
- package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
- package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
- package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
- package/dist/vocabulary/tokens/comp/search.tokens.json +761 -0
- package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +414 -0
- package/dist/vocabulary/tokens/comp/select.tokens.json +687 -0
- package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +332 -0
- package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/skeleton.tokens.json +114 -0
- package/dist/vocabulary/tokens/comp/slider.tokens.json +436 -0
- package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1160 -0
- package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
- package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
- package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
- package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/switch.tokens.json +350 -0
- package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
- package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +429 -0
- package/dist/vocabulary/tokens/comp/table.tokens.json +553 -0
- package/dist/vocabulary/tokens/comp/tabs.tokens.json +1058 -0
- package/dist/vocabulary/tokens/comp/tag-group.tokens.json +68 -0
- package/dist/vocabulary/tokens/comp/tag.tokens.json +551 -0
- package/dist/vocabulary/tokens/comp/text-input.tokens.json +96 -0
- package/dist/vocabulary/tokens/comp/timeline.tokens.json +239 -0
- package/dist/vocabulary/tokens/comp/toolbar.tokens.json +270 -0
- package/dist/vocabulary/tokens/comp/tooltip.tokens.json +391 -0
- package/dist/vocabulary/tokens/comp/tree-view.tokens.json +478 -0
- package/dist/vocabulary/tokens/dial/dial.tokens.json +137 -0
- package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
- package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +388 -0
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
- package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
- package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
- package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +279 -0
- package/dist/vocabulary/tokens/ref/typeface.tokens.json +116 -0
- package/dist/vocabulary/tokens/schema/icon-set.schema.json +82 -0
- package/dist/vocabulary/tokens/schema/system.schema.json +859 -0
- package/dist/vocabulary/tokens/sys/behavior.tokens.json +184 -0
- package/dist/vocabulary/tokens/sys/color.vocabulary.json +58 -0
- package/dist/vocabulary/tokens/sys/elevation.tokens.json +362 -0
- package/dist/vocabulary/tokens/sys/measure.tokens.json +442 -0
- package/dist/vocabulary/tokens/sys/motion.tokens.json +1421 -0
- package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
- package/dist/vocabulary/tokens/sys/shape.tokens.json +169 -0
- package/dist/vocabulary/tokens/sys/space.tokens.json +256 -0
- package/dist/vocabulary/tokens/sys/state.tokens.json +83 -0
- package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
- package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
- package/dist/vocabulary/tokens/systems/cupertino.system.json +859 -0
- package/dist/vocabulary/tokens/systems/m3-like/comp/fab-menu.tokens.json +499 -0
- package/dist/vocabulary/tokens/systems/m3-like.system.json +1181 -0
- package/dist/vocabulary/tokens/systems/tanrei.system.json +707 -0
- package/dist/vocabulary/tokens/tanrei.resolver.json +400 -0
- package/package.json +50 -3
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"tree-view": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows things that hold other things, to any depth, as rows that open and close: the folders and files of a project, the tiers, groups and tokens of a design system, the categories of a catalogue, the parts of a document. Some of these trees are only read and opened; in others one row is chosen, or several; some are a few rows in a page of text and some are hundreds of rows in a tool; some rows carry a glyph, a note after their name or a short value at their end, some are unavailable, and some fetch what they hold when they are first opened.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"unselected",
|
|
13
|
+
"selected"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed",
|
|
19
|
+
"disabled"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"label.color": "color",
|
|
24
|
+
"supporting-text.color": "color",
|
|
25
|
+
"trailing-text.color": "color",
|
|
26
|
+
"icon.color": "color",
|
|
27
|
+
"chevron.color": "color",
|
|
28
|
+
"state-layer.color": "color"
|
|
29
|
+
},
|
|
30
|
+
"perComponent": {
|
|
31
|
+
"opacity": "number"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"dev.tanrei.axes": {
|
|
35
|
+
"condition": {
|
|
36
|
+
"default": "unselected",
|
|
37
|
+
"from": "states"
|
|
38
|
+
},
|
|
39
|
+
"size": {
|
|
40
|
+
"default": "medium",
|
|
41
|
+
"values": [
|
|
42
|
+
"small",
|
|
43
|
+
"medium"
|
|
44
|
+
],
|
|
45
|
+
"members": [
|
|
46
|
+
"container.height",
|
|
47
|
+
"container.padding-block",
|
|
48
|
+
"container.padding-inline",
|
|
49
|
+
"container.gap",
|
|
50
|
+
"level.indent",
|
|
51
|
+
"label.typescale",
|
|
52
|
+
"icon.size",
|
|
53
|
+
"chevron.size"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"dev.tanrei.llm": {
|
|
58
|
+
"usage": "Everything a tree view reads: per size (small, medium) a row's least height, paddings, gap, the indent of one level, the label's text style and the sizes of the glyph and the chevron; the text styles of the note after a label and of the value at a row's end; the row's corners; the guide line; the motion of a press and of opening and closing; and for each condition (unselected, selected) the colors of a row's container, label, supporting text, trailing text, icon, chevron and state layer in each state. Also, for a filterable tree: the gap under its filter field, the status line's text style and color, and how a match in a label is marked (color, added weight, fill, and the two on a selected row).",
|
|
59
|
+
"rules": [
|
|
60
|
+
"A tree view shows a hierarchy whose items open and close, and lets a person choose in it where the product asks. A hierarchy of places to go is a navigation drawer: a drawer navigates, a tree reveals or selects. Content folded under a row is an accordion. Rows of one level are a list.",
|
|
61
|
+
"One tab stop: the arrow keys move through the rows that are shown, the arrow toward the end of the line opens a parent or steps into it, the arrow toward the start closes it or steps out. Do not add tab stops inside a row.",
|
|
62
|
+
"The chevron stands at the start of a row and is the only mark of open and closed; a leaf keeps the chevron's room empty, so that names of one level begin on one line.",
|
|
63
|
+
"An item is chosen by its value. An item without a value cannot be chosen: a press on its row opens or closes it. The chevron always opens and closes and never chooses.",
|
|
64
|
+
"selection none is the read-only tree: a figure of a file system in a page of text, a structure to look through. Its leaves answer nothing; its parents still open and close.",
|
|
65
|
+
"The selected fill is the quiet selection, the same in a list, a drawer and a table: in the default system a layer of the row's content color. Never use the primary fill or the accent for it: primary is the one chosen now among actions, and the accent is the keyboard focus ring alone.",
|
|
66
|
+
"A row holds no control: no link, button or field. A word such as a tag or a count is the trailing slot or the trailing text.",
|
|
67
|
+
"The tree shows what it is given. Filtering, sorting, searching and fetching are the product's: it gives the tree the items that match and opens the parents that hold them.",
|
|
68
|
+
"small is for a tool used with a pointer and for a small tree inside text. A row is never lower than the target at either size. A tree that sets no size takes the one its container sets.",
|
|
69
|
+
"Each condition's state-layer.color is the color hover, focus and press mix into the row; it aliases the condition's label color.",
|
|
70
|
+
"Restyle through these tokens in a layer; never draw nested lists with chevrons by hand."
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"container": {
|
|
75
|
+
"height": {
|
|
76
|
+
"$type": "dimension",
|
|
77
|
+
"$description": "A row's least height, per size: the box that carries hover, focus, press and the selected fill. Medium is a navigation drawer's row, drawn at the control height (36 in the default system). Small is the small step of the control heights, never below the minimum target (36 in the default system), for a tool used with a pointer and for a small tree inside text; a row is never lower than the target, whatever this says (TRV-26). A minimum: a row grows with a label that wraps and with enlarged text.",
|
|
78
|
+
"medium": {
|
|
79
|
+
"$value": {
|
|
80
|
+
"value": 36,
|
|
81
|
+
"unit": "px"
|
|
82
|
+
},
|
|
83
|
+
"$extensions": {
|
|
84
|
+
"dev.tanrei.derive": {
|
|
85
|
+
"fn": "mul",
|
|
86
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
87
|
+
"by": 1,
|
|
88
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
89
|
+
},
|
|
90
|
+
"dev.tanrei.aligned": "control"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"small": {
|
|
94
|
+
"$value": {
|
|
95
|
+
"value": 36,
|
|
96
|
+
"unit": "px"
|
|
97
|
+
},
|
|
98
|
+
"$extensions": {
|
|
99
|
+
"dev.tanrei.derive": {
|
|
100
|
+
"fn": "mul",
|
|
101
|
+
"of": "{tanrei.sys.control.height.small}",
|
|
102
|
+
"by": 1,
|
|
103
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"padding-block": {
|
|
109
|
+
"$type": "dimension",
|
|
110
|
+
"$description": "Above the first line and below the last line of a row's text, per size. With one line of the label it gives the height or leaves room; it holds the room when the label wraps or the text is enlarged.",
|
|
111
|
+
"medium": {
|
|
112
|
+
"$value": {
|
|
113
|
+
"value": 6,
|
|
114
|
+
"unit": "px"
|
|
115
|
+
},
|
|
116
|
+
"$extensions": {
|
|
117
|
+
"dev.tanrei.derive": {
|
|
118
|
+
"fn": "pad",
|
|
119
|
+
"of": "{tanrei.sys.space.space100}",
|
|
120
|
+
"height": "{tanrei.comp.tree-view.container.height.medium}"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"small": {
|
|
125
|
+
"$value": {
|
|
126
|
+
"value": 8,
|
|
127
|
+
"unit": "px"
|
|
128
|
+
},
|
|
129
|
+
"$extensions": {
|
|
130
|
+
"dev.tanrei.derive": {
|
|
131
|
+
"fn": "pad",
|
|
132
|
+
"of": "{tanrei.sys.space.space75}",
|
|
133
|
+
"height": "{tanrei.comp.tree-view.container.height.small}"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"padding-inline": {
|
|
139
|
+
"$type": "dimension",
|
|
140
|
+
"$description": "Before the chevron's box and after the last part of a row, per size, inside the row's container.",
|
|
141
|
+
"medium": {
|
|
142
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
143
|
+
},
|
|
144
|
+
"small": {
|
|
145
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"gap": {
|
|
149
|
+
"$type": "dimension",
|
|
150
|
+
"$description": "Between the chevron's box, the icon, the text, the trailing content and the trailing text of a row, per size. Medium is a navigation drawer row's gap.",
|
|
151
|
+
"medium": {
|
|
152
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
153
|
+
},
|
|
154
|
+
"small": {
|
|
155
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"shape": {
|
|
159
|
+
"$type": "dimension",
|
|
160
|
+
"$value": "{tanrei.sys.shape.corner.small}",
|
|
161
|
+
"$description": "The corners of a row's container, which its selected fill, its state layer and its focus indicator follow: a navigation drawer row's and a menu item's."
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"level": {
|
|
165
|
+
"$extensions": {
|
|
166
|
+
"dev.tanrei.vocabulary": {
|
|
167
|
+
"rationale": "One product shows how deep an item lies by how far in its row begins, and a dense tree steps in less than a roomy one. How far one level steps is the tree's own measure: it is not the space inside a row, and a product may step a tree of files in by less than the groups of its drawer.",
|
|
168
|
+
"since": "0.1.0"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"indent": {
|
|
172
|
+
"$type": "dimension",
|
|
173
|
+
"$description": "How much further from the start edge a row's container begins for each level below the first, per size: the chevron's box and one gap, so that a child's chevron stands under its parent's icon or label.",
|
|
174
|
+
"medium": {
|
|
175
|
+
"$value": "{tanrei.sys.space.space400}"
|
|
176
|
+
},
|
|
177
|
+
"small": {
|
|
178
|
+
"$value": "{tanrei.sys.space.space300}"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"label": {
|
|
183
|
+
"typescale": {
|
|
184
|
+
"$description": "The label's text style, per size. Medium is a list item's headline; small is one step smaller, a table's compact cell.",
|
|
185
|
+
"medium": {
|
|
186
|
+
"$type": "typography",
|
|
187
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
188
|
+
},
|
|
189
|
+
"small": {
|
|
190
|
+
"$type": "typography",
|
|
191
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"supporting-text": {
|
|
196
|
+
"$extensions": {
|
|
197
|
+
"dev.tanrei.vocabulary": {
|
|
198
|
+
"rationale": "One product says a few words about some items after their names (after \"tokens/\": \"the source of truth, edited by hand\"), quieter than the names, so that the names still read down the tree as one column.",
|
|
199
|
+
"since": "0.1.0"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"typescale": {
|
|
203
|
+
"$type": "typography",
|
|
204
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
205
|
+
"$description": "The note after the label, at both sizes: the size of the small label, at a regular weight."
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"trailing-text": {
|
|
209
|
+
"$extensions": {
|
|
210
|
+
"dev.tanrei.vocabulary": {
|
|
211
|
+
"rationale": "One product puts a count or the present value at the end of some rows (the number of tokens in a group, the size of a file, the value of a token), quieter than the name so that the names still lead the eye.",
|
|
212
|
+
"since": "0.1.0"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"typescale": {
|
|
216
|
+
"$type": "typography",
|
|
217
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
218
|
+
"$description": "The short value at the end of a row, at both sizes: a navigation drawer row's trailing text."
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"icon": {
|
|
222
|
+
"size": {
|
|
223
|
+
"$type": "dimension",
|
|
224
|
+
"$description": "The box of the glyph before the label, per size: a navigation drawer's destination glyph, medium its regular row's and small its compact row's, so that a tree beside a drawer draws its glyphs at the drawer's size. The glyph is centred on the label's first line.",
|
|
225
|
+
"medium": {
|
|
226
|
+
"$value": "{tanrei.comp.navigation-drawer.item.icon.size.medium}"
|
|
227
|
+
},
|
|
228
|
+
"small": {
|
|
229
|
+
"$value": "{tanrei.comp.navigation-drawer.item.icon.size.small}"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"gap": {
|
|
233
|
+
"$type": "dimension",
|
|
234
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
235
|
+
"$description": "The room between the icon (or the icon's kept room) and the label, the same at every size and density: a small tree draws its rows lower and its glyphs smaller, and keeps a name as far from its glyph as a medium one does. A product's iconGap overrides it.",
|
|
236
|
+
"$extensions": {
|
|
237
|
+
"dev.tanrei.vocabulary": {
|
|
238
|
+
"rationale": "One product sets a name apart from its glyph by one distance in every tree it draws, dense or not, apart from the gaps between a row's other parts.",
|
|
239
|
+
"since": "0.1.0"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"chevron": {
|
|
245
|
+
"$extensions": {
|
|
246
|
+
"dev.tanrei.vocabulary": {
|
|
247
|
+
"rationale": "One product draws the mark that says a row opens at a size of its own, so that it reads as a mark and not as a second icon; the accordion and the navigation drawer make the same distinction.",
|
|
248
|
+
"since": "0.1.0"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"size": {
|
|
252
|
+
"$type": "dimension",
|
|
253
|
+
"$description": "The chevron's box at the start of a row, per size; a leaf keeps the box empty. Medium is the size of a navigation drawer group's chevron.",
|
|
254
|
+
"medium": {
|
|
255
|
+
"$value": "{tanrei.sys.icon.small}"
|
|
256
|
+
},
|
|
257
|
+
"small": {
|
|
258
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"guide": {
|
|
263
|
+
"$extensions": {
|
|
264
|
+
"dev.tanrei.vocabulary": {
|
|
265
|
+
"rationale": "One product draws a line down from an open parent beside what it holds, in a deep tree where the indent alone no longer shows which rows belong together, and draws none in a shallow one. The line is the tree's own: a system may draw it apart from its dividers.",
|
|
266
|
+
"since": "0.1.0"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"color": {
|
|
270
|
+
"$type": "color",
|
|
271
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
272
|
+
"$description": "The guide line of a tree whose guides is shown (or hover, while the pointer or focus is in it): the one hairline. Decorative: the hierarchy is told by the indent and, to assistive technology, by the structure."
|
|
273
|
+
},
|
|
274
|
+
"width": {
|
|
275
|
+
"$type": "dimension",
|
|
276
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"sticky": {
|
|
280
|
+
"$extensions": {
|
|
281
|
+
"dev.tanrei.vocabulary": {
|
|
282
|
+
"rationale": "One product keeps the rows of the open parents above a long tree's visible rows pinned at the top of its scrolling box, as an editor's sticky scroll does: those rows need a fill that hides what scrolls under them and a line that says where the pinned rows end, which a system may draw apart from the tree's selection and its dividers.",
|
|
283
|
+
"since": "0.1.0"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"container": {
|
|
287
|
+
"color": {
|
|
288
|
+
"$type": "color",
|
|
289
|
+
"$value": "{tanrei.sys.color.surface}",
|
|
290
|
+
"$description": "Under a pinned row's own fill: the surface the tree stands on, opaque, so that the rows scrolling under the pinned rows are hidden."
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"divider": {
|
|
294
|
+
"color": {
|
|
295
|
+
"$type": "color",
|
|
296
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
297
|
+
"$description": "The line under the last pinned row, where the rows that scroll under it begin."
|
|
298
|
+
},
|
|
299
|
+
"width": {
|
|
300
|
+
"$type": "dimension",
|
|
301
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"unselected": {
|
|
306
|
+
"container": {
|
|
307
|
+
"color": {
|
|
308
|
+
"$type": "color",
|
|
309
|
+
"$value": {
|
|
310
|
+
"colorSpace": "srgb",
|
|
311
|
+
"components": [
|
|
312
|
+
0,
|
|
313
|
+
0,
|
|
314
|
+
0
|
|
315
|
+
],
|
|
316
|
+
"alpha": 0,
|
|
317
|
+
"hex": "#000000"
|
|
318
|
+
},
|
|
319
|
+
"$extensions": {
|
|
320
|
+
"dev.tanrei.derive": {
|
|
321
|
+
"fixed": "A row that is not selected draws no fill: it is a row on the surface the tree stands on; hover, focus and press mix into it."
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"label": {
|
|
327
|
+
"color": {
|
|
328
|
+
"$type": "color",
|
|
329
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
330
|
+
"$description": "The label: the text color of the surface the tree stands on, as a list item's headline."
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"supporting-text": {
|
|
334
|
+
"color": {
|
|
335
|
+
"$type": "color",
|
|
336
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"trailing-text": {
|
|
340
|
+
"color": {
|
|
341
|
+
"$type": "color",
|
|
342
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"icon": {
|
|
346
|
+
"color": {
|
|
347
|
+
"$type": "color",
|
|
348
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"chevron": {
|
|
352
|
+
"color": {
|
|
353
|
+
"$type": "color",
|
|
354
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
355
|
+
"$description": "The chevron: a mark, quieter than the label, in the color a navigation drawer and an accordion draw theirs in."
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"state-layer": {
|
|
359
|
+
"color": {
|
|
360
|
+
"$type": "color",
|
|
361
|
+
"$value": "{tanrei.comp.tree-view.unselected.label.color}",
|
|
362
|
+
"$description": "What hover, focus and press mix into the row: the label's color."
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"selected": {
|
|
367
|
+
"container": {
|
|
368
|
+
"color": {
|
|
369
|
+
"$type": "color",
|
|
370
|
+
"$value": "{tanrei.sys.color.secondary-container}",
|
|
371
|
+
"$description": "The fill of a selected item's row, under the item's content (TRV-15). The role named here is the quiet selection's; the default system does not draw that tone — it values this token as a layer of the row's own content color (selected.state-layer.color at the selected layer, sys.state.selected-state-layer-opacity: 16 %, twice the hover layer: tokens/systems/tanrei.system.json), as a list values its selected option, so that the fill is seen by the same step on whatever the surface is and stands apart from a hovered row. A design system that sets this token draws what it sets."
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"label": {
|
|
375
|
+
"color": {
|
|
376
|
+
"$type": "color",
|
|
377
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"supporting-text": {
|
|
381
|
+
"color": {
|
|
382
|
+
"$type": "color",
|
|
383
|
+
"$value": "{tanrei.sys.color.on-secondary-container}",
|
|
384
|
+
"$description": "On the selected fill every part takes the fill's own content color, which is held to contrast on it; the secondary text color is held only on surfaces."
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"trailing-text": {
|
|
388
|
+
"color": {
|
|
389
|
+
"$type": "color",
|
|
390
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"icon": {
|
|
394
|
+
"color": {
|
|
395
|
+
"$type": "color",
|
|
396
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"chevron": {
|
|
400
|
+
"color": {
|
|
401
|
+
"$type": "color",
|
|
402
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"state-layer": {
|
|
406
|
+
"color": {
|
|
407
|
+
"$type": "color",
|
|
408
|
+
"$value": "{tanrei.comp.tree-view.selected.label.color}",
|
|
409
|
+
"$description": "What hover, focus and press mix into a selected row: its label's color."
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"motion": {
|
|
414
|
+
"state-duration": {
|
|
415
|
+
"$type": "duration",
|
|
416
|
+
"$value": "{tanrei.sys.motion.role.state.large}",
|
|
417
|
+
"$description": "How long a state change of a row takes."
|
|
418
|
+
},
|
|
419
|
+
"state-easing": {
|
|
420
|
+
"$type": "cubicBezier",
|
|
421
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
422
|
+
},
|
|
423
|
+
"feedback-duration": {
|
|
424
|
+
"$type": "duration",
|
|
425
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
426
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
427
|
+
},
|
|
428
|
+
"disclosure-duration": {
|
|
429
|
+
"$type": "duration",
|
|
430
|
+
"$value": "{tanrei.sys.motion.role.disclosure}",
|
|
431
|
+
"$description": "How long a parent takes to open or close: its rows revealed or hidden, what follows moving, and its chevron turning. The name and the value of a navigation drawer group's and an accordion's.",
|
|
432
|
+
"$extensions": {
|
|
433
|
+
"dev.tanrei.vocabulary": {
|
|
434
|
+
"rationale": "One product opens a level of a tree as a small local change, faster or slower than it answers a press; and it may time a tree in a tool, where a person opens many levels in a row, apart from a group of its drawer.",
|
|
435
|
+
"since": "0.1.0"
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"disclosure-easing": {
|
|
440
|
+
"$type": "cubicBezier",
|
|
441
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
442
|
+
"$extensions": {
|
|
443
|
+
"dev.tanrei.vocabulary": {
|
|
444
|
+
"rationale": "The curve of disclosure-duration.",
|
|
445
|
+
"since": "0.1.0"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"filter": {
|
|
451
|
+
"$extensions": {
|
|
452
|
+
"dev.tanrei.vocabulary": {
|
|
453
|
+
"rationale": "One product lets a person narrow a long tree by typing in a field above it, as a file explorer does: the room between the field and what it narrows, and the line at the top of the results that says how many rows match or that none does, are its own to tune apart from its other fields and statuses.",
|
|
454
|
+
"since": "0.1.0"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"gap": {
|
|
458
|
+
"$type": "dimension",
|
|
459
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
460
|
+
"$description": "Between the filter field and what stands under it: the status line, or the first row (TRV-54)."
|
|
461
|
+
},
|
|
462
|
+
"status": {
|
|
463
|
+
"typescale": {
|
|
464
|
+
"$type": "typography",
|
|
465
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
466
|
+
"$description": "The line at the top of the results while a filter is applied (TRV-65): how many rows match, or that none does."
|
|
467
|
+
},
|
|
468
|
+
"color": {
|
|
469
|
+
"$type": "color",
|
|
470
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
471
|
+
"$description": "Its color: as quiet as a supporting text, on the surface the tree stands on."
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"dial": {
|
|
4
|
+
"$description": "Dials: the few numbers a whole system is derived from. Change one and every token derived from it follows on every platform; tokens marked fixed do not. Color seeds are not dials — they are palette declarations in tokens/systems/.",
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.llm": {
|
|
7
|
+
"usage": "Eight numbers the whole system is derived from. To make everything larger, roomier, denser, rounder, bolder or slower, change a dial in your layer file instead of editing the tokens derived from it.",
|
|
8
|
+
"rules": [
|
|
9
|
+
"Set a dial with {\"$value\": …, \"reason\": \"…\"} in a layer; never in component code.",
|
|
10
|
+
"A color is not a dial: declare or re-seed a palette under \"palettes\".",
|
|
11
|
+
"Changing space.unit without control.height can make controls too small for their padding; the build reports it.",
|
|
12
|
+
"control.height is the height a control or a row is drawn at in its default size (medium): small and large are whole size units below and above it. It is never under sys.target.minimum: the build refuses a minimum above it."
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"type": {
|
|
17
|
+
"base": {
|
|
18
|
+
"$type": "dimension",
|
|
19
|
+
"$value": {
|
|
20
|
+
"value": 16,
|
|
21
|
+
"unit": "px"
|
|
22
|
+
},
|
|
23
|
+
"$extensions": {
|
|
24
|
+
"dev.tanrei.vocabulary": {
|
|
25
|
+
"rationale": "One product sets its overall text size once (readability, audience, brand).",
|
|
26
|
+
"since": "0.1.0"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"contrast": {
|
|
31
|
+
"$type": "number",
|
|
32
|
+
"$value": 1,
|
|
33
|
+
"$extensions": {
|
|
34
|
+
"dev.tanrei.vocabulary": {
|
|
35
|
+
"rationale": "One product decides how far headings stand apart from body text. Applied as an exponent on each text size coefficient, so 1 leaves the ramp unchanged.",
|
|
36
|
+
"since": "0.1.0"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"space": {
|
|
42
|
+
"unit": {
|
|
43
|
+
"$type": "dimension",
|
|
44
|
+
"$value": {
|
|
45
|
+
"value": 8,
|
|
46
|
+
"unit": "px"
|
|
47
|
+
},
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"dev.tanrei.vocabulary": {
|
|
50
|
+
"rationale": "One product turns overall spacing up or down (airy marketing pages, dense tools).",
|
|
51
|
+
"since": "0.1.0"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"size": {
|
|
57
|
+
"unit": {
|
|
58
|
+
"$type": "dimension",
|
|
59
|
+
"$value": {
|
|
60
|
+
"value": 4,
|
|
61
|
+
"unit": "px"
|
|
62
|
+
},
|
|
63
|
+
"$extensions": {
|
|
64
|
+
"dev.tanrei.vocabulary": {
|
|
65
|
+
"rationale": "One product sets the distance between its control sizes and the scale of its icons together.",
|
|
66
|
+
"since": "0.1.0"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"control": {
|
|
72
|
+
"height": {
|
|
73
|
+
"$type": "dimension",
|
|
74
|
+
"$value": {
|
|
75
|
+
"value": 36,
|
|
76
|
+
"unit": "px"
|
|
77
|
+
},
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"dev.tanrei.vocabulary": {
|
|
80
|
+
"rationale": "One product decides how tall its controls and rows are drawn: a tool used all day with a mouse draws them low, a product used by touch gives them more.",
|
|
81
|
+
"since": "0.1.0"
|
|
82
|
+
},
|
|
83
|
+
"dev.tanrei.reference": {
|
|
84
|
+
"value": 40,
|
|
85
|
+
"unit": "px"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"shape": {
|
|
91
|
+
"unit": {
|
|
92
|
+
"$type": "dimension",
|
|
93
|
+
"$value": {
|
|
94
|
+
"value": 2,
|
|
95
|
+
"unit": "px"
|
|
96
|
+
},
|
|
97
|
+
"$extensions": {
|
|
98
|
+
"dev.tanrei.vocabulary": {
|
|
99
|
+
"rationale": "One product decides how round it is, everywhere at once.",
|
|
100
|
+
"since": "0.1.0"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"stroke": {
|
|
106
|
+
"unit": {
|
|
107
|
+
"$type": "dimension",
|
|
108
|
+
"$value": {
|
|
109
|
+
"value": 1,
|
|
110
|
+
"unit": "px"
|
|
111
|
+
},
|
|
112
|
+
"$extensions": {
|
|
113
|
+
"dev.tanrei.vocabulary": {
|
|
114
|
+
"rationale": "One product sets the weight of its borders, rings and focus indicators.",
|
|
115
|
+
"since": "0.1.0"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"motion": {
|
|
121
|
+
"unit": {
|
|
122
|
+
"$type": "duration",
|
|
123
|
+
"$value": {
|
|
124
|
+
"value": 50,
|
|
125
|
+
"unit": "ms"
|
|
126
|
+
},
|
|
127
|
+
"$extensions": {
|
|
128
|
+
"dev.tanrei.vocabulary": {
|
|
129
|
+
"rationale": "One product is quicker or calmer overall.",
|
|
130
|
+
"since": "0.1.0"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|