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 mod datetime;
15pub(crate) mod editor_runtime;
16#[cfg(test)]
17pub(crate) mod locale_switch_test;
18pub(crate) mod row_metrics;
19pub(crate) mod row_offsets;
20pub(crate) mod scroll;
21pub(crate) mod text_nav;
22#[cfg(test)]
23pub(crate) mod thumb_drag_test;
24pub(crate) mod type_ahead;
25pub(crate) mod viewport;