@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,204 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"card": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product groups related content into cards that set a region apart from its background by edge, by tone or by depth — some of them a single action that opens what they show, enabled and disabled.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"elevated",
|
|
13
|
+
"filled",
|
|
14
|
+
"outlined"
|
|
15
|
+
],
|
|
16
|
+
"states": [
|
|
17
|
+
"hovered",
|
|
18
|
+
"focused",
|
|
19
|
+
"pressed",
|
|
20
|
+
"disabled"
|
|
21
|
+
],
|
|
22
|
+
"perVariant": {
|
|
23
|
+
"container.color": "color",
|
|
24
|
+
"container.elevation": "shadow",
|
|
25
|
+
"outline.color": "color",
|
|
26
|
+
"content.color": "color",
|
|
27
|
+
"state-layer.color": "color"
|
|
28
|
+
},
|
|
29
|
+
"perComponent": {
|
|
30
|
+
"opacity": "number"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"dev.tanrei.llm": {
|
|
34
|
+
"usage": "Everything a card reads: its corner shape, content padding and outline width, and for each variant (elevated, filled, outlined) the container color and elevation, the outline color and the content color it hands to what it holds, in each state. The state tokens are read only by an interactive card.",
|
|
35
|
+
"rules": [
|
|
36
|
+
"A card holds any content; it prescribes no media, headline or action layout. Use the heading-5 text style for a card title.",
|
|
37
|
+
"An interactive card is one action: never put buttons, links or fields inside it. A card with its own actions stays non-interactive.",
|
|
38
|
+
"Pick the variant by the background: a filled card disappears on a surface of the same tone, so use outlined or elevated there.",
|
|
39
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
40
|
+
"Each variant's state-layer.color is the color hover, focus and press mix into an interactive card's container; it aliases the variant's content color."
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"dev.tanrei.axes": {
|
|
44
|
+
"variant": {
|
|
45
|
+
"default": "outlined",
|
|
46
|
+
"from": "states"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"container": {
|
|
51
|
+
"shape": {
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$value": "{tanrei.sys.shape.corner.medium}"
|
|
54
|
+
},
|
|
55
|
+
"padding": {
|
|
56
|
+
"$type": "dimension",
|
|
57
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
58
|
+
"$description": "Inset of the content on every side while inset is true. Content that bleeds to the edges (media) sets inset to false and may read this token to pad its own text."
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"outline": {
|
|
62
|
+
"width": {
|
|
63
|
+
"$type": "dimension",
|
|
64
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"elevated": {
|
|
68
|
+
"container": {
|
|
69
|
+
"color": {
|
|
70
|
+
"$type": "color",
|
|
71
|
+
"$value": "{tanrei.sys.color.surface-container-lowest}"
|
|
72
|
+
},
|
|
73
|
+
"elevation": {
|
|
74
|
+
"$type": "shadow",
|
|
75
|
+
"$description": "The elevated card's resting depth. Tanrei's level1 is only the hairline ring, which on a white surface draws exactly the outlined card, so it rests at level2; a system whose level1 is a real shadow (m3-like, cupertino) sets level1.",
|
|
76
|
+
"$value": "{tanrei.sys.elevation.level2}"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"outline": {
|
|
80
|
+
"color": {
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"$value": {
|
|
83
|
+
"colorSpace": "srgb",
|
|
84
|
+
"components": [
|
|
85
|
+
0,
|
|
86
|
+
0,
|
|
87
|
+
0
|
|
88
|
+
],
|
|
89
|
+
"alpha": 0,
|
|
90
|
+
"hex": "#000000"
|
|
91
|
+
},
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"dev.tanrei.derive": {
|
|
94
|
+
"fixed": "This variant has no border."
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"content": {
|
|
100
|
+
"color": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"state-layer": {
|
|
106
|
+
"color": {
|
|
107
|
+
"$type": "color",
|
|
108
|
+
"$value": "{tanrei.comp.card.elevated.content.color}"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"filled": {
|
|
113
|
+
"container": {
|
|
114
|
+
"color": {
|
|
115
|
+
"$type": "color",
|
|
116
|
+
"$value": "{tanrei.sys.color.surface-container-highest}"
|
|
117
|
+
},
|
|
118
|
+
"elevation": {
|
|
119
|
+
"$type": "shadow",
|
|
120
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"outline": {
|
|
124
|
+
"color": {
|
|
125
|
+
"$type": "color",
|
|
126
|
+
"$value": {
|
|
127
|
+
"colorSpace": "srgb",
|
|
128
|
+
"components": [
|
|
129
|
+
0,
|
|
130
|
+
0,
|
|
131
|
+
0
|
|
132
|
+
],
|
|
133
|
+
"alpha": 0,
|
|
134
|
+
"hex": "#000000"
|
|
135
|
+
},
|
|
136
|
+
"$extensions": {
|
|
137
|
+
"dev.tanrei.derive": {
|
|
138
|
+
"fixed": "This variant has no border."
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"content": {
|
|
144
|
+
"color": {
|
|
145
|
+
"$type": "color",
|
|
146
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"state-layer": {
|
|
150
|
+
"color": {
|
|
151
|
+
"$type": "color",
|
|
152
|
+
"$value": "{tanrei.comp.card.filled.content.color}"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"outlined": {
|
|
157
|
+
"container": {
|
|
158
|
+
"color": {
|
|
159
|
+
"$type": "color",
|
|
160
|
+
"$value": "{tanrei.sys.color.surface}"
|
|
161
|
+
},
|
|
162
|
+
"elevation": {
|
|
163
|
+
"$type": "shadow",
|
|
164
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"outline": {
|
|
168
|
+
"color": {
|
|
169
|
+
"$type": "color",
|
|
170
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"content": {
|
|
174
|
+
"color": {
|
|
175
|
+
"$type": "color",
|
|
176
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"state-layer": {
|
|
180
|
+
"color": {
|
|
181
|
+
"$type": "color",
|
|
182
|
+
"$value": "{tanrei.comp.card.outlined.content.color}"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"motion": {
|
|
187
|
+
"state-duration": {
|
|
188
|
+
"$type": "duration",
|
|
189
|
+
"$value": "{tanrei.sys.motion.role.state.large}"
|
|
190
|
+
},
|
|
191
|
+
"state-easing": {
|
|
192
|
+
"$type": "cubicBezier",
|
|
193
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
194
|
+
},
|
|
195
|
+
"feedback-duration": {
|
|
196
|
+
"$type": "duration",
|
|
197
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
198
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"carousel": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product lets people browse a row of visual items (albums, places, products) that scrolls sideways around one item in focus, in the centre or at the start: the others narrower or drawn smaller or neither, always the same gap apart, snapping or free, endless or not, and, for a featured row, advancing by itself with its position shown in dots and a way to stop it.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"item",
|
|
13
|
+
"playback",
|
|
14
|
+
"indicator"
|
|
15
|
+
],
|
|
16
|
+
"states": [
|
|
17
|
+
"hovered",
|
|
18
|
+
"focused",
|
|
19
|
+
"pressed"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"content.color": "color",
|
|
24
|
+
"state-layer.color": "color"
|
|
25
|
+
},
|
|
26
|
+
"perComponent": {
|
|
27
|
+
"opacity": "number",
|
|
28
|
+
"container.shape": "dimension"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"dev.tanrei.llm": {
|
|
32
|
+
"usage": "Everything a carousel reads: the row's height, the padding before the first and after the last item and the gap between items; an item's corner shape, the default width of the hero, the least and greatest width of a small item and the scale of an item away from the hero; the controls row below the items (its height, the playback control's size, shape and glyph size, the padding around the dots) and the dots (size, stretched width, gap, color); for the three pressable parts (`item`, `playback`, `indicator`) their container, content and state-layer colors in each state; the opacity and item shape per state; how long an item stays before autoplay moves on; and the state, scroll and autoplay motion.",
|
|
33
|
+
"rules": [
|
|
34
|
+
"An item's content (an image, a poster) is the product's; the carousel clips it to the item's shape and aligns it (centred, or toward the hero), so a narrowed item shows part of it.",
|
|
35
|
+
"Every item is one action with an accessible label; never put buttons or links inside an item.",
|
|
36
|
+
"Give items content whose middle (or, aligned toward the hero, whose near side) still says what it is: a small item shows only that.",
|
|
37
|
+
"A carousel that advances by itself shows its playback control. A product may hide it, but should keep it wherever it can: on touch there is no hover to hold the motion, so without the control the person cannot stop it (WCAG 2.2.2).",
|
|
38
|
+
"The dots show where the row is and move it; they are one control (a slider), not a row of buttons. Use them for a short featured row, not for a long list to browse.",
|
|
39
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
40
|
+
"Each part's state-layer.color is the color hover, focus and press mix into its container; it aliases the part's content color."
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"dev.tanrei.axes": {
|
|
44
|
+
"part": {
|
|
45
|
+
"default": "item",
|
|
46
|
+
"from": "states"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"layout": {
|
|
51
|
+
"height": {
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$value": {
|
|
54
|
+
"value": 200,
|
|
55
|
+
"unit": "px"
|
|
56
|
+
},
|
|
57
|
+
"$description": "The height of the row of items, and so of the items, unless the product sizes the carousel through the platform's own sizing. The controls row, when drawn, is added below it.",
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"dev.tanrei.derive": {
|
|
60
|
+
"fn": "mul",
|
|
61
|
+
"of": "{tanrei.dial.size.unit}",
|
|
62
|
+
"by": 50
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"padding-inline": {
|
|
67
|
+
"$type": "dimension",
|
|
68
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
69
|
+
"$description": "Between each of the carousel's edges and the inner width the slots are laid out in. Items scroll under it to the carousel's edges; it is not a clip, and with fluid widths nothing is drawn in it at rest. The playback control sits inside it."
|
|
70
|
+
},
|
|
71
|
+
"gap": {
|
|
72
|
+
"$type": "dimension",
|
|
73
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
74
|
+
"$description": "Between two neighbouring items, from drawn edge to drawn edge, at every scroll position and at every scale (CRL-40). Half of it on each side completes a small item's touch target (CRL-4)."
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"container": {
|
|
78
|
+
"shape": {
|
|
79
|
+
"$type": "dimension",
|
|
80
|
+
"$value": "{tanrei.sys.shape.corner.large}",
|
|
81
|
+
"$description": "An item's corners, which clip its content."
|
|
82
|
+
},
|
|
83
|
+
"large-width": {
|
|
84
|
+
"$type": "dimension",
|
|
85
|
+
"$value": {
|
|
86
|
+
"value": 200,
|
|
87
|
+
"unit": "px"
|
|
88
|
+
},
|
|
89
|
+
"$description": "The width the hero is laid out at, and every item's width while widths are fixed, unless the product gives the carousel another (itemWidth). With fluid widths the hero is kept between a floor and a cap (CRL-9).",
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"dev.tanrei.derive": {
|
|
92
|
+
"fn": "mul",
|
|
93
|
+
"of": "{tanrei.dial.size.unit}",
|
|
94
|
+
"by": 50
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"small-min-width": {
|
|
99
|
+
"$type": "dimension",
|
|
100
|
+
"$value": {
|
|
101
|
+
"value": 40,
|
|
102
|
+
"unit": "px"
|
|
103
|
+
},
|
|
104
|
+
"$description": "With fluid widths, the narrowest a small slot may be: enough to show that more follows and, with the gap, to be pressed. An item is narrower only on its way in or out at an edge (CRL-12).",
|
|
105
|
+
"$extensions": {
|
|
106
|
+
"dev.tanrei.derive": {
|
|
107
|
+
"fn": "mul",
|
|
108
|
+
"of": "{tanrei.dial.size.unit}",
|
|
109
|
+
"by": 10
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"small-max-width": {
|
|
114
|
+
"$type": "dimension",
|
|
115
|
+
"$value": {
|
|
116
|
+
"value": 56,
|
|
117
|
+
"unit": "px"
|
|
118
|
+
},
|
|
119
|
+
"$description": "With fluid widths, the widest a small slot is made (CRL-10 lets it grow past this only in the cases it names); the hero's cap leaves one small slot this wide on each side where items follow.",
|
|
120
|
+
"$extensions": {
|
|
121
|
+
"dev.tanrei.derive": {
|
|
122
|
+
"fn": "mul",
|
|
123
|
+
"of": "{tanrei.dial.size.unit}",
|
|
124
|
+
"by": 14
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"min-scale": {
|
|
129
|
+
"$type": "number",
|
|
130
|
+
"$value": 0.85,
|
|
131
|
+
"$description": "While the other items are drawn smaller (scaleOthers), the scale of an item one position or more from the hero; between the two the scale follows the scroll. The gap to its neighbours stays layout.gap, and its corners keep container.shape (CRL-26).",
|
|
132
|
+
"$extensions": {
|
|
133
|
+
"dev.tanrei.vocabulary": {
|
|
134
|
+
"rationale": "One product decides how far its carousels recede around the item in focus: a strong depth for a showcase, a hint for a row of covers. It is the carousel's own proportion, and a product sets it once.",
|
|
135
|
+
"since": "0.1.0"
|
|
136
|
+
},
|
|
137
|
+
"dev.tanrei.derive": {
|
|
138
|
+
"fixed": "A proportion of the item's own size; no dial scales it."
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"controls": {
|
|
144
|
+
"$extensions": {
|
|
145
|
+
"dev.tanrei.vocabulary": {
|
|
146
|
+
"rationale": "One product that shows dots or a playback control below its carousels sizes that row, the control and the space around the dots once, apart from its buttons elsewhere (a component that contains a control owns its tokens).",
|
|
147
|
+
"since": "0.1.0"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"height": {
|
|
151
|
+
"$type": "dimension",
|
|
152
|
+
"$value": {
|
|
153
|
+
"value": 36,
|
|
154
|
+
"unit": "px"
|
|
155
|
+
},
|
|
156
|
+
"$description": "The controls row below the items, drawn while the dots or the playback control are. As tall as a touch target, and never lower than the controls it holds (controls.button-size), so both controls keep their whole target inside it: the control height in the default system.",
|
|
157
|
+
"$extensions": {
|
|
158
|
+
"dev.tanrei.derive": {
|
|
159
|
+
"fn": "mul",
|
|
160
|
+
"of": "{tanrei.comp.carousel.controls.button-size}",
|
|
161
|
+
"by": 1,
|
|
162
|
+
"min": "{tanrei.sys.target.touch}"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"button-size": {
|
|
167
|
+
"$type": "dimension",
|
|
168
|
+
"$value": {
|
|
169
|
+
"value": 36,
|
|
170
|
+
"unit": "px"
|
|
171
|
+
},
|
|
172
|
+
"$description": "The playback control's square, and the height of the dots' container, around a 24 glyph: the control height (36 in the default system), held at the minimum target, so that the controls row stands as tall as an icon-only Button of the default size.",
|
|
173
|
+
"$extensions": {
|
|
174
|
+
"dev.tanrei.derive": {
|
|
175
|
+
"fn": "mul",
|
|
176
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
177
|
+
"by": 1,
|
|
178
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
179
|
+
},
|
|
180
|
+
"dev.tanrei.aligned": "control"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"shape": {
|
|
184
|
+
"$type": "dimension",
|
|
185
|
+
"$value": "{tanrei.sys.shape.corner.full}",
|
|
186
|
+
"$description": "The corners of the playback control and of the dots' container: a circle and a pill, as button-like controls are in the default system."
|
|
187
|
+
},
|
|
188
|
+
"icon": {
|
|
189
|
+
"size": {
|
|
190
|
+
"$type": "dimension",
|
|
191
|
+
"$value": "{tanrei.sys.icon.medium}",
|
|
192
|
+
"$description": "The pause and play glyphs: an icon-only button's medium glyph."
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"indicator-padding-inline": {
|
|
196
|
+
"$type": "dimension",
|
|
197
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
198
|
+
"$description": "Between the dots' ends and the ends of their container, which shows hover, focus and press."
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"navigation": {
|
|
202
|
+
"button": {
|
|
203
|
+
"variant": {
|
|
204
|
+
"$type": "number",
|
|
205
|
+
"$value": 2,
|
|
206
|
+
"$description": "The Button variant of the previous and next controls, icon-only Buttons of the size navigation.button.size names that stand over the ends of the row (CRL-41): elevated by default, a light fill with a shadow, so that the control stands apart from whatever the item under it shows. The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
|
|
207
|
+
"$extensions": {
|
|
208
|
+
"dev.tanrei.vocabulary": {
|
|
209
|
+
"rationale": "One product's previous and next controls stand on whatever its items show, so it chooses a variant with a fill of its own; which fill is the product's.",
|
|
210
|
+
"since": "0.1.0"
|
|
211
|
+
},
|
|
212
|
+
"dev.tanrei.enum": {
|
|
213
|
+
"values": [
|
|
214
|
+
"filled",
|
|
215
|
+
"tonal",
|
|
216
|
+
"elevated",
|
|
217
|
+
"outlined",
|
|
218
|
+
"text"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"dev.tanrei.derive": {
|
|
222
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"size": {
|
|
227
|
+
"$type": "number",
|
|
228
|
+
"$value": 1,
|
|
229
|
+
"$description": "The Button size of the previous and next controls, icon-only Buttons that stand over the ends of the row (CRL-41): medium in the default system. The value is an index into dev.tanrei.enum.values, the core Button sizes; platforms receive the name.",
|
|
230
|
+
"$extensions": {
|
|
231
|
+
"dev.tanrei.vocabulary": {
|
|
232
|
+
"rationale": "One product's previous and next controls stand over whatever its items show; whether they are small, to hide less of them, or larger, to be easier to reach, is the product's choice."
|
|
233
|
+
},
|
|
234
|
+
"dev.tanrei.enum": {
|
|
235
|
+
"values": [
|
|
236
|
+
"small",
|
|
237
|
+
"medium",
|
|
238
|
+
"large"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"dev.tanrei.derive": {
|
|
242
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"dot": {
|
|
249
|
+
"$extensions": {
|
|
250
|
+
"dev.tanrei.vocabulary": {
|
|
251
|
+
"rationale": "One product draws the position of its featured carousels as dots, and decides once how large they are, how far the current one stretches, how far apart they sit and how quiet the others are.",
|
|
252
|
+
"since": "0.1.0"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"size": {
|
|
256
|
+
"$type": "dimension",
|
|
257
|
+
"$value": {
|
|
258
|
+
"value": 8,
|
|
259
|
+
"unit": "px"
|
|
260
|
+
},
|
|
261
|
+
"$description": "A dot's diameter, and the height of every dot, stretched or not.",
|
|
262
|
+
"$extensions": {
|
|
263
|
+
"dev.tanrei.derive": {
|
|
264
|
+
"fn": "mul",
|
|
265
|
+
"of": "{tanrei.dial.size.unit}",
|
|
266
|
+
"by": 2
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"active-width": {
|
|
271
|
+
"$type": "dimension",
|
|
272
|
+
"$value": {
|
|
273
|
+
"value": 24,
|
|
274
|
+
"unit": "px"
|
|
275
|
+
},
|
|
276
|
+
"$description": "The width of the current dot, fully stretched. Its shape, not its color alone, tells it apart (WCAG 1.4.1); a width equal to size draws no stretch.",
|
|
277
|
+
"$extensions": {
|
|
278
|
+
"dev.tanrei.derive": {
|
|
279
|
+
"fn": "mul",
|
|
280
|
+
"of": "{tanrei.dial.size.unit}",
|
|
281
|
+
"by": 6
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"gap": {
|
|
286
|
+
"$type": "dimension",
|
|
287
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
288
|
+
"$description": "Between two dots."
|
|
289
|
+
},
|
|
290
|
+
"color": {
|
|
291
|
+
"$type": "color",
|
|
292
|
+
"$value": "{tanrei.sys.color.outline}",
|
|
293
|
+
"$description": "Every dot but the current one, and the unfilled part of the current dot while autoplay progress is shown. The functional outline role: the dots are a control, held to 3:1 against the surface."
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"item": {
|
|
297
|
+
"container": {
|
|
298
|
+
"color": {
|
|
299
|
+
"$type": "color",
|
|
300
|
+
"$value": "{tanrei.sys.color.surface-container-highest}",
|
|
301
|
+
"$description": "Behind an item's content: what shows while an image loads, around content that does not fill the item, and under the state layer."
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"content": {
|
|
305
|
+
"color": {
|
|
306
|
+
"$type": "color",
|
|
307
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
308
|
+
"$description": "The foreground the carousel hands to an item's content, as the platform's inherited color."
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"state-layer": {
|
|
312
|
+
"color": {
|
|
313
|
+
"$type": "color",
|
|
314
|
+
"$value": "{tanrei.comp.carousel.item.content.color}"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"playback": {
|
|
319
|
+
"$extensions": {
|
|
320
|
+
"dev.tanrei.vocabulary": {
|
|
321
|
+
"rationale": "One product styles the control that stops and starts its carousels apart from its other icon buttons, for example quieter over a busy row.",
|
|
322
|
+
"since": "0.1.0"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"container": {
|
|
326
|
+
"color": {
|
|
327
|
+
"$type": "color",
|
|
328
|
+
"$value": {
|
|
329
|
+
"colorSpace": "srgb",
|
|
330
|
+
"components": [
|
|
331
|
+
0,
|
|
332
|
+
0,
|
|
333
|
+
0
|
|
334
|
+
],
|
|
335
|
+
"alpha": 0,
|
|
336
|
+
"hex": "#000000"
|
|
337
|
+
},
|
|
338
|
+
"$description": "The playback control has no fill at rest, as an icon-only text Button.",
|
|
339
|
+
"$extensions": {
|
|
340
|
+
"dev.tanrei.derive": {
|
|
341
|
+
"fixed": "The playback control draws no fill at rest; its states draw the state layer."
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"content": {
|
|
347
|
+
"color": {
|
|
348
|
+
"$type": "color",
|
|
349
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
350
|
+
"$description": "The pause and play glyphs: an icon-only text Button's glyph color."
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"state-layer": {
|
|
354
|
+
"color": {
|
|
355
|
+
"$type": "color",
|
|
356
|
+
"$value": "{tanrei.comp.carousel.playback.content.color}"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"indicator": {
|
|
361
|
+
"$extensions": {
|
|
362
|
+
"dev.tanrei.vocabulary": {
|
|
363
|
+
"rationale": "One product marks the current position of its carousels in a color of its choosing, and answers a press on the dots as it answers other controls.",
|
|
364
|
+
"since": "0.1.0"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"container": {
|
|
368
|
+
"color": {
|
|
369
|
+
"$type": "color",
|
|
370
|
+
"$value": {
|
|
371
|
+
"colorSpace": "srgb",
|
|
372
|
+
"components": [
|
|
373
|
+
0,
|
|
374
|
+
0,
|
|
375
|
+
0
|
|
376
|
+
],
|
|
377
|
+
"alpha": 0,
|
|
378
|
+
"hex": "#000000"
|
|
379
|
+
},
|
|
380
|
+
"$description": "Behind the dots: no fill at rest; hover, focus and press show on it.",
|
|
381
|
+
"$extensions": {
|
|
382
|
+
"dev.tanrei.derive": {
|
|
383
|
+
"fixed": "The dots' container draws no fill at rest; its states draw the state layer."
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"content": {
|
|
389
|
+
"color": {
|
|
390
|
+
"$type": "color",
|
|
391
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
392
|
+
"$description": "The current dot, and the fill of autoplay progress. Other dots are dot.color."
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"state-layer": {
|
|
396
|
+
"color": {
|
|
397
|
+
"$type": "color",
|
|
398
|
+
"$value": "{tanrei.comp.carousel.indicator.content.color}"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"autoplay": {
|
|
403
|
+
"interval": {
|
|
404
|
+
"$type": "duration",
|
|
405
|
+
"$value": {
|
|
406
|
+
"value": 5000,
|
|
407
|
+
"unit": "ms"
|
|
408
|
+
},
|
|
409
|
+
"$description": "How long the row rests at an item before autoplay moves on, unless the product gives the carousel another (autoplayInterval).",
|
|
410
|
+
"$extensions": {
|
|
411
|
+
"dev.tanrei.vocabulary": {
|
|
412
|
+
"rationale": "One product decides how long its featured items stay in view before the next: long enough to read what they say.",
|
|
413
|
+
"since": "0.1.0"
|
|
414
|
+
},
|
|
415
|
+
"dev.tanrei.derive": {
|
|
416
|
+
"fixed": "A reading time, not an animation: the motion dial, which speeds or slows animation, must not shorten it."
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"motion": {
|
|
422
|
+
"state-duration": {
|
|
423
|
+
"$type": "duration",
|
|
424
|
+
"$value": "{tanrei.sys.motion.role.state.large}"
|
|
425
|
+
},
|
|
426
|
+
"state-easing": {
|
|
427
|
+
"$type": "cubicBezier",
|
|
428
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
429
|
+
},
|
|
430
|
+
"feedback-duration": {
|
|
431
|
+
"$type": "duration",
|
|
432
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
433
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
434
|
+
},
|
|
435
|
+
"scroll-duration": {
|
|
436
|
+
"$type": "duration",
|
|
437
|
+
"$value": "{tanrei.sys.motion.duration.medium2}",
|
|
438
|
+
"$description": "How long the row takes to settle at an item after a drag, or to bring an item into place when it takes focus or the dots move it."
|
|
439
|
+
},
|
|
440
|
+
"scroll-easing": {
|
|
441
|
+
"$type": "cubicBezier",
|
|
442
|
+
"$value": "{tanrei.sys.motion.easing.emphasized-decelerate}"
|
|
443
|
+
},
|
|
444
|
+
"autoplay-duration": {
|
|
445
|
+
"$type": "duration",
|
|
446
|
+
"$value": "{tanrei.sys.motion.duration.long2}",
|
|
447
|
+
"$description": "How long an automatic advance takes (and the return to the first item when the row does not loop).",
|
|
448
|
+
"$extensions": {
|
|
449
|
+
"dev.tanrei.vocabulary": {
|
|
450
|
+
"rationale": "A settle finishes the person's own gesture and should be quick; an advance moves the row when nobody asked, and one product may want it gentler than its settle.",
|
|
451
|
+
"since": "0.1.0"
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"autoplay-easing": {
|
|
456
|
+
"$type": "cubicBezier",
|
|
457
|
+
"$value": "{tanrei.sys.motion.easing.standard}",
|
|
458
|
+
"$extensions": {
|
|
459
|
+
"dev.tanrei.vocabulary": {
|
|
460
|
+
"rationale": "As autoplay-duration: an advance starts from rest, where a settle continues a fling, so it takes an easing that starts and ends gently.",
|
|
461
|
+
"since": "0.1.0"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|