Skip to content

Commit

Permalink
Merge xilem_html and xilem_svg as xilem_web (#142)
Browse files Browse the repository at this point in the history
* Merged xilem_svg into xilem_html

* Renamed xilem_html to xilem_web and removed xilem_svg

* xilem_web: factor pointer to root, as it can be used for all Elements and refactor slightly

* Rename example

* xilem_web: Make BoxedView public

* Rename cx.add_new_attribute_to_current_element -> add_attr_to_element and IntoAttributeValue::into_attribute_value -> IntoAttributeValue::into_attr_value

* Add the `fill` and `stroke` attribute to the `g` element
  • Loading branch information
Philipp-M authored Jan 4, 2024
1 parent f129126 commit ea45b9f
Show file tree
Hide file tree
Showing 53 changed files with 574 additions and 1,193 deletions.
22 changes: 6 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[workspace]
members = [
"crates/xilem_core",
"crates/xilem_html",
"crates/xilem_html/web_examples/counter",
"crates/xilem_html/web_examples/counter_custom_element",
"crates/xilem_html/web_examples/todomvc",
"crates/xilem_html/web_examples/mathml_svg",
"crates/xilem_svg",
"crates/xilem_svg/web_examples/svgtoy",
"crates/xilem_web",
"crates/xilem_web/web_examples/counter",
"crates/xilem_web/web_examples/counter_custom_element",
"crates/xilem_web/web_examples/todomvc",
"crates/xilem_web/web_examples/mathml_svg",
"crates/xilem_web/web_examples/svgtoy",
]

[workspace.package]
Expand Down
1 change: 0 additions & 1 deletion crates/xilem_svg/.gitignore

This file was deleted.

37 changes: 0 additions & 37 deletions crates/xilem_svg/Cargo.toml

This file was deleted.

7 changes: 0 additions & 7 deletions crates/xilem_svg/README.md

This file was deleted.

119 changes: 0 additions & 119 deletions crates/xilem_svg/src/app.rs

This file was deleted.

73 changes: 0 additions & 73 deletions crates/xilem_svg/src/class.rs

This file was deleted.

Loading

0 comments on commit ea45b9f

Please sign in to comment.