@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,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"text-input": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product has boxes people type in that do what no other box does: some are several lines tall and are resized by hand with a handle in their corner, following their text over a short motion; some hold a date or a time entered unit by unit; some hold code in the code face; some hold the entries a person has already given, with the typing part after the last one. The box itself — its corners, heights, edges, label, text and colors — is the one box every input control stands on, and has that set's tokens.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "What a text input draws that no other box draws. The motion of an animated height; the padding of a date or time segment; the face of a code input and how far a tab character reaches in it; the gaps of the entries place inside the box and the least width the typing part keeps beside the last entry. And the gap between the clear button and a button of its own after it. The box is comp.input-box.*.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A text input is the bare box: it has no label row, no requirement tag, no help, no error text and no count. Put it in a Field for those, or use the text field, which is that pair; their tokens are comp.field.*.",
|
|
14
|
+
"The box — container, edges, floating label, value text, placeholder, prefix and suffix, icons, caret, selection, heights and paddings per size, and the colors of each look in each state — is comp.input-box.*, shared with the select, the combobox, the number input and the color input. This group holds only what a text input adds.",
|
|
15
|
+
"Always give it a name: the label of the Field that frames it, or its own label where its visible label is elsewhere. A placeholder is never the name.",
|
|
16
|
+
"Dates and times are entered segment by segment (type date, time, date-time): each unit is focusable, stepped and typed on its own, and the focused segment is drawn as selected text (comp.input-box.selection.color behind it, comp.input-box.selection.content.color for its text). The picker button is an icon-only Button of the text variant with Button's own tokens. With clearable the input draws a clear button, an icon-only Button of the text variant at Button's small size with Button's own tokens, after the trailing slot; container.action-gap is its distance from a button of the input's own after it, the combobox's gap by default. Other trailing actions (voice input) are the product's own icon-only Buttons in the trailing slot.",
|
|
17
|
+
"For text written for a machine use type code, on one line or with multiline: a left-to-right run in the code face (code.typescale gives the family, weight and letter spacing; the size stays the box's) that the platform does not correct. Never set a code face on the input from outside. It is not an editor; to show code that is not edited use a Code block.",
|
|
18
|
+
"A multi-line input resized by hand (resize manual) places a Handle of size small in its bottom end corner; the Handle draws it from comp.handle.*, and this group holds nothing of it.",
|
|
19
|
+
"A multi-line input follows its text by default (resize auto) and changes height over motion.resize-duration; use resize manual for long free text, and fixed where the layout cannot move.",
|
|
20
|
+
"Restyle through these tokens in a layer; never fork the component."
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"container": {
|
|
25
|
+
"action-gap": {
|
|
26
|
+
"$type": "dimension",
|
|
27
|
+
"$value": "{tanrei.comp.combobox.container.action-gap}",
|
|
28
|
+
"$description": "Between the clear button and a button of the input's own after it, at the end of the container.",
|
|
29
|
+
"$extensions": {
|
|
30
|
+
"dev.tanrei.vocabulary": {
|
|
31
|
+
"rationale": "One product sets the buttons at the end of a text input as one tight group while the text keeps its distance from them, as at the end of a combobox: the space inside the group and the space before it are two decisions. It follows the combobox's by default, so that the two boxes end alike."
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"code": {
|
|
37
|
+
"$description": "What a code input (type code) reads beside the box: its face, and how far a tab character reaches.",
|
|
38
|
+
"typescale": {
|
|
39
|
+
"$type": "typography",
|
|
40
|
+
"$value": "{tanrei.sys.typescale.code}",
|
|
41
|
+
"$description": "The face of a code input's value, placeholder, prefix and suffix: the family, weight and letter spacing of the code role. Its size and line height are not taken: they are the box's (comp.input-box.input.typescale), so that a code input is as tall as any text input, sets its first line where one does, and keeps the text size below which a touch browser zooms into a box."
|
|
42
|
+
},
|
|
43
|
+
"tab-size": {
|
|
44
|
+
"$type": "number",
|
|
45
|
+
"$value": 2,
|
|
46
|
+
"$description": "How many columns of the code face a tab character in the value advances to the next multiple of. The same count as the code block's (comp.code-block.code.tab-size): the two are one decision of a product, held equal by hand, as a component token does not alias another component's.",
|
|
47
|
+
"$extensions": {
|
|
48
|
+
"dev.tanrei.derive": {
|
|
49
|
+
"fixed": "A count of characters, not a distance: it scales with the face's own size, and no dial moves it."
|
|
50
|
+
},
|
|
51
|
+
"dev.tanrei.vocabulary": {
|
|
52
|
+
"rationale": "One product takes code written with tabs into a field — a pasted Makefile rule, a row of tab-separated values, its users' own files — and decides once how deep an indent reads in its interface.",
|
|
53
|
+
"since": "0.1.0"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"segment": {
|
|
59
|
+
"padding-inline": {
|
|
60
|
+
"$type": "dimension",
|
|
61
|
+
"$value": "{tanrei.sys.space.space25}",
|
|
62
|
+
"$description": "The room on each side of a date or time segment's text, inside the highlight a focused segment is drawn with."
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"motion": {
|
|
66
|
+
"resize-duration": {
|
|
67
|
+
"$type": "duration",
|
|
68
|
+
"$value": "{tanrei.sys.motion.role.resize.default}",
|
|
69
|
+
"$description": "How long an auto-resized multi-line input takes to change height when its number of lines changes."
|
|
70
|
+
},
|
|
71
|
+
"resize-easing": {
|
|
72
|
+
"$type": "cubicBezier",
|
|
73
|
+
"$value": "{tanrei.sys.motion.easing.spatial}"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"entries": {
|
|
77
|
+
"gap": {
|
|
78
|
+
"$type": "dimension",
|
|
79
|
+
"$description": "Distance between two items of the entries place on one line, and between the last item and the typing part.",
|
|
80
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
81
|
+
},
|
|
82
|
+
"row-gap": {
|
|
83
|
+
"$type": "dimension",
|
|
84
|
+
"$description": "Distance between two lines of the entries place when its items wrap.",
|
|
85
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
86
|
+
},
|
|
87
|
+
"typing-min-width": {
|
|
88
|
+
"$type": "dimension",
|
|
89
|
+
"$description": "The least width the typing part keeps beside the last item of a line; with less left, it takes a line of its own.",
|
|
90
|
+
"$value": "{tanrei.sys.space.space900}"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"timeline": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows what happened and what is to come in the order of time — the releases of a product, the history of an order, the milestones of a plan, the activity on a record — each event with its date, what it was and, where there is more to say, a few lines; and it marks which of them are done, which one is under way and which are still ahead without relying on a color.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.axes": {
|
|
11
|
+
"size": {
|
|
12
|
+
"default": "medium",
|
|
13
|
+
"values": [
|
|
14
|
+
"medium",
|
|
15
|
+
"large"
|
|
16
|
+
],
|
|
17
|
+
"members": [
|
|
18
|
+
"marker.height",
|
|
19
|
+
"time.typescale",
|
|
20
|
+
"title.typescale",
|
|
21
|
+
"body.typescale"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"dev.tanrei.llm": {
|
|
26
|
+
"usage": "Everything a timeline reads: per size, the marker column's box and the text styles of an event's time, title and body; the dot's size and color; the ring's corners and edge; the glyph's size and color; the fill and the mark of the event that is under way; the space between the marker and the event's content; the connector's color, thickness and its distance from the markers it joins; the space between two events, which follows the system's spacing; the time's color; and the spaces between a time, a title and a body.",
|
|
27
|
+
"rules": [
|
|
28
|
+
"A timeline is a record to read: events in the order of time, each with a time, a title and an optional body. It is an ordered list and nothing in it is pressed.",
|
|
29
|
+
"A procedure a reader works through, numbered, is steps, not a timeline. A timeline has no numbers: its order is time's, and its marker is a dot or a glyph.",
|
|
30
|
+
"Progress through a flow the person is in (a checkout, a set-up wizard) is neither: a timeline's status reports the state of the events, not where the person is, and no event is pressed to go to it.",
|
|
31
|
+
"Give status only where the events have one (a plan, an order's tracking): done, current, upcoming. A log of things that happened has none. A status is drawn as a shape — a check in a ring, a filled circle, an empty ring — and said in words through statusLabel; never rely on the color.",
|
|
32
|
+
"The order is the product's: oldest first or newest first, as the events are given. Hiding old events, loading more and grouping by day are the product's too.",
|
|
33
|
+
"A timeline brings no color for a title or a body: they take the content color of the surface. The time is secondary content; the ring and the connector are the system's one hairline; the one filled marker is the event that is under way.",
|
|
34
|
+
"Use size large on a page whose purpose is reading; medium among controls.",
|
|
35
|
+
"Restyle through these tokens in a layer; never draw a dotted rail by hand."
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"marker": {
|
|
40
|
+
"height": {
|
|
41
|
+
"$type": "dimension",
|
|
42
|
+
"$description": "The side of the box every marker is centred in, and the diameter of a ring, per size: two more than one line of the body's text at that size (22 and 26 in the default system). The marker column is this wide. The values a set of steps gives its numbered ring, so the two read as one family.",
|
|
43
|
+
"medium": {
|
|
44
|
+
"$value": {
|
|
45
|
+
"value": 24,
|
|
46
|
+
"unit": "px"
|
|
47
|
+
},
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"dev.tanrei.derive": {
|
|
50
|
+
"fn": "mul",
|
|
51
|
+
"of": "{tanrei.dial.size.unit}",
|
|
52
|
+
"by": 6
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"large": {
|
|
57
|
+
"$value": {
|
|
58
|
+
"value": 28,
|
|
59
|
+
"unit": "px"
|
|
60
|
+
},
|
|
61
|
+
"$extensions": {
|
|
62
|
+
"dev.tanrei.derive": {
|
|
63
|
+
"fn": "mul",
|
|
64
|
+
"of": "{tanrei.dial.size.unit}",
|
|
65
|
+
"by": 7
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"shape": {
|
|
71
|
+
"$type": "dimension",
|
|
72
|
+
"$value": "{tanrei.sys.shape.corner.full}",
|
|
73
|
+
"$description": "A ring's corners: a circle in the default system. Never larger than half the marker's box. The dot is a circle whatever this says."
|
|
74
|
+
},
|
|
75
|
+
"outline": {
|
|
76
|
+
"color": {
|
|
77
|
+
"$type": "color",
|
|
78
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
79
|
+
"$description": "The ring around a glyph, around a done event's check and of an upcoming event: the system's one hairline. Decorative — the status is in the shape and in words — so it is not held to a contrast."
|
|
80
|
+
},
|
|
81
|
+
"width": {
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
84
|
+
"$description": "The ring's width, drawn inside the marker's box."
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"gap": {
|
|
88
|
+
"$type": "dimension",
|
|
89
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
90
|
+
"$description": "The space between the marker column and an event's content. Every event's content begins at the same edge."
|
|
91
|
+
},
|
|
92
|
+
"dot": {
|
|
93
|
+
"size": {
|
|
94
|
+
"$type": "dimension",
|
|
95
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
96
|
+
"$description": "The diameter of the dot that marks an event with no status and no glyph, and of the mark inside the filled marker of the event under way: a third of the marker's box at medium, a point on the line rather than a bullet."
|
|
97
|
+
},
|
|
98
|
+
"color": {
|
|
99
|
+
"$type": "color",
|
|
100
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
101
|
+
"$description": "The color of the dot: secondary content, a mark beside the text and never louder than it."
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"icon": {
|
|
105
|
+
"size": {
|
|
106
|
+
"$type": "dimension",
|
|
107
|
+
"$value": "{tanrei.sys.icon.extra-small}",
|
|
108
|
+
"$description": "The box of a glyph inside a ring, at both sizes: the smallest step of the icon scale, which leaves the ring clear around it."
|
|
109
|
+
},
|
|
110
|
+
"color": {
|
|
111
|
+
"$type": "color",
|
|
112
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
113
|
+
"$description": "The color of a glyph inside a ring, the check of a done event included: the dot's color."
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"current": {
|
|
117
|
+
"$extensions": {
|
|
118
|
+
"dev.tanrei.vocabulary": {
|
|
119
|
+
"rationale": "One product shows which milestone of a plan, or which stage of an order, is the one under way now, so that a reader finds it at once among the done and the not yet begun.",
|
|
120
|
+
"since": "0.1.0"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"container": {
|
|
124
|
+
"color": {
|
|
125
|
+
"$type": "color",
|
|
126
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
127
|
+
"$description": "The fill of the marker of the event that is under way: the primary fill, which everywhere in the system says \"the one now\". The only filled marker, and the only chromatic thing a timeline draws."
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"icon": {
|
|
131
|
+
"color": {
|
|
132
|
+
"$type": "color",
|
|
133
|
+
"$value": "{tanrei.sys.color.on-primary}",
|
|
134
|
+
"$description": "The color of the mark or the glyph on that fill."
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"connector": {
|
|
140
|
+
"$extensions": {
|
|
141
|
+
"dev.tanrei.vocabulary": {
|
|
142
|
+
"rationale": "One product shows that its events are one course of time by a line from each marker to the next; a product with a plainer manner draws none, which is a thickness of zero.",
|
|
143
|
+
"since": "0.1.0"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"color": {
|
|
147
|
+
"$type": "color",
|
|
148
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
149
|
+
"$description": "The line that joins a marker to the next: the system's one hairline, the ring's color, the same between done and upcoming events. Decorative."
|
|
150
|
+
},
|
|
151
|
+
"thickness": {
|
|
152
|
+
"$type": "dimension",
|
|
153
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
154
|
+
"$description": "The connector's thickness. Zero draws no connector."
|
|
155
|
+
},
|
|
156
|
+
"gap": {
|
|
157
|
+
"$type": "dimension",
|
|
158
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
159
|
+
"$description": "The space the connector keeps from the box of the marker above it and from the box of the marker below it, so the line and the markers are read as separate marks."
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"item": {
|
|
163
|
+
"gap": {
|
|
164
|
+
"$type": "dimension",
|
|
165
|
+
"$description": "The space between the end of one event and the beginning of the next: the space prose puts between two blocks in the default system, so a system that spaces its blocks closer draws its events closer together.",
|
|
166
|
+
"$value": {
|
|
167
|
+
"value": 16,
|
|
168
|
+
"unit": "px"
|
|
169
|
+
},
|
|
170
|
+
"$extensions": {
|
|
171
|
+
"dev.tanrei.derive": {
|
|
172
|
+
"fn": "mul",
|
|
173
|
+
"of": "{tanrei.sys.space.space200}",
|
|
174
|
+
"by": 1,
|
|
175
|
+
"round": "{tanrei.sys.space.space25}"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"time": {
|
|
181
|
+
"typescale": {
|
|
182
|
+
"$type": "typography",
|
|
183
|
+
"$description": "The text style of an event's time, per size: a step under the body's at that size, so the date is found by its place and its quiet color and does not compete with the title.",
|
|
184
|
+
"medium": {
|
|
185
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
186
|
+
},
|
|
187
|
+
"large": {
|
|
188
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"color": {
|
|
192
|
+
"$type": "color",
|
|
193
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
194
|
+
"$description": "The color of an event's time: secondary content. The only text color a timeline brings."
|
|
195
|
+
},
|
|
196
|
+
"gap": {
|
|
197
|
+
"$type": "dimension",
|
|
198
|
+
"$value": "{tanrei.sys.space.space25}",
|
|
199
|
+
"$description": "The space between an event's time and what follows it (the title, or the body where there is no title)."
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"title": {
|
|
203
|
+
"typescale": {
|
|
204
|
+
"$type": "typography",
|
|
205
|
+
"$description": "The text style of an event's title, per size: the heading role whose size is the body's at that size, so a title is told from the body by its weight and not by being larger.",
|
|
206
|
+
"medium": {
|
|
207
|
+
"$value": "{tanrei.sys.typescale.heading-6}"
|
|
208
|
+
},
|
|
209
|
+
"large": {
|
|
210
|
+
"$value": "{tanrei.sys.typescale.heading-5}"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"gap": {
|
|
214
|
+
"$type": "dimension",
|
|
215
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
216
|
+
"$description": "The space between an event's title and its body."
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"body": {
|
|
220
|
+
"typescale": {
|
|
221
|
+
"$type": "typography",
|
|
222
|
+
"$description": "The text style an event's body takes where nothing inside it sets another, per size: the running text of prose at the same size.",
|
|
223
|
+
"medium": {
|
|
224
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
225
|
+
},
|
|
226
|
+
"large": {
|
|
227
|
+
"$value": "{tanrei.sys.typescale.body-large}"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"gap": {
|
|
231
|
+
"$type": "dimension",
|
|
232
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
233
|
+
"$description": "The space between two blocks of one event's body: half the space between two events, so what belongs to one event is closer together than two events are."
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"toolbar": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product places a row of related controls inside its content on some screens (an editor's formatting bar, a table's actions, a row of filters), docks one across the bottom edge on others and floats one over the content elsewhere (a drawing's tools, a map's controls), horizontal or, beside the content, vertical; it groups related controls and sets the groups apart as its other components set parts apart.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a toolbar reads: for each variant (inline: in place in the content, with no surface of its own in the default system; docked: across the bottom edge; floating: a rounded surface over the content) the container color, elevation, corners, cross-axis size, end padding, minimum gap between items and edge color, and the width of that edge; the space and the line that set two groups apart, and which of the two the toolbar draws.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"The toolbar has no interaction states: its items are the product's icon buttons and buttons, with their own tokens, which the toolbar does not restyle.",
|
|
14
|
+
"inline, docked and floating must differ visibly at rest: an inline toolbar stands on the surface it is placed on, a floating toolbar is raised and rounded, a docked one is flush with the screen's bottom edge.",
|
|
15
|
+
"container.size is the extent across the row of items: the height of a horizontal toolbar, the width of a vertical one. It is a minimum.",
|
|
16
|
+
"A container color must keep the items' own icon and label colors readable: a standard icon button draws on-surface-variant on it.",
|
|
17
|
+
"separation follows sys.behavior.separation: divider draws divider.length of divider.thickness in divider.color between two groups with group.gap on each side, gap leaves twice group.gap. Set it apart from the system's choice only for a reason of the toolbar's own.",
|
|
18
|
+
"Restyle through these tokens in a layer; never fork the component."
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"dev.tanrei.axes": {
|
|
22
|
+
"variant": {
|
|
23
|
+
"default": "inline",
|
|
24
|
+
"values": [
|
|
25
|
+
"inline",
|
|
26
|
+
"docked",
|
|
27
|
+
"floating"
|
|
28
|
+
],
|
|
29
|
+
"members": [
|
|
30
|
+
"container.color",
|
|
31
|
+
"container.elevation",
|
|
32
|
+
"container.shape",
|
|
33
|
+
"container.size",
|
|
34
|
+
"container.padding-inline",
|
|
35
|
+
"container.gap",
|
|
36
|
+
"outline.color"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"container": {
|
|
42
|
+
"color": {
|
|
43
|
+
"$type": "color",
|
|
44
|
+
"inline": {
|
|
45
|
+
"$value": {
|
|
46
|
+
"colorSpace": "srgb",
|
|
47
|
+
"components": [
|
|
48
|
+
0,
|
|
49
|
+
0,
|
|
50
|
+
0
|
|
51
|
+
],
|
|
52
|
+
"alpha": 0,
|
|
53
|
+
"hex": "#000000"
|
|
54
|
+
},
|
|
55
|
+
"$extensions": {
|
|
56
|
+
"dev.tanrei.derive": {
|
|
57
|
+
"fixed": "An inline toolbar stands on the surface it is placed on: it has no fill of its own."
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"docked": {
|
|
62
|
+
"$value": "{tanrei.sys.color.surface}"
|
|
63
|
+
},
|
|
64
|
+
"floating": {
|
|
65
|
+
"$value": "{tanrei.sys.color.surface-bright}",
|
|
66
|
+
"$description": "White in light schemes, lighter than the page in dark ones, as a raised surface is."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"elevation": {
|
|
70
|
+
"$type": "shadow",
|
|
71
|
+
"inline": {
|
|
72
|
+
"$value": "{tanrei.sys.elevation.level0}",
|
|
73
|
+
"$description": "No shadow of its own."
|
|
74
|
+
},
|
|
75
|
+
"docked": {
|
|
76
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
77
|
+
},
|
|
78
|
+
"floating": {
|
|
79
|
+
"$value": "{tanrei.sys.elevation.level3}",
|
|
80
|
+
"$description": "The FAB's level: a floating toolbar sits over the content as a FAB does. Level 1 is only a hairline ring in the default system, so a raised surface needs level 2 or more."
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"shape": {
|
|
84
|
+
"$type": "dimension",
|
|
85
|
+
"inline": {
|
|
86
|
+
"$value": "{tanrei.sys.shape.corner.medium}",
|
|
87
|
+
"$description": "For a layer that fills the surface; nothing is drawn with it in the default system."
|
|
88
|
+
},
|
|
89
|
+
"docked": {
|
|
90
|
+
"$value": "{tanrei.sys.shape.corner.none}",
|
|
91
|
+
"$description": "A docked toolbar is flush with the screen's edges."
|
|
92
|
+
},
|
|
93
|
+
"floating": {
|
|
94
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"size": {
|
|
98
|
+
"$type": "dimension",
|
|
99
|
+
"$description": "The extent across the row of items: the height of a horizontal toolbar, the width of a vertical one, not counting a docked toolbar's system inset. A minimum: a button's enlarged label grows it.",
|
|
100
|
+
"inline": {
|
|
101
|
+
"$value": {
|
|
102
|
+
"value": 36,
|
|
103
|
+
"unit": "px"
|
|
104
|
+
},
|
|
105
|
+
"$description": "A medium Button's height: the items' targets reach beyond it themselves (BTN-5).",
|
|
106
|
+
"$extensions": {
|
|
107
|
+
"dev.tanrei.derive": {
|
|
108
|
+
"fn": "mul",
|
|
109
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
110
|
+
"by": 1,
|
|
111
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
112
|
+
},
|
|
113
|
+
"dev.tanrei.aligned": "control"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"docked": {
|
|
117
|
+
"$value": {
|
|
118
|
+
"value": 64,
|
|
119
|
+
"unit": "px"
|
|
120
|
+
},
|
|
121
|
+
"$extensions": {
|
|
122
|
+
"dev.tanrei.derive": {
|
|
123
|
+
"fn": "mul",
|
|
124
|
+
"of": "{tanrei.dial.size.unit}",
|
|
125
|
+
"by": 16
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"floating": {
|
|
130
|
+
"$value": {
|
|
131
|
+
"value": 64,
|
|
132
|
+
"unit": "px"
|
|
133
|
+
},
|
|
134
|
+
"$extensions": {
|
|
135
|
+
"dev.tanrei.derive": {
|
|
136
|
+
"fn": "mul",
|
|
137
|
+
"of": "{tanrei.dial.size.unit}",
|
|
138
|
+
"by": 16
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"padding-inline": {
|
|
144
|
+
"$type": "dimension",
|
|
145
|
+
"$description": "From each end of the toolbar, along its axis, to the first and the last item.",
|
|
146
|
+
"inline": {
|
|
147
|
+
"$value": "{tanrei.sys.space.space0}",
|
|
148
|
+
"$description": "Its ends line up with the content around it."
|
|
149
|
+
},
|
|
150
|
+
"docked": {
|
|
151
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
152
|
+
},
|
|
153
|
+
"floating": {
|
|
154
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
155
|
+
"$description": "Equal to the space across the row around a medium item (64 − 40 = 2 × 12), so the items sit evenly inside the rounded ends."
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"gap": {
|
|
159
|
+
"$type": "dimension",
|
|
160
|
+
"$description": "Between the visible bounds of two neighbouring items. docked: the least space between them in a toolbar that spreads its items across its width; neighbouring hit areas meet at the middle of it (TBR-9), so it is what keeps each item's target whole: at sys.target.touch minus an item's length or more, the item keeps its full target between neighbours, so it is derived as sys.target.touch less the narrowest icon button (a small one), never below zero: 36 − 28 = 8 in the default system. floating: the space between items in a toolbar that is as long as its items need; 0 in the default system, where the items stand as close as their targets allow, each keeping sys.target.touch along the axis (TBR-16): a medium Button is that long there, so two touch, and a small one (28) stands half of what it lacks, 4, from a neighbour; under a 48 target medium icon buttons (36) would stand 12 apart.",
|
|
161
|
+
"inline": {
|
|
162
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
163
|
+
"$description": "A condensed row: neighbouring items stand at least this far apart, and further as TBR-16 keeps their targets apart, as a floating toolbar's do."
|
|
164
|
+
},
|
|
165
|
+
"docked": {
|
|
166
|
+
"$value": {
|
|
167
|
+
"value": 8,
|
|
168
|
+
"unit": "px"
|
|
169
|
+
},
|
|
170
|
+
"$extensions": {
|
|
171
|
+
"dev.tanrei.derive": {
|
|
172
|
+
"fn": "sub",
|
|
173
|
+
"of": "{tanrei.sys.target.touch}",
|
|
174
|
+
"by": "{tanrei.comp.button.container.height.small}"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"floating": {
|
|
179
|
+
"$value": "{tanrei.sys.space.space0}"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"outline": {
|
|
184
|
+
"color": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$description": "A docked toolbar's top edge; the edge around a floating toolbar's whole shape.",
|
|
187
|
+
"inline": {
|
|
188
|
+
"$value": {
|
|
189
|
+
"colorSpace": "srgb",
|
|
190
|
+
"components": [
|
|
191
|
+
0,
|
|
192
|
+
0,
|
|
193
|
+
0
|
|
194
|
+
],
|
|
195
|
+
"alpha": 0,
|
|
196
|
+
"hex": "#000000"
|
|
197
|
+
},
|
|
198
|
+
"$extensions": {
|
|
199
|
+
"dev.tanrei.derive": {
|
|
200
|
+
"fixed": "An inline toolbar has no edge of its own."
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"docked": {
|
|
205
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
206
|
+
},
|
|
207
|
+
"floating": {
|
|
208
|
+
"$value": {
|
|
209
|
+
"colorSpace": "srgb",
|
|
210
|
+
"components": [
|
|
211
|
+
0,
|
|
212
|
+
0,
|
|
213
|
+
0
|
|
214
|
+
],
|
|
215
|
+
"alpha": 0,
|
|
216
|
+
"hex": "#000000"
|
|
217
|
+
},
|
|
218
|
+
"$extensions": {
|
|
219
|
+
"dev.tanrei.derive": {
|
|
220
|
+
"fixed": "A floating toolbar is set apart by its elevation, not by an edge."
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"width": {
|
|
226
|
+
"$type": "dimension",
|
|
227
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"group": {
|
|
231
|
+
"gap": {
|
|
232
|
+
"$type": "dimension",
|
|
233
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
234
|
+
"$description": "The space on each side of the line between two groups, or of a separator item; under a gap separation, the empty space is twice this."
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"divider": {
|
|
238
|
+
"length": {
|
|
239
|
+
"$type": "dimension",
|
|
240
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
241
|
+
"$description": "How long the line between two groups is, across the toolbar's axis, centred: shorter than the row it stands in."
|
|
242
|
+
},
|
|
243
|
+
"thickness": {
|
|
244
|
+
"$type": "dimension",
|
|
245
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
246
|
+
"$description": "As the Divider's line."
|
|
247
|
+
},
|
|
248
|
+
"color": {
|
|
249
|
+
"$type": "color",
|
|
250
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
251
|
+
"$description": "The Divider's role. Decorative to the eye; the line is exposed as a separator."
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"separation": {
|
|
255
|
+
"$type": "number",
|
|
256
|
+
"$value": "{tanrei.sys.behavior.separation}",
|
|
257
|
+
"$description": "How two groups, or a separator item, set items apart. divider: a line of divider.thickness and divider.length in divider.color with group.gap on each side. gap: twice group.gap of empty space and no line. Follows the system's choice; a toolbar's separation prop overrides it (TBR-23). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
258
|
+
"$extensions": {
|
|
259
|
+
"dev.tanrei.enum": {
|
|
260
|
+
"values": [
|
|
261
|
+
"divider",
|
|
262
|
+
"gap"
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|