fc-dioxus 0.1.2

Typed, accessible Dioxus components over future-css
Documentation
//! The supported API for applications using `use fc_dioxus::prelude::*`.

pub use crate::behavior::{
    context::{ContextState, Effort, ModelChoice, ProviderChoice},
    date::Date,
    sort::SortDirection,
};
pub use crate::{
    components::alert::{Alert, AlertIcon, AlertTone, Dismiss, Urgency},
    components::avatar::{Avatar, AvatarGroup, AvatarSize},
    components::badge::{Badge, BadgeTone, Kbd, Tag, TagRemove},
    components::breadcrumb::{Breadcrumb, Crumb},
    components::button::{Button, ButtonProps, ButtonSize, ButtonType, ButtonVariant, LinkButton},
    components::button_group::{ButtonGroup, ControlGroup, ControlLabel, ControlLayout, GroupName},
    components::card::*,
    components::carousel::{Carousel, CarouselLayout, Slide},
    components::chat::{Chat, ChatGroup, Message, MessageAction, MessagePart, SentAt},
    components::check::{
        CheckGroup, CheckState, Checkbox, ControlName, Radio, RadioChoice, RadioScope, Switch,
        SwitchRow, SwitchSize,
    },
    components::citation::{Cite, Source, Sources},
    components::code::{CodeBlock, CodeLayout, CodeSource, SyntaxRole, SyntaxSpan},
    components::composer::{Attachment, Composer},
    components::context_strip::ContextStrip,
    components::datepicker::{DateNames, DatePicker, Time, TimePicker},
    components::description_list::{DescriptionItem, DescriptionList, DlLayout},
    components::dialog::{Dialog, DialogPlacement, DialogSize},
    components::diff::DiffView,
    components::disclosure::Disclosure,
    components::divider::{Divider, DividerInset, DividerProps},
    components::editor::{BlockTag, Editor, EditorState, Prose, TrustedHtml, DEFAULT_MARKS},
    components::empty_state::EmptyState,
    components::fab::{Fab, FabMenu, FabMenuItem, FabSize, FabTone},
    components::field::{
        Choice, ErrorSummary, Field, FieldError, Input, InputAddon, InputGroup, InputSize,
        InputType, InputVariant, NativeSelect, Necessity, Textarea,
    },
    components::git::{FileState, GitEntry, GitSurface},
    components::grid::{DataGrid, GridCell, GridColumn, GridEdit},
    components::icon::{Icon, IconButton, IconSize},
    components::list::{List, ListAction, ListItem},
    components::loading::{
        Loading, Progress, ProgressRing, ProgressValue, RingSize, Skeleton, SkeletonShape,
    },
    components::masthead::{Masthead, MastheadLink},
    components::menu::{ContextMenuArea, Menu, MenuAnchor, MenuButton, MenuEntry},
    components::multiselect::{MultiOption, MultiSelect},
    components::nav::{
        NavCurrent, NavFooter, NavGroup, NavHeading, NavIcon, NavLink, NavList, NavSidebar,
    },
    components::navbar::{NavBadge, Navbar, NavbarItem},
    components::pagination::{page_window, PageItem, Pagination},
    components::popover::{Popover, Tooltip},
    components::reasoning::Reasoning,
    components::search::{Search, SearchView},
    components::segmented::{Segment, Segmented, Segments},
    components::select::{Select, SelectChoice},
    components::semantic::{
        AgentStatus, Approval, DeviceAuth, Metric, Record, Transfer, UserPrompt,
    },
    components::slider::Slider,
    components::spinner::{
        ShimmerText, Spinner, SpinnerKind, SpinnerLabel, SpinnerSize, SpinnerTone,
    },
    components::split_button::SplitButton,
    components::splitter::{Resizable, Resize, Split},
    components::suggestion::{Suggestion, Suggestions},
    components::table::{SortMode, Table, TableCell, TableColumn, TableRow},
    components::tabs::{Activation, Tab, TabPanel, Tabs},
    components::terminal::{
        AnsiColor, CursorStyle, Sgr, SgrSet, TermLine, TermRun, TermState, Terminal,
    },
    components::theme_picker::{Contrast, Scheme, ThemeChoice, ThemePicker},
    components::toast::{
        use_toasts, Toast, ToastAction, ToastList, ToastOptions, ToastTone, Toaster, Toasts,
    },
    components::tool_call::{ToolCall, ToolProgress},
    components::toolbar::{Toolbar, ToolbarDivider, ToolbarItem, ToolbarLabel, ToolbarSurface},
    components::webview::{Webview, WebviewState},
    core::{
        attrs::{FcData, InvalidTimestamp, Kind, Spread, Timestamp},
        class::{Bem, ClassList, Modifier},
        controlled::{use_controllable, Controllable},
        icons::IconName,
        id::{use_id, Id},
        measure::Percent,
        platform::{Edge, MenuPoint},
        state::{Availability, HeadingLevel, Lifecycle, MessageRole, Orientation},
        text::{AccessibleName, Alt, ClipMode, Clipped},
    },
    theme::{
        use_direction, Brand, Design, Direction, FutureCss, FutureCssProps, Palette, Stylesheets,
        Theme,
    },
};
pub use crate::{fc_modifier, name};
pub use dioxus::prelude::*;