@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,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"divider": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product separates groups of content with a quiet line, horizontally and vertically, across the full length or inset to align with the content it separates.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a divider reads: the line's color and thickness, the length it is shortened by at its start (or at both ends) when inset, the gap between the dots of a dotted line, the length and gap of a dashed line's dashes, and the amplitude and wavelength of a wavy line.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A divider adds no space around itself; put the gap in the layout that places it.",
|
|
14
|
+
"Keep dividers decorative unless the grouping itself is meaningful (a toolbar's or a menu's groups).",
|
|
15
|
+
"Restyle through these tokens in a layer; never draw a line of your own.",
|
|
16
|
+
"A dotted, dashed or wavy divider is a distinction inside one product (a tear line, a boundary of something provisional, a light section break). Choose it per instance with the lineStyle prop; the default divider stays solid.",
|
|
17
|
+
"The dot, dash and wave lengths are derived from line.thickness, so a layer that thickens the line keeps the pattern's proportions. Set them in a layer only to change the proportions themselves."
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"line": {
|
|
22
|
+
"color": {
|
|
23
|
+
"$type": "color",
|
|
24
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
25
|
+
},
|
|
26
|
+
"thickness": {
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
29
|
+
"$description": "The line's extent across its axis: the side of a dot, the width of a dash, the width of the wave's stroke."
|
|
30
|
+
},
|
|
31
|
+
"inset": {
|
|
32
|
+
"$type": "dimension",
|
|
33
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
34
|
+
"$description": "How far the line is shortened at its start (inset start) or at both ends (inset both): the inline-start of a horizontal divider, the top of a vertical one. A divider's insetLength replaces it for that divider."
|
|
35
|
+
},
|
|
36
|
+
"dot": {
|
|
37
|
+
"$extensions": {
|
|
38
|
+
"dev.tanrei.vocabulary": {
|
|
39
|
+
"rationale": "One product draws a dotted divider (leaders in a summary, a quiet boundary between entries) beside its solid ones, and spaces the dots for its own density.",
|
|
40
|
+
"since": "0.1.0"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"gap": {
|
|
44
|
+
"$type": "dimension",
|
|
45
|
+
"$description": "The least space between two dots of a dotted line, from one dot's edge to the next. A dot is as long as the line is thick. The divider widens the gaps equally so that a whole dot ends the line at each end.",
|
|
46
|
+
"$value": {
|
|
47
|
+
"value": 2,
|
|
48
|
+
"unit": "px"
|
|
49
|
+
},
|
|
50
|
+
"$extensions": {
|
|
51
|
+
"dev.tanrei.derive": {
|
|
52
|
+
"fn": "mul",
|
|
53
|
+
"of": "{tanrei.comp.divider.line.thickness}",
|
|
54
|
+
"by": 2
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"dash": {
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"dev.tanrei.vocabulary": {
|
|
62
|
+
"rationale": "One product draws a dashed divider (a tear line, the edge of a draft or an optional section) beside its solid and dotted ones; a dash must read as a dash, not as a long dot, at the product's own line thickness.",
|
|
63
|
+
"since": "0.1.0"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"length": {
|
|
67
|
+
"$type": "dimension",
|
|
68
|
+
"$description": "The length of one dash of a dashed line, round caps included. A dash is never drawn shorter than the line is thick.",
|
|
69
|
+
"$value": {
|
|
70
|
+
"value": 4,
|
|
71
|
+
"unit": "px"
|
|
72
|
+
},
|
|
73
|
+
"$extensions": {
|
|
74
|
+
"dev.tanrei.derive": {
|
|
75
|
+
"fn": "mul",
|
|
76
|
+
"of": "{tanrei.comp.divider.line.thickness}",
|
|
77
|
+
"by": 4
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"gap": {
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"$description": "The least space between two dashes, from one dash's edge to the next. The divider widens the gaps equally so that a whole dash ends the line at each end.",
|
|
84
|
+
"$value": {
|
|
85
|
+
"value": 4,
|
|
86
|
+
"unit": "px"
|
|
87
|
+
},
|
|
88
|
+
"$extensions": {
|
|
89
|
+
"dev.tanrei.derive": {
|
|
90
|
+
"fn": "mul",
|
|
91
|
+
"of": "{tanrei.comp.divider.line.thickness}",
|
|
92
|
+
"by": 4
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"wave": {
|
|
98
|
+
"$extensions": {
|
|
99
|
+
"dev.tanrei.vocabulary": {
|
|
100
|
+
"rationale": "One product breaks a long page or a playful surface with a wavy line beside the straight dividers of its lists, and needs the wave's height and length to suit that surface.",
|
|
101
|
+
"since": "0.1.0"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"amplitude": {
|
|
105
|
+
"$type": "dimension",
|
|
106
|
+
"$description": "How far the wave's crest lies from the line's midline, measured to the center of the stroke. The divider takes twice this plus line.thickness across its axis. 0 draws a straight line.",
|
|
107
|
+
"$value": {
|
|
108
|
+
"value": 2,
|
|
109
|
+
"unit": "px"
|
|
110
|
+
},
|
|
111
|
+
"$extensions": {
|
|
112
|
+
"dev.tanrei.derive": {
|
|
113
|
+
"fn": "mul",
|
|
114
|
+
"of": "{tanrei.comp.divider.line.thickness}",
|
|
115
|
+
"by": 2
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"wavelength": {
|
|
120
|
+
"$type": "dimension",
|
|
121
|
+
"$description": "The length of one whole wave, a crest and a trough. The divider stretches or shrinks it so that a whole number of waves fills the line.",
|
|
122
|
+
"$value": {
|
|
123
|
+
"value": 16,
|
|
124
|
+
"unit": "px"
|
|
125
|
+
},
|
|
126
|
+
"$extensions": {
|
|
127
|
+
"dev.tanrei.derive": {
|
|
128
|
+
"fn": "mul",
|
|
129
|
+
"of": "{tanrei.comp.divider.line.thickness}",
|
|
130
|
+
"by": 16
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"drop-zone": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product lets files be dropped on a whole working screen — a list of documents, a library of videos, a conversation — and not only on a bounded place inside a form. It shows the same answer wherever such a screen stands: while files are dragged over it, the whole screen is covered and says, in one message, that letting go here adds them.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a drop zone reads, all of it drawn only while files are dragged over it: the scrim over its content; the edge drawn inside its box (width, and color while it takes the drag and while it refuses it); the panel at the centre of the part of the zone that is in view (fill, elevation, corners, paddings, gap, widest width, and its least distance to the zone's edges); the glyph's size and its colors; the message's text style and color; and the timing of the overlay's fade.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A drop zone draws nothing at rest and adds no hover, no press, no focus stop and no role: what it wraps is used as if it were not there. It answers a drag of files alone.",
|
|
14
|
+
"Dragging is never the only way to add a file: a page with a drop zone also offers a File picker or a File upload whose Button opens the platform's picker.",
|
|
15
|
+
"The overlay is one layer over the whole zone: scrim, edge and panel. It never takes a press or a scroll, so it never needs to be dismissed.",
|
|
16
|
+
"refusing is drawn only where the platform tells before the drop that nothing dragged can be taken; it is the drag's condition, not an error the product sets.",
|
|
17
|
+
"For a bounded place inside a form that is also pressed to open the picker, use the File picker's drop-area layout instead.",
|
|
18
|
+
"Restyle through these tokens in a layer; never draw a drop overlay by hand."
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"scrim": {
|
|
23
|
+
"color": {
|
|
24
|
+
"$type": "color",
|
|
25
|
+
"$value": "{tanrei.sys.color.scrim}",
|
|
26
|
+
"$description": "The dim over the zone's content while files are dragged over it, alpha included (the scrim role is the overlay as drawn): the content is still there, and not what is pointed at now."
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"outline": {
|
|
30
|
+
"width": {
|
|
31
|
+
"$type": "dimension",
|
|
32
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
33
|
+
"$description": "The edge drawn inside the zone's box while files are dragged over it: the heavier stroke, the mark of what is selected, because the whole zone is the place now chosen."
|
|
34
|
+
},
|
|
35
|
+
"color": {
|
|
36
|
+
"$type": "color",
|
|
37
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
38
|
+
"$description": "That edge while the zone will take what is dragged over it."
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"panel": {
|
|
42
|
+
"container": {
|
|
43
|
+
"color": {
|
|
44
|
+
"$type": "color",
|
|
45
|
+
"$value": "{tanrei.sys.color.surface-container-high}",
|
|
46
|
+
"$description": "The panel that holds the glyph and the message, over the scrim: a raised surface, so that the message is read on its own ground whatever content lies under the scrim."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"elevation": {
|
|
50
|
+
"$type": "shadow",
|
|
51
|
+
"$value": "{tanrei.sys.elevation.level2}",
|
|
52
|
+
"$description": "The panel's lift over the scrim."
|
|
53
|
+
},
|
|
54
|
+
"shape": {
|
|
55
|
+
"$type": "dimension",
|
|
56
|
+
"$value": "{tanrei.sys.shape.corner.large}",
|
|
57
|
+
"$description": "Every corner of the panel: the step of a surface raised over the content, as a dialog's."
|
|
58
|
+
},
|
|
59
|
+
"padding-block": {
|
|
60
|
+
"$type": "dimension",
|
|
61
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
62
|
+
"$description": "The room above the glyph and below the message."
|
|
63
|
+
},
|
|
64
|
+
"padding-inline": {
|
|
65
|
+
"$type": "dimension",
|
|
66
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
67
|
+
"$description": "The room at the panel's start and end."
|
|
68
|
+
},
|
|
69
|
+
"gap": {
|
|
70
|
+
"$type": "dimension",
|
|
71
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
72
|
+
"$description": "The space between the glyph and the message."
|
|
73
|
+
},
|
|
74
|
+
"max-width": {
|
|
75
|
+
"$type": "dimension",
|
|
76
|
+
"$value": {
|
|
77
|
+
"value": 360,
|
|
78
|
+
"unit": "px"
|
|
79
|
+
},
|
|
80
|
+
"$description": "The widest the panel draws; a longer message wraps. A narrower zone gives the panel its own width less panel.margin on each side.",
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"dev.tanrei.derive": {
|
|
83
|
+
"fn": "mul",
|
|
84
|
+
"of": "{tanrei.dial.size.unit}",
|
|
85
|
+
"by": 90
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"margin": {
|
|
90
|
+
"$type": "dimension",
|
|
91
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
92
|
+
"$description": "The least distance between the panel and the zone's edges: the panel never touches the edge, and never leaves the zone."
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"icon": {
|
|
96
|
+
"size": {
|
|
97
|
+
"$type": "dimension",
|
|
98
|
+
"$value": "{tanrei.sys.icon.large}",
|
|
99
|
+
"$description": "The glyph above the message: the largest step of the icon scale, as the File picker's drop area's."
|
|
100
|
+
},
|
|
101
|
+
"color": {
|
|
102
|
+
"$type": "color",
|
|
103
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
104
|
+
"$description": "The glyph while the zone will take what is dragged over it: the color of its edge."
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"label": {
|
|
108
|
+
"typescale": {
|
|
109
|
+
"$type": "typography",
|
|
110
|
+
"$value": "{tanrei.sys.typescale.body-large}",
|
|
111
|
+
"$description": "The message: running text one step larger than the interface's, because it is read at a glance during a drag."
|
|
112
|
+
},
|
|
113
|
+
"color": {
|
|
114
|
+
"$type": "color",
|
|
115
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
116
|
+
"$description": "The message on the panel: the surface's text color."
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"refusing": {
|
|
120
|
+
"$description": "The overlay while what is dragged over the zone cannot be taken. The scrim, the panel and the message's color stay as while it takes it.",
|
|
121
|
+
"outline": {
|
|
122
|
+
"color": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "{tanrei.sys.color.error}",
|
|
125
|
+
"$description": "The edge while the zone will not take what is dragged over it: the error role, because letting go here fails."
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"icon": {
|
|
129
|
+
"color": {
|
|
130
|
+
"$type": "color",
|
|
131
|
+
"$value": "{tanrei.sys.color.error}",
|
|
132
|
+
"$description": "The glyph, which becomes the icon set's block glyph, in the same role."
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"motion": {
|
|
137
|
+
"duration": {
|
|
138
|
+
"$type": "duration",
|
|
139
|
+
"$value": "{tanrei.sys.motion.role.state.large}",
|
|
140
|
+
"$description": "How long the overlay takes to fade in when a drag of files enters the zone, and to fade out when it leaves, ends or drops; and how long a change between taking and refusing takes."
|
|
141
|
+
},
|
|
142
|
+
"easing": {
|
|
143
|
+
"$type": "cubicBezier",
|
|
144
|
+
"$value": "{tanrei.sys.motion.easing.state}",
|
|
145
|
+
"$description": "The curve of that fade."
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"embedded-text-input": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product has places where people type inside a box that is not a text field's: a message written in a capsule that also holds its actions and its attachments, the bar of a search, a title edited where it stands. The box is drawn by what holds the typing; what is typed still needs its text style, its colors at rest and disabled, the color of its hint, its caret and its selection, and the motion of a height that follows its lines.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"standard"
|
|
13
|
+
],
|
|
14
|
+
"states": [
|
|
15
|
+
"disabled"
|
|
16
|
+
],
|
|
17
|
+
"perVariant": {
|
|
18
|
+
"input.color": "color",
|
|
19
|
+
"placeholder.color": "color",
|
|
20
|
+
"caret.color": "color"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"dev.tanrei.llm": {
|
|
24
|
+
"usage": "Everything an embedded text input reads: the text style of what is typed and of its placeholder, their colors at rest and disabled, the caret's color, the selection's highlight and the color of the text on it, and the duration and the curve of a height that follows the lines.",
|
|
25
|
+
"rules": [
|
|
26
|
+
"An embedded text input is the typing alone. It has no container, edge, fill, corner, padding, label, message, icon or state layer, and so no token for any of them: the box is drawn by whatever holds it, from that holder's tokens.",
|
|
27
|
+
"It draws no focus indication. The holder draws it on its own box while the input has focus (on the web, a rule on :focus-within); a caret is not a focus indication.",
|
|
28
|
+
"Always give it a label: it is the accessible name, and nothing else names it. A placeholder is never the name.",
|
|
29
|
+
"Use it only inside a box that is the holder's own and is drawn nowhere else. Where the box is a text field's box, use the Text input (or the Text field, which is a Field around one).",
|
|
30
|
+
"It has no state-layer.color: that token names the color a state mixes into a container, and it has no container. Hover and focus change nothing it draws.",
|
|
31
|
+
"error and required change nothing it draws; they are exposed to assistive technology. Mark an error on the holder's box.",
|
|
32
|
+
"The height of a multi-line input follows its lines between minRows and maxRows and changes over motion.resize-duration; nothing else of it moves. Do not animate the holder separately: it follows the input's height.",
|
|
33
|
+
"Keep input.typescale at 16 px or more: a touch browser zooms into smaller text.",
|
|
34
|
+
"Restyle through these tokens in a layer; never fork the component. A holder never sets them: one instance is set apart by the product, on that element."
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"dev.tanrei.axes": {
|
|
38
|
+
"condition": {
|
|
39
|
+
"default": "standard",
|
|
40
|
+
"from": "states"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"input": {
|
|
45
|
+
"typescale": {
|
|
46
|
+
"$type": "typography",
|
|
47
|
+
"$value": "{tanrei.sys.typescale.body-large}",
|
|
48
|
+
"$description": "The typed text and the placeholder. One line of it is the unit minRows and maxRows count in. 16 px, so that a touch browser does not zoom into the input."
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"standard": {
|
|
52
|
+
"input": {
|
|
53
|
+
"color": {
|
|
54
|
+
"$type": "color",
|
|
55
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
56
|
+
"$description": "The typed text."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"placeholder": {
|
|
60
|
+
"color": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
63
|
+
"$description": "The hint in the empty input."
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"caret": {
|
|
67
|
+
"color": {
|
|
68
|
+
"$type": "color",
|
|
69
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
70
|
+
"$description": "The insertion point: the one thing the input itself shows of having focus. It is not the focus indication, which is the holder's."
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"selection": {
|
|
75
|
+
"color": {
|
|
76
|
+
"$type": "color",
|
|
77
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
78
|
+
"$description": "The highlight behind selected text, in every state. Selected text is the one that is chosen now, and the system marks that with a primary fill under on-primary content wherever it appears. Pair: selection.content.color."
|
|
79
|
+
},
|
|
80
|
+
"content": {
|
|
81
|
+
"color": {
|
|
82
|
+
"$type": "color",
|
|
83
|
+
"$value": "{tanrei.sys.color.on-primary}",
|
|
84
|
+
"$description": "The text on the highlight. A layer whose highlight is a tint that keeps the typed text readable sets this to the text's color."
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"motion": {
|
|
89
|
+
"resize-duration": {
|
|
90
|
+
"$type": "duration",
|
|
91
|
+
"$value": "{tanrei.sys.motion.role.resize.default}",
|
|
92
|
+
"$description": "How long the height takes to change when the number of lines shown changes (ETI-8)."
|
|
93
|
+
},
|
|
94
|
+
"resize-easing": {
|
|
95
|
+
"$type": "cubicBezier",
|
|
96
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
97
|
+
"$description": "The curve of that change."
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"empty-state": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product has places that sometimes hold nothing — a search that found nothing, a list nobody has added to yet, a table whose filter matches no row, a page that waits for its first project — and says so in the place itself, in the same manner everywhere: what is missing, in a few words; why, or what to do about it; and, where there is something to do, the control that does it. It says it small inside a list or a panel and large where the empty place is the whole page.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.axes": {
|
|
11
|
+
"size": {
|
|
12
|
+
"default": "medium",
|
|
13
|
+
"values": [
|
|
14
|
+
"medium",
|
|
15
|
+
"large"
|
|
16
|
+
],
|
|
17
|
+
"members": [
|
|
18
|
+
"container.padding-block",
|
|
19
|
+
"media.size",
|
|
20
|
+
"title.typescale",
|
|
21
|
+
"description.typescale"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"dev.tanrei.llm": {
|
|
26
|
+
"usage": "Everything an empty state reads: per size, the room above and below it, the glyph's box and the text styles of its title and its description; the room at its sides; the longest line of its text; the glyph's color and the space under it; the title's color and the space under it; the description's color; the space above the actions and between two of them.",
|
|
27
|
+
"rules": [
|
|
28
|
+
"An empty state stands where content would be and there is none: it replaces the list, the rows, the results. A notice beside content that is there is a callout; a message about something that just happened is a snackbar.",
|
|
29
|
+
"Say what is missing in the title, in plain words (\"No results for tokne\", \"No projects yet\"). Say why, or what to do, in the description. Offer at most two actions, the main one first.",
|
|
30
|
+
"It is quiet: no fill, no edge, secondary colors for the glyph and the description. An empty place is not an error; do not give it a status color. A failure to load is a callout with the error status.",
|
|
31
|
+
"Use live only where the empty state appears in answer to what the person just did (a search, a filter), so it is announced; one that is there when the page opens is not announced.",
|
|
32
|
+
"The title is text. Give a heading in the title slot where the empty state is the page's only content and the page needs one.",
|
|
33
|
+
"Use size large where the empty place is the whole page or the whole main region; medium inside a list, a table, a card, a panel, a search's results.",
|
|
34
|
+
"Center it in a region that is otherwise blank; align it to the start in a narrow column or under a table's header, where the content would have begun.",
|
|
35
|
+
"Restyle through these tokens in a layer; never draw a centred grey message by hand."
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"container": {
|
|
40
|
+
"padding-block": {
|
|
41
|
+
"$type": "dimension",
|
|
42
|
+
"$description": "The room above the first part and below the last, per size: what keeps an empty region from collapsing onto its neighbours. A region that is taller places the empty state itself.",
|
|
43
|
+
"medium": {
|
|
44
|
+
"$value": "{tanrei.sys.space.space400}"
|
|
45
|
+
},
|
|
46
|
+
"large": {
|
|
47
|
+
"$value": "{tanrei.sys.space.space800}"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"padding-inline": {
|
|
51
|
+
"$type": "dimension",
|
|
52
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
53
|
+
"$description": "The room at the start and the end: the inset a card, a callout and a list row give their content in the default system, so a start-aligned empty state begins where the rows would have."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"content": {
|
|
57
|
+
"measure": {
|
|
58
|
+
"$type": "number",
|
|
59
|
+
"$value": 30,
|
|
60
|
+
"$description": "The longest line of the title and of the description, as a multiple of the description's font size (ems): about 60 characters of Latin text, 30 of Japanese or Chinese. A short message in the middle of a wide table would otherwise run in one long line from edge to edge.",
|
|
61
|
+
"$extensions": {
|
|
62
|
+
"dev.tanrei.derive": {
|
|
63
|
+
"fixed": "A count of characters, not a distance: it scales with the description's text size by being multiplied by it, and no dial moves it."
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"media": {
|
|
69
|
+
"size": {
|
|
70
|
+
"$type": "dimension",
|
|
71
|
+
"$description": "The box of the glyph, per size. Medium is the largest step of the icon scale; large is half as large again, for an empty page. A picture of the product's own keeps its own size.",
|
|
72
|
+
"medium": {
|
|
73
|
+
"$value": "{tanrei.sys.icon.large}"
|
|
74
|
+
},
|
|
75
|
+
"large": {
|
|
76
|
+
"$value": {
|
|
77
|
+
"value": 48,
|
|
78
|
+
"unit": "px"
|
|
79
|
+
},
|
|
80
|
+
"$extensions": {
|
|
81
|
+
"dev.tanrei.derive": {
|
|
82
|
+
"fn": "mul",
|
|
83
|
+
"of": "{tanrei.dial.size.unit}",
|
|
84
|
+
"by": 12
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"color": {
|
|
90
|
+
"$type": "color",
|
|
91
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
92
|
+
"$description": "The glyph's color: secondary content. Decorative: the title says what the glyph pictures."
|
|
93
|
+
},
|
|
94
|
+
"gap": {
|
|
95
|
+
"$type": "dimension",
|
|
96
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
97
|
+
"$description": "The space between the glyph or the picture and the title."
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"title": {
|
|
101
|
+
"typescale": {
|
|
102
|
+
"$type": "typography",
|
|
103
|
+
"$description": "The title's text style, per size: at medium the heading role of the reading size, a step above the description by weight more than by size; at large a heading that can head a page.",
|
|
104
|
+
"medium": {
|
|
105
|
+
"$value": "{tanrei.sys.typescale.heading-5}"
|
|
106
|
+
},
|
|
107
|
+
"large": {
|
|
108
|
+
"$value": "{tanrei.sys.typescale.heading-3}"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"color": {
|
|
112
|
+
"$type": "color",
|
|
113
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
114
|
+
"$description": "The title's color: the surface's text color. The one part of an empty state at full strength, so that it is what a reader sees first."
|
|
115
|
+
},
|
|
116
|
+
"gap": {
|
|
117
|
+
"$type": "dimension",
|
|
118
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
119
|
+
"$description": "The space between the title and the description."
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"description": {
|
|
123
|
+
"typescale": {
|
|
124
|
+
"$type": "typography",
|
|
125
|
+
"$description": "The description's text style, per size: the interface's running text at medium, the style for reading at large.",
|
|
126
|
+
"medium": {
|
|
127
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
128
|
+
},
|
|
129
|
+
"large": {
|
|
130
|
+
"$value": "{tanrei.sys.typescale.body-large}"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"color": {
|
|
134
|
+
"$type": "color",
|
|
135
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
136
|
+
"$description": "The description's color: secondary content, quieter than the title."
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"actions": {
|
|
140
|
+
"gap": {
|
|
141
|
+
"$type": "dimension",
|
|
142
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
143
|
+
"$description": "The space between the text and the row of actions."
|
|
144
|
+
},
|
|
145
|
+
"item-gap": {
|
|
146
|
+
"$type": "dimension",
|
|
147
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
148
|
+
"$description": "The space between two actions, in the row and between rows when the actions wrap."
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|