react-dockable-desktop 7.6.0 → 7.6.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
@@ -6,6 +6,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [7.6.1] — 2026-10-04
10
+
11
+ Internal restructuring. No behaviour, API or visual change.
12
+
13
+ ### Internal
14
+
15
+ - **The large source files are split into modules**, mirroring vue- and angular-dockable-desktop:
16
+ - `src/types.ts`: the layout, state and action types.
17
+ - `src/core/`: `workspaceCore.ts` (the workspace store), `layoutTree.ts`, `serialize.ts`,
18
+ `eventBus.ts`, `messages.ts`, `stretch.ts`, `panelOverlayGeometry.ts`. None depends on React.
19
+ - `src/components/workspace/`: the workspace view (`LeafGroup`, `WorkspaceGrid`,
20
+ `FloatingWindows`, `Taskbar`, `WorkspaceZones`, `panelMount`, the drag, menu and size hooks).
21
+ - `src/components/panelOverlay/`: the overlay root, toolbar, search, floating widget and hooks.
22
+
23
+ `WindowManager.tsx` (2,420 lines → 502), `WindowManagerContext.tsx` (2,475 → 321) and
24
+ `PanelOverlay.tsx` (1,497 → 18) keep every export they had, re-exporting what moved, so every
25
+ import path still works. Code was moved, not rewritten: the published API (157 exported names) is
26
+ unchanged, and the unit, browser and visual-baseline suites pass untouched.
27
+ - **The stylesheet is built from area files.** `src/styles/NN-area.css` (tokens, base, tabs, grid,
28
+ taskbar, floating windows, context menu, drop zones, one file per skin, sidebar, modals, drawers,
29
+ RTL, toolbar, panel overlay, toasts, focus…) are concatenated in file-name order into
30
+ `src/index.css`, which is generated and committed, and published as `dist/styles.css`. The
31
+ published stylesheet is byte-identical to 7.6.0 apart from a header comment. To change a style,
32
+ edit the area file and run `npm run css` (or `npm run css:watch`); `npm run css:check` and a
33
+ unit test fail if `src/index.css` is out of date.
34
+
9
35
  ## [7.6.0] — 2026-10-04
10
36
 
11
37
  Context menus open with nothing highlighted, the same every time.
@@ -780,7 +806,8 @@ All of the above is additive and backward-compatible: every new field is optiona
780
806
 
781
807
  ---
782
808
 
783
- [Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.6.0...HEAD
809
+ [Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.6.1...HEAD
810
+ [7.6.1]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.6.0...v7.6.1
784
811
  [7.6.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.5.0...v7.6.0
785
812
  [7.5.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.4.1...v7.5.0
786
813
  [7.4.1]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.4.0...v7.4.1
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.6.0-blue.svg)](https://www.npmjs.com/package/react-dockable-desktop)
3
+ [![npm version](https://img.shields.io/badge/npm-v7.6.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)