@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,553 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"table": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product presents facts that have two dimensions — a price list, a comparison of plans, a list of settings with their types and defaults, a status of several things on several platforms, a list of several hundred identifiers with their values — and wants every one of them drawn as the same table: the same header, the same line between rows, the same space in a cell, loose where a person reads a few rows and tight where a person scans hundreds. Some of its tables are records a person works with: put in another order by a column, chosen several at a time, fetched a part at a time, and sometimes empty.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"sort",
|
|
13
|
+
"sorted"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed"
|
|
19
|
+
],
|
|
20
|
+
"perVariant": {
|
|
21
|
+
"container.color": "color",
|
|
22
|
+
"label.color": "color",
|
|
23
|
+
"icon.color": "color",
|
|
24
|
+
"state-layer.color": "color"
|
|
25
|
+
},
|
|
26
|
+
"perComponent": {
|
|
27
|
+
"opacity": "number"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"dev.tanrei.axes": {
|
|
31
|
+
"part": {
|
|
32
|
+
"default": "sort",
|
|
33
|
+
"from": "states"
|
|
34
|
+
},
|
|
35
|
+
"size": {
|
|
36
|
+
"default": "medium",
|
|
37
|
+
"values": [
|
|
38
|
+
"small",
|
|
39
|
+
"medium"
|
|
40
|
+
],
|
|
41
|
+
"members": [
|
|
42
|
+
"row.height",
|
|
43
|
+
"cell.padding-block",
|
|
44
|
+
"cell.padding-inline",
|
|
45
|
+
"cell.text.typescale",
|
|
46
|
+
"header.text.typescale"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"dev.tanrei.llm": {
|
|
51
|
+
"usage": "Everything a table reads: per size (small, medium), a cell's paddings and the text styles of a cell and of a column header; the colors of a cell's and a header's text; the header's own fill (none in the default system); the fill a header row, a first column or a status line takes while it is kept in view; the fill of every second row of a striped table; the fill and the text color of a row that is selected, and of a row that can be chosen, selected or not, under a pointer and a press; the one line between rows and how rows are told apart (a line or a gap, following the system's choice); the caption's text style, color and distance from the table; the status line's text style, color and spaces; the room an empty body takes; and, for the header of a column that can be sorted, the size and weight of its mark, the gap before it, the timing of a state change, and for each part (sort: a column that can be sorted and is not; sorted: the column the rows are ordered by) its fill, label, mark and state-layer colors at rest and in each state.",
|
|
52
|
+
"rules": [
|
|
53
|
+
"A table presents data that has rows and columns. Never use one to lay a screen out; use the layout.",
|
|
54
|
+
"Give every table a name: a caption that people can see, or a label where the heading above it already says what it is.",
|
|
55
|
+
"Use size small for a table a person scans (hundreds of rows, a list of identifiers) and medium for one a person reads. A table that sets no size takes the one its container sets.",
|
|
56
|
+
"Align a column of numbers to the end; leave text at the start. Do not centre text.",
|
|
57
|
+
"The table never sorts, filters, fetches or pages. A sortable header asks: it tells the product which column and which direction, and draws the direction the product then sets. One column is sorted at a time.",
|
|
58
|
+
"The sorted column is told by its mark and by its label in the color of the data, not by a fill and never by the primary or the accent color.",
|
|
59
|
+
"A selected row takes the quiet selection, the same in a list and in a tree: in the default system a layer of the row's text color. Its checkbox says the same without color. Never use the primary fill or the accent for it.",
|
|
60
|
+
"A row that can be chosen is pressed anywhere, as one target: each condition's state-layer.color is what hover and press mix into its fill, and it aliases the row's text color. The row answers a pointer only; its checkbox is its control for the keyboard and for assistive technology.",
|
|
61
|
+
"Rows are rows: a table with checkboxes is still a table, each checkbox and each sortable header its own Tab stop. Do not turn it into a grid of cells moved through with arrow keys.",
|
|
62
|
+
"An empty body shows the product's Empty state in the empty slot; a body that is being fetched is loading, with placeholder rows that hold the product's Skeletons or the rows it had. The table writes no word of its own in either.",
|
|
63
|
+
"The status line holds the product's own sentence (how many rows, how many selected) and its Pagination. Page size, page numbers and bulk actions are the product's controls, outside the table.",
|
|
64
|
+
"A table on a surface other than the page's (a card, a dialog) that keeps its header, its first column or its status line in view sets sticky.container.color to that surface's color.",
|
|
65
|
+
"Each part's state-layer.color is the color hover, focus and press mix into a sortable header; it aliases the part's label color.",
|
|
66
|
+
"Restyle through these tokens in a layer; never draw a line or a fill of your own in a cell."
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"separation": {
|
|
71
|
+
"$type": "number",
|
|
72
|
+
"$value": "{tanrei.sys.behavior.separation}",
|
|
73
|
+
"$description": "How a row is told from the row next to it. divider: a line of divider.thickness in divider.color between them. gap: row.gap of empty space and no line. Follows the system's choice; a table's separation prop overrides it (TBL-9). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
74
|
+
"$extensions": {
|
|
75
|
+
"dev.tanrei.vocabulary": {
|
|
76
|
+
"rationale": "One product rules its tables with a line while its joined buttons stand apart, or parts both by space: the system-wide choice gives the common answer, and the table must be able to leave it, because a line between rows of data and a line inside a filled control are not the same decision.",
|
|
77
|
+
"since": "0.1.0"
|
|
78
|
+
},
|
|
79
|
+
"dev.tanrei.enum": {
|
|
80
|
+
"values": [
|
|
81
|
+
"divider",
|
|
82
|
+
"gap"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"divider": {
|
|
88
|
+
"color": {
|
|
89
|
+
"$type": "color",
|
|
90
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
91
|
+
"$description": "The line between two rows, under the header row and above the footer rows; the line along the inner edge of a first column that is kept in view; and the line along an edge of the table's box beyond which there is more to scroll to. The system's one hairline color. Decorative: rows, headers and the scroll region are exposed without it."
|
|
92
|
+
},
|
|
93
|
+
"thickness": {
|
|
94
|
+
"$type": "dimension",
|
|
95
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
96
|
+
"$description": "The width of every line the table draws."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"row": {
|
|
100
|
+
"$extensions": {
|
|
101
|
+
"dev.tanrei.vocabulary": {
|
|
102
|
+
"rationale": "One product lets a person choose a row of a table by pressing anywhere on it, as a card or a list item that can be chosen is pressed, and must show the row it would choose under the pointer and the press, chosen or not, as one target.",
|
|
103
|
+
"since": "0.1.0"
|
|
104
|
+
},
|
|
105
|
+
"dev.tanrei.states": {
|
|
106
|
+
"variants": [
|
|
107
|
+
"unselected",
|
|
108
|
+
"selected"
|
|
109
|
+
],
|
|
110
|
+
"states": [
|
|
111
|
+
"hovered",
|
|
112
|
+
"pressed"
|
|
113
|
+
],
|
|
114
|
+
"perVariant": {
|
|
115
|
+
"container.color": "color",
|
|
116
|
+
"text.color": "color"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"height": {
|
|
121
|
+
"$type": "dimension",
|
|
122
|
+
"$description": "A row's least height, per size: the header row, a body row, a placeholder row and a footer row are each at least this tall, and taller where a cell's content needs more. Medium is the control height (36 in the default system), so that a row of the default size stands as tall as the Buttons, fields and list items beside the table; a cell's block padding gives up what the row loses, so that one line of a cell fills it exactly. Small is the small step (28 in the default system), for a table a person scans; it is not held at the target, because nobody presses a row that holds no control, and a row that holds one is held there (TBL-40, TBL-47).",
|
|
123
|
+
"$extensions": {
|
|
124
|
+
"dev.tanrei.vocabulary": {
|
|
125
|
+
"rationale": "One product sets its tables beside its controls and its lists, in a panel or under a toolbar, and wants a row of the default size as tall as the controls of that size, so that a table moves with the product's control height as everything around it does; and it packs a table a person scans as close as its small controls.",
|
|
126
|
+
"since": "0.1.0"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"medium": {
|
|
130
|
+
"$value": {
|
|
131
|
+
"value": 36,
|
|
132
|
+
"unit": "px"
|
|
133
|
+
},
|
|
134
|
+
"$extensions": {
|
|
135
|
+
"dev.tanrei.derive": {
|
|
136
|
+
"fn": "mul",
|
|
137
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
138
|
+
"by": 1
|
|
139
|
+
},
|
|
140
|
+
"dev.tanrei.aligned": "control"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"small": {
|
|
144
|
+
"$value": "{tanrei.sys.control.height.small}"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"gap": {
|
|
148
|
+
"$type": "dimension",
|
|
149
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
150
|
+
"$description": "The empty space between two rows while separation is gap, in place of the line. Added to the cells' own block padding.",
|
|
151
|
+
"$extensions": {
|
|
152
|
+
"dev.tanrei.vocabulary": {
|
|
153
|
+
"rationale": "One product whose manner is space rather than lines still needs its rows told apart, and chooses how far.",
|
|
154
|
+
"since": "0.1.0"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"unselected": {
|
|
159
|
+
"$type": "color",
|
|
160
|
+
"container": {
|
|
161
|
+
"color": {
|
|
162
|
+
"$value": {
|
|
163
|
+
"colorSpace": "srgb",
|
|
164
|
+
"components": [
|
|
165
|
+
0,
|
|
166
|
+
0,
|
|
167
|
+
0
|
|
168
|
+
],
|
|
169
|
+
"alpha": 0,
|
|
170
|
+
"hex": "#000000"
|
|
171
|
+
},
|
|
172
|
+
"$description": "The fill of a body row that can be chosen and is not, at rest: none of its own, so that its stripe, or the fill of a column kept in view, shows. Its hovered and pressed fills are laid over what shows (TBL-59).",
|
|
173
|
+
"$extensions": {
|
|
174
|
+
"dev.tanrei.derive": {
|
|
175
|
+
"fixed": "A row that is not chosen has no fill of its own at rest; its stripe or the surface behind shows through."
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"text": {
|
|
181
|
+
"color": {
|
|
182
|
+
"$value": "{tanrei.comp.table.cell.text.color}",
|
|
183
|
+
"$description": "The text of the cells of a body row that can be chosen and is not: a cell's own color."
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"state-layer": {
|
|
187
|
+
"color": {
|
|
188
|
+
"$value": "{tanrei.comp.table.cell.text.color}",
|
|
189
|
+
"$description": "The color hover and press mix into a row that can be chosen and is not (TBL-59): its text color."
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"selected": {
|
|
194
|
+
"$type": "color",
|
|
195
|
+
"$extensions": {
|
|
196
|
+
"dev.tanrei.vocabulary": {
|
|
197
|
+
"rationale": "One product lets a person choose several records of a table and act on them together, and must show which rows are chosen along their whole width, as its lists and its trees do.",
|
|
198
|
+
"since": "0.1.0"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"container": {
|
|
202
|
+
"color": {
|
|
203
|
+
"$value": "{tanrei.sys.color.secondary-container}",
|
|
204
|
+
"$description": "The fill of a body row that is selected, across the row's whole width, in place of a stripe: the quiet selection, a selected list item's and a selected tree row's. A first column kept in view takes it over sticky.container.color. The role named here is the quiet selection's; the default system does not draw that tone — it values this token as a layer of the row's own content color (selected.state-layer.color at the selected layer, sys.state.selected-state-layer-opacity: 16 %, twice the hover layer: tokens/systems/tanrei.system.json), as a list values its selected option, so that the fill is seen by the same step on whatever the surface is and stands apart from a hovered row. A design system that sets this token draws what it sets."
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"text": {
|
|
208
|
+
"color": {
|
|
209
|
+
"$value": "{tanrei.sys.color.on-secondary-container}",
|
|
210
|
+
"$description": "The text of the cells and of the row header of a selected row. What a cell holds that is not plain text (a tag, a link, inline code) keeps its own colors."
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"state-layer": {
|
|
214
|
+
"color": {
|
|
215
|
+
"$value": "{tanrei.comp.table.row.selected.text.color}",
|
|
216
|
+
"$description": "The color hover and press mix into a chosen row (TBL-59): its text color, as a selected list item's and a selected tree row's."
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"cell": {
|
|
222
|
+
"padding-block": {
|
|
223
|
+
"$type": "dimension",
|
|
224
|
+
"$description": "Space above and below a cell's content, per size. Each is half of what one line of a cell's text leaves of its size's row height at the control height's reference (9 at medium and 6 at small at the reference of 40; 7 and 4 in the default system), and gives up half of what the row loses below it, so that a row of one-line cells is exactly row.height tall at every control height. A row is as tall as its tallest cell — this padding twice and the lines of that cell's text — and at least row.height, and a row that holds a control at least the target (TBL-40, TBL-47).",
|
|
225
|
+
"medium": {
|
|
226
|
+
"$value": {
|
|
227
|
+
"value": 7,
|
|
228
|
+
"unit": "px"
|
|
229
|
+
},
|
|
230
|
+
"$extensions": {
|
|
231
|
+
"dev.tanrei.derive": {
|
|
232
|
+
"fn": "pad",
|
|
233
|
+
"of": "{tanrei.sys.space.space100}",
|
|
234
|
+
"by": 1.125,
|
|
235
|
+
"height": "{tanrei.comp.table.row.height.medium}"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"small": {
|
|
240
|
+
"$value": {
|
|
241
|
+
"value": 4,
|
|
242
|
+
"unit": "px"
|
|
243
|
+
},
|
|
244
|
+
"$extensions": {
|
|
245
|
+
"dev.tanrei.derive": {
|
|
246
|
+
"fn": "pad",
|
|
247
|
+
"of": "{tanrei.sys.space.space75}",
|
|
248
|
+
"height": "{tanrei.comp.table.row.height.small}"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"padding-inline": {
|
|
254
|
+
"$type": "dimension",
|
|
255
|
+
"$description": "Space before and after a cell's content, per size, at the start and the end of every cell, the first and the last of a row included. Two neighbouring cells' contents are therefore twice this apart.",
|
|
256
|
+
"medium": {
|
|
257
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
258
|
+
},
|
|
259
|
+
"small": {
|
|
260
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"text": {
|
|
264
|
+
"color": {
|
|
265
|
+
"$type": "color",
|
|
266
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
267
|
+
"$description": "The text of a cell, of a row header and of a footer cell."
|
|
268
|
+
},
|
|
269
|
+
"typescale": {
|
|
270
|
+
"$type": "typography",
|
|
271
|
+
"$description": "The text of a cell, per size. A row header and a footer cell take the same style at its emphasized weight.",
|
|
272
|
+
"medium": {
|
|
273
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
274
|
+
},
|
|
275
|
+
"small": {
|
|
276
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"header": {
|
|
282
|
+
"container": {
|
|
283
|
+
"color": {
|
|
284
|
+
"$type": "color",
|
|
285
|
+
"$value": {
|
|
286
|
+
"colorSpace": "srgb",
|
|
287
|
+
"components": [
|
|
288
|
+
0,
|
|
289
|
+
0,
|
|
290
|
+
0
|
|
291
|
+
],
|
|
292
|
+
"alpha": 0,
|
|
293
|
+
"hex": "#000000"
|
|
294
|
+
},
|
|
295
|
+
"$description": "The fill of the header row. None in the default system: a column header is told from the data by its text style, its quieter color and the line under it. A design system whose tables carry a filled header sets a container step here.",
|
|
296
|
+
"$extensions": {
|
|
297
|
+
"dev.tanrei.vocabulary": {
|
|
298
|
+
"rationale": "One design system draws the header of a table on a quiet fill and another on none; a product that takes the first must be able to say which fill.",
|
|
299
|
+
"since": "0.1.0"
|
|
300
|
+
},
|
|
301
|
+
"dev.tanrei.derive": {
|
|
302
|
+
"fixed": "The header row has no fill of its own in the default system; the surface behind shows through."
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"text": {
|
|
308
|
+
"color": {
|
|
309
|
+
"$type": "color",
|
|
310
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
311
|
+
"$description": "The text of a column header: secondary content, quieter than the data it names."
|
|
312
|
+
},
|
|
313
|
+
"typescale": {
|
|
314
|
+
"$type": "typography",
|
|
315
|
+
"$description": "The text of a column header, per size: a label, not running text.",
|
|
316
|
+
"medium": {
|
|
317
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
318
|
+
},
|
|
319
|
+
"small": {
|
|
320
|
+
"$value": "{tanrei.sys.typescale.label-small}"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"gap": {
|
|
325
|
+
"$type": "dimension",
|
|
326
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
327
|
+
"$description": "Space between the label of a sortable column's header and its mark.",
|
|
328
|
+
"$extensions": {
|
|
329
|
+
"dev.tanrei.vocabulary": {
|
|
330
|
+
"rationale": "One product whose tables are sorted by their headers sets how close the mark of the order stands to the name it belongs to.",
|
|
331
|
+
"since": "0.1.0"
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"icon": {
|
|
336
|
+
"size": {
|
|
337
|
+
"$type": "dimension",
|
|
338
|
+
"$value": "{tanrei.sys.icon.extra-small}",
|
|
339
|
+
"$description": "The glyph box of the mark of a sortable column, at both sizes: the smallest step of the icon scale, beside a label."
|
|
340
|
+
},
|
|
341
|
+
"weight": {
|
|
342
|
+
"$type": "number",
|
|
343
|
+
"$value": "{tanrei.sys.icon.mark.weight}",
|
|
344
|
+
"$description": "The weight of the mark of a sortable column: it is the control's own mark, the one thing that says which way the rows run, drawn at the smallest size the system has; at the weight of an icon beside a label its stroke is about one pixel wide."
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"sort": {
|
|
349
|
+
"$type": "color",
|
|
350
|
+
"$extensions": {
|
|
351
|
+
"dev.tanrei.vocabulary": {
|
|
352
|
+
"rationale": "One product lets a person put the rows of a table in the order of a column by pressing its header, and must show which headers can be pressed before any of them is.",
|
|
353
|
+
"since": "0.1.0"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"container": {
|
|
357
|
+
"color": {
|
|
358
|
+
"$value": {
|
|
359
|
+
"colorSpace": "srgb",
|
|
360
|
+
"components": [
|
|
361
|
+
0,
|
|
362
|
+
0,
|
|
363
|
+
0
|
|
364
|
+
],
|
|
365
|
+
"alpha": 0,
|
|
366
|
+
"hex": "#000000"
|
|
367
|
+
},
|
|
368
|
+
"$extensions": {
|
|
369
|
+
"dev.tanrei.derive": {
|
|
370
|
+
"fixed": "A sortable header has no fill at rest; the header row's shows through."
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"$description": "The fill of the header cell of a column that can be sorted and is not the one the rows are ordered by. None at rest: it is where hover, focus and press are drawn."
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"label": {
|
|
377
|
+
"color": {
|
|
378
|
+
"$value": "{tanrei.comp.table.header.text.color}",
|
|
379
|
+
"$description": "The label of a sortable header that is not sorted: a column header's own color, so that a table whose columns can all be sorted reads as quietly as one whose columns cannot."
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"icon": {
|
|
383
|
+
"color": {
|
|
384
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
385
|
+
"$description": "The mark that says the column can be sorted (the two-way arrow): secondary content."
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"state-layer": {
|
|
389
|
+
"color": {
|
|
390
|
+
"$value": "{tanrei.comp.table.sort.label.color}",
|
|
391
|
+
"$description": "The color hover, focus and press mix into the container."
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"sorted": {
|
|
396
|
+
"$type": "color",
|
|
397
|
+
"container": {
|
|
398
|
+
"color": {
|
|
399
|
+
"$value": {
|
|
400
|
+
"colorSpace": "srgb",
|
|
401
|
+
"components": [
|
|
402
|
+
0,
|
|
403
|
+
0,
|
|
404
|
+
0
|
|
405
|
+
],
|
|
406
|
+
"alpha": 0,
|
|
407
|
+
"hex": "#000000"
|
|
408
|
+
},
|
|
409
|
+
"$extensions": {
|
|
410
|
+
"dev.tanrei.derive": {
|
|
411
|
+
"fixed": "The header of the sorted column has no fill at rest: it is told by its mark and its label, not by a fill."
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"$description": "The fill of the header cell of the column the rows are ordered by. None at rest."
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"label": {
|
|
418
|
+
"color": {
|
|
419
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
420
|
+
"$description": "The label of the column the rows are ordered by: the color of the data, a step stronger than the other headers, so that the sorted column is told by more than its mark."
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"icon": {
|
|
424
|
+
"color": {
|
|
425
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
426
|
+
"$description": "The arrow that says which way the rows run: up for ascending, down for descending."
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
"state-layer": {
|
|
430
|
+
"color": {
|
|
431
|
+
"$value": "{tanrei.comp.table.sorted.label.color}",
|
|
432
|
+
"$description": "The color hover, focus and press mix into the container."
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"sticky": {
|
|
437
|
+
"container": {
|
|
438
|
+
"color": {
|
|
439
|
+
"$type": "color",
|
|
440
|
+
"$value": "{tanrei.sys.color.surface}",
|
|
441
|
+
"$description": "The fill a header row, a first column and a status line take while they are kept in view, under their own fill, so that the cells passing beneath them are covered: the color of the surface the table sits on. A table on another surface (a card, a dialog, a sheet) sets that surface's color here.",
|
|
442
|
+
"$extensions": {
|
|
443
|
+
"dev.tanrei.vocabulary": {
|
|
444
|
+
"rationale": "One product keeps the header of a long table in view on its page and of another inside a card; a part that stays while others pass under it must be opaque, in the color of what it sits on.",
|
|
445
|
+
"since": "0.1.0"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"stripe": {
|
|
452
|
+
"container": {
|
|
453
|
+
"color": {
|
|
454
|
+
"$type": "color",
|
|
455
|
+
"$value": "{tanrei.sys.color.surface-container-low}",
|
|
456
|
+
"$description": "The fill of every second body row of a striped table: the quietest container step above the surface, enough to carry the eye along a wide row and no more.",
|
|
457
|
+
"$extensions": {
|
|
458
|
+
"dev.tanrei.vocabulary": {
|
|
459
|
+
"rationale": "One product stripes a wide table of many similar rows, where the eye loses its row on the way across, and leaves its small tables plain.",
|
|
460
|
+
"since": "0.1.0"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"empty": {
|
|
467
|
+
"$extensions": {
|
|
468
|
+
"dev.tanrei.vocabulary": {
|
|
469
|
+
"rationale": "One product shows a table that holds nothing yet, or nothing that matches, with its header in place and the reason where the rows would be, and gives that reason room.",
|
|
470
|
+
"since": "0.1.0"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"padding-block": {
|
|
474
|
+
"$type": "dimension",
|
|
475
|
+
"$value": "{tanrei.sys.space.space400}",
|
|
476
|
+
"$description": "Space above and below what stands in the place of the rows of a table that has none (the product's Empty state). Its inline space is a cell's, by size."
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"caption": {
|
|
480
|
+
"$extensions": {
|
|
481
|
+
"dev.tanrei.vocabulary": {
|
|
482
|
+
"rationale": "One product names a table where people see it — \"Table 2: response times by region\" — apart from the headings of the page.",
|
|
483
|
+
"since": "0.1.0"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"gap": {
|
|
487
|
+
"$type": "dimension",
|
|
488
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
489
|
+
"$description": "Space between the caption and the table's first row."
|
|
490
|
+
},
|
|
491
|
+
"text": {
|
|
492
|
+
"color": {
|
|
493
|
+
"$type": "color",
|
|
494
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
495
|
+
"$description": "The caption's text: secondary content."
|
|
496
|
+
},
|
|
497
|
+
"typescale": {
|
|
498
|
+
"$type": "typography",
|
|
499
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
500
|
+
"$description": "The caption's text style, at both sizes: secondary text, one step under the medium cell's."
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"status": {
|
|
505
|
+
"$extensions": {
|
|
506
|
+
"dev.tanrei.vocabulary": {
|
|
507
|
+
"rationale": "One product says under a table what the table shows now — how many records, which of them, how many are chosen — and puts the way to the next part of them on the same line.",
|
|
508
|
+
"since": "0.1.0"
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"padding-block": {
|
|
512
|
+
"$type": "dimension",
|
|
513
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
514
|
+
"$description": "Space above and below the content of the status line. Its inline space is a cell's, by size, so that its text begins where the first column's does."
|
|
515
|
+
},
|
|
516
|
+
"gap": {
|
|
517
|
+
"$type": "dimension",
|
|
518
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
519
|
+
"$description": "Space between the status text and the pagination on one line, and between them when the line breaks in two."
|
|
520
|
+
},
|
|
521
|
+
"text": {
|
|
522
|
+
"color": {
|
|
523
|
+
"$type": "color",
|
|
524
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
525
|
+
"$description": "The status text: secondary content, as the caption is."
|
|
526
|
+
},
|
|
527
|
+
"typescale": {
|
|
528
|
+
"$type": "typography",
|
|
529
|
+
"$value": "{tanrei.sys.typescale.body-small}",
|
|
530
|
+
"$description": "The status text, at both sizes: the caption's style."
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"motion": {
|
|
535
|
+
"state-duration": {
|
|
536
|
+
"$type": "duration",
|
|
537
|
+
"$value": "{tanrei.sys.motion.role.state.large}",
|
|
538
|
+
"$description": "How long a sortable header takes to change between its states."
|
|
539
|
+
},
|
|
540
|
+
"state-easing": {
|
|
541
|
+
"$type": "cubicBezier",
|
|
542
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
543
|
+
},
|
|
544
|
+
"feedback-duration": {
|
|
545
|
+
"$type": "duration",
|
|
546
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
547
|
+
"$description": "How long the answer to a press on a sortable header takes to spread when sys.behavior.pressed-feedback is ripple: the pressed layer grows from the point of contact over this time, with state-easing. Unused by the other choices."
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|