@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,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"pagination": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product splits a long list into numbered pages — search results, the posts of a blog, the rows of a table — and offers a row of page numbers with the current one marked, previous and next, sometimes first and last, and a short form that says only which page of how many where the row has no room. A dense table pages with a smaller row than a page of results.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"item",
|
|
13
|
+
"current"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed",
|
|
19
|
+
"disabled"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"label.color": "color",
|
|
24
|
+
"icon.color": "color",
|
|
25
|
+
"state-layer.color": "color"
|
|
26
|
+
},
|
|
27
|
+
"perComponent": {
|
|
28
|
+
"opacity": "number",
|
|
29
|
+
"container.shape": "dimension"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"dev.tanrei.axes": {
|
|
33
|
+
"size": {
|
|
34
|
+
"default": "medium",
|
|
35
|
+
"values": [
|
|
36
|
+
"small",
|
|
37
|
+
"medium"
|
|
38
|
+
],
|
|
39
|
+
"members": [
|
|
40
|
+
"container.height"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"part": {
|
|
44
|
+
"default": "item",
|
|
45
|
+
"from": "states"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"dev.tanrei.llm": {
|
|
49
|
+
"usage": "Everything a pagination reads: the gap between its items; an item's height per size, its least width, inline padding and corners; the text style of a page number and of the short form's sentence; the arrows' size; the color of the ellipsis and of the short form's sentence; the timing of a state change; and the colors of an item's fill, number, arrow and state layer, for a page and for the current page, at rest and in each state.",
|
|
50
|
+
"rules": [
|
|
51
|
+
"A pagination moves through the numbered pages of one list: page numbers with the current one marked, previous and next, and first and last where the product asks for them. It is not for the page before and after in a sequence of titled pages: that is Previous and next links.",
|
|
52
|
+
"The current page is marked by its fill and by aria-current, never by color alone.",
|
|
53
|
+
"Previous, next, first and last are icon-only and named by the product's words; the arrows are drawn by the component and mirror in a right-to-left layout.",
|
|
54
|
+
"Pages that do not fit are left out behind an ellipsis, which is not a control. The number of places stays the same from page to page.",
|
|
55
|
+
"State tokens are valued by the design system's pattern rules; override one token or replace the rule.",
|
|
56
|
+
"Restyle through these tokens in a layer; never style the items by hand."
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"gap": {
|
|
61
|
+
"$type": "dimension",
|
|
62
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
63
|
+
"$description": "Space between two items of the row, and between the short form's sentence and the controls beside it."
|
|
64
|
+
},
|
|
65
|
+
"container": {
|
|
66
|
+
"height": {
|
|
67
|
+
"$type": "dimension",
|
|
68
|
+
"$description": "An item's height, per size, and its least width: a page number of one digit stands in a square.",
|
|
69
|
+
"small": {
|
|
70
|
+
"$value": {
|
|
71
|
+
"value": 28,
|
|
72
|
+
"unit": "px"
|
|
73
|
+
},
|
|
74
|
+
"$extensions": {
|
|
75
|
+
"dev.tanrei.derive": {
|
|
76
|
+
"fn": "mul",
|
|
77
|
+
"of": "{tanrei.sys.control.height.small}",
|
|
78
|
+
"by": 1
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"medium": {
|
|
83
|
+
"$value": {
|
|
84
|
+
"value": 36,
|
|
85
|
+
"unit": "px"
|
|
86
|
+
},
|
|
87
|
+
"$extensions": {
|
|
88
|
+
"dev.tanrei.derive": {
|
|
89
|
+
"fn": "mul",
|
|
90
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
91
|
+
"by": 1,
|
|
92
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
93
|
+
},
|
|
94
|
+
"dev.tanrei.aligned": "control"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"padding-inline": {
|
|
99
|
+
"$type": "dimension",
|
|
100
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
101
|
+
"$description": "Space on each side of a page number that is wider than the square: a number of three digits or more."
|
|
102
|
+
},
|
|
103
|
+
"shape": {
|
|
104
|
+
"$type": "dimension",
|
|
105
|
+
"$value": "{tanrei.sys.shape.corner.full}",
|
|
106
|
+
"$description": "The corners of an item, and of its focus ring. Fully rounded in the default system, as a button is: a page of one digit is a circle."
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"label": {
|
|
110
|
+
"typescale": {
|
|
111
|
+
"$type": "typography",
|
|
112
|
+
"$value": "{tanrei.sys.typescale.label}",
|
|
113
|
+
"$description": "A page number. Its digits are drawn at one width, so that the row keeps its width from page to page."
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"icon": {
|
|
117
|
+
"size": {
|
|
118
|
+
"$type": "dimension",
|
|
119
|
+
"$value": "{tanrei.sys.icon.small}",
|
|
120
|
+
"$description": "The box of the arrows of previous, next, first and last."
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"ellipsis": {
|
|
124
|
+
"color": {
|
|
125
|
+
"$type": "color",
|
|
126
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
127
|
+
"$description": "The ellipsis that stands for the pages left out. It is not a control and has no state."
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"count": {
|
|
131
|
+
"typescale": {
|
|
132
|
+
"$type": "typography",
|
|
133
|
+
"$value": "{tanrei.sys.typescale.body}",
|
|
134
|
+
"$description": "The short form's sentence (\"Page 3 of 10\")."
|
|
135
|
+
},
|
|
136
|
+
"color": {
|
|
137
|
+
"$type": "color",
|
|
138
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
139
|
+
"$description": "The short form's sentence."
|
|
140
|
+
},
|
|
141
|
+
"padding-inline": {
|
|
142
|
+
"$type": "dimension",
|
|
143
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
144
|
+
"$description": "Space on each side of the short form's sentence, between it and the controls."
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"item": {
|
|
148
|
+
"$type": "color",
|
|
149
|
+
"container": {
|
|
150
|
+
"color": {
|
|
151
|
+
"$value": {
|
|
152
|
+
"colorSpace": "srgb",
|
|
153
|
+
"components": [
|
|
154
|
+
0,
|
|
155
|
+
0,
|
|
156
|
+
0
|
|
157
|
+
],
|
|
158
|
+
"alpha": 0,
|
|
159
|
+
"hex": "#000000"
|
|
160
|
+
},
|
|
161
|
+
"$extensions": {
|
|
162
|
+
"dev.tanrei.derive": {
|
|
163
|
+
"fixed": "A page that is not the current one has no fill at rest; the surface behind it shows through."
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"$description": "The fill of a page and of previous, next, first and last. None at rest: it is where hover, focus and press are drawn."
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"label": {
|
|
170
|
+
"color": {
|
|
171
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
172
|
+
"$description": "A page number."
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"icon": {
|
|
176
|
+
"color": {
|
|
177
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
178
|
+
"$description": "The arrows of previous, next, first and last."
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"state-layer": {
|
|
182
|
+
"color": {
|
|
183
|
+
"$value": "{tanrei.comp.pagination.item.label.color}",
|
|
184
|
+
"$description": "The color hover, focus and press mix into an item's container: its number's."
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"current": {
|
|
189
|
+
"$type": "color",
|
|
190
|
+
"container": {
|
|
191
|
+
"color": {
|
|
192
|
+
"$value": "{tanrei.sys.color.secondary-container}",
|
|
193
|
+
"$description": "The fill of the current page, which marks it together with aria-current. The selected segment's color."
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"label": {
|
|
197
|
+
"color": {
|
|
198
|
+
"$value": "{tanrei.sys.color.on-secondary-container}",
|
|
199
|
+
"$description": "The number of the current page."
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"icon": {
|
|
203
|
+
"color": {
|
|
204
|
+
"$value": "{tanrei.sys.color.on-secondary-container}",
|
|
205
|
+
"$description": "Unused in the default system, where the current page draws no arrow; named so that every part has the same parts."
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"state-layer": {
|
|
209
|
+
"color": {
|
|
210
|
+
"$value": "{tanrei.comp.pagination.current.label.color}",
|
|
211
|
+
"$description": "The color hover, focus and press mix into the current page's container."
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"motion": {
|
|
216
|
+
"state-duration": {
|
|
217
|
+
"$type": "duration",
|
|
218
|
+
"$value": "{tanrei.sys.motion.role.state.compact}"
|
|
219
|
+
},
|
|
220
|
+
"state-easing": {
|
|
221
|
+
"$type": "cubicBezier",
|
|
222
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
223
|
+
},
|
|
224
|
+
"feedback-duration": {
|
|
225
|
+
"$type": "duration",
|
|
226
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
227
|
+
"$description": "How long the answer to a press 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."
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"popover": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product opens, from a control a person presses, a small surface that stands beside that control and holds something to read and act on — a few settings, a short form, a note with a link, a set of filters — while the rest of the page stays usable around it; and it wants that surface to look and behave like its menus and its docked pickers, which are the same kind of thing.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a popover reads: the container's color, elevation, corner shape, paddings, the gap between its parts, its least and greatest width and its greatest height; the distance to its anchor and to the window's edges; the window width below which it is a sheet; the arrow; the header's gap, the headline's color and text style and the close button's size and variant; the content color; the dividers shown while the content scrolls; how the actions are arranged, their default Button variant and their spacing; the open and close motion; and how long a pointer or keyboard focus rests on the anchor before a popover that opens by hover or focus opens, and how long it waits once they have left it before it closes.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A popover holds content a person reads or operates and opens from a control: by a press by default, or by hover or focus where its trigger says so. Something that only describes its anchor in a few words is a tooltip; a list of commands or choices is a menu; something the task cannot go on without is a dialog.",
|
|
14
|
+
"Beside its anchor a popover is not modal: no scrim, no focus trap, nothing behind it inert. Escape, a press outside it and focus leaving it close it. In a window narrower than compact.window-width it takes the bottom sheet's appearance and is modal, reading comp.bottom-sheet's container, scrim and motion tokens; compactPresentation own keeps one beside its anchor.",
|
|
15
|
+
"Say where it goes with placement, offset and crossOffset; never position it by hand. It flips, shifts and follows its anchor by itself.",
|
|
16
|
+
"Give it a name: headline where it draws one, label where it does not.",
|
|
17
|
+
"Its close button and its actions are Tanrei Buttons with Button's own tokens; the popover names only their variant. Re-value comp.popover.close-button.variant, comp.popover.actions.variant and comp.popover.actions.arrangement in a layer to change every popover of a product.",
|
|
18
|
+
"The container's color, elevation and shape have the menu's values by default so that every surface that opens from a control reads as one family; a system that sets one apart sets these tokens.",
|
|
19
|
+
"A component that draws an anchored surface of its own (a select, a combobox, a docked picker) keeps its own tokens and cites the popover's rules; it does not read comp.popover."
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"container": {
|
|
24
|
+
"color": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "{tanrei.sys.color.surface-bright}",
|
|
27
|
+
"$description": "The popover's sheet: the menu's, the docked picker's and the search view's color, so that every surface that opens from a control is the same sheet."
|
|
28
|
+
},
|
|
29
|
+
"elevation": {
|
|
30
|
+
"$type": "shadow",
|
|
31
|
+
"$value": "{tanrei.sys.elevation.level2}",
|
|
32
|
+
"$description": "The level of the menu's sheet: above the page and its raised parts, below a dialog."
|
|
33
|
+
},
|
|
34
|
+
"shape": {
|
|
35
|
+
"$type": "dimension",
|
|
36
|
+
"$value": "{tanrei.sys.shape.corner.medium}"
|
|
37
|
+
},
|
|
38
|
+
"padding-inline": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
41
|
+
"$description": "From the container's start and end edges to the header, the content (while inset) and the actions."
|
|
42
|
+
},
|
|
43
|
+
"padding-block": {
|
|
44
|
+
"$type": "dimension",
|
|
45
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
46
|
+
"$description": "From the container's top and bottom edges to its first and last part."
|
|
47
|
+
},
|
|
48
|
+
"gap": {
|
|
49
|
+
"$type": "dimension",
|
|
50
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
51
|
+
"$description": "Between the header and the content."
|
|
52
|
+
},
|
|
53
|
+
"min-width": {
|
|
54
|
+
"$type": "dimension",
|
|
55
|
+
"$value": {
|
|
56
|
+
"value": 160,
|
|
57
|
+
"unit": "px"
|
|
58
|
+
},
|
|
59
|
+
"$description": "The least width of a popover sized by its content: the menu's, so that the popover and the menu one control could open are never narrower than each other.",
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"dev.tanrei.derive": {
|
|
62
|
+
"fn": "mul",
|
|
63
|
+
"of": "{tanrei.dial.size.unit}",
|
|
64
|
+
"by": 40
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"max-width": {
|
|
69
|
+
"$type": "dimension",
|
|
70
|
+
"$value": {
|
|
71
|
+
"value": 400,
|
|
72
|
+
"unit": "px"
|
|
73
|
+
},
|
|
74
|
+
"$description": "The greatest width of a popover sized by its content; longer content wraps. Wider than a menu (a popover holds sentences and fields, a menu holds labels), narrower than a dialog.",
|
|
75
|
+
"$extensions": {
|
|
76
|
+
"dev.tanrei.derive": {
|
|
77
|
+
"fn": "mul",
|
|
78
|
+
"of": "{tanrei.dial.size.unit}",
|
|
79
|
+
"by": 100
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"max-height": {
|
|
84
|
+
"$type": "dimension",
|
|
85
|
+
"$value": {
|
|
86
|
+
"value": 480,
|
|
87
|
+
"unit": "px"
|
|
88
|
+
},
|
|
89
|
+
"$description": "The greatest height of a popover, whatever room the window has; taller content scrolls between the header and the actions. A popover that would need more is a dialog's or a sheet's content.",
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"dev.tanrei.vocabulary": {
|
|
92
|
+
"rationale": "One product keeps its popovers small beside the control that opened them: on a tall window a long list of filters scrolls inside the surface rather than growing into a column that hides the page it filters.",
|
|
93
|
+
"since": "0.1.0"
|
|
94
|
+
},
|
|
95
|
+
"dev.tanrei.derive": {
|
|
96
|
+
"fn": "mul",
|
|
97
|
+
"of": "{tanrei.dial.size.unit}",
|
|
98
|
+
"by": 120
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"offset": {
|
|
104
|
+
"$type": "dimension",
|
|
105
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
106
|
+
"$description": "The gap between the anchor's edge and the nearest part of the popover, on the side the popover is placed: the container's edge, or the arrow's tip while an arrow is drawn. A popover whose offset prop is set uses that in its place. The menu's and the tooltip's distance."
|
|
107
|
+
},
|
|
108
|
+
"window-margin": {
|
|
109
|
+
"$type": "dimension",
|
|
110
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
111
|
+
"$description": "The least distance between the popover and the edges of the window's safe area and the on-screen keyboard; the popover flips, shifts, narrows or, in a window smaller than itself, covers its anchor to keep it."
|
|
112
|
+
},
|
|
113
|
+
"compact": {
|
|
114
|
+
"window-width": {
|
|
115
|
+
"$type": "dimension",
|
|
116
|
+
"$value": "{tanrei.sys.breakpoint.medium}",
|
|
117
|
+
"$description": "A window narrower than this is compact: the popover takes the bottom sheet's appearance at the window's bottom edge instead of standing beside its anchor (POP-39). 0 keeps every popover beside its anchor in every window.",
|
|
118
|
+
"$extensions": {
|
|
119
|
+
"dev.tanrei.vocabulary": {
|
|
120
|
+
"rationale": "One product decides below which window width its popovers become sheets at the bottom of the window, as its dialogs do, and a product whose popovers stay beside their anchors everywhere sets 0."
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"arrow": {
|
|
126
|
+
"$extensions": {
|
|
127
|
+
"dev.tanrei.vocabulary": {
|
|
128
|
+
"rationale": "One product points some of its popovers, or all of them, at the control that opened them — on a crowded toolbar, or where the surface stands apart from a small control, the side alone does not say which control it belongs to — and tunes how large that pointer is.",
|
|
129
|
+
"since": "0.1.0"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"visible": {
|
|
133
|
+
"$type": "number",
|
|
134
|
+
"$value": 0,
|
|
135
|
+
"$description": "Whether a popover whose arrow the product did not set draws one (POP-10). off: the container alone, as a menu. on: a triangle on the edge that faces the anchor. A popover whose arrow is set keeps what it was given. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
136
|
+
"$extensions": {
|
|
137
|
+
"dev.tanrei.vocabulary": {
|
|
138
|
+
"rationale": "One product decides once whether its popovers point at their anchors, and still draws a single one the other way.",
|
|
139
|
+
"since": "0.1.0"
|
|
140
|
+
},
|
|
141
|
+
"dev.tanrei.enum": {
|
|
142
|
+
"values": [
|
|
143
|
+
"off",
|
|
144
|
+
"on"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"dev.tanrei.derive": {
|
|
148
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"width": {
|
|
153
|
+
"$type": "dimension",
|
|
154
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
155
|
+
"$description": "The arrow's base, along the container's edge. The tooltip's."
|
|
156
|
+
},
|
|
157
|
+
"height": {
|
|
158
|
+
"$type": "dimension",
|
|
159
|
+
"$value": "{tanrei.sys.space.space75}",
|
|
160
|
+
"$description": "From the container's edge to the arrow's tip. The container stands this much farther from the anchor while an arrow is drawn, so the tip keeps the offset."
|
|
161
|
+
},
|
|
162
|
+
"inset": {
|
|
163
|
+
"$type": "dimension",
|
|
164
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
165
|
+
"$description": "The least distance between the arrow's base and either end of the edge it stands on. Where the corner radius is larger, the radius is the least distance, so the arrow never stands on a curve."
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"header": {
|
|
169
|
+
"gap": {
|
|
170
|
+
"$type": "dimension",
|
|
171
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
172
|
+
"$description": "Between the headline and the close button."
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"headline": {
|
|
176
|
+
"color": {
|
|
177
|
+
"$type": "color",
|
|
178
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
179
|
+
},
|
|
180
|
+
"typescale": {
|
|
181
|
+
"$type": "typography",
|
|
182
|
+
"$value": "{tanrei.sys.typescale.heading-6}",
|
|
183
|
+
"$description": "The smallest heading: a popover's headline labels a small surface. The rich tooltip's title has the same style; a dialog's headline is one step larger."
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"close-button": {
|
|
187
|
+
"variant": {
|
|
188
|
+
"$type": "number",
|
|
189
|
+
"$value": 1,
|
|
190
|
+
"$description": "The Button variant of the close button, an icon-only Button of the size close-button.size names (POP-13): tonal in the default system, as every host's close button is. The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
|
|
191
|
+
"$extensions": {
|
|
192
|
+
"dev.tanrei.vocabulary": {
|
|
193
|
+
"rationale": "One product decides once how its popovers' close control stands: a tonal button that reads as a control on any content, or a bare glyph that leaves a small header to its headline."
|
|
194
|
+
},
|
|
195
|
+
"dev.tanrei.enum": {
|
|
196
|
+
"values": [
|
|
197
|
+
"filled",
|
|
198
|
+
"tonal",
|
|
199
|
+
"elevated",
|
|
200
|
+
"outlined",
|
|
201
|
+
"text"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
"dev.tanrei.derive": {
|
|
205
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"size": {
|
|
210
|
+
"$type": "number",
|
|
211
|
+
"$value": 0,
|
|
212
|
+
"$description": "The Button size of the close button, an icon-only Button (POP-13): small in the default system, as every host's close button is. The value is an index into dev.tanrei.enum.values, the core Button sizes; platforms receive the name.",
|
|
213
|
+
"$extensions": {
|
|
214
|
+
"dev.tanrei.vocabulary": {
|
|
215
|
+
"rationale": "One product decides once how large its popovers' close control is: a small one that keeps the header low beside its headline, or the size its other icon buttons take."
|
|
216
|
+
},
|
|
217
|
+
"dev.tanrei.enum": {
|
|
218
|
+
"values": [
|
|
219
|
+
"small",
|
|
220
|
+
"medium",
|
|
221
|
+
"large"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"dev.tanrei.derive": {
|
|
225
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"content": {
|
|
231
|
+
"color": {
|
|
232
|
+
"$type": "color",
|
|
233
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
234
|
+
"$description": "Handed to the content as the platform's inherited foreground."
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"divider": {
|
|
238
|
+
"color": {
|
|
239
|
+
"$type": "color",
|
|
240
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
241
|
+
"$description": "The one hairline, below the header and above the actions while the content scrolls."
|
|
242
|
+
},
|
|
243
|
+
"width": {
|
|
244
|
+
"$type": "dimension",
|
|
245
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
246
|
+
},
|
|
247
|
+
"visibility": {
|
|
248
|
+
"$type": "number",
|
|
249
|
+
"$value": "{tanrei.sys.behavior.divider-visibility}",
|
|
250
|
+
"$description": "When the dividers below the header and above the actions are drawn while the content scrolls between them. always: both, whenever the content scrolls, wherever it is scrolled to. scroll: below the header only while the content is scrolled away from its top, above the actions only while more of it lies below (POP-8). Under either choice none is drawn while everything fits, or where there is no header or no action on that side. Follows the system's choice; the dividerVisibility prop overrides it. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
251
|
+
"$extensions": {
|
|
252
|
+
"dev.tanrei.vocabulary": {
|
|
253
|
+
"rationale": "One product rules a popover's fixed header and actions off from its scrolling content for as long as it scrolls, while another shows each line only once content has passed it; a small surface anchored to a control may be set apart from the dialogs and sheets of the same product.",
|
|
254
|
+
"since": "0.1.0"
|
|
255
|
+
},
|
|
256
|
+
"dev.tanrei.enum": {
|
|
257
|
+
"values": [
|
|
258
|
+
"always",
|
|
259
|
+
"scroll"
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"actions": {
|
|
266
|
+
"gap": {
|
|
267
|
+
"$type": "dimension",
|
|
268
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
269
|
+
"$description": "Between two actions, in a row or stacked. At sys.target.touch minus the lowest Button (small, 36 in the default system) or more, every action keeps its whole target in a column, as comp.dialog.actions.gap and comp.side-sheet.actions.gap do."
|
|
270
|
+
},
|
|
271
|
+
"margin-block-start": {
|
|
272
|
+
"$type": "dimension",
|
|
273
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
274
|
+
"$description": "Between the content (or the header, where there is no content) and the actions."
|
|
275
|
+
},
|
|
276
|
+
"arrangement": {
|
|
277
|
+
"$type": "number",
|
|
278
|
+
"$value": 0,
|
|
279
|
+
"$description": "How the actions sit. fill: a full-width Button group, the actions sharing the container's inner width equally. end: at their own widths, aligned to the end. Either stacks into a column when the row does not fit (POP-15). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
280
|
+
"$extensions": {
|
|
281
|
+
"dev.tanrei.vocabulary": {
|
|
282
|
+
"rationale": "One product decides once how the actions at the foot of its popovers sit: as equal, full-width targets, as its dialogs' and sheets' do, or as a compact row at the end that leaves a small surface's width to its content."
|
|
283
|
+
},
|
|
284
|
+
"dev.tanrei.enum": {
|
|
285
|
+
"values": [
|
|
286
|
+
"fill",
|
|
287
|
+
"end"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
"dev.tanrei.derive": {
|
|
291
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"variant": {
|
|
296
|
+
"$type": "number",
|
|
297
|
+
"$value": 1,
|
|
298
|
+
"$description": "The Button variant the popover gives an action whose variant the product did not set (POP-16). An action whose variant is set keeps it. The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
|
|
299
|
+
"$extensions": {
|
|
300
|
+
"dev.tanrei.vocabulary": {
|
|
301
|
+
"rationale": "One product chooses the emphasis of its popovers' actions once, for every popover, rather than on each Button."
|
|
302
|
+
},
|
|
303
|
+
"dev.tanrei.enum": {
|
|
304
|
+
"values": [
|
|
305
|
+
"filled",
|
|
306
|
+
"tonal",
|
|
307
|
+
"elevated",
|
|
308
|
+
"outlined",
|
|
309
|
+
"text"
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
"dev.tanrei.derive": {
|
|
313
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"motion": {
|
|
319
|
+
"open-duration": {
|
|
320
|
+
"$type": "duration",
|
|
321
|
+
"$value": "{tanrei.sys.motion.role.appear.anchored.enter}",
|
|
322
|
+
"$description": "How long the container takes to appear from the anchor's side: an anchored surface's entrance."
|
|
323
|
+
},
|
|
324
|
+
"open-easing": {
|
|
325
|
+
"$type": "cubicBezier",
|
|
326
|
+
"$value": "{tanrei.sys.motion.easing.enter}"
|
|
327
|
+
},
|
|
328
|
+
"close-duration": {
|
|
329
|
+
"$type": "duration",
|
|
330
|
+
"$value": "{tanrei.sys.motion.role.appear.anchored.exit}",
|
|
331
|
+
"$description": "How long the container takes to leave the way it came: an anchored surface's exit."
|
|
332
|
+
},
|
|
333
|
+
"close-easing": {
|
|
334
|
+
"$type": "cubicBezier",
|
|
335
|
+
"$value": "{tanrei.sys.motion.easing.exit}"
|
|
336
|
+
},
|
|
337
|
+
"show-delay": {
|
|
338
|
+
"$type": "duration",
|
|
339
|
+
"$value": "{tanrei.sys.motion.duration.extra-long1}",
|
|
340
|
+
"$description": "Where trigger has hover or focus and showDelay is not set: how long a fine pointer or keyboard focus rests on the anchor before the popover asks to open, so that a pointer passing over an anchor, or Tab passing along a row of them, opens no surface. Longer than the tooltip's, because the surface is larger and covers more of what the person is reading. A waiting time, kept where motion is reduced.",
|
|
341
|
+
"$extensions": {
|
|
342
|
+
"dev.tanrei.vocabulary": {
|
|
343
|
+
"rationale": "One product decides how long a person rests on a control before a surface it holds opens by itself, apart from how long they rest before a tooltip names it: a preview the size of a popover that came as quickly as a tooltip would cover the page under every passing pointer.",
|
|
344
|
+
"since": "0.1.0"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"hide-delay": {
|
|
349
|
+
"$type": "duration",
|
|
350
|
+
"$value": "{tanrei.sys.motion.duration.medium2}",
|
|
351
|
+
"$description": "How long a popover opened by hover or focus stays once the pointer has left its anchor, the gap and the popover and focus has left them, so the pointer can slip off an edge and come back (WCAG 1.4.13, hoverable). A waiting time, kept where motion is reduced.",
|
|
352
|
+
"$extensions": {
|
|
353
|
+
"dev.tanrei.vocabulary": {
|
|
354
|
+
"rationale": "One product decides how forgiving a surface opened by hover is of a pointer that strays off it, apart from its tooltips: a popover holds more to read and to reach, so a product may want it to wait longer than a tooltip before it closes.",
|
|
355
|
+
"since": "0.1.0"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|