refactor(ui): update shared components and add ControlGroup, SidebarContainer

This commit is contained in:
Ilia Mashkov
2026-03-02 22:19:35 +03:00
parent 13818d5844
commit 0dd08874bc
33 changed files with 927 additions and 203 deletions
@@ -14,20 +14,21 @@ interface Props {
*/
manager: PerspectiveManager;
/**
* Additional classes
* CSS classes
*/
class?: string;
/**
* Children
* Content snippet
*/
children: Snippet<[{ className?: string }]>;
/**
* Constrain plan to a horizontal region
* 'left' | 'right' | 'full' (default)
* Constrain region
* @default 'full'
*/
region?: 'left' | 'right' | 'full';
/**
* Width percentage when using left/right region (default 50)
* Region width percentage
* @default 50
*/
regionWidth?: number;
}