Skip to main content

ansiq_core/
lib.rs

1mod element;
2mod geometry;
3mod history;
4mod hooks;
5mod reactivity;
6mod render_math;
7mod style;
8pub mod symbols;
9mod table;
10mod text;
11mod transcript;
12
13pub use element::{
14    Alignment, Bar, BarChartProps, BlockFrame, BlockProps, BlockTitle, BorderType, Borders,
15    BoxProps, CanvasCell, CanvasProps, ChangeHandler, ChartDataset, ChartProps, ChildLayoutKind,
16    ChildLayoutSpec, ClearProps, ComponentProps, ComponentRenderer, Constraint, Direction, Element,
17    ElementKind, Flex, GaugeProps, HighlightSpacing, InputProps, IntoElement, Layout, Length,
18    LineGaugeProps, ListDirection, ListItem, ListProps, ListState, MonthlyProps, Node, Padding,
19    PaneProps, ParagraphProps, RichTextProps, RuntimeWidgetState, ScrollDirection, ScrollHandler,
20    ScrollViewProps, ScrollbarOrientation, ScrollbarProps, ScrollbarState, SelectHandler,
21    ShellProps, SparklineDirection, SparklineProps, StatusBarProps, StreamingTextProps,
22    SubmitHandler, TableAlignment, TableProps, TableState, TabsProps, TextProps, TitlePosition,
23    WidgetKey, WidgetRouteContext, WidgetRouteEffect, Wrap, component, component_with_cx,
24};
25pub use geometry::Rect;
26pub use history::{HistoryBlock, HistoryEntry, HistoryLine, HistoryRun, history_block_from_text};
27pub use hooks::{Cx, HookStore, RuntimeRequest, ViewCtx};
28pub use reactivity::{
29    Computed, EffectHandle, ScopeId, Signal, SignalId, computed, current_reactive_scope,
30    dispose_component_scope, effect, flush_reactivity, render_in_component_scope,
31    reset_reactivity_for_testing, signal, take_dirty_component_scopes,
32};
33pub use render_math::{
34    TitleGroupPositions, table_column_layout, table_span_width, title_group_positions,
35};
36pub use style::{Color, Style, patch_style};
37pub use table::{Cell, Row};
38pub use text::{
39    Line, Span, StyledChunk, StyledLine, Text, clip_to_width, display_width, display_width_prefix,
40    styled_line_from_line, styled_line_from_span, styled_lines_from_text, wrap_plain_lines,
41    wrap_styled_lines,
42};
43pub use transcript::{TranscriptEntry, TranscriptRole, TranscriptSession, transcript_block};