@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,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"description-list": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows what it knows about one thing as named facts — an order's number, date and address; a file's size, owner and date; a component's category and status; the settings of an account — and the few figures a screen opens with — how many, how much, how long. It wants every such block drawn the same way: a quiet name, the value that answers it, the names in one column where there is room and above their values where there is not, loose where a person reads and tight where a person scans.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.axes": {
|
|
11
|
+
"size": {
|
|
12
|
+
"default": "medium",
|
|
13
|
+
"values": [
|
|
14
|
+
"small",
|
|
15
|
+
"medium"
|
|
16
|
+
],
|
|
17
|
+
"members": [
|
|
18
|
+
"fact.gap",
|
|
19
|
+
"term.gap",
|
|
20
|
+
"term.typescale",
|
|
21
|
+
"value.typescale",
|
|
22
|
+
"stat.value.typescale"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"dev.tanrei.llm": {
|
|
27
|
+
"usage": "Everything a description list reads: per size (small, medium), the space between two facts, the space between the term column and the value column, the text styles of a term and of a value, and the text style of a figure in the stat layout; the colors of a term and of a value; the space between a term and the value under it; the space between two columns of facts and the least width of a column that holds values; the one line between facts and how facts are told apart (a line or a gap, following the system's choice).",
|
|
28
|
+
"rules": [
|
|
29
|
+
"A description list presents the facts of one thing: each a name and the value that answers it. Many things that share the same names are a table; text that is read in order, with a term now and then, is prose.",
|
|
30
|
+
"Use layout inline for a block of facts a person looks things up in, stacked where values are long or the names are, and stat for a few figures with their labels. An inline list stacks by itself when it is narrow; do not switch the layout by hand for a small window.",
|
|
31
|
+
"Set columns to the most columns you want, and let the list draw fewer when it is narrow. An inline list is always one column.",
|
|
32
|
+
"Use size small where a person scans many facts (a side panel, an inspector) and medium where a person reads them. A list that sets no size takes the one its container sets.",
|
|
33
|
+
"Write a term as a short name without a colon. Write a value as the person should read it: format numbers, dates and units yourself, and write \"None\" or \"Not set\" where a fact has no value.",
|
|
34
|
+
"A value may hold a tag, a link, inline code or a button; the list places it and styles nothing inside it. A fact, a term and a value are never pressed: put a link or a button inside the value.",
|
|
35
|
+
"A figure in the stat layout is text of the surface's color, never primary and never a status color. Say a change in words, with a glyph (a tag whose label says \"up 12 %\"), never by color alone.",
|
|
36
|
+
"Restyle through these tokens in a layer; never draw a line or a fill of your own between facts."
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"separation": {
|
|
41
|
+
"$type": "number",
|
|
42
|
+
"$value": "{tanrei.sys.behavior.separation}",
|
|
43
|
+
"$description": "How a fact is told from the fact below it. divider: a line of divider.thickness in divider.color between them, with fact.gap on each side of it. gap: fact.gap of empty space and no line. Follows the system's choice; a list's separation prop overrides it (DSL-13). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
44
|
+
"$extensions": {
|
|
45
|
+
"dev.tanrei.vocabulary": {
|
|
46
|
+
"rationale": "One product rules its blocks of facts with a line while its joined buttons stand apart, or parts both by space: the system-wide choice gives the common answer, and the description list must be able to leave it, because a line between the facts of a record and a line inside a filled control are not the same decision.",
|
|
47
|
+
"since": "0.1.0"
|
|
48
|
+
},
|
|
49
|
+
"dev.tanrei.enum": {
|
|
50
|
+
"values": [
|
|
51
|
+
"divider",
|
|
52
|
+
"gap"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"divider": {
|
|
58
|
+
"color": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
61
|
+
"$description": "The line between two facts: the system's one hairline color. Decorative: facts, terms and values are exposed without it."
|
|
62
|
+
},
|
|
63
|
+
"thickness": {
|
|
64
|
+
"$type": "dimension",
|
|
65
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
66
|
+
"$description": "The width of the line between two facts."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"fact": {
|
|
70
|
+
"gap": {
|
|
71
|
+
"$type": "dimension",
|
|
72
|
+
"$description": "The space between a fact and the fact below it, per size: once where facts are told apart by space, and on each side of the line where they are told apart by a line. The list has no row height of its own: a fact is as tall as its term and its values.",
|
|
73
|
+
"medium": {
|
|
74
|
+
"$value": {
|
|
75
|
+
"value": 12,
|
|
76
|
+
"unit": "px"
|
|
77
|
+
},
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"dev.tanrei.derive": {
|
|
80
|
+
"fn": "mul",
|
|
81
|
+
"of": "{tanrei.sys.space.space150}",
|
|
82
|
+
"by": 1,
|
|
83
|
+
"round": "{tanrei.sys.space.space25}"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"small": {
|
|
88
|
+
"$value": {
|
|
89
|
+
"value": 6,
|
|
90
|
+
"unit": "px"
|
|
91
|
+
},
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"dev.tanrei.derive": {
|
|
94
|
+
"fn": "mul",
|
|
95
|
+
"of": "{tanrei.sys.space.space75}",
|
|
96
|
+
"by": 1,
|
|
97
|
+
"round": "{tanrei.sys.space.space25}"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"term": {
|
|
104
|
+
"gap": {
|
|
105
|
+
"$type": "dimension",
|
|
106
|
+
"$description": "The space between the term column and the value column while the term sits beside its value, per size.",
|
|
107
|
+
"medium": {
|
|
108
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
109
|
+
},
|
|
110
|
+
"small": {
|
|
111
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"color": {
|
|
115
|
+
"$type": "color",
|
|
116
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
117
|
+
"$description": "The text of a term, and of a figure's label in the stat layout: secondary content, quieter than the value it names."
|
|
118
|
+
},
|
|
119
|
+
"typescale": {
|
|
120
|
+
"$type": "typography",
|
|
121
|
+
"$description": "The text of a term, per size: a label, not running text. In the stat layout it is the style of the label under the figure.",
|
|
122
|
+
"medium": {
|
|
123
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
124
|
+
},
|
|
125
|
+
"small": {
|
|
126
|
+
"$value": "{tanrei.sys.typescale.label-small}"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"stack": {
|
|
131
|
+
"gap": {
|
|
132
|
+
"$type": "dimension",
|
|
133
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
134
|
+
"$description": "The space between a term and the value under it, between a figure and its label, and between two values of one term. Small, so that a term and its values read as one fact."
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"column": {
|
|
138
|
+
"gap": {
|
|
139
|
+
"$type": "dimension",
|
|
140
|
+
"$value": "{tanrei.sys.space.space400}",
|
|
141
|
+
"$description": "The space between two columns of facts in the stacked and stat layouts. Larger than term.gap and stack.gap, so that two facts side by side are not read as one."
|
|
142
|
+
},
|
|
143
|
+
"min-width": {
|
|
144
|
+
"$type": "dimension",
|
|
145
|
+
"$value": {
|
|
146
|
+
"value": 144,
|
|
147
|
+
"unit": "px"
|
|
148
|
+
},
|
|
149
|
+
"$description": "The least width of a column that holds values. A list in columns draws only as many columns as are at least this wide (DSL-7); an inline list whose value column would be narrower than this draws its terms above their values instead (DSL-4). It grows with enlarged text (DSL-21).",
|
|
150
|
+
"$extensions": {
|
|
151
|
+
"dev.tanrei.vocabulary": {
|
|
152
|
+
"rationale": "One product decides how far a value may be squeezed before its facts are rearranged: a block of facts that sits in a wide page, in a side panel and on a phone must go from several columns to one, and from terms beside values to terms above them, at a width the product can set once.",
|
|
153
|
+
"since": "0.1.0"
|
|
154
|
+
},
|
|
155
|
+
"dev.tanrei.derive": {
|
|
156
|
+
"fn": "mul",
|
|
157
|
+
"of": "{tanrei.dial.size.unit}",
|
|
158
|
+
"by": 36
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"value": {
|
|
164
|
+
"color": {
|
|
165
|
+
"$type": "color",
|
|
166
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
167
|
+
"$description": "The text of a value, and of a figure in the stat layout."
|
|
168
|
+
},
|
|
169
|
+
"typescale": {
|
|
170
|
+
"$type": "typography",
|
|
171
|
+
"$description": "The text of a value, per size: the interface's running text, as prose sets a description at its medium size.",
|
|
172
|
+
"medium": {
|
|
173
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
174
|
+
},
|
|
175
|
+
"small": {
|
|
176
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"stat": {
|
|
181
|
+
"$extensions": {
|
|
182
|
+
"dev.tanrei.vocabulary": {
|
|
183
|
+
"rationale": "One product opens a screen with a few figures — how many orders, how much revenue, how long a build took — each larger than anything it says about them, and shows the same kind of figure smaller in a card or a side panel.",
|
|
184
|
+
"since": "0.1.0"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"value": {
|
|
188
|
+
"typescale": {
|
|
189
|
+
"$type": "typography",
|
|
190
|
+
"$description": "The text of a figure in the stat layout, per size: a heading role, because the figure is what the fact is read for. Its label takes term.typescale and its color is value.color.",
|
|
191
|
+
"medium": {
|
|
192
|
+
"$value": "{tanrei.sys.typescale.heading-1}"
|
|
193
|
+
},
|
|
194
|
+
"small": {
|
|
195
|
+
"$value": "{tanrei.sys.typescale.heading-3}"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"dialog": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product stops the person for a decision it cannot make for them (discard a draft, delete an account, grant a permission) and collects a few details without leaving the page, in a surface that dims and blocks everything behind it and always offers an answer.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a dialog reads: the scrim behind it; the container's color, elevation, corner shape, padding, gap, minimum and maximum width, the three fixed widths a product may choose instead, and its margin to the window; the window width below which it takes the bottom sheet's appearance (whose container and motion tokens it then reads); the header (where the icon sits and its gap to the headline); the icon, headline, supporting text and content colors and text styles; the dividers shown while the content scrolls; how the actions are arranged, their default Button variant and their spacing; and the enter and exit motion of the centred dialog.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"Every dialog has at least one action. The actions are Tanrei Buttons, marked confirming or dismissive; the dialog places them as a full-width Button group and gives a Button without a variant the one comp.dialog.actions.variant names (tonal in the default system). It never changes a variant the product set.",
|
|
14
|
+
"Choose another look for every dialog of a product by re-valuing comp.dialog.actions.variant and comp.dialog.actions.arrangement in its layer; set a Button's variant for one action only.",
|
|
15
|
+
"Use the headline for a question or a statement of what will happen; it is the dialog's accessible name.",
|
|
16
|
+
"A dialog interrupts. Report an outcome with a snackbar and explain with a tooltip instead.",
|
|
17
|
+
"Restyle through these tokens in a layer; never fork the component."
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"scrim": {
|
|
22
|
+
"color": {
|
|
23
|
+
"$type": "color",
|
|
24
|
+
"$value": "{tanrei.comp.modal-layer.scrim.color}",
|
|
25
|
+
"$description": "The dim over everything behind the dialog, alpha included: the modal layer's, unless a system sets the dialog apart."
|
|
26
|
+
},
|
|
27
|
+
"blur": {
|
|
28
|
+
"$type": "dimension",
|
|
29
|
+
"$value": "{tanrei.comp.modal-layer.scrim.blur}",
|
|
30
|
+
"$description": "How much the scrim behind the dialog blurs what lies behind it: the modal layer's (0, none, in the default system)."
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"container": {
|
|
34
|
+
"color": {
|
|
35
|
+
"$type": "color",
|
|
36
|
+
"$value": "{tanrei.sys.color.surface-bright}",
|
|
37
|
+
"$description": "The centred container's fill; in a compact window the dialog takes the bottom sheet's (DLG-17)."
|
|
38
|
+
},
|
|
39
|
+
"elevation": {
|
|
40
|
+
"$type": "shadow",
|
|
41
|
+
"$value": "{tanrei.sys.elevation.level3}",
|
|
42
|
+
"$description": "The centred container's lift; in a compact window the dialog takes the bottom sheet's (DLG-17)."
|
|
43
|
+
},
|
|
44
|
+
"shape": {
|
|
45
|
+
"$type": "dimension",
|
|
46
|
+
"$value": "{tanrei.sys.shape.corner.large}",
|
|
47
|
+
"$description": "Every corner of the centred container. In a compact window the dialog takes the bottom sheet's corners (DLG-17)."
|
|
48
|
+
},
|
|
49
|
+
"padding": {
|
|
50
|
+
"$type": "dimension",
|
|
51
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
52
|
+
"$description": "The inset of the header, text, content and actions from the container's edges, on every side."
|
|
53
|
+
},
|
|
54
|
+
"gap": {
|
|
55
|
+
"$type": "dimension",
|
|
56
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
57
|
+
"$description": "Between the header, the supporting text and the content, top to bottom, and between the icon and the headline when the icon sits above it."
|
|
58
|
+
},
|
|
59
|
+
"min-width": {
|
|
60
|
+
"$type": "dimension",
|
|
61
|
+
"$value": {
|
|
62
|
+
"value": 280,
|
|
63
|
+
"unit": "px"
|
|
64
|
+
},
|
|
65
|
+
"$description": "The narrowest a dialog draws, unless the window less its margins is narrower.",
|
|
66
|
+
"$extensions": {
|
|
67
|
+
"dev.tanrei.derive": {
|
|
68
|
+
"fn": "mul",
|
|
69
|
+
"of": "{tanrei.dial.size.unit}",
|
|
70
|
+
"by": 70
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"max-width": {
|
|
75
|
+
"$type": "dimension",
|
|
76
|
+
"$value": {
|
|
77
|
+
"value": 560,
|
|
78
|
+
"unit": "px"
|
|
79
|
+
},
|
|
80
|
+
"$description": "The widest a centred dialog draws; longer text wraps and wider content scrolls or wraps. In a compact window the bottom sheet's greatest width applies (DLG-17).",
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"dev.tanrei.derive": {
|
|
83
|
+
"fn": "mul",
|
|
84
|
+
"of": "{tanrei.dial.size.unit}",
|
|
85
|
+
"by": 140
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"margin": {
|
|
90
|
+
"$type": "dimension",
|
|
91
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
92
|
+
"$description": "The least distance between the centred container and the edges of the window's safe area (and the on-screen keyboard). It wins over min-width on a narrow window."
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"compact": {
|
|
96
|
+
"window-width": {
|
|
97
|
+
"$type": "dimension",
|
|
98
|
+
"$value": {
|
|
99
|
+
"value": 600,
|
|
100
|
+
"unit": "px"
|
|
101
|
+
},
|
|
102
|
+
"$description": "A window narrower than this is compact: the dialog takes the bottom sheet's appearance at the bottom of it instead of standing at its centre (DLG-17). 0 keeps the dialog centred in every window.",
|
|
103
|
+
"$extensions": {
|
|
104
|
+
"dev.tanrei.vocabulary": {
|
|
105
|
+
"rationale": "One product decides below which window width its dialogs become sheets at the bottom of the window, within reach of the thumb, as its popovers do, and a product whose dialogs stay centred everywhere sets 0."
|
|
106
|
+
},
|
|
107
|
+
"dev.tanrei.derive": {
|
|
108
|
+
"fn": "mul",
|
|
109
|
+
"of": "{tanrei.dial.size.unit}",
|
|
110
|
+
"by": 150
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"header": {
|
|
116
|
+
"gap": {
|
|
117
|
+
"$type": "dimension",
|
|
118
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
119
|
+
"$description": "Between the icon and the headline beside it, while the icon sits at the headline's start (icon.placement inline).",
|
|
120
|
+
"$extensions": {
|
|
121
|
+
"dev.tanrei.vocabulary": {
|
|
122
|
+
"rationale": "One product pairs a glyph with the words beside it more tightly than it spaces the stacked parts of a surface; the header's gap is that pairing, apart from container.gap."
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"width": {
|
|
128
|
+
"small": {
|
|
129
|
+
"$type": "dimension",
|
|
130
|
+
"$value": {
|
|
131
|
+
"value": 400,
|
|
132
|
+
"unit": "px"
|
|
133
|
+
},
|
|
134
|
+
"$description": "The container's width while the dialog's width is small (DLG-27): a short form or a confirmation whose width should not follow its text. Never wider than the window less container.margin on each side.",
|
|
135
|
+
"$extensions": {
|
|
136
|
+
"dev.tanrei.vocabulary": {
|
|
137
|
+
"rationale": "One product gives its dialogs a few fixed widths, so that a form keeps its width as its fields and messages change; small is the narrowest, for a field or two."
|
|
138
|
+
},
|
|
139
|
+
"dev.tanrei.derive": {
|
|
140
|
+
"fn": "mul",
|
|
141
|
+
"of": "{tanrei.dial.size.unit}",
|
|
142
|
+
"by": 100
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"medium": {
|
|
147
|
+
"$type": "dimension",
|
|
148
|
+
"$value": {
|
|
149
|
+
"value": 560,
|
|
150
|
+
"unit": "px"
|
|
151
|
+
},
|
|
152
|
+
"$description": "The container's width while the dialog's width is medium (DLG-27): a form or a list of choices. Never wider than the window less container.margin on each side.",
|
|
153
|
+
"$extensions": {
|
|
154
|
+
"dev.tanrei.vocabulary": {
|
|
155
|
+
"rationale": "One product gives its dialogs a few fixed widths, so that a form keeps its width as its fields and messages change; medium is the width a content-sized dialog grows to at most."
|
|
156
|
+
},
|
|
157
|
+
"dev.tanrei.derive": {
|
|
158
|
+
"fn": "mul",
|
|
159
|
+
"of": "{tanrei.dial.size.unit}",
|
|
160
|
+
"by": 140
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"large": {
|
|
165
|
+
"$type": "dimension",
|
|
166
|
+
"$value": {
|
|
167
|
+
"value": 800,
|
|
168
|
+
"unit": "px"
|
|
169
|
+
},
|
|
170
|
+
"$description": "The container's width while the dialog's width is large (DLG-27): content that needs room, a table or a preview. Never wider than the window less container.margin on each side.",
|
|
171
|
+
"$extensions": {
|
|
172
|
+
"dev.tanrei.vocabulary": {
|
|
173
|
+
"rationale": "One product gives its dialogs a few fixed widths, so that a form keeps its width as its fields and messages change; large holds content that needs room, wider than a content-sized dialog may grow."
|
|
174
|
+
},
|
|
175
|
+
"dev.tanrei.derive": {
|
|
176
|
+
"fn": "mul",
|
|
177
|
+
"of": "{tanrei.dial.size.unit}",
|
|
178
|
+
"by": 200
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"icon": {
|
|
184
|
+
"color": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$value": "{tanrei.sys.color.secondary}"
|
|
187
|
+
},
|
|
188
|
+
"size": {
|
|
189
|
+
"$type": "dimension",
|
|
190
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
191
|
+
},
|
|
192
|
+
"placement": {
|
|
193
|
+
"$type": "number",
|
|
194
|
+
"$value": 0,
|
|
195
|
+
"$description": "Where the icon sits. inline: at the start of the headline's first line, header.gap before it, the headline and the supporting text aligned to the start. above: above the headline, container.gap apart, the icon and the headline centred and the supporting text at the start. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
196
|
+
"$extensions": {
|
|
197
|
+
"dev.tanrei.vocabulary": {
|
|
198
|
+
"rationale": "One product decides once, for all its dialogs, whether an icon marks the headline beside it or heads the dialog above it; the two read differently and a product picks one."
|
|
199
|
+
},
|
|
200
|
+
"dev.tanrei.enum": {
|
|
201
|
+
"values": [
|
|
202
|
+
"inline",
|
|
203
|
+
"above"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"dev.tanrei.derive": {
|
|
207
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"headline": {
|
|
213
|
+
"color": {
|
|
214
|
+
"$type": "color",
|
|
215
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
216
|
+
},
|
|
217
|
+
"typescale": {
|
|
218
|
+
"$type": "typography",
|
|
219
|
+
"$value": "{tanrei.sys.typescale.heading-5}"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"supporting-text": {
|
|
223
|
+
"color": {
|
|
224
|
+
"$type": "color",
|
|
225
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
226
|
+
},
|
|
227
|
+
"typescale": {
|
|
228
|
+
"$type": "typography",
|
|
229
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"content": {
|
|
233
|
+
"color": {
|
|
234
|
+
"$type": "color",
|
|
235
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
236
|
+
"$description": "The foreground the dialog hands to its custom content (a list, a field's surroundings), as the platform's inherited color."
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"divider": {
|
|
240
|
+
"color": {
|
|
241
|
+
"$type": "color",
|
|
242
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
243
|
+
},
|
|
244
|
+
"width": {
|
|
245
|
+
"$type": "dimension",
|
|
246
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
247
|
+
},
|
|
248
|
+
"visibility": {
|
|
249
|
+
"$type": "number",
|
|
250
|
+
"$value": "{tanrei.sys.behavior.divider-visibility}",
|
|
251
|
+
"$description": "When the dividers below the header and above the actions are drawn while the supporting text and the content scroll between them. always: both, whenever that part scrolls, wherever it is scrolled to. scroll: below the header only while the part is not at its top, above the actions only while more of it lies below (DLG-11). Under either choice none is drawn while everything fits. Follows the system's choice; the dividerVisibility prop overrides it. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
252
|
+
"$extensions": {
|
|
253
|
+
"dev.tanrei.vocabulary": {
|
|
254
|
+
"rationale": "One product rules its dialogs' fixed header and actions off from the part that scrolls between them for as long as it scrolls, while another shows each line only once content has passed it; a dialog may be set apart from the sheets beside it, because it is drawn over the page rather than in it.",
|
|
255
|
+
"since": "0.1.0"
|
|
256
|
+
},
|
|
257
|
+
"dev.tanrei.enum": {
|
|
258
|
+
"values": [
|
|
259
|
+
"always",
|
|
260
|
+
"scroll"
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"actions": {
|
|
267
|
+
"gap": {
|
|
268
|
+
"$type": "dimension",
|
|
269
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
270
|
+
"$description": "Between two actions, in a row or stacked. At sys.target.touch minus the lowest Button (small, 36 in the default system) or more, every action keeps its whole target in a column, as comp.button-group.standard.gap does."
|
|
271
|
+
},
|
|
272
|
+
"margin-block-start": {
|
|
273
|
+
"$type": "dimension",
|
|
274
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
275
|
+
"$description": "Between the last of the header, text and content and the actions."
|
|
276
|
+
},
|
|
277
|
+
"arrangement": {
|
|
278
|
+
"$type": "number",
|
|
279
|
+
"$value": 0,
|
|
280
|
+
"$description": "How the actions sit. fill: a full-width Button group, the actions sharing the container's inner width equally. end: at their own widths, aligned to the end. Either stacks into a column when the row does not fit (DLG-10). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
281
|
+
"$extensions": {
|
|
282
|
+
"dev.tanrei.vocabulary": {
|
|
283
|
+
"rationale": "One product decides once how the answers at the foot of its dialogs sit: as equal, full-width targets, or as a compact row at the end that leaves the width to the text."
|
|
284
|
+
},
|
|
285
|
+
"dev.tanrei.enum": {
|
|
286
|
+
"values": [
|
|
287
|
+
"fill",
|
|
288
|
+
"end"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"dev.tanrei.derive": {
|
|
292
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"variant": {
|
|
297
|
+
"$type": "number",
|
|
298
|
+
"$value": 1,
|
|
299
|
+
"$description": "The Button variant the dialog gives an action whose variant the product did not set (DLG-20). An action whose variant is set keeps it. The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
|
|
300
|
+
"$extensions": {
|
|
301
|
+
"dev.tanrei.vocabulary": {
|
|
302
|
+
"rationale": "One product chooses the emphasis of its dialogs' answers once, for every dialog, rather than on each Button: tonal where the answers are the dialog's point, text where the words should lead."
|
|
303
|
+
},
|
|
304
|
+
"dev.tanrei.enum": {
|
|
305
|
+
"values": [
|
|
306
|
+
"filled",
|
|
307
|
+
"tonal",
|
|
308
|
+
"elevated",
|
|
309
|
+
"outlined",
|
|
310
|
+
"text"
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
"dev.tanrei.derive": {
|
|
314
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"motion": {
|
|
320
|
+
"enter-duration": {
|
|
321
|
+
"$type": "duration",
|
|
322
|
+
"$value": "{tanrei.comp.modal-layer.motion.enter-duration}"
|
|
323
|
+
},
|
|
324
|
+
"enter-easing": {
|
|
325
|
+
"$type": "cubicBezier",
|
|
326
|
+
"$value": "{tanrei.comp.modal-layer.motion.enter-easing}"
|
|
327
|
+
},
|
|
328
|
+
"exit-duration": {
|
|
329
|
+
"$type": "duration",
|
|
330
|
+
"$value": "{tanrei.comp.modal-layer.motion.exit-duration}"
|
|
331
|
+
},
|
|
332
|
+
"exit-easing": {
|
|
333
|
+
"$type": "cubicBezier",
|
|
334
|
+
"$value": "{tanrei.comp.modal-layer.motion.exit-easing}"
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|