@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,436 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"accordion": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product folds parts of its content under rows that show and hide them: the answers of a help page, the sections of a settings screen, the advanced part of a form, the details of one entry in a list of results. Some stand alone and some are a set, of which a product may keep one open at a time; some sets are rows ruled by a line on the page, some a bounded box; a page for reading gives them room and a panel among controls draws them closer; some rows carry a glyph, a second line or a short value at their end, and some are unavailable.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"plain",
|
|
13
|
+
"outlined"
|
|
14
|
+
],
|
|
15
|
+
"states": [
|
|
16
|
+
"hovered",
|
|
17
|
+
"focused",
|
|
18
|
+
"pressed",
|
|
19
|
+
"disabled"
|
|
20
|
+
],
|
|
21
|
+
"perVariant": {
|
|
22
|
+
"container.color": "color",
|
|
23
|
+
"label.color": "color",
|
|
24
|
+
"supporting-text.color": "color",
|
|
25
|
+
"trailing-text.color": "color",
|
|
26
|
+
"icon.color": "color",
|
|
27
|
+
"chevron.color": "color",
|
|
28
|
+
"state-layer.color": "color"
|
|
29
|
+
},
|
|
30
|
+
"perComponent": {
|
|
31
|
+
"opacity": "number"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"dev.tanrei.axes": {
|
|
35
|
+
"variant": {
|
|
36
|
+
"default": "plain",
|
|
37
|
+
"from": "states"
|
|
38
|
+
},
|
|
39
|
+
"density": {
|
|
40
|
+
"default": "regular",
|
|
41
|
+
"values": [
|
|
42
|
+
"regular",
|
|
43
|
+
"compact"
|
|
44
|
+
],
|
|
45
|
+
"members": [
|
|
46
|
+
"container.height",
|
|
47
|
+
"container.padding-block",
|
|
48
|
+
"container.padding-inline",
|
|
49
|
+
"label.typescale",
|
|
50
|
+
"supporting-text.typescale",
|
|
51
|
+
"trailing-text.typescale",
|
|
52
|
+
"icon.size",
|
|
53
|
+
"chevron.size",
|
|
54
|
+
"content.padding-block-end"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"dev.tanrei.llm": {
|
|
59
|
+
"usage": "Everything an accordion reads: how its items are told apart (a line or a gap), the line and the gap; per density (regular, compact) a header's least height, paddings, text styles and glyph sizes, and the space under an open item's content; the outlined look's edge and corners; the motion of opening and closing; and for each look (plain, outlined) the colors of a header's container, label, supporting text, trailing text, icon, chevron and state layer in each state.",
|
|
60
|
+
"rules": [
|
|
61
|
+
"An accordion is content that a row shows and hides in place. One item is a single disclosure; several are a set. A group of destinations that opens and closes inside a navigation drawer is the drawer's own group; a choice among views of the same place is tabs; a list of commands that opens over the content is a menu.",
|
|
62
|
+
"Do not hide what most people need: closed content costs a press to read. Open the item a person most likely came for, and leave a set independent unless the items exclude each other.",
|
|
63
|
+
"exclusive closes the open item when another opens. Use it where reading one item makes the others irrelevant (the steps of one choice), not to keep a page short: it moves the page under the reader.",
|
|
64
|
+
"The header is one button. Put no link, button or field in it; a static word such as a tag or a count is the trailing text or part of the label.",
|
|
65
|
+
"The label is plain text. Where the page's outline needs the row as a heading, give a heading of the right level as the label's content; the accordion draws it as any label.",
|
|
66
|
+
"Open is shown by the chevron alone. The header keeps its colors and weight when open: a primary fill means \"the one chosen now\", and an open item is not a choice.",
|
|
67
|
+
"A header and a navigation drawer's group row behave alike: the same chevron at the end, turned half a turn, the same motion tokens' values, the same keys. The compact density is the drawer row's height and text style.",
|
|
68
|
+
"plain draws rows on the surface it stands on; outlined bounds them with the one hairline. Separation decides whether the items of a set are ruled by a line or stand apart; in the outlined look a line keeps them in one box and a gap gives each its own.",
|
|
69
|
+
"The content is the product's: the accordion gives it an inset and the space under it, and no text style or color.",
|
|
70
|
+
"Each look's state-layer.color is the color hover, focus and press mix into the header; it aliases the look's label color.",
|
|
71
|
+
"Restyle through these tokens in a layer; never draw a details element by hand."
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"separation": {
|
|
76
|
+
"$type": "number",
|
|
77
|
+
"$value": "{tanrei.sys.behavior.separation}",
|
|
78
|
+
"$description": "How an item is told from the item next to it. divider: a line of divider.thickness in divider.color between them. gap: item.gap of empty space and no line; in the outlined look each item then has an edge of its own. Follows the system's choice; an accordion's separation prop overrides it (ACC-10). The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
79
|
+
"$extensions": {
|
|
80
|
+
"dev.tanrei.vocabulary": {
|
|
81
|
+
"rationale": "One product rules its folded sections with a line while its joined buttons stand apart, or parts both by space: the system-wide choice gives the common answer, and the accordion must be able to leave it, because a line between sections of content and a line inside a filled control are not the same decision.",
|
|
82
|
+
"since": "0.1.0"
|
|
83
|
+
},
|
|
84
|
+
"dev.tanrei.enum": {
|
|
85
|
+
"values": [
|
|
86
|
+
"divider",
|
|
87
|
+
"gap"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"container": {
|
|
93
|
+
"height": {
|
|
94
|
+
"$type": "dimension",
|
|
95
|
+
"$description": "A header's least height, per density: the row that opens and closes an item, which carries hover, focus and press. Regular holds one line of a title with room around it, for a page a person reads; compact is a navigation drawer's row and a menu item's height, for a panel among controls. Both are at least the touch target, because rows that touch cannot extend a hit area over each other. A minimum: a header grows with a wrapped label, a supporting text and enlarged text.",
|
|
96
|
+
"regular": {
|
|
97
|
+
"$value": {
|
|
98
|
+
"value": 56,
|
|
99
|
+
"unit": "px"
|
|
100
|
+
},
|
|
101
|
+
"$extensions": {
|
|
102
|
+
"dev.tanrei.derive": {
|
|
103
|
+
"fn": "mul",
|
|
104
|
+
"of": "{tanrei.dial.size.unit}",
|
|
105
|
+
"by": 14
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"compact": {
|
|
110
|
+
"$value": {
|
|
111
|
+
"value": 48,
|
|
112
|
+
"unit": "px"
|
|
113
|
+
},
|
|
114
|
+
"$extensions": {
|
|
115
|
+
"dev.tanrei.derive": {
|
|
116
|
+
"fn": "mul",
|
|
117
|
+
"of": "{tanrei.dial.size.unit}",
|
|
118
|
+
"by": 12
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"padding-block": {
|
|
124
|
+
"$type": "dimension",
|
|
125
|
+
"$description": "Above the first line and below the last line of a header's text, per density. With one line of the label it gives the height exactly or leaves room; it holds the room when the text is enlarged or wraps.",
|
|
126
|
+
"regular": {
|
|
127
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
128
|
+
},
|
|
129
|
+
"compact": {
|
|
130
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"padding-inline": {
|
|
134
|
+
"$type": "dimension",
|
|
135
|
+
"$description": "Before the first part of a header and after its chevron, per density, and the inset of an open item's content on both sides, so that the content starts under the header's first part.",
|
|
136
|
+
"regular": {
|
|
137
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
138
|
+
},
|
|
139
|
+
"compact": {
|
|
140
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"gap": {
|
|
144
|
+
"$type": "dimension",
|
|
145
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
146
|
+
"$description": "Between the icon, the text, the trailing text and the chevron of a header: a navigation drawer row's gap."
|
|
147
|
+
},
|
|
148
|
+
"shape": {
|
|
149
|
+
"$type": "dimension",
|
|
150
|
+
"$value": "{tanrei.sys.shape.corner.none}",
|
|
151
|
+
"$description": "The corners of a header's container, which its state layer and its focus indicator follow. Square in the default system, as a list item's row is: a header reaches both edges of its item, and in the outlined look the edge's corners clip it."
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"label": {
|
|
155
|
+
"typescale": {
|
|
156
|
+
"$description": "The label's text style, per density. Regular is the style of a card's title; compact is the style of a navigation drawer's row.",
|
|
157
|
+
"regular": {
|
|
158
|
+
"$type": "typography",
|
|
159
|
+
"$value": "{tanrei.sys.typescale.heading-5}"
|
|
160
|
+
},
|
|
161
|
+
"compact": {
|
|
162
|
+
"$type": "typography",
|
|
163
|
+
"$value": "{tanrei.sys.typescale.label}"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"supporting-text": {
|
|
168
|
+
"$extensions": {
|
|
169
|
+
"dev.tanrei.vocabulary": {
|
|
170
|
+
"rationale": "One product says in a second line what a folded section holds (under \"Notifications\": \"Email, push and the weekly digest\"), quieter than the section's name, so that a person can decide without opening it.",
|
|
171
|
+
"since": "0.1.0"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"typescale": {
|
|
175
|
+
"$description": "The line under the label, per density: one step under the label's size, at a regular weight.",
|
|
176
|
+
"regular": {
|
|
177
|
+
"$type": "typography",
|
|
178
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
179
|
+
},
|
|
180
|
+
"compact": {
|
|
181
|
+
"$type": "typography",
|
|
182
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"trailing-text": {
|
|
187
|
+
"$extensions": {
|
|
188
|
+
"dev.tanrei.vocabulary": {
|
|
189
|
+
"rationale": "One product puts a count or the present value at the end of some rows (3 conflicts; the typeface a folded setting holds), quieter than the row's name so that the names still lead the eye, and readable without opening the item.",
|
|
190
|
+
"since": "0.1.0"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"typescale": {
|
|
194
|
+
"$description": "The short value before the chevron, per density: the supporting text's style.",
|
|
195
|
+
"regular": {
|
|
196
|
+
"$type": "typography",
|
|
197
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
198
|
+
},
|
|
199
|
+
"compact": {
|
|
200
|
+
"$type": "typography",
|
|
201
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"icon": {
|
|
206
|
+
"size": {
|
|
207
|
+
"$type": "dimension",
|
|
208
|
+
"$description": "The box of the glyph at the start of a header, per density: as tall as one line of the label, so that it sits on the first line without making the row taller.",
|
|
209
|
+
"regular": {
|
|
210
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
211
|
+
},
|
|
212
|
+
"compact": {
|
|
213
|
+
"$value": "{tanrei.sys.icon.small}"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"chevron": {
|
|
218
|
+
"$extensions": {
|
|
219
|
+
"dev.tanrei.vocabulary": {
|
|
220
|
+
"rationale": "One product draws the mark that says a row opens smaller or larger than the row's own glyph, so that it reads as a mark and not as a second icon; a navigation drawer makes the same distinction for a group's chevron.",
|
|
221
|
+
"since": "0.1.0"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"size": {
|
|
225
|
+
"$type": "dimension",
|
|
226
|
+
"$description": "The chevron's box, per density. Compact is the size of a navigation drawer group's chevron.",
|
|
227
|
+
"regular": {
|
|
228
|
+
"$value": "{tanrei.sys.icon.medium}"
|
|
229
|
+
},
|
|
230
|
+
"compact": {
|
|
231
|
+
"$value": "{tanrei.sys.icon.small}"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"content": {
|
|
236
|
+
"padding-block-end": {
|
|
237
|
+
"$type": "dimension",
|
|
238
|
+
"$description": "Under an open item's content, before the next item or the accordion's end, per density. There is none above the content: it starts directly under the header, whose own padding sets it off.",
|
|
239
|
+
"regular": {
|
|
240
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
241
|
+
},
|
|
242
|
+
"compact": {
|
|
243
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"outline": {
|
|
248
|
+
"color": {
|
|
249
|
+
"$type": "color",
|
|
250
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
251
|
+
"$description": "The edge of the outlined look: the one hairline, the color a divider, an outlined card and an outlined callout draw theirs in. Decorative: the headers are told as buttons by their chevrons and their states. It keeps its own token so that a system can draw this edge apart from its dividers."
|
|
252
|
+
},
|
|
253
|
+
"width": {
|
|
254
|
+
"$type": "dimension",
|
|
255
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
256
|
+
},
|
|
257
|
+
"shape": {
|
|
258
|
+
"$type": "dimension",
|
|
259
|
+
"$value": "{tanrei.sys.shape.corner.medium}",
|
|
260
|
+
"$description": "The corners of the outlined look's edge: the step of a card and of a callout, so that a bounded block of content reads as one of the page's blocks."
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"divider": {
|
|
264
|
+
"color": {
|
|
265
|
+
"$type": "color",
|
|
266
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
267
|
+
"$description": "The line between two items where separation is divider: the one hairline."
|
|
268
|
+
},
|
|
269
|
+
"thickness": {
|
|
270
|
+
"$type": "dimension",
|
|
271
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"item": {
|
|
275
|
+
"gap": {
|
|
276
|
+
"$type": "dimension",
|
|
277
|
+
"$value": "{tanrei.sys.space.space100}",
|
|
278
|
+
"$description": "Between two items where separation is gap.",
|
|
279
|
+
"$extensions": {
|
|
280
|
+
"dev.tanrei.vocabulary": {
|
|
281
|
+
"rationale": "One product parts its folded sections by space and no line; how much space is that product's rhythm, and it is not the space inside a header.",
|
|
282
|
+
"since": "0.1.0"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"plain": {
|
|
288
|
+
"container": {
|
|
289
|
+
"color": {
|
|
290
|
+
"$type": "color",
|
|
291
|
+
"$value": {
|
|
292
|
+
"colorSpace": "srgb",
|
|
293
|
+
"components": [
|
|
294
|
+
0,
|
|
295
|
+
0,
|
|
296
|
+
0
|
|
297
|
+
],
|
|
298
|
+
"alpha": 0,
|
|
299
|
+
"hex": "#000000"
|
|
300
|
+
},
|
|
301
|
+
"$extensions": {
|
|
302
|
+
"dev.tanrei.derive": {
|
|
303
|
+
"fixed": "The plain look draws no fill: a header is a row on the surface the accordion stands on; hover, focus and press mix into it."
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"label": {
|
|
309
|
+
"color": {
|
|
310
|
+
"$type": "color",
|
|
311
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
312
|
+
"$description": "The label: the text color of the surface the accordion stands on."
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"supporting-text": {
|
|
316
|
+
"color": {
|
|
317
|
+
"$type": "color",
|
|
318
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"trailing-text": {
|
|
322
|
+
"color": {
|
|
323
|
+
"$type": "color",
|
|
324
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"icon": {
|
|
328
|
+
"color": {
|
|
329
|
+
"$type": "color",
|
|
330
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"chevron": {
|
|
334
|
+
"color": {
|
|
335
|
+
"$type": "color",
|
|
336
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
337
|
+
"$description": "The chevron: a mark, quieter than the label, in the color a navigation drawer draws a group's chevron in."
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"state-layer": {
|
|
341
|
+
"color": {
|
|
342
|
+
"$type": "color",
|
|
343
|
+
"$value": "{tanrei.comp.accordion.plain.label.color}",
|
|
344
|
+
"$description": "What hover, focus and press mix into the header: the label's color."
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"outlined": {
|
|
349
|
+
"container": {
|
|
350
|
+
"color": {
|
|
351
|
+
"$type": "color",
|
|
352
|
+
"$value": "{tanrei.comp.accordion.plain.container.color}",
|
|
353
|
+
"$description": "No fill inside the edge either, in the default system. It is a token of its own so that a system can tint the header of a bounded item."
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"label": {
|
|
357
|
+
"color": {
|
|
358
|
+
"$type": "color",
|
|
359
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
360
|
+
"$description": "The label: the text color of the surface the accordion stands on."
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"supporting-text": {
|
|
364
|
+
"color": {
|
|
365
|
+
"$type": "color",
|
|
366
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"trailing-text": {
|
|
370
|
+
"color": {
|
|
371
|
+
"$type": "color",
|
|
372
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"icon": {
|
|
376
|
+
"color": {
|
|
377
|
+
"$type": "color",
|
|
378
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"chevron": {
|
|
382
|
+
"color": {
|
|
383
|
+
"$type": "color",
|
|
384
|
+
"$value": "{tanrei.sys.color.on-surface-variant}",
|
|
385
|
+
"$description": "The chevron: a mark, quieter than the label, in the color a navigation drawer draws a group's chevron in."
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"state-layer": {
|
|
389
|
+
"color": {
|
|
390
|
+
"$type": "color",
|
|
391
|
+
"$value": "{tanrei.comp.accordion.outlined.label.color}",
|
|
392
|
+
"$description": "What hover, focus and press mix into the header: the label's color."
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"motion": {
|
|
397
|
+
"state-duration": {
|
|
398
|
+
"$type": "duration",
|
|
399
|
+
"$value": "{tanrei.sys.motion.duration.short3}",
|
|
400
|
+
"$description": "How long a state change of a header takes."
|
|
401
|
+
},
|
|
402
|
+
"state-easing": {
|
|
403
|
+
"$type": "cubicBezier",
|
|
404
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
405
|
+
},
|
|
406
|
+
"feedback-duration": {
|
|
407
|
+
"$type": "duration",
|
|
408
|
+
"$value": "{tanrei.sys.motion.duration.long1}",
|
|
409
|
+
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
410
|
+
},
|
|
411
|
+
"disclosure-duration": {
|
|
412
|
+
"$type": "duration",
|
|
413
|
+
"$value": "{tanrei.sys.motion.spring.standard.fast-spatial.duration}",
|
|
414
|
+
"$description": "How long an item takes to open or close: its content revealed or hidden, what follows moving, and its chevron turning. The name and the value of a navigation drawer group's.",
|
|
415
|
+
"$extensions": {
|
|
416
|
+
"dev.tanrei.vocabulary": {
|
|
417
|
+
"rationale": "One product opens a folded section as a small local change of the page, faster or slower than it answers a press; and it may time a section of content apart from a group of destinations in its drawer.",
|
|
418
|
+
"since": "0.1.0"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"disclosure-easing": {
|
|
423
|
+
"$type": "cubicBezier",
|
|
424
|
+
"$value": "{tanrei.sys.motion.spring.standard.fast-spatial.easing}",
|
|
425
|
+
"$extensions": {
|
|
426
|
+
"dev.tanrei.vocabulary": {
|
|
427
|
+
"rationale": "The curve of disclosure-duration.",
|
|
428
|
+
"since": "0.1.0"
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"app-bar": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product heads its screens with a bar that names the screen and holds its way back and its actions: a compact bar on most screens and a tall one on top-level screens, flat while the content is at its top and set apart once content scrolls under it.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.states": {
|
|
11
|
+
"variants": [
|
|
12
|
+
"flat",
|
|
13
|
+
"scrolled"
|
|
14
|
+
],
|
|
15
|
+
"states": [],
|
|
16
|
+
"perVariant": {
|
|
17
|
+
"container.color": "color",
|
|
18
|
+
"container.elevation": "shadow",
|
|
19
|
+
"outline.color": "color"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"dev.tanrei.llm": {
|
|
23
|
+
"usage": "Everything an app bar reads: its height, title and subtitle styles per size (small, large), the insets and gaps of its top row, the title and subtitle colors, the width of its bottom edge, and for each condition (flat: nothing is under the bar; scrolled: content has scrolled under it) the container color, elevation and bottom-edge color.",
|
|
24
|
+
"rules": [
|
|
25
|
+
"The app bar has no interaction states: its navigation and actions are icon buttons with their own tokens, which the bar does not restyle.",
|
|
26
|
+
"flat and scrolled must differ visibly: the scrolled look is what tells the user there is content under the bar.",
|
|
27
|
+
"Heights are minimums: enlarged text grows the bar.",
|
|
28
|
+
"Restyle through these tokens in a layer; never fork the component."
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"dev.tanrei.axes": {
|
|
32
|
+
"size": {
|
|
33
|
+
"default": "small",
|
|
34
|
+
"values": [
|
|
35
|
+
"small",
|
|
36
|
+
"large"
|
|
37
|
+
],
|
|
38
|
+
"members": [
|
|
39
|
+
"container.height",
|
|
40
|
+
"title.typescale",
|
|
41
|
+
"subtitle.typescale"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"condition": {
|
|
45
|
+
"default": "flat",
|
|
46
|
+
"from": "states"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"container": {
|
|
51
|
+
"height": {
|
|
52
|
+
"$type": "dimension",
|
|
53
|
+
"$description": "The bar's minimum height, not counting the system inset above it. A large bar's top row is always the small height.",
|
|
54
|
+
"small": {
|
|
55
|
+
"$value": {
|
|
56
|
+
"value": 64,
|
|
57
|
+
"unit": "px"
|
|
58
|
+
},
|
|
59
|
+
"$extensions": {
|
|
60
|
+
"dev.tanrei.derive": {
|
|
61
|
+
"fn": "mul",
|
|
62
|
+
"of": "{tanrei.dial.size.unit}",
|
|
63
|
+
"by": 16
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"large": {
|
|
68
|
+
"$value": {
|
|
69
|
+
"value": 120,
|
|
70
|
+
"unit": "px"
|
|
71
|
+
},
|
|
72
|
+
"$extensions": {
|
|
73
|
+
"dev.tanrei.derive": {
|
|
74
|
+
"fn": "mul",
|
|
75
|
+
"of": "{tanrei.dial.size.unit}",
|
|
76
|
+
"by": 30
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"padding-inline": {
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"$description": "From the start and end edges to the navigation and actions slots.",
|
|
84
|
+
"$value": "{tanrei.sys.space.space50}"
|
|
85
|
+
},
|
|
86
|
+
"padding-block-end": {
|
|
87
|
+
"$type": "dimension",
|
|
88
|
+
"$description": "Below the expanded title of a large bar.",
|
|
89
|
+
"$value": "{tanrei.sys.space.space150}"
|
|
90
|
+
},
|
|
91
|
+
"gap": {
|
|
92
|
+
"$type": "dimension",
|
|
93
|
+
"$description": "Between the navigation slot, the title block and the actions slot.",
|
|
94
|
+
"$value": "{tanrei.sys.space.space100}"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"actions": {
|
|
98
|
+
"gap": {
|
|
99
|
+
"$type": "dimension",
|
|
100
|
+
"$description": "Between two actions.",
|
|
101
|
+
"$value": "{tanrei.sys.target.spacing}"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"title": {
|
|
105
|
+
"typescale": {
|
|
106
|
+
"$type": "typography",
|
|
107
|
+
"$description": "The title: in the top row (small, and a large bar once collapsed), and expanded under it (large).",
|
|
108
|
+
"small": {
|
|
109
|
+
"$value": "{tanrei.sys.typescale.heading-4}"
|
|
110
|
+
},
|
|
111
|
+
"large": {
|
|
112
|
+
"$value": "{tanrei.sys.typescale.heading-1}"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"inset": {
|
|
116
|
+
"$type": "dimension",
|
|
117
|
+
"$description": "The title's start inset when the navigation slot is empty, and the expanded title's start inset in a large bar.",
|
|
118
|
+
"$value": "{tanrei.sys.space.space200}"
|
|
119
|
+
},
|
|
120
|
+
"color": {
|
|
121
|
+
"$type": "color",
|
|
122
|
+
"$value": "{tanrei.sys.color.on-surface}"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"subtitle": {
|
|
126
|
+
"typescale": {
|
|
127
|
+
"$type": "typography",
|
|
128
|
+
"small": {
|
|
129
|
+
"$value": "{tanrei.sys.typescale.body-small}"
|
|
130
|
+
},
|
|
131
|
+
"large": {
|
|
132
|
+
"$value": "{tanrei.sys.typescale.body}"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"color": {
|
|
136
|
+
"$type": "color",
|
|
137
|
+
"$value": "{tanrei.sys.color.on-surface-variant}"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"outline": {
|
|
141
|
+
"width": {
|
|
142
|
+
"$type": "dimension",
|
|
143
|
+
"$description": "The bar's bottom edge.",
|
|
144
|
+
"$value": "{tanrei.sys.border.hairline}"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"flat": {
|
|
148
|
+
"container": {
|
|
149
|
+
"color": {
|
|
150
|
+
"$type": "color",
|
|
151
|
+
"$value": "{tanrei.sys.color.surface}"
|
|
152
|
+
},
|
|
153
|
+
"elevation": {
|
|
154
|
+
"$type": "shadow",
|
|
155
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"outline": {
|
|
159
|
+
"color": {
|
|
160
|
+
"$type": "color",
|
|
161
|
+
"$value": {
|
|
162
|
+
"colorSpace": "srgb",
|
|
163
|
+
"components": [
|
|
164
|
+
0,
|
|
165
|
+
0,
|
|
166
|
+
0
|
|
167
|
+
],
|
|
168
|
+
"alpha": 0,
|
|
169
|
+
"hex": "#000000"
|
|
170
|
+
},
|
|
171
|
+
"$extensions": {
|
|
172
|
+
"dev.tanrei.derive": {
|
|
173
|
+
"fixed": "While nothing is under the bar it sits flush with the page, with no edge."
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"scrolled": {
|
|
180
|
+
"container": {
|
|
181
|
+
"color": {
|
|
182
|
+
"$type": "color",
|
|
183
|
+
"$value": "{tanrei.sys.color.surface}"
|
|
184
|
+
},
|
|
185
|
+
"elevation": {
|
|
186
|
+
"$type": "shadow",
|
|
187
|
+
"$value": "{tanrei.sys.elevation.level0}"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"outline": {
|
|
191
|
+
"color": {
|
|
192
|
+
"$type": "color",
|
|
193
|
+
"$value": "{tanrei.sys.color.outline-variant}"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"motion": {
|
|
198
|
+
"condition-duration": {
|
|
199
|
+
"$type": "duration",
|
|
200
|
+
"$value": "{tanrei.sys.motion.duration.short4}",
|
|
201
|
+
"$description": "How long the bar takes to change between flat and scrolled."
|
|
202
|
+
},
|
|
203
|
+
"condition-easing": {
|
|
204
|
+
"$type": "cubicBezier",
|
|
205
|
+
"$value": "{tanrei.sys.motion.easing.standard}"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|