@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,350 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"switch": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product turns settings on and off with an immediate effect, on and off, enabled and disabled, some with a glyph in the handle that says which.",
|
|
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
|
+
"track.color": "color",
|
|
24
|
+
"outline.color": "color",
|
|
25
|
+
"handle.color": "color",
|
|
26
|
+
"handle.size": "dimension",
|
|
27
|
+
"handle.elevation": "shadow",
|
|
28
|
+
"icon.color": "color",
|
|
29
|
+
"label.color": "color",
|
|
30
|
+
"state-layer.color": "color"
|
|
31
|
+
},
|
|
32
|
+
"perComponent": {
|
|
33
|
+
"opacity": "number",
|
|
34
|
+
"container.shape": "dimension"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"dev.tanrei.llm": {
|
|
38
|
+
"usage": "Everything a switch reads: the track, its outline and shape, the round state layer (container) that follows the handle, the size and the weight of the glyph in the handle, the handle size while it shows one, the label style and gap, and for each condition (unselected, selected) the container / track / outline / handle / icon / label colors, the handle size and the handle elevation in each state.",
|
|
39
|
+
"rules": [
|
|
40
|
+
"A switch applies its change at once. A choice that is confirmed later (a form with a submit button) is a checkbox.",
|
|
41
|
+
"The handle sits at the inline start when off and at the inline end when on; right-to-left mirrors it.",
|
|
42
|
+
"Hover, focus and press show on the container (the round layer around the handle), never on the track.",
|
|
43
|
+
"The handle may change size by condition and state (in the default system 16 off, 24 on, 28 under a press); its center never leaves the track's midline, half the track height from the end.",
|
|
44
|
+
"The glyph in the handle is a glyph of the system's icon set, named by checkedIcon / uncheckedIcon, drawn at icon.size and at icon.weight. Never draw a path or character of your own; a system that wants another mark chooses another icon set.",
|
|
45
|
+
"icon.weight is the handle glyph's own weight, not sys.icon.weight: the glyph is the smallest the system draws, on a handle 24 across, so the default draws it heavier than its icons (sys.icon.mark.weight). To make it easier or harder to see, change icon.weight; never change icon.size or the handle for that.",
|
|
46
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
47
|
+
"Each condition's state-layer.color is the color hover, focus and press mix into its container; it aliases that condition's outline color."
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"dev.tanrei.axes": {
|
|
51
|
+
"condition": {
|
|
52
|
+
"default": "unselected",
|
|
53
|
+
"from": "states"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"container": {
|
|
58
|
+
"shape": {
|
|
59
|
+
"$type": "dimension",
|
|
60
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
61
|
+
},
|
|
62
|
+
"size": {
|
|
63
|
+
"$type": "dimension",
|
|
64
|
+
"$description": "The round state layer centered on the handle, and the least height the switch takes in a row: the control height (36 in the default system), so that a switch stands as tall as the Buttons, fields and checkboxes beside it and a switch with a one-line label is a row of that height, its track centered in it. It moves with the handle and reaches beyond the track's ends without taking room along the track. The track and the handle keep their own sizes at every control height.",
|
|
65
|
+
"$value": {
|
|
66
|
+
"value": 36,
|
|
67
|
+
"unit": "px"
|
|
68
|
+
},
|
|
69
|
+
"$extensions": {
|
|
70
|
+
"dev.tanrei.derive": {
|
|
71
|
+
"fn": "mul",
|
|
72
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
73
|
+
"by": 1
|
|
74
|
+
},
|
|
75
|
+
"dev.tanrei.aligned": "control"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"track": {
|
|
80
|
+
"width": {
|
|
81
|
+
"$type": "dimension",
|
|
82
|
+
"$description": "The length of the track, 52.",
|
|
83
|
+
"$value": {
|
|
84
|
+
"value": 52,
|
|
85
|
+
"unit": "px"
|
|
86
|
+
},
|
|
87
|
+
"$extensions": {
|
|
88
|
+
"dev.tanrei.derive": {
|
|
89
|
+
"fn": "mul",
|
|
90
|
+
"of": "{tanrei.dial.size.unit}",
|
|
91
|
+
"by": 13
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"height": {
|
|
96
|
+
"$type": "dimension",
|
|
97
|
+
"$description": "The height of the track, 32. The handle's center is half of it from the track's end.",
|
|
98
|
+
"$value": {
|
|
99
|
+
"value": 32,
|
|
100
|
+
"unit": "px"
|
|
101
|
+
},
|
|
102
|
+
"$extensions": {
|
|
103
|
+
"dev.tanrei.derive": {
|
|
104
|
+
"fn": "mul",
|
|
105
|
+
"of": "{tanrei.dial.size.unit}",
|
|
106
|
+
"by": 8
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"shape": {
|
|
111
|
+
"$type": "dimension",
|
|
112
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"outline": {
|
|
116
|
+
"width": {
|
|
117
|
+
"$type": "dimension",
|
|
118
|
+
"$description": "The border of the track, drawn inside its edge; the fill sits inside the border and never under it. 2.",
|
|
119
|
+
"$value": "{tanrei.sys.border.thick}"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"handle": {
|
|
123
|
+
"size-with-icon": {
|
|
124
|
+
"$type": "dimension",
|
|
125
|
+
"$description": "The smallest diameter of the handle while it shows an icon, 24; a larger size of the condition and state wins.",
|
|
126
|
+
"$value": {
|
|
127
|
+
"value": 24,
|
|
128
|
+
"unit": "px"
|
|
129
|
+
},
|
|
130
|
+
"$extensions": {
|
|
131
|
+
"dev.tanrei.derive": {
|
|
132
|
+
"fn": "mul",
|
|
133
|
+
"of": "{tanrei.dial.size.unit}",
|
|
134
|
+
"by": 6
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"icon": {
|
|
140
|
+
"size": {
|
|
141
|
+
"$type": "dimension",
|
|
142
|
+
"$description": "The glyph box inside the handle: the icon set's glyph (check, close…) at a step of the icon scale, 16.",
|
|
143
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
144
|
+
},
|
|
145
|
+
"weight": {
|
|
146
|
+
"$type": "number",
|
|
147
|
+
"$description": "The weight the glyph in the handle is drawn at (the `wght` axis of the icon font), in both conditions: the system's weight for a control's own mark, heavier than its icons in the default system. The glyph box (icon.size) does not change with it; only the stroke does.",
|
|
148
|
+
"$value": "{tanrei.sys.icon.mark.weight}",
|
|
149
|
+
"$extensions": {
|
|
150
|
+
"dev.tanrei.vocabulary": {
|
|
151
|
+
"rationale": "One product draws its icons light and marks its switches with a check and a close mark: at the smallest step of the icon scale, on a handle 24 across, a light stroke is under a pixel wide and the off glyph has little contrast with its handle to begin with. A product that finds the two glyphs too faint, or too heavy for a quiet settings page, sets their weight without touching its icons or its checkboxes.",
|
|
152
|
+
"since": "0.1.0"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"label": {
|
|
158
|
+
"typescale": {
|
|
159
|
+
"$type": "typography",
|
|
160
|
+
"$description": "The visible label.",
|
|
161
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
162
|
+
},
|
|
163
|
+
"gap": {
|
|
164
|
+
"$type": "dimension",
|
|
165
|
+
"$description": "From the track to the label.",
|
|
166
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"unselected": {
|
|
170
|
+
"container": {
|
|
171
|
+
"color": {
|
|
172
|
+
"$type": "color",
|
|
173
|
+
"$value": {
|
|
174
|
+
"colorSpace": "srgb",
|
|
175
|
+
"components": [
|
|
176
|
+
0,
|
|
177
|
+
0,
|
|
178
|
+
0
|
|
179
|
+
],
|
|
180
|
+
"alpha": 0,
|
|
181
|
+
"hex": "#000000"
|
|
182
|
+
},
|
|
183
|
+
"$extensions": {
|
|
184
|
+
"dev.tanrei.derive": {
|
|
185
|
+
"fixed": "The state layer is invisible at rest; hover, focus and press mix into it."
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"track": {
|
|
191
|
+
"color": {
|
|
192
|
+
"$type": "color",
|
|
193
|
+
"$value": "{tanrei.sys.color.surface-container-highest}"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"outline": {
|
|
197
|
+
"color": {
|
|
198
|
+
"$type": "color",
|
|
199
|
+
"$value": "{tanrei.sys.color.outline}"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"handle": {
|
|
203
|
+
"color": {
|
|
204
|
+
"$type": "color",
|
|
205
|
+
"$value": "{tanrei.sys.color.outline}"
|
|
206
|
+
},
|
|
207
|
+
"size": {
|
|
208
|
+
"$type": "dimension",
|
|
209
|
+
"$description": "The diameter of the handle while off, 16. Its center stays on one line whatever the size: half the track height from the track's end.",
|
|
210
|
+
"$value": {
|
|
211
|
+
"value": 16,
|
|
212
|
+
"unit": "px"
|
|
213
|
+
},
|
|
214
|
+
"$extensions": {
|
|
215
|
+
"dev.tanrei.derive": {
|
|
216
|
+
"fn": "mul",
|
|
217
|
+
"of": "{tanrei.dial.size.unit}",
|
|
218
|
+
"by": 4
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"elevation": {
|
|
223
|
+
"$type": "shadow",
|
|
224
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"icon": {
|
|
228
|
+
"color": {
|
|
229
|
+
"$type": "color",
|
|
230
|
+
"$value": "{tanrei.sys.color.surface-container-highest}"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"label": {
|
|
234
|
+
"color": {
|
|
235
|
+
"$type": "color",
|
|
236
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"state-layer": {
|
|
240
|
+
"color": {
|
|
241
|
+
"$type": "color",
|
|
242
|
+
"$value": "{tanrei.comp.switch.unselected.outline.color}"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"selected": {
|
|
247
|
+
"container": {
|
|
248
|
+
"color": {
|
|
249
|
+
"$type": "color",
|
|
250
|
+
"$value": {
|
|
251
|
+
"colorSpace": "srgb",
|
|
252
|
+
"components": [
|
|
253
|
+
0,
|
|
254
|
+
0,
|
|
255
|
+
0
|
|
256
|
+
],
|
|
257
|
+
"alpha": 0,
|
|
258
|
+
"hex": "#000000"
|
|
259
|
+
},
|
|
260
|
+
"$extensions": {
|
|
261
|
+
"dev.tanrei.derive": {
|
|
262
|
+
"fixed": "The state layer is invisible at rest; hover, focus and press mix into it."
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"track": {
|
|
268
|
+
"color": {
|
|
269
|
+
"$type": "color",
|
|
270
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"outline": {
|
|
274
|
+
"color": {
|
|
275
|
+
"$type": "color",
|
|
276
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"handle": {
|
|
280
|
+
"color": {
|
|
281
|
+
"$type": "color",
|
|
282
|
+
"$value": "{tanrei.sys.color.on-primary}"
|
|
283
|
+
},
|
|
284
|
+
"size": {
|
|
285
|
+
"$type": "dimension",
|
|
286
|
+
"$description": "The diameter of the handle while on, 24. Its center stays on one line whatever the size: half the track height from the track's end.",
|
|
287
|
+
"$value": {
|
|
288
|
+
"value": 24,
|
|
289
|
+
"unit": "px"
|
|
290
|
+
},
|
|
291
|
+
"$extensions": {
|
|
292
|
+
"dev.tanrei.derive": {
|
|
293
|
+
"fn": "mul",
|
|
294
|
+
"of": "{tanrei.dial.size.unit}",
|
|
295
|
+
"by": 6
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"elevation": {
|
|
300
|
+
"$type": "shadow",
|
|
301
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"icon": {
|
|
305
|
+
"color": {
|
|
306
|
+
"$type": "color",
|
|
307
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"label": {
|
|
311
|
+
"color": {
|
|
312
|
+
"$type": "color",
|
|
313
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"state-layer": {
|
|
317
|
+
"color": {
|
|
318
|
+
"$type": "color",
|
|
319
|
+
"$value": "{tanrei.comp.switch.selected.outline.color}"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"motion": {
|
|
324
|
+
"state-duration": {
|
|
325
|
+
"$type": "duration",
|
|
326
|
+
"$value": "{tanrei.sys.motion.role.state.compact}"
|
|
327
|
+
},
|
|
328
|
+
"state-easing": {
|
|
329
|
+
"$type": "cubicBezier",
|
|
330
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
331
|
+
},
|
|
332
|
+
"feedback-duration": {
|
|
333
|
+
"$type": "duration",
|
|
334
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
335
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
336
|
+
},
|
|
337
|
+
"selection-duration": {
|
|
338
|
+
"$type": "duration",
|
|
339
|
+
"$value": "{tanrei.sys.motion.role.selection.travel}",
|
|
340
|
+
"$description": "How long the handle takes to travel along the track, and the track and handle to change color, when the switch changes."
|
|
341
|
+
},
|
|
342
|
+
"selection-easing": {
|
|
343
|
+
"$type": "cubicBezier",
|
|
344
|
+
"$value": "{tanrei.sys.motion.easing.spatial}"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"tab-view": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows the views its tabs switch between, under those tabs or apart from them, in a region that changes with the selection and that a person can swipe from view to view, the tabs' indicator following the finger, and decides once how far and how softly one view gives way to the next.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a Tab view reads for its panels: the corners that clip them (and that a focused panel's ring follows), the form a switch between two panels takes (a travel, a fade alone, or none), how the travel looks at its fullest (how far each panel travels, as a distance plus a share of the width of the region that holds them, how faded and how blurred it is), and the switch's motion, with and without reduced motion. The row of tabs a Tab view draws itself is a Tabs and reads the tabs' tokens, not these.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"By default a Tab view draws its own row of Tabs above its panels: give each panel its value and its tab's label (and an icon, on every panel or none), and set the row's variant, fullWidth and label on the Tab view.",
|
|
14
|
+
"When the tabs belong somewhere else (a top app bar, a sticky header), link the Tab view to that row (tabs) instead; it then draws no row, and its panels need only their values. Place it after that row in reading order, so that Tab moves from the selected tab into the panel.",
|
|
15
|
+
"One panel per tab, each with a unique value.",
|
|
16
|
+
"Restyle the Tab view's own row through the tabs' tokens, as any row of tabs; it is not a look-alike with tokens of its own.",
|
|
17
|
+
"Turn swiping off (swipeable false) when a panel is mostly content that is dragged sideways itself: a map, a drawing surface, a long horizontal chart.",
|
|
18
|
+
"motion.transition names the form of every switch, and the transition prop sets it for one view: slide is the travel the four transition values describe; fade is a crossfade alone; none shows the new panel in one frame, and the row the view draws then does not slide its indicator either. Choose none where the panels are read rather than watched (a code sample in several languages) and for a view that changes many times a minute.",
|
|
19
|
+
"The switch is one progress from 0 to 1: at 0 the old panel is at rest; at 1 it is transition.distance plus transition.distance-fraction of the width away, at transition.opacity and blurred by transition.blur, and the new panel is at rest. A distance-fraction of 1 with opacity 1 and blur 0 is a full-width page turn.",
|
|
20
|
+
"Keep motion.switch-duration and motion.switch-easing equal to the tabs' motion.indicator-duration and motion.indicator-easing, so that a tab's indicator and its panel land together.",
|
|
21
|
+
"Restyle through these tokens in a layer; never fork the component."
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"container": {
|
|
26
|
+
"shape": {
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"$value": "{tanrei.sys.shape.corner.none}",
|
|
29
|
+
"$description": "The corners of the region that holds the panels, below the Tab view's own row when it draws one. It clips a panel as it slides and blurs, and a focused panel's ring follows it. Square, because a Tab view usually spans the screen or its parent; a product that puts one inside a rounded surface rounds it."
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"transition": {
|
|
33
|
+
"$extensions": {
|
|
34
|
+
"dev.tanrei.vocabulary": {
|
|
35
|
+
"rationale": "One product decides once how its views give way to each other when a tab or a swipe switches them: a short shift that softens and fades (the default), a full page turn that follows the finger, or a plain crossfade. The four values together are the switch at its fullest; the progress between rest and fullest is the component's.",
|
|
36
|
+
"since": "0.1.0"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"distance": {
|
|
40
|
+
"$type": "dimension",
|
|
41
|
+
"$value": {
|
|
42
|
+
"value": 40,
|
|
43
|
+
"unit": "px"
|
|
44
|
+
},
|
|
45
|
+
"$description": "How far a panel travels between rest and the fullest point of a switch, before distance-fraction adds a share of the Tab view's width. The old panel moves this far toward the side it leaves by; the new one starts this far away on the other side.",
|
|
46
|
+
"$extensions": {
|
|
47
|
+
"dev.tanrei.derive": {
|
|
48
|
+
"fn": "mul",
|
|
49
|
+
"of": "{tanrei.dial.space.unit}",
|
|
50
|
+
"by": 5
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"distance-fraction": {
|
|
55
|
+
"$type": "number",
|
|
56
|
+
"$value": 0,
|
|
57
|
+
"$description": "The share of the Tab view's width added to distance: 0 keeps the travel at distance whatever the width; 1 (with distance 0) makes the panels travel a whole width, so that they move with the finger and meet edge to edge, as a page turn does.",
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"dev.tanrei.derive": {
|
|
60
|
+
"fixed": "A proportion of the Tab view's own width; no dial scales it."
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"opacity": {
|
|
65
|
+
"$type": "number",
|
|
66
|
+
"$value": 0,
|
|
67
|
+
"$description": "A panel's opacity at the fullest point of a switch: the old panel fades to it as it leaves, the new one fades from it as it arrives. 0 is a crossfade; 1 draws no fade.",
|
|
68
|
+
"$extensions": {
|
|
69
|
+
"dev.tanrei.derive": {
|
|
70
|
+
"fixed": "An end point of a fade, not a quantity a dial can scale."
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"blur": {
|
|
75
|
+
"$type": "dimension",
|
|
76
|
+
"$value": {
|
|
77
|
+
"value": 8,
|
|
78
|
+
"unit": "px"
|
|
79
|
+
},
|
|
80
|
+
"$description": "How blurred a panel is at the fullest point of a switch: the standard deviation of the Gaussian, as the web's filter: blur() takes it. A platform whose blur takes another quantity converts; it never passes the number through. 0 draws no blur.",
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"dev.tanrei.derive": {
|
|
83
|
+
"fn": "mul",
|
|
84
|
+
"of": "{tanrei.dial.space.unit}",
|
|
85
|
+
"by": 1
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"motion": {
|
|
91
|
+
"transition": {
|
|
92
|
+
"$type": "number",
|
|
93
|
+
"$value": 0,
|
|
94
|
+
"$description": "The form a switch between two panels takes in a Tab view whose transition the product did not set (TBV-22). slide: the panels travel, fade and blur as transition.distance, transition.distance-fraction, transition.opacity and transition.blur say, over switch-duration, and follow a swipe. fade: the two panels crossfade in place over fade-duration, and crossfade with a swipe. none: the new panel is shown whole in the frame the selection is made, a swipe moves nothing before its release, and the row the view draws puts its indicator on the new tab at once. Reduced motion draws slide as fade and never adds motion to fade or none. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
95
|
+
"$extensions": {
|
|
96
|
+
"dev.tanrei.vocabulary": {
|
|
97
|
+
"rationale": "One product decides once whether its views travel, crossfade or simply change when a tab is chosen, and still sets one view apart: a code sample whose panels are read, not watched, changes at once in a product whose screens otherwise travel.",
|
|
98
|
+
"since": "0.1.0"
|
|
99
|
+
},
|
|
100
|
+
"dev.tanrei.enum": {
|
|
101
|
+
"values": [
|
|
102
|
+
"slide",
|
|
103
|
+
"fade",
|
|
104
|
+
"none"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"dev.tanrei.derive": {
|
|
108
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"switch-duration": {
|
|
113
|
+
"$type": "duration",
|
|
114
|
+
"$value": "{tanrei.sys.motion.role.selection.travel}",
|
|
115
|
+
"$description": "How long a switch takes when a tab is selected, and how long the rest of it takes after a swipe is released. The tabs' indicator slides over the same default, so the two land together."
|
|
116
|
+
},
|
|
117
|
+
"switch-easing": {
|
|
118
|
+
"$type": "cubicBezier",
|
|
119
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
120
|
+
"$description": "The switch's easing. A spatial spring may overshoot; the travel follows it, the fade and the blur stop at their end points."
|
|
121
|
+
},
|
|
122
|
+
"fade-duration": {
|
|
123
|
+
"$type": "duration",
|
|
124
|
+
"$value": "{tanrei.sys.motion.role.reduced}",
|
|
125
|
+
"$description": "Where motion is reduced, how long the crossfade that replaces the switch takes.",
|
|
126
|
+
"$extensions": {
|
|
127
|
+
"dev.tanrei.vocabulary": {
|
|
128
|
+
"rationale": "Where motion is reduced the travel and the blur are dropped and only a fade is left; one product times that fade apart from the switch, which is spatial and longer.",
|
|
129
|
+
"since": "0.1.0"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"fade-easing": {
|
|
134
|
+
"$type": "cubicBezier",
|
|
135
|
+
"$value": "{tanrei.sys.motion.easing.state}",
|
|
136
|
+
"$description": "The reduced-motion crossfade's easing: the curve of a change of state, which never overshoots."
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|