@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
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"since": "0.1.0"
|
|
9
9
|
},
|
|
10
10
|
"dev.tanrei.axes": {
|
|
11
|
-
"
|
|
12
|
-
"default": "
|
|
11
|
+
"size": {
|
|
12
|
+
"default": "medium",
|
|
13
13
|
"values": [
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"small",
|
|
15
|
+
"medium"
|
|
16
16
|
],
|
|
17
17
|
"members": [
|
|
18
18
|
"fact.gap",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dev.tanrei.llm": {
|
|
27
|
-
"usage": "Everything a description list reads: per
|
|
27
|
+
"usage": "Everything a description list reads: per size (small, medium), the space between two facts, the space between the term column and the value column, the text styles of a term and of a value, and the text style of a figure in the stat layout; the colors of a term and of a value; the space between a term and the value under it; the space between two columns of facts and the least width of a column that holds values; the one line between facts and how facts are told apart (a line or a gap, following the system's choice).",
|
|
28
28
|
"rules": [
|
|
29
29
|
"A description list presents the facts of one thing: each a name and the value that answers it. Many things that share the same names are a table; text that is read in order, with a term now and then, is prose.",
|
|
30
30
|
"Use layout inline for a block of facts a person looks things up in, stacked where values are long or the names are, and stat for a few figures with their labels. An inline list stacks by itself when it is narrow; do not switch the layout by hand for a small window.",
|
|
31
31
|
"Set columns to the most columns you want, and let the list draw fewer when it is narrow. An inline list is always one column.",
|
|
32
|
-
"Use
|
|
32
|
+
"Use size small where a person scans many facts (a side panel, an inspector) and medium where a person reads them. A list that sets no size takes the one its container sets.",
|
|
33
33
|
"Write a term as a short name without a colon. Write a value as the person should read it: format numbers, dates and units yourself, and write \"None\" or \"Not set\" where a fact has no value.",
|
|
34
34
|
"A value may hold a tag, a link, inline code or a button; the list places it and styles nothing inside it. A fact, a term and a value are never pressed: put a link or a button inside the value.",
|
|
35
35
|
"A figure in the stat layout is text of the surface's color, never primary and never a status color. Say a change in words, with a glyph (a tag whose label says \"up 12 %\"), never by color alone.",
|
|
@@ -69,23 +69,45 @@
|
|
|
69
69
|
"fact": {
|
|
70
70
|
"gap": {
|
|
71
71
|
"$type": "dimension",
|
|
72
|
-
"$description": "The space between a fact and the fact below it, per
|
|
73
|
-
"
|
|
74
|
-
"$value":
|
|
72
|
+
"$description": "The space between a fact and the fact below it, per size: once where facts are told apart by space, and on each side of the line where they are told apart by a line. The list has no row height of its own: a fact is as tall as its term and its values.",
|
|
73
|
+
"medium": {
|
|
74
|
+
"$value": {
|
|
75
|
+
"value": 12,
|
|
76
|
+
"unit": "px"
|
|
77
|
+
},
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"dev.tanrei.derive": {
|
|
80
|
+
"fn": "mul",
|
|
81
|
+
"of": "{tanrei.sys.space.space150}",
|
|
82
|
+
"by": 1,
|
|
83
|
+
"round": "{tanrei.sys.space.space25}"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
75
86
|
},
|
|
76
|
-
"
|
|
77
|
-
"$value":
|
|
87
|
+
"small": {
|
|
88
|
+
"$value": {
|
|
89
|
+
"value": 6,
|
|
90
|
+
"unit": "px"
|
|
91
|
+
},
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"dev.tanrei.derive": {
|
|
94
|
+
"fn": "mul",
|
|
95
|
+
"of": "{tanrei.sys.space.space75}",
|
|
96
|
+
"by": 1,
|
|
97
|
+
"round": "{tanrei.sys.space.space25}"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
78
100
|
}
|
|
79
101
|
}
|
|
80
102
|
},
|
|
81
103
|
"term": {
|
|
82
104
|
"gap": {
|
|
83
105
|
"$type": "dimension",
|
|
84
|
-
"$description": "The space between the term column and the value column while the term sits beside its value, per
|
|
85
|
-
"
|
|
106
|
+
"$description": "The space between the term column and the value column while the term sits beside its value, per size.",
|
|
107
|
+
"medium": {
|
|
86
108
|
"$value": "{tanrei.sys.space.space200}"
|
|
87
109
|
},
|
|
88
|
-
"
|
|
110
|
+
"small": {
|
|
89
111
|
"$value": "{tanrei.sys.space.space100}"
|
|
90
112
|
}
|
|
91
113
|
},
|
|
@@ -96,11 +118,11 @@
|
|
|
96
118
|
},
|
|
97
119
|
"typescale": {
|
|
98
120
|
"$type": "typography",
|
|
99
|
-
"$description": "The text of a term, per
|
|
100
|
-
"
|
|
121
|
+
"$description": "The text of a term, per size: a label, not running text. In the stat layout it is the style of the label under the figure.",
|
|
122
|
+
"medium": {
|
|
101
123
|
"$value": "{tanrei.sys.typescale.label}"
|
|
102
124
|
},
|
|
103
|
-
"
|
|
125
|
+
"small": {
|
|
104
126
|
"$value": "{tanrei.sys.typescale.label-small}"
|
|
105
127
|
}
|
|
106
128
|
}
|
|
@@ -146,11 +168,11 @@
|
|
|
146
168
|
},
|
|
147
169
|
"typescale": {
|
|
148
170
|
"$type": "typography",
|
|
149
|
-
"$description": "The text of a value, per
|
|
150
|
-
"
|
|
171
|
+
"$description": "The text of a value, per size: the interface's running text, as prose sets a description at its medium size.",
|
|
172
|
+
"medium": {
|
|
151
173
|
"$value": "{tanrei.sys.typescale.body}"
|
|
152
174
|
},
|
|
153
|
-
"
|
|
175
|
+
"small": {
|
|
154
176
|
"$value": "{tanrei.sys.typescale.body-small}"
|
|
155
177
|
}
|
|
156
178
|
}
|
|
@@ -165,11 +187,11 @@
|
|
|
165
187
|
"value": {
|
|
166
188
|
"typescale": {
|
|
167
189
|
"$type": "typography",
|
|
168
|
-
"$description": "The text of a figure in the stat layout, per
|
|
169
|
-
"
|
|
190
|
+
"$description": "The text of a figure in the stat layout, per size: a heading role, because the figure is what the fact is read for. Its label takes term.typescale and its color is value.color.",
|
|
191
|
+
"medium": {
|
|
170
192
|
"$value": "{tanrei.sys.typescale.heading-1}"
|
|
171
193
|
},
|
|
172
|
-
"
|
|
194
|
+
"small": {
|
|
173
195
|
"$value": "{tanrei.sys.typescale.heading-3}"
|
|
174
196
|
}
|
|
175
197
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"since": "0.1.0"
|
|
9
9
|
},
|
|
10
10
|
"dev.tanrei.llm": {
|
|
11
|
-
"usage": "Everything a dialog reads: the scrim behind it; the container's color, elevation, corner shape, padding, gap, minimum and maximum width and its margin to the window; the window width below which it
|
|
11
|
+
"usage": "Everything a dialog reads: the scrim behind it; the container's color, elevation, corner shape, padding, gap, minimum and maximum width, the three fixed widths a product may choose instead, and its margin to the window; the window width below which it takes the bottom sheet's appearance (whose container and motion tokens it then reads); the header (where the icon sits and its gap to the headline); the icon, headline, supporting text and content colors and text styles; the dividers shown while the content scrolls; how the actions are arranged, their default Button variant and their spacing; and the enter and exit motion of the centred dialog.",
|
|
12
12
|
"rules": [
|
|
13
13
|
"Every dialog has at least one action. The actions are Tanrei Buttons, marked confirming or dismissive; the dialog places them as a full-width Button group and gives a Button without a variant the one comp.dialog.actions.variant names (tonal in the default system). It never changes a variant the product set.",
|
|
14
14
|
"Choose another look for every dialog of a product by re-valuing comp.dialog.actions.variant and comp.dialog.actions.arrangement in its layer; set a Button's variant for one action only.",
|
|
@@ -21,23 +21,30 @@
|
|
|
21
21
|
"scrim": {
|
|
22
22
|
"color": {
|
|
23
23
|
"$type": "color",
|
|
24
|
-
"$value": "{tanrei.
|
|
25
|
-
"$description": "The dim over everything behind the dialog, alpha included
|
|
24
|
+
"$value": "{tanrei.comp.modal-layer.scrim.color}",
|
|
25
|
+
"$description": "The dim over everything behind the dialog, alpha included: the modal layer's, unless a system sets the dialog apart."
|
|
26
|
+
},
|
|
27
|
+
"blur": {
|
|
28
|
+
"$type": "dimension",
|
|
29
|
+
"$value": "{tanrei.comp.modal-layer.scrim.blur}",
|
|
30
|
+
"$description": "How much the scrim behind the dialog blurs what lies behind it: the modal layer's (0, none, in the default system)."
|
|
26
31
|
}
|
|
27
32
|
},
|
|
28
33
|
"container": {
|
|
29
34
|
"color": {
|
|
30
35
|
"$type": "color",
|
|
31
|
-
"$value": "{tanrei.sys.color.surface-bright}"
|
|
36
|
+
"$value": "{tanrei.sys.color.surface-bright}",
|
|
37
|
+
"$description": "The centred container's fill; in a compact window the dialog takes the bottom sheet's (DLG-17)."
|
|
32
38
|
},
|
|
33
39
|
"elevation": {
|
|
34
40
|
"$type": "shadow",
|
|
35
|
-
"$value": "{tanrei.sys.elevation.level3}"
|
|
41
|
+
"$value": "{tanrei.sys.elevation.level3}",
|
|
42
|
+
"$description": "The centred container's lift; in a compact window the dialog takes the bottom sheet's (DLG-17)."
|
|
36
43
|
},
|
|
37
44
|
"shape": {
|
|
38
45
|
"$type": "dimension",
|
|
39
46
|
"$value": "{tanrei.sys.shape.corner.large}",
|
|
40
|
-
"$description": "Every corner of the container
|
|
47
|
+
"$description": "Every corner of the centred container. In a compact window the dialog takes the bottom sheet's corners (DLG-17)."
|
|
41
48
|
},
|
|
42
49
|
"padding": {
|
|
43
50
|
"$type": "dimension",
|
|
@@ -70,7 +77,7 @@
|
|
|
70
77
|
"value": 560,
|
|
71
78
|
"unit": "px"
|
|
72
79
|
},
|
|
73
|
-
"$description": "The widest a dialog draws
|
|
80
|
+
"$description": "The widest a centred dialog draws; longer text wraps and wider content scrolls or wraps. In a compact window the bottom sheet's greatest width applies (DLG-17).",
|
|
74
81
|
"$extensions": {
|
|
75
82
|
"dev.tanrei.derive": {
|
|
76
83
|
"fn": "mul",
|
|
@@ -82,7 +89,7 @@
|
|
|
82
89
|
"margin": {
|
|
83
90
|
"$type": "dimension",
|
|
84
91
|
"$value": "{tanrei.sys.space.space200}",
|
|
85
|
-
"$description": "The least distance between the container and the edges of the window's safe area (and the on-screen keyboard)
|
|
92
|
+
"$description": "The least distance between the centred container and the edges of the window's safe area (and the on-screen keyboard). It wins over min-width on a narrow window."
|
|
86
93
|
}
|
|
87
94
|
},
|
|
88
95
|
"compact": {
|
|
@@ -92,10 +99,10 @@
|
|
|
92
99
|
"value": 600,
|
|
93
100
|
"unit": "px"
|
|
94
101
|
},
|
|
95
|
-
"$description": "A window narrower than this is compact: the dialog
|
|
102
|
+
"$description": "A window narrower than this is compact: the dialog takes the bottom sheet's appearance at the bottom of it instead of standing at its centre (DLG-17). 0 keeps the dialog centred in every window.",
|
|
96
103
|
"$extensions": {
|
|
97
104
|
"dev.tanrei.vocabulary": {
|
|
98
|
-
"rationale": "One product decides below which window width its dialogs
|
|
105
|
+
"rationale": "One product decides below which window width its dialogs become sheets at the bottom of the window, within reach of the thumb, as its popovers do, and a product whose dialogs stay centred everywhere sets 0."
|
|
99
106
|
},
|
|
100
107
|
"dev.tanrei.derive": {
|
|
101
108
|
"fn": "mul",
|
|
@@ -117,6 +124,62 @@
|
|
|
117
124
|
}
|
|
118
125
|
}
|
|
119
126
|
},
|
|
127
|
+
"width": {
|
|
128
|
+
"small": {
|
|
129
|
+
"$type": "dimension",
|
|
130
|
+
"$value": {
|
|
131
|
+
"value": 400,
|
|
132
|
+
"unit": "px"
|
|
133
|
+
},
|
|
134
|
+
"$description": "The container's width while the dialog's width is small (DLG-27): a short form or a confirmation whose width should not follow its text. Never wider than the window less container.margin on each side.",
|
|
135
|
+
"$extensions": {
|
|
136
|
+
"dev.tanrei.vocabulary": {
|
|
137
|
+
"rationale": "One product gives its dialogs a few fixed widths, so that a form keeps its width as its fields and messages change; small is the narrowest, for a field or two."
|
|
138
|
+
},
|
|
139
|
+
"dev.tanrei.derive": {
|
|
140
|
+
"fn": "mul",
|
|
141
|
+
"of": "{tanrei.dial.size.unit}",
|
|
142
|
+
"by": 100
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"medium": {
|
|
147
|
+
"$type": "dimension",
|
|
148
|
+
"$value": {
|
|
149
|
+
"value": 560,
|
|
150
|
+
"unit": "px"
|
|
151
|
+
},
|
|
152
|
+
"$description": "The container's width while the dialog's width is medium (DLG-27): a form or a list of choices. Never wider than the window less container.margin on each side.",
|
|
153
|
+
"$extensions": {
|
|
154
|
+
"dev.tanrei.vocabulary": {
|
|
155
|
+
"rationale": "One product gives its dialogs a few fixed widths, so that a form keeps its width as its fields and messages change; medium is the width a content-sized dialog grows to at most."
|
|
156
|
+
},
|
|
157
|
+
"dev.tanrei.derive": {
|
|
158
|
+
"fn": "mul",
|
|
159
|
+
"of": "{tanrei.dial.size.unit}",
|
|
160
|
+
"by": 140
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"large": {
|
|
165
|
+
"$type": "dimension",
|
|
166
|
+
"$value": {
|
|
167
|
+
"value": 800,
|
|
168
|
+
"unit": "px"
|
|
169
|
+
},
|
|
170
|
+
"$description": "The container's width while the dialog's width is large (DLG-27): content that needs room, a table or a preview. Never wider than the window less container.margin on each side.",
|
|
171
|
+
"$extensions": {
|
|
172
|
+
"dev.tanrei.vocabulary": {
|
|
173
|
+
"rationale": "One product gives its dialogs a few fixed widths, so that a form keeps its width as its fields and messages change; large holds content that needs room, wider than a content-sized dialog may grow."
|
|
174
|
+
},
|
|
175
|
+
"dev.tanrei.derive": {
|
|
176
|
+
"fn": "mul",
|
|
177
|
+
"of": "{tanrei.dial.size.unit}",
|
|
178
|
+
"by": 200
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
120
183
|
"icon": {
|
|
121
184
|
"color": {
|
|
122
185
|
"$type": "color",
|
|
@@ -181,13 +244,30 @@
|
|
|
181
244
|
"width": {
|
|
182
245
|
"$type": "dimension",
|
|
183
246
|
"$value": "{tanrei.sys.border.hairline}"
|
|
247
|
+
},
|
|
248
|
+
"visibility": {
|
|
249
|
+
"$type": "number",
|
|
250
|
+
"$value": "{tanrei.sys.behavior.divider-visibility}",
|
|
251
|
+
"$description": "When the dividers below the header and above the actions are drawn while the supporting text and the content scroll between them. always: both, whenever that part scrolls, wherever it is scrolled to. scroll: below the header only while the part is not at its top, above the actions only while more of it lies below (DLG-11). Under either choice none is drawn while everything fits. Follows the system's choice; the dividerVisibility prop overrides it. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
252
|
+
"$extensions": {
|
|
253
|
+
"dev.tanrei.vocabulary": {
|
|
254
|
+
"rationale": "One product rules its dialogs' fixed header and actions off from the part that scrolls between them for as long as it scrolls, while another shows each line only once content has passed it; a dialog may be set apart from the sheets beside it, because it is drawn over the page rather than in it.",
|
|
255
|
+
"since": "0.1.0"
|
|
256
|
+
},
|
|
257
|
+
"dev.tanrei.enum": {
|
|
258
|
+
"values": [
|
|
259
|
+
"always",
|
|
260
|
+
"scroll"
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
}
|
|
184
264
|
}
|
|
185
265
|
},
|
|
186
266
|
"actions": {
|
|
187
267
|
"gap": {
|
|
188
268
|
"$type": "dimension",
|
|
189
269
|
"$value": "{tanrei.sys.space.space200}",
|
|
190
|
-
"$description": "Between two actions, in a row or stacked. At sys.target.touch minus the lowest Button (small,
|
|
270
|
+
"$description": "Between two actions, in a row or stacked. At sys.target.touch minus the lowest Button (small, 36 in the default system) or more, every action keeps its whole target in a column, as comp.button-group.standard.gap does."
|
|
191
271
|
},
|
|
192
272
|
"margin-block-start": {
|
|
193
273
|
"$type": "dimension",
|
|
@@ -239,39 +319,19 @@
|
|
|
239
319
|
"motion": {
|
|
240
320
|
"enter-duration": {
|
|
241
321
|
"$type": "duration",
|
|
242
|
-
"$value": "{tanrei.
|
|
322
|
+
"$value": "{tanrei.comp.modal-layer.motion.enter-duration}"
|
|
243
323
|
},
|
|
244
324
|
"enter-easing": {
|
|
245
325
|
"$type": "cubicBezier",
|
|
246
|
-
"$value": "{tanrei.
|
|
247
|
-
},
|
|
248
|
-
"enter-scale": {
|
|
249
|
-
"$type": "number",
|
|
250
|
-
"$value": 0.95,
|
|
251
|
-
"$description": "The size a centred container grows from, as a fraction of its own, while it fades in. 1 fades without growing.",
|
|
252
|
-
"$extensions": {
|
|
253
|
-
"dev.tanrei.derive": {
|
|
254
|
-
"fixed": "A proportion of the dialog's own size; no dial scales it."
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"enter-offset": {
|
|
259
|
-
"$type": "dimension",
|
|
260
|
-
"$value": "{tanrei.sys.space.space400}",
|
|
261
|
-
"$description": "How far below its place a container at the bottom of a compact window starts as it rises in, and sinks as it leaves. 0 fades without moving.",
|
|
262
|
-
"$extensions": {
|
|
263
|
-
"dev.tanrei.vocabulary": {
|
|
264
|
-
"rationale": "One product tunes how far a dialog travels when it comes up from the bottom edge: far enough to say where it came from, short enough not to read as a sheet."
|
|
265
|
-
}
|
|
266
|
-
}
|
|
326
|
+
"$value": "{tanrei.comp.modal-layer.motion.enter-easing}"
|
|
267
327
|
},
|
|
268
328
|
"exit-duration": {
|
|
269
329
|
"$type": "duration",
|
|
270
|
-
"$value": "{tanrei.
|
|
330
|
+
"$value": "{tanrei.comp.modal-layer.motion.exit-duration}"
|
|
271
331
|
},
|
|
272
332
|
"exit-easing": {
|
|
273
333
|
"$type": "cubicBezier",
|
|
274
|
-
"$value": "{tanrei.
|
|
334
|
+
"$value": "{tanrei.comp.modal-layer.motion.exit-easing}"
|
|
275
335
|
}
|
|
276
336
|
}
|
|
277
337
|
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tanrei": {
|
|
3
|
+
"comp": {
|
|
4
|
+
"drop-zone": {
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"dev.tanrei.vocabulary": {
|
|
7
|
+
"rationale": "One product lets files be dropped on a whole working screen — a list of documents, a library of videos, a conversation — and not only on a bounded place inside a form. It shows the same answer wherever such a screen stands: while files are dragged over it, the whole screen is covered and says, in one message, that letting go here adds them.",
|
|
8
|
+
"since": "0.1.0"
|
|
9
|
+
},
|
|
10
|
+
"dev.tanrei.llm": {
|
|
11
|
+
"usage": "Everything a drop zone reads, all of it drawn only while files are dragged over it: the scrim over its content; the edge drawn inside its box (width, and color while it takes the drag and while it refuses it); the panel at the centre of the part of the zone that is in view (fill, elevation, corners, paddings, gap, widest width, and its least distance to the zone's edges); the glyph's size and its colors; the message's text style and color; and the timing of the overlay's fade.",
|
|
12
|
+
"rules": [
|
|
13
|
+
"A drop zone draws nothing at rest and adds no hover, no press, no focus stop and no role: what it wraps is used as if it were not there. It answers a drag of files alone.",
|
|
14
|
+
"Dragging is never the only way to add a file: a page with a drop zone also offers a File picker or a File upload whose Button opens the platform's picker.",
|
|
15
|
+
"The overlay is one layer over the whole zone: scrim, edge and panel. It never takes a press or a scroll, so it never needs to be dismissed.",
|
|
16
|
+
"refusing is drawn only where the platform tells before the drop that nothing dragged can be taken; it is the drag's condition, not an error the product sets.",
|
|
17
|
+
"For a bounded place inside a form that is also pressed to open the picker, use the File picker's drop-area layout instead.",
|
|
18
|
+
"Restyle through these tokens in a layer; never draw a drop overlay by hand."
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"scrim": {
|
|
23
|
+
"color": {
|
|
24
|
+
"$type": "color",
|
|
25
|
+
"$value": "{tanrei.sys.color.scrim}",
|
|
26
|
+
"$description": "The dim over the zone's content while files are dragged over it, alpha included (the scrim role is the overlay as drawn): the content is still there, and not what is pointed at now."
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"outline": {
|
|
30
|
+
"width": {
|
|
31
|
+
"$type": "dimension",
|
|
32
|
+
"$value": "{tanrei.sys.border.thick}",
|
|
33
|
+
"$description": "The edge drawn inside the zone's box while files are dragged over it: the heavier stroke, the mark of what is selected, because the whole zone is the place now chosen."
|
|
34
|
+
},
|
|
35
|
+
"color": {
|
|
36
|
+
"$type": "color",
|
|
37
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
38
|
+
"$description": "That edge while the zone will take what is dragged over it."
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"panel": {
|
|
42
|
+
"container": {
|
|
43
|
+
"color": {
|
|
44
|
+
"$type": "color",
|
|
45
|
+
"$value": "{tanrei.sys.color.surface-container-high}",
|
|
46
|
+
"$description": "The panel that holds the glyph and the message, over the scrim: a raised surface, so that the message is read on its own ground whatever content lies under the scrim."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"elevation": {
|
|
50
|
+
"$type": "shadow",
|
|
51
|
+
"$value": "{tanrei.sys.elevation.level2}",
|
|
52
|
+
"$description": "The panel's lift over the scrim."
|
|
53
|
+
},
|
|
54
|
+
"shape": {
|
|
55
|
+
"$type": "dimension",
|
|
56
|
+
"$value": "{tanrei.sys.shape.corner.large}",
|
|
57
|
+
"$description": "Every corner of the panel: the step of a surface raised over the content, as a dialog's."
|
|
58
|
+
},
|
|
59
|
+
"padding-block": {
|
|
60
|
+
"$type": "dimension",
|
|
61
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
62
|
+
"$description": "The room above the glyph and below the message."
|
|
63
|
+
},
|
|
64
|
+
"padding-inline": {
|
|
65
|
+
"$type": "dimension",
|
|
66
|
+
"$value": "{tanrei.sys.space.space300}",
|
|
67
|
+
"$description": "The room at the panel's start and end."
|
|
68
|
+
},
|
|
69
|
+
"gap": {
|
|
70
|
+
"$type": "dimension",
|
|
71
|
+
"$value": "{tanrei.sys.space.space150}",
|
|
72
|
+
"$description": "The space between the glyph and the message."
|
|
73
|
+
},
|
|
74
|
+
"max-width": {
|
|
75
|
+
"$type": "dimension",
|
|
76
|
+
"$value": {
|
|
77
|
+
"value": 360,
|
|
78
|
+
"unit": "px"
|
|
79
|
+
},
|
|
80
|
+
"$description": "The widest the panel draws; a longer message wraps. A narrower zone gives the panel its own width less panel.margin on each side.",
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"dev.tanrei.derive": {
|
|
83
|
+
"fn": "mul",
|
|
84
|
+
"of": "{tanrei.dial.size.unit}",
|
|
85
|
+
"by": 90
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"margin": {
|
|
90
|
+
"$type": "dimension",
|
|
91
|
+
"$value": "{tanrei.sys.space.space200}",
|
|
92
|
+
"$description": "The least distance between the panel and the zone's edges: the panel never touches the edge, and never leaves the zone."
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"icon": {
|
|
96
|
+
"size": {
|
|
97
|
+
"$type": "dimension",
|
|
98
|
+
"$value": "{tanrei.sys.icon.large}",
|
|
99
|
+
"$description": "The glyph above the message: the largest step of the icon scale, as the File picker's drop area's."
|
|
100
|
+
},
|
|
101
|
+
"color": {
|
|
102
|
+
"$type": "color",
|
|
103
|
+
"$value": "{tanrei.sys.color.primary}",
|
|
104
|
+
"$description": "The glyph while the zone will take what is dragged over it: the color of its edge."
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"label": {
|
|
108
|
+
"typescale": {
|
|
109
|
+
"$type": "typography",
|
|
110
|
+
"$value": "{tanrei.sys.typescale.body-large}",
|
|
111
|
+
"$description": "The message: running text one step larger than the interface's, because it is read at a glance during a drag."
|
|
112
|
+
},
|
|
113
|
+
"color": {
|
|
114
|
+
"$type": "color",
|
|
115
|
+
"$value": "{tanrei.sys.color.on-surface}",
|
|
116
|
+
"$description": "The message on the panel: the surface's text color."
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"refusing": {
|
|
120
|
+
"$description": "The overlay while what is dragged over the zone cannot be taken. The scrim, the panel and the message's color stay as while it takes it.",
|
|
121
|
+
"outline": {
|
|
122
|
+
"color": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "{tanrei.sys.color.error}",
|
|
125
|
+
"$description": "The edge while the zone will not take what is dragged over it: the error role, because letting go here fails."
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"icon": {
|
|
129
|
+
"color": {
|
|
130
|
+
"$type": "color",
|
|
131
|
+
"$value": "{tanrei.sys.color.error}",
|
|
132
|
+
"$description": "The glyph, which becomes the icon set's block glyph, in the same role."
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"motion": {
|
|
137
|
+
"duration": {
|
|
138
|
+
"$type": "duration",
|
|
139
|
+
"$value": "{tanrei.sys.motion.role.state.large}",
|
|
140
|
+
"$description": "How long the overlay takes to fade in when a drag of files enters the zone, and to fade out when it leaves, ends or drops; and how long a change between taking and refusing takes."
|
|
141
|
+
},
|
|
142
|
+
"easing": {
|
|
143
|
+
"$type": "cubicBezier",
|
|
144
|
+
"$value": "{tanrei.sys.motion.easing.state}",
|
|
145
|
+
"$description": "The curve of that fade."
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
"motion": {
|
|
89
89
|
"resize-duration": {
|
|
90
90
|
"$type": "duration",
|
|
91
|
-
"$value": "{tanrei.sys.motion.
|
|
91
|
+
"$value": "{tanrei.sys.motion.role.resize.default}",
|
|
92
92
|
"$description": "How long the height takes to change when the number of lines shown changes (ETI-8)."
|
|
93
93
|
},
|
|
94
94
|
"resize-easing": {
|
|
95
95
|
"$type": "cubicBezier",
|
|
96
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
96
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
97
97
|
"$description": "The curve of that change."
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"$description": "Distance between two members that follow each other down the group, and between two lines of a row that wrapped; per spacing.",
|
|
122
122
|
"controls": {
|
|
123
123
|
"$value": "{tanrei.sys.space.space100}",
|
|
124
|
-
"$description": "Between two selection controls: with their 40 containers it puts their marks 48 apart, so that each keeps a whole touch target of its own."
|
|
124
|
+
"$description": "Between two selection controls: with their 40 containers it puts their marks 48 apart, so that each keeps a whole touch target of its own, up to 48."
|
|
125
125
|
},
|
|
126
126
|
"fields": {
|
|
127
127
|
"$value": "{tanrei.sys.space.space300}",
|
|
@@ -133,6 +133,26 @@
|
|
|
133
133
|
"$value": "{tanrei.sys.space.space200}",
|
|
134
134
|
"$description": "Distance between two members that stand side by side in a horizontal group: from the end of one control's label to the next control, wide enough that a label is read with its own mark and not with the next one; and between two fields in one row (a city and its postal code)."
|
|
135
135
|
},
|
|
136
|
+
"field": {
|
|
137
|
+
"min-width": {
|
|
138
|
+
"$type": "dimension",
|
|
139
|
+
"$value": {
|
|
140
|
+
"value": 144,
|
|
141
|
+
"unit": "px"
|
|
142
|
+
},
|
|
143
|
+
"$description": "The least width of a field in a horizontal row of fields (FGR-13): the fields share the row equally and never less than this, and a field that would be narrower moves, with those after it, to the next line. A field whose content needs more keeps what its content needs.",
|
|
144
|
+
"$extensions": {
|
|
145
|
+
"dev.tanrei.vocabulary": {
|
|
146
|
+
"rationale": "One product sets fields side by side — a first and a last name, a postcode and a city — in a form that is shown in a wide page, in a side panel and on a phone, and needs them to go from one row to a column at a width it can set once, rather than narrowing until what is typed in them is cut."
|
|
147
|
+
},
|
|
148
|
+
"dev.tanrei.derive": {
|
|
149
|
+
"fn": "mul",
|
|
150
|
+
"of": "{tanrei.dial.size.unit}",
|
|
151
|
+
"by": 36
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
136
156
|
"standard": {
|
|
137
157
|
"label": {
|
|
138
158
|
"color": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dev.tanrei.llm": {
|
|
41
|
-
"usage": "Everything the frame around one control reads: the label's text style and its distance from the control; the label glyph's size and gap; the requirement tag's distance from the label, the asterisk's gap, and which mark a required control gets where the field does not say; the value text's text style and its least distance from the label; the supporting row's text style and its distance from the control, the distance between the help and the error text in it, and the least distance between its texts and a count at its end; the duration and curve of a change of state; and the colors of the label, the label glyph, the supporting text, the error text, the count, the value text and the asterisk, plain and under the error condition (error.), at rest, while focus is inside the field and while it is disabled.",
|
|
41
|
+
"usage": "Everything the frame around one control reads: the label's text style and its distance from the control; the label glyph's size and gap; the requirement tag's distance from the label, the asterisk's gap, and which mark a required control gets where the field does not say; the value text's text style and its least distance from the label; the supporting row's text style and its distance from the control, the distance between the help and the error text in it, and the least distance between its texts and a count at its end; the duration and curve of a change of state, and of the change of height in which an error text comes or goes; and the colors of the label, the label glyph, the supporting text, the error text, the count, the value text and the asterisk, plain and under the error condition (error.), at rest, while focus is inside the field and while it is disabled.",
|
|
42
42
|
"rules": [
|
|
43
43
|
"A field frames exactly one control that has no label row, help or error of its own: a slider, a switch, a text input, a control the product built. A text field is this field around a text input: style its rows here, and never put a text field inside a field. A number field is this field around a number input, a color field around a color input, a select field around a select, a combobox field around a combobox. No component draws this frame from tokens of its own.",
|
|
44
44
|
"These tokens are the frame of every field: a design system styles the label row and the supporting row once, here. One field is set apart by setting a token on that element — on the web a custom property on it, elsewhere a theme around that one view.",
|
|
@@ -132,13 +132,23 @@
|
|
|
132
132
|
"motion": {
|
|
133
133
|
"state-duration": {
|
|
134
134
|
"$type": "duration",
|
|
135
|
-
"$value": "{tanrei.sys.motion.
|
|
135
|
+
"$value": "{tanrei.sys.motion.role.state.default}",
|
|
136
136
|
"$description": "How long a change of the frame's colors takes when focus enters or leaves, or the error or disabled condition changes: the text field's state duration."
|
|
137
137
|
},
|
|
138
138
|
"state-easing": {
|
|
139
139
|
"$type": "cubicBezier",
|
|
140
|
-
"$value": "{tanrei.sys.motion.easing.
|
|
140
|
+
"$value": "{tanrei.sys.motion.easing.state}",
|
|
141
141
|
"$description": "The curve of that change."
|
|
142
|
+
},
|
|
143
|
+
"resize-duration": {
|
|
144
|
+
"$type": "duration",
|
|
145
|
+
"$value": "{tanrei.sys.motion.role.resize.default}",
|
|
146
|
+
"$description": "How long the field takes to reach its new height when its error text appears, goes or changes its words and the supporting row grows or shrinks with it: a box that changes its size in place. The error text that comes fades in over the state duration meanwhile."
|
|
147
|
+
},
|
|
148
|
+
"resize-easing": {
|
|
149
|
+
"$type": "cubicBezier",
|
|
150
|
+
"$value": "{tanrei.sys.motion.easing.spatial}",
|
|
151
|
+
"$description": "The curve of that change of height: a box that resizes in place."
|
|
142
152
|
}
|
|
143
153
|
},
|
|
144
154
|
"standard": {
|
|
@@ -265,12 +275,31 @@
|
|
|
265
275
|
"gap": {
|
|
266
276
|
"$type": "dimension",
|
|
267
277
|
"$value": "{tanrei.sys.space.space50}",
|
|
268
|
-
"$description": "Distance between the help's last line and the error text below it, while the field shows both: the frame's distance between two rows of small text, the one a field group keeps between its label and its description. A field without help has its error text supporting-text.gap below the control, and this token is not read.",
|
|
278
|
+
"$description": "Distance between the help's last line and the error text below it, while the field shows both — under error-text.placement append: the frame's distance between two rows of small text, the one a field group keeps between its label and its description. A field without help, and every field under replace, has its error text supporting-text.gap below the control, and this token is not read.",
|
|
269
279
|
"$extensions": {
|
|
270
280
|
"dev.tanrei.vocabulary": {
|
|
271
281
|
"rationale": "One product shows the reason an answer was refused under the help that says how to answer; the two are separate sentences and need a distance of their own, which a product that sets its help close under the control may still want wider, so that a wrapped help and a wrapped error do not read as one paragraph."
|
|
272
282
|
}
|
|
273
283
|
}
|
|
284
|
+
},
|
|
285
|
+
"placement": {
|
|
286
|
+
"$type": "number",
|
|
287
|
+
"$value": 0,
|
|
288
|
+
"$description": "Where the error text stands while the field is in error and has words for it (FLD-7, FLD-31). replace: in the help's place — the help is not drawn, and the error text is the supporting row's first line, supporting-text.gap below the control. append: below the help, which stays, error-text.gap from its last line. A field without help draws its error text in the same place under both. The value is an index into dev.tanrei.enum.values; platforms receive the name.",
|
|
289
|
+
"$extensions": {
|
|
290
|
+
"dev.tanrei.vocabulary": {
|
|
291
|
+
"rationale": "One product decides once, for every field of its forms, whether the reason an answer was refused takes the place of the help or is added below it: the first keeps a form in error no taller than at rest and gives the eye one line to read, the second keeps the help that says how to answer in view while the person corrects it. Both are in wide use and a product picks one."
|
|
292
|
+
},
|
|
293
|
+
"dev.tanrei.enum": {
|
|
294
|
+
"values": [
|
|
295
|
+
"replace",
|
|
296
|
+
"append"
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
"dev.tanrei.derive": {
|
|
300
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
301
|
+
}
|
|
302
|
+
}
|
|
274
303
|
}
|
|
275
304
|
}
|
|
276
305
|
}
|