05f2e54ed1
- Graph: nodes are draggable via pointer events. Snap back with spring transition on release (cubic-bezier 0.34,1.56,0.64,1) - Removed hover bounce animation (was distracting) - Page controls (minimize/close): now fixed position in viewport (top-right, z-index 100), not inside the deck-page scroll area. Created once in sync_page_controls() on show/hide deck. Controls detect active page when data-minimize/close-page is empty. - Hash routing → history.pushState: URLs are /estudio/aire etc. popstate listener handles back/forward. Initial path read on boot. - Added PointerEvent feature to gioser-graph-web Cargo.toml - Added History feature to gioser-web Cargo.toml
45 lines
1023 B
TOML
45 lines
1023 B
TOML
[package]
|
|
name = "gioser-web"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
gioser-canvas-web = { path = "../../modules/gioser/gioser-canvas-web" }
|
|
fana-md-reader-web = { path = "../../modules/fana/fana-md-reader-web" }
|
|
revista-web = { path = "../../modules/revista/revista-web" }
|
|
barra-web = { path = "../../modules/barra/barra-web" }
|
|
gioser-graph-web = { path = "../../modules/gioser/gioser-graph-web" }
|
|
wasm-bindgen.workspace = true
|
|
wasm-bindgen-futures.workspace = true
|
|
js-sys.workspace = true
|
|
|
|
[dependencies.web-sys]
|
|
workspace = true
|
|
features = [
|
|
"Window",
|
|
"Document",
|
|
"Element",
|
|
"Node",
|
|
"HtmlElement",
|
|
"HtmlCanvasElement",
|
|
"CssStyleDeclaration",
|
|
"DomTokenList",
|
|
"DomRect",
|
|
"Event",
|
|
"EventTarget",
|
|
"MouseEvent",
|
|
"PointerEvent",
|
|
"KeyboardEvent",
|
|
"NodeList",
|
|
"Performance",
|
|
"console",
|
|
"Location",
|
|
"History",
|
|
]
|