@wippy-fe/types-global-proxy 0.0.48 → 0.0.50
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/index.d.ts +26 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PanelTree, ModalSize, SizeValue, PanelTarget } from '@wippy-fe/layout';
|
|
1
|
+
import { PanelTree, FloatingAnchor, ModalSize, SizeValue, PanelTarget } from '@wippy-fe/layout';
|
|
2
2
|
import { AxiosDefaults, AxiosInstance } from 'axios';
|
|
3
3
|
import { ConfirmationOptions } from 'primevue/confirmationoptions';
|
|
4
4
|
import { ToastMessageOptions } from 'primevue/toast';
|
|
@@ -54,7 +54,7 @@ interface HostComponentPanelDef extends HostPanelBase {
|
|
|
54
54
|
* `kind: 'builtin'` ids without colliding (and so the declaration
|
|
55
55
|
* shows ownership at a glance).
|
|
56
56
|
*/
|
|
57
|
-
type HostBuiltinId = '@HOST/nav-sidebar' | '@HOST/chat-wrapper' | '@HOST/artifact-viewer' | '@HOST/session-selector';
|
|
57
|
+
type HostBuiltinId = '@HOST/nav-sidebar' | '@HOST/chat-wrapper' | '@HOST/artifact-viewer' | '@HOST/session-selector' | '@HOST/compat-coordinator' | '@HOST/panel-tab';
|
|
58
58
|
interface HostBuiltinPanelDef extends HostPanelBase {
|
|
59
59
|
kind: 'builtin';
|
|
60
60
|
id: HostBuiltinId;
|
|
@@ -96,6 +96,14 @@ type HostFloatingDef = HostOverlayContent & HostOverlayBase & {
|
|
|
96
96
|
x: number;
|
|
97
97
|
y: number;
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Pin to viewport edges instead of `position`'s absolute pixels — the
|
|
101
|
+
* only way to express "the right edge" or "vertically centred", which
|
|
102
|
+
* is what edge chrome always wants. Passes through to
|
|
103
|
+
* `FloatingPanelDef.anchor` in `@wippy-fe/layout`; honoured for
|
|
104
|
+
* `chrome: false` panels only.
|
|
105
|
+
*/
|
|
106
|
+
anchor?: FloatingAnchor;
|
|
99
107
|
size: {
|
|
100
108
|
width: number;
|
|
101
109
|
height: number;
|
|
@@ -167,6 +175,22 @@ interface HostLayoutDeclaration {
|
|
|
167
175
|
* same kind/builtin-id checks as panels.
|
|
168
176
|
*/
|
|
169
177
|
coordinators?: Record<string, HostCoordinatorDef>;
|
|
178
|
+
/**
|
|
179
|
+
* Deprecated alias for {@link HostLayoutDeclaration.coordinators}.
|
|
180
|
+
*
|
|
181
|
+
* This was the field's original, working name — validated, resolved,
|
|
182
|
+
* and shipped with its own `@SERVICE/` reserved id namespace in 1.0.26.
|
|
183
|
+
* A later vocabulary pass renamed it to `coordinators` with no alias
|
|
184
|
+
* and no deprecation period, so declarations written against the
|
|
185
|
+
* published docs silently stopped mounting their coordinators.
|
|
186
|
+
*
|
|
187
|
+
* It is merged into `coordinators` at declaration load, restoring the
|
|
188
|
+
* documented behaviour. Entries under `coordinators` win on an id
|
|
189
|
+
* collision. New declarations should use `coordinators`.
|
|
190
|
+
*
|
|
191
|
+
* @deprecated Use `coordinators`. Retained so existing declarations keep working.
|
|
192
|
+
*/
|
|
193
|
+
services?: Record<string, HostCoordinatorDef>;
|
|
170
194
|
dragEnabled?: boolean;
|
|
171
195
|
}
|
|
172
196
|
/**
|
package/package.json
CHANGED