#![forbid(unsafe_code)]
#![allow(clippy::too_many_arguments, clippy::type_complexity)]
pub mod animation;
pub mod canvas;
pub mod collection;
pub mod composites;
pub mod containers;
pub mod controls;
pub mod data;
pub mod drag_drop;
mod editable_text;
mod editor;
pub mod hdr_theme;
pub mod layout_policy;
pub mod media;
pub mod overlay;
pub mod panes;
pub mod reorderable;
pub mod rich_document;
pub mod rich_text;
pub mod selection;
mod text_align;
pub mod text_command;
pub mod text_surface;
pub mod theme;
pub mod workspace;
pub use animation::{
ANIMATION_DOCUMENT_VERSION, AnimatedValue, AnimationBinding, AnimationBindingInvalidation,
AnimationDocument, AnimationDocumentFormatError, AnimationEditorCommand, AnimationEditorState,
AnimationPlayer, AnimationProperty, AnimationPropertyPath, AnimationSelection,
AnimationTargetId, AnimationTick, AnimationValue, AnimationValueKind, Blink, Clip,
CompiledClip, CompiledTimeline, CompiledTrack, Easing, Interpolate, Keyframe,
KeyframeSelection, LoopMode, MotionScalar, PlaybackState, Pulse, SampleBatch, SampleBuffer,
SampledAnimationValue, SharedCompiledTimeline, SpringF32, Timeline, TimelineBindingSink,
TimelinePlayer, TimelineSnap, TimelineTick, Track, Transition,
invalidation_for_animation_property,
};
pub use canvas::{
Canvas, CanvasRuler, CanvasRulerAxis, CanvasShape, CanvasStroke, CanvasViewport, PixelCanvas,
PixelCanvasBlendMode, PixelCanvasBrushShape, PixelCanvasExportSnapshot, PixelCanvasState,
PixelCanvasTool,
};
pub use collection::{
CollectionAnchor, CollectionAnchorGravity, CollectionChange, CollectionDelta,
CollectionExtentIndex, CollectionModelError, CollectionSync, CollectionWindow, ScrollAlignment,
VirtualCollectionModel, VirtualCollectionSource, VirtualList, VirtualListChrome,
VirtualListSelectionMode, VirtualListState, VirtualViewportSnapshot,
};
pub use composites::{
ActionCard, ActionTilePaint, BottomSheet, BrowserTabBar, BusyIndicator, CalloutPaint,
CodePanelPaint, CodeTextLine, CodeTextPaint, CodeTextSpan, CommandButtonFill,
CommandButtonPaint, CommandGroup, CommandPalette, ContextMenu, CoverageDots,
CoverageDotsConfig, DetailRow, Dialog, DisclosureButtonPaint, DockPanel, Drawer, EmptyState,
EmptyStatePaint, FieldGroup, FormRow, FormSection, FramedField, HairlineEdge, Menu, MenuItem,
Modal, PanelSection, PlacementBadge, PlacementBadgePaint, Popover, PopoverAlignment,
PresetStrip, ProgressBar, PropertyRow, PropertyRowLayout, SectionLabel, SectionLabelPaint,
SectionPanelGeometry, SectionPanelPaint, SegmentedControl, SegmentedControlItem, SheetState,
SideSheet, SideSheetPlacement, Spinner, StatusBadge, StatusBar, StatusBarHost,
StatusBarSegment, Surface, SurfaceAppearance, SurfaceBorder, SurfaceElevation, SurfaceRole,
TabBar, Tabs, ToolPalette, ToolPaletteItem, Toolbar, Tooltip, TooltipAlignment,
TooltipPlacement, detail_row_height_for_value, paint_action_tile, paint_border, paint_callout,
paint_code_lines, paint_code_panel, paint_command_button, paint_coverage_dots,
paint_coverage_dots_with_config, paint_detail_row_at, paint_disclosure_button,
paint_empty_state, paint_hairline, paint_placement_badge, paint_placement_badge_with,
paint_progress_bar, paint_rounded_panel, paint_rounded_rect, paint_section_label,
paint_section_label_detail, paint_section_panel, paint_status_badge,
};
pub use containers::{
Align, Background, ContentExtent, Dock, FixedPaneSplit, Flex, MeasuredBottomDock, Overflow,
Padding, RebuildOnChange, RebuildOnConstraints, ScrollAxes, ScrollBar, ScrollState, ScrollView,
SemanticRegion, SizedBox, Stack, SwitchView, TrailingSlotRow, VirtualScrollView,
};
pub use controls::{
BUILTIN_ICON_GLYPHS, Button, ButtonAppearance, Checkbox, CheckboxIndicatorState,
ChoiceAppearance, ComboBox, DateTimeInput, Divider, FieldAppearance, Icon, IconButton,
IconButtonPaint, IconGlyph, Label, Link, MultilineTextInput, NumberInput, PasswordInput,
RadioButton, RadioGroup, Select, Separator, Slider, SpinBox, Switch, TextArea, TextInput,
draw_glyph, paint_checkbox_indicator, paint_icon_button, register_builtin_icon_resources,
};
pub use data::{
Breadcrumb, BreadcrumbItem, DataGrid, LayerList, LayerListItem, LayerListReorderChange,
LeadingLabelCellPaint, ListItem, ListView, PathBar, Table, TableColumn, TableColumnAlignment,
TableRow, TextBlockPaint, TextCellPaint, TreeItem, TreeView, VirtualTable, VirtualTableColumn,
VirtualTableRowActivationKind, VirtualTableRowContext, VirtualTableSortDirection,
VirtualTableState, paint_leading_label_cell, paint_text_block, paint_text_cell,
};
pub use drag_drop::{DragDropHost, Draggable, DropTarget};
pub use hdr_theme::{
EffectToken, HdrColorRoles, HdrEffectTokens, HdrLuminanceTokens, HdrMaterialTokens,
HdrPolicyTokens, HdrThemeMode, HdrThemeTokens, MaterialToken, ResolvedEffectStyle,
ResolvedHdrStyle, ResolvedMaterialStyle, SemanticColorToken, WidgetColorRole, WidgetEffectRole,
WidgetLuminanceRole, WidgetMaterialRole, resolve_effect_role, resolve_luminance_role,
resolve_material_role, resolve_semantic_color, resolve_widget_hdr_style,
};
pub use layout_policy::{
AspectRatio, AspectRatioFit, Grid, GridCell, LayoutTransition, SafeArea, SafeAreaEdges,
};
pub use media::{
BrushPreview, BrushPreviewShape, BrushPreviewSpec, ColorPalette, ColorPaletteSwatch,
ColorPicker, ColorSwatch, Image, ImageFit, SignalMeter, SimpleColorPicker,
SimpleColorPickerMode,
};
pub use overlay::{
NotificationCenter, NotificationHost, NotificationId, NotificationUrgency, OverlayAlignment,
OverlayCollisionPolicy, OverlayHost, OverlayPlacement, OverlayPlacementRequest,
OverlayPlacementResult, OverlaySide, TransientNotification, place_overlay,
};
pub use panes::{
FloatingStack, FloatingViewConfig, FloatingViewSnapshot, FloatingWorkspace,
FloatingWorkspaceState, ResizablePane, SplitExtent, SplitPaneSide, SplitState,
SplitStateSnapshot, SplitView,
};
pub use reorderable::{ReorderableList, ReorderableListChange};
pub use rich_document::{
BasicSyntaxHighlighter, RichAttachment, RichBlockId, RichDocumentBlock, RichDocumentBlockKind,
RichDocumentModel, RichDocumentRenderContext, RichDocumentRendererRegistry,
RichDocumentSnapshot, RichDocumentSpan, RichDocumentStatus, RichDocumentUpdate,
RichDocumentView, RichDocumentViewState, RichExtensionBlock, RichInlineImage, RichInlineKind,
RichInlineStyle, RichLink, RichListItem, RichSyntaxHighlighter, RichSyntaxSpan,
RichSyntaxTokenKind,
};
pub use rich_text::{RichText, RichTextSourceMap, RichTextSourceSpan};
pub use selection::{
SelectionChange, SelectionClipboardBehavior, SelectionEntry, SelectionIntent, SelectionOrder,
SelectionOwnerId, SelectionPayload, SelectionPoint, SelectionScope, TextSelectionInfo,
};
pub use text_align::{paint_aligned_text, paint_single_line_aligned_text, wrap_text_lines};
pub use text_command::{TEXT_COMMAND, TextCommand};
pub use text_surface::{
TextSurface, TextSurfaceOverlayKind, TextSurfaceStyleOverlay, TextSurfaceStyleSpan,
};
pub use theme::{
ControlMetrics, ControlPalette, ControlSize, ControlStateMetrics, ControlTypography,
DefaultTheme, SemanticTone, SurfacePalette, ThemeAspectRatios, ThemeBlurScale,
ThemeBoxShadowScale, ThemeBreakpoints, ThemeColorScheme, ThemeColors, ThemeContainers,
ThemeDensity, ThemeDropShadowScale, ThemeFontFamilies, ThemeFontStack, ThemeFontWeights,
ThemeInsetShadowScale, ThemeLeading, ThemeMotion, ThemePerspective, ThemeRadii, ThemeShadow,
ThemeShadowLayer, ThemeShadows, ThemeTextScale, ThemeTextShadowScale, ThemeTextToken,
ThemeTracking, paint_theme_shadow,
};
pub use workspace::{
AdaptiveBreakpoints, AdaptiveClass, AdaptiveView, ConstraintOrientation, ConstraintQuery,
ConstraintView, MasterDetail, MasterDetailRoute, MasterDetailState, ResponsiveSidebar,
ResponsiveSidebarMode, ResponsiveSidebarSnapshot, ResponsiveSidebarState,
};