mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-29 09:46:29 +01:00
craft-design-lint's mapped_crates_have_no_findings failed on main after #3401. runtime::egui::text_edit (layer 2) imported COLORED_TEXT_LIMIT, ColorRange and RangeInk from primitives::text_input (layer 3), and ColorRange had public fields without #[non_exhaustive]. The four items move from primitives::text_input to the new module primitives::color_ranges, which depends only on std and is mapped at layer 2 in design/layers/craft-ui-contract/primitives.toml, as contract::memo is in contract.toml. craft_ui::primitives still exports them under the same names. ColorRange gains #[non_exhaustive]; callers outside the crate already build it with ColorRange::new.