refactor(shared): update utilities, API layer, and types

This commit is contained in:
Ilia Mashkov
2026-03-02 22:19:13 +03:00
parent ac73fd5044
commit 13818d5844
17 changed files with 554 additions and 96 deletions
+3 -3
View File
@@ -15,15 +15,15 @@ import type {
interface Props {
/**
* The Lucide icon component
* Lucide icon component
*/
icon: Component;
/**
* CSS classes to apply to the icon
* CSS classes
*/
class?: string;
/**
* Additional icon-specific attributes
* Additional attributes
*/
attrs?: Record<string, unknown>;
}
+8 -3
View File
@@ -15,17 +15,22 @@ import { setContext } from 'svelte';
import type { Snippet } from 'svelte';
interface Props {
/**
* Content snippet
*/
children: Snippet;
/**
* Initial viewport width for the responsive context (default: 1280)
* Initial viewport width
* @default 1280
*/
initialWidth?: number;
/**
* Initial viewport height for the responsive context (default: 720)
* Initial viewport height
* @default 720
*/
initialHeight?: number;
/**
* Tooltip provider options
* Tooltip delay duration
*/
tooltipDelayDuration?: number;
/**