Skip to content

Commit

Permalink
update readme and style.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
genusistimelord committed May 17, 2024
1 parent 4e0efa1 commit f150192
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 59 deletions.
46 changes: 1 addition & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ iced_aw = { version = "0.9.3", default-features = false, features = [...] }

## Widgets


### Badge

<div align="center">
Expand Down Expand Up @@ -66,40 +65,13 @@ Enable this widget with the feature `color_picker`.

<div align="center">

![Modal showcase](./images/showcase/date_picker.png)
![Date Picker showcase](./images/showcase/date_picker.png)
</div>

Please take a look into our examples on how to use date pickers.

Enable this widget with the feature `date_picker`.

### Floating Action Button

<div align="center">

![Floating Element showcase](./images/showcase/floating_button.png)
</div>

Please take a look into our examples on how to use floating elements.

Enable this widget with the feature `floating_element`.
This will be depreciated in the next Release in palce of using the stack widget

### Modal

Modals are useful for showing some content as an overlay on top. In combination with the Card widget, modals can be used to create some kind of dialog panels.

<div align="center">

![Modal showcase](./images/showcase/modal.png)
</div>


Please take a look into our examples on how to use modals.

Enable this widget with the feature `modal`.
This will be depreciated in the next Release in palce of using the stack widget

### NumberInput

Just like TextInput, but only for numbers.
Expand All @@ -126,21 +98,6 @@ A selection space to show any options passed in.

Enable this widget with the feature `selection_list`.

### Split

A split divides the available space to display two different elements.

<div align="center">

![Split showcase](./images/showcase/split_example.gif)
</div>

Please take a look into our examples on how to use Splits.

Enable Splits with the feature `split`.

*This widget is currently not supporting web*

### TabBar and Tabs

<div align="center">
Expand All @@ -163,7 +120,6 @@ Please take a look into our examples on how to use time pickers.

Enable this widget with the feature `time_picker`.


### Menu

<div align="center">
Expand Down
14 changes: 0 additions & 14 deletions src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ pub mod date_picker;
#[cfg(feature = "date_picker")]
pub use date_picker::DatePickerStyle;

#[cfg(feature = "modal")]
pub mod modal;
#[cfg(feature = "modal")]
pub use modal::ModalStyles;

#[cfg(feature = "tab_bar")]
pub mod tab_bar;
#[cfg(feature = "tab_bar")]
Expand All @@ -47,11 +42,6 @@ pub mod selection_list;
#[cfg(feature = "selection_list")]
pub use selection_list::SelectionListStyles;

#[cfg(feature = "split")]
pub mod split;
#[cfg(feature = "split")]
pub use split::SplitStyles;

#[cfg(feature = "menu")]
pub mod menu_bar;
#[cfg(feature = "menu")]
Expand All @@ -67,7 +57,3 @@ pub mod context_menu;
#[cfg(feature = "context_menu")]
pub use context_menu::ContextMenuStyle;

#[cfg(feature = "segmented_button")]
pub mod segmented_button;
#[cfg(feature = "segmented_button")]
pub use segmented_button::SegmentedButton;

0 comments on commit f150192

Please sign in to comment.