@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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"size-transition": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product moves the size of its own content when it changes — a reply that grows by a line, a detail that opens, a row that goes — instead of letting what follows jump, and wants every such change to take one tempo, longer for a longer distance, apart from its changes of state and its disclosures.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a size transition reads: how long a change of its size takes for a short distance, how much longer each further distance step makes it, the distance step itself, the longest a change may take, and the curve. It draws nothing: no color, edge, corner or padding.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"The time grows with the distance: duration up to distance-step, plus duration-step for each further distance-step begun, never more than duration-max.",
|
|
14
|
+
"Where motion is reduced a change of size is made at once; no token restyles that.",
|
|
15
|
+
"Restyle the tempo of every size transition of a product here; an instance's duration is for the one place that needs another."
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"motion": {
|
|
20
|
+
"duration": {
|
|
21
|
+
"$type": "duration",
|
|
22
|
+
"$value": "{tanrei.sys.motion.role.resize.default}",
|
|
23
|
+
"$description": "How long a change of size takes over a distance of up to distance-step: the role of a box that changes its size in place."
|
|
24
|
+
},
|
|
25
|
+
"duration-step": {
|
|
26
|
+
"$type": "duration",
|
|
27
|
+
"$value": "{tanrei.sys.motion.duration.short1}",
|
|
28
|
+
"$description": "How much longer a change takes for each further distance-step it moves, so that a large change does not look hurried beside a small one."
|
|
29
|
+
},
|
|
30
|
+
"distance-step": {
|
|
31
|
+
"$type": "dimension",
|
|
32
|
+
"$value": "{tanrei.sys.space.space800}",
|
|
33
|
+
"$description": "The distance by which a change's time grows by one duration-step."
|
|
34
|
+
},
|
|
35
|
+
"duration-max": {
|
|
36
|
+
"$type": "duration",
|
|
37
|
+
"$value": "{tanrei.sys.motion.role.resize.large}",
|
|
38
|
+
"$description": "The longest a change of size takes, however far it moves: the role of a large change of size, so that a far change does not keep the person waiting."
|
|
39
|
+
},
|
|
40
|
+
"easing": {
|
|
41
|
+
"$type": "cubicBezier",
|
|
42
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
43
|
+
"$description": "The curve of a change of size: something that changes its size in place."
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
"Never put content a person should read or use inside a skeleton: everything inside is kept from input and from assistive technology.",
|
|
20
20
|
"Restyle through these tokens in a layer; never draw grey boxes by hand."
|
|
21
21
|
]
|
|
22
|
+
},
|
|
23
|
+
"dev.tanrei.states": {
|
|
24
|
+
"states": []
|
|
22
25
|
}
|
|
23
26
|
},
|
|
24
27
|
"container": {
|
|
@@ -32,7 +35,7 @@
|
|
|
32
35
|
"color": {
|
|
33
36
|
"$type": "color",
|
|
34
37
|
"$value": "{tanrei.sys.color.surface-variant}",
|
|
35
|
-
"$description": "A placeholder's fill:
|
|
38
|
+
"$description": "A placeholder's fill: a low-emphasis fill, quiet enough that a view full of placeholders is not louder than the content that replaces them, and seen on whatever surface the skeleton stands on. The root layer values it as a layer of the content color laid over that surface (on-surface at a tenth of its opacity: tokens/systems/core.system.json), so that it stands off every surface role by the same step, the highest container step included; a layer that re-points it to one opaque tone gives up that step on the surface of that tone. Decorative: the wait is said by the skeleton's label, not by this color."
|
|
36
39
|
},
|
|
37
40
|
"shape": {
|
|
38
41
|
"$type": "dimension",
|
|
@@ -101,7 +104,7 @@
|
|
|
101
104
|
},
|
|
102
105
|
"show-delay": {
|
|
103
106
|
"$type": "duration",
|
|
104
|
-
"$value": "{tanrei.sys.motion.
|
|
107
|
+
"$value": "{tanrei.sys.motion.role.show-delay}",
|
|
105
108
|
"$description": "How long the skeleton waits, from the moment it is inserted, before it is drawn and exposed to assistive technology, so that a wait shorter than this shows the place blank instead of shapes that flash. Its box is kept during the wait."
|
|
106
109
|
}
|
|
107
110
|
}
|
|
@@ -70,17 +70,18 @@
|
|
|
70
70
|
"container": {
|
|
71
71
|
"size": {
|
|
72
72
|
"$type": "dimension",
|
|
73
|
-
"$description": "The diameter of the round state layer centered on each handle. It sets how far the track is inset from the slider's ends, so that a handle and its state layer stay inside the slider at min and max. 0 draws no state layer.",
|
|
73
|
+
"$description": "The diameter of the round state layer centered on each handle: the control height (36 in the default system), so that a horizontal slider, as thick as the larger of it and the handle, stands as tall as the Buttons and fields beside it. It sets how far the track is inset from the slider's ends, so that a handle and its state layer stay inside the slider at min and max. The track and the handle keep their own sizes at every control height. 0 draws no state layer.",
|
|
74
74
|
"$value": {
|
|
75
|
-
"value":
|
|
75
|
+
"value": 36,
|
|
76
76
|
"unit": "px"
|
|
77
77
|
},
|
|
78
78
|
"$extensions": {
|
|
79
79
|
"dev.tanrei.derive": {
|
|
80
80
|
"fn": "mul",
|
|
81
|
-
"of": "{tanrei.
|
|
82
|
-
"by":
|
|
83
|
-
}
|
|
81
|
+
"of": "{tanrei.sys.control.height.medium}",
|
|
82
|
+
"by": 1
|
|
83
|
+
},
|
|
84
|
+
"dev.tanrei.aligned": "control"
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
87
|
"shape": {
|
|
@@ -408,25 +409,25 @@
|
|
|
408
409
|
"motion": {
|
|
409
410
|
"state-duration": {
|
|
410
411
|
"$type": "duration",
|
|
411
|
-
"$value": "{tanrei.sys.motion.
|
|
412
|
+
"$value": "{tanrei.sys.motion.role.state.compact}"
|
|
412
413
|
},
|
|
413
414
|
"state-easing": {
|
|
414
415
|
"$type": "cubicBezier",
|
|
415
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
416
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
416
417
|
},
|
|
417
418
|
"feedback-duration": {
|
|
418
419
|
"$type": "duration",
|
|
419
|
-
"$value": "{tanrei.sys.motion.
|
|
420
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
420
421
|
"$description": "How long the ripple takes to spread from the handle's center when sys.behavior.pressed-feedback is ripple."
|
|
421
422
|
},
|
|
422
423
|
"value-duration": {
|
|
423
424
|
"$type": "duration",
|
|
424
|
-
"$value": "{tanrei.sys.motion.
|
|
425
|
+
"$value": "{tanrei.sys.motion.role.selection.travel}",
|
|
425
426
|
"$description": "How long the handle takes to reach a value set by a key, assistive technology, a tap on the track or the product. A drag follows the press without it."
|
|
426
427
|
},
|
|
427
428
|
"value-easing": {
|
|
428
429
|
"$type": "cubicBezier",
|
|
429
|
-
"$value": "{tanrei.sys.motion.
|
|
430
|
+
"$value": "{tanrei.sys.motion.easing.spatial}"
|
|
430
431
|
}
|
|
431
432
|
}
|
|
432
433
|
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dev.tanrei.states": {
|
|
11
11
|
"variants": [
|
|
12
|
-
"action"
|
|
13
|
-
"close"
|
|
12
|
+
"action"
|
|
14
13
|
],
|
|
15
14
|
"states": [
|
|
16
15
|
"hovered",
|
|
@@ -54,20 +53,22 @@
|
|
|
54
53
|
}
|
|
55
54
|
},
|
|
56
55
|
"dev.tanrei.llm": {
|
|
57
|
-
"usage": "Everything a snackbar reads. It has ten forms: the default form and four status forms (info, warning, error, success), each drawn on a surface of the scheme or, inverse, in the opposite scheme's colors; container.inverse says which of the two a snackbar takes when the product did not say. For every form: the bar's color, the title's and the message's colors, the status glyph's color, the color of a status form's edge and the color of the focus indicator on that bar; and, for
|
|
56
|
+
"usage": "Everything a snackbar reads. It has ten forms: the default form and four status forms (info, warning, error, success), each drawn on a surface of the scheme or, inverse, in the opposite scheme's colors; container.inverse says which of the two a snackbar takes when the product did not say. For every form: the bar's color, the title's and the message's colors, the status glyph's color, the color of a status form's edge and the color of the focus indicator on that bar; and, for the action, drawn as a tonal button, in each state, its container color, content color and state-layer color. The expand and close buttons are Tanrei Buttons: close-button.size names their size (small in the default system) and close-button.variant their variant, and the snackbar gives them its form's message color and focus-ring color as their tone. Four opacities are shared by every form and say how far a part steps back from its color: the message under a title (supporting-text.under-title.opacity), the status glyph (icon.opacity), a status form's edge (outline.opacity) and the action's tonal layer (action.tonal-layer.opacity). Also shared: the bar's elevation, shape, padding and size limits; the text styles and line limits; the glyph's size and gap; the edge's width; the action's height (as tall as the expand and close buttons), shape and text style, and the gap between the controls; how far the bar sits from the window's edges; the window width below which a snackbar placed at the top end stands across the top (breakpoint.medium); how it enters, leaves and expands; and the two timeouts.",
|
|
58
57
|
"rules": [
|
|
59
58
|
"One message, at most one action. A second choice belongs in a dialog.",
|
|
60
59
|
"The action is a tonal button by default, because it is usually an undo that must be seen at once. Tonal means one quiet step away from the bar it sits on, the same step in every form: the action's container is the bar's own color, and the tonal layer (the action's content color at action.tonal-layer.opacity) is drawn over it. Never give the action a fill that outweighs the message. A product that wants a text action sets action.tonal-layer.opacity to 0. An action important enough to seem to want a filled button does not belong in a snackbar: put a Main Action Button in a bottom sheet instead.",
|
|
61
|
-
"The action
|
|
62
|
-
"A form's tokens carry its prefix: none for the default form, the status for a status form (info.container.color), inverse for the inverse form (inverse.container.color), and inverse-<status> for an inverse status form (inverse-info.container.color). Inside
|
|
60
|
+
"The action is the snackbar's own control, drawn on its bar with these tokens. The expand and close buttons are Tanrei Buttons of the size close-button.size names, which the snackbar places itself: choose their look for every snackbar of a product with close-button.variant, and their colors with each form's supporting-text.color and focus-ring.color, which the snackbar gives them as their tone. Do not place other Buttons in a snackbar.",
|
|
61
|
+
"A form's tokens carry its prefix: none for the default form, the status for a status form (info.container.color), inverse for the inverse form (inverse.container.color), and inverse-<status> for an inverse status form (inverse-info.container.color). Inside the action the prefix follows the state (action.hovered.inverse.container.color).",
|
|
63
62
|
"Which form a product's snackbars take by default is one choice, container.inverse. Change that choice in a layer; do not copy the inverse values over the unprefixed tokens.",
|
|
64
63
|
"A status form takes its colors from the status's own color roles and always draws the status's glyph; its status is also given in words (statusLabel) for assistive technology. Never show a status by color alone. Its bar is quiet (the status's container pair); the status's own color is kept for the glyph and the edge.",
|
|
65
64
|
"An inverse status form is the same status's form of the other theme, part for part (SNK-30): light's inverse info bar is dark's info bar, with dark's text, glyph and edge colors, and the reverse. The default system writes that as one rule per part beside the roles in its layer. To recolor a status, change its palette or its roles and the inverse rules that restate their tones together; never give an inverse status form a color its other theme does not draw.",
|
|
66
65
|
"A status form's edge is its outline.color at outline.opacity, drawn over the ring of the bar's elevation. The default form and the inverse form have no outline tokens: they keep the elevation's ring, which every raised surface has.",
|
|
67
66
|
"An opacity here is applied to one part's color where that part is drawn; it never fades the bar or a whole control. Text drawn at an opacity must still reach 4.5:1 on its bar, and the glyph 3:1: check both when changing supporting-text.under-title.opacity, icon.opacity or a form's colors.",
|
|
68
|
-
"
|
|
69
|
-
"
|
|
67
|
+
"A form's supporting-text.color is also the tone of its expand and close buttons: their glyph, and their circle at comp.button.tone.container.opacity over the bar. When changing it, keep 3:1 for the glyph against that circle in each of its states, as well as 4.5:1 for the message against the bar.",
|
|
68
|
+
"The action's state-layer.color is the color hover, focus and press mix into its container; it aliases the action's content color, in every form. The expand and close buttons answer their states as Buttons, over the tone the snackbar gives them.",
|
|
69
|
+
"A form's focus-ring.color must keep 3:1 against that form's container.color. On a bar that is not a surface role it is the bar's content color, never sys.color.focus-ring. It is also the focus color of the tone the expand and close buttons are given.",
|
|
70
70
|
"A snackbar with an action does not time out by default (duration auto). A product that times one out must offer the action somewhere else too.",
|
|
71
|
+
"breakpoint.medium is a width of the window, not a size of anything drawn. It aliases the system's window class (sys.breakpoint.medium); set it here only to part this one component from the rest, and never as a literal.",
|
|
71
72
|
"Restyle through these tokens in a layer; never fork the component."
|
|
72
73
|
]
|
|
73
74
|
},
|
|
@@ -189,6 +190,19 @@
|
|
|
189
190
|
"$description": "Between the message and the first control, and between the message and an action moved to its own row."
|
|
190
191
|
}
|
|
191
192
|
},
|
|
193
|
+
"breakpoint": {
|
|
194
|
+
"$type": "dimension",
|
|
195
|
+
"$extensions": {
|
|
196
|
+
"dev.tanrei.vocabulary": {
|
|
197
|
+
"rationale": "One product that shows its snackbars at the top end of a wide window shows them across the top of a narrow one, from the same window width at which its own layout becomes a single column.",
|
|
198
|
+
"since": "0.1.0"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"medium": {
|
|
202
|
+
"$value": "{tanrei.sys.breakpoint.medium}",
|
|
203
|
+
"$description": "The window width from which a snackbar placed at the top end stands at the end side (SNK-35). Below it the window is compact and the snackbar stands across the top. A width of the window, not a size of anything drawn."
|
|
204
|
+
}
|
|
205
|
+
},
|
|
192
206
|
"title": {
|
|
193
207
|
"$extensions": {
|
|
194
208
|
"dev.tanrei.vocabulary": {
|
|
@@ -753,18 +767,8 @@
|
|
|
753
767
|
"controls": {
|
|
754
768
|
"height": {
|
|
755
769
|
"$type": "dimension",
|
|
756
|
-
"$value": {
|
|
757
|
-
|
|
758
|
-
"unit": "px"
|
|
759
|
-
},
|
|
760
|
-
"$description": "The height of the action and the side of the close and expand buttons' squares: the three share a row. A minimum for the action, which grows with enlarged text. Every hit area meets the minimum target.",
|
|
761
|
-
"$extensions": {
|
|
762
|
-
"dev.tanrei.derive": {
|
|
763
|
-
"fn": "mul",
|
|
764
|
-
"of": "{tanrei.dial.size.unit}",
|
|
765
|
-
"by": 9
|
|
766
|
-
}
|
|
767
|
-
}
|
|
770
|
+
"$value": "{tanrei.comp.button.container.height.small}",
|
|
771
|
+
"$description": "The action's height: the height of the Button size close-button.size names (a small Button's in the default system), so that the action stands as tall as the expand and close buttons in the same row; a system that changes that size points this at the same size's height. A minimum, which grows with enlarged text. Every hit area meets the minimum target."
|
|
768
772
|
},
|
|
769
773
|
"padding-inline": {
|
|
770
774
|
"$type": "dimension",
|
|
@@ -774,25 +778,28 @@
|
|
|
774
778
|
"shape": {
|
|
775
779
|
"$type": "dimension",
|
|
776
780
|
"$value": "{tanrei.sys.shape.corner.full}",
|
|
777
|
-
"$description": "The corners of the action's container
|
|
781
|
+
"$description": "The corners of the action's container. Full in the default system: the action is a pill."
|
|
778
782
|
},
|
|
779
783
|
"gap": {
|
|
780
784
|
"$type": "dimension",
|
|
781
|
-
"$value":
|
|
782
|
-
|
|
785
|
+
"$value": {
|
|
786
|
+
"value": 8,
|
|
787
|
+
"unit": "px"
|
|
788
|
+
},
|
|
789
|
+
"$description": "Between the action, the expand button and the close button. Neighbouring hit areas meet at the middle of it (SNK-4, BTN-5), so it is what keeps each small Button's target whole: sys.target.touch less the small Button's side, never below zero — 36 − 28 = 8 in the default system.",
|
|
790
|
+
"$extensions": {
|
|
791
|
+
"dev.tanrei.derive": {
|
|
792
|
+
"fn": "sub",
|
|
793
|
+
"of": "{tanrei.sys.target.touch}",
|
|
794
|
+
"by": "{tanrei.comp.button.container.height.small}"
|
|
795
|
+
}
|
|
796
|
+
}
|
|
783
797
|
},
|
|
784
798
|
"label": {
|
|
785
799
|
"typescale": {
|
|
786
800
|
"$type": "typography",
|
|
787
801
|
"$value": "{tanrei.sys.typescale.label}"
|
|
788
802
|
}
|
|
789
|
-
},
|
|
790
|
-
"icon": {
|
|
791
|
-
"size": {
|
|
792
|
-
"$type": "dimension",
|
|
793
|
-
"$value": "{tanrei.sys.icon.medium}",
|
|
794
|
-
"$description": "The close and expand glyphs: an icon-only button's medium glyph."
|
|
795
|
-
}
|
|
796
803
|
}
|
|
797
804
|
},
|
|
798
805
|
"action": {
|
|
@@ -1024,227 +1031,46 @@
|
|
|
1024
1031
|
}
|
|
1025
1032
|
}
|
|
1026
1033
|
},
|
|
1027
|
-
"close": {
|
|
1028
|
-
"
|
|
1029
|
-
|
|
1030
|
-
"
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
"
|
|
1035
|
-
0,
|
|
1036
|
-
0,
|
|
1037
|
-
0
|
|
1038
|
-
],
|
|
1039
|
-
"alpha": 0,
|
|
1040
|
-
"hex": "#000000"
|
|
1034
|
+
"close-button": {
|
|
1035
|
+
"variant": {
|
|
1036
|
+
"$type": "number",
|
|
1037
|
+
"$value": 1,
|
|
1038
|
+
"$description": "The Button variant of the close button and of the expand button, icon-only Buttons of the size close-button.size names on the bar (SNK-34), which the snackbar gives its form's message color as their tone (BTN-45). The value is an index into dev.tanrei.enum.values, the core Button variants; platforms receive the name.",
|
|
1039
|
+
"$extensions": {
|
|
1040
|
+
"dev.tanrei.vocabulary": {
|
|
1041
|
+
"rationale": "One product decides once how its snackbars' close and expand controls stand on the bar: a tonal button whose circle of the bar's own text color reads as a control on every form, or a bare glyph beside the text."
|
|
1041
1042
|
},
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
1044
|
-
"
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
"
|
|
1052
|
-
|
|
1053
|
-
"$description": "A glyph beside the text, quieter than the text, as an icon-only button on a surface."
|
|
1054
|
-
}
|
|
1055
|
-
},
|
|
1056
|
-
"state-layer": {
|
|
1057
|
-
"color": {
|
|
1058
|
-
"$type": "color",
|
|
1059
|
-
"$value": "{tanrei.comp.snackbar.close.content.color}"
|
|
1060
|
-
}
|
|
1061
|
-
},
|
|
1062
|
-
"info": {
|
|
1063
|
-
"container": {
|
|
1064
|
-
"color": {
|
|
1065
|
-
"$type": "color",
|
|
1066
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1067
|
-
"$description": "No fill at rest, as in the default form."
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
"content": {
|
|
1071
|
-
"color": {
|
|
1072
|
-
"$type": "color",
|
|
1073
|
-
"$value": "{tanrei.sys.color.on-info-container}"
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
"state-layer": {
|
|
1077
|
-
"color": {
|
|
1078
|
-
"$type": "color",
|
|
1079
|
-
"$value": "{tanrei.comp.snackbar.close.info.content.color}"
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
"warning": {
|
|
1084
|
-
"container": {
|
|
1085
|
-
"color": {
|
|
1086
|
-
"$type": "color",
|
|
1087
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1088
|
-
"$description": "No fill at rest, as in the default form."
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1091
|
-
"content": {
|
|
1092
|
-
"color": {
|
|
1093
|
-
"$type": "color",
|
|
1094
|
-
"$value": "{tanrei.sys.color.on-warning-container}"
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
"state-layer": {
|
|
1098
|
-
"color": {
|
|
1099
|
-
"$type": "color",
|
|
1100
|
-
"$value": "{tanrei.comp.snackbar.close.warning.content.color}"
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
"error": {
|
|
1105
|
-
"container": {
|
|
1106
|
-
"color": {
|
|
1107
|
-
"$type": "color",
|
|
1108
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1109
|
-
"$description": "No fill at rest, as in the default form."
|
|
1110
|
-
}
|
|
1111
|
-
},
|
|
1112
|
-
"content": {
|
|
1113
|
-
"color": {
|
|
1114
|
-
"$type": "color",
|
|
1115
|
-
"$value": "{tanrei.sys.color.on-error-container}"
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
"state-layer": {
|
|
1119
|
-
"color": {
|
|
1120
|
-
"$type": "color",
|
|
1121
|
-
"$value": "{tanrei.comp.snackbar.close.error.content.color}"
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
"success": {
|
|
1126
|
-
"container": {
|
|
1127
|
-
"color": {
|
|
1128
|
-
"$type": "color",
|
|
1129
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1130
|
-
"$description": "No fill at rest, as in the default form."
|
|
1131
|
-
}
|
|
1132
|
-
},
|
|
1133
|
-
"content": {
|
|
1134
|
-
"color": {
|
|
1135
|
-
"$type": "color",
|
|
1136
|
-
"$value": "{tanrei.sys.color.on-success-container}"
|
|
1137
|
-
}
|
|
1138
|
-
},
|
|
1139
|
-
"state-layer": {
|
|
1140
|
-
"color": {
|
|
1141
|
-
"$type": "color",
|
|
1142
|
-
"$value": "{tanrei.comp.snackbar.close.success.content.color}"
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
"inverse": {
|
|
1147
|
-
"container": {
|
|
1148
|
-
"color": {
|
|
1149
|
-
"$type": "color",
|
|
1150
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1151
|
-
"$description": "No fill at rest, as in the default form."
|
|
1152
|
-
}
|
|
1153
|
-
},
|
|
1154
|
-
"content": {
|
|
1155
|
-
"color": {
|
|
1156
|
-
"$type": "color",
|
|
1157
|
-
"$value": "{tanrei.sys.color.inverse-on-surface}"
|
|
1158
|
-
}
|
|
1159
|
-
},
|
|
1160
|
-
"state-layer": {
|
|
1161
|
-
"color": {
|
|
1162
|
-
"$type": "color",
|
|
1163
|
-
"$value": "{tanrei.comp.snackbar.close.inverse.content.color}"
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
},
|
|
1167
|
-
"inverse-info": {
|
|
1168
|
-
"container": {
|
|
1169
|
-
"color": {
|
|
1170
|
-
"$type": "color",
|
|
1171
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1172
|
-
"$description": "No fill at rest, as in the default form."
|
|
1173
|
-
}
|
|
1174
|
-
},
|
|
1175
|
-
"content": {
|
|
1176
|
-
"color": {
|
|
1177
|
-
"$type": "color",
|
|
1178
|
-
"$value": "{tanrei.comp.snackbar.inverse-info.supporting-text.color}"
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
"state-layer": {
|
|
1182
|
-
"color": {
|
|
1183
|
-
"$type": "color",
|
|
1184
|
-
"$value": "{tanrei.comp.snackbar.close.inverse-info.content.color}"
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
},
|
|
1188
|
-
"inverse-warning": {
|
|
1189
|
-
"container": {
|
|
1190
|
-
"color": {
|
|
1191
|
-
"$type": "color",
|
|
1192
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1193
|
-
"$description": "No fill at rest, as in the default form."
|
|
1194
|
-
}
|
|
1195
|
-
},
|
|
1196
|
-
"content": {
|
|
1197
|
-
"color": {
|
|
1198
|
-
"$type": "color",
|
|
1199
|
-
"$value": "{tanrei.comp.snackbar.inverse-warning.supporting-text.color}"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
"state-layer": {
|
|
1203
|
-
"color": {
|
|
1204
|
-
"$type": "color",
|
|
1205
|
-
"$value": "{tanrei.comp.snackbar.close.inverse-warning.content.color}"
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
"inverse-error": {
|
|
1210
|
-
"container": {
|
|
1211
|
-
"color": {
|
|
1212
|
-
"$type": "color",
|
|
1213
|
-
"$value": "{tanrei.comp.snackbar.close.container.color}",
|
|
1214
|
-
"$description": "No fill at rest, as in the default form."
|
|
1215
|
-
}
|
|
1216
|
-
},
|
|
1217
|
-
"content": {
|
|
1218
|
-
"color": {
|
|
1219
|
-
"$type": "color",
|
|
1220
|
-
"$value": "{tanrei.comp.snackbar.inverse-error.supporting-text.color}"
|
|
1221
|
-
}
|
|
1222
|
-
},
|
|
1223
|
-
"state-layer": {
|
|
1224
|
-
"color": {
|
|
1225
|
-
"$type": "color",
|
|
1226
|
-
"$value": "{tanrei.comp.snackbar.close.inverse-error.content.color}"
|
|
1043
|
+
"dev.tanrei.enum": {
|
|
1044
|
+
"values": [
|
|
1045
|
+
"filled",
|
|
1046
|
+
"tonal",
|
|
1047
|
+
"elevated",
|
|
1048
|
+
"outlined",
|
|
1049
|
+
"text"
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
"dev.tanrei.derive": {
|
|
1053
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
1227
1054
|
}
|
|
1228
1055
|
}
|
|
1229
1056
|
},
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
1247
|
-
"$value": "{tanrei.comp.snackbar.close.inverse-success.content.color}"
|
|
1057
|
+
"size": {
|
|
1058
|
+
"$type": "number",
|
|
1059
|
+
"$value": 0,
|
|
1060
|
+
"$description": "The Button size of the close button and of the expand button, icon-only Buttons on the bar (SNK-34): small in the default system. The action stands as tall as controls.height, which a system that changes this size changes with it. The value is an index into dev.tanrei.enum.values, the core Button sizes; platforms receive the name.",
|
|
1061
|
+
"$extensions": {
|
|
1062
|
+
"dev.tanrei.vocabulary": {
|
|
1063
|
+
"rationale": "One product decides once how large its snackbars' close and expand controls are: small ones that keep the bar low, or the size its other icon buttons take."
|
|
1064
|
+
},
|
|
1065
|
+
"dev.tanrei.enum": {
|
|
1066
|
+
"values": [
|
|
1067
|
+
"small",
|
|
1068
|
+
"medium",
|
|
1069
|
+
"large"
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
"dev.tanrei.derive": {
|
|
1073
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
1248
1074
|
}
|
|
1249
1075
|
}
|
|
1250
1076
|
}
|
|
@@ -1252,36 +1078,36 @@
|
|
|
1252
1078
|
"motion": {
|
|
1253
1079
|
"enter-duration": {
|
|
1254
1080
|
"$type": "duration",
|
|
1255
|
-
"$value": "{tanrei.sys.motion.
|
|
1081
|
+
"$value": "{tanrei.sys.motion.role.appear.toast.enter}"
|
|
1256
1082
|
},
|
|
1257
1083
|
"enter-easing": {
|
|
1258
1084
|
"$type": "cubicBezier",
|
|
1259
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
1085
|
+
"$value": "{tanrei.sys.motion.easing.enter}"
|
|
1260
1086
|
},
|
|
1261
1087
|
"exit-duration": {
|
|
1262
1088
|
"$type": "duration",
|
|
1263
|
-
"$value": "{tanrei.sys.motion.
|
|
1089
|
+
"$value": "{tanrei.sys.motion.role.appear.toast.exit}"
|
|
1264
1090
|
},
|
|
1265
1091
|
"exit-easing": {
|
|
1266
1092
|
"$type": "cubicBezier",
|
|
1267
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
1093
|
+
"$value": "{tanrei.sys.motion.easing.exit}"
|
|
1268
1094
|
},
|
|
1269
1095
|
"state-duration": {
|
|
1270
1096
|
"$type": "duration",
|
|
1271
|
-
"$value": "{tanrei.sys.motion.
|
|
1097
|
+
"$value": "{tanrei.sys.motion.role.state.default}"
|
|
1272
1098
|
},
|
|
1273
1099
|
"state-easing": {
|
|
1274
1100
|
"$type": "cubicBezier",
|
|
1275
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
1101
|
+
"$value": "{tanrei.sys.motion.easing.state}"
|
|
1276
1102
|
},
|
|
1277
1103
|
"feedback-duration": {
|
|
1278
1104
|
"$type": "duration",
|
|
1279
|
-
"$value": "{tanrei.sys.motion.
|
|
1105
|
+
"$value": "{tanrei.sys.motion.role.feedback}",
|
|
1280
1106
|
"$description": "How long the answer to a press on a control takes to spread when sys.behavior.pressed-feedback is ripple (as Button's)."
|
|
1281
1107
|
},
|
|
1282
1108
|
"expand-duration": {
|
|
1283
1109
|
"$type": "duration",
|
|
1284
|
-
"$value": "{tanrei.sys.motion.
|
|
1110
|
+
"$value": "{tanrei.sys.motion.role.resize.large}",
|
|
1285
1111
|
"$description": "How long the bar takes to grow to its expanded height or shrink back.",
|
|
1286
1112
|
"$extensions": {
|
|
1287
1113
|
"dev.tanrei.vocabulary": {
|
|
@@ -1292,7 +1118,7 @@
|
|
|
1292
1118
|
},
|
|
1293
1119
|
"expand-easing": {
|
|
1294
1120
|
"$type": "cubicBezier",
|
|
1295
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
1121
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
1296
1122
|
"$extensions": {
|
|
1297
1123
|
"dev.tanrei.vocabulary": {
|
|
1298
1124
|
"rationale": "As expand-duration: expanding in place moves by its own curve.",
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"split-view": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product puts two things in one region and lets a person give either more room by moving the line between them: a list beside the message it opens, a query above its results, a canvas beside its settings. The line between the two is tuned apart from the product's other separators (a system that draws no line and leaves the handle alone, a system that draws a broad gutter), and the large motion of a pane folded away or brought back is told apart from the small one of a share the product changed.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a split view draws besides its Handle (which is drawn by comp.handle.*): the line between the two panes, and the motions of a share the product changed and of a pane folded away or brought back.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"The panes have no fill, padding or corners of the split view's own: the product's content draws its own surface (a list, a card, an editor).",
|
|
14
|
+
"The divider is decoration that shows where one pane ends; what a person moves is the Handle, held to the 3:1 boundary of a control. Never make the divider the only mark of where to drag.",
|
|
15
|
+
"A drag and a key are followed without a motion; only a fold, a restore, a press that moves the divider and a share the product sets move by these durations.",
|
|
16
|
+
"Restyle the handle through comp.handle.* in a layer; never draw a handle of the split view's own."
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"divider": {
|
|
21
|
+
"color": {
|
|
22
|
+
"$type": "color",
|
|
23
|
+
"$value": "{tanrei.sys.color.outline-variant}",
|
|
24
|
+
"$description": "The line between the two panes: decoration that shows where one ends, in the color a divider draws its line in. What a person drags is the Handle on it, which is held to the 3:1 boundary of a control (WCAG 1.4.11)."
|
|
25
|
+
},
|
|
26
|
+
"width": {
|
|
27
|
+
"$type": "dimension",
|
|
28
|
+
"$value": "{tanrei.sys.border.hairline}",
|
|
29
|
+
"$description": "The line's thickness across the axis of the split; the panes share what is left of the region."
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"motion": {
|
|
33
|
+
"resize-duration": {
|
|
34
|
+
"$type": "duration",
|
|
35
|
+
"$value": "{tanrei.sys.motion.role.resize.default}",
|
|
36
|
+
"$description": "How long the divider takes to reach a share the product set. A drag and a key are followed without a motion."
|
|
37
|
+
},
|
|
38
|
+
"collapse-duration": {
|
|
39
|
+
"$type": "duration",
|
|
40
|
+
"$value": "{tanrei.sys.motion.role.resize.large}",
|
|
41
|
+
"$description": "How long a pane takes to fold away or come back, and the divider to reach the share a press on the Handle gives: a large change a person follows with the eye, slower than a small one."
|
|
42
|
+
},
|
|
43
|
+
"collapse-easing": {
|
|
44
|
+
"$type": "cubicBezier",
|
|
45
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
46
|
+
"$description": "The curve of every motion of the divider: a change of place within the layout."
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|