2022-07-31 20:46:14 +00:00
|
|
|
[package]
|
|
|
|
name = "leptos_dom"
|
2023-01-11 17:09:10 +00:00
|
|
|
version = { workspace = true }
|
2022-07-31 20:46:14 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:50:21 +00:00
|
|
|
authors = ["Greg Johnston"]
|
|
|
|
license = "MIT"
|
2023-01-13 08:03:11 +00:00
|
|
|
repository = "https://github.com/leptos-rs/leptos"
|
2022-10-07 10:50:21 +00:00
|
|
|
description = "DOM operations for the Leptos web framework."
|
2022-07-31 20:46:14 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-02-17 22:31:32 +00:00
|
|
|
async-recursion = "1"
|
2022-11-24 20:45:31 +00:00
|
|
|
cfg-if = "1"
|
2023-01-02 15:01:57 +00:00
|
|
|
drain_filter_polyfill = "0.1"
|
2022-11-24 20:45:31 +00:00
|
|
|
educe = "0.4"
|
2022-12-12 14:26:46 +00:00
|
|
|
futures = "0.3"
|
2022-12-05 20:09:04 +00:00
|
|
|
html-escape = "0.2"
|
2022-12-02 05:14:30 +00:00
|
|
|
indexmap = "1.9"
|
|
|
|
itertools = "0.10"
|
2022-07-31 20:46:14 +00:00
|
|
|
js-sys = "0.3"
|
2023-01-11 17:09:10 +00:00
|
|
|
leptos_reactive = { workspace = true }
|
2023-01-02 15:01:57 +00:00
|
|
|
once_cell = "1"
|
2022-12-11 18:43:58 +00:00
|
|
|
pad-adapter = "0.1"
|
2022-11-25 03:35:40 +00:00
|
|
|
paste = "1"
|
2022-12-01 22:22:35 +00:00
|
|
|
rustc-hash = "1.1.0"
|
2022-12-12 14:26:46 +00:00
|
|
|
serde_json = "1"
|
2022-11-25 23:39:42 +00:00
|
|
|
smallvec = "1"
|
|
|
|
tracing = "0.1"
|
2022-11-28 13:45:09 +00:00
|
|
|
wasm-bindgen = { version = "0.2", features = ["enable-interning"] }
|
2022-07-31 20:46:14 +00:00
|
|
|
wasm-bindgen-futures = "0.4.31"
|
|
|
|
|
2022-12-28 16:33:26 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
leptos = { path = "../leptos" }
|
|
|
|
|
2022-07-31 20:46:14 +00:00
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3"
|
|
|
|
features = [
|
2023-03-22 21:56:52 +00:00
|
|
|
"DocumentFragment",
|
|
|
|
"Element",
|
|
|
|
"HtmlTemplateElement",
|
|
|
|
"NodeList",
|
|
|
|
"Window",
|
2023-01-27 19:01:07 +00:00
|
|
|
"console",
|
2022-11-24 20:45:31 +00:00
|
|
|
"Comment",
|
2023-01-28 13:19:13 +00:00
|
|
|
"Document",
|
2022-11-27 22:56:20 +00:00
|
|
|
"DomTokenList",
|
2023-01-28 13:19:13 +00:00
|
|
|
"Location",
|
2022-11-27 01:36:25 +00:00
|
|
|
"Range",
|
2022-11-24 20:45:31 +00:00
|
|
|
"Text",
|
2022-12-26 03:53:52 +00:00
|
|
|
"HtmlCollection",
|
2023-01-16 14:21:28 +00:00
|
|
|
"TreeWalker",
|
2022-11-28 13:45:09 +00:00
|
|
|
|
2022-11-23 20:12:21 +00:00
|
|
|
# Events we cast to in leptos_macro -- added here so we don't force users to import them
|
2022-12-04 23:22:03 +00:00
|
|
|
"AnimationEvent",
|
2022-12-05 17:12:31 +00:00
|
|
|
"BeforeUnloadEvent",
|
2022-12-04 23:22:03 +00:00
|
|
|
"ClipboardEvent",
|
|
|
|
"CompositionEvent",
|
2023-03-07 19:00:48 +00:00
|
|
|
"CustomEvent",
|
2022-12-05 17:12:31 +00:00
|
|
|
"DeviceMotionEvent",
|
|
|
|
"DeviceOrientationEvent",
|
2022-11-23 20:12:21 +00:00
|
|
|
"DragEvent",
|
2023-01-28 13:19:13 +00:00
|
|
|
"ErrorEvent",
|
2023-03-07 19:00:48 +00:00
|
|
|
"Event",
|
2022-11-23 20:12:21 +00:00
|
|
|
"FocusEvent",
|
2022-12-05 17:12:31 +00:00
|
|
|
"GamepadEvent",
|
|
|
|
"HashChangeEvent",
|
2022-12-04 23:22:03 +00:00
|
|
|
"InputEvent",
|
2022-11-23 20:12:21 +00:00
|
|
|
"KeyboardEvent",
|
2023-03-09 23:03:57 +00:00
|
|
|
"MessageEvent",
|
2022-12-04 23:22:03 +00:00
|
|
|
"MouseEvent",
|
2022-12-05 17:12:31 +00:00
|
|
|
"PageTransitionEvent",
|
2022-12-04 23:22:03 +00:00
|
|
|
"PointerEvent",
|
2022-12-05 17:12:31 +00:00
|
|
|
"PopStateEvent",
|
2022-11-23 20:12:21 +00:00
|
|
|
"ProgressEvent",
|
2022-12-05 17:12:31 +00:00
|
|
|
"PromiseRejectionEvent",
|
|
|
|
"SecurityPolicyViolationEvent",
|
|
|
|
"StorageEvent",
|
2022-11-23 20:12:21 +00:00
|
|
|
"SubmitEvent",
|
|
|
|
"TouchEvent",
|
2022-11-28 13:45:09 +00:00
|
|
|
"TransitionEvent",
|
2022-12-05 17:12:31 +00:00
|
|
|
"UiEvent",
|
2022-12-04 23:22:03 +00:00
|
|
|
"WheelEvent",
|
2022-12-22 01:37:15 +00:00
|
|
|
|
|
|
|
# HTML Element Types
|
|
|
|
"HtmlHtmlElement",
|
|
|
|
"HtmlBaseElement",
|
|
|
|
"HtmlHeadElement",
|
|
|
|
"HtmlLinkElement",
|
|
|
|
"HtmlMetaElement",
|
|
|
|
"HtmlStyleElement",
|
|
|
|
"HtmlTitleElement",
|
|
|
|
"HtmlBodyElement",
|
|
|
|
"HtmlHeadingElement",
|
|
|
|
"HtmlQuoteElement",
|
|
|
|
"HtmlDivElement",
|
|
|
|
"HtmlDListElement",
|
|
|
|
"HtmlHrElement",
|
|
|
|
"HtmlLiElement",
|
|
|
|
"HtmlOListElement",
|
|
|
|
"HtmlParagraphElement",
|
|
|
|
"HtmlPreElement",
|
|
|
|
"HtmlUListElement",
|
|
|
|
"HtmlAnchorElement",
|
|
|
|
"HtmlBrElement",
|
|
|
|
"HtmlDataElement",
|
|
|
|
"HtmlQuoteElement",
|
|
|
|
"HtmlSpanElement",
|
|
|
|
"HtmlTimeElement",
|
|
|
|
"HtmlAreaElement",
|
|
|
|
"HtmlAudioElement",
|
|
|
|
"HtmlImageElement",
|
|
|
|
"HtmlMapElement",
|
|
|
|
"HtmlTrackElement",
|
|
|
|
"HtmlVideoElement",
|
|
|
|
"HtmlEmbedElement",
|
|
|
|
"HtmlIFrameElement",
|
|
|
|
"HtmlObjectElement",
|
|
|
|
"HtmlParamElement",
|
|
|
|
"HtmlPictureElement",
|
|
|
|
"HtmlSourceElement",
|
|
|
|
"SvgElement",
|
|
|
|
"HtmlCanvasElement",
|
|
|
|
"HtmlScriptElement",
|
|
|
|
"HtmlModElement",
|
|
|
|
"HtmlTableCaptionElement",
|
|
|
|
"HtmlTableColElement",
|
|
|
|
"HtmlTableColElement",
|
|
|
|
"HtmlTableElement",
|
|
|
|
"HtmlTableSectionElement",
|
|
|
|
"HtmlTableCellElement",
|
|
|
|
"HtmlTableSectionElement",
|
|
|
|
"HtmlTableCellElement",
|
|
|
|
"HtmlTableSectionElement",
|
|
|
|
"HtmlTableRowElement",
|
|
|
|
"HtmlButtonElement",
|
|
|
|
"HtmlDataListElement",
|
|
|
|
"HtmlFieldSetElement",
|
|
|
|
"HtmlFormElement",
|
|
|
|
"HtmlInputElement",
|
|
|
|
"HtmlLabelElement",
|
|
|
|
"HtmlLegendElement",
|
|
|
|
"HtmlMeterElement",
|
|
|
|
"HtmlOptGroupElement",
|
|
|
|
"HtmlOutputElement",
|
|
|
|
"HtmlProgressElement",
|
|
|
|
"HtmlSelectElement",
|
|
|
|
"HtmlTextAreaElement",
|
|
|
|
"HtmlDetailsElement",
|
|
|
|
"HtmlDialogElement",
|
|
|
|
"HtmlMenuElement",
|
|
|
|
"HtmlSlotElement",
|
|
|
|
"HtmlTemplateElement",
|
2023-01-02 21:35:00 +00:00
|
|
|
"HtmlOptionElement",
|
2022-07-31 20:46:14 +00:00
|
|
|
]
|
|
|
|
|
2022-09-01 14:39:04 +00:00
|
|
|
[features]
|
2023-01-06 18:24:24 +00:00
|
|
|
default = []
|
2022-12-26 04:03:43 +00:00
|
|
|
web = ["leptos_reactive/csr"]
|
|
|
|
ssr = ["leptos_reactive/ssr"]
|
2022-11-24 20:45:31 +00:00
|
|
|
stable = ["leptos_reactive/stable"]
|
2023-01-05 16:08:07 +00:00
|
|
|
|
|
|
|
[package.metadata.cargo-all-features]
|
|
|
|
denylist = ["stable"]
|
|
|
|
skip_feature_sets = [["web", "ssr"]]
|