Skip to main content

teksilo_widgets/
common.rs

1// SPDX-License-Identifier: MPL-2.0
2// SPDX-FileCopyrightText: 2026 FernTech
3
4//! Cross-widget shared infrastructure.
5//!
6//! Helpers and types reused by more than one widget in `teksilo-widgets` but
7//! that don't fit cleanly under any single widget's module. Members are
8//! re-exported by their submodule name; rebinding through `common::*`
9//! is intentional so the widget code reads `common::datetime::Date`
10//! without dragging the underlying crate name (`jiff`) into the public
11//! surface.
12
13pub(crate) mod column_geometry;
14pub(crate) mod conformance_box;
15pub mod datetime;
16pub mod drag_autoscroll;
17pub(crate) mod drop_bands;
18#[cfg(test)]
19mod editor_focus_tests;
20pub(crate) mod editor_runtime;
21#[cfg(test)]
22pub(crate) mod heard_test;
23pub(crate) mod interaction;
24pub(crate) mod list_nav;
25#[cfg(test)]
26pub(crate) mod locale_switch_test;
27pub mod ordered_move;
28pub(crate) mod range_nav;
29pub(crate) mod row_metrics;
30pub(crate) mod row_offsets;
31pub(crate) mod row_reveal;
32pub(crate) mod scroll;
33pub mod scrollable;
34pub(crate) mod standard_edit;
35pub(crate) mod text_nav;
36pub(crate) mod text_scroll;
37#[cfg(test)]
38pub(crate) mod thumb_drag_test;
39pub(crate) mod tree_expand;
40pub(crate) mod type_ahead;
41pub(crate) mod viewport;