@principal-ade/panel-layouts 0.4.0 → 0.4.2
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 +26 -1
- package/dist/index.esm.js +117 -114
- package/dist/index.js +17 -17
- package/package.json +10 -11
- package/dist/index.css +0 -1
- package/dist/styles.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ import { JsonSchema } from '@principal-ade/panel-framework-core';
|
|
|
6
6
|
import { mapThemeToPanelVars } from '@principal-ade/panels';
|
|
7
7
|
import { mapThemeToTabVars } from '@principal-ade/panels';
|
|
8
8
|
import { PanelBlurEventPayload } from '@principal-ade/panel-framework-core';
|
|
9
|
+
import { PanelBounds } from '@principal-ade/panels';
|
|
10
|
+
import { PanelBoundsContextValue } from '@principal-ade/panels';
|
|
11
|
+
import { PanelBoundsProvider } from '@principal-ade/panels';
|
|
12
|
+
import { PanelBoundsProviderProps } from '@principal-ade/panels';
|
|
9
13
|
import { PanelDefinition } from '@principal-ade/panels';
|
|
10
14
|
import { PanelDefinitionWithContent } from '@principal-ade/panels';
|
|
11
15
|
import { PanelEventEmitter } from '@principal-ade/panel-framework-core';
|
|
@@ -13,12 +17,17 @@ import { PanelFocusEventPayload } from '@principal-ade/panel-framework-core';
|
|
|
13
17
|
import { PanelGroup } from '@principal-ade/panels';
|
|
14
18
|
import { PanelLayout } from '@principal-ade/panels';
|
|
15
19
|
import { PanelSlot } from '@principal-ade/panels';
|
|
20
|
+
import { PanelSlotPosition } from '@principal-ade/panels';
|
|
16
21
|
import { PanelTool } from '@principal-ade/panel-framework-core';
|
|
22
|
+
import { PanelTool as PanelTool_2 } from '@principal-ade/utcp-panel-event';
|
|
17
23
|
import { ResponsiveConfigurablePanelLayout } from '@principal-ade/panels';
|
|
18
24
|
import { ResponsiveConfigurablePanelLayoutProps } from '@principal-ade/panels';
|
|
19
25
|
import { TabsConfig } from '@principal-ade/panels';
|
|
20
26
|
import { Theme } from '@principal-ade/panels';
|
|
21
27
|
import { TilesConfig } from '@principal-ade/panels';
|
|
28
|
+
import { usePanelBounds } from '@principal-ade/panels';
|
|
29
|
+
import { UsePanelBoundsReturn } from '@principal-ade/panels';
|
|
30
|
+
import { usePanelOffset } from '@principal-ade/panels';
|
|
22
31
|
|
|
23
32
|
/**
|
|
24
33
|
* AgentCommandInput - Input field for the Agent Command Palette
|
|
@@ -405,7 +414,7 @@ export declare const layoutToolsMetadata: {
|
|
|
405
414
|
id: string;
|
|
406
415
|
name: string;
|
|
407
416
|
description: string;
|
|
408
|
-
tools:
|
|
417
|
+
tools: PanelTool_2[];
|
|
409
418
|
};
|
|
410
419
|
|
|
411
420
|
/**
|
|
@@ -478,6 +487,14 @@ export declare type OverlayVariant = 'soft-fade' | 'cascading-fade';
|
|
|
478
487
|
|
|
479
488
|
export { PanelBlurEventPayload }
|
|
480
489
|
|
|
490
|
+
export { PanelBounds }
|
|
491
|
+
|
|
492
|
+
export { PanelBoundsContextValue }
|
|
493
|
+
|
|
494
|
+
export { PanelBoundsProvider }
|
|
495
|
+
|
|
496
|
+
export { PanelBoundsProviderProps }
|
|
497
|
+
|
|
481
498
|
/**
|
|
482
499
|
* A button component for collapsing/expanding side panels.
|
|
483
500
|
*
|
|
@@ -672,6 +689,8 @@ export { PanelSlot }
|
|
|
672
689
|
*/
|
|
673
690
|
export declare type PanelSlotId = 'left' | 'middle' | 'right';
|
|
674
691
|
|
|
692
|
+
export { PanelSlotPosition }
|
|
693
|
+
|
|
675
694
|
/**
|
|
676
695
|
* A button component for switching/swapping panel positions.
|
|
677
696
|
*
|
|
@@ -1102,6 +1121,10 @@ export declare interface UseAgentCommandPaletteReturn {
|
|
|
1102
1121
|
showAutocomplete: boolean;
|
|
1103
1122
|
}
|
|
1104
1123
|
|
|
1124
|
+
export { usePanelBounds }
|
|
1125
|
+
|
|
1126
|
+
export { UsePanelBoundsReturn }
|
|
1127
|
+
|
|
1105
1128
|
/**
|
|
1106
1129
|
* Hook for managing panel focus state with keyboard shortcuts
|
|
1107
1130
|
*/
|
|
@@ -1192,6 +1215,8 @@ export declare interface UsePanelKeyboardShortcutsOptions {
|
|
|
1192
1215
|
onCollapse: (panel: 'left' | 'right') => void | Promise<void>;
|
|
1193
1216
|
}
|
|
1194
1217
|
|
|
1218
|
+
export { usePanelOffset }
|
|
1219
|
+
|
|
1195
1220
|
/**
|
|
1196
1221
|
* Hook for persisting panel layouts across sessions
|
|
1197
1222
|
*
|