@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
|
@@ -99,44 +99,40 @@
|
|
|
99
99
|
},
|
|
100
100
|
"target": {
|
|
101
101
|
"$type": "dimension",
|
|
102
|
-
"$description": "
|
|
102
|
+
"$description": "The least sizes of what a person presses. minimum is the least height (and, for an icon-only control, width) of the area a press is taken from, and the least height a row that touches its neighbours is drawn at; touch and pointer are the least areas a press is taken from, under a finger and under a fine pointer, never less than minimum. A control that stands alone (a Button, a box, a set) may be drawn lower, at the step of its size, and reaches the target past what it draws; a row that touches its neighbours cannot reach over them and is drawn that high.",
|
|
103
103
|
"$extensions": {
|
|
104
104
|
"dev.tanrei.vocabulary": {
|
|
105
|
-
"rationale": "One product is used by touch and by pointer, which
|
|
105
|
+
"rationale": "One product decides the least size it draws anything a person presses at, is used by touch and by pointer, which may take a press from larger areas than that, and needs spacing between targets.",
|
|
106
106
|
"since": "0.1.0"
|
|
107
107
|
},
|
|
108
108
|
"dev.tanrei.llm": {
|
|
109
|
-
"usage": "
|
|
109
|
+
"usage": "The least area a press is taken from (minimum, and touch and pointer by input) and the spacing between targets. A row that touches its neighbours (a menu's, a list's, a tree's) is derived with min: sys.target.minimum, so no size step draws it lower; a control that stands alone is drawn at the step of its size and its hit area reaches the target past what it draws. touch and pointer alias minimum, so one value sets all three; a system that takes a press from a larger area than it draws (a product that follows a platform guideline) sets touch or pointer above it.",
|
|
110
110
|
"rules": [
|
|
111
|
-
"Never shrink a hit area below these to fit a layout."
|
|
111
|
+
"Never shrink a hit area below these to fit a layout.",
|
|
112
|
+
"minimum is the developer's value: set it in a layer; no dial scales it.",
|
|
113
|
+
"touch and pointer are never under minimum; the build refuses a system where they are."
|
|
112
114
|
]
|
|
113
115
|
}
|
|
114
116
|
},
|
|
115
117
|
"touch": {
|
|
116
|
-
"$value": {
|
|
117
|
-
|
|
118
|
-
"unit": "px"
|
|
119
|
-
},
|
|
120
|
-
"$extensions": {
|
|
121
|
-
"dev.tanrei.derive": {
|
|
122
|
-
"fn": "mul",
|
|
123
|
-
"of": "{tanrei.dial.size.unit}",
|
|
124
|
-
"by": 12
|
|
125
|
-
}
|
|
126
|
-
}
|
|
118
|
+
"$value": "{tanrei.sys.target.minimum}",
|
|
119
|
+
"$description": "The least area a press is taken from under a finger, or where the platform cannot tell the input type. The minimum by default; a system that follows a platform guideline sets it above."
|
|
127
120
|
},
|
|
128
121
|
"pointer": {
|
|
122
|
+
"$value": "{tanrei.sys.target.minimum}",
|
|
123
|
+
"$description": "The least area a press is taken from under a fine pointer. The minimum by default; a system may set it above."
|
|
124
|
+
},
|
|
125
|
+
"minimum": {
|
|
129
126
|
"$value": {
|
|
130
|
-
"value":
|
|
127
|
+
"value": 36,
|
|
131
128
|
"unit": "px"
|
|
132
129
|
},
|
|
133
130
|
"$extensions": {
|
|
134
131
|
"dev.tanrei.derive": {
|
|
135
|
-
"
|
|
136
|
-
"of": "{tanrei.dial.size.unit}",
|
|
137
|
-
"by": 11
|
|
132
|
+
"fixed": "The developer's value: a floor that shrank with the dials it floors would be no floor."
|
|
138
133
|
}
|
|
139
|
-
}
|
|
134
|
+
},
|
|
135
|
+
"$description": "The least height — and, for an icon-only control, width — of the area a press is taken from, and the least height a row that touches its neighbours is drawn at. A control that stands alone may be drawn lower; its hit area reaches this past what it draws."
|
|
140
136
|
},
|
|
141
137
|
"spacing": {
|
|
142
138
|
"$value": {
|
|
@@ -152,6 +148,94 @@
|
|
|
152
148
|
}
|
|
153
149
|
}
|
|
154
150
|
},
|
|
151
|
+
"control": {
|
|
152
|
+
"$type": "dimension",
|
|
153
|
+
"$extensions": {
|
|
154
|
+
"dev.tanrei.vocabulary": {
|
|
155
|
+
"rationale": "One product draws its controls at a few heights, the same for every control of one size name, and moves them all with its control height.",
|
|
156
|
+
"since": "0.1.0"
|
|
157
|
+
},
|
|
158
|
+
"dev.tanrei.llm": {
|
|
159
|
+
"usage": "The control height ladder: steps a number of size units from dial.control.height — extra-small H − 4u, small H − 2u, medium H, large H + 4u, extra-large H + 8u (20, 28, 36, 52, 68 at the default H 36 and u 4; 24, 32, 40, 56, 72 at H 40). A component height of one of these sizes aliases its step, with min: sys.target.minimum where it is a row a person presses that touches its neighbours.",
|
|
160
|
+
"rules": [
|
|
161
|
+
"The ladder itself has no minimum: extra-small is for things nobody presses (a tag and a key cap, which are sized by their text, keep heights of their own). A row that touches its neighbours reads a step through { \"fn\": \"mul\", \"of\": \"{step}\", \"by\": 1, \"min\": \"{tanrei.sys.target.minimum}\" }; a control that stands alone reads it with no min, its hit area reaching the target."
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"height": {
|
|
166
|
+
"$description": "The heights a control is drawn at, one per size name: medium is the control height, and the others are whole size units from it.",
|
|
167
|
+
"extra-small": {
|
|
168
|
+
"$value": {
|
|
169
|
+
"value": 20,
|
|
170
|
+
"unit": "px"
|
|
171
|
+
},
|
|
172
|
+
"$extensions": {
|
|
173
|
+
"dev.tanrei.derive": {
|
|
174
|
+
"fn": "add",
|
|
175
|
+
"of": "{tanrei.dial.control.height}",
|
|
176
|
+
"by": "{tanrei.dial.size.unit}",
|
|
177
|
+
"times": -4
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"small": {
|
|
182
|
+
"$value": {
|
|
183
|
+
"value": 28,
|
|
184
|
+
"unit": "px"
|
|
185
|
+
},
|
|
186
|
+
"$extensions": {
|
|
187
|
+
"dev.tanrei.derive": {
|
|
188
|
+
"fn": "add",
|
|
189
|
+
"of": "{tanrei.dial.control.height}",
|
|
190
|
+
"by": "{tanrei.dial.size.unit}",
|
|
191
|
+
"times": -2
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"medium": {
|
|
196
|
+
"$value": {
|
|
197
|
+
"value": 36,
|
|
198
|
+
"unit": "px"
|
|
199
|
+
},
|
|
200
|
+
"$extensions": {
|
|
201
|
+
"dev.tanrei.derive": {
|
|
202
|
+
"fn": "add",
|
|
203
|
+
"of": "{tanrei.dial.control.height}",
|
|
204
|
+
"by": "{tanrei.dial.size.unit}",
|
|
205
|
+
"times": 0
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"large": {
|
|
210
|
+
"$value": {
|
|
211
|
+
"value": 52,
|
|
212
|
+
"unit": "px"
|
|
213
|
+
},
|
|
214
|
+
"$extensions": {
|
|
215
|
+
"dev.tanrei.derive": {
|
|
216
|
+
"fn": "add",
|
|
217
|
+
"of": "{tanrei.dial.control.height}",
|
|
218
|
+
"by": "{tanrei.dial.size.unit}",
|
|
219
|
+
"times": 4
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"extra-large": {
|
|
224
|
+
"$value": {
|
|
225
|
+
"value": 68,
|
|
226
|
+
"unit": "px"
|
|
227
|
+
},
|
|
228
|
+
"$extensions": {
|
|
229
|
+
"dev.tanrei.derive": {
|
|
230
|
+
"fn": "add",
|
|
231
|
+
"of": "{tanrei.dial.control.height}",
|
|
232
|
+
"by": "{tanrei.dial.size.unit}",
|
|
233
|
+
"times": 8
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
155
239
|
"icon": {
|
|
156
240
|
"$type": "dimension",
|
|
157
241
|
"$extensions": {
|
|
@@ -163,7 +247,7 @@
|
|
|
163
247
|
"usage": "How icons are drawn: the box sizes (extra-small 16, small 20, medium 24 — the default — and large 32), one weight for every icon and one for a control's own mark, and how a selected icon differs from an unselected one — by fill (a variable icon font) and/or by family (a static icon font). The default set is Material Symbols Rounded (ref.typeface.icon); its optical size follows the box size.",
|
|
164
248
|
"rules": [
|
|
165
249
|
"An icon that represents something UNSELECTED uses family.unselected with fill.unselected (outlined); the same icon in its SELECTED state uses family.selected with fill.selected (filled). Always apply both — which of the two actually changes depends on the design system's icon set. Apply this consistently — navigation items, tabs, toggles, chips, favourites — and never mix filled and outlined icons for decoration.",
|
|
166
|
-
"Every icon uses sys.icon.weight, except a control's own mark (a checkbox's check and dash, the glyph on a switch's handle, the check in the box of a menu's checkbox item), which uses the weight its component token names; those alias sys.icon.mark.weight. Do not set an icon's or a mark's weight from a text style.",
|
|
250
|
+
"Every icon uses sys.icon.weight, except a control's own mark (a checkbox's check and dash, the glyph on a switch's handle, the check in the box of a menu's checkbox item, the check of a selected filter chip or segment), which uses the weight its component token names; those alias sys.icon.mark.weight. Do not set an icon's or a mark's weight from a text style.",
|
|
167
251
|
"Components alias a size (a medium button → icon.medium); never write an icon size as a literal. medium is the standard glyph of a control, a row and a navigation destination; small and extra-small are for smaller or denser controls (a small button, a chip, a switch handle); large is for a large main action.",
|
|
168
252
|
"To change the icon set, a design system sets ref.typeface.icon (one variable font) or family.unselected / family.selected (a static set), and weight, and mark.weight. A static set has one weight: give both the same value. Icon NAMES are the product's concern: sets name their glyphs differently."
|
|
169
253
|
]
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
"motion": {
|
|
5
5
|
"$extensions": {
|
|
6
6
|
"dev.tanrei.llm": {
|
|
7
|
-
"usage": "Durations (multiples of dial.motion.unit), easing curves and springs.
|
|
7
|
+
"usage": "Durations by role (role.*, multiples of dial.motion.unit), curves by role (easing.enter, exit, state, spatial) over a scale of curves and springs, and where a surface that appears starts from (appear.*, set by sys.behavior.appearance). A component times and eases a change by its role; a product re-times or re-eases a role in one line.",
|
|
8
8
|
"rules": [
|
|
9
|
-
"Respect reduced motion: platforms skip or shorten transitions; never rely on motion to convey state."
|
|
9
|
+
"Respect reduced motion: platforms skip or shorten transitions; never rely on motion to convey state.",
|
|
10
|
+
"A component token for a duration or a curve aliases a role (role.*, easing.enter, easing.exit, easing.state, easing.spatial), not a step of the duration scale or a curve of the scale: the scale and the springs are what the roles are made of.",
|
|
11
|
+
"A surface that leaves eases by easing.exit and takes its role's exit duration, which is shorter than its enter duration.",
|
|
12
|
+
"appear.* holds where a surface that appears starts from; set sys.behavior.appearance to change them together, or pin one of them."
|
|
10
13
|
]
|
|
11
14
|
}
|
|
12
15
|
},
|
|
@@ -255,6 +258,328 @@
|
|
|
255
258
|
}
|
|
256
259
|
}
|
|
257
260
|
},
|
|
261
|
+
"role": {
|
|
262
|
+
"$type": "duration",
|
|
263
|
+
"$description": "How long a motion takes, by what moves — its role — rather than by a step of the duration scale. A component's duration token aliases the role of the change it animates, so every component of a role keeps one pace and a product re-times the role in one line. The values follow dial.motion.unit.",
|
|
264
|
+
"state": {
|
|
265
|
+
"compact": {
|
|
266
|
+
"$value": {
|
|
267
|
+
"value": 200,
|
|
268
|
+
"unit": "ms"
|
|
269
|
+
},
|
|
270
|
+
"$description": "A change of state — hover, focus, press — of a small control: a checkbox's box, an icon button, a small button, a chip.",
|
|
271
|
+
"$extensions": {
|
|
272
|
+
"dev.tanrei.derive": {
|
|
273
|
+
"fn": "mul",
|
|
274
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
275
|
+
"by": 4
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"default": {
|
|
280
|
+
"$value": {
|
|
281
|
+
"value": 250,
|
|
282
|
+
"unit": "ms"
|
|
283
|
+
},
|
|
284
|
+
"$description": "A change of state of a control of medium size: a button, a text field.",
|
|
285
|
+
"$extensions": {
|
|
286
|
+
"dev.tanrei.derive": {
|
|
287
|
+
"fn": "mul",
|
|
288
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
289
|
+
"by": 5
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"large": {
|
|
294
|
+
"$value": {
|
|
295
|
+
"value": 250,
|
|
296
|
+
"unit": "ms"
|
|
297
|
+
},
|
|
298
|
+
"$description": "A change of state of a large surface: a list row, a card, a table's row, a navigation item.",
|
|
299
|
+
"$extensions": {
|
|
300
|
+
"dev.tanrei.derive": {
|
|
301
|
+
"fn": "mul",
|
|
302
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
303
|
+
"by": 5
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"selection": {
|
|
309
|
+
"mark": {
|
|
310
|
+
"$value": {
|
|
311
|
+
"value": 250,
|
|
312
|
+
"unit": "ms"
|
|
313
|
+
},
|
|
314
|
+
"$description": "A selection mark that appears in place: a check mark, a radio button's dot.",
|
|
315
|
+
"$extensions": {
|
|
316
|
+
"dev.tanrei.derive": {
|
|
317
|
+
"fn": "mul",
|
|
318
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
319
|
+
"by": 5
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"travel": {
|
|
324
|
+
"$value": {
|
|
325
|
+
"value": 250,
|
|
326
|
+
"unit": "ms"
|
|
327
|
+
},
|
|
328
|
+
"$description": "A selection that travels: a switch's handle, the indicator of tabs or of a navigation bar.",
|
|
329
|
+
"$extensions": {
|
|
330
|
+
"dev.tanrei.derive": {
|
|
331
|
+
"fn": "mul",
|
|
332
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
333
|
+
"by": 5
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"resize": {
|
|
339
|
+
"default": {
|
|
340
|
+
"$value": {
|
|
341
|
+
"value": 300,
|
|
342
|
+
"unit": "ms"
|
|
343
|
+
},
|
|
344
|
+
"$description": "A box that changes its size in place: a text field that grows by a line, an error line that opens below a field.",
|
|
345
|
+
"$extensions": {
|
|
346
|
+
"dev.tanrei.derive": {
|
|
347
|
+
"fn": "mul",
|
|
348
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
349
|
+
"by": 6
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"large": {
|
|
354
|
+
"$value": {
|
|
355
|
+
"value": 400,
|
|
356
|
+
"unit": "ms"
|
|
357
|
+
},
|
|
358
|
+
"$description": "A large change of size: an attachment strip that opens, a row added to or taken out of a list.",
|
|
359
|
+
"$extensions": {
|
|
360
|
+
"dev.tanrei.derive": {
|
|
361
|
+
"fn": "mul",
|
|
362
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
363
|
+
"by": 8
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"disclosure": {
|
|
369
|
+
"$value": {
|
|
370
|
+
"value": 400,
|
|
371
|
+
"unit": "ms"
|
|
372
|
+
},
|
|
373
|
+
"$description": "Content that opens and closes in place: an accordion's panel, a tree's group, a section of a drawer.",
|
|
374
|
+
"$extensions": {
|
|
375
|
+
"dev.tanrei.derive": {
|
|
376
|
+
"fn": "mul",
|
|
377
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
378
|
+
"by": 8
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"appear": {
|
|
383
|
+
"hint": {
|
|
384
|
+
"enter": {
|
|
385
|
+
"$value": {
|
|
386
|
+
"value": 250,
|
|
387
|
+
"unit": "ms"
|
|
388
|
+
},
|
|
389
|
+
"$description": "A hint beside what it describes (a tooltip) appears.",
|
|
390
|
+
"$extensions": {
|
|
391
|
+
"dev.tanrei.derive": {
|
|
392
|
+
"fn": "mul",
|
|
393
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
394
|
+
"by": 5
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"exit": {
|
|
399
|
+
"$value": {
|
|
400
|
+
"value": 200,
|
|
401
|
+
"unit": "ms"
|
|
402
|
+
},
|
|
403
|
+
"$description": "A hint beside what it describes (a tooltip) leaves. Leaving is shorter than appearing.",
|
|
404
|
+
"$extensions": {
|
|
405
|
+
"dev.tanrei.derive": {
|
|
406
|
+
"fn": "mul",
|
|
407
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
408
|
+
"by": 4
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"anchored": {
|
|
414
|
+
"enter": {
|
|
415
|
+
"$value": {
|
|
416
|
+
"value": 300,
|
|
417
|
+
"unit": "ms"
|
|
418
|
+
},
|
|
419
|
+
"$description": "A surface anchored to what opened it (a menu, a select's or a combobox's list, a popover, a docked picker) appears.",
|
|
420
|
+
"$extensions": {
|
|
421
|
+
"dev.tanrei.derive": {
|
|
422
|
+
"fn": "mul",
|
|
423
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
424
|
+
"by": 6
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"exit": {
|
|
429
|
+
"$value": {
|
|
430
|
+
"value": 250,
|
|
431
|
+
"unit": "ms"
|
|
432
|
+
},
|
|
433
|
+
"$description": "A surface anchored to what opened it (a menu, a select's or a combobox's list, a popover, a docked picker) leaves. Leaving is shorter than appearing.",
|
|
434
|
+
"$extensions": {
|
|
435
|
+
"dev.tanrei.derive": {
|
|
436
|
+
"fn": "mul",
|
|
437
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
438
|
+
"by": 5
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"modal": {
|
|
444
|
+
"enter": {
|
|
445
|
+
"$value": {
|
|
446
|
+
"value": 350,
|
|
447
|
+
"unit": "ms"
|
|
448
|
+
},
|
|
449
|
+
"$description": "A modal surface over the page, and the scrim behind it (a dialog, a modal picker, an image preview) appears.",
|
|
450
|
+
"$extensions": {
|
|
451
|
+
"dev.tanrei.derive": {
|
|
452
|
+
"fn": "mul",
|
|
453
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
454
|
+
"by": 7
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"exit": {
|
|
459
|
+
"$value": {
|
|
460
|
+
"value": 300,
|
|
461
|
+
"unit": "ms"
|
|
462
|
+
},
|
|
463
|
+
"$description": "A modal surface over the page, and the scrim behind it (a dialog, a modal picker, an image preview) leaves. Leaving is shorter than appearing.",
|
|
464
|
+
"$extensions": {
|
|
465
|
+
"dev.tanrei.derive": {
|
|
466
|
+
"fn": "mul",
|
|
467
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
468
|
+
"by": 6
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"sheet": {
|
|
474
|
+
"enter": {
|
|
475
|
+
"$value": {
|
|
476
|
+
"value": 400,
|
|
477
|
+
"unit": "ms"
|
|
478
|
+
},
|
|
479
|
+
"$description": "A sheet that slides in from an edge (a bottom sheet, a side sheet, a modal drawer) appears.",
|
|
480
|
+
"$extensions": {
|
|
481
|
+
"dev.tanrei.derive": {
|
|
482
|
+
"fn": "mul",
|
|
483
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
484
|
+
"by": 8
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"exit": {
|
|
489
|
+
"$value": {
|
|
490
|
+
"value": 350,
|
|
491
|
+
"unit": "ms"
|
|
492
|
+
},
|
|
493
|
+
"$description": "A sheet that slides in from an edge (a bottom sheet, a side sheet, a modal drawer) leaves. Leaving is shorter than appearing.",
|
|
494
|
+
"$extensions": {
|
|
495
|
+
"dev.tanrei.derive": {
|
|
496
|
+
"fn": "mul",
|
|
497
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
498
|
+
"by": 7
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"toast": {
|
|
504
|
+
"enter": {
|
|
505
|
+
"$value": {
|
|
506
|
+
"value": 350,
|
|
507
|
+
"unit": "ms"
|
|
508
|
+
},
|
|
509
|
+
"$description": "A message at an edge of the window that leaves on its own (a snackbar) appears.",
|
|
510
|
+
"$extensions": {
|
|
511
|
+
"dev.tanrei.derive": {
|
|
512
|
+
"fn": "mul",
|
|
513
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
514
|
+
"by": 7
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"exit": {
|
|
519
|
+
"$value": {
|
|
520
|
+
"value": 300,
|
|
521
|
+
"unit": "ms"
|
|
522
|
+
},
|
|
523
|
+
"$description": "A message at an edge of the window that leaves on its own (a snackbar) leaves. Leaving is shorter than appearing.",
|
|
524
|
+
"$extensions": {
|
|
525
|
+
"dev.tanrei.derive": {
|
|
526
|
+
"fn": "mul",
|
|
527
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
528
|
+
"by": 6
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"feedback": {
|
|
535
|
+
"$value": {
|
|
536
|
+
"value": 450,
|
|
537
|
+
"unit": "ms"
|
|
538
|
+
},
|
|
539
|
+
"$description": "The answer to a press that spreads from the point of contact (a ripple).",
|
|
540
|
+
"$extensions": {
|
|
541
|
+
"dev.tanrei.derive": {
|
|
542
|
+
"fn": "mul",
|
|
543
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
544
|
+
"by": 9
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"show-delay": {
|
|
549
|
+
"$value": {
|
|
550
|
+
"value": 300,
|
|
551
|
+
"unit": "ms"
|
|
552
|
+
},
|
|
553
|
+
"$description": "How long a loading indicator, a progress indicator or a skeleton waits before it appears, so that a short wait shows nothing at all.",
|
|
554
|
+
"$extensions": {
|
|
555
|
+
"dev.tanrei.derive": {
|
|
556
|
+
"fn": "mul",
|
|
557
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
558
|
+
"by": 6
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"reduced": {
|
|
563
|
+
"$value": {
|
|
564
|
+
"value": 100,
|
|
565
|
+
"unit": "ms"
|
|
566
|
+
},
|
|
567
|
+
"$description": "The cross-fade that takes the place of a movement, a scaling or a blur while motion is reduced.",
|
|
568
|
+
"$extensions": {
|
|
569
|
+
"dev.tanrei.derive": {
|
|
570
|
+
"fn": "mul",
|
|
571
|
+
"of": "{tanrei.dial.motion.unit}",
|
|
572
|
+
"by": 2
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"$extensions": {
|
|
577
|
+
"dev.tanrei.vocabulary": {
|
|
578
|
+
"rationale": "One product times its motions by what moves: a tooltip appears faster than a dialog, a check mark settles faster than a sheet slides in, and every component that does the same kind of thing keeps the same pace. Without roles a product re-times one kind of motion component by component, and components of one kind drift apart.",
|
|
579
|
+
"since": "0.1.0"
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
},
|
|
258
583
|
"easing": {
|
|
259
584
|
"$type": "cubicBezier",
|
|
260
585
|
"standard": {
|
|
@@ -335,6 +660,22 @@
|
|
|
335
660
|
}
|
|
336
661
|
}
|
|
337
662
|
},
|
|
663
|
+
"enter": {
|
|
664
|
+
"$value": "{tanrei.sys.motion.easing.standard}",
|
|
665
|
+
"$description": "The curve of a surface that appears: quick at first, settling into place."
|
|
666
|
+
},
|
|
667
|
+
"exit": {
|
|
668
|
+
"$value": "{tanrei.sys.motion.easing.standard-accelerate}",
|
|
669
|
+
"$description": "The curve of a surface that leaves: it gathers speed as it goes, so little of the surface is left on its last frame (about 7–9 % of its opacity at 250–350 ms)."
|
|
670
|
+
},
|
|
671
|
+
"state": {
|
|
672
|
+
"$value": "{tanrei.sys.motion.easing.standard}",
|
|
673
|
+
"$description": "The curve of a change of state in place: a color, an opacity, a mark."
|
|
674
|
+
},
|
|
675
|
+
"spatial": {
|
|
676
|
+
"$value": "{tanrei.sys.motion.easing.standard}",
|
|
677
|
+
"$description": "The curve of something that moves or changes its size in place: a switch's handle, the indicator of tabs, a box that grows."
|
|
678
|
+
},
|
|
338
679
|
"$extensions": {
|
|
339
680
|
"dev.tanrei.vocabulary": {
|
|
340
681
|
"rationale": "One product eases entrances, exits and on-screen moves differently.",
|
|
@@ -342,6 +683,137 @@
|
|
|
342
683
|
}
|
|
343
684
|
}
|
|
344
685
|
},
|
|
686
|
+
"appear": {
|
|
687
|
+
"$description": "Where a surface that appears starts from, and where one that leaves ends: its opacity, its scale, how far it travels and how blurred it is — one appearance for every surface that appears (a menu, a select's list, a popover, a tooltip, a dialog, a snackbar). The values follow sys.behavior.appearance: a layer chooses the appearance, or pins one value. A sheet slides in from its edge whatever the appearance.",
|
|
688
|
+
"opacity": {
|
|
689
|
+
"$type": "number",
|
|
690
|
+
"$value": 0,
|
|
691
|
+
"$description": "The opacity a surface starts from as it appears and ends at as it leaves: 0 fades it; 1 does not.",
|
|
692
|
+
"$extensions": {
|
|
693
|
+
"dev.tanrei.derive": {
|
|
694
|
+
"fn": "pick",
|
|
695
|
+
"by": "{tanrei.sys.behavior.appearance}",
|
|
696
|
+
"values": {
|
|
697
|
+
"fade-scale": 0,
|
|
698
|
+
"fade": 0,
|
|
699
|
+
"fade-slide": 0,
|
|
700
|
+
"blur-slide": 0,
|
|
701
|
+
"unfold": 0
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"scale": {
|
|
707
|
+
"$type": "number",
|
|
708
|
+
"$value": 0.96,
|
|
709
|
+
"$description": "The scale a surface starts from as it appears, toward its origin: 0.96 grows it a little into place; 1 does not scale it. Under unfold the scale applies only along the axis that leaves the anchor, so the surface unfolds from its anchored edge.",
|
|
710
|
+
"$extensions": {
|
|
711
|
+
"dev.tanrei.derive": {
|
|
712
|
+
"fn": "pick",
|
|
713
|
+
"by": "{tanrei.sys.behavior.appearance}",
|
|
714
|
+
"values": {
|
|
715
|
+
"fade-scale": 0.96,
|
|
716
|
+
"fade": 1,
|
|
717
|
+
"fade-slide": 1,
|
|
718
|
+
"blur-slide": 1,
|
|
719
|
+
"unfold": 0
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"distance": {
|
|
725
|
+
"$type": "dimension",
|
|
726
|
+
"$value": {
|
|
727
|
+
"value": 0,
|
|
728
|
+
"unit": "px"
|
|
729
|
+
},
|
|
730
|
+
"$description": "How far a surface travels into place as it appears. The component gives the direction: away from its anchor for an anchored surface.",
|
|
731
|
+
"$extensions": {
|
|
732
|
+
"dev.tanrei.derive": {
|
|
733
|
+
"fn": "pick",
|
|
734
|
+
"by": "{tanrei.sys.behavior.appearance}",
|
|
735
|
+
"values": {
|
|
736
|
+
"fade-scale": {
|
|
737
|
+
"value": 0,
|
|
738
|
+
"unit": "px"
|
|
739
|
+
},
|
|
740
|
+
"fade": {
|
|
741
|
+
"value": 0,
|
|
742
|
+
"unit": "px"
|
|
743
|
+
},
|
|
744
|
+
"fade-slide": "{tanrei.sys.space.space100}",
|
|
745
|
+
"blur-slide": "{tanrei.sys.space.space100}",
|
|
746
|
+
"unfold": {
|
|
747
|
+
"value": 0,
|
|
748
|
+
"unit": "px"
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
"blur": {
|
|
755
|
+
"$type": "dimension",
|
|
756
|
+
"$value": {
|
|
757
|
+
"value": 0,
|
|
758
|
+
"unit": "px"
|
|
759
|
+
},
|
|
760
|
+
"$description": "How blurred a surface starts as it appears; it comes into focus as it arrives.",
|
|
761
|
+
"$extensions": {
|
|
762
|
+
"dev.tanrei.derive": {
|
|
763
|
+
"fn": "pick",
|
|
764
|
+
"by": "{tanrei.sys.behavior.appearance}",
|
|
765
|
+
"values": {
|
|
766
|
+
"fade-scale": {
|
|
767
|
+
"value": 0,
|
|
768
|
+
"unit": "px"
|
|
769
|
+
},
|
|
770
|
+
"fade": {
|
|
771
|
+
"value": 0,
|
|
772
|
+
"unit": "px"
|
|
773
|
+
},
|
|
774
|
+
"fade-slide": {
|
|
775
|
+
"value": 0,
|
|
776
|
+
"unit": "px"
|
|
777
|
+
},
|
|
778
|
+
"blur-slide": {
|
|
779
|
+
"value": 4,
|
|
780
|
+
"unit": "px"
|
|
781
|
+
},
|
|
782
|
+
"unfold": {
|
|
783
|
+
"value": 0,
|
|
784
|
+
"unit": "px"
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"origin": {
|
|
791
|
+
"$type": "number",
|
|
792
|
+
"$value": 0,
|
|
793
|
+
"$description": "Where an anchored surface grows from. anchor: the middle of its edge that faces what opened it. center: its own centre. A modal surface grows from its centre whatever the choice.",
|
|
794
|
+
"$extensions": {
|
|
795
|
+
"dev.tanrei.enum": {
|
|
796
|
+
"values": [
|
|
797
|
+
"anchor",
|
|
798
|
+
"center"
|
|
799
|
+
]
|
|
800
|
+
},
|
|
801
|
+
"dev.tanrei.derive": {
|
|
802
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
803
|
+
},
|
|
804
|
+
"dev.tanrei.vocabulary": {
|
|
805
|
+
"rationale": "One product grows its menus and popovers out of what opened them — a menu unfolds from its button — where another grows each of them from its own centre, as a card that hovers into place does. It is one decision for every anchored surface of the product.",
|
|
806
|
+
"since": "0.1.0"
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
"$extensions": {
|
|
811
|
+
"dev.tanrei.vocabulary": {
|
|
812
|
+
"rationale": "One product makes everything that appears appear the same way: its menu, its tooltip and its dialog fade and grow alike, and a product whose surfaces travel or come into focus wants that everywhere. Where a surface starts from is decided once and read by every surface; without it each surface restates it and they drift apart.",
|
|
813
|
+
"since": "0.1.0"
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
},
|
|
345
817
|
"spring": {
|
|
346
818
|
"$description": "Motion physics. \"spatial\" moves things (may overshoot); \"effects\" changes color/opacity (never overshoots). `standard` is the default scheme; `expressive` is the additive layer.",
|
|
347
819
|
"standard": {
|