@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,321 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"link": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product has text that leads somewhere: a phrase inside a sentence, a line by itself under a paragraph or in a table cell, a glyph beside a heading that links to it. It draws the same link on its ordinary surfaces and on a surface of the opposite theme, marks the one that names the page the person is on, and shows one that cannot be followed now. It decides once whether its links are underlined at rest, and marks the ones that lead to another site.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"standard",
|
|
13
|
+
"inverse"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed",
|
|
19
|
+
"disabled"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"label.color": "color",
|
|
24
|
+
"icon.color": "color",
|
|
25
|
+
"state-layer.color": "color",
|
|
26
|
+
"current.container.color": "color",
|
|
27
|
+
"current.label.color": "color",
|
|
28
|
+
"current.icon.color": "color",
|
|
29
|
+
"current.state-layer.color": "color"
|
|
30
|
+
},
|
|
31
|
+
"perComponent": {
|
|
32
|
+
"opacity": "number",
|
|
33
|
+
"container.shape": "dimension"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"dev.tanrei.axes": {
|
|
37
|
+
"variant": {
|
|
38
|
+
"default": "standard",
|
|
39
|
+
"from": "states"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"dev.tanrei.llm": {
|
|
43
|
+
"usage": "Everything a text link reads: the underline's thickness, its distance from the baseline and when it is drawn, which marks a link to another site shows, the corners of the picture of that site, the corners of the shape that carries hover, focus and press, the gap between a glyph and the text, the timing of a state change, and for each look (standard, inverse) the colors of the text, of a glyph that stands alone and of the state layer, at rest and as the current item of a set of navigation, in each state.",
|
|
44
|
+
"rules": [
|
|
45
|
+
"A link is text that leads somewhere. It has no text style of its own: it takes the family, size, weight and line height of the text it sits in.",
|
|
46
|
+
"When a link is underlined is a choice: underline.visibility follows sys.behavior.link-underline (always in the default system). Set the sys token to change every text link, underline.visibility to set the Link apart, and the underline prop to set one link apart.",
|
|
47
|
+
"Leave the underline at always unless the link color stands 3:1 apart from the text color in every scheme; the build fails the default system, and warns a product, where it does not. hover and never are for links that stand by themselves — a list of navigation, a footer — and for a system whose link color carries the difference.",
|
|
48
|
+
"The color of every text link is sys.color.link, and sys.color.inverse-link on an inverse surface: re-point those two in a layer to recolor links and nothing else.",
|
|
49
|
+
"A link to another site shows an arrow after its label, and before it the picture of that site where the product gives one (siteIcon). The link never fetches a picture by itself: give one the product serves from its own origin, made when the product is built. external.marks turns the picture, or both marks, off for the whole product.",
|
|
50
|
+
"A control that does something and leads nowhere is a Button; a text-like one is the text Button. A link that should look like a button is a Button with a destination.",
|
|
51
|
+
"Use inverse only on sys.color.inverse-surface. On a quiet container (a status container, secondary-container) standard is right.",
|
|
52
|
+
"current marks the one link that names where the person already is; it draws no underline and the emphasized weight.",
|
|
53
|
+
"State tokens are valued by the design system's pattern rules; override one token or replace the rule.",
|
|
54
|
+
"Restyle through these tokens in a layer; never style an anchor by hand."
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"container": {
|
|
59
|
+
"shape": {
|
|
60
|
+
"$type": "dimension",
|
|
61
|
+
"$value": "{tanrei.sys.shape.corner.extra-small}",
|
|
62
|
+
"$description": "The corners of the shape that carries hover, focus and press behind the link's text, on each line the link runs over, and of the focus ring around it."
|
|
63
|
+
},
|
|
64
|
+
"gap": {
|
|
65
|
+
"$type": "dimension",
|
|
66
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
67
|
+
"$description": "Space between a glyph and the text beside it."
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"underline": {
|
|
71
|
+
"width": {
|
|
72
|
+
"$type": "dimension",
|
|
73
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
74
|
+
"$description": "The underline's thickness. The underline takes the label's color in every state."
|
|
75
|
+
},
|
|
76
|
+
"offset": {
|
|
77
|
+
"$type": "dimension",
|
|
78
|
+
"$value": "{tanrei.sys.space.space25}",
|
|
79
|
+
"$description": "How far below the text's baseline the underline is drawn."
|
|
80
|
+
},
|
|
81
|
+
"visibility": {
|
|
82
|
+
"$type": "number",
|
|
83
|
+
"$value": "{tanrei.sys.behavior.link-underline}",
|
|
84
|
+
"$description": "When the underline is drawn. always: at rest and in every state. hover: while the link is hovered, focused from the keyboard or pressed, and not at rest. never: in no state. Follows the system's choice; a link's underline prop overrides it (LNK-27). The current link and a glyph alone have no underline under any choice, and forced colors draw it under every choice (LNK-22). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
85
|
+
"$extensions": {
|
|
86
|
+
"dev.tanrei.vocabulary": {
|
|
87
|
+
"rationale": "One product draws its text links in one manner, and the system-wide choice gives it; the Link must be able to leave it, because a phrase inside a sentence and a level of a trail are not the same decision: a product may keep the line in its sentences, where a link sits among other words, and drop it from its trails, or the reverse.",
|
|
88
|
+
"since": "0.1.0"
|
|
89
|
+
},
|
|
90
|
+
"dev.tanrei.enum": {
|
|
91
|
+
"values": [
|
|
92
|
+
"always",
|
|
93
|
+
"hover",
|
|
94
|
+
"never"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"external": {
|
|
101
|
+
"marks": {
|
|
102
|
+
"$type": "number",
|
|
103
|
+
"$value": 0,
|
|
104
|
+
"$description": "What a link to another site shows beside its label. all: the picture of that site before the label, where the product gives one, and the arrow after it. arrow: the arrow alone. none: neither, and the link then says nothing of leaving the site. It does not touch the mark of a new context (LNK-13). One link is set apart by its external prop and by giving it no picture. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
105
|
+
"$extensions": {
|
|
106
|
+
"dev.tanrei.vocabulary": {
|
|
107
|
+
"rationale": "One product decides once how it shows that a link leaves it: a reference site marks every outbound link and shows whose site it is; a product dense with links keeps the arrow and drops the pictures; a product whose every link is outbound (a list of sources) marks none, because a mark on all of them says nothing.",
|
|
108
|
+
"since": "0.1.0"
|
|
109
|
+
},
|
|
110
|
+
"dev.tanrei.enum": {
|
|
111
|
+
"values": [
|
|
112
|
+
"all",
|
|
113
|
+
"arrow",
|
|
114
|
+
"none"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"dev.tanrei.derive": {
|
|
118
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"site-icon": {
|
|
124
|
+
"shape": {
|
|
125
|
+
"$type": "dimension",
|
|
126
|
+
"$value": "{tanrei.sys.shape.corner.extra-small}",
|
|
127
|
+
"$description": "The corners of the picture of the site an external link leads to. The picture's box is as large as the font size of the link's text, as a glyph's is, and stands container.gap from the label.",
|
|
128
|
+
"$extensions": {
|
|
129
|
+
"dev.tanrei.vocabulary": {
|
|
130
|
+
"rationale": "One product corners the small pictures it shows in one way — square, eased or round — and a picture that someone else drew, full to its edges, is where that shows most.",
|
|
131
|
+
"since": "0.1.0"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"disabled-opacity": {
|
|
136
|
+
"$type": "number",
|
|
137
|
+
"$value": "{tanrei.sys.state.disabled-content-opacity}",
|
|
138
|
+
"$description": "How much of the picture is left on a disabled link. A picture has no color to change, so it recedes with the label by opacity: the system's own for disabled content.",
|
|
139
|
+
"$extensions": {
|
|
140
|
+
"dev.tanrei.vocabulary": {
|
|
141
|
+
"rationale": "One product shows that a link cannot be followed on everything the link draws; a picture left at full strength beside a faded label would read as the one live thing in it.",
|
|
142
|
+
"since": "0.1.0"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"standard": {
|
|
148
|
+
"$type": "color",
|
|
149
|
+
"container": {
|
|
150
|
+
"color": {
|
|
151
|
+
"$value": {
|
|
152
|
+
"colorSpace": "srgb",
|
|
153
|
+
"components": [
|
|
154
|
+
0,
|
|
155
|
+
0,
|
|
156
|
+
0
|
|
157
|
+
],
|
|
158
|
+
"alpha": 0,
|
|
159
|
+
"hex": "#000000"
|
|
160
|
+
},
|
|
161
|
+
"$extensions": {
|
|
162
|
+
"dev.tanrei.derive": {
|
|
163
|
+
"fixed": "A link has no fill at rest; the surface behind its text shows through."
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"$description": "The fill behind the link's text on each line it runs over. None at rest: it is where hover, focus and press are drawn."
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"label": {
|
|
170
|
+
"color": {
|
|
171
|
+
"$value": "{tanrei.sys.color.link}",
|
|
172
|
+
"$description": "A link's text on the product's ordinary surfaces and quiet containers: the role the vocabulary keeps for text links."
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"icon": {
|
|
176
|
+
"color": {
|
|
177
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
178
|
+
"$description": "The glyph of a link that has no text (a heading's anchor); beside text a glyph takes label.color. A glyph alone is a step quieter than a word, as an icon-only Button's is."
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"state-layer": {
|
|
182
|
+
"color": {
|
|
183
|
+
"$value": "{tanrei.comp.link.standard.label.color}",
|
|
184
|
+
"$description": "The color hover, focus and press mix into the container: the link's own text color."
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"current": {
|
|
188
|
+
"container": {
|
|
189
|
+
"color": {
|
|
190
|
+
"$value": {
|
|
191
|
+
"colorSpace": "srgb",
|
|
192
|
+
"components": [
|
|
193
|
+
0,
|
|
194
|
+
0,
|
|
195
|
+
0
|
|
196
|
+
],
|
|
197
|
+
"alpha": 0,
|
|
198
|
+
"hex": "#000000"
|
|
199
|
+
},
|
|
200
|
+
"$extensions": {
|
|
201
|
+
"dev.tanrei.derive": {
|
|
202
|
+
"fixed": "The current link has no fill at rest either."
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"label": {
|
|
208
|
+
"color": {
|
|
209
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
210
|
+
"$description": "The link that names the place the person is already at, in a set of navigation: the color of the text around it, because it is where they are and not somewhere to go."
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"icon": {
|
|
214
|
+
"color": {
|
|
215
|
+
"$value": "{tanrei.comp.link.standard.current.label.color}"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"state-layer": {
|
|
219
|
+
"color": {
|
|
220
|
+
"$value": "{tanrei.comp.link.standard.current.label.color}"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"inverse": {
|
|
226
|
+
"$type": "color",
|
|
227
|
+
"container": {
|
|
228
|
+
"color": {
|
|
229
|
+
"$value": {
|
|
230
|
+
"colorSpace": "srgb",
|
|
231
|
+
"components": [
|
|
232
|
+
0,
|
|
233
|
+
0,
|
|
234
|
+
0
|
|
235
|
+
],
|
|
236
|
+
"alpha": 0,
|
|
237
|
+
"hex": "#000000"
|
|
238
|
+
},
|
|
239
|
+
"$extensions": {
|
|
240
|
+
"dev.tanrei.derive": {
|
|
241
|
+
"fixed": "A link has no fill at rest; the surface behind its text shows through."
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"$description": "The fill behind the link's text on each line it runs over. None at rest: it is where hover, focus and press are drawn."
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"label": {
|
|
248
|
+
"color": {
|
|
249
|
+
"$value": "{tanrei.sys.color.inverse-link}",
|
|
250
|
+
"$description": "A link's text on a surface of the opposite theme (sys.color.inverse-surface), where the standard link color has no contrast to rely on: the role the vocabulary keeps for links there, so that a layer that recolors links recolors them on every surface."
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"icon": {
|
|
254
|
+
"color": {
|
|
255
|
+
"$value": "{tanrei.sys.color.inverse-on-surface}",
|
|
256
|
+
"$description": "The glyph of a link that has no text (a heading's anchor); beside text a glyph takes label.color. A glyph alone is a step quieter than a word, as an icon-only Button's is."
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"state-layer": {
|
|
260
|
+
"color": {
|
|
261
|
+
"$value": "{tanrei.comp.link.inverse.label.color}",
|
|
262
|
+
"$description": "The color hover, focus and press mix into the container: the link's own text color."
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"current": {
|
|
266
|
+
"container": {
|
|
267
|
+
"color": {
|
|
268
|
+
"$value": {
|
|
269
|
+
"colorSpace": "srgb",
|
|
270
|
+
"components": [
|
|
271
|
+
0,
|
|
272
|
+
0,
|
|
273
|
+
0
|
|
274
|
+
],
|
|
275
|
+
"alpha": 0,
|
|
276
|
+
"hex": "#000000"
|
|
277
|
+
},
|
|
278
|
+
"$extensions": {
|
|
279
|
+
"dev.tanrei.derive": {
|
|
280
|
+
"fixed": "The current link has no fill at rest either."
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"label": {
|
|
286
|
+
"color": {
|
|
287
|
+
"$value": "{tanrei.sys.color.inverse-on-surface}",
|
|
288
|
+
"$description": "The link that names the place the person is already at, in a set of navigation: the color of the text around it, because it is where they are and not somewhere to go."
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"icon": {
|
|
292
|
+
"color": {
|
|
293
|
+
"$value": "{tanrei.comp.link.inverse.current.label.color}"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"state-layer": {
|
|
297
|
+
"color": {
|
|
298
|
+
"$value": "{tanrei.comp.link.inverse.current.label.color}"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"motion": {
|
|
304
|
+
"state-duration": {
|
|
305
|
+
"$type": "duration",
|
|
306
|
+
"$value": "{tanrei.sys.motion.role.state.compact}"
|
|
307
|
+
},
|
|
308
|
+
"state-easing": {
|
|
309
|
+
"$type": "cubicBezier",
|
|
310
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
311
|
+
},
|
|
312
|
+
"feedback-duration": {
|
|
313
|
+
"$type": "duration",
|
|
314
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
315
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple: the pressed layer grows from the point of contact over this time, with state-easing. Unused by the other choices."
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"list-row": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows rows of the same shape again and again — a person, a setting, a message, a place, a file — each a name with a line or two about it, a glyph, a picture or a control before it, and a value, a glyph or a control after it; it shows them in its lists and on their own, with the room of a touch screen or packed closer for a tool used with a pointer.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.axes": {
|
|
11
|
+
"size": {
|
|
12
|
+
"default": "medium",
|
|
13
|
+
"values": [
|
|
14
|
+
"small",
|
|
15
|
+
"medium"
|
|
16
|
+
],
|
|
17
|
+
"members": [
|
|
18
|
+
"container.height.one-line",
|
|
19
|
+
"container.height.two-line",
|
|
20
|
+
"container.height.three-line",
|
|
21
|
+
"container.padding-block"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"dev.tanrei.llm": {
|
|
26
|
+
"usage": "Everything a list row reads: per size (small, medium) its least height for one, two and three lines of text and the space above and below its text; the space before and after its parts and between them; the text style and the color of its overline, headline, supporting text and trailing text; and the box and the color of its leading and trailing glyphs.",
|
|
27
|
+
"rules": [
|
|
28
|
+
"A list row is the content of a list item, or stands alone. It draws text and glyphs, never a fill, an edge, a divider or a state: hover, focus, press, the selected fill, the check, the handle and the divider are the List's.",
|
|
29
|
+
"Put a row as the direct child of a list item. The item tells it what it is: inside an action, a link or an option the item's paddings are the row's, and a selected option recolors every text and glyph of the row in its content color.",
|
|
30
|
+
"A row never makes itself pressable. To make a row open something, make its list item interactive or give it an href; to choose rows, make the list selectable.",
|
|
31
|
+
"Put a control (a switch, a checkbox, an icon-only Button) in the leading or trailing slot only while the row is static: a row standing alone, or the content of a static or reorderable item.",
|
|
32
|
+
"The headline is the row's name: the list item is named by it. Keep the overline a short category, and the trailing text a short value.",
|
|
33
|
+
"small is for a tool used with a pointer: an item that is an action, a link or an option is never lower than the list's own minimum height and the target, whatever this says. A row that sets no size takes the size its list sets; set it once on the list, not on each row.",
|
|
34
|
+
"Restyle through these tokens in a layer; never draw the row's parts by hand in a list item."
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"container": {
|
|
39
|
+
"height": {
|
|
40
|
+
"$type": "dimension",
|
|
41
|
+
"$description": "The least height of a row, per number of lines of its text and per size: one line (a headline), two lines (a headline with an overline or with one line of supporting text), three lines (a headline with an overline and supporting text, or with two lines of supporting text). One line is a step of the control height ladder: medium the control height (36 in the default system), so that a row of the default size stands as tall as every control of that size, and small the small step, never below the minimum target. Each further line adds what it needs, five size units (20 in the default system), the line of the supporting text (13 on 20): a row of two lines is 56 and a row of three 76 at medium and at small in the default system, where the small step is held at the minimum target (60 and 80 at medium at a control height of 40). A minimum: a row grows with enlarged text. Inside a list item that is an action, a link or an option, the item's own padding is part of it.",
|
|
42
|
+
"one-line": {
|
|
43
|
+
"medium": {
|
|
44
|
+
"$value": {
|
|
45
|
+
"value": 36,
|
|
46
|
+
"unit": "px"
|
|
47
|
+
},
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"dev.tanrei.derive": {
|
|
50
|
+
"fn": "mul",
|
|
51
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
52
|
+
"by": 1,
|
|
53
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
54
|
+
},
|
|
55
|
+
"dev.tanrei.aligned": "control"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"small": {
|
|
59
|
+
"$value": {
|
|
60
|
+
"value": 36,
|
|
61
|
+
"unit": "px"
|
|
62
|
+
},
|
|
63
|
+
"$extensions": {
|
|
64
|
+
"dev.tanrei.derive": {
|
|
65
|
+
"fn": "mul",
|
|
66
|
+
"of": "{tanrei.sys.control.height.small}",
|
|
67
|
+
"by": 1,
|
|
68
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"two-line": {
|
|
74
|
+
"medium": {
|
|
75
|
+
"$value": {
|
|
76
|
+
"value": 56,
|
|
77
|
+
"unit": "px"
|
|
78
|
+
},
|
|
79
|
+
"$extensions": {
|
|
80
|
+
"dev.tanrei.derive": {
|
|
81
|
+
"fn": "add",
|
|
82
|
+
"of": "{tanrei.comp.list-row.container.height.one-line.medium}",
|
|
83
|
+
"by": "{tanrei.dial.size.unit}",
|
|
84
|
+
"times": 5
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"small": {
|
|
89
|
+
"$value": {
|
|
90
|
+
"value": 56,
|
|
91
|
+
"unit": "px"
|
|
92
|
+
},
|
|
93
|
+
"$extensions": {
|
|
94
|
+
"dev.tanrei.derive": {
|
|
95
|
+
"fn": "add",
|
|
96
|
+
"of": "{tanrei.comp.list-row.container.height.one-line.small}",
|
|
97
|
+
"by": "{tanrei.dial.size.unit}",
|
|
98
|
+
"times": 5
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"three-line": {
|
|
104
|
+
"medium": {
|
|
105
|
+
"$value": {
|
|
106
|
+
"value": 76,
|
|
107
|
+
"unit": "px"
|
|
108
|
+
},
|
|
109
|
+
"$extensions": {
|
|
110
|
+
"dev.tanrei.derive": {
|
|
111
|
+
"fn": "add",
|
|
112
|
+
"of": "{tanrei.comp.list-row.container.height.one-line.medium}",
|
|
113
|
+
"by": "{tanrei.dial.size.unit}",
|
|
114
|
+
"times": 10
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"small": {
|
|
119
|
+
"$value": {
|
|
120
|
+
"value": 76,
|
|
121
|
+
"unit": "px"
|
|
122
|
+
},
|
|
123
|
+
"$extensions": {
|
|
124
|
+
"dev.tanrei.derive": {
|
|
125
|
+
"fn": "add",
|
|
126
|
+
"of": "{tanrei.comp.list-row.container.height.one-line.small}",
|
|
127
|
+
"by": "{tanrei.dial.size.unit}",
|
|
128
|
+
"times": 10
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"padding-block": {
|
|
135
|
+
"$type": "dimension",
|
|
136
|
+
"$description": "Above the first line and below the last line of a row's text, per size, while the row draws its own paddings (standing alone, or in a static item): medium 8 and small 4 in the default system. Each gives up half of what its size's one-line row loses below its step at the control height's reference and takes half of what the target adds to it, so that one line fits at every control height and size unit. It holds the room when the text is enlarged.",
|
|
137
|
+
"medium": {
|
|
138
|
+
"$value": {
|
|
139
|
+
"value": 6,
|
|
140
|
+
"unit": "px"
|
|
141
|
+
},
|
|
142
|
+
"$extensions": {
|
|
143
|
+
"dev.tanrei.derive": {
|
|
144
|
+
"fn": "pad",
|
|
145
|
+
"of": "{tanrei.sys.space.space100}",
|
|
146
|
+
"height": "{tanrei.comp.list-row.container.height.one-line.medium}"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"small": {
|
|
151
|
+
"$value": {
|
|
152
|
+
"value": 4,
|
|
153
|
+
"unit": "px"
|
|
154
|
+
},
|
|
155
|
+
"$extensions": {
|
|
156
|
+
"dev.tanrei.derive": {
|
|
157
|
+
"fn": "pad",
|
|
158
|
+
"of": "{tanrei.sys.space.space25}",
|
|
159
|
+
"height": "{tanrei.comp.list-row.container.height.one-line.small}"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"padding-inline-start": {
|
|
165
|
+
"$type": "dimension",
|
|
166
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
167
|
+
"$description": "Before the row's first part, while the row draws its own paddings. The same as a list item's, so that a row in a static item and one in an action line up."
|
|
168
|
+
},
|
|
169
|
+
"padding-inline-end": {
|
|
170
|
+
"$type": "dimension",
|
|
171
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
172
|
+
"$description": "After the row's last part, while the row draws its own paddings."
|
|
173
|
+
},
|
|
174
|
+
"gap": {
|
|
175
|
+
"$type": "dimension",
|
|
176
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
177
|
+
"$description": "Between the leading part, the text and the trailing part, and between the trailing text, the trailing slot's content and the trailing glyph."
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"overline": {
|
|
181
|
+
"typescale": {
|
|
182
|
+
"$type": "typography",
|
|
183
|
+
"$value": "{tanrei.sys.typescale.label-small}",
|
|
184
|
+
"$description": "The short line above the headline: a category, a source, a time."
|
|
185
|
+
},
|
|
186
|
+
"color": {
|
|
187
|
+
"$type": "color",
|
|
188
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"headline": {
|
|
192
|
+
"typescale": {
|
|
193
|
+
"$type": "typography",
|
|
194
|
+
"$value": "{tanrei.sys.typescale.body}",
|
|
195
|
+
"$description": "The row's name. The text style a list item hands plain text, so that a row and a plain item read alike."
|
|
196
|
+
},
|
|
197
|
+
"color": {
|
|
198
|
+
"$type": "color",
|
|
199
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"supporting-text": {
|
|
203
|
+
"typescale": {
|
|
204
|
+
"$type": "typography",
|
|
205
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
206
|
+
"$description": "The line or two under the headline."
|
|
207
|
+
},
|
|
208
|
+
"color": {
|
|
209
|
+
"$type": "color",
|
|
210
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"trailing-text": {
|
|
214
|
+
"typescale": {
|
|
215
|
+
"$type": "typography",
|
|
216
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
217
|
+
"$description": "The short value at the row's end: a count, a size, a time, a setting's current value."
|
|
218
|
+
},
|
|
219
|
+
"color": {
|
|
220
|
+
"$type": "color",
|
|
221
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"leading-icon": {
|
|
225
|
+
"size": {
|
|
226
|
+
"$type": "dimension",
|
|
227
|
+
"$value": "{tanrei.sys.icon.medium}",
|
|
228
|
+
"$description": "The box of the glyph before the text."
|
|
229
|
+
},
|
|
230
|
+
"color": {
|
|
231
|
+
"$type": "color",
|
|
232
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"trailing-icon": {
|
|
236
|
+
"size": {
|
|
237
|
+
"$type": "dimension",
|
|
238
|
+
"$value": "{tanrei.sys.icon.medium}",
|
|
239
|
+
"$description": "The box of the glyph at the row's end: a chevron that says the row opens something, a status."
|
|
240
|
+
},
|
|
241
|
+
"color": {
|
|
242
|
+
"$type": "color",
|
|
243
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|