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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
//! # Freya Components
//! A collection of basic components to be used in Freya.
//!
//! Go to [Gallery](gallery) to see previews of the components.

/// | 1 | 2 | 3 | 4 |
/// | ------------- | ------------- | ------------- | ------------- |
/// | ![Switch Preview][gallery_enabled_switch] | ![Button Preview][gallery_button] | ![FilledButton Preview][gallery_filled_button] | ![OutlineButton Preview][gallery_outline_button] |
/// | [Switch]        | [Button]        | [FilledButton]        | [OutlineButton]        |
/// | ![Slider Preview][gallery_slider] | ![Checkbox Preview][gallery_checkbox] | ![Radio Preview][gallery_radio] | ![Input Preview][gallery_input] |
/// | [Slider]        | [Checkbox]        | [Radio]        | [Input]        |
/// | ![ProgressBar Preview][gallery_progress_bar] | ![Dropdown Preview][gallery_dropdown] | ![SnackBar Preview][gallery_snackbar] | ![Tab Preview][gallery_tab] |
/// | [ProgressBar]        | [Dropdown]        | [SnackBar]        | [Tab]        |
/// | ![Bottom Tab Preview][gallery_bottom_tab] |  |  |
/// | [BottomTab]        |  |  |
#[cfg_attr(feature = "docs",
    doc = embed_doc_image::embed_doc_image!("gallery_button", "images/gallery_button.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_filled_button", "images/gallery_filled_button.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_outline_button", "images/gallery_outline_button.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_enabled_switch", "images/gallery_enabled_switch.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_slider", "images/gallery_slider.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_checkbox", "images/gallery_checkbox.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_radio", "images/gallery_radio.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_input", "images/gallery_input.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_progress_bar", "images/gallery_progress_bar.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_dropdown", "images/gallery_dropdown.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_snackbar", "images/gallery_snackbar.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_tab", "images/gallery_tab.png"),
    doc = embed_doc_image::embed_doc_image!("gallery_bottom_tab", "images/gallery_bottom_tab.png"),
)]
pub fn gallery() {}

mod accordion;
mod activable_route;
mod animated_router;
mod body;
mod button;
mod canvas;
mod checkbox;
mod cursor_area;
mod drag_drop;
mod dropdown;
mod gesture_area;
mod graph;
mod hooks;
mod icons;
mod image;
mod input;
mod link;
mod loader;
mod menu;
mod native_container;
mod native_router;
mod network_image;
mod popup;
mod progress_bar;
mod radio;
mod scroll_views;
mod sidebar;
mod slider;
mod snackbar;
mod svg;
mod switch;
mod table;
mod tabs;
mod theme;
mod tile;
mod tooltip;
mod tree;
mod window_drag_area;

pub use accordion::*;
pub use activable_route::*;
pub use animated_router::*;
pub use body::*;
pub use button::*;
pub use canvas::*;
pub use checkbox::*;
pub use cursor_area::*;
pub use drag_drop::*;
pub use dropdown::*;
pub use gesture_area::*;
pub use graph::*;
pub use hooks::*;
pub use icons::*;
pub use input::*;
pub use link::*;
pub use loader::*;
pub use menu::*;
pub use native_container::*;
pub use native_router::*;
pub use network_image::*;
pub use popup::*;
pub use progress_bar::*;
pub use radio::*;
pub use scroll_views::*;
pub use sidebar::*;
pub use slider::*;
pub use snackbar::*;
pub use switch::*;
pub use table::*;
pub use tabs::*;
pub use theme::*;
pub use tile::*;
pub use tooltip::*;
pub use tree::*;
pub use window_drag_area::*;