@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,256 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"bottom-sheet": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product shows supplementary content in a surface that rises from the bottom edge: sometimes beside the task, while the content above stays usable (results over a map), sometimes as a modal step the person must finish or dismiss (share, choose, confirm), at half the screen or the whole of it.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"drag-handle"
|
|
13
|
+
],
|
|
14
|
+
"states": [
|
|
15
|
+
"hovered",
|
|
16
|
+
"focused",
|
|
17
|
+
"pressed"
|
|
18
|
+
],
|
|
19
|
+
"perVariant": {
|
|
20
|
+
"container.color": "color",
|
|
21
|
+
"grip.color": "color",
|
|
22
|
+
"state-layer.color": "color"
|
|
23
|
+
},
|
|
24
|
+
"perComponent": {
|
|
25
|
+
"opacity": "number"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"dev.tanrei.llm": {
|
|
29
|
+
"usage": "Everything a bottom sheet reads: the scrim behind a modal sheet; the container's color, elevation, top-corner shape, maximum width, top margin at full height, the fraction of the area it takes at partial height and the padding of inset content; the content color it hands down; the drag handle's box, grip and margins; for the drag handle (the one pressable control, `drag-handle`) its box, grip and state-layer colors in each state; and the enter, exit, settle and state motion.",
|
|
30
|
+
"rules": [
|
|
31
|
+
"A standard sheet sits over the bottom of the content while the content stays usable; a modal sheet dims and blocks everything else until it is dismissed. Both read the same container tokens.",
|
|
32
|
+
"The drag handle is a control, not decoration: its grip is held to the functional 3:1 boundary, and its box carries hover, focus and press.",
|
|
33
|
+
"A sheet that can be dismissed only by dragging still needs a visible way out for people who cannot drag: a Close or Done button in the content.",
|
|
34
|
+
"Restyle through these tokens in a layer; never fork the component.",
|
|
35
|
+
"drag-handle.state-layer.color is the color hover, focus and press mix into the handle's box; it aliases the grip color."
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"dev.tanrei.axes": {
|
|
39
|
+
"control": {
|
|
40
|
+
"default": "drag-handle",
|
|
41
|
+
"from": "states"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"scrim": {
|
|
46
|
+
"color": {
|
|
47
|
+
"$type": "color",
|
|
48
|
+
"$value": "{tanrei.sys.color.scrim}",
|
|
49
|
+
"$description": "The dim over everything behind a modal sheet, alpha included (the scrim role is the overlay as drawn). A standard sheet draws none."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"container": {
|
|
53
|
+
"color": {
|
|
54
|
+
"$type": "color",
|
|
55
|
+
"$value": "{tanrei.sys.color.surface-container-low}"
|
|
56
|
+
},
|
|
57
|
+
"elevation": {
|
|
58
|
+
"$type": "shadow",
|
|
59
|
+
"$value": "{tanrei.sys.elevation.level2}",
|
|
60
|
+
"$description": "The sheet's lift over the content it covers. Tanrei's level1 is only the hairline ring, so a sheet that must stand apart from a page with no scrim under it rests at level2; a system whose level1 is a real shadow may set level1."
|
|
61
|
+
},
|
|
62
|
+
"shape": {
|
|
63
|
+
"$type": "dimension",
|
|
64
|
+
"$value": "{tanrei.sys.shape.corner.large}",
|
|
65
|
+
"$description": "The corners at the sheet's top edge; its bottom corners meet the screen's edge and stay square."
|
|
66
|
+
},
|
|
67
|
+
"max-width": {
|
|
68
|
+
"$type": "dimension",
|
|
69
|
+
"$value": {
|
|
70
|
+
"value": 640,
|
|
71
|
+
"unit": "px"
|
|
72
|
+
},
|
|
73
|
+
"$description": "The widest a sheet draws; on a wider area it is centred and the area shows at its sides.",
|
|
74
|
+
"$extensions": {
|
|
75
|
+
"dev.tanrei.derive": {
|
|
76
|
+
"fn": "mul",
|
|
77
|
+
"of": "{tanrei.dial.size.unit}",
|
|
78
|
+
"by": 160
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"margin-block-start": {
|
|
83
|
+
"$type": "dimension",
|
|
84
|
+
"$value": "{tanrei.sys.space.space600}",
|
|
85
|
+
"$description": "At full height, the distance kept between the sheet's top edge and the top of the area it covers (below the top system inset), so that the page behind is still seen to be there."
|
|
86
|
+
},
|
|
87
|
+
"partial-fraction": {
|
|
88
|
+
"$type": "number",
|
|
89
|
+
"$value": 0.5,
|
|
90
|
+
"$description": "At partial height, the fraction of the area's height the sheet takes (when its content is taller than that).",
|
|
91
|
+
"$extensions": {
|
|
92
|
+
"dev.tanrei.derive": {
|
|
93
|
+
"fixed": "A proportion of the area the sheet covers; no dial scales it."
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"padding": {
|
|
98
|
+
"$type": "dimension",
|
|
99
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
100
|
+
"$description": "While inset is true: the inset of the content from the sheet's start, end and bottom edges, and from its top edge when there is no drag handle."
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"content": {
|
|
104
|
+
"color": {
|
|
105
|
+
"$type": "color",
|
|
106
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
107
|
+
"$description": "The foreground the sheet hands to its content, as the platform's inherited color."
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"handle": {
|
|
111
|
+
"container-width": {
|
|
112
|
+
"$type": "dimension",
|
|
113
|
+
"$value": {
|
|
114
|
+
"value": 48,
|
|
115
|
+
"unit": "px"
|
|
116
|
+
},
|
|
117
|
+
"$description": "The drag handle's box: where its hover, focus and press are drawn, centred on the grip.",
|
|
118
|
+
"$extensions": {
|
|
119
|
+
"dev.tanrei.derive": {
|
|
120
|
+
"fn": "mul",
|
|
121
|
+
"of": "{tanrei.dial.size.unit}",
|
|
122
|
+
"by": 12
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"container-height": {
|
|
127
|
+
"$type": "dimension",
|
|
128
|
+
"$value": {
|
|
129
|
+
"value": 24,
|
|
130
|
+
"unit": "px"
|
|
131
|
+
},
|
|
132
|
+
"$description": "The height of the drag handle's box. With the margins above and below it, the handle's row is the touch target's height.",
|
|
133
|
+
"$extensions": {
|
|
134
|
+
"dev.tanrei.derive": {
|
|
135
|
+
"fn": "mul",
|
|
136
|
+
"of": "{tanrei.dial.size.unit}",
|
|
137
|
+
"by": 6
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"container-shape": {
|
|
142
|
+
"$type": "dimension",
|
|
143
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
144
|
+
},
|
|
145
|
+
"margin-block": {
|
|
146
|
+
"$type": "dimension",
|
|
147
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
148
|
+
"$description": "Above and below the drag handle's box: from the sheet's top edge, and to the content."
|
|
149
|
+
},
|
|
150
|
+
"grip-width": {
|
|
151
|
+
"$type": "dimension",
|
|
152
|
+
"$value": {
|
|
153
|
+
"value": 32,
|
|
154
|
+
"unit": "px"
|
|
155
|
+
},
|
|
156
|
+
"$description": "The drawn grip: the short bar that says the sheet can be dragged.",
|
|
157
|
+
"$extensions": {
|
|
158
|
+
"dev.tanrei.derive": {
|
|
159
|
+
"fn": "mul",
|
|
160
|
+
"of": "{tanrei.dial.size.unit}",
|
|
161
|
+
"by": 8
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"grip-height": {
|
|
166
|
+
"$type": "dimension",
|
|
167
|
+
"$value": {
|
|
168
|
+
"value": 4,
|
|
169
|
+
"unit": "px"
|
|
170
|
+
},
|
|
171
|
+
"$extensions": {
|
|
172
|
+
"dev.tanrei.derive": {
|
|
173
|
+
"fn": "mul",
|
|
174
|
+
"of": "{tanrei.dial.size.unit}",
|
|
175
|
+
"by": 1
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"grip-shape": {
|
|
180
|
+
"$type": "dimension",
|
|
181
|
+
"$value": "{tanrei.sys.shape.corner.full}"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"drag-handle": {
|
|
185
|
+
"container": {
|
|
186
|
+
"color": {
|
|
187
|
+
"$type": "color",
|
|
188
|
+
"$value": {
|
|
189
|
+
"colorSpace": "srgb",
|
|
190
|
+
"components": [
|
|
191
|
+
0,
|
|
192
|
+
0,
|
|
193
|
+
0
|
|
194
|
+
],
|
|
195
|
+
"alpha": 0,
|
|
196
|
+
"hex": "#000000"
|
|
197
|
+
},
|
|
198
|
+
"$description": "The handle's box at rest: nothing is drawn; its states draw the state layer.",
|
|
199
|
+
"$extensions": {
|
|
200
|
+
"dev.tanrei.derive": {
|
|
201
|
+
"fixed": "The drag handle draws no fill at rest; its states draw the state layer."
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"grip": {
|
|
207
|
+
"color": {
|
|
208
|
+
"$type": "color",
|
|
209
|
+
"$value": "{tanrei.sys.color.outline}",
|
|
210
|
+
"$description": "The grip is how a sighted person finds a control, so it takes the functional boundary role (3:1 on every surface), not the decorative hairline."
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"state-layer": {
|
|
214
|
+
"color": {
|
|
215
|
+
"$type": "color",
|
|
216
|
+
"$value": "{tanrei.comp.bottom-sheet.drag-handle.grip.color}"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"motion": {
|
|
221
|
+
"state-duration": {
|
|
222
|
+
"$type": "duration",
|
|
223
|
+
"$value": "{tanrei.sys.motion.duration.short3}"
|
|
224
|
+
},
|
|
225
|
+
"state-easing": {
|
|
226
|
+
"$type": "cubicBezier",
|
|
227
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
228
|
+
},
|
|
229
|
+
"feedback-duration": {
|
|
230
|
+
"$type": "duration",
|
|
231
|
+
"$value": "{tanrei.sys.motion.duration.long1}",
|
|
232
|
+
"$description": "How long the answer to a press on the drag handle takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
233
|
+
},
|
|
234
|
+
"enter-duration": {
|
|
235
|
+
"$type": "duration",
|
|
236
|
+
"$value": "{tanrei.sys.motion.duration.medium2}",
|
|
237
|
+
"$description": "How long the sheet takes to rise into place (and a modal sheet's scrim to fade in), to move to another height, or to settle after a drag."
|
|
238
|
+
},
|
|
239
|
+
"enter-easing": {
|
|
240
|
+
"$type": "cubicBezier",
|
|
241
|
+
"$value": "{tanrei.sys.motion.easing.emphasized-decelerate}"
|
|
242
|
+
},
|
|
243
|
+
"exit-duration": {
|
|
244
|
+
"$type": "duration",
|
|
245
|
+
"$value": "{tanrei.sys.motion.duration.short4}",
|
|
246
|
+
"$description": "How long the sheet takes to leave below the bottom edge (and a modal sheet's scrim to fade out)."
|
|
247
|
+
},
|
|
248
|
+
"exit-easing": {
|
|
249
|
+
"$type": "cubicBezier",
|
|
250
|
+
"$value": "{tanrei.sys.motion.easing.emphasized-accelerate}"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"breadcrumbs": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product has pages that sit inside other pages, three or more levels deep, and shows on each the way back up: the levels above as links, in order, and the page itself last. On a narrow window it folds the middle levels behind one button.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"item",
|
|
13
|
+
"current",
|
|
14
|
+
"overflow"
|
|
15
|
+
],
|
|
16
|
+
"states": [
|
|
17
|
+
"hovered",
|
|
18
|
+
"focused",
|
|
19
|
+
"pressed"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"content.color": "color",
|
|
24
|
+
"state-layer.color": "color"
|
|
25
|
+
},
|
|
26
|
+
"perComponent": {
|
|
27
|
+
"opacity": "number",
|
|
28
|
+
"container.shape": "dimension"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"dev.tanrei.axes": {
|
|
32
|
+
"part": {
|
|
33
|
+
"default": "item",
|
|
34
|
+
"from": "states"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"dev.tanrei.llm": {
|
|
38
|
+
"usage": "Everything a breadcrumb trail reads: the text style of its levels, the underline of a level that is a link, the corners of the shape that carries hover, focus and press, the gap between a glyph and its label, the glyph size, the separator's size, color and the space on either side of it, the gap between lines when the trail wraps, the color of a level that has no page, the timing of a state change, and for each pressable part (a level that is a link, the current page, the overflow button) its fill, content and state-layer colors at rest and in each state.",
|
|
39
|
+
"rules": [
|
|
40
|
+
"A level with a destination is a link, underlined as underline.visibility names: it follows sys.behavior.link-underline, always in the default system. A level without one is text.",
|
|
41
|
+
"underline.visibility follows the system: set the sys token to change every text link at once, comp.breadcrumbs.underline.visibility to set the trail apart, and the underline prop to set one trail apart. Where it is not always, the link color must stand 3:1 apart from label.color, the color of a level that is text; the build checks it.",
|
|
42
|
+
"The current page is the last level. Give it no destination: it is then text, heavier than the links and not underlined. Do not color it as a link.",
|
|
43
|
+
"Separators are decorative glyphs drawn by the component and mirror in a right-to-left layout. Never write a separator into a label.",
|
|
44
|
+
"The trail collapses its middle by the width it is given; do not hide levels by hand.",
|
|
45
|
+
"State tokens are valued by the design system's pattern rules; override one token or replace the rule.",
|
|
46
|
+
"Restyle through these tokens in a layer; never style the anchors by hand."
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"container": {
|
|
51
|
+
"shape": {
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$value": "{tanrei.sys.shape.corner.extra-small}",
|
|
54
|
+
"$description": "The corners of the shape that carries hover, focus and press behind a level that is a link and behind the overflow button, and of the focus ring around it."
|
|
55
|
+
},
|
|
56
|
+
"gap": {
|
|
57
|
+
"$type": "dimension",
|
|
58
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
59
|
+
"$description": "Space between a level's glyph and its label."
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"label": {
|
|
63
|
+
"typescale": {
|
|
64
|
+
"$type": "typography",
|
|
65
|
+
"$value": "{tanrei.sys.typescale.body}",
|
|
66
|
+
"$description": "The text style of every level."
|
|
67
|
+
},
|
|
68
|
+
"color": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
71
|
+
"$description": "A level above the current page that has no destination: secondary text, not a link."
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"underline": {
|
|
75
|
+
"width": {
|
|
76
|
+
"$type": "dimension",
|
|
77
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
78
|
+
"$description": "The thickness of the underline of a level that is a link. The underline takes the label's color in every state."
|
|
79
|
+
},
|
|
80
|
+
"offset": {
|
|
81
|
+
"$type": "dimension",
|
|
82
|
+
"$value": "{tanrei.sys.space.space25}",
|
|
83
|
+
"$description": "How far below the text's baseline the underline is drawn."
|
|
84
|
+
},
|
|
85
|
+
"visibility": {
|
|
86
|
+
"$type": "number",
|
|
87
|
+
"$value": "{tanrei.sys.behavior.link-underline}",
|
|
88
|
+
"$description": "When the underline of a level that is a link is drawn. always: at rest and in every state. hover: while the level is hovered, focused from the keyboard or pressed, and not at rest. never: in no state. Follows the system's choice; a trail's underline prop overrides it (BRC-30). Forced colors draw it under every choice (BRC-24). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
89
|
+
"$extensions": {
|
|
90
|
+
"dev.tanrei.vocabulary": {
|
|
91
|
+
"rationale": "One product draws its text links in one manner, and the system-wide choice gives it; the trail must be able to leave it, because a row of levels parted by separators is a set of navigation and not a sentence: a product may underline the links of its sentences and leave its trail clean, where position already says what a level is.",
|
|
92
|
+
"since": "0.1.0"
|
|
93
|
+
},
|
|
94
|
+
"dev.tanrei.enum": {
|
|
95
|
+
"values": [
|
|
96
|
+
"always",
|
|
97
|
+
"hover",
|
|
98
|
+
"never"
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"icon": {
|
|
105
|
+
"size": {
|
|
106
|
+
"$type": "dimension",
|
|
107
|
+
"$value": "{tanrei.sys.icon.extra-small}",
|
|
108
|
+
"$description": "The box of a level's glyph and of the overflow button's glyph."
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"separator": {
|
|
112
|
+
"size": {
|
|
113
|
+
"$type": "dimension",
|
|
114
|
+
"$value": "{tanrei.sys.icon.extra-small}",
|
|
115
|
+
"$description": "The separator glyph's box."
|
|
116
|
+
},
|
|
117
|
+
"gap": {
|
|
118
|
+
"$type": "dimension",
|
|
119
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
120
|
+
"$description": "Space between a separator and the level on either side of it."
|
|
121
|
+
},
|
|
122
|
+
"color": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
125
|
+
"$description": "The separator between two levels. Decorative."
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"row-gap": {
|
|
129
|
+
"$type": "dimension",
|
|
130
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
131
|
+
"$description": "Space between two lines of a trail that wraps."
|
|
132
|
+
},
|
|
133
|
+
"item": {
|
|
134
|
+
"$type": "color",
|
|
135
|
+
"container": {
|
|
136
|
+
"color": {
|
|
137
|
+
"$value": {
|
|
138
|
+
"colorSpace": "srgb",
|
|
139
|
+
"components": [
|
|
140
|
+
0,
|
|
141
|
+
0,
|
|
142
|
+
0
|
|
143
|
+
],
|
|
144
|
+
"alpha": 0,
|
|
145
|
+
"hex": "#000000"
|
|
146
|
+
},
|
|
147
|
+
"$extensions": {
|
|
148
|
+
"dev.tanrei.derive": {
|
|
149
|
+
"fixed": "A level has no fill at rest; the surface behind its text shows through."
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"$description": "The fill behind a level that is a link. None at rest: it is where hover, focus and press are drawn."
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"content": {
|
|
156
|
+
"color": {
|
|
157
|
+
"$value": "{tanrei.sys.color.link}",
|
|
158
|
+
"$description": "The label, the underline and the glyph of a level that is a link: the role the vocabulary keeps for text links."
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"state-layer": {
|
|
162
|
+
"color": {
|
|
163
|
+
"$value": "{tanrei.comp.breadcrumbs.item.content.color}",
|
|
164
|
+
"$description": "The color hover, focus and press mix into the container."
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"current": {
|
|
169
|
+
"$type": "color",
|
|
170
|
+
"container": {
|
|
171
|
+
"color": {
|
|
172
|
+
"$value": {
|
|
173
|
+
"colorSpace": "srgb",
|
|
174
|
+
"components": [
|
|
175
|
+
0,
|
|
176
|
+
0,
|
|
177
|
+
0
|
|
178
|
+
],
|
|
179
|
+
"alpha": 0,
|
|
180
|
+
"hex": "#000000"
|
|
181
|
+
},
|
|
182
|
+
"$extensions": {
|
|
183
|
+
"dev.tanrei.derive": {
|
|
184
|
+
"fixed": "The current page has no fill at rest."
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"content": {
|
|
190
|
+
"color": {
|
|
191
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
192
|
+
"$description": "The current page: the color of the text around it, because it is where the person is and not somewhere to go."
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"state-layer": {
|
|
196
|
+
"color": {
|
|
197
|
+
"$value": "{tanrei.comp.breadcrumbs.current.content.color}",
|
|
198
|
+
"$description": "Used only where the product gives the current page a destination, so that it is a link."
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"overflow": {
|
|
203
|
+
"$type": "color",
|
|
204
|
+
"container": {
|
|
205
|
+
"color": {
|
|
206
|
+
"$value": {
|
|
207
|
+
"colorSpace": "srgb",
|
|
208
|
+
"components": [
|
|
209
|
+
0,
|
|
210
|
+
0,
|
|
211
|
+
0
|
|
212
|
+
],
|
|
213
|
+
"alpha": 0,
|
|
214
|
+
"hex": "#000000"
|
|
215
|
+
},
|
|
216
|
+
"$extensions": {
|
|
217
|
+
"dev.tanrei.derive": {
|
|
218
|
+
"fixed": "The overflow button draws no fill at rest; its states draw the state layer."
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"content": {
|
|
224
|
+
"color": {
|
|
225
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
226
|
+
"$description": "The glyph of the button that stands for the collapsed levels: a glyph alone is a step quieter than a word."
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"state-layer": {
|
|
230
|
+
"color": {
|
|
231
|
+
"$value": "{tanrei.comp.breadcrumbs.overflow.content.color}"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"motion": {
|
|
236
|
+
"state-duration": {
|
|
237
|
+
"$type": "duration",
|
|
238
|
+
"$value": "{tanrei.sys.motion.duration.short3}"
|
|
239
|
+
},
|
|
240
|
+
"state-easing": {
|
|
241
|
+
"$type": "cubicBezier",
|
|
242
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
243
|
+
},
|
|
244
|
+
"feedback-duration": {
|
|
245
|
+
"$type": "duration",
|
|
246
|
+
"$value": "{tanrei.sys.motion.duration.long1}",
|
|
247
|
+
"$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."
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"button-group": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product places a few related actions side by side or stacked, spaced apart in one place and joined into one shape in another (a formatting set, a date stepper, a dialog's actions).",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a button group reads: the space between standard items; and for connected items whether they are joined by a divider or by a gap, the divider's color (and its color between two emphasis fills), thickness and inset, the gap, the inner corners, the outer corners of a row and of a column, and the padding added at a row's rounded outer ends. The Buttons inside keep their own tokens.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A button group lays out actions; each Button is its own Tab stop. Use a segmented button for one choice among options and a toolbar for a row with one Tab stop.",
|
|
14
|
+
"Give every Button of a group the same size.",
|
|
15
|
+
"Mark the completing action confirming and the backing-out action dismissive instead of ordering them by hand; the group places them for the orientation and the reading direction.",
|
|
16
|
+
"Restyle through these tokens in a layer; never restyle the Buttons from the group.",
|
|
17
|
+
"connected.separation follows sys.behavior.separation; set it here only to join button groups differently from the rest of the system, and use the separation prop for one group.",
|
|
18
|
+
"Under divider the items touch and the inner corners are square; connected.gap and connected.inner-shape are read under gap only.",
|
|
19
|
+
"connected.divider.color is the hairline of the default system, the color of an outlined Button's outline and of the divider component: change it only to draw the rules of a group apart from them.",
|
|
20
|
+
"A seam between two items whose fills differ carries no line (BGR-24); connected.divider.on-fill.color is read only between two items that both rest on an emphasis fill, where the hairline cannot be seen."
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"standard": {
|
|
25
|
+
"gap": {
|
|
26
|
+
"$type": "dimension",
|
|
27
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
28
|
+
"$description": "Space between the visible bounds of two items of a standard group, side by side or one above the other. Neighbouring hit areas meet at the middle of it (BGR-4), so it is what keeps each item's target whole: at sys.target.touch minus an item's width (in a row) or height (in a column) or more, the item keeps its full target between neighbours. The default system's 16 is 48 minus its narrowest and lowest item (a small icon-only Button, 32)."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"connected": {
|
|
32
|
+
"separation": {
|
|
33
|
+
"$type": "number",
|
|
34
|
+
"$value": "{tanrei.sys.behavior.separation}",
|
|
35
|
+
"$description": "How the items of a connected group are joined. divider: they touch, with a line on each seam and square inner corners. gap: they stand connected.gap apart, with connected.inner-shape where they face each other and nothing drawn between them. Follows the system's choice; a group's separation prop overrides it (BGR-21). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
36
|
+
"$extensions": {
|
|
37
|
+
"dev.tanrei.vocabulary": {
|
|
38
|
+
"rationale": "One product joins its button groups by a gap while its menus keep their dividers, or the reverse: the system-wide choice gives the common answer, and a component whose parts read better the other way must be able to leave it.",
|
|
39
|
+
"since": "0.1.0"
|
|
40
|
+
},
|
|
41
|
+
"dev.tanrei.enum": {
|
|
42
|
+
"values": [
|
|
43
|
+
"divider",
|
|
44
|
+
"gap"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"divider": {
|
|
50
|
+
"color": {
|
|
51
|
+
"$type": "color",
|
|
52
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
53
|
+
"$description": "The line on a seam under divider, between two items that rest on the same fill and are not both emphasis fills (BGR-24): outlined, text, tonal and elevated Buttons, and unselected toggles. In the default system it is the hairline role, the color the divider draws its line in and the color of an outlined Button's outline, so an outlined group reads as one outline with rules in it. It keeps its own token so that a system can draw the rules apart from its dividers."
|
|
54
|
+
},
|
|
55
|
+
"on-fill": {
|
|
56
|
+
"color": {
|
|
57
|
+
"$type": "color",
|
|
58
|
+
"$value": "{tanrei.sys.color.outline}",
|
|
59
|
+
"$description": "The line on a seam between two items that both rest on an emphasis fill: two filled Buttons, or two selected toggles (BGR-24). The hairline is a faint darkening of a light ground or a faint lightening of a dark one and cannot be seen on these fills (1.0–1.1:1), so the line there takes the functional outline role, which is told from them.",
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"dev.tanrei.vocabulary": {
|
|
62
|
+
"rationale": "One product joins filled Buttons in one place and outlined ones in another, and keeps toggles that are on side by side. A line that can be seen on a surface and a line that can be seen on a strong fill are two colors once the first is a hairline; one token cannot be both.",
|
|
63
|
+
"since": "0.1.0"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"thickness": {
|
|
69
|
+
"$type": "dimension",
|
|
70
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
71
|
+
"$description": "The thickness of the line on a seam."
|
|
72
|
+
},
|
|
73
|
+
"inset": {
|
|
74
|
+
"$type": "dimension",
|
|
75
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
76
|
+
"$description": "How far the line stops short of each end of the seam: from the top and the bottom of a row, from the start and the end of a column. 0 draws it across the whole seam. Above 0 the group reads as one shape with rules in it rather than as shapes cut apart, which is what tells divider from a narrow gap."
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"gap": {
|
|
80
|
+
"$type": "dimension",
|
|
81
|
+
"$value": "{tanrei.sys.space.space25}",
|
|
82
|
+
"$description": "Space between two joined items, in a row or a column, under gap. Unused under divider, where the items touch."
|
|
83
|
+
},
|
|
84
|
+
"inner-shape": {
|
|
85
|
+
"$type": "dimension",
|
|
86
|
+
"$value": "{tanrei.sys.shape.corner.small}",
|
|
87
|
+
"$description": "The radius of the corners where two joined items face each other, in a row or a column, under gap. Under divider those corners are square."
|
|
88
|
+
},
|
|
89
|
+
"horizontal": {
|
|
90
|
+
"outer-shape": {
|
|
91
|
+
"$type": "dimension",
|
|
92
|
+
"$value": "{tanrei.sys.shape.corner.full}",
|
|
93
|
+
"$description": "The radius of the outer ends of a joined row: the start corners of the first item and the end corners of the last, capped at half the item's height (BGR-2). Full, so the row reads as one pill with seams."
|
|
94
|
+
},
|
|
95
|
+
"outer-inset": {
|
|
96
|
+
"$type": "dimension",
|
|
97
|
+
"$value": "{tanrei.sys.space.space50}",
|
|
98
|
+
"$description": "Padding added to the first item at its start and to the last item at its end in a joined row (BGR-23). A full outer end takes more of the container away beside the content than the tighter inner corner does, so equal paddings look unequal; this evens them. A system whose outer ends are no rounder than its inner corners sets 0.",
|
|
99
|
+
"$extensions": {
|
|
100
|
+
"dev.tanrei.vocabulary": {
|
|
101
|
+
"rationale": "One product joins buttons under full outer ends in one place and under squarer ends in another (a preset's rows, a dense tool strip): how much the rounded end must be compensated is a value of the shape, and a product that changes the shape has to be able to change it.",
|
|
102
|
+
"since": "0.1.0"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"vertical": {
|
|
108
|
+
"outer-shape": {
|
|
109
|
+
"$type": "dimension",
|
|
110
|
+
"$value": "{tanrei.sys.shape.corner.large}",
|
|
111
|
+
"$description": "The radius of the outer ends of a joined column: the top corners of the first item and the bottom corners of the last (BGR-16). Two steps above the inner corner and short of full, so the column reads as one rounded panel with seams rather than a capsule."
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|