1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
//! # Yew Purecss - Pure.css components for Yew
//!
//! This crate provides [Pure.css][Purecss] components made to be used with the
//! [Yew][yew] framework. It aims to make an easy, as intuitive as possible
//! development experience for integrating [Pure.css][Purecss] into your [Yew][yew]
//! frontends.
//!
//! Generally speaking, it aims to provide a Rust API for ideally* all elements,
//! components, helpers etc. that you would be able to use in CSS/HTML or other
//! frontend frameworks, such as Angular or React.
//!
//! > _* It might not be possible to expose everything in the same manner as
//! with JavaScript, but wherever it is, this crate will try and implement them._
//!
//! ### Supported Targets (for Yew Client-Side Rendering only)
//! - `wasm32-unknown-unknown`
//!
//! # Examples
//!
//! Since it is in the early stages of development, no complete example is made
//! yet.
//!
//! [purecss]: https://purecss.io
//! [yew]: https://yew.rs
#![forbid(unsafe_code)]
mod button;
mod cdn;
mod form;
mod grid;
mod image;
mod menu;
mod table;
pub use {
button::{Button, ButtonState, Buttons, ButtonsRole},
cdn::IncludeCDN,
form::Form,
grid::{Grid, Unit, UnitSize},
image::Image,
menu::{Menu, MenuItem, MenuLink, MenuList},
table::{Table, TableData, TableHeader, TableRow},
};