Skip to content

Commit

Permalink
zu: Rename box module to boxed
Browse files Browse the repository at this point in the history
  • Loading branch information
XuShaohua committed Nov 22, 2023
1 parent a044ea9 commit 774781c
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion crates/zu-docs/src/views/data_display/badge_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use yew::{function_component, html, Html};
use zu::badge::{Badge, Content, Overlap, Variant};
use zu::r#box::r#Box;
use zu::boxed::Box;
use zu::styles::anchor_origin::AnchorOrigin;
use zu::styles::color::Color;
use zu::svg_icon::Color as SvgColor;
Expand Down
2 changes: 1 addition & 1 deletion crates/zu-docs/src/views/inputs/button_group_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

use stylist::Style;
use yew::{classes, function_component, html, html_nested, ChildrenWithProps, Classes, Html};
use zu::boxed::Box;
use zu::button::Button;
use zu::button_group::ButtonGroup;
use zu::r#box::Box;
use zu::styles::button_variant::ButtonVariant;
use zu::styles::color::Color;
use zu::styles::orientation::Orientation;
Expand Down
2 changes: 1 addition & 1 deletion crates/zu-docs/src/views/inputs/button_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

use stylist::Style;
use yew::{classes, function_component, html, Callback, Html, MouseEvent};
use zu::boxed::Box;
use zu::button::Button;
use zu::icon_button::IconButton;
use zu::loading_button::{LoadingButton, Position};
use zu::r#box::Box;
use zu::stack::Stack;
use zu::styles::button_variant::ButtonVariant as Variant;
use zu::styles::color::Color;
Expand Down
2 changes: 1 addition & 1 deletion crates/zu-docs/src/views/inputs/rating_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use stylist::Style;
use yew::{classes, function_component, html, Html};
use zu::r#box::Box;
use zu::boxed::Box;
use zu::rating::{Props as RatingProps, Rating};
use zu::stack::Stack;
use zu::styles::size::Size;
Expand Down
2 changes: 1 addition & 1 deletion crates/zu-docs/src/views/layout/box_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use stylist::Style;
use yew::{classes, function_component, html, Html};
use zu::r#box::Box;
use zu::boxed::Box;

use crate::components::demo_box::DemoBox;

Expand Down
2 changes: 1 addition & 1 deletion crates/zu-docs/src/views/layout/container_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// found in the LICENSE file.

use yew::{function_component, html, Html};
use zu::boxed::Box;
use zu::container::Container;
use zu::r#box::Box;

use crate::components::demo_box::DemoBox;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// found in the LICENSE file.

use yew::{function_component, html, use_state, Callback, Children, Html, Properties};
use zu::r#box::Box;
use zu::boxed::Box;
use zu::tab::Tab;
use zu::tabs::Tabs;
use zu::typography::Typography;
Expand Down
2 changes: 1 addition & 1 deletion crates/zu/consts/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub const COMMON_STYLES: &[&str] = &[
"src/badge/style.scss",
"src/bottom_navigation/style.scss",
"src/bottom_navigation_action/style.scss",
"src/box/style.scss",
"src/boxed/style.scss",
"src/breadcrumbs/style.scss",
"src/button/style.scss",
"src/button_base/style.scss",
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/zu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub mod backdrop;
pub mod badge;
pub mod bottom_navigation;
pub mod bottom_navigation_action;
pub mod r#box;
pub mod boxed;
pub mod breadcrumbs;
pub mod button;
pub mod button_base;
Expand Down

0 comments on commit 774781c

Please sign in to comment.