@principal-ade/panel-layouts 0.3.5 → 0.3.7
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 +41 -0
- package/dist/index.esm.js +987 -744
- 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,43 @@ 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
|
+
/** Hide overlay on hover to allow interaction with underlying panel */
|
|
293
|
+
hideOnHover?: boolean;
|
|
294
|
+
/** Custom class name */
|
|
295
|
+
className?: string;
|
|
296
|
+
/** Custom styles */
|
|
297
|
+
style?: default_2.CSSProperties;
|
|
298
|
+
}
|
|
299
|
+
|
|
263
300
|
/**
|
|
264
301
|
* Tool: Focus Panel
|
|
265
302
|
*
|
|
@@ -434,6 +471,10 @@ export declare interface OpenAITool {
|
|
|
434
471
|
function: OpenAIFunction;
|
|
435
472
|
}
|
|
436
473
|
|
|
474
|
+
export declare type OverlayEffect = 'vignette-drift' | 'radial-breathing' | 'snowfall';
|
|
475
|
+
|
|
476
|
+
export declare type OverlayVariant = 'soft-fade' | 'cascading-fade';
|
|
477
|
+
|
|
437
478
|
export { PanelBlurEventPayload }
|
|
438
479
|
|
|
439
480
|
/**
|