Skip to content

Commit c8d6c8c

Browse files
Merge from maiin
2 parents 28c1567 + 9a46ebc commit c8d6c8c

File tree

11 files changed

+34
-21
lines changed

11 files changed

+34
-21
lines changed

Cargo.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ log = "0.4.21"
3030
lucide-leptos = "1.0.0"
3131
lucide-yew = "1.0.0"
3232
radix-leptos-icons = { git = "https://github.com/RustForWeb/radix.git" }
33-
radix-yew-icons = { git = "https://github.com/RustForWeb/radix.git" }
33+
radix-yew-icons = "0.0.2"
3434
serde = { version = "1.0.203", features = ["derive"] }
3535
serde_json = "1.0.117"
3636
tailwind_fuse = { version = "0.3.0", features = ["variant"] }

book-examples/leptos/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ card = [
5151
"dep:lucide-leptos",
5252
"dep:shadcn-ui-leptos-button",
5353
"dep:shadcn-ui-leptos-card",
54-
]
54+
]

book-examples/leptos/src/default/components/ui.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
#[cfg(feature = "alert")]
44
pub use shadcn_ui_leptos_alert::default as alert;
5-
65
#[cfg(feature = "badge")]
76
pub use shadcn_ui_leptos_badge::default as badge;
8-
97
#[cfg(feature = "breadcrumb")]
108
pub use shadcn_ui_leptos_breadcrumb::default as breadcrumb;
11-
129
#[cfg(any(feature = "button", feature = "card"))]
1310
pub use shadcn_ui_leptos_button::default as button;
14-
1511
#[cfg(feature = "card")]
1612
pub use shadcn_ui_leptos_card::default as card;

book-examples/leptos/src/new_york.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ mod components;
22

33
#[cfg(feature = "alert")]
44
mod alert;
5-
65
#[cfg(feature = "badge")]
76
mod badge;
87

book-examples/leptos/src/new_york/components/ui.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
#[cfg(feature = "alert")]
44
pub use shadcn_ui_leptos_alert::new_york as alert;
5-
65
#[cfg(feature = "badge")]
76
pub use shadcn_ui_leptos_badge::new_york as badge;
8-
97
#[cfg(feature = "breadcrumb")]
108
pub use shadcn_ui_leptos_breadcrumb::new_york as breadcrumb;
11-
129
#[cfg(any(feature = "button", feature = "card"))]
1310
pub use shadcn_ui_leptos_button::new_york as button;
14-
1511
#[cfg(feature = "card")]
1612
pub use shadcn_ui_leptos_card::new_york as card;

