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
+13 -1
View File
@@ -8,10 +8,22 @@ import { Label } from '$shared/ui';
import type { ComponentProps } from 'svelte';
interface Props extends Pick<ComponentProps<typeof Label>, 'variant'> {
/**
* Stat label
*/
label: string;
/**
* Stat value
*/
value: string | number;
/** Renders a 1px vertical divider after the stat. */
/**
* Show separator
* @default false
*/
separator?: boolean;
/**
* CSS classes
*/
class?: string;
}