@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://tanrei.chnotchy.com/schemas/system.schema.json",
|
|
4
4
|
"title": "Tanrei design system layer",
|
|
5
|
-
"description": "A design system expressed as a layer over Tanrei's vocabulary. A layer changes values — dials, palettes, per-token rules — and adds tokens only through its `vocabulary`, additively and with a rationale.
|
|
5
|
+
"description": "A design system expressed as a layer over Tanrei's vocabulary. A layer changes values — dials, palettes, per-token rules — and adds tokens only through its `vocabulary`, additively and with a rationale. Every system descends from the root layer `core`: the default system `tanrei` and the presets extend it, and a product extends one of them.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"required": [
|
|
@@ -26,35 +26,109 @@
|
|
|
26
26
|
"extends": {
|
|
27
27
|
"type": "string",
|
|
28
28
|
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
|
29
|
-
"description": "Id of the parent layer — an id, never a path. Only the root layer `
|
|
29
|
+
"description": "Id of the parent layer — an id, never a path. Only the root layer `core` omits it."
|
|
30
30
|
},
|
|
31
31
|
"specVersion": {
|
|
32
32
|
"type": "string",
|
|
33
33
|
"description": "Version of the role table. Bump when role rules change meaningfully."
|
|
34
34
|
},
|
|
35
|
-
"
|
|
35
|
+
"components": {
|
|
36
36
|
"type": "object",
|
|
37
37
|
"additionalProperties": false,
|
|
38
|
-
"description": "
|
|
38
|
+
"description": "Which components, and which values of a component's `variant` prop, this system ships. A layer starts from what its parent ships and changes it: `omit` leaves components out, `include` brings back ones an ancestor left out or takes one that lives in another layer from that layer, `variants` does the same for the values of a component's `variant` prop. What an ancestor left out stays out unless a layer includes it again. The root layer leaves nothing out.",
|
|
39
39
|
"properties": {
|
|
40
|
-
"
|
|
40
|
+
"omit": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"description": "component name (specs/inventory.json) → why this system leaves it out, and what it uses instead.",
|
|
43
|
+
"propertyNames": {
|
|
44
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
|
|
45
|
+
},
|
|
46
|
+
"additionalProperties": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"required": [
|
|
50
|
+
"reason"
|
|
51
|
+
],
|
|
52
|
+
"properties": {
|
|
53
|
+
"reason": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 8,
|
|
56
|
+
"description": "Why this system does not ship the component."
|
|
57
|
+
},
|
|
58
|
+
"insteadUse": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"uniqueItems": true,
|
|
61
|
+
"minItems": 1,
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
|
|
65
|
+
},
|
|
66
|
+
"description": "The components this system ships for the same job, in order of preference."
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"include": {
|
|
41
72
|
"type": "array",
|
|
42
73
|
"uniqueItems": true,
|
|
43
74
|
"items": {
|
|
44
|
-
"
|
|
45
|
-
|
|
75
|
+
"oneOf": [
|
|
76
|
+
{
|
|
77
|
+
"type": "string",
|
|
78
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
|
79
|
+
"description": "A component an ancestor left out, brought back."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "object",
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"required": [
|
|
85
|
+
"name",
|
|
86
|
+
"from"
|
|
87
|
+
],
|
|
88
|
+
"description": "A component that lives in a layer this system does not extend, taken with its whole vocabulary from that layer. Its tokens are valued with this system's own: its aliases resolve against this system's tokens, and none of the holding layer's values come along.",
|
|
89
|
+
"properties": {
|
|
90
|
+
"name": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
|
|
93
|
+
},
|
|
94
|
+
"from": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
|
97
|
+
"description": "The id of the layer the component lives in."
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
46
102
|
},
|
|
47
|
-
"description": "
|
|
103
|
+
"description": "Components this system ships that its parent does not: one an ancestor left out (by its name), or one that lives in a layer this system does not extend (`{ name, from }`)."
|
|
48
104
|
},
|
|
49
105
|
"variants": {
|
|
50
106
|
"type": "object",
|
|
51
|
-
"description": "component name → the values of its `variant` prop this system
|
|
107
|
+
"description": "component name → the values of its `variant` prop this system leaves out (`omit`) or brings back (`include`). The default value and at least one other stay.",
|
|
108
|
+
"propertyNames": {
|
|
109
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
|
|
110
|
+
},
|
|
52
111
|
"additionalProperties": {
|
|
53
|
-
"type": "
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
112
|
+
"type": "object",
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"minProperties": 1,
|
|
115
|
+
"properties": {
|
|
116
|
+
"omit": {
|
|
117
|
+
"type": "array",
|
|
118
|
+
"uniqueItems": true,
|
|
119
|
+
"minItems": 1,
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"include": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"uniqueItems": true,
|
|
127
|
+
"minItems": 1,
|
|
128
|
+
"items": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
58
132
|
}
|
|
59
133
|
}
|
|
60
134
|
}
|
|
@@ -206,29 +280,12 @@
|
|
|
206
280
|
"type": "array",
|
|
207
281
|
"description": "Pattern rules for per-state component tokens. `*` matches one id segment and is available as $1, $2… in the operation. An explicit entry in `tokens` beats a pattern; among patterns, fewer wildcards win, then the later layer.",
|
|
208
282
|
"items": {
|
|
209
|
-
"
|
|
210
|
-
"required": [
|
|
211
|
-
"match"
|
|
212
|
-
],
|
|
213
|
-
"properties": {
|
|
214
|
-
"match": {
|
|
215
|
-
"type": "string",
|
|
216
|
-
"pattern": "^tanrei\\.comp\\.[a-z0-9.*-]+$"
|
|
217
|
-
},
|
|
218
|
-
"$value": {},
|
|
219
|
-
"reason": {
|
|
220
|
-
"type": "string"
|
|
221
|
-
},
|
|
222
|
-
"derive": {
|
|
223
|
-
"$ref": "#/$defs/rule"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"additionalProperties": false
|
|
283
|
+
"$ref": "#/$defs/stateRule"
|
|
227
284
|
}
|
|
228
285
|
},
|
|
229
286
|
"vocabulary": {
|
|
230
287
|
"type": "object",
|
|
231
|
-
"description": "Extensions of the vocabulary declared by this layer. `vocabulary` says that something exists; `tokens` and `rules` give it a value. Additive only: an id that core or an ancestor layer already declares cannot be declared again.
|
|
288
|
+
"description": "Extensions of the vocabulary declared by this layer. `vocabulary` says that something exists; `tokens` and `rules` give it a value. Additive only: an id that core or an ancestor layer already declares cannot be declared again. Four kinds, told apart by shape: a token (`$type`) inside Tanrei's tree — a step in a series; an axis value (`from`) keyed `tanrei.comp.<component>.<axis>.<value>` — or, in a sys series whose steps are groups of tokens, a whole step cloned with `from` (a named spring set, `tanrei.sys.motion.spring.<scheme>.<name>`); a token in this layer's own namespace (`<layer id>.(sys|comp).…`); and the whole vocabulary of a component that lives in this layer (`document`), keyed `tanrei.comp.<component>`.",
|
|
232
289
|
"propertyNames": {
|
|
233
290
|
"pattern": "^[a-z][a-z0-9-]*\\.(sys|comp)\\.[a-z0-9][a-z0-9.-]*$"
|
|
234
291
|
},
|
|
@@ -239,6 +296,9 @@
|
|
|
239
296
|
},
|
|
240
297
|
{
|
|
241
298
|
"$ref": "#/$defs/declaredAxisValue"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"$ref": "#/$defs/declaredComponent"
|
|
242
302
|
}
|
|
243
303
|
]
|
|
244
304
|
}
|
|
@@ -375,14 +435,18 @@
|
|
|
375
435
|
},
|
|
376
436
|
"rule": {
|
|
377
437
|
"type": "object",
|
|
378
|
-
"description": "One rule of the closed, declarative rule language: mul, scale, clamp, em (numeric — packages/token-engine/src/rules.js) and tone, alpha, mix, contrast-pick (color — palette.js for color roles, states.js for per-state component tokens). `{ \"fixed\": \"<reason>\" }` keeps a literal. On a typography token the rule is a map of field → rule (fontSize, letterSpacing). No
|
|
438
|
+
"description": "One rule of the closed, declarative rule language: mul, add, scale, clamp, sub, pad, em, pick (numeric — packages/token-engine/src/rules.js) and tone, alpha, mix, contrast-pick (color — palette.js for color roles, states.js for per-state component tokens). `pick` is a value set by a choice of kind: `{ \"fn\": \"pick\", \"by\": \"{<choice>}\", \"values\": { \"<name>\": <value or alias>, … } }` gives one value per name of the choice, and the token takes the one the chain's choice names. `mul` is `{ \"fn\": \"mul\", \"of\": \"{<id>}\", \"by\": <n>, \"exp\"?: …, \"times\"?: \"{<number>}\", \"round\"?: \"{<step>}\", \"min\"?: \"{<floor>}\" }`: max(min, of × by^exp × times rounded to the nearest multiple of round, ties upward) — a height that follows a density, on a grid, never below a minimum. `add` is `{ \"fn\": \"add\", \"of\": \"{<id>}\", \"by\": \"{<unit>}\", \"times\"?: <n>, \"min\"?: \"{<floor>}\" }`: max(min, of + by × times) — a step a whole number of units from another value (times absent: 1), so a ladder keeps its distances whatever its default. `pad` is `{ \"fn\": \"pad\", \"of\": \"{<padding>}\", \"height\": \"{<height>}\", \"by\"?: <n> }`: max(0, of × by + (height − height₁) / 2), where height₁ is the height with every `times` read as 1 and no `min` — a block padding that gives up or takes half of what its box's height lost or gained. `{ \"fixed\": \"<reason>\" }` keeps a literal. `sub` is `{ \"fn\": \"sub\", \"of\": \"{<outer>}\", \"by\": \"{<inset>}\" }`: of − by, never below zero — a corner inside another at an inset. On a typography token the rule is a map of field → rule (fontSize, letterSpacing). No other arithmetic, conditionals, strings or functions of your own.",
|
|
379
439
|
"properties": {
|
|
380
440
|
"fn": {
|
|
381
441
|
"enum": [
|
|
382
442
|
"mul",
|
|
443
|
+
"add",
|
|
383
444
|
"scale",
|
|
384
445
|
"clamp",
|
|
446
|
+
"sub",
|
|
447
|
+
"pad",
|
|
385
448
|
"em",
|
|
449
|
+
"pick",
|
|
386
450
|
"tone",
|
|
387
451
|
"alpha",
|
|
388
452
|
"mix",
|
|
@@ -391,6 +455,36 @@
|
|
|
391
455
|
}
|
|
392
456
|
},
|
|
393
457
|
"allOf": [
|
|
458
|
+
{
|
|
459
|
+
"if": {
|
|
460
|
+
"required": [
|
|
461
|
+
"fn"
|
|
462
|
+
],
|
|
463
|
+
"properties": {
|
|
464
|
+
"fn": {
|
|
465
|
+
"const": "pick"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"then": {
|
|
470
|
+
"required": [
|
|
471
|
+
"by",
|
|
472
|
+
"values"
|
|
473
|
+
],
|
|
474
|
+
"properties": {
|
|
475
|
+
"by": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
478
|
+
"description": "The choice of kind the value follows (a `number` token with `dev.tanrei.enum`), as an alias."
|
|
479
|
+
},
|
|
480
|
+
"values": {
|
|
481
|
+
"type": "object",
|
|
482
|
+
"minProperties": 1,
|
|
483
|
+
"description": "One value per name of the choice: a literal of the token's type, or an alias. The build refuses a name that is missing and one the choice does not have."
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
394
488
|
{
|
|
395
489
|
"if": {
|
|
396
490
|
"required": [
|
|
@@ -506,7 +600,62 @@
|
|
|
506
600
|
"required": [
|
|
507
601
|
"of",
|
|
508
602
|
"by"
|
|
509
|
-
]
|
|
603
|
+
],
|
|
604
|
+
"properties": {
|
|
605
|
+
"times": {
|
|
606
|
+
"type": "string",
|
|
607
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
608
|
+
"description": "A number token the product is multiplied by (a density). Absent: 1."
|
|
609
|
+
},
|
|
610
|
+
"round": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
613
|
+
"description": "A token in the unit of `of`: the result is rounded to its nearest multiple, ties upward (CSS `round(nearest, …)`). Absent: 0.25px, 1ms."
|
|
614
|
+
},
|
|
615
|
+
"min": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
618
|
+
"description": "A token in the unit of `of`: the least the result may be, applied after rounding, so a floor off the grid gives exactly the floor."
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"if": {
|
|
625
|
+
"required": [
|
|
626
|
+
"fn"
|
|
627
|
+
],
|
|
628
|
+
"properties": {
|
|
629
|
+
"fn": {
|
|
630
|
+
"const": "add"
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
"then": {
|
|
635
|
+
"required": [
|
|
636
|
+
"of",
|
|
637
|
+
"by"
|
|
638
|
+
],
|
|
639
|
+
"properties": {
|
|
640
|
+
"of": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"pattern": "^\\{[^{}]+\\}$"
|
|
643
|
+
},
|
|
644
|
+
"by": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
647
|
+
"description": "A token in the unit of `of`: the unit a whole number of which is added."
|
|
648
|
+
},
|
|
649
|
+
"times": {
|
|
650
|
+
"type": "number",
|
|
651
|
+
"description": "How many of `by` are added; below zero they are taken away. Absent: 1."
|
|
652
|
+
},
|
|
653
|
+
"min": {
|
|
654
|
+
"type": "string",
|
|
655
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
656
|
+
"description": "A token in the unit of `of`: the least the result may be."
|
|
657
|
+
}
|
|
658
|
+
}
|
|
510
659
|
}
|
|
511
660
|
},
|
|
512
661
|
{
|
|
@@ -563,8 +712,148 @@
|
|
|
563
712
|
"by"
|
|
564
713
|
]
|
|
565
714
|
}
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"if": {
|
|
718
|
+
"required": [
|
|
719
|
+
"fn"
|
|
720
|
+
],
|
|
721
|
+
"properties": {
|
|
722
|
+
"fn": {
|
|
723
|
+
"const": "sub"
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"then": {
|
|
728
|
+
"required": [
|
|
729
|
+
"of",
|
|
730
|
+
"by"
|
|
731
|
+
],
|
|
732
|
+
"properties": {
|
|
733
|
+
"of": {
|
|
734
|
+
"type": "string",
|
|
735
|
+
"pattern": "^\\{[^{}]+\\}$"
|
|
736
|
+
},
|
|
737
|
+
"by": {
|
|
738
|
+
"type": "string",
|
|
739
|
+
"pattern": "^\\{[^{}]+\\}$"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"if": {
|
|
746
|
+
"required": [
|
|
747
|
+
"fn"
|
|
748
|
+
],
|
|
749
|
+
"properties": {
|
|
750
|
+
"fn": {
|
|
751
|
+
"const": "pad"
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"then": {
|
|
756
|
+
"required": [
|
|
757
|
+
"of",
|
|
758
|
+
"height"
|
|
759
|
+
],
|
|
760
|
+
"properties": {
|
|
761
|
+
"of": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
764
|
+
"description": "The padding the box has where its height has not moved."
|
|
765
|
+
},
|
|
766
|
+
"height": {
|
|
767
|
+
"type": "string",
|
|
768
|
+
"pattern": "^\\{[^{}]+\\}$",
|
|
769
|
+
"description": "The height of the box the padding is in, in the unit of `of`."
|
|
770
|
+
},
|
|
771
|
+
"by": {
|
|
772
|
+
"type": "number",
|
|
773
|
+
"minimum": 0,
|
|
774
|
+
"description": "A coefficient on `of` (absent: 1): what a layer's `scale` multiplies, so a scaled padding still follows its box's height."
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
566
778
|
}
|
|
567
779
|
]
|
|
780
|
+
},
|
|
781
|
+
"stateRule": {
|
|
782
|
+
"type": "object",
|
|
783
|
+
"required": [
|
|
784
|
+
"match"
|
|
785
|
+
],
|
|
786
|
+
"properties": {
|
|
787
|
+
"match": {
|
|
788
|
+
"type": "string",
|
|
789
|
+
"pattern": "^tanrei\\.comp\\.[a-z0-9.*-]+$"
|
|
790
|
+
},
|
|
791
|
+
"$value": {},
|
|
792
|
+
"reason": {
|
|
793
|
+
"type": "string"
|
|
794
|
+
},
|
|
795
|
+
"derive": {
|
|
796
|
+
"$ref": "#/$defs/rule"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"additionalProperties": false
|
|
800
|
+
},
|
|
801
|
+
"declaredComponent": {
|
|
802
|
+
"type": "object",
|
|
803
|
+
"additionalProperties": false,
|
|
804
|
+
"required": [
|
|
805
|
+
"document",
|
|
806
|
+
"rationale"
|
|
807
|
+
],
|
|
808
|
+
"description": "The whole vocabulary of a component that lives in this layer: every system that ships the component descends from this layer. Its document is kept next to the layer (`tokens/systems/<layer id>/comp/<component>.tokens.json`) and holds the component's group as the core's component documents do; its tokens keep the core namespace, so the names a product, a stylesheet and the native types use do not change. Every system that descends from this layer has the component; another system has it only when one of its layers includes it from here (`components.include: [{ \"name\": \"<component>\", \"from\": \"<this layer>\" }]`), its aliases then resolving against that system's own tokens. The component's spec says `\"layer\": \"<this layer>\"`.",
|
|
809
|
+
"properties": {
|
|
810
|
+
"document": {
|
|
811
|
+
"type": "string",
|
|
812
|
+
"pattern": "^comp/[a-z][a-z0-9]*(-[a-z0-9]+)*\\.tokens\\.json$",
|
|
813
|
+
"description": "`comp/<component>.tokens.json`, relative to tokens/systems/<layer id>/."
|
|
814
|
+
},
|
|
815
|
+
"rationale": {
|
|
816
|
+
"type": "string",
|
|
817
|
+
"minLength": 8,
|
|
818
|
+
"description": "Why the component lives in this layer and not in the core: the one-product test it passes here and fails there."
|
|
819
|
+
},
|
|
820
|
+
"outside": {
|
|
821
|
+
"type": "object",
|
|
822
|
+
"additionalProperties": false,
|
|
823
|
+
"required": [
|
|
824
|
+
"reason",
|
|
825
|
+
"insteadUse"
|
|
826
|
+
],
|
|
827
|
+
"description": "What a system that does not have the component uses for its job: every shipped system's and product's components manifest lists the component under `omitted`, with the layer it lives in (`providedBy`), this `reason`, and those of `insteadUse` that the system ships.",
|
|
828
|
+
"properties": {
|
|
829
|
+
"reason": {
|
|
830
|
+
"type": "string",
|
|
831
|
+
"minLength": 8,
|
|
832
|
+
"description": "Why a system outside this layer does without the component, and how the components it names do its job."
|
|
833
|
+
},
|
|
834
|
+
"insteadUse": {
|
|
835
|
+
"type": "array",
|
|
836
|
+
"uniqueItems": true,
|
|
837
|
+
"minItems": 1,
|
|
838
|
+
"items": {
|
|
839
|
+
"type": "string",
|
|
840
|
+
"pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
|
|
841
|
+
},
|
|
842
|
+
"description": "The components (specs/inventory.json) a system without this one ships for the same job, in order of preference. Each shipped system that does not have the component ships every one of them."
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"rules": {
|
|
847
|
+
"type": "array",
|
|
848
|
+
"items": {
|
|
849
|
+
"$ref": "#/$defs/stateRule"
|
|
850
|
+
},
|
|
851
|
+
"description": "The rules that value the component's own states, written as a layer's `rules` are, each matching only this component's tokens. They come with the vocabulary into every system that has the component, before the rules of the layer that brings it."
|
|
852
|
+
},
|
|
853
|
+
"$description": {
|
|
854
|
+
"type": "string"
|
|
855
|
+
}
|
|
856
|
+
}
|
|
568
857
|
}
|
|
569
858
|
}
|
|
570
859
|
}
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
"separation is read through a component token of the same name (comp.<component>.….separation), which aliases it: set the sys token to change every component at once, a component token to set one component apart, and the component's separation prop to set one instance apart.",
|
|
19
19
|
"link-underline is read through a component token (comp.link.underline.visibility, comp.breadcrumbs.underline.visibility), which aliases it: set the sys token to change every text link at once, a component token to set one component apart, and the underline prop to set one link or one trail apart.",
|
|
20
20
|
"Set link-underline to hover or never only in a system whose link color stands 3:1 apart from its text color in every scheme; the build checks it. Where the link color is the text color, or near it, the underline is the only thing that says \"link\".",
|
|
21
|
-
"requirement-mark is read through a component token (comp.field.requirement.mark, comp.field-group.requirement.mark), which aliases it: set the sys token to change every form at once, a component token to mark single fields and sets of controls differently, and the requiredMark prop to set one field or one set apart. Under asterisk say once, near the top of a form, what the asterisk means; only tag says it in words."
|
|
21
|
+
"requirement-mark is read through a component token (comp.field.requirement.mark, comp.field-group.requirement.mark), which aliases it: set the sys token to change every form at once, a component token to mark single fields and sets of controls differently, and the requiredMark prop to set one field or one set apart. Under asterisk say once, near the top of a form, what the asterisk means; only tag says it in words.",
|
|
22
|
+
"divider-visibility is read through a component token (comp.app-bar.outline.visibility, comp.dialog.divider.visibility, comp.popover.divider.visibility, comp.side-sheet.divider.visibility), which aliases it: set the sys token to change every fixed edge at once, a component token to set one component apart, and the component's dividerVisibility prop to set one instance apart. It concerns only the lines that part a region that stays in place from content that scrolls; a line that says there is more to scroll to (a table's sides, a pinned row's edge) follows the scroll under every choice.",
|
|
23
|
+
"scroll-edge is read through a component token (comp.scroll-area.scroll-edge), which aliases it: set the sys token to change every scroll edge at once, a component token to set one component apart, and the component's scrollEdge prop to set one instance apart. divider-visibility says when the line of a region that stays in place stands; scroll-edge says what marks the edge of a box that scrolls while content lies beyond it. shadow is drawn in the color of the surface the box stands on, so it suits an opaque surface; choose fade where what lies behind the content is transparent, a picture or a video.",
|
|
24
|
+
"appearance sets sys.motion.appear.* — the opacity, scale, distance and blur a surface starts from as it appears. A component reads those values, and the choice's name only to tell unfold, which scales along the one axis that leaves the anchor, from the others, which scale on both axes. A layer that pins one of the values keeps it whatever the choice."
|
|
22
25
|
]
|
|
23
26
|
}
|
|
24
27
|
},
|
|
@@ -112,6 +115,68 @@
|
|
|
112
115
|
"fixed": "A choice of kind; no dial scales it."
|
|
113
116
|
}
|
|
114
117
|
}
|
|
118
|
+
},
|
|
119
|
+
"divider-visibility": {
|
|
120
|
+
"$value": 0,
|
|
121
|
+
"$description": "When the line that parts a part that stays in place from content that scrolls under or beside it is drawn: an app bar's bottom edge, the dividers below a dialog's or a popover's header and above its actions, the divider below a side sheet's header. always: whenever the two parts meet — at rest as well as while content is scrolled — so that the edge of a fixed region stands still. scroll: only while content lies beyond that edge (scrolled under the header, or more of it below the actions), so that the line itself says the content has moved. Read by the app bar, the dialog, the popover and the side sheet, each through its own component token so that a design system can set one apart; an instance can set its own. A line that says there is more to scroll to, inside a box that scrolls, is not this choice and always follows the scroll.",
|
|
122
|
+
"$extensions": {
|
|
123
|
+
"dev.tanrei.vocabulary": {
|
|
124
|
+
"rationale": "One product draws the edges of its fixed regions in one manner: a product whose header, sheets and dialogs are ruled off from their content keeps those lines standing whether or not anything has scrolled, and a product whose bars lie flat on the page until content passes under them shows each line only then. Without one choice a page's header keeps its line while the dialog over it shows its own only on scroll, and the two read as two products.",
|
|
125
|
+
"since": "0.1.0"
|
|
126
|
+
},
|
|
127
|
+
"dev.tanrei.enum": {
|
|
128
|
+
"values": [
|
|
129
|
+
"always",
|
|
130
|
+
"scroll"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"dev.tanrei.derive": {
|
|
134
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"scroll-edge": {
|
|
139
|
+
"$value": 0,
|
|
140
|
+
"$description": "What marks an edge of a box that scrolls while content lies beyond it, scrolled out of view past that edge. shadow: a band sys.scroll-edge.extent deep in the color of the surface the box stands on, full at the edge and none at the band's inner end, so that the content sinks into the surface. fade: the content itself fades out over the same depth toward the edge, so that whatever lies behind it — a transparent surface, a picture, a video — shows through. line: a hairline along the edge. blur: the content blurred in a band sys.scroll-edge.blur.extent deep, most at the edge. A platform that cannot blur what lies behind draws shadow, the first value; with a person's own forced colors every choice is drawn as the line. Read by the scroll area through its own component token, so that a design system can set it apart; an instance can set its own.",
|
|
141
|
+
"$extensions": {
|
|
142
|
+
"dev.tanrei.vocabulary": {
|
|
143
|
+
"rationale": "One product marks, in one manner, that more of its content lies beyond the edge of a box that scrolls: a list that sinks into its surface at the top and a column of cards beside it ruled off by a line read as two products. The manner is a choice of kind — a band in the surface's color, a fade of the content, a line, a blur — and no amount reaches from one to another, so a product picks it once, for its lists, its forms and its panes alike.",
|
|
144
|
+
"since": "0.1.0"
|
|
145
|
+
},
|
|
146
|
+
"dev.tanrei.enum": {
|
|
147
|
+
"values": [
|
|
148
|
+
"shadow",
|
|
149
|
+
"fade",
|
|
150
|
+
"line",
|
|
151
|
+
"blur"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"dev.tanrei.derive": {
|
|
155
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"appearance": {
|
|
160
|
+
"$value": 0,
|
|
161
|
+
"$description": "How a surface appears and leaves: a menu, a select's or a combobox's list, a popover, a tooltip, a dialog, a snackbar. fade-scale: it fades in and grows from 0.96 of its size toward its origin. fade: it only fades in. fade-slide: it fades in and travels a short way into place (sys.space.space100). blur-slide: it fades in, travels the same way and comes into focus from a 4 px blur. unfold: it fades in and unfolds from its anchored edge, scaled from 0 along the axis that leaves the anchor. The choice sets sys.motion.appear.*; a layer that pins one of those keeps it whatever the choice. A surface that leaves runs its appearance back. A sheet slides in from its edge under every choice.",
|
|
162
|
+
"$extensions": {
|
|
163
|
+
"dev.tanrei.vocabulary": {
|
|
164
|
+
"rationale": "One product makes its surfaces appear in one manner: a quiet business tool that only fades, a product whose menus and dialogs grow a little into place, one whose surfaces travel or come into focus, one whose menus unfold from the control that opened them. The manner is a kind, not an amount — a surface that unfolds from its edge is not one that grows a little from its centre — and without one choice it is restated in every surface and drifts between a menu and a dialog.",
|
|
165
|
+
"since": "0.1.0"
|
|
166
|
+
},
|
|
167
|
+
"dev.tanrei.enum": {
|
|
168
|
+
"values": [
|
|
169
|
+
"fade-scale",
|
|
170
|
+
"fade",
|
|
171
|
+
"fade-slide",
|
|
172
|
+
"blur-slide",
|
|
173
|
+
"unfold"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"dev.tanrei.derive": {
|
|
177
|
+
"fixed": "A choice of kind; no dial scales it."
|
|
178
|
+
}
|
|
179
|
+
}
|
|
115
180
|
}
|
|
116
181
|
}
|
|
117
182
|
}
|