react-dockable-desktop 7.12.0-next.0 → 7.12.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 +48 -1
- package/README.md +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -2
- package/dist/index.d.ts +21 -2
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/styles.css +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,52 @@ replacement and the version that removes the old API.
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [7.12.0-next.1] — 2026-11-21
|
|
14
|
+
|
|
15
|
+
**Pre-release** on npm's `next` tag, from the first feedback on 7.12.0-next.0. A fix for CSS-in-JS in
|
|
16
|
+
production builds, and small additions to pop-out windows only; nothing else changes. Additions
|
|
17
|
+
only.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **What the app hands the library is styled in a pop-out in production.** The app's
|
|
22
|
+
`popoutWrapper` was only around the panel's content. The window's frame (the panel's or widget's
|
|
23
|
+
`icon`, the title) and a context menu shown in the window were outside it, so with CSS-in-JS in a
|
|
24
|
+
production build (rules inserted with `insertRule`) their icons got no styles there: an MUI
|
|
25
|
+
`SvgIcon` measured 0 × 0 and couldn't be clicked, and menu icons were the browser's default
|
|
26
|
+
black. In a pop-out, the wrapper is now also rendered around the frame, a menu shown there and the
|
|
27
|
+
toasts shown there, with that window's `{ window, document }`. The main window is unchanged. The
|
|
28
|
+
wrapper is now rendered more than once per window, so keep one cache per document (the guide's
|
|
29
|
+
`WeakMap` recipe already does).
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **Events `panel:popping-out { id }` and `panel:returning { id }`**, sent just before the panel's
|
|
34
|
+
element leaves the page (once the window's page is ready), and just before it leaves the window,
|
|
35
|
+
whatever brings it back. `panel:popped-out` and `panel:returned` follow. Not sent for a refused
|
|
36
|
+
pop-out, a panel closed while out, or for docking and floating.
|
|
37
|
+
- **Toasts show in the window the user is in.** A toast raised while a pop-out window has focus
|
|
38
|
+
shows in that window; otherwise in the main window, as before. It stays in the window it was shown
|
|
39
|
+
in, and goes when that window closes (its `onClose` runs). No new API. With a `ToastAdapter`, the
|
|
40
|
+
other library decides, as before.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- **The window's "Return to desktop" button is an icon button in the skin**, the same look as a
|
|
45
|
+
floating window's title-bar buttons (it is also `.rdd-custom-tab-btn`). Its label
|
|
46
|
+
(`returnToDesktop`, or `backIntoPanel` for a widget) is now its tooltip and accessible name, not
|
|
47
|
+
its text: a test that finds it by its text should use its role and name. The class
|
|
48
|
+
`.rdd-popout-frame__return` stays, as the styling hook.
|
|
49
|
+
|
|
50
|
+
### Docs
|
|
51
|
+
|
|
52
|
+
- **Pop-out Windows:** the production warning also covers icons handed to the frame and menus; the
|
|
53
|
+
wrapper in a pop-out; the new events; testing pop-outs with Playwright; why `popoutUrl` (embeds
|
|
54
|
+
that refuse a blank window, such as a YouTube player); where `inOwnWindow` appears, for
|
|
55
|
+
translators; LuciadRIA's keyboard navigation beside Leaflet's drag; toasts in the focused window;
|
|
56
|
+
the return button. **Toast Notifications:** pop-out windows. **Event Bus** and **Workspace:** the
|
|
57
|
+
new events and `popoutUrl`.
|
|
58
|
+
|
|
13
59
|
## [7.12.0-next.0] — 2026-11-21
|
|
14
60
|
|
|
15
61
|
**Pre-release** on npm's `next` tag (`npm install react-dockable-desktop@next`), for feedback before
|
|
@@ -1502,7 +1548,8 @@ All of the above is additive and backward-compatible: every new field is optiona
|
|
|
1502
1548
|
|
|
1503
1549
|
---
|
|
1504
1550
|
|
|
1505
|
-
[Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.12.0-next.
|
|
1551
|
+
[Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.12.0-next.1...HEAD
|
|
1552
|
+
[7.12.0-next.1]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.12.0-next.0...v7.12.0-next.1
|
|
1506
1553
|
[7.12.0-next.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.11.0...v7.12.0-next.0
|
|
1507
1554
|
[7.11.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.10.1...v7.11.0
|
|
1508
1555
|
[7.11.0-next.1]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.11.0-next.0...v7.11.0-next.1
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# React Dockable Desktop
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/react-dockable-desktop)
|
|
4
4
|
[](https://www.typescriptlang.org/)
|
|
5
5
|
[](#touch--mobile)
|
|
6
6
|
[](#license)
|