@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,328 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"list": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product holds sets of its own items — rows, tiles, cards, files — in a column, a line or a wrapping grid, with or without space and lines between them; lets people open them one by one or choose from them, some selected and some disabled; and lets people drag the items of one such set into another order.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"unselected",
|
|
13
|
+
"selected"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed",
|
|
19
|
+
"disabled"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"content.color": "color",
|
|
24
|
+
"mark.color": "color",
|
|
25
|
+
"state-layer.color": "color"
|
|
26
|
+
},
|
|
27
|
+
"perComponent": {
|
|
28
|
+
"opacity": "number",
|
|
29
|
+
"container.shape": "dimension"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"dev.tanrei.llm": {
|
|
33
|
+
"usage": "Everything a list reads: the three gaps between its items and the divider between them; for an item that is an action, a link or an option, per size (small, medium) its least height and its padding above and below; its paddings at the start and the end and its gap, the text style and the color it hands its content, the glyph box of the check (the icon set's check), and for each condition (unselected, selected) the colors of the box and its content in each state. For a reorderable list: the fill and the elevation of an item while it is dragged, the motion of items changing place, and that of an item the product adds or takes away growing or closing along the list.",
|
|
34
|
+
"rules": [
|
|
35
|
+
"The list adds no space around its items and draws no background: place it on a surface, or in a card for a grouped look. Its items are the product's content; a static item draws nothing of its own.",
|
|
36
|
+
"A selectable list is a listbox; a list whose items each open something has interactive items or link items; a list that only shows things has neither.",
|
|
37
|
+
"Never put a button, link or control inside an interactive item, a link item or an option; an item that needs its own control stays static.",
|
|
38
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
39
|
+
"The check of a selected option is the icon set's check glyph, drawn at mark.size; to draw another mark, a system chooses another icon set. Never draw a check of your own.",
|
|
40
|
+
"Each condition's state-layer.color is the color hover, focus and press mix into the item; it aliases that condition's content color.",
|
|
41
|
+
"A reorderable list holds static items only and is never a listbox. Its handle is a Tanrei Button and its move menu a Tanrei Menu, drawn from their own tokens. The dragged tokens are a look of one item while it is carried, not an interaction state: no state rule values them.",
|
|
42
|
+
"small is for a tool used with a pointer, where rows are many and looked through often; an item is never lower than the target at either size. Set the size on the list, and the List rows of its items take it. The size never changes a text style."
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"dev.tanrei.axes": {
|
|
46
|
+
"condition": {
|
|
47
|
+
"default": "unselected",
|
|
48
|
+
"from": "states"
|
|
49
|
+
},
|
|
50
|
+
"size": {
|
|
51
|
+
"default": "medium",
|
|
52
|
+
"values": [
|
|
53
|
+
"small",
|
|
54
|
+
"medium"
|
|
55
|
+
],
|
|
56
|
+
"members": [
|
|
57
|
+
"container.height",
|
|
58
|
+
"container.padding-block"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"container": {
|
|
64
|
+
"shape": {
|
|
65
|
+
"$type": "dimension",
|
|
66
|
+
"$value": "{tanrei.sys.shape.corner.none}",
|
|
67
|
+
"$description": "The corners of an item that is an action, a link or an option, and of a dragged item. Square by default: items meet edge to edge."
|
|
68
|
+
},
|
|
69
|
+
"height": {
|
|
70
|
+
"$type": "dimension",
|
|
71
|
+
"$description": "The minimum height of an item that is an action, a link or an option, per size. Medium is the control height (36 in the default system), so that an item of the default size stands as tall as the Buttons and fields beside it; small is the small step, never below the minimum target. A minimum: the item grows with its content and with enlarged text.",
|
|
72
|
+
"medium": {
|
|
73
|
+
"$value": {
|
|
74
|
+
"value": 36,
|
|
75
|
+
"unit": "px"
|
|
76
|
+
},
|
|
77
|
+
"$extensions": {
|
|
78
|
+
"dev.tanrei.derive": {
|
|
79
|
+
"fn": "mul",
|
|
80
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
81
|
+
"by": 1,
|
|
82
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
83
|
+
},
|
|
84
|
+
"dev.tanrei.aligned": "control"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"small": {
|
|
88
|
+
"$value": {
|
|
89
|
+
"value": 36,
|
|
90
|
+
"unit": "px"
|
|
91
|
+
},
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"dev.tanrei.derive": {
|
|
94
|
+
"fn": "mul",
|
|
95
|
+
"of": "{tanrei.sys.control.height.small}",
|
|
96
|
+
"by": 1,
|
|
97
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"padding-inline-start": {
|
|
103
|
+
"$type": "dimension",
|
|
104
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
105
|
+
"$description": "Space between the start edge of an item that is an action, a link or an option and its content; it lines the content up with the page's."
|
|
106
|
+
},
|
|
107
|
+
"padding-inline-end": {
|
|
108
|
+
"$type": "dimension",
|
|
109
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
110
|
+
"$description": "Space between the content (or the check) of such an item and its end edge."
|
|
111
|
+
},
|
|
112
|
+
"padding-block": {
|
|
113
|
+
"$type": "dimension",
|
|
114
|
+
"$description": "Space above and below the content of such an item; it shows once the content is taller than the minimum height. Medium is 8 at the control height's reference (40) and gives up half of what the item loses below it, so that one line of the content still fits.",
|
|
115
|
+
"medium": {
|
|
116
|
+
"$value": {
|
|
117
|
+
"value": 6,
|
|
118
|
+
"unit": "px"
|
|
119
|
+
},
|
|
120
|
+
"$extensions": {
|
|
121
|
+
"dev.tanrei.derive": {
|
|
122
|
+
"fn": "pad",
|
|
123
|
+
"of": "{tanrei.sys.space.space100}",
|
|
124
|
+
"height": "{tanrei.comp.list.container.height.medium}"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"small": {
|
|
129
|
+
"$value": {
|
|
130
|
+
"value": 6,
|
|
131
|
+
"unit": "px"
|
|
132
|
+
},
|
|
133
|
+
"$description": "4 above and below a small row's line at the small step's height at the control height's reference (32), and half of what the row gains above that: the text keeps the list's one text style, whose line is taller than the tree view's small label, so the tree's 6 would make a 32 row 36. 6 in the default system's 36 row.",
|
|
134
|
+
"$extensions": {
|
|
135
|
+
"dev.tanrei.derive": {
|
|
136
|
+
"fn": "pad",
|
|
137
|
+
"of": "{tanrei.sys.space.space50}",
|
|
138
|
+
"height": "{tanrei.comp.list.container.height.small}"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"gap": {
|
|
144
|
+
"$type": "dimension",
|
|
145
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
146
|
+
"$description": "Space between an item's content and the parts the list draws beside it: the check of an option, the mark of a link that opens a new context, the handle of a reorderable item."
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"content": {
|
|
150
|
+
"typescale": {
|
|
151
|
+
"$type": "typography",
|
|
152
|
+
"$value": "{tanrei.sys.typescale.body}",
|
|
153
|
+
"$description": "The text style an item that is an action, a link or an option hands its content: text the product did not style takes it."
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"gap": {
|
|
157
|
+
"$description": "The space between two neighbouring items, and between two lines of a wrapping list, by the gap value (none: touching).",
|
|
158
|
+
"small": {
|
|
159
|
+
"$type": "dimension",
|
|
160
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
161
|
+
},
|
|
162
|
+
"medium": {
|
|
163
|
+
"$type": "dimension",
|
|
164
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
165
|
+
},
|
|
166
|
+
"large": {
|
|
167
|
+
"$type": "dimension",
|
|
168
|
+
"$value": "{tanrei.sys.space.space300}"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"mark": {
|
|
172
|
+
"size": {
|
|
173
|
+
"$type": "dimension",
|
|
174
|
+
"$value": "{tanrei.sys.icon.medium}",
|
|
175
|
+
"$description": "The glyph box of the check (the icon set's check) of a selected option, reserved in every option of a selectable list: a glyph's ink fills less of its box than a drawn path of that size."
|
|
176
|
+
},
|
|
177
|
+
"width": {
|
|
178
|
+
"$type": "dimension",
|
|
179
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
180
|
+
"$description": "The stroke of the check drawn as a path. No behaviour of the current spec reads it: the check is a glyph of the icon set (LST-21). It stays only so that the platforms that still draw it as a path keep building; remove it in the commit that brings the last of them up to date."
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"divider": {
|
|
184
|
+
"color": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
187
|
+
},
|
|
188
|
+
"thickness": {
|
|
189
|
+
"$type": "dimension",
|
|
190
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"unselected": {
|
|
194
|
+
"container": {
|
|
195
|
+
"color": {
|
|
196
|
+
"$type": "color",
|
|
197
|
+
"$value": {
|
|
198
|
+
"colorSpace": "srgb",
|
|
199
|
+
"components": [
|
|
200
|
+
0,
|
|
201
|
+
0,
|
|
202
|
+
0
|
|
203
|
+
],
|
|
204
|
+
"alpha": 0,
|
|
205
|
+
"hex": "#000000"
|
|
206
|
+
},
|
|
207
|
+
"$extensions": {
|
|
208
|
+
"dev.tanrei.derive": {
|
|
209
|
+
"fixed": "An item has no fill at rest; the surface behind the list shows through."
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"content": {
|
|
215
|
+
"color": {
|
|
216
|
+
"$type": "color",
|
|
217
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
218
|
+
"$description": "The foreground an item that is an action, a link or an option hands its content: the color of text and glyphs the product did not color."
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"mark": {
|
|
222
|
+
"color": {
|
|
223
|
+
"$type": "color",
|
|
224
|
+
"$value": {
|
|
225
|
+
"colorSpace": "srgb",
|
|
226
|
+
"components": [
|
|
227
|
+
0,
|
|
228
|
+
0,
|
|
229
|
+
0
|
|
230
|
+
],
|
|
231
|
+
"alpha": 0,
|
|
232
|
+
"hex": "#000000"
|
|
233
|
+
},
|
|
234
|
+
"$extensions": {
|
|
235
|
+
"dev.tanrei.derive": {
|
|
236
|
+
"fixed": "An option that is not selected shows no check."
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"state-layer": {
|
|
242
|
+
"color": {
|
|
243
|
+
"$type": "color",
|
|
244
|
+
"$value": "{tanrei.comp.list.unselected.content.color}",
|
|
245
|
+
"$description": "The color hover, focus and press mix into the item: its content's color."
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"selected": {
|
|
250
|
+
"container": {
|
|
251
|
+
"color": {
|
|
252
|
+
"$type": "color",
|
|
253
|
+
"$value": "{tanrei.sys.color.secondary-container}",
|
|
254
|
+
"$description": "The fill of a selected option, drawn over whatever the list stands on and under the item's content (LST-25). The role named here is the quiet selection's; the default system does not draw that tone — it values this token as a layer of the item's own content color (selected.state-layer.color at the selected layer, sys.state.selected-state-layer-opacity: 16 %, twice the hover layer: tokens/systems/tanrei.system.json), as the menu values its checked row, so that the fill is seen by the same step on whatever the surface is and stands apart from a hovered item. A design system that sets this token draws what it sets. The check is always drawn with the fill; the fill never carries the choice alone."
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"content": {
|
|
258
|
+
"color": {
|
|
259
|
+
"$type": "color",
|
|
260
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"mark": {
|
|
264
|
+
"color": {
|
|
265
|
+
"$type": "color",
|
|
266
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"state-layer": {
|
|
270
|
+
"color": {
|
|
271
|
+
"$type": "color",
|
|
272
|
+
"$value": "{tanrei.comp.list.selected.content.color}",
|
|
273
|
+
"$description": "The color hover, focus and press mix into the item: its content's color."
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"motion": {
|
|
278
|
+
"state-duration": {
|
|
279
|
+
"$type": "duration",
|
|
280
|
+
"$value": "{tanrei.sys.motion.role.state.large}"
|
|
281
|
+
},
|
|
282
|
+
"state-easing": {
|
|
283
|
+
"$type": "cubicBezier",
|
|
284
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
285
|
+
},
|
|
286
|
+
"feedback-duration": {
|
|
287
|
+
"$type": "duration",
|
|
288
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
289
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
290
|
+
},
|
|
291
|
+
"reorder-duration": {
|
|
292
|
+
"$type": "duration",
|
|
293
|
+
"$value": "{tanrei.sys.motion.role.selection.travel}",
|
|
294
|
+
"$description": "How long an item takes to change place: the items that slide aside under a dragged one, the dropped item settling, an item lifted by the keyboard stepping to its next place, and items changing places after a move (LST-38, LST-41). Longer than a change of color: something crosses the length of an item."
|
|
295
|
+
},
|
|
296
|
+
"reorder-easing": {
|
|
297
|
+
"$type": "cubicBezier",
|
|
298
|
+
"$value": "{tanrei.sys.motion.easing.spatial}"
|
|
299
|
+
},
|
|
300
|
+
"resize-duration": {
|
|
301
|
+
"$type": "duration",
|
|
302
|
+
"$value": "{tanrei.sys.motion.role.resize.large}",
|
|
303
|
+
"$description": "How long an item the product adds to a reorderable list takes to grow from nothing to its own length along the list, and one it takes away to close to nothing, the items after it following (LST-41): a row added to or taken out of a list. The item fades in or out over the state duration meanwhile."
|
|
304
|
+
},
|
|
305
|
+
"resize-easing": {
|
|
306
|
+
"$type": "cubicBezier",
|
|
307
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
308
|
+
"$description": "The curve of that change of length: a box that resizes in place."
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"dragged": {
|
|
312
|
+
"container": {
|
|
313
|
+
"color": {
|
|
314
|
+
"$type": "color",
|
|
315
|
+
"$value": "{tanrei.sys.color.surface-container-high}",
|
|
316
|
+
"$description": "The fill of an item while it is dragged, under its content. Opaque, where a static item has no fill: the item is carried over the others and they must not show through it."
|
|
317
|
+
},
|
|
318
|
+
"elevation": {
|
|
319
|
+
"$type": "shadow",
|
|
320
|
+
"$value": "{tanrei.sys.elevation.level3}",
|
|
321
|
+
"$description": "The shadow of an item while it is dragged: it is above the list for as long as it is carried, and comes down when it is dropped."
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"loading-indicator": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows short waits of unknown length inline — in a button, next to text, in an empty section — and over content, where the indicator needs a container of its own to be seen. Many of its waits end sooner than a person can read a mark, so it decides once how long a wait lasts before its mark is shown, and how the mark enters.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a loading indicator reads: the indicator's size and stroke and the container's size per size, the indicator color on the surface behind it, and — when contained — the container's color, elevation and shape and the indicator color on it, plus the length of one turn, the wait before the indicator is shown, and the kind, length and curve of its entrance.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"Use a loading indicator for a short wait whose length is unknown; when the fraction is known, use a determinate progress indicator.",
|
|
14
|
+
"Always give it a label (the accessible name); mark the region being loaded as busy in the product.",
|
|
15
|
+
"Use contained only where the indicator floats over content (pull to refresh, over an image).",
|
|
16
|
+
"Insert the indicator when the wait starts and remove it when the wait ends: the show delay counts from its insertion, so a wait shorter than the delay shows nothing.",
|
|
17
|
+
"Set showDelay, entrance or enterDuration on one indicator only where it needs another pace than the rest; a layer sets these tokens for every indicator.",
|
|
18
|
+
"Restyle through these tokens in a layer; never draw a spinner of your own."
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"dev.tanrei.axes": {
|
|
22
|
+
"size": {
|
|
23
|
+
"default": "medium",
|
|
24
|
+
"values": [
|
|
25
|
+
"small",
|
|
26
|
+
"medium",
|
|
27
|
+
"large"
|
|
28
|
+
],
|
|
29
|
+
"members": [
|
|
30
|
+
"indicator.size",
|
|
31
|
+
"indicator.thickness",
|
|
32
|
+
"container.size"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"indicator": {
|
|
38
|
+
"size": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$description": "The indicator's square box, per size; the whole component when it is not contained. Small fits in a control in place of an icon, medium next to text, large in an empty section.",
|
|
41
|
+
"small": {
|
|
42
|
+
"$value": {
|
|
43
|
+
"value": 16,
|
|
44
|
+
"unit": "px"
|
|
45
|
+
},
|
|
46
|
+
"$extensions": {
|
|
47
|
+
"dev.tanrei.derive": {
|
|
48
|
+
"fn": "mul",
|
|
49
|
+
"of": "{tanrei.dial.size.unit}",
|
|
50
|
+
"by": 4
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"medium": {
|
|
55
|
+
"$value": {
|
|
56
|
+
"value": 24,
|
|
57
|
+
"unit": "px"
|
|
58
|
+
},
|
|
59
|
+
"$extensions": {
|
|
60
|
+
"dev.tanrei.derive": {
|
|
61
|
+
"fn": "mul",
|
|
62
|
+
"of": "{tanrei.dial.size.unit}",
|
|
63
|
+
"by": 6
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"large": {
|
|
68
|
+
"$value": {
|
|
69
|
+
"value": 40,
|
|
70
|
+
"unit": "px"
|
|
71
|
+
},
|
|
72
|
+
"$extensions": {
|
|
73
|
+
"dev.tanrei.derive": {
|
|
74
|
+
"fn": "mul",
|
|
75
|
+
"of": "{tanrei.dial.size.unit}",
|
|
76
|
+
"by": 10
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"thickness": {
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"$description": "The arc's stroke width, per size. The same stroke at every size by default.",
|
|
84
|
+
"small": {
|
|
85
|
+
"$value": "{tanrei.sys.border.thick}"
|
|
86
|
+
},
|
|
87
|
+
"medium": {
|
|
88
|
+
"$value": "{tanrei.sys.border.thick}"
|
|
89
|
+
},
|
|
90
|
+
"large": {
|
|
91
|
+
"$value": "{tanrei.sys.border.thick}"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"color": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
97
|
+
"$description": "The indicator on the surface behind it, when not contained."
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"container": {
|
|
101
|
+
"size": {
|
|
102
|
+
"$type": "dimension",
|
|
103
|
+
"$description": "The container's square box when contained, per size: the indicator plus room around it.",
|
|
104
|
+
"small": {
|
|
105
|
+
"$value": {
|
|
106
|
+
"value": 24,
|
|
107
|
+
"unit": "px"
|
|
108
|
+
},
|
|
109
|
+
"$extensions": {
|
|
110
|
+
"dev.tanrei.derive": {
|
|
111
|
+
"fn": "mul",
|
|
112
|
+
"of": "{tanrei.dial.size.unit}",
|
|
113
|
+
"by": 6
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"medium": {
|
|
118
|
+
"$value": {
|
|
119
|
+
"value": 32,
|
|
120
|
+
"unit": "px"
|
|
121
|
+
},
|
|
122
|
+
"$extensions": {
|
|
123
|
+
"dev.tanrei.derive": {
|
|
124
|
+
"fn": "mul",
|
|
125
|
+
"of": "{tanrei.dial.size.unit}",
|
|
126
|
+
"by": 8
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"large": {
|
|
131
|
+
"$value": {
|
|
132
|
+
"value": 48,
|
|
133
|
+
"unit": "px"
|
|
134
|
+
},
|
|
135
|
+
"$extensions": {
|
|
136
|
+
"dev.tanrei.derive": {
|
|
137
|
+
"fn": "mul",
|
|
138
|
+
"of": "{tanrei.dial.size.unit}",
|
|
139
|
+
"by": 12
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"shape": {
|
|
145
|
+
"$type": "dimension",
|
|
146
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"contained": {
|
|
150
|
+
"container": {
|
|
151
|
+
"color": {
|
|
152
|
+
"$type": "color",
|
|
153
|
+
"$value": "{tanrei.sys.color.surface-container-lowest}"
|
|
154
|
+
},
|
|
155
|
+
"elevation": {
|
|
156
|
+
"$type": "shadow",
|
|
157
|
+
"$value": "{tanrei.sys.elevation.level2}"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"indicator": {
|
|
161
|
+
"color": {
|
|
162
|
+
"$type": "color",
|
|
163
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"motion": {
|
|
168
|
+
"cycle-duration": {
|
|
169
|
+
"$type": "duration",
|
|
170
|
+
"$value": "{tanrei.sys.motion.duration.extra-long4}",
|
|
171
|
+
"$description": "One full turn of the arc, and one pulse of the reduced-motion form."
|
|
172
|
+
},
|
|
173
|
+
"pulse-floor-opacity": {
|
|
174
|
+
"$type": "number",
|
|
175
|
+
"$value": 0.7,
|
|
176
|
+
"$description": "The opacity the reduced-motion form eases down to at the low point of each pulse, and back up from: the circle keeps pulsing but never fades to nothing, so a wait is never drawn as an empty space. At 0.7 the indicator still stands 3:1 or more from what it is drawn on, as a mark that is still there; the same floor serves every control that draws the loading indicator's reduced-motion form (a busy button's circle, the progress indicator's pulse).",
|
|
177
|
+
"$extensions": {
|
|
178
|
+
"dev.tanrei.derive": {
|
|
179
|
+
"fixed": "An opacity is a proportion; no dial scales it, and the motion dial scales durations, not depths. sys.state holds the state-layer and disabled opacities, which are other decisions."
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"show-delay": {
|
|
184
|
+
"$type": "duration",
|
|
185
|
+
"$value": "{tanrei.sys.motion.role.show-delay}",
|
|
186
|
+
"$description": "How long the indicator waits, from the moment it is inserted, before it is drawn and exposed to assistive technology, so that a wait shorter than this shows nothing instead of a mark that flashes. Its box is kept during the wait."
|
|
187
|
+
},
|
|
188
|
+
"entrance": {
|
|
189
|
+
"$type": "number",
|
|
190
|
+
"$value": 0,
|
|
191
|
+
"$description": "How the indicator enters once its show delay has passed. fade: the whole component eases its opacity from 0 to 1. grow: it fades the same way and grows from nothing to its full size about its center at the same time. Under reduced motion grow is drawn as fade. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
192
|
+
"$extensions": {
|
|
193
|
+
"dev.tanrei.enum": {
|
|
194
|
+
"values": [
|
|
195
|
+
"fade",
|
|
196
|
+
"grow"
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
"dev.tanrei.derive": {
|
|
200
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"enter-duration": {
|
|
205
|
+
"$type": "duration",
|
|
206
|
+
"$value": "{tanrei.sys.motion.role.state.large}",
|
|
207
|
+
"$description": "The length of the entrance, fade or grow."
|
|
208
|
+
},
|
|
209
|
+
"enter-easing": {
|
|
210
|
+
"$type": "cubicBezier",
|
|
211
|
+
"$value": "{tanrei.sys.motion.easing.enter}",
|
|
212
|
+
"$description": "The curve of the entrance: it arrives fast and settles, as an element entering the screen does."
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|