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
//! `bevy_vista` provides a document-driven UI editor and runtime workflow for
//! Bevy UI.
//!
//! The crate is organized into three layers:
//! - [`core`]: shared data models, widgets, themes, assets, and inspector
//! metadata
//! - [`runtime`]: runtime document loading, mutation, spawning, and live widget
//! access
//! - [`editor`]: editor overlay, viewport tooling, hierarchy, and inspector UI
//!
//! For most users:
//! - use [`prelude`] for the full experience
//! - use [`runtime::prelude`] for runtime-only loading and document workflows
//! - use [`editor::prelude`] for the editor overlay
//!
//! If you are browsing the API for the first time, good starting points are:
//! - [`VistaUiPlugin`]
//! - [`VistaUiRuntimePlugin`]
//! - [`runtime::widget_doc::WidgetDocUtility`]
//! - [`core::asset::VistaUiAsset`]
//!
//! See the repository `README.md`, `docs/USAGE.md`, and the `examples/`
//! directory for end-to-end usage.
extern crate self as bevy_vista;
use *;
pub use bevy_vista_macros;
pub use VistaUiCorePlugin;
pub use ;
pub use VistaUiEditorPlugin;
pub use ;
pub use VistaUiRuntimePlugin;
pub use widget_doc;
/// Convenience imports for the full editor + runtime setup.
///
/// This prelude re-exports the layered preludes from:
/// - [`crate::core::prelude`]
/// - [`crate::runtime::prelude`]
/// - [`crate::editor::prelude`]
///
/// # Example
/// ```no_run
/// use bevy::prelude::*;
/// use bevy_vista::prelude::*;
///
/// fn main() {
/// App::new()
/// .add_plugins(DefaultPlugins)
/// .add_plugins(VistaUiPlugin)
/// .run();
/// }
/// ```
/// Full Vista UI setup.
///
/// This plugin installs both [`VistaUiEditorPlugin`] and
/// [`VistaUiRuntimePlugin`]. Use it when you want the editor overlay and the
/// runtime document APIs in the same app.
///
/// For layer-specific setups, prefer:
/// - [`VistaUiCorePlugin`]
/// - [`VistaUiRuntimePlugin`]
/// - [`VistaUiEditorPlugin`]
;
pub