pub fn layout_stack(
toasts: &[ToastRecord],
heights: &HashMap<SharedString, f32>,
expanded: bool,
visible_toasts: usize,
) -> (Vec<StackTarget>, f32)Expand description
Computes exact stacked / expanded target positions, scales, heights, and container height
matching layoutStack in toast-stack.tsx lines 111-123.