@nar-bus/lena-ui-shared 1.3.11 → 1.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +37 -0
- package/dist/index.js +1988 -1895
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2420,6 +2420,43 @@ export declare function PopoverContent({ className, align, sideOffset, ...props
|
|
|
2420
2420
|
|
|
2421
2421
|
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
|
|
2422
2422
|
|
|
2423
|
+
export declare function PreviewSection({ title, children, className }: PreviewSectionProps): JSX.Element;
|
|
2424
|
+
|
|
2425
|
+
export declare interface PreviewSectionProps {
|
|
2426
|
+
title: string;
|
|
2427
|
+
children: ReactNode;
|
|
2428
|
+
className?: string;
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
export declare function PreviewSheet({ open, onOpenChange, title, icon: Icon, headerGradient, badge, headerActions, footerActions, children, className, maxWidth, isLoading, closeLabel, }: PreviewSheetProps): JSX.Element;
|
|
2432
|
+
|
|
2433
|
+
export declare interface PreviewSheetProps {
|
|
2434
|
+
open: boolean;
|
|
2435
|
+
onOpenChange: (open: boolean) => void;
|
|
2436
|
+
title: string;
|
|
2437
|
+
/** Icon component rendered in the gradient header */
|
|
2438
|
+
icon?: ComponentType<{
|
|
2439
|
+
className?: string;
|
|
2440
|
+
style?: CSSProperties;
|
|
2441
|
+
}>;
|
|
2442
|
+
/** Gradient color theme for the header */
|
|
2443
|
+
headerGradient?: FormSheetGradient;
|
|
2444
|
+
/** Optional badge rendered next to the title */
|
|
2445
|
+
badge?: ReactNode;
|
|
2446
|
+
/** Action buttons rendered in the header (right side, replaces close button) */
|
|
2447
|
+
headerActions?: ReactNode;
|
|
2448
|
+
/** Action buttons rendered in the footer (right side) */
|
|
2449
|
+
footerActions?: ReactNode;
|
|
2450
|
+
children: ReactNode;
|
|
2451
|
+
className?: string;
|
|
2452
|
+
/** Sheet max width — defaults to 'lg' */
|
|
2453
|
+
maxWidth?: 'lg' | 'xl' | '2xl';
|
|
2454
|
+
/** Shows a centered loading spinner instead of children */
|
|
2455
|
+
isLoading?: boolean;
|
|
2456
|
+
/** Close button label override */
|
|
2457
|
+
closeLabel?: string;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2423
2460
|
export declare const priorityColors: {
|
|
2424
2461
|
readonly HIGH: "bg-status-error/10 text-status-error border-status-error/30 ring-status-error/30";
|
|
2425
2462
|
readonly MEDIUM: "bg-status-warning/10 text-status-warning border-status-warning/30 ring-status-warning/30";
|