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
//! Widget annotation system for semantic UI understanding.
//!
//! Annotations provide semantic metadata about UI regions, enabling:
//!
//! - Querying widgets by type or label ("find the submit button")
//! - Understanding widget hierarchy and focus
//! - Automated testing with semantic queries
//! - Accessibility-like descriptions of the UI
//!
//! # Example
//!
//! ```rust
//! use envision::annotation::{Annotate, Annotation};
//! use ratatui::widgets::Paragraph;
//! use ratatui::Frame;
//!
//! fn render(frame: &mut Frame) {
//! let area = frame.area();
//!
//! // Wrap widget with annotation
//! let widget = Annotate::new(
//! Paragraph::new("Submit"),
//! Annotation::button("submit").with_label("Submit Order"),
//! );
//!
//! frame.render_widget(widget, area);
//! }
//! ```
pub use ;
pub use ;
pub use ;
pub use ;