1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// SPDX-License-Identifier: MPL-2.0
// SPDX-FileCopyrightText: 2026 FernTech
//! Tier-3 style protocol for `RadioTile`. See `docs/styling-system.md`.
//!
//! A `RadioTile` is a "selectable card" — a bordered, rounded surface that
//! behaves as a single radio option (`Role::RadioButton`, `set_toggled`)
//! while rendering a leading icon, a bold title, an inline radio indicator,
//! and a muted description. The host widget composes the tile's *content*
//! (icon / title / indicator / description) and hands it to the style as a
//! single `content` id; the style owns only the card chrome — background,
//! border, corner radius, padding, and any elevation shadow — driven by the
//! selection / hover / press / focus / disabled cascade.
//!
//! This mirrors [`StandardItemStyleConfig`](crate::styles::StandardItemStyleConfig)
//! (content-plus-state) rather than [`RadioStyleConfig`](crate::styles::RadioStyleConfig)
//! (a bare glyph), because a tile is a container whose chrome wraps arbitrary
//! content, not a self-drawn mark.
use Rc;
use ;
use crateBuildContext;
use crateSignal;
use crateWidgetId;
/// Design-language variant for a `RadioTile` (in `teksilo-widgets`).
/// The active `RadioTileStyle` decides what each variant means visually.
/// Everything a [`RadioTileStyle`] needs to render one tile's chrome.
///
/// All state is delivered as reactive `Signal`s so the chrome repaints on
/// interaction without a rebuild. The window-active / focus split matches
/// [`StandardItemStyleConfig`](crate::styles::StandardItemStyleConfig): a
/// selected tile shows the vivid selection surface only while its group
/// holds keyboard focus **and** the window is active, and the keyboard focus
/// ring appears only under `is_focused && is_focus_visible`.
/// Tier-3 style protocol for `RadioTile`. Implement this to fully replace the
/// card chrome (per-call `RadioTile::style(...)` or theme-wide
/// `theme.style_slots.radio_tile = Some(Rc::new(MyTile))`).
pub type SharedRadioTileStyle = ;