@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,199 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"avatar": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows who something belongs to — the author of a post, the people in a conversation, the owner of a task — by a small picture, and still has something to show when a person has no picture or the picture does not arrive: their initials, or a glyph. It shows a person small beside a line of text, at a row's height in a list, and large at the top of that person's page; it tells a person from a team or a project by the box's shape; and it shows several people as one stack that says how many more there are.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.axes": {
|
|
11
|
+
"size": {
|
|
12
|
+
"default": "medium",
|
|
13
|
+
"values": [
|
|
14
|
+
"small",
|
|
15
|
+
"medium",
|
|
16
|
+
"large"
|
|
17
|
+
],
|
|
18
|
+
"members": [
|
|
19
|
+
"container.size",
|
|
20
|
+
"label.typescale",
|
|
21
|
+
"icon.size",
|
|
22
|
+
"group.overlap"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"shape": {
|
|
26
|
+
"default": "circle",
|
|
27
|
+
"values": [
|
|
28
|
+
"circle",
|
|
29
|
+
"square"
|
|
30
|
+
],
|
|
31
|
+
"members": [
|
|
32
|
+
"container.shape"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"dev.tanrei.llm": {
|
|
37
|
+
"usage": "Everything an avatar reads: per size, the side of its box, the text style of its initials, the size of its fallback glyph and how far the avatars of a group overlap; per shape, the box's corners; the quiet fill behind a fallback and a loading picture; the color of the initials and of the glyph; the gap a group draws around each of its avatars; and the cross-fade in which a picture that has arrived takes the fallback’s place.",
|
|
38
|
+
"rules": [
|
|
39
|
+
"An avatar stands for a person, or for a team, a project or another thing people act as. It is a picture, not a control: it takes no press and no focus and has no states. An avatar that goes somewhere or opens something is placed inside a link or a Button, which draws the states.",
|
|
40
|
+
"Give label the name it stands for. Beside a visible name set decorative, so the name is not read twice; alone, the label is its accessible name.",
|
|
41
|
+
"The avatar does not make initials from a name: writing systems and naming orders differ. The product gives initials; with neither a picture nor initials a glyph is drawn.",
|
|
42
|
+
"Every fallback has the same quiet fill and content color. Do not color avatars per person: a color that means nothing is not in the system.",
|
|
43
|
+
"A circle is a person; a square is something that is not one person (a team, a project, an organisation, a bot).",
|
|
44
|
+
"A dot or a count on an avatar is a badge wrapped around it, and means what a badge means everywhere: something is waiting.",
|
|
45
|
+
"Several avatars shown as one stack are a group: the group gives the size and the shape, and counts the ones it does not draw.",
|
|
46
|
+
"container.size is the box's exact side, not a minimum: an avatar does not grow with enlarged text, as a glyph's box does not.",
|
|
47
|
+
"Restyle through these tokens in a layer; never draw a round picture or a monogram by hand."
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"container": {
|
|
52
|
+
"size": {
|
|
53
|
+
"$type": "dimension",
|
|
54
|
+
"$description": "The side of the avatar's square box, per size. Small stands beside one line of text (a byline, a table cell) and is the size a chip gives an avatar; medium is the size a list row gives a leading avatar; large heads a person's own page or card and is the size a list row gives a leading image. An exact side, not a minimum.",
|
|
55
|
+
"small": {
|
|
56
|
+
"$value": {
|
|
57
|
+
"value": 24,
|
|
58
|
+
"unit": "px"
|
|
59
|
+
},
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"dev.tanrei.derive": {
|
|
62
|
+
"fn": "mul",
|
|
63
|
+
"of": "{tanrei.dial.size.unit}",
|
|
64
|
+
"by": 6
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"medium": {
|
|
69
|
+
"$value": {
|
|
70
|
+
"value": 40,
|
|
71
|
+
"unit": "px"
|
|
72
|
+
},
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"dev.tanrei.derive": {
|
|
75
|
+
"fn": "mul",
|
|
76
|
+
"of": "{tanrei.dial.size.unit}",
|
|
77
|
+
"by": 10
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"large": {
|
|
82
|
+
"$value": {
|
|
83
|
+
"value": 56,
|
|
84
|
+
"unit": "px"
|
|
85
|
+
},
|
|
86
|
+
"$extensions": {
|
|
87
|
+
"dev.tanrei.derive": {
|
|
88
|
+
"fn": "mul",
|
|
89
|
+
"of": "{tanrei.dial.size.unit}",
|
|
90
|
+
"by": 14
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"shape": {
|
|
96
|
+
"$type": "dimension",
|
|
97
|
+
"$description": "The box's corners, per shape, never larger than half its side. What the picture is clipped to.",
|
|
98
|
+
"circle": {
|
|
99
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
100
|
+
},
|
|
101
|
+
"square": {
|
|
102
|
+
"$value": "{tanrei.sys.shape.corner.small}"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"color": {
|
|
106
|
+
"$type": "color",
|
|
107
|
+
"$value": "{tanrei.sys.color.surface-container-highest}",
|
|
108
|
+
"$description": "The fill behind the initials, behind the glyph, behind a picture that is still loading and behind the transparent parts of a picture: the quiet tone a list row puts behind its leading avatar. The same for every person."
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"label": {
|
|
112
|
+
"typescale": {
|
|
113
|
+
"$type": "typography",
|
|
114
|
+
"$description": "The text style of the initials, per size: a label style small enough for two letters to stand in the box with room at their sides.",
|
|
115
|
+
"small": {
|
|
116
|
+
"$value": "{tanrei.sys.typescale.caption}"
|
|
117
|
+
},
|
|
118
|
+
"medium": {
|
|
119
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
120
|
+
},
|
|
121
|
+
"large": {
|
|
122
|
+
"$value": "{tanrei.sys.typescale.heading-3}"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"color": {
|
|
126
|
+
"$type": "color",
|
|
127
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
128
|
+
"$description": "The color of the initials and of a group's count: secondary content on the quiet fill."
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"icon": {
|
|
132
|
+
"size": {
|
|
133
|
+
"$type": "dimension",
|
|
134
|
+
"$description": "The box of the fallback glyph, per size: a step of the icon scale that leaves the glyph a clear margin inside the avatar.",
|
|
135
|
+
"small": {
|
|
136
|
+
"$value": "{tanrei.sys.icon.extra-small}"
|
|
137
|
+
},
|
|
138
|
+
"medium": {
|
|
139
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
140
|
+
},
|
|
141
|
+
"large": {
|
|
142
|
+
"$value": "{tanrei.sys.icon.large}"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"color": {
|
|
146
|
+
"$type": "color",
|
|
147
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
148
|
+
"$description": "The color of the fallback glyph: the initials' color."
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"motion": {
|
|
152
|
+
"picture-duration": {
|
|
153
|
+
"$type": "duration",
|
|
154
|
+
"$value": "{tanrei.sys.motion.role.state.default}",
|
|
155
|
+
"$description": "How long a picture that has arrived takes to fade in over the fallback, which fades out beneath it: a change of what a medium-sized box draws in place. A picture the platform already holds is drawn at once."
|
|
156
|
+
},
|
|
157
|
+
"picture-easing": {
|
|
158
|
+
"$type": "cubicBezier",
|
|
159
|
+
"$value": "{tanrei.sys.motion.easing.state}",
|
|
160
|
+
"$description": "The curve of that cross-fade: a change of opacity in place."
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"group": {
|
|
164
|
+
"$extensions": {
|
|
165
|
+
"dev.tanrei.vocabulary": {
|
|
166
|
+
"rationale": "One product shows the people of one thing — the reviewers of a change, the members of a channel, the authors of a page — in the room of two or three avatars, and says how many more there are.",
|
|
167
|
+
"since": "0.1.0"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"overlap": {
|
|
171
|
+
"$type": "dimension",
|
|
172
|
+
"$description": "How far each avatar of a group lies over the one before it, per size: a small step of the space scale in the default system (2, 4 and 8, a twelfth to a seventh of the box's side), so that two initials beside one another stay whole and are not misread, and a face shows nearly whole.",
|
|
173
|
+
"small": {
|
|
174
|
+
"$value": "{tanrei.sys.space.space25}"
|
|
175
|
+
},
|
|
176
|
+
"medium": {
|
|
177
|
+
"$value": "{tanrei.sys.space.space50}"
|
|
178
|
+
},
|
|
179
|
+
"large": {
|
|
180
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"outline": {
|
|
184
|
+
"width": {
|
|
185
|
+
"$type": "dimension",
|
|
186
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
187
|
+
"$description": "The width of the gap a group draws around each of its avatars, outside the avatar's edge, so two pictures that overlap are read as two."
|
|
188
|
+
},
|
|
189
|
+
"color": {
|
|
190
|
+
"$type": "color",
|
|
191
|
+
"$value": "{tanrei.sys.color.surface}",
|
|
192
|
+
"$description": "The color of that gap: the surface the group sits on, as a badge's outline is. A product that places a group on another surface sets that surface's color here for that place."
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"badge": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product marks icons, navigation items and avatars with a dot when something is new and with a small count when it knows how many.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a badge reads: the dot's size and offset, the count pill's minimum height, padding, offset, shape and colors, the number's text style, and the outline that separates the badge from its anchor.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A badge decorates an anchor; always give it a label that reads well after the anchor's own name (\"3 unread\").",
|
|
14
|
+
"Use the dot for \"something is new\" and a count for \"how many\"; a count of 0 hides the badge.",
|
|
15
|
+
"container.height is a minimum: the pill grows with enlarged text.",
|
|
16
|
+
"Restyle through these tokens in a layer; never position a badge by hand."
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"dot": {
|
|
21
|
+
"size": {
|
|
22
|
+
"$type": "dimension",
|
|
23
|
+
"$value": {
|
|
24
|
+
"value": 6,
|
|
25
|
+
"unit": "px"
|
|
26
|
+
},
|
|
27
|
+
"$description": "The diameter of the dot shown when there is no count.",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"dev.tanrei.derive": {
|
|
30
|
+
"fn": "mul",
|
|
31
|
+
"of": "{tanrei.dial.size.unit}",
|
|
32
|
+
"by": 1.5
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"offset": {
|
|
37
|
+
"$type": "dimension",
|
|
38
|
+
"$value": "{tanrei.sys.space.space25}",
|
|
39
|
+
"$description": "How far the dot's center sits inside the anchor's top-end corner, on both axes."
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"container": {
|
|
43
|
+
"height": {
|
|
44
|
+
"$type": "dimension",
|
|
45
|
+
"$value": {
|
|
46
|
+
"value": 16,
|
|
47
|
+
"unit": "px"
|
|
48
|
+
},
|
|
49
|
+
"$description": "The count pill's minimum height; also its minimum width, so a single digit sits in a circle.",
|
|
50
|
+
"$extensions": {
|
|
51
|
+
"dev.tanrei.derive": {
|
|
52
|
+
"fn": "mul",
|
|
53
|
+
"of": "{tanrei.dial.size.unit}",
|
|
54
|
+
"by": 4,
|
|
55
|
+
"round": "{tanrei.dial.size.unit}"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"padding-inline": {
|
|
60
|
+
"$type": "dimension",
|
|
61
|
+
"$value": "{tanrei.sys.space.space50}"
|
|
62
|
+
},
|
|
63
|
+
"offset": {
|
|
64
|
+
"$type": "dimension",
|
|
65
|
+
"$value": "{tanrei.sys.space.space0}",
|
|
66
|
+
"$description": "How far the center of the pill's leading circle (a container.height square at its start) sits inside the anchor's top-end corner, on both axes. A longer count grows toward the end, away from the anchor."
|
|
67
|
+
},
|
|
68
|
+
"shape": {
|
|
69
|
+
"$type": "dimension",
|
|
70
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
71
|
+
},
|
|
72
|
+
"color": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"label": {
|
|
78
|
+
"color": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{tanrei.sys.color.on-primary}"
|
|
81
|
+
},
|
|
82
|
+
"typescale": {
|
|
83
|
+
"$type": "typography",
|
|
84
|
+
"$value": "{tanrei.sys.typescale.label-small}"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"outline": {
|
|
88
|
+
"color": {
|
|
89
|
+
"$type": "color",
|
|
90
|
+
"$value": "{tanrei.sys.color.surface}"
|
|
91
|
+
},
|
|
92
|
+
"width": {
|
|
93
|
+
"$type": "dimension",
|
|
94
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
95
|
+
"$description": "Drawn outside the container (dot or pill), so it does not change the badge's size or where it sits."
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"bottom-sheet": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows supplementary content in a surface that rises from the bottom edge: sometimes beside the task, while the content above stays usable (results over a map), sometimes as a modal step the person must finish or dismiss (share, choose, confirm), at half the screen or the whole of it.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"drag-handle"
|
|
13
|
+
],
|
|
14
|
+
"states": [
|
|
15
|
+
"hovered",
|
|
16
|
+
"focused",
|
|
17
|
+
"pressed"
|
|
18
|
+
],
|
|
19
|
+
"perVariant": {
|
|
20
|
+
"container.color": "color",
|
|
21
|
+
"grip.color": "color",
|
|
22
|
+
"state-layer.color": "color"
|
|
23
|
+
},
|
|
24
|
+
"perComponent": {
|
|
25
|
+
"opacity": "number"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"dev.tanrei.llm": {
|
|
29
|
+
"usage": "Everything a bottom sheet reads: the scrim behind a modal sheet; the container's color, elevation, top-corner shape, maximum width, top margin at full height, the fraction of the area it takes at partial height and the padding of inset content; the content color it hands down; the drag handle's box, grip and margins (the sheet's drag handle is a Handle, given these in place of its own); the header's height, gap and end inset, the headline's style and color, the close button's Button size and variant, and the divider below the header (its color, width and when it is drawn); for the drag handle (the one pressable control, `drag-handle`) its box, grip and state-layer colors in each state; and the enter, exit, settle and state motion.",
|
|
30
|
+
"rules": [
|
|
31
|
+
"A standard sheet sits over the bottom of the content while the content stays usable; a modal sheet dims and blocks everything else until it is dismissed. Both read the same container tokens.",
|
|
32
|
+
"The drag handle is a Handle (comp.handle.*): its grip is held to the functional 3:1 boundary, and its box carries hover, focus and press. The sheet gives it its own tokens, which alias the Handle's in the default system: re-value them here to change a sheet's handle alone, or comp.handle.* to change every handle.",
|
|
33
|
+
"A sheet that can be dismissed only by dragging still needs a visible way out for people who cannot drag: its close button (closable) or a Close or Done button in the content.",
|
|
34
|
+
"The close button is an icon-only Button of the size comp.bottom-sheet.close-button.size names (small in the default system) in the variant comp.bottom-sheet.close-button.variant names (tonal in the default system), as every host's close button is; the sheet draws it while closable is true, in a header with the headline.",
|
|
35
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
36
|
+
"drag-handle.state-layer.color is the color hover, focus and press mix into the handle's box; it aliases the grip color."
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"dev.tanrei.axes": {
|
|
40
|
+
"control": {
|
|
41
|
+
"default": "drag-handle",
|
|
42
|
+
"from": "states"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"scrim": {
|
|
47
|
+
"color": {
|
|
48
|
+
"$type": "color",
|
|
49
|
+
"$value": "{tanrei.comp.modal-layer.scrim.color}",
|
|
50
|
+
"$description": "The dim over everything behind a modal sheet, alpha included: the modal layer's, unless a system sets the bottom sheet apart. A standard sheet draws none."
|
|
51
|
+
},
|
|
52
|
+
"blur": {
|
|
53
|
+
"$type": "dimension",
|
|
54
|
+
"$value": "{tanrei.comp.modal-layer.scrim.blur}",
|
|
55
|
+
"$description": "How much the scrim behind a modal sheet blurs what lies behind it: the modal layer's (0, none, in the default system)."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"container": {
|
|
59
|
+
"color": {
|
|
60
|
+
"$type": "color",
|
|
61
|
+
"$value": "{tanrei.sys.color.surface-container-low}"
|
|
62
|
+
},
|
|
63
|
+
"elevation": {
|
|
64
|
+
"$type": "shadow",
|
|
65
|
+
"$value": "{tanrei.sys.elevation.level2}",
|
|
66
|
+
"$description": "The sheet's lift over the content it covers. Tanrei's level1 is only the hairline ring, so a sheet that must stand apart from a page with no scrim under it rests at level2; a system whose level1 is a real shadow may set level1."
|
|
67
|
+
},
|
|
68
|
+
"shape": {
|
|
69
|
+
"$type": "dimension",
|
|
70
|
+
"$value": "{tanrei.sys.shape.corner.large}",
|
|
71
|
+
"$description": "The corners at the sheet's top edge; its bottom corners meet the screen's edge and stay square."
|
|
72
|
+
},
|
|
73
|
+
"max-width": {
|
|
74
|
+
"$type": "dimension",
|
|
75
|
+
"$value": {
|
|
76
|
+
"value": 640,
|
|
77
|
+
"unit": "px"
|
|
78
|
+
},
|
|
79
|
+
"$description": "The widest a sheet draws; on a wider area it is centred and the area shows at its sides.",
|
|
80
|
+
"$extensions": {
|
|
81
|
+
"dev.tanrei.derive": {
|
|
82
|
+
"fn": "mul",
|
|
83
|
+
"of": "{tanrei.dial.size.unit}",
|
|
84
|
+
"by": 160
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"margin-block-start": {
|
|
89
|
+
"$type": "dimension",
|
|
90
|
+
"$value": "{tanrei.sys.space.space600}",
|
|
91
|
+
"$description": "At full height, the distance kept between the sheet's top edge and the top of the area it covers (below the top system inset), so that the page behind is still seen to be there."
|
|
92
|
+
},
|
|
93
|
+
"partial-fraction": {
|
|
94
|
+
"$type": "number",
|
|
95
|
+
"$value": 0.5,
|
|
96
|
+
"$description": "At partial height, the fraction of the area's height the sheet takes (when its content is taller than that).",
|
|
97
|
+
"$extensions": {
|
|
98
|
+
"dev.tanrei.derive": {
|
|
99
|
+
"fixed": "A proportion of the area the sheet covers; no dial scales it."
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"padding": {
|
|
104
|
+
"$type": "dimension",
|
|
105
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
106
|
+
"$description": "While inset is true: the inset of the content from the sheet's start, end and bottom edges, and from its top edge when there is no drag handle."
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"content": {
|
|
110
|
+
"color": {
|
|
111
|
+
"$type": "color",
|
|
112
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
113
|
+
"$description": "The foreground the sheet hands to its content, as the platform's inherited color."
|
|
114
|
+
},
|
|
115
|
+
"padding-block-start": {
|
|
116
|
+
"$type": "dimension",
|
|
117
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
118
|
+
"$description": "From the bottom of the header (where its divider is drawn) to the content's first line while inset is true, so that the text keeps clear of the header and its divider. Eight, as Material 3 starts a dialog's content 8 below the divider under its headline (material-web's scrollable dialog); Fluent's drawer puts 8 between its headline and the divider that rules the header off."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"header": {
|
|
122
|
+
"height": {
|
|
123
|
+
"$type": "dimension",
|
|
124
|
+
"$value": {
|
|
125
|
+
"value": 64,
|
|
126
|
+
"unit": "px"
|
|
127
|
+
},
|
|
128
|
+
"$description": "The header row's minimum height, as the side sheet's; the headline and the close button are centred in it, and it grows with a headline that wraps (BSH-28).",
|
|
129
|
+
"$extensions": {
|
|
130
|
+
"dev.tanrei.derive": {
|
|
131
|
+
"fn": "mul",
|
|
132
|
+
"of": "{tanrei.dial.size.unit}",
|
|
133
|
+
"by": 16
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"gap": {
|
|
138
|
+
"$type": "dimension",
|
|
139
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
140
|
+
"$description": "Between the headline and the close button."
|
|
141
|
+
},
|
|
142
|
+
"padding-inline-end": {
|
|
143
|
+
"$type": "dimension",
|
|
144
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
145
|
+
"$description": "From the sheet's end edge to the close button: less than the content's inset, so that the close glyph lines up near the text column while its target stays whole."
|
|
146
|
+
},
|
|
147
|
+
"$extensions": {
|
|
148
|
+
"dev.tanrei.vocabulary": {
|
|
149
|
+
"rationale": "One product titles a bottom sheet and gives it a close button where a person who cannot drag needs a way out they can see, as it does its side sheets.",
|
|
150
|
+
"since": "0.1.0"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"headline": {
|
|
155
|
+
"color": {
|
|
156
|
+
"$type": "color",
|
|
157
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
158
|
+
},
|
|
159
|
+
"typescale": {
|
|
160
|
+
"$type": "typography",
|
|
161
|
+
"$value": "{tanrei.sys.typescale.heading-5}",
|
|
162
|
+
"$description": "The side sheet's headline style: a sheet's title is a small heading."
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"divider": {
|
|
166
|
+
"color": {
|
|
167
|
+
"$type": "color",
|
|
168
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
169
|
+
"$description": "The hairline below the header, drawn as divider.visibility says (BSH-28)."
|
|
170
|
+
},
|
|
171
|
+
"width": {
|
|
172
|
+
"$type": "dimension",
|
|
173
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
174
|
+
},
|
|
175
|
+
"visibility": {
|
|
176
|
+
"$type": "number",
|
|
177
|
+
"$value": "{tanrei.sys.behavior.divider-visibility}",
|
|
178
|
+
"$description": "When the divider below the header is drawn. always: whenever the header is drawn, at rest as well as while the content is scrolled. scroll: only while the content is scrolled away from its top (BSH-28). Follows the system's choice; the dividerVisibility prop overrides it. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
179
|
+
"$extensions": {
|
|
180
|
+
"dev.tanrei.vocabulary": {
|
|
181
|
+
"rationale": "One product rules a sheet's header off from its content at rest, while another shows the line only once the content has scrolled under it; a bottom sheet may be set apart from the side sheets beside it.",
|
|
182
|
+
"since": "0.1.0"
|
|
183
|
+
},
|
|
184
|
+
"dev.tanrei.enum": {
|
|
185
|
+
"values": [
|
|
186
|
+
"always",
|
|
187
|
+
"scroll"
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"close-button": {
|
|
194
|
+
"variant": {
|
|
195
|
+
"$type": "number",
|
|
196
|
+
"$value": 1,
|
|
197
|
+
"$description": "The Button variant of the close button, an icon-only Button of the size close-button.size names (BSH-29): tonal in the default system, as every host's close button is. The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
|
|
198
|
+
"$extensions": {
|
|
199
|
+
"dev.tanrei.vocabulary": {
|
|
200
|
+
"rationale": "One product decides once how its bottom sheets' close control stands: a tonal button that reads as a control on any content, or a bare glyph that leaves the header to its headline.",
|
|
201
|
+
"since": "0.1.0"
|
|
202
|
+
},
|
|
203
|
+
"dev.tanrei.enum": {
|
|
204
|
+
"values": [
|
|
205
|
+
"filled",
|
|
206
|
+
"tonal",
|
|
207
|
+
"elevated",
|
|
208
|
+
"outlined",
|
|
209
|
+
"text"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"dev.tanrei.derive": {
|
|
213
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"size": {
|
|
218
|
+
"$type": "number",
|
|
219
|
+
"$value": 0,
|
|
220
|
+
"$description": "The Button size of the close button, an icon-only Button (BSH-29): small in the default system, as every host's close button is. The value is an index into dev.tanrei.enum.values, the core Button sizes; platforms receive the name.",
|
|
221
|
+
"$extensions": {
|
|
222
|
+
"dev.tanrei.vocabulary": {
|
|
223
|
+
"rationale": "One product decides once how large its bottom sheets' close control is: a small one that leaves the header to its headline, or the size its other icon buttons take."
|
|
224
|
+
},
|
|
225
|
+
"dev.tanrei.enum": {
|
|
226
|
+
"values": [
|
|
227
|
+
"small",
|
|
228
|
+
"medium",
|
|
229
|
+
"large"
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"dev.tanrei.derive": {
|
|
233
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"handle": {
|
|
239
|
+
"container-width": {
|
|
240
|
+
"$type": "dimension",
|
|
241
|
+
"$value": "{tanrei.comp.handle.container.length.medium}",
|
|
242
|
+
"$description": "The drag handle's box: where its hover, focus and press are drawn, centred on the grip."
|
|
243
|
+
},
|
|
244
|
+
"container-height": {
|
|
245
|
+
"$type": "dimension",
|
|
246
|
+
"$value": "{tanrei.comp.handle.container.breadth.medium}",
|
|
247
|
+
"$description": "The height of the drag handle's box. With the margins above and below it, the handle's row is at least the touch target's height (48 in the default system)."
|
|
248
|
+
},
|
|
249
|
+
"container-shape": {
|
|
250
|
+
"$type": "dimension",
|
|
251
|
+
"$value": "{tanrei.comp.handle.container.shape}"
|
|
252
|
+
},
|
|
253
|
+
"margin-block": {
|
|
254
|
+
"$type": "dimension",
|
|
255
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
256
|
+
"$description": "Above and below the drag handle's box: from the sheet's top edge, and to the content."
|
|
257
|
+
},
|
|
258
|
+
"grip-width": {
|
|
259
|
+
"$type": "dimension",
|
|
260
|
+
"$value": "{tanrei.comp.handle.line.length.medium}",
|
|
261
|
+
"$description": "The drawn grip: the short bar that says the sheet can be dragged."
|
|
262
|
+
},
|
|
263
|
+
"grip-height": {
|
|
264
|
+
"$type": "dimension",
|
|
265
|
+
"$value": "{tanrei.comp.handle.line.thickness.medium}"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"drag-handle": {
|
|
269
|
+
"container": {
|
|
270
|
+
"color": {
|
|
271
|
+
"$type": "color",
|
|
272
|
+
"$value": "{tanrei.comp.handle.standard.container.color}",
|
|
273
|
+
"$description": "The handle's box at rest: nothing is drawn; its states draw the state layer."
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"grip": {
|
|
277
|
+
"color": {
|
|
278
|
+
"$type": "color",
|
|
279
|
+
"$value": "{tanrei.comp.handle.standard.line.color}",
|
|
280
|
+
"$description": "The grip is how a sighted person finds a control, so it takes the functional boundary role (3:1 on every surface), not the decorative hairline."
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"state-layer": {
|
|
284
|
+
"color": {
|
|
285
|
+
"$type": "color",
|
|
286
|
+
"$value": "{tanrei.comp.bottom-sheet.drag-handle.grip.color}"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"motion": {
|
|
291
|
+
"state-duration": {
|
|
292
|
+
"$type": "duration",
|
|
293
|
+
"$value": "{tanrei.comp.handle.motion.state-duration}"
|
|
294
|
+
},
|
|
295
|
+
"state-easing": {
|
|
296
|
+
"$type": "cubicBezier",
|
|
297
|
+
"$value": "{tanrei.comp.handle.motion.state-easing}"
|
|
298
|
+
},
|
|
299
|
+
"feedback-duration": {
|
|
300
|
+
"$type": "duration",
|
|
301
|
+
"$value": "{tanrei.comp.handle.motion.feedback-duration}",
|
|
302
|
+
"$description": "How long the answer to a press on the drag handle takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
303
|
+
},
|
|
304
|
+
"enter-duration": {
|
|
305
|
+
"$type": "duration",
|
|
306
|
+
"$value": "{tanrei.sys.motion.role.appear.sheet.enter}",
|
|
307
|
+
"$description": "How long the sheet takes to rise into place (and a modal sheet's scrim to fade in), to move to another height, or to settle after a drag: the role of a sheet's entrance, so that every sheet of a product keeps one tempo."
|
|
308
|
+
},
|
|
309
|
+
"enter-easing": {
|
|
310
|
+
"$type": "cubicBezier",
|
|
311
|
+
"$value": "{tanrei.sys.motion.easing.enter}"
|
|
312
|
+
},
|
|
313
|
+
"exit-duration": {
|
|
314
|
+
"$type": "duration",
|
|
315
|
+
"$value": "{tanrei.sys.motion.role.appear.sheet.exit}",
|
|
316
|
+
"$description": "How long the sheet takes to leave below the bottom edge (and a modal sheet's scrim to fade out): the role of a sheet's exit."
|
|
317
|
+
},
|
|
318
|
+
"exit-easing": {
|
|
319
|
+
"$type": "cubicBezier",
|
|
320
|
+
"$value": "{tanrei.sys.motion.easing.exit}"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|