react-dockable-desktop 7.11.0-next.0 → 7.11.0-next.1
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/CHANGELOG.md +36 -1
- package/README.md +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2980,6 +2980,11 @@ interface WidgetHandle {
|
|
|
2980
2980
|
id: string;
|
|
2981
2981
|
/** The workspace panel that owns it, or `null` when its overlay isn't in one. */
|
|
2982
2982
|
ownerPanelId: string | null;
|
|
2983
|
+
/**
|
|
2984
|
+
* The id of the widget's own panel while it is out of its owner panel, for workspace calls such
|
|
2985
|
+
* as `updatePanelTitle`; `null` while it is in the panel (7.11.0-next.1).
|
|
2986
|
+
*/
|
|
2987
|
+
panelId: string | null;
|
|
2983
2988
|
/** Where it is shown now. A component that reads it re-renders when it changes. */
|
|
2984
2989
|
location: WidgetLocation;
|
|
2985
2990
|
/**
|
|
@@ -3059,7 +3064,8 @@ declare function usePanelContribution(contribution: PanelContribution): void;
|
|
|
3059
3064
|
/**
|
|
3060
3065
|
* Returns whatever the currently active panel (`state.activePanelId`) has published
|
|
3061
3066
|
* via `usePanelContribution()`, or `null` if no panel is active or the active panel
|
|
3062
|
-
* hasn't contributed anything.
|
|
3067
|
+
* hasn't contributed anything. When the active panel shows a managed widget moved out of
|
|
3068
|
+
* its owner panel (7.11.0), this is the owner's contribution. Intended for the app shell to merge into its own
|
|
3063
3069
|
* `<RddToolbar items={...}>` / `<RddSidebar tabs={...}>` calls.
|
|
3064
3070
|
*
|
|
3065
3071
|
* @throws Error if used outside of a {@link DockableDesktopProvider}.
|
package/dist/index.d.ts
CHANGED
|
@@ -2980,6 +2980,11 @@ interface WidgetHandle {
|
|
|
2980
2980
|
id: string;
|
|
2981
2981
|
/** The workspace panel that owns it, or `null` when its overlay isn't in one. */
|
|
2982
2982
|
ownerPanelId: string | null;
|
|
2983
|
+
/**
|
|
2984
|
+
* The id of the widget's own panel while it is out of its owner panel, for workspace calls such
|
|
2985
|
+
* as `updatePanelTitle`; `null` while it is in the panel (7.11.0-next.1).
|
|
2986
|
+
*/
|
|
2987
|
+
panelId: string | null;
|
|
2983
2988
|
/** Where it is shown now. A component that reads it re-renders when it changes. */
|
|
2984
2989
|
location: WidgetLocation;
|
|
2985
2990
|
/**
|
|
@@ -3059,7 +3064,8 @@ declare function usePanelContribution(contribution: PanelContribution): void;
|
|
|
3059
3064
|
/**
|
|
3060
3065
|
* Returns whatever the currently active panel (`state.activePanelId`) has published
|
|
3061
3066
|
* via `usePanelContribution()`, or `null` if no panel is active or the active panel
|
|
3062
|
-
* hasn't contributed anything.
|
|
3067
|
+
* hasn't contributed anything. When the active panel shows a managed widget moved out of
|
|
3068
|
+
* its owner panel (7.11.0), this is the owner's contribution. Intended for the app shell to merge into its own
|
|
3063
3069
|
* `<RddToolbar items={...}>` / `<RddSidebar tabs={...}>` calls.
|
|
3064
3070
|
*
|
|
3065
3071
|
* @throws Error if used outside of a {@link DockableDesktopProvider}.
|