@tanrei/cli 0.0.0-stage → 0.1.0-next.0
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 +58 -0
- package/README.md +77 -2
- package/bin/tanrei.js +14 -0
- package/dist/cli.js +6617 -0
- package/dist/studio/THIRD_PARTY_LICENSES.md +949 -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-hwWnuPS8.js +4 -0
- package/dist/studio/assets/index-BByvFAbB.js +26376 -0
- package/dist/studio/assets/index-CTe7Eja3.css +1 -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-Cu9fI30F.woff2 +0 -0
- package/dist/studio/assets/material-symbols-rounded-latin-full-normal-DnCYgp88.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-0-wght-normal-ChZwicxE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-1-wght-normal-CARGyt1_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-10-wght-normal-DtPkCCyJ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-100-wght-normal-IGIcweVU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-101-wght-normal-Dls8jqVU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-102-wght-normal-CKMRrjm1.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-103-wght-normal-Cf0qKmex.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-104-wght-normal-DU15_Tmk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-105-wght-normal-CTXm1m1e.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-106-wght-normal-COtgWfsA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-107-wght-normal-BMH1cYUp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-108-wght-normal-1F5IhFoa.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-109-wght-normal-XZ0efpq6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-11-wght-normal-Dkj9SGze.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-110-wght-normal-CeHeZFeT.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-111-wght-normal-DyRaOVPC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-112-wght-normal-CnVx-8lB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-113-wght-normal-CtbyXo_h.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-114-wght-normal-DCIM4jZs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-115-wght-normal-CDBMNWew.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-116-wght-normal-RqS7_mFx.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-117-wght-normal-D73BPRww.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-118-wght-normal-U5v7NshZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-119-wght-normal-D3TauSHf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-12-wght-normal-CZgOv4iD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-13-wght-normal-B3bKCuev.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-14-wght-normal-DbDHiDFQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-15-wght-normal-BHvX48uZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-16-wght-normal-CIRRqAST.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-17-wght-normal-Cypgkvf4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-18-wght-normal-DhyYlhdC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-19-wght-normal-Cm6ySjN8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-2-wght-normal-RseJrQYo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-20-wght-normal-FgfhxZU_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-21-wght-normal-Ur8WYMVQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-22-wght-normal-BACXhehE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-23-wght-normal-BguN3TwY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-24-wght-normal-CXEahOPk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-25-wght-normal-VS5EnqV2.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-26-wght-normal-Bu8z50LX.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-27-wght-normal-jmtCcHJ0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-28-wght-normal-DQNwlFIU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-29-wght-normal-BnPJOTuS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-3-wght-normal--H5uv3v4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-30-wght-normal-Bj8BZBgx.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-31-wght-normal-Commwwo1.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-32-wght-normal-CRZDfOIz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-33-wght-normal-BnYdH6SQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-34-wght-normal-CGJbTgpI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-35-wght-normal-C7HufUhC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-36-wght-normal-Dyc832Mi.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-37-wght-normal-BA1uUhJR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-38-wght-normal-6T50SRVw.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-39-wght-normal-CN8CV109.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-4-wght-normal-Dc2VWjiv.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-40-wght-normal-Ac3ANHeE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-41-wght-normal-B-bcLJUI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-42-wght-normal-C4xWUztV.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-43-wght-normal-DAb0Sc5Y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-44-wght-normal-DyPSHqCN.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-45-wght-normal-BF-EckBd.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-46-wght-normal-BmRwgAv-.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-47-wght-normal-0LM1TynG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-48-wght-normal-DrhQr74m.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-49-wght-normal-6kT-KCCt.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-5-wght-normal-CeuaJ3GQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-50-wght-normal-Cw6P8USA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqxu35Xk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-52-wght-normal-DYmSQol3.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-53-wght-normal-DwAVKRqn.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-54-wght-normal-DkswS7jl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-55-wght-normal-BYcCjSG_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-56-wght-normal-k2E-xsGo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-57-wght-normal-Dcyw3o92.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-58-wght-normal-C-mIssxc.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-59-wght-normal-DUxkCIOP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-6-wght-normal-BETiiYWj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-60-wght-normal-B1SQjyhM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-61-wght-normal-DqwoqK_H.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-62-wght-normal-Dvl1bj2o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-63-wght-normal-pZDrjPWR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-64-wght-normal-DGBgUuRb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-65-wght-normal-ZWzDwZG9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-66-wght-normal-C9Pvbzcq.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-67-wght-normal-BmPiBD9j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-68-wght-normal-BM7y9lVd.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-69-wght-normal-DjC_tZTr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-7-wght-normal-DPLqcl0u.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-70-wght-normal-BhDpOk5L.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-71-wght-normal-BeAYbG_b.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-72-wght-normal-t74baR93.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-73-wght-normal-CwrK-6j-.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-74-wght-normal-iogpiswj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-75-wght-normal-DYpRVFfS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-76-wght-normal-HKTYIip9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-77-wght-normal-zMwvLrLX.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-78-wght-normal-CJFvkh-5.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-79-wght-normal-YT6TNXn0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-8-wght-normal-B-fyrhM6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-80-wght-normal-C8rE7JRr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-81-wght-normal-C3e5dWMK.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-82-wght-normal-BjuKihWA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-83-wght-normal-CdGQgLIl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-84-wght-normal-BqzEfM_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-85-wght-normal-CPi4u8zn.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-86-wght-normal-B0MkLvt0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-87-wght-normal-D5BdgnTn.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-88-wght-normal-CyIWoFtM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-89-wght-normal-B-qGeNph.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-9-wght-normal-mnr2cWCS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-90-wght-normal-sQganGqO.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-91-wght-normal-BZRsdRL6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-92-wght-normal-Bfqhr8vr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-93-wght-normal-ChR3IuHk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-94-wght-normal-CTW0oM41.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-95-wght-normal-cEmZK7kl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-96-wght-normal-Bww_3Upk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-97-wght-normal-DEi73Ic_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-98-wght-normal-BE30qkDG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-99-wght-normal-Cj5IF6EZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BQJ6xfwZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-pB8enYeX.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-wght-normal-JmuruAaA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CFXlG5tS.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 +24 -0
- package/dist/vocabulary/tanrei.config.json +23 -0
- package/dist/vocabulary/tokens/AGENTS.md +15 -0
- package/dist/vocabulary/tokens/comp/accordion.tokens.json +436 -0
- package/dist/vocabulary/tokens/comp/app-bar.tokens.json +211 -0
- package/dist/vocabulary/tokens/comp/app-shell.tokens.json +248 -0
- package/dist/vocabulary/tokens/comp/avatar.tokens.json +187 -0
- package/dist/vocabulary/tokens/comp/badge.tokens.json +100 -0
- package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +256 -0
- package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +253 -0
- package/dist/vocabulary/tokens/comp/button-group.tokens.json +118 -0
- package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +582 -0
- package/dist/vocabulary/tokens/comp/button.tokens.json +1102 -0
- package/dist/vocabulary/tokens/comp/calendar.tokens.json +490 -0
- package/dist/vocabulary/tokens/comp/callout.tokens.json +754 -0
- package/dist/vocabulary/tokens/comp/card.tokens.json +204 -0
- package/dist/vocabulary/tokens/comp/carousel.tokens.json +409 -0
- package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +309 -0
- package/dist/vocabulary/tokens/comp/checkbox.tokens.json +591 -0
- package/dist/vocabulary/tokens/comp/chip.tokens.json +665 -0
- package/dist/vocabulary/tokens/comp/code-block.tokens.json +459 -0
- package/dist/vocabulary/tokens/comp/color-input.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/combobox.tokens.json +587 -0
- package/dist/vocabulary/tokens/comp/copy-button.tokens.json +39 -0
- package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +766 -0
- package/dist/vocabulary/tokens/comp/description-list.tokens.json +181 -0
- package/dist/vocabulary/tokens/comp/dialog.tokens.json +280 -0
- package/dist/vocabulary/tokens/comp/divider.tokens.json +139 -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/fab-menu.tokens.json +509 -0
- package/dist/vocabulary/tokens/comp/field-group.tokens.json +191 -0
- package/dist/vocabulary/tokens/comp/field.tokens.json +279 -0
- package/dist/vocabulary/tokens/comp/figure.tokens.json +215 -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 +35 -0
- package/dist/vocabulary/tokens/comp/image-preview.tokens.json +297 -0
- package/dist/vocabulary/tokens/comp/inline-code.tokens.json +86 -0
- package/dist/vocabulary/tokens/comp/input-box.tokens.json +938 -0
- package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +192 -0
- package/dist/vocabulary/tokens/comp/link-card.tokens.json +301 -0
- package/dist/vocabulary/tokens/comp/link.tokens.json +321 -0
- package/dist/vocabulary/tokens/comp/list.tokens.json +447 -0
- package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +345 -0
- package/dist/vocabulary/tokens/comp/menu.tokens.json +919 -0
- package/dist/vocabulary/tokens/comp/menubar.tokens.json +228 -0
- package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +479 -0
- package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +770 -0
- package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +254 -0
- package/dist/vocabulary/tokens/comp/number-input.tokens.json +75 -0
- package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +231 -0
- package/dist/vocabulary/tokens/comp/page-header.tokens.json +247 -0
- package/dist/vocabulary/tokens/comp/pagination.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/popover.tokens.json +292 -0
- package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/prose.tokens.json +267 -0
- package/dist/vocabulary/tokens/comp/radio-button.tokens.json +417 -0
- package/dist/vocabulary/tokens/comp/search.tokens.json +675 -0
- package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +360 -0
- package/dist/vocabulary/tokens/comp/select.tokens.json +553 -0
- package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +285 -0
- package/dist/vocabulary/tokens/comp/skeleton.tokens.json +111 -0
- package/dist/vocabulary/tokens/comp/slider.tokens.json +435 -0
- package/dist/vocabulary/tokens/comp/snackbar.tokens.json +1334 -0
- package/dist/vocabulary/tokens/comp/steps.tokens.json +190 -0
- package/dist/vocabulary/tokens/comp/switch.tokens.json +349 -0
- package/dist/vocabulary/tokens/comp/tab-view.tokens.json +142 -0
- package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +404 -0
- package/dist/vocabulary/tokens/comp/table.tokens.json +442 -0
- package/dist/vocabulary/tokens/comp/tabs.tokens.json +970 -0
- package/dist/vocabulary/tokens/comp/tag-group.tokens.json +57 -0
- package/dist/vocabulary/tokens/comp/tag.tokens.json +527 -0
- package/dist/vocabulary/tokens/comp/text-input.tokens.json +166 -0
- package/dist/vocabulary/tokens/comp/timeline.tokens.json +243 -0
- package/dist/vocabulary/tokens/comp/toolbar.tokens.json +155 -0
- package/dist/vocabulary/tokens/comp/tooltip.tokens.json +415 -0
- package/dist/vocabulary/tokens/comp/tree-view.tokens.json +393 -0
- package/dist/vocabulary/tokens/dial/dial.tokens.json +117 -0
- package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +68 -0
- package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +178 -0
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +67 -0
- package/dist/vocabulary/tokens/fidelity/reference/material-web.json +802 -0
- package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +278 -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 +570 -0
- package/dist/vocabulary/tokens/sys/behavior.tokens.json +119 -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 +358 -0
- package/dist/vocabulary/tokens/sys/motion.tokens.json +949 -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 +70 -0
- package/dist/vocabulary/tokens/sys/typescale.tokens.json +551 -0
- package/dist/vocabulary/tokens/systems/cupertino.system.json +640 -0
- package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +83 -0
- package/dist/vocabulary/tokens/systems/m3-like.system.json +855 -0
- package/dist/vocabulary/tokens/systems/tanrei.system.json +409 -0
- package/dist/vocabulary/tokens/tanrei.resolver.json +358 -0
- package/dist/vocabulary/tokens/vocabulary.lock.json +7052 -0
- package/package.json +32 -3
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"list": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows columns of related items — one, two or three lines of text with icons, avatars or images — that people read, open one by one, or choose from, some of them selected and some disabled; and lets people put the items of one such column in another order.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"unselected",
|
|
13
|
+
"selected"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed",
|
|
19
|
+
"disabled"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"headline.color": "color",
|
|
24
|
+
"overline.color": "color",
|
|
25
|
+
"supporting-text.color": "color",
|
|
26
|
+
"trailing-text.color": "color",
|
|
27
|
+
"leading-icon.color": "color",
|
|
28
|
+
"trailing-icon.color": "color",
|
|
29
|
+
"mark.color": "color",
|
|
30
|
+
"state-layer.color": "color"
|
|
31
|
+
},
|
|
32
|
+
"perComponent": {
|
|
33
|
+
"opacity": "number",
|
|
34
|
+
"container.shape": "dimension"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"dev.tanrei.llm": {
|
|
38
|
+
"usage": "Everything a list reads: an item's minimum heights for one, two and three lines, its paddings and gap, the text styles of headline, overline, supporting and trailing text, the icon, avatar and image sizes and the glyph box of the check (the icon set's check), the divider, and for each condition (unselected, selected) the colors of the row and of every part in each state. For a list whose items a person can put in another order: the gap between the two move buttons, the size and color of the drag handle, the fill and the elevation of an item while it is dragged, and the motion of items changing place.",
|
|
39
|
+
"rules": [
|
|
40
|
+
"The list adds no space around its items and draws no background: place it on a surface, or in a card for a grouped look.",
|
|
41
|
+
"A selectable list is a listbox; a list of rows that each open something has interactive items; a list that only shows things has neither.",
|
|
42
|
+
"Never put a button, link or control inside an interactive item or an option; a row that needs its own control stays static.",
|
|
43
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
44
|
+
"The check of a selected option is the icon set's check glyph, drawn at mark.size; to draw another mark, a system chooses another icon set. Never draw a check of your own.",
|
|
45
|
+
"Each condition's state-layer.color is the color hover, focus and press mix into the row; it aliases that condition's headline color.",
|
|
46
|
+
"A reorderable list (reorder buttons or drag) holds static items only and is never a listbox. The two move buttons are always drawn: the drag handle is an addition for a pointer, never the only way to move an item.",
|
|
47
|
+
"The move buttons are Tanrei Buttons and are drawn from Button's tokens; the list owns only the gap between them. The dragged tokens are a look of one item while it is carried, not an interaction state: no state rule values them."
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"dev.tanrei.axes": {
|
|
51
|
+
"condition": {
|
|
52
|
+
"default": "unselected",
|
|
53
|
+
"from": "states"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"container": {
|
|
58
|
+
"shape": {
|
|
59
|
+
"$type": "dimension",
|
|
60
|
+
"$value": "{tanrei.sys.shape.corner.none}",
|
|
61
|
+
"$description": "The row's corners. Square by default: rows meet edge to edge and span the list's width."
|
|
62
|
+
},
|
|
63
|
+
"height": {
|
|
64
|
+
"$description": "Minimum heights by the number of text lines. They are minimums: the row grows with its content and with enlarged text.",
|
|
65
|
+
"one-line": {
|
|
66
|
+
"$type": "dimension",
|
|
67
|
+
"$value": {
|
|
68
|
+
"value": 56,
|
|
69
|
+
"unit": "px"
|
|
70
|
+
},
|
|
71
|
+
"$extensions": {
|
|
72
|
+
"dev.tanrei.derive": {
|
|
73
|
+
"fn": "mul",
|
|
74
|
+
"of": "{tanrei.dial.size.unit}",
|
|
75
|
+
"by": 14
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"two-line": {
|
|
80
|
+
"$type": "dimension",
|
|
81
|
+
"$value": {
|
|
82
|
+
"value": 72,
|
|
83
|
+
"unit": "px"
|
|
84
|
+
},
|
|
85
|
+
"$extensions": {
|
|
86
|
+
"dev.tanrei.derive": {
|
|
87
|
+
"fn": "mul",
|
|
88
|
+
"of": "{tanrei.dial.size.unit}",
|
|
89
|
+
"by": 18
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"three-line": {
|
|
94
|
+
"$type": "dimension",
|
|
95
|
+
"$value": {
|
|
96
|
+
"value": 88,
|
|
97
|
+
"unit": "px"
|
|
98
|
+
},
|
|
99
|
+
"$extensions": {
|
|
100
|
+
"dev.tanrei.derive": {
|
|
101
|
+
"fn": "mul",
|
|
102
|
+
"of": "{tanrei.dial.size.unit}",
|
|
103
|
+
"by": 22
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"padding-inline-start": {
|
|
109
|
+
"$type": "dimension",
|
|
110
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
111
|
+
"$description": "Space between the row's start edge and its first element; it lines the text up with the page's."
|
|
112
|
+
},
|
|
113
|
+
"padding-inline-end": {
|
|
114
|
+
"$type": "dimension",
|
|
115
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
116
|
+
"$description": "Space between the row's last element and its end edge, next to a scroll bar or the screen's edge."
|
|
117
|
+
},
|
|
118
|
+
"padding-block": {
|
|
119
|
+
"$type": "dimension",
|
|
120
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
121
|
+
"$description": "Space above and below the row's content; it shows once the content is taller than the minimum height."
|
|
122
|
+
},
|
|
123
|
+
"gap": {
|
|
124
|
+
"$type": "dimension",
|
|
125
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
126
|
+
"$description": "Space between the leading element, the text column and each trailing element."
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"headline": {
|
|
130
|
+
"typescale": {
|
|
131
|
+
"$type": "typography",
|
|
132
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"overline": {
|
|
136
|
+
"typescale": {
|
|
137
|
+
"$type": "typography",
|
|
138
|
+
"$value": "{tanrei.sys.typescale.label-small}"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"supporting-text": {
|
|
142
|
+
"typescale": {
|
|
143
|
+
"$type": "typography",
|
|
144
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"trailing-text": {
|
|
148
|
+
"typescale": {
|
|
149
|
+
"$type": "typography",
|
|
150
|
+
"$value": "{tanrei.sys.typescale.label-small}"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"leading-icon": {
|
|
154
|
+
"size": {
|
|
155
|
+
"$type": "dimension",
|
|
156
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"trailing-icon": {
|
|
160
|
+
"size": {
|
|
161
|
+
"$type": "dimension",
|
|
162
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"avatar": {
|
|
166
|
+
"size": {
|
|
167
|
+
"$type": "dimension",
|
|
168
|
+
"$value": {
|
|
169
|
+
"value": 40,
|
|
170
|
+
"unit": "px"
|
|
171
|
+
},
|
|
172
|
+
"$extensions": {
|
|
173
|
+
"dev.tanrei.derive": {
|
|
174
|
+
"fn": "mul",
|
|
175
|
+
"of": "{tanrei.dial.size.unit}",
|
|
176
|
+
"by": 10
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"$description": "The side of the round box an avatar is fitted into."
|
|
180
|
+
},
|
|
181
|
+
"shape": {
|
|
182
|
+
"$type": "dimension",
|
|
183
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"image": {
|
|
187
|
+
"size": {
|
|
188
|
+
"$type": "dimension",
|
|
189
|
+
"$value": {
|
|
190
|
+
"value": 56,
|
|
191
|
+
"unit": "px"
|
|
192
|
+
},
|
|
193
|
+
"$extensions": {
|
|
194
|
+
"dev.tanrei.derive": {
|
|
195
|
+
"fn": "mul",
|
|
196
|
+
"of": "{tanrei.dial.size.unit}",
|
|
197
|
+
"by": 14
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"$description": "The side of the square box a leading image is fitted into."
|
|
201
|
+
},
|
|
202
|
+
"shape": {
|
|
203
|
+
"$type": "dimension",
|
|
204
|
+
"$value": "{tanrei.sys.shape.corner.small}"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"media": {
|
|
208
|
+
"container": {
|
|
209
|
+
"color": {
|
|
210
|
+
"$type": "color",
|
|
211
|
+
"$value": "{tanrei.sys.color.surface-container-highest}",
|
|
212
|
+
"$description": "Behind an avatar or an image: shows through a monogram, a transparent image, or an image still loading."
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"content": {
|
|
216
|
+
"color": {
|
|
217
|
+
"$type": "color",
|
|
218
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
219
|
+
"$description": "The color handed to what the product puts in an avatar (a monogram, an icon)."
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"mark": {
|
|
224
|
+
"size": {
|
|
225
|
+
"$type": "dimension",
|
|
226
|
+
"$value": "{tanrei.sys.icon.medium}",
|
|
227
|
+
"$description": "The glyph box of the check (the icon set's check) of a selected option, reserved in every option of a selectable list. Medium, the size of the trailing icon beside it and of the menu's check: a glyph's ink fills less of its box than a drawn path of that size."
|
|
228
|
+
},
|
|
229
|
+
"width": {
|
|
230
|
+
"$type": "dimension",
|
|
231
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
232
|
+
"$description": "The stroke of the check drawn as a path. No behaviour of the current spec reads it: the check is a glyph of the icon set (LST-21). It stays only so that the platforms that still draw it as a path keep building; remove it in the commit that brings the last of them up to date."
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"divider": {
|
|
236
|
+
"color": {
|
|
237
|
+
"$type": "color",
|
|
238
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
239
|
+
},
|
|
240
|
+
"thickness": {
|
|
241
|
+
"$type": "dimension",
|
|
242
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"unselected": {
|
|
246
|
+
"container": {
|
|
247
|
+
"color": {
|
|
248
|
+
"$type": "color",
|
|
249
|
+
"$value": {
|
|
250
|
+
"colorSpace": "srgb",
|
|
251
|
+
"components": [
|
|
252
|
+
0,
|
|
253
|
+
0,
|
|
254
|
+
0
|
|
255
|
+
],
|
|
256
|
+
"alpha": 0,
|
|
257
|
+
"hex": "#000000"
|
|
258
|
+
},
|
|
259
|
+
"$extensions": {
|
|
260
|
+
"dev.tanrei.derive": {
|
|
261
|
+
"fixed": "A row has no fill at rest; the surface behind the list shows through."
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"headline": {
|
|
267
|
+
"color": {
|
|
268
|
+
"$type": "color",
|
|
269
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"overline": {
|
|
273
|
+
"color": {
|
|
274
|
+
"$type": "color",
|
|
275
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"supporting-text": {
|
|
279
|
+
"color": {
|
|
280
|
+
"$type": "color",
|
|
281
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"trailing-text": {
|
|
285
|
+
"color": {
|
|
286
|
+
"$type": "color",
|
|
287
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"leading-icon": {
|
|
291
|
+
"color": {
|
|
292
|
+
"$type": "color",
|
|
293
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"trailing-icon": {
|
|
297
|
+
"color": {
|
|
298
|
+
"$type": "color",
|
|
299
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"mark": {
|
|
303
|
+
"color": {
|
|
304
|
+
"$type": "color",
|
|
305
|
+
"$value": {
|
|
306
|
+
"colorSpace": "srgb",
|
|
307
|
+
"components": [
|
|
308
|
+
0,
|
|
309
|
+
0,
|
|
310
|
+
0
|
|
311
|
+
],
|
|
312
|
+
"alpha": 0,
|
|
313
|
+
"hex": "#000000"
|
|
314
|
+
},
|
|
315
|
+
"$extensions": {
|
|
316
|
+
"dev.tanrei.derive": {
|
|
317
|
+
"fixed": "An option that is not selected shows no check."
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"state-layer": {
|
|
323
|
+
"color": {
|
|
324
|
+
"$type": "color",
|
|
325
|
+
"$value": "{tanrei.comp.list.unselected.headline.color}",
|
|
326
|
+
"$description": "The color hover, focus and press mix into the row: the headline's color."
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"selected": {
|
|
331
|
+
"container": {
|
|
332
|
+
"color": {
|
|
333
|
+
"$type": "color",
|
|
334
|
+
"$value": "{tanrei.sys.color.secondary-container}"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"headline": {
|
|
338
|
+
"color": {
|
|
339
|
+
"$type": "color",
|
|
340
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"overline": {
|
|
344
|
+
"color": {
|
|
345
|
+
"$type": "color",
|
|
346
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"supporting-text": {
|
|
350
|
+
"color": {
|
|
351
|
+
"$type": "color",
|
|
352
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"trailing-text": {
|
|
356
|
+
"color": {
|
|
357
|
+
"$type": "color",
|
|
358
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"leading-icon": {
|
|
362
|
+
"color": {
|
|
363
|
+
"$type": "color",
|
|
364
|
+
"$value": "{tanrei.sys.color.on-secondary-container}"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"trailing-icon": {
|
|
368
|
+
"color": {
|
|
369
|
+
"$type": "color",
|
|
370
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"mark": {
|
|
374
|
+
"color": {
|
|
375
|
+
"$type": "color",
|
|
376
|
+
"$value": "{tanrei.sys.color.primary}"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"state-layer": {
|
|
380
|
+
"color": {
|
|
381
|
+
"$type": "color",
|
|
382
|
+
"$value": "{tanrei.comp.list.selected.headline.color}",
|
|
383
|
+
"$description": "The color hover, focus and press mix into the row: the headline's color."
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"motion": {
|
|
388
|
+
"state-duration": {
|
|
389
|
+
"$type": "duration",
|
|
390
|
+
"$value": "{tanrei.sys.motion.duration.short3}"
|
|
391
|
+
},
|
|
392
|
+
"state-easing": {
|
|
393
|
+
"$type": "cubicBezier",
|
|
394
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
395
|
+
},
|
|
396
|
+
"feedback-duration": {
|
|
397
|
+
"$type": "duration",
|
|
398
|
+
"$value": "{tanrei.sys.motion.duration.long1}",
|
|
399
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
400
|
+
},
|
|
401
|
+
"reorder-duration": {
|
|
402
|
+
"$type": "duration",
|
|
403
|
+
"$value": "{tanrei.sys.motion.duration.medium2}",
|
|
404
|
+
"$description": "How long an item takes to change place: the items that make room under a dragged one, the dropped item settling, and two items changing places after a move button (LST-43). Longer than a change of color: something crosses the height of a row."
|
|
405
|
+
},
|
|
406
|
+
"reorder-easing": {
|
|
407
|
+
"$type": "cubicBezier",
|
|
408
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"move-buttons": {
|
|
412
|
+
"gap": {
|
|
413
|
+
"$type": "dimension",
|
|
414
|
+
"$value": "{tanrei.sys.space.space0}",
|
|
415
|
+
"$description": "Between the button that moves an item up and the one that moves it down. Nothing by default: each button already keeps the minimum target along the row, so two of them never stand closer than a finger needs (LST-37)."
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"handle": {
|
|
419
|
+
"size": {
|
|
420
|
+
"$type": "dimension",
|
|
421
|
+
"$value": "{tanrei.sys.icon.medium}",
|
|
422
|
+
"$description": "The glyph box of the drag handle at the start of an item (reorder drag). The size of the leading icon beside it; its hit area is larger and takes no room (LST-44)."
|
|
423
|
+
},
|
|
424
|
+
"color": {
|
|
425
|
+
"$type": "color",
|
|
426
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
427
|
+
"$description": "The drag handle, at rest and while its item is dragged. The color of an item's icons: the handle is a mark on the row, not a control with states of its own."
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"dragged": {
|
|
431
|
+
"container": {
|
|
432
|
+
"color": {
|
|
433
|
+
"$type": "color",
|
|
434
|
+
"$value": "{tanrei.sys.color.surface-container-high}",
|
|
435
|
+
"$description": "The fill of an item while it is dragged. Opaque, where the row at rest has no fill: the item is carried over the others and they must not show through it."
|
|
436
|
+
},
|
|
437
|
+
"elevation": {
|
|
438
|
+
"$type": "shadow",
|
|
439
|
+
"$value": "{tanrei.sys.elevation.level3}",
|
|
440
|
+
"$description": "The shadow of an item while it is dragged: it is above the list for as long as it is carried, and comes down when it is dropped."
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"loading-indicator": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows short waits of unknown length inline — in a button, next to text, in an empty section — and over content, where the indicator needs a container of its own to be seen. Many of its waits end sooner than a person can read a mark, so it decides once how long a wait lasts before its mark is shown, and how the mark enters.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a loading indicator reads: the indicator's size and stroke and the container's size per size, the indicator color on the surface behind it, and — when contained — the container's color, elevation and shape and the indicator color on it, plus the length of one turn, the wait before the indicator is shown, and the kind, length and curve of its entrance.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"Use a loading indicator for a short wait whose length is unknown; when the fraction is known, use a determinate progress indicator.",
|
|
14
|
+
"Always give it a label (the accessible name); mark the region being loaded as busy in the product.",
|
|
15
|
+
"Use contained only where the indicator floats over content (pull to refresh, over an image).",
|
|
16
|
+
"Insert the indicator when the wait starts and remove it when the wait ends: the show delay counts from its insertion, so a wait shorter than the delay shows nothing.",
|
|
17
|
+
"Set showDelay, entrance or enterDuration on one indicator only where it needs another pace than the rest; a layer sets these tokens for every indicator.",
|
|
18
|
+
"Restyle through these tokens in a layer; never draw a spinner of your own."
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"dev.tanrei.axes": {
|
|
22
|
+
"size": {
|
|
23
|
+
"default": "medium",
|
|
24
|
+
"values": [
|
|
25
|
+
"small",
|
|
26
|
+
"medium",
|
|
27
|
+
"large"
|
|
28
|
+
],
|
|
29
|
+
"members": [
|
|
30
|
+
"indicator.size",
|
|
31
|
+
"indicator.thickness",
|
|
32
|
+
"container.size"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"indicator": {
|
|
38
|
+
"size": {
|
|
39
|
+
"$type": "dimension",
|
|
40
|
+
"$description": "The indicator's square box, per size; the whole component when it is not contained. Small fits in a control in place of an icon, medium next to text, large in an empty section.",
|
|
41
|
+
"small": {
|
|
42
|
+
"$value": {
|
|
43
|
+
"value": 16,
|
|
44
|
+
"unit": "px"
|
|
45
|
+
},
|
|
46
|
+
"$extensions": {
|
|
47
|
+
"dev.tanrei.derive": {
|
|
48
|
+
"fn": "mul",
|
|
49
|
+
"of": "{tanrei.dial.size.unit}",
|
|
50
|
+
"by": 4
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"medium": {
|
|
55
|
+
"$value": {
|
|
56
|
+
"value": 24,
|
|
57
|
+
"unit": "px"
|
|
58
|
+
},
|
|
59
|
+
"$extensions": {
|
|
60
|
+
"dev.tanrei.derive": {
|
|
61
|
+
"fn": "mul",
|
|
62
|
+
"of": "{tanrei.dial.size.unit}",
|
|
63
|
+
"by": 6
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"large": {
|
|
68
|
+
"$value": {
|
|
69
|
+
"value": 40,
|
|
70
|
+
"unit": "px"
|
|
71
|
+
},
|
|
72
|
+
"$extensions": {
|
|
73
|
+
"dev.tanrei.derive": {
|
|
74
|
+
"fn": "mul",
|
|
75
|
+
"of": "{tanrei.dial.size.unit}",
|
|
76
|
+
"by": 10
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"thickness": {
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"$description": "The arc's stroke width, per size. The same stroke at every size by default.",
|
|
84
|
+
"small": {
|
|
85
|
+
"$value": "{tanrei.sys.border.thick}"
|
|
86
|
+
},
|
|
87
|
+
"medium": {
|
|
88
|
+
"$value": "{tanrei.sys.border.thick}"
|
|
89
|
+
},
|
|
90
|
+
"large": {
|
|
91
|
+
"$value": "{tanrei.sys.border.thick}"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"color": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
97
|
+
"$description": "The indicator on the surface behind it, when not contained."
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"container": {
|
|
101
|
+
"size": {
|
|
102
|
+
"$type": "dimension",
|
|
103
|
+
"$description": "The container's square box when contained, per size: the indicator plus room around it.",
|
|
104
|
+
"small": {
|
|
105
|
+
"$value": {
|
|
106
|
+
"value": 24,
|
|
107
|
+
"unit": "px"
|
|
108
|
+
},
|
|
109
|
+
"$extensions": {
|
|
110
|
+
"dev.tanrei.derive": {
|
|
111
|
+
"fn": "mul",
|
|
112
|
+
"of": "{tanrei.dial.size.unit}",
|
|
113
|
+
"by": 6
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"medium": {
|
|
118
|
+
"$value": {
|
|
119
|
+
"value": 32,
|
|
120
|
+
"unit": "px"
|
|
121
|
+
},
|
|
122
|
+
"$extensions": {
|
|
123
|
+
"dev.tanrei.derive": {
|
|
124
|
+
"fn": "mul",
|
|
125
|
+
"of": "{tanrei.dial.size.unit}",
|
|
126
|
+
"by": 8
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"large": {
|
|
131
|
+
"$value": {
|
|
132
|
+
"value": 48,
|
|
133
|
+
"unit": "px"
|
|
134
|
+
},
|
|
135
|
+
"$extensions": {
|
|
136
|
+
"dev.tanrei.derive": {
|
|
137
|
+
"fn": "mul",
|
|
138
|
+
"of": "{tanrei.dial.size.unit}",
|
|
139
|
+
"by": 12
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"shape": {
|
|
145
|
+
"$type": "dimension",
|
|
146
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"contained": {
|
|
150
|
+
"container": {
|
|
151
|
+
"color": {
|
|
152
|
+
"$type": "color",
|
|
153
|
+
"$value": "{tanrei.sys.color.surface-container-lowest}"
|
|
154
|
+
},
|
|
155
|
+
"elevation": {
|
|
156
|
+
"$type": "shadow",
|
|
157
|
+
"$value": "{tanrei.sys.elevation.level2}"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"indicator": {
|
|
161
|
+
"color": {
|
|
162
|
+
"$type": "color",
|
|
163
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"motion": {
|
|
168
|
+
"cycle-duration": {
|
|
169
|
+
"$type": "duration",
|
|
170
|
+
"$value": "{tanrei.sys.motion.duration.extra-long4}",
|
|
171
|
+
"$description": "One full turn of the arc, and one pulse of the reduced-motion form."
|
|
172
|
+
},
|
|
173
|
+
"show-delay": {
|
|
174
|
+
"$type": "duration",
|
|
175
|
+
"$value": "{tanrei.sys.motion.duration.medium2}",
|
|
176
|
+
"$description": "How long the indicator waits, from the moment it is inserted, before it is drawn and exposed to assistive technology, so that a wait shorter than this shows nothing instead of a mark that flashes. Its box is kept during the wait."
|
|
177
|
+
},
|
|
178
|
+
"entrance": {
|
|
179
|
+
"$type": "number",
|
|
180
|
+
"$value": 0,
|
|
181
|
+
"$description": "How the indicator enters once its show delay has passed. fade: the whole component eases its opacity from 0 to 1. grow: it fades the same way and grows from nothing to its full size about its center at the same time. Under reduced motion grow is drawn as fade. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
182
|
+
"$extensions": {
|
|
183
|
+
"dev.tanrei.enum": {
|
|
184
|
+
"values": [
|
|
185
|
+
"fade",
|
|
186
|
+
"grow"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"dev.tanrei.derive": {
|
|
190
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"enter-duration": {
|
|
195
|
+
"$type": "duration",
|
|
196
|
+
"$value": "{tanrei.sys.motion.duration.short4}",
|
|
197
|
+
"$description": "The length of the entrance, fade or grow."
|
|
198
|
+
},
|
|
199
|
+
"enter-easing": {
|
|
200
|
+
"$type": "cubicBezier",
|
|
201
|
+
"$value": "{tanrei.sys.motion.easing.standard-decelerate}",
|
|
202
|
+
"$description": "The curve of the entrance: it arrives fast and settles, as an element entering the screen does."
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|