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 CHANGED
@@ -10,6 +10,40 @@ replacement and the version that removes the old API.
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [7.11.0-next.1] — 2026-11-19
14
+
15
+ **Pre-release** on npm's `next` tag, from the first feedback on 7.11.0-next.0. Additions and fixes
16
+ to widgets out of the panel only; nothing else changes.
17
+
18
+ ### Added
19
+
20
+ - **`useWidget().panelId`:** the id of the widget's own panel while it is out of its panel, for
21
+ workspace calls such as `updatePanelTitle`; `null` while it is in the panel. No need to compose
22
+ `'<ownerId>/<widgetId>'` yourself.
23
+ - **Out of the panel, the title icon opens the widget's menu, as it does in the panel.** Docked or a
24
+ tab, the tab's icon opens the same menu as a right-click on the tab; floating, the title bar's
25
+ icon opens the same menu as its ⋮ button (so, as that button, only with a `titleMenu`). Right-click
26
+ and ⋮ stay; ordinary panels' icons are unchanged. The icon gets
27
+ `.rdd-workspace-tab-icon--menu` / `.rdd-window-title-icon--menu`. With your own
28
+ `renderTabContent`, the tab's icon is yours and opens nothing.
29
+
30
+ ### Fixed
31
+
32
+ - **A widget's panel now brings its owner's panel contribution.** While it was the active panel,
33
+ `useActiveContribution()` (and so `useMergedToolbarItems` / `useMergedSidebarTabs`) gave `null`, so
34
+ the owner's toolbar items and sidebar tabs vanished while the user worked in the widget. It now
35
+ gives the owner's. Ordinary panels are unchanged.
36
+ - **A title set on a widget's panel is kept across moves out of the panel.** A move from one place out
37
+ of the panel to another (docked to floating, say) replaces the widget's panel, and the new one took
38
+ the widget's `title`, dropping one set with `updatePanelTitle`. It now keeps the title it had. A
39
+ re-open still applies the widget's `title`, which is the recommended place for a live title.
40
+
41
+ ### Docs
42
+
43
+ - **Widgets Out of the Panel:** a new section, "Content with its own view" (a place keeps its camera,
44
+ a range keeps what is visible); where the menu opens in each place; `panelId`; the title and
45
+ contribution notes.
46
+
13
47
  ## [7.11.0-next.0] — 2026-11-19
14
48
 
15
49
  **Pre-release** on npm's `next` tag (`npm install react-dockable-desktop@next`), for feedback before
@@ -1306,7 +1340,8 @@ All of the above is additive and backward-compatible: every new field is optiona
1306
1340
 
1307
1341
  ---
1308
1342
 
1309
- [Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.11.0-next.0...HEAD
1343
+ [Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.11.0-next.1...HEAD
1344
+ [7.11.0-next.1]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.11.0-next.0...v7.11.0-next.1
1310
1345
  [7.11.0-next.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.10.1...v7.11.0-next.0
1311
1346
  [7.10.1]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.10.0...v7.10.1
1312
1347
  [7.10.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.9.0...v7.10.0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # React Dockable Desktop
2
2
 
3
- [![npm version](https://img.shields.io/badge/npm-v7.11.0--next.0-blue.svg)](https://www.npmjs.com/package/react-dockable-desktop)
3
+ [![npm version](https://img.shields.io/badge/npm-v7.11.0--next.1-blue.svg)](https://www.npmjs.com/package/react-dockable-desktop)
4
4
  [![TypeScript](https://img.shields.io/badge/TypeScript-first-3178c6.svg)](https://www.typescriptlang.org/)
5
5
  [![Touch Ready](https://img.shields.io/badge/touch-iPad%20%7C%20Android-success.svg)](#touch--mobile)
6
6
  [![license](https://img.shields.io/badge/license-MIT-green.svg)](#license)