@principal-ade/panel-layouts 0.3.5 → 0.3.6
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 +39 -0
- package/dist/index.esm.js +927 -700
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +67 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -260,6 +260,41 @@ export declare interface FocusIndicatorProps {
|
|
|
260
260
|
style?: default_2.CSSProperties;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Overlay component that dims panels during focus mode
|
|
265
|
+
*
|
|
266
|
+
* Supports multiple calming animation styles:
|
|
267
|
+
* - soft-fade: Simple opacity transition
|
|
268
|
+
* - cascading-fade: Staggered fade-in timing
|
|
269
|
+
*
|
|
270
|
+
* Optional effects (can be combined):
|
|
271
|
+
* - noise: Subtle film grain texture
|
|
272
|
+
* - vignette-drift: Slow-moving darker edges
|
|
273
|
+
* - radial-breathing: Gentle center-to-edge pulse
|
|
274
|
+
*/
|
|
275
|
+
export declare const FocusModeOverlay: default_2.FC<FocusModeOverlayProps>;
|
|
276
|
+
|
|
277
|
+
export declare interface FocusModeOverlayProps {
|
|
278
|
+
/** Whether the overlay is active/visible */
|
|
279
|
+
active: boolean;
|
|
280
|
+
/** Visual style variant */
|
|
281
|
+
variant?: OverlayVariant;
|
|
282
|
+
/** Optional subtle animation effects (can combine multiple) */
|
|
283
|
+
effects?: OverlayEffect[];
|
|
284
|
+
/** Base opacity when fully visible (0-1), default 0.95 */
|
|
285
|
+
opacity?: number;
|
|
286
|
+
/** Animation duration in ms */
|
|
287
|
+
animationDuration?: number;
|
|
288
|
+
/** For cascading-fade: delay before this overlay starts (ms) */
|
|
289
|
+
cascadeDelay?: number;
|
|
290
|
+
/** Custom overlay color (overrides theme color) */
|
|
291
|
+
color?: string;
|
|
292
|
+
/** Custom class name */
|
|
293
|
+
className?: string;
|
|
294
|
+
/** Custom styles */
|
|
295
|
+
style?: default_2.CSSProperties;
|
|
296
|
+
}
|
|
297
|
+
|
|
263
298
|
/**
|
|
264
299
|
* Tool: Focus Panel
|
|
265
300
|
*
|
|
@@ -434,6 +469,10 @@ export declare interface OpenAITool {
|
|
|
434
469
|
function: OpenAIFunction;
|
|
435
470
|
}
|
|
436
471
|
|
|
472
|
+
export declare type OverlayEffect = 'vignette-drift' | 'radial-breathing' | 'snowfall';
|
|
473
|
+
|
|
474
|
+
export declare type OverlayVariant = 'soft-fade' | 'cascading-fade';
|
|
475
|
+
|
|
437
476
|
export { PanelBlurEventPayload }
|
|
438
477
|
|
|
439
478
|
/**
|