@tanrei/cli 0.1.0-next.0 → 0.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +4 -5
- package/README.md +27 -8
- package/dist/cli.js +6254 -4596
- package/dist/studio/THIRD_PARTY_LICENSES.md +101 -3
- package/dist/studio/assets/{highlight-hwWnuPS8.js → highlight-DO0QW7yz.js} +1 -1
- package/dist/studio/assets/index-CmKf0KHF.css +1 -0
- package/dist/studio/assets/index-CtN9tpay.js +6232 -0
- package/dist/studio/assets/material-symbols-outlined-latin-full-normal-CbWsDl0D.woff2 +0 -0
- package/dist/studio/assets/material-symbols-rounded-latin-full-normal-CFzFAzDo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-arabic-arabic-wght-normal-BhzieyvS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-0-wght-normal-vN5ykBQF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-1-wght-normal-N_EDDt8j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-10-wght-normal-ChuiXes4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-100-wght-normal-CrE4HD6k.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-101-wght-normal-DOqEZFXR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-102-wght-normal-2gFz4V6e.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-103-wght-normal-D9RhXU-z.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-104-wght-normal-OIyZ9iQD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-105-wght-normal-CqRQAfnb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-106-wght-normal-D-PO3jqS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-107-wght-normal-DrykTIAp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-108-wght-normal-DijBe27A.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-109-wght-normal-DaJwqT__.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-11-wght-normal-DdkFqF_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-110-wght-normal-bhh2FQQH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-111-wght-normal-CuGzYIdC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-112-wght-normal-DdhK_1vk.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-113-wght-normal-hxVHS2d4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-114-wght-normal-DUzjAsrP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-115-wght-normal-BiZ4-5rz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-116-wght-normal-DkZAcxAY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-117-wght-normal-CLJPD2y0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-118-wght-normal-D8DI_HXJ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-119-wght-normal-BAB3pFaH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-12-wght-normal-K36fA5_o.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-13-wght-normal-BnYizWno.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-14-wght-normal-BP4IgVC-.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-15-wght-normal-DyhWcoYF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-16-wght-normal-CXsQLI2j.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-17-wght-normal-C8FU1ZJ4.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-18-wght-normal-Cl0IKBVh.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-19-wght-normal-D3D3JUJm.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-2-wght-normal-CGu8NhtQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-20-wght-normal-DxsoeWSt.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-21-wght-normal-CuNsexW5.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-22-wght-normal-DVX3OFQM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-23-wght-normal-BPFuo_yH.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-24-wght-normal-D85Fj66x.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-25-wght-normal-DdOOVuSz.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-26-wght-normal-BRB1GnUq.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-27-wght-normal-BxZFF8JU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-28-wght-normal-VUlviaYI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-29-wght-normal-CalQqRwB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-3-wght-normal-cncaCaM8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-30-wght-normal-CHLg85G9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-31-wght-normal-BUoF9dl9.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-32-wght-normal-C5ZTiBNw.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-33-wght-normal-C6XNJsfA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-34-wght-normal-DHkM837w.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-35-wght-normal-QMtEjDIl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-36-wght-normal-CUyF0GqZ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-37-wght-normal-EORmNjxA.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-38-wght-normal-C8ERbMNG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-39-wght-normal-ChUfpJbl.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-4-wght-normal-DtWqs3EP.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-40-wght-normal-MgP8JEEE.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-41-wght-normal-3ctF9abM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-42-wght-normal-CQtg6UZe.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-43-wght-normal-D1Pmm9aG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-44-wght-normal-Cp9dHeXI.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-45-wght-normal-D2b1osBj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-46-wght-normal-CGIA-Vlo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-47-wght-normal-C4EEGqDS.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-48-wght-normal-D2iBztXa.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-49-wght-normal-DxqRVik_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-5-wght-normal-CFiyVtll.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-50-wght-normal-CMseszwo.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-51-wght-normal-Cqc-9wfi.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-52-wght-normal-BVLZTbqC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-53-wght-normal-DTyNOJaY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-54-wght-normal-_mxGq_et.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-55-wght-normal-Bvndync8.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-56-wght-normal-0MmMqroR.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-57-wght-normal-BdRnjDYs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-58-wght-normal-BYGgVeN_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-59-wght-normal-Bdv8mdje.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-6-wght-normal-M-pWkj3J.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-60-wght-normal-DC6FEqsM.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-61-wght-normal-CYIuK5Lr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-62-wght-normal-DeHy8p7w.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-63-wght-normal-B4M6eMmD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-64-wght-normal-DLyOXBrC.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-65-wght-normal-X7SsA1bs.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-66-wght-normal-VScDM-_N.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-67-wght-normal-Dg2D3DZB.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-68-wght-normal-BB0AR8UN.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-69-wght-normal-CucwpUnQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-7-wght-normal-DzOz8Ryd.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-70-wght-normal-BZId6-Tb.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-71-wght-normal-CzPU0NF7.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-72-wght-normal-DrNRYXnT.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-73-wght-normal-DF2BdR6a.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-74-wght-normal-BMlOw_5y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-75-wght-normal-DKq84hLG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-76-wght-normal-CTb-2MFr.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-77-wght-normal-DfIVi-wf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-78-wght-normal-_-z1Vrir.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-79-wght-normal-D8kGlXda.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-8-wght-normal-BfWoBb3q.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-80-wght-normal-BOEztZwY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-81-wght-normal-h5VC8QpU.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-82-wght-normal-DJ4QkvX0.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-83-wght-normal-DANtuAZG.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-84-wght-normal-DjZ8Sp6m.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-85-wght-normal-kpU7kbMF.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-86-wght-normal-DRPTa-bf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-87-wght-normal-CFM472wD.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-88-wght-normal-2rLLwelj.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-89-wght-normal-DUIF9ybW.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-9-wght-normal-WLs1HgG6.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-90-wght-normal-B0n_tL-y.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-91-wght-normal-BishDeFy.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-92-wght-normal-DoIdukLp.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-93-wght-normal-DMCycan_.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-94-wght-normal-DlyoTk-A.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-95-wght-normal-D0L1aiGf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-96-wght-normal-CjJ0kYkQ.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-97-wght-normal-CJ8uP04H.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-98-wght-normal-CjEDrQIY.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-99-wght-normal-DaQ3GEVf.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-cyrillic-wght-normal-BbS1Q_ZO.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-ext-wght-normal-IaSo_s9d.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-latin-wght-normal-Bnnzbixe.woff2 +0 -0
- package/dist/studio/assets/noto-sans-jp-vietnamese-wght-normal-CjvP4Ahz.woff2 +0 -0
- package/dist/studio/index.html +18 -9
- package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
- package/dist/vocabulary/packages/web/src/generated/glyphs.json +189 -0
- package/dist/vocabulary/tanrei.config.json +2 -1
- package/dist/vocabulary/tokens/comp/accordion.tokens.json +70 -47
- package/dist/vocabulary/tokens/comp/app-bar.tokens.json +99 -2
- package/dist/vocabulary/tokens/comp/app-shell.tokens.json +1 -1
- package/dist/vocabulary/tokens/comp/avatar.tokens.json +17 -5
- package/dist/vocabulary/tokens/comp/badge.tokens.json +2 -1
- package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +143 -73
- package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/button-group.tokens.json +26 -4
- package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +256 -28
- package/dist/vocabulary/tokens/comp/button.tokens.json +275 -22
- package/dist/vocabulary/tokens/comp/calendar.tokens.json +28 -18
- package/dist/vocabulary/tokens/comp/callout.tokens.json +55 -299
- package/dist/vocabulary/tokens/comp/card.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/carousel.tokens.json +70 -10
- package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +37 -3
- package/dist/vocabulary/tokens/comp/checkbox.tokens.json +18 -22
- package/dist/vocabulary/tokens/comp/chip.tokens.json +67 -16
- package/dist/vocabulary/tokens/comp/code-block.tokens.json +15 -1
- package/dist/vocabulary/tokens/comp/combobox.tokens.json +202 -33
- package/dist/vocabulary/tokens/comp/copy-button.tokens.json +19 -2
- package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +66 -35
- package/dist/vocabulary/tokens/comp/description-list.tokens.json +45 -23
- package/dist/vocabulary/tokens/comp/dialog.tokens.json +95 -35
- package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
- package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +2 -2
- package/dist/vocabulary/tokens/comp/field-group.tokens.json +21 -1
- package/dist/vocabulary/tokens/comp/field.tokens.json +33 -4
- package/dist/vocabulary/tokens/comp/figure.tokens.json +56 -2
- package/dist/vocabulary/tokens/comp/file-item.tokens.json +4 -4
- package/dist/vocabulary/tokens/comp/file-picker.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/file-upload.tokens.json +2 -7
- package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
- package/dist/vocabulary/tokens/comp/image-preview.tokens.json +53 -23
- package/dist/vocabulary/tokens/comp/input-box.tokens.json +161 -26
- package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +5 -3
- package/dist/vocabulary/tokens/comp/link-card.tokens.json +24 -4
- package/dist/vocabulary/tokens/comp/link.tokens.json +3 -3
- package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
- package/dist/vocabulary/tokens/comp/list.tokens.json +106 -225
- package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +13 -3
- package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +96 -23
- package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
- package/dist/vocabulary/tokens/comp/menu.tokens.json +248 -43
- package/dist/vocabulary/tokens/comp/menubar.tokens.json +63 -12
- package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
- package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
- package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +5 -36
- package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +478 -122
- package/dist/vocabulary/tokens/comp/number-input.tokens.json +2 -2
- package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
- package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +22 -7
- package/dist/vocabulary/tokens/comp/pagination.tokens.json +118 -79
- package/dist/vocabulary/tokens/comp/popover.tokens.json +84 -13
- package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
- package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +14 -4
- package/dist/vocabulary/tokens/comp/prose.tokens.json +16 -0
- package/dist/vocabulary/tokens/comp/radio-button.tokens.json +16 -20
- package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
- package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
- package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
- package/dist/vocabulary/tokens/comp/search.tokens.json +144 -58
- package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +75 -21
- package/dist/vocabulary/tokens/comp/select.tokens.json +168 -34
- package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +60 -13
- package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
- package/dist/vocabulary/tokens/comp/skeleton.tokens.json +5 -2
- package/dist/vocabulary/tokens/comp/slider.tokens.json +11 -10
- package/dist/vocabulary/tokens/comp/snackbar.tokens.json +81 -255
- package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
- package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
- package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
- package/dist/vocabulary/tokens/comp/switch.tokens.json +19 -18
- package/dist/vocabulary/tokens/comp/tab-view.tokens.json +5 -5
- package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +58 -33
- package/dist/vocabulary/tokens/comp/table.tokens.json +141 -30
- package/dist/vocabulary/tokens/comp/tabs.tokens.json +132 -44
- package/dist/vocabulary/tokens/comp/tag-group.tokens.json +15 -4
- package/dist/vocabulary/tokens/comp/tag.tokens.json +32 -8
- package/dist/vocabulary/tokens/comp/text-input.tokens.json +18 -88
- package/dist/vocabulary/tokens/comp/timeline.tokens.json +15 -19
- package/dist/vocabulary/tokens/comp/toolbar.tokens.json +121 -6
- package/dist/vocabulary/tokens/comp/tooltip.tokens.json +8 -32
- package/dist/vocabulary/tokens/comp/tree-view.tokens.json +136 -51
- package/dist/vocabulary/tokens/dial/dial.tokens.json +23 -3
- package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
- package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +215 -5
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
- package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
- package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +2 -1
- package/dist/vocabulary/tokens/schema/system.schema.json +324 -35
- package/dist/vocabulary/tokens/sys/behavior.tokens.json +66 -1
- package/dist/vocabulary/tokens/sys/measure.tokens.json +105 -21
- package/dist/vocabulary/tokens/sys/motion.tokens.json +474 -2
- package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
- package/dist/vocabulary/tokens/sys/shape.tokens.json +1 -1
- package/dist/vocabulary/tokens/sys/state.tokens.json +16 -3
- package/dist/vocabulary/tokens/sys/typescale.tokens.json +5 -5
- package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
- package/dist/vocabulary/tokens/systems/cupertino.system.json +298 -79
- package/dist/vocabulary/tokens/{comp → systems/m3-like/comp}/fab-menu.tokens.json +5 -15
- package/dist/vocabulary/tokens/systems/m3-like.system.json +451 -125
- package/dist/vocabulary/tokens/systems/tanrei.system.json +619 -321
- package/dist/vocabulary/tokens/tanrei.resolver.json +48 -6
- package/package.json +22 -4
- package/dist/studio/assets/index-BByvFAbB.js +0 -26376
- package/dist/studio/assets/index-CTe7Eja3.css +0 -1
- 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/vocabulary/tokens/AGENTS.md +0 -15
- package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +0 -254
- package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +0 -68
- package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +0 -67
- package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +0 -83
- package/dist/vocabulary/tokens/vocabulary.lock.json +0 -7052
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"button": {
|
|
5
5
|
"$extensions": {
|
|
6
6
|
"dev.tanrei.vocabulary": {
|
|
7
|
-
"rationale": "One product uses buttons at several emphasis levels and several sizes, enabled and disabled: with a label, with an icon beside the label, or with an icon alone (in toolbars, rows and cards), some of them switches that are on or off.",
|
|
7
|
+
"rationale": "One product uses buttons at several emphasis levels and several sizes, enabled and disabled: with a label, with an icon beside the label, or with an icon alone (in toolbars, rows and cards), some of them switches that are on or off, and some of them actions that delete or discard something, which a person should be able to tell apart before pressing.",
|
|
8
8
|
"since": "0.1.0"
|
|
9
9
|
},
|
|
10
10
|
"dev.tanrei.states": {
|
|
@@ -37,7 +37,12 @@
|
|
|
37
37
|
"selected.label.color": "color",
|
|
38
38
|
"selected.icon.color": "color",
|
|
39
39
|
"selected.outline.color": "color",
|
|
40
|
-
"selected.state-layer.color": "color"
|
|
40
|
+
"selected.state-layer.color": "color",
|
|
41
|
+
"destructive.container.color": "color",
|
|
42
|
+
"destructive.label.color": "color",
|
|
43
|
+
"destructive.icon.color": "color",
|
|
44
|
+
"destructive.outline.color": "color",
|
|
45
|
+
"destructive.state-layer.color": "color"
|
|
41
46
|
},
|
|
42
47
|
"perComponent": {
|
|
43
48
|
"opacity": "number",
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
}
|
|
46
51
|
},
|
|
47
52
|
"dev.tanrei.llm": {
|
|
48
|
-
"usage": "Everything a Button reads, and nothing else: size-dependent geometry (height, directional padding with and without an icon at either side, gap, and the narrow inset and the wide width of an icon-only button), its text style, its glyph sizes (beside a label, and alone), and for each variant (filled, tonal, elevated, outlined, text) the container / label / icon / outline colors and elevation of a plain button, of a toggle that is off (unselected.)
|
|
53
|
+
"usage": "Everything a Button reads, and nothing else: size-dependent geometry (height, directional padding with and without an icon at either side, gap, and the narrow inset and the wide width of an icon-only button), its text style, its glyph sizes (beside a label, and alone), and for each variant (filled, tonal, elevated, outlined, text) the container / label / icon / outline colors and elevation of a plain button, of a toggle that is off (unselected.), of a toggle that is on (selected.) and of an action that deletes or discards (destructive.), in each state (resting, hovered, focused, pressed, disabled), plus per-state shape and opacity.",
|
|
49
54
|
"rules": [
|
|
50
55
|
"To restyle buttons in a product, change these tokens in a layer; never fork the component or add a variant.",
|
|
51
56
|
"State tokens are valued by the design system's pattern rules (tanrei.comp.*.*.hovered.container.color …). Override one token, or replace the rule to change every component at once.",
|
|
@@ -55,7 +60,9 @@
|
|
|
55
60
|
"An icon-only button is as wide as it is high by default, so container.shape draws a circle at corner.full and a rounded square at a smaller corner; its width prop sets the glyph between container.padding-inline-narrow, or draws container.width-wide, instead, for a tight row or a wider target. There is no token for the default width (it is the height) and none for the narrow one (it is the glyph and the inset twice).",
|
|
56
61
|
"A toggle that is off must look quieter than one that is on; do not make unselected and selected the same.",
|
|
57
62
|
"Each look's state-layer.color is the color hover, focus and press mix into its container; it aliases that look's label color.",
|
|
58
|
-
"padding-inline-start-with-icon and padding-inline-end-with-icon are the padding on the side an icon sits at; keep them a step tighter than the plain paddings, because a glyph carries empty space inside its box that a label does not."
|
|
63
|
+
"padding-inline-start-with-icon and padding-inline-end-with-icon are the padding on the side an icon sits at; keep them a step tighter than the plain paddings, because a glyph carries empty space inside its box that a label does not.",
|
|
64
|
+
"destructive. is the look of an action that deletes or discards something, in each variant: the error role at the variant's own emphasis (filled: error and on-error; tonal: error-container and on-error-container; elevated, outlined and text: the error color on the variant's own container, and an outlined button's edge in it too). Disabled, it looks like any disabled button of its variant. A toggle has no destructive look.",
|
|
65
|
+
"tone.container.opacity is how strongly a Button shows its container on a colored surface its host draws (BTN-45): the host gives the surface's content color, and the Button draws its label, icon and state layer in it, its container in it at this opacity, and hover, focus and press over that at sys.state's state-layer opacities. A host chooses the tone; a product never gives one."
|
|
59
66
|
]
|
|
60
67
|
},
|
|
61
68
|
"dev.tanrei.axes": {
|
|
@@ -79,7 +86,8 @@
|
|
|
79
86
|
"icon.size",
|
|
80
87
|
"icon.size-without-label",
|
|
81
88
|
"container.gap",
|
|
82
|
-
"outline.width"
|
|
89
|
+
"outline.width",
|
|
90
|
+
"motion.state-duration"
|
|
83
91
|
]
|
|
84
92
|
},
|
|
85
93
|
"variant": {
|
|
@@ -99,40 +107,43 @@
|
|
|
99
107
|
"$description": "The container's height, per size, and the width of an icon-only button at its default width.",
|
|
100
108
|
"small": {
|
|
101
109
|
"$value": {
|
|
102
|
-
"value":
|
|
110
|
+
"value": 28,
|
|
103
111
|
"unit": "px"
|
|
104
112
|
},
|
|
105
113
|
"$extensions": {
|
|
106
114
|
"dev.tanrei.derive": {
|
|
107
115
|
"fn": "mul",
|
|
108
|
-
"of": "{tanrei.
|
|
109
|
-
"by":
|
|
116
|
+
"of": "{tanrei.sys.control.height.small}",
|
|
117
|
+
"by": 1
|
|
110
118
|
}
|
|
111
119
|
}
|
|
112
120
|
},
|
|
113
121
|
"medium": {
|
|
114
122
|
"$value": {
|
|
115
|
-
"value":
|
|
123
|
+
"value": 36,
|
|
116
124
|
"unit": "px"
|
|
117
125
|
},
|
|
118
126
|
"$extensions": {
|
|
119
127
|
"dev.tanrei.derive": {
|
|
120
128
|
"fn": "mul",
|
|
121
|
-
"of": "{tanrei.
|
|
122
|
-
"by":
|
|
123
|
-
|
|
129
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
130
|
+
"by": 1,
|
|
131
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
132
|
+
},
|
|
133
|
+
"dev.tanrei.aligned": "control"
|
|
124
134
|
}
|
|
125
135
|
},
|
|
126
136
|
"large": {
|
|
127
137
|
"$value": {
|
|
128
|
-
"value":
|
|
138
|
+
"value": 52,
|
|
129
139
|
"unit": "px"
|
|
130
140
|
},
|
|
131
141
|
"$extensions": {
|
|
132
142
|
"dev.tanrei.derive": {
|
|
133
143
|
"fn": "mul",
|
|
134
|
-
"of": "{tanrei.
|
|
135
|
-
"by":
|
|
144
|
+
"of": "{tanrei.sys.control.height.large}",
|
|
145
|
+
"by": 1,
|
|
146
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
136
147
|
}
|
|
137
148
|
}
|
|
138
149
|
}
|
|
@@ -279,13 +290,43 @@
|
|
|
279
290
|
"$type": "dimension",
|
|
280
291
|
"$description": "Vertical padding. Heights are minimums, so this only shows when the label wraps or text is enlarged.",
|
|
281
292
|
"small": {
|
|
282
|
-
"$value":
|
|
293
|
+
"$value": {
|
|
294
|
+
"value": 4,
|
|
295
|
+
"unit": "px"
|
|
296
|
+
},
|
|
297
|
+
"$extensions": {
|
|
298
|
+
"dev.tanrei.derive": {
|
|
299
|
+
"fn": "pad",
|
|
300
|
+
"of": "{tanrei.sys.space.space75}",
|
|
301
|
+
"height": "{tanrei.comp.button.container.height.small}"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
283
304
|
},
|
|
284
305
|
"medium": {
|
|
285
|
-
"$value":
|
|
306
|
+
"$value": {
|
|
307
|
+
"value": 4,
|
|
308
|
+
"unit": "px"
|
|
309
|
+
},
|
|
310
|
+
"$extensions": {
|
|
311
|
+
"dev.tanrei.derive": {
|
|
312
|
+
"fn": "pad",
|
|
313
|
+
"of": "{tanrei.sys.space.space75}",
|
|
314
|
+
"height": "{tanrei.comp.button.container.height.medium}"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
286
317
|
},
|
|
287
318
|
"large": {
|
|
288
|
-
"$value":
|
|
319
|
+
"$value": {
|
|
320
|
+
"value": 4,
|
|
321
|
+
"unit": "px"
|
|
322
|
+
},
|
|
323
|
+
"$extensions": {
|
|
324
|
+
"dev.tanrei.derive": {
|
|
325
|
+
"fn": "pad",
|
|
326
|
+
"of": "{tanrei.sys.space.space75}",
|
|
327
|
+
"height": "{tanrei.comp.button.container.height.large}"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
289
330
|
}
|
|
290
331
|
}
|
|
291
332
|
},
|
|
@@ -323,7 +364,7 @@
|
|
|
323
364
|
"$description": "The icon box of an icon-only button, per size. The same as the icon beside a label by default.",
|
|
324
365
|
"$extensions": {
|
|
325
366
|
"dev.tanrei.vocabulary": {
|
|
326
|
-
"rationale": "One product draws a glyph that stands alone larger than one that sits beside a label: alone it carries the whole meaning of the action, beside text it only reinforces it.
|
|
367
|
+
"rationale": "One product draws a glyph that stands alone larger than one that sits beside a label: alone it carries the whole meaning of the action, beside text it only reinforces it. For example, 18 beside a label and 24 alone.",
|
|
327
368
|
"since": "0.1.0"
|
|
328
369
|
}
|
|
329
370
|
},
|
|
@@ -488,6 +529,37 @@
|
|
|
488
529
|
"$value": "{tanrei.comp.button.filled.selected.label.color}"
|
|
489
530
|
}
|
|
490
531
|
}
|
|
532
|
+
},
|
|
533
|
+
"destructive": {
|
|
534
|
+
"$type": "color",
|
|
535
|
+
"container": {
|
|
536
|
+
"color": {
|
|
537
|
+
"$value": "{tanrei.sys.color.error}",
|
|
538
|
+
"$description": "A destructive filled button is filled with the error role: the strongest look, for the one action of a view that deletes or discards."
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"label": {
|
|
542
|
+
"color": {
|
|
543
|
+
"$value": "{tanrei.sys.color.on-error}"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"icon": {
|
|
547
|
+
"color": {
|
|
548
|
+
"$value": "{tanrei.comp.button.filled.destructive.label.color}",
|
|
549
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"outline": {
|
|
553
|
+
"color": {
|
|
554
|
+
"$value": "{tanrei.comp.button.filled.outline.color}"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"state-layer": {
|
|
558
|
+
"color": {
|
|
559
|
+
"$value": "{tanrei.comp.button.filled.destructive.label.color}",
|
|
560
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
561
|
+
}
|
|
562
|
+
}
|
|
491
563
|
}
|
|
492
564
|
},
|
|
493
565
|
"tonal": {
|
|
@@ -625,6 +697,37 @@
|
|
|
625
697
|
"$value": "{tanrei.comp.button.tonal.selected.label.color}"
|
|
626
698
|
}
|
|
627
699
|
}
|
|
700
|
+
},
|
|
701
|
+
"destructive": {
|
|
702
|
+
"$type": "color",
|
|
703
|
+
"container": {
|
|
704
|
+
"color": {
|
|
705
|
+
"$value": "{tanrei.sys.color.error-container}",
|
|
706
|
+
"$description": "A destructive tonal button is filled with the error role's tonal container."
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"label": {
|
|
710
|
+
"color": {
|
|
711
|
+
"$value": "{tanrei.sys.color.on-error-container}"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"icon": {
|
|
715
|
+
"color": {
|
|
716
|
+
"$value": "{tanrei.comp.button.tonal.destructive.label.color}",
|
|
717
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"outline": {
|
|
721
|
+
"color": {
|
|
722
|
+
"$value": "{tanrei.comp.button.tonal.outline.color}"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"state-layer": {
|
|
726
|
+
"color": {
|
|
727
|
+
"$value": "{tanrei.comp.button.tonal.destructive.label.color}",
|
|
728
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
729
|
+
}
|
|
730
|
+
}
|
|
628
731
|
}
|
|
629
732
|
},
|
|
630
733
|
"elevated": {
|
|
@@ -762,6 +865,37 @@
|
|
|
762
865
|
"$value": "{tanrei.comp.button.elevated.selected.label.color}"
|
|
763
866
|
}
|
|
764
867
|
}
|
|
868
|
+
},
|
|
869
|
+
"destructive": {
|
|
870
|
+
"$type": "color",
|
|
871
|
+
"container": {
|
|
872
|
+
"color": {
|
|
873
|
+
"$value": "{tanrei.comp.button.elevated.container.color}",
|
|
874
|
+
"$description": "A destructive elevated button keeps its variant's container; its label takes the error color."
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
"label": {
|
|
878
|
+
"color": {
|
|
879
|
+
"$value": "{tanrei.sys.color.error}"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
"icon": {
|
|
883
|
+
"color": {
|
|
884
|
+
"$value": "{tanrei.comp.button.elevated.destructive.label.color}",
|
|
885
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"outline": {
|
|
889
|
+
"color": {
|
|
890
|
+
"$value": "{tanrei.comp.button.elevated.outline.color}"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"state-layer": {
|
|
894
|
+
"color": {
|
|
895
|
+
"$value": "{tanrei.comp.button.elevated.destructive.label.color}",
|
|
896
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
897
|
+
}
|
|
898
|
+
}
|
|
765
899
|
}
|
|
766
900
|
},
|
|
767
901
|
"outlined": {
|
|
@@ -900,6 +1034,38 @@
|
|
|
900
1034
|
"$value": "{tanrei.comp.button.outlined.selected.label.color}"
|
|
901
1035
|
}
|
|
902
1036
|
}
|
|
1037
|
+
},
|
|
1038
|
+
"destructive": {
|
|
1039
|
+
"$type": "color",
|
|
1040
|
+
"container": {
|
|
1041
|
+
"color": {
|
|
1042
|
+
"$value": "{tanrei.comp.button.outlined.container.color}",
|
|
1043
|
+
"$description": "A destructive outlined button keeps its variant's container (none); its label and its edge take the error color."
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
"label": {
|
|
1047
|
+
"color": {
|
|
1048
|
+
"$value": "{tanrei.sys.color.error}"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"icon": {
|
|
1052
|
+
"color": {
|
|
1053
|
+
"$value": "{tanrei.comp.button.outlined.destructive.label.color}",
|
|
1054
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
"outline": {
|
|
1058
|
+
"color": {
|
|
1059
|
+
"$value": "{tanrei.sys.color.error}",
|
|
1060
|
+
"$description": "The edge of a destructive outlined button: the error color, as its label."
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"state-layer": {
|
|
1064
|
+
"color": {
|
|
1065
|
+
"$value": "{tanrei.comp.button.outlined.destructive.label.color}",
|
|
1066
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
903
1069
|
}
|
|
904
1070
|
},
|
|
905
1071
|
"text": {
|
|
@@ -1079,21 +1245,108 @@
|
|
|
1079
1245
|
"$value": "{tanrei.comp.button.text.selected.label.color}"
|
|
1080
1246
|
}
|
|
1081
1247
|
}
|
|
1248
|
+
},
|
|
1249
|
+
"destructive": {
|
|
1250
|
+
"$type": "color",
|
|
1251
|
+
"container": {
|
|
1252
|
+
"color": {
|
|
1253
|
+
"$value": "{tanrei.comp.button.text.container.color}",
|
|
1254
|
+
"$description": "A destructive text button keeps its variant's container (none); its label takes the error color."
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
"label": {
|
|
1258
|
+
"color": {
|
|
1259
|
+
"$value": "{tanrei.sys.color.error}"
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
"icon": {
|
|
1263
|
+
"color": {
|
|
1264
|
+
"$value": "{tanrei.comp.button.text.destructive.label.color}",
|
|
1265
|
+
"$description": "The glyph of a destructive icon-only button: its label's color."
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
"outline": {
|
|
1269
|
+
"color": {
|
|
1270
|
+
"$value": "{tanrei.comp.button.text.outline.color}"
|
|
1271
|
+
}
|
|
1272
|
+
},
|
|
1273
|
+
"state-layer": {
|
|
1274
|
+
"color": {
|
|
1275
|
+
"$value": "{tanrei.comp.button.text.destructive.label.color}",
|
|
1276
|
+
"$description": "The color hover, focus and press mix into a destructive container: its label color."
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1082
1279
|
}
|
|
1083
1280
|
},
|
|
1084
1281
|
"motion": {
|
|
1085
1282
|
"state-duration": {
|
|
1086
1283
|
"$type": "duration",
|
|
1087
|
-
"$
|
|
1284
|
+
"$description": "How long a change of state takes. It follows the size (small over the compact role, medium over the default role, large over the large role): a smaller control changes state sooner.",
|
|
1285
|
+
"small": {
|
|
1286
|
+
"$value": "{tanrei.sys.motion.role.state.compact}"
|
|
1287
|
+
},
|
|
1288
|
+
"medium": {
|
|
1289
|
+
"$value": "{tanrei.sys.motion.role.state.default}"
|
|
1290
|
+
},
|
|
1291
|
+
"large": {
|
|
1292
|
+
"$value": "{tanrei.sys.motion.role.state.large}"
|
|
1293
|
+
}
|
|
1088
1294
|
},
|
|
1089
1295
|
"state-easing": {
|
|
1090
1296
|
"$type": "cubicBezier",
|
|
1091
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
1297
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
1092
1298
|
},
|
|
1093
1299
|
"feedback-duration": {
|
|
1094
1300
|
"$type": "duration",
|
|
1095
|
-
"$value": "{tanrei.sys.motion.
|
|
1301
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
1096
1302
|
"$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."
|
|
1303
|
+
},
|
|
1304
|
+
"busy-cycle-duration": {
|
|
1305
|
+
"$type": "duration",
|
|
1306
|
+
"$value": "{tanrei.comp.loading-indicator.motion.cycle-duration}",
|
|
1307
|
+
"$description": "One turn of the busy arc (BTN-36): the loading indicator's. Under reduced motion it does not turn, and its opacity eases once per this time instead."
|
|
1308
|
+
},
|
|
1309
|
+
"busy-pulse-floor-opacity": {
|
|
1310
|
+
"$type": "number",
|
|
1311
|
+
"$value": "{tanrei.comp.loading-indicator.motion.pulse-floor-opacity}",
|
|
1312
|
+
"$description": "The opacity the busy circle eases down to at the low point of each pulse under reduced motion (BTN-36): the loading indicator's, so that a busy button is never drawn as an empty container."
|
|
1313
|
+
},
|
|
1314
|
+
"busy-fade-duration": {
|
|
1315
|
+
"$type": "duration",
|
|
1316
|
+
"$value": "{tanrei.sys.motion.role.state.compact}",
|
|
1317
|
+
"$description": "How long the label and the icon take to fade out when the button becomes busy, and back in when it stops (BTN-36), with state-easing: a change of what a small part draws in place, the same at every size. The arc appears and goes at once, and under reduced motion the label and the icon do too."
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
"busy": {
|
|
1321
|
+
"$description": "What a busy Button draws in place of its label and icon (BTN-36): the loading indicator's arc, in the label color, in the icon's box.",
|
|
1322
|
+
"$extensions": {
|
|
1323
|
+
"dev.tanrei.vocabulary": {
|
|
1324
|
+
"rationale": "One product keeps a button on screen and focused while the action it started is under way (a save, a send), and must show that it is working rather than disable it and drop the person's focus.",
|
|
1325
|
+
"since": "0.1.0"
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"indicator": {
|
|
1329
|
+
"thickness": {
|
|
1330
|
+
"$type": "dimension",
|
|
1331
|
+
"$value": "{tanrei.comp.loading-indicator.indicator.thickness.small}",
|
|
1332
|
+
"$description": "The arc's stroke: the small loading indicator's."
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
},
|
|
1336
|
+
"tone": {
|
|
1337
|
+
"$description": "A Button its host draws on a colored surface of the host's own — a status callout's, an inverse or status snackbar's — and gives the content color of that surface (a tone, BTN-45): its label, icon and state layer take that color, and its container, where its variant draws one at rest, is that color made translucent, so that it reads on every such surface where the variant's own container would clash with it.",
|
|
1338
|
+
"$extensions": {
|
|
1339
|
+
"dev.tanrei.vocabulary": {
|
|
1340
|
+
"rationale": "One product draws buttons on colored surfaces of its own (a status notice, an inverse notification) as well as on its page; on such a surface a button's own container clashes with the surface and its content colors may not hold contrast there, so it is drawn in the surface's own content color, its container a translucent layer of that color.",
|
|
1341
|
+
"since": "0.1.0"
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
"container": {
|
|
1345
|
+
"opacity": {
|
|
1346
|
+
"$type": "number",
|
|
1347
|
+
"$value": "{tanrei.sys.state.selected-state-layer-opacity}",
|
|
1348
|
+
"$description": "The opacity of the tone's color that a toned Button's container is drawn in (BTN-45), where its variant draws a container at rest; an outlined Button's edge takes the same. The quiet selection's layer: a layer of a content color that stays at rest, twice the hover layer, so that hover, focus and press laid over it at the system's state-layer opacities stand apart from it by the same step on any surface."
|
|
1349
|
+
}
|
|
1097
1350
|
}
|
|
1098
1351
|
}
|
|
1099
1352
|
}
|
|
@@ -60,13 +60,15 @@
|
|
|
60
60
|
"value": 36,
|
|
61
61
|
"unit": "px"
|
|
62
62
|
},
|
|
63
|
-
"$description": "The least height of the month-and-year button; its hit area extends to the
|
|
63
|
+
"$description": "The least height of the month-and-year button: the control height (36 in the default system), so that it stands as tall as the previous and next Buttons beside it in the navigation row. Never below the minimum target; its hit area extends to the pointer and touch targets.",
|
|
64
64
|
"$extensions": {
|
|
65
65
|
"dev.tanrei.derive": {
|
|
66
66
|
"fn": "mul",
|
|
67
|
-
"of": "{tanrei.
|
|
68
|
-
"by":
|
|
69
|
-
|
|
67
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
68
|
+
"by": 1,
|
|
69
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
70
|
+
},
|
|
71
|
+
"dev.tanrei.aligned": "control"
|
|
70
72
|
}
|
|
71
73
|
},
|
|
72
74
|
"shape": {
|
|
@@ -140,13 +142,16 @@
|
|
|
140
142
|
"value": 48,
|
|
141
143
|
"unit": "px"
|
|
142
144
|
},
|
|
143
|
-
"$description": "The side of the square each weekday name and each day occupies, and the height of a row of years. Never smaller than the minimum target: the cells are the days' hit areas and cannot extend over each other.",
|
|
145
|
+
"$description": "The side of the square each weekday name and each day occupies, and the height of a row of years and of the navigation row. Never smaller than the minimum target: the cells are the days' hit areas and cannot extend over each other. It is the pitch of the grid, which holds a touch target for every day, and no control on a row: it does not follow the control height; the day's and the year's containers, the view toggle and the Buttons in it do.",
|
|
144
146
|
"$extensions": {
|
|
145
147
|
"dev.tanrei.derive": {
|
|
146
148
|
"fn": "mul",
|
|
147
149
|
"of": "{tanrei.dial.size.unit}",
|
|
148
|
-
"by": 12
|
|
149
|
-
|
|
150
|
+
"by": 12,
|
|
151
|
+
"round": "{tanrei.dial.size.unit}",
|
|
152
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
153
|
+
},
|
|
154
|
+
"dev.tanrei.aligned": "own"
|
|
150
155
|
}
|
|
151
156
|
}
|
|
152
157
|
},
|
|
@@ -155,16 +160,18 @@
|
|
|
155
160
|
"size": {
|
|
156
161
|
"$type": "dimension",
|
|
157
162
|
"$value": {
|
|
158
|
-
"value":
|
|
163
|
+
"value": 36,
|
|
159
164
|
"unit": "px"
|
|
160
165
|
},
|
|
161
|
-
"$description": "The side of a day's container, and the height of the band that joins a range
|
|
166
|
+
"$description": "The side of a day's container, and the height of the band that joins a range, 40.",
|
|
162
167
|
"$extensions": {
|
|
163
168
|
"dev.tanrei.derive": {
|
|
164
169
|
"fn": "mul",
|
|
165
|
-
"of": "{tanrei.
|
|
166
|
-
"by":
|
|
167
|
-
|
|
170
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
171
|
+
"by": 1,
|
|
172
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
173
|
+
},
|
|
174
|
+
"dev.tanrei.aligned": "control"
|
|
168
175
|
}
|
|
169
176
|
},
|
|
170
177
|
"shape": {
|
|
@@ -198,6 +205,7 @@
|
|
|
198
205
|
},
|
|
199
206
|
"height": {
|
|
200
207
|
"$type": "dimension",
|
|
208
|
+
"$description": "The height of a year's container: the control height (36 in the default system), as a day's container is, centred in its row of cell.size. Never below the minimum target.",
|
|
201
209
|
"$value": {
|
|
202
210
|
"value": 36,
|
|
203
211
|
"unit": "px"
|
|
@@ -205,9 +213,11 @@
|
|
|
205
213
|
"$extensions": {
|
|
206
214
|
"dev.tanrei.derive": {
|
|
207
215
|
"fn": "mul",
|
|
208
|
-
"of": "{tanrei.
|
|
209
|
-
"by":
|
|
210
|
-
|
|
216
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
217
|
+
"by": 1,
|
|
218
|
+
"min": "{tanrei.sys.target.minimum}"
|
|
219
|
+
},
|
|
220
|
+
"dev.tanrei.aligned": "control"
|
|
211
221
|
}
|
|
212
222
|
},
|
|
213
223
|
"shape": {
|
|
@@ -242,15 +252,15 @@
|
|
|
242
252
|
},
|
|
243
253
|
"state-duration": {
|
|
244
254
|
"$type": "duration",
|
|
245
|
-
"$value": "{tanrei.sys.motion.
|
|
255
|
+
"$value": "{tanrei.sys.motion.role.state.compact}"
|
|
246
256
|
},
|
|
247
257
|
"state-easing": {
|
|
248
258
|
"$type": "cubicBezier",
|
|
249
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
259
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
250
260
|
},
|
|
251
261
|
"feedback-duration": {
|
|
252
262
|
"$type": "duration",
|
|
253
|
-
"$value": "{tanrei.sys.motion.
|
|
263
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
254
264
|
"$description": "How long the answer to a press takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
255
265
|
}
|
|
256
266
|
},
|