mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
Add the zero-dependency ui-tokens crate to export generated theme tokens, icon definitions, and bundled font bytes without cross-tree include_bytes! paths. Add the domain-neutral ui-kit crate with logical geometry helpers, SafeArea, VirtualList, SwipeDialog, and SwipeMenu state machines backed by scheduler time and four-rate replay invariance tests. Extract blocksuite-editor from playground with the WorkspaceDocDirectory host port, exact substring UTF-16 highlight matching, and LTR/RTL logical start/end block flow layout. Slim playground to the demo and harness host. Update workspace manifests, static invariant guards, CI workflows, and AGENTS.md files.
21 lines
339 B
TOML
21 lines
339 B
TOML
[package]
|
|
name = "ui-kit"
|
|
workspace = "../../frontend"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
harness = ["ui/harness"]
|
|
|
|
[dependencies]
|
|
ui = { path = "../ui" }
|
|
|
|
[dev-dependencies]
|
|
ui = { path = "../ui", features = ["harness"] }
|