No description
Find a file
Nikita Baksalyar 2fd69c2d98
Improve menu accessibility (#44)
This commit adds 2 new attributes to the MenuItem component: 'disabled' and 'href'.
'href' is used for specifying links associated with menu items. This is required to
make menu links accessible and navigable using keyboard. Currently, 'disabled' is
also used only for accessibility purposes: if a MenuItem is not disabled, a tabindex
attribute is added to help with keyboard navigation.

Additionally, an alt text is added to the logo image.
2020-10-07 10:10:03 +02:00
.github/workflows Add scheduled build 2020-10-04 13:50:30 +02:00
static Site description (#28) 2020-09-29 19:34:21 +02:00
yewprint Improve menu accessibility (#44) 2020-10-07 10:10:03 +02:00
yewprint-doc Improve menu accessibility (#44) 2020-10-07 10:10:03 +02:00
.gitattributes Insert demo in README 2020-09-19 14:09:54 +02:00
.gitignore Example props (#25) 2020-09-28 15:24:04 +02:00
.rustfmt.toml Router (#29) 2020-09-29 18:47:33 +02:00
build.sh Use docs-theme from blueprint (#24) 2020-09-27 14:49:05 +02:00
Cargo.lock Router (#29) 2020-09-29 18:47:33 +02:00
Cargo.toml Use docs-theme from blueprint (#24) 2020-09-27 14:49:05 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2020-09-24 18:20:58 +02:00
dev.sh Use docs-theme from blueprint (#24) 2020-09-27 14:49:05 +02:00
LICENSE Create LICENSE (#18) 2020-09-24 18:19:06 +02:00
netlify.toml Run cargo fmt on nightly (#34) 2020-10-01 08:05:23 +02:00
README.md feat: divider and button group 2020-10-05 00:05:14 -03:00

Yewprint Rust Netlify Status Discord

It's Blueprint, but for Yew in Rust.

Warning: This is in early development and it is possible it won't be finished if there is no interest. Don't use this in production! Please help or leave a star to let me know you are interested in this project.

Installation

Use as a library (in your project)

yewprint = { git = "https://github.com/cecton/yewprint.git", branch = "main" }

# right now you need a specific version of Yew to use Yewprint
yew = { git = "https://github.com/yewstack/yew.git", rev = "1507c21b" }

# other yew dependencies need to use this version
# yew-router = { git = "https://github.com/yewstack/yew.git", rev = "1507c21b" }
# yewtil = { git = "https://github.com/yewstack/yew.git", rev = "1507c21b", features = ["pure"] }

You will also need the CSS from blueprint. For that you can either include the CSS file directly or you can look at the script build.sh and see how it is downloaded automatically.

Development

This section will walk you through setting up the environment required to modify the source of yewprint.

Prerequisites

Troubleshooting

  • I can't install cargo-watch on OSX.

    This happens on some machines. Try installing the pre-compiled binary instead.

Run the development server

./dev.sh

Roadmap