book/src/introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ The tables below show the support for the various frameworks.
3131
| Name | Dioxus | Leptos | Yew |
3232
| --------------- | ----------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
3333
| Accordion |[#12](https://github.com/RustForWeb/shadcn-ui/issues/12) |[#61](https://github.com/RustForWeb/shadcn-ui/issues/61) |[#110](https://github.com/RustForWeb/shadcn-ui/issues/110) |
34-
| Alert |[#13](https://github.com/RustForWeb/shadcn-ui/issues/13) | [#62](https://github.com/RustForWeb/shadcn-ui/issues/62) | 🟦 [#111](https://github.com/RustForWeb/shadcn-ui/issues/111) |
34+
| Alert |[#13](https://github.com/RustForWeb/shadcn-ui/issues/13) | 🚧 [#62](https://github.com/RustForWeb/shadcn-ui/issues/62) | 🟦 [#111](https://github.com/RustForWeb/shadcn-ui/issues/111) |
3535
| Alert Dialog |[#14](https://github.com/RustForWeb/shadcn-ui/issues/14) |[#63](https://github.com/RustForWeb/shadcn-ui/issues/63) |[#112](https://github.com/RustForWeb/shadcn-ui/issues/112) |
3636
| Aspect Ratio |[#15](https://github.com/RustForWeb/shadcn-ui/issues/15) |[#64](https://github.com/RustForWeb/shadcn-ui/issues/64) | 🟦 [#113](https://github.com/RustForWeb/shadcn-ui/issues/113) |
3737
| Avatar |[#16](https://github.com/RustForWeb/shadcn-ui/issues/16) |[#65](https://github.com/RustForWeb/shadcn-ui/issues/65) | 🟦 [#114](https://github.com/RustForWeb/shadcn-ui/issues/114) |
38-
| Badge |[#17](https://github.com/RustForWeb/shadcn-ui/issues/17) | [#66](https://github.com/RustForWeb/shadcn-ui/issues/66) | 🟦 [#115](https://github.com/RustForWeb/shadcn-ui/issues/115) |
38+
| Badge |[#17](https://github.com/RustForWeb/shadcn-ui/issues/17) | 🚧 [#66](https://github.com/RustForWeb/shadcn-ui/issues/66) | 🟦 [#115](https://github.com/RustForWeb/shadcn-ui/issues/115) |
3939
| Breadcrumb |[#18](https://github.com/RustForWeb/shadcn-ui/issues/18) |[#67](https://github.com/RustForWeb/shadcn-ui/issues/67) | 🟦 [#116](https://github.com/RustForWeb/shadcn-ui/issues/116) |
4040
| Button |[#19](https://github.com/RustForWeb/shadcn-ui/issues/19) | 🚧 [#68](https://github.com/RustForWeb/shadcn-ui/issues/68) | 🟦 [#117](https://github.com/RustForWeb/shadcn-ui/issues/117) |
4141
| Calendar |[#20](https://github.com/RustForWeb/shadcn-ui/issues/20) |[#69](https://github.com/RustForWeb/shadcn-ui/issues/69) |[#118](https://github.com/RustForWeb/shadcn-ui/issues/118) |
42-
| Card |[#21](https://github.com/RustForWeb/shadcn-ui/issues/21) | [#70](https://github.com/RustForWeb/shadcn-ui/issues/70) | 🟦 [#119](https://github.com/RustForWeb/shadcn-ui/issues/119) |
42+
| Card |[#21](https://github.com/RustForWeb/shadcn-ui/issues/21) | 🚧 [#70](https://github.com/RustForWeb/shadcn-ui/issues/70) | 🟦 [#119](https://github.com/RustForWeb/shadcn-ui/issues/119) |
4343
| Carousel |[#22](https://github.com/RustForWeb/shadcn-ui/issues/22) |[#71](https://github.com/RustForWeb/shadcn-ui/issues/71) |[#120](https://github.com/RustForWeb/shadcn-ui/issues/120) |
4444
| Chart |[#23](https://github.com/RustForWeb/shadcn-ui/issues/23) |[#72](https://github.com/RustForWeb/shadcn-ui/issues/72) |[#121](https://github.com/RustForWeb/shadcn-ui/issues/121) |
4545
| Checkbox |[#24](https://github.com/RustForWeb/shadcn-ui/issues/24) |[#73](https://github.com/RustForWeb/shadcn-ui/issues/73) |[#122](https://github.com/RustForWeb/shadcn-ui/issues/122) |
@@ -79,7 +79,7 @@ The tables below show the support for the various frameworks.
7979
| Toggle |[#58](https://github.com/RustForWeb/shadcn-ui/issues/58) |[#107](https://github.com/RustForWeb/shadcn-ui/issues/107) |[#156](https://github.com/RustForWeb/shadcn-ui/issues/156) |
8080
| Toggle Group |[#59](https://github.com/RustForWeb/shadcn-ui/issues/59) |[#108](https://github.com/RustForWeb/shadcn-ui/issues/108) |[#157](https://github.com/RustForWeb/shadcn-ui/issues/157) |
8181
| Tooltip |[#60](https://github.com/RustForWeb/shadcn-ui/issues/60) |[#109](https://github.com/RustForWeb/shadcn-ui/issues/109) |[#158](https://github.com/RustForWeb/shadcn-ui/issues/158) |
82-
| **Total** | 0 / 49 | 1 / 49 | 15 / 49 |
82+
| **Total** | 0 / 49 | 4 / 49 | 15 / 49 |
8383

8484
## License
8585

packages/leptos/alert/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<p align="center">
2+
<a href="../../../logo.svg">
3+
<img src="../../../logo.svg" width="300" height="200" alt="Rust shadcn/ui Logo">
4+
</a>
5+
</p>
6+
7+
<h1 align="center">shadcn-ui-leptos-alert</h1>
8+
9+
Displays a callout for user attention.
10+
11+
[Rust shadcn/ui](https://github.com/RustForWeb/shadcn-ui) is a Rust port of [shadcn/ui](https://ui.shadcn.com/).
12+
13+
## Documentation
14+
15+
See [the Rust shadcn/ui book](https://shadcn-ui.rustforweb.org/) for documentation.
16+
17+
## Rust For Web
18+
19+
The Rust shadcn/ui project is part of the [Rust For Web](https://github.com/RustForWeb).
20+
21+
[Rust For Web](https://github.com/RustForWeb) creates and ports web UI libraries for Rust. All projects are free and open source.

packages/leptos/alert/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Leptos port of [shadcn/ui Alert](https://ui.shadcn.com/docs/components/alert).
22
//!
3-
//! Displays a Alert or a component that looks like a Alert.
3+
//! Displays a callout for user attention.
44
//!
55
//! See [the Rust shadcn/ui book](https://shadcn-ui.rustforweb.org/components/alert.html) for more documenation.
66

packages/leptos/card/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<h1 align="center">shadcn-ui-leptos-card</h1>
88

9-
Displays a card or a component that looks like a card.
9+
Displays a card with header, content, and footer.
1010

1111
[Rust shadcn/ui](https://github.com/RustForWeb/shadcn-ui) is a Rust port of [shadcn/ui](https://ui.shadcn.com/).
1212

0 commit comments

Comments
 (0)