react-dockable-desktop 5.1.0 → 5.1.2

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/dist/styles.css CHANGED
@@ -378,6 +378,7 @@ body,
378
378
 
379
379
  /* Global body cursor overrides during active resize drag to prevent cursor flickering */
380
380
  body.rdd-resizing-active {
381
+ -webkit-user-select: none !important;
381
382
  user-select: none !important;
382
383
  }
383
384
  body.rdd-resizing-row-active,
@@ -859,7 +860,10 @@ body.rdd-resizing-col-active * {
859
860
  .rdd-dock-drop-zone-overlay {
860
861
  position: absolute;
861
862
  inset: 0;
862
- z-index: 100;
863
+ /* Must outrank .rdd-workspace-edge-trigger (+8999) and .rdd-corner-zone (+9000) —
864
+ a leaf's cross commonly falls within the outer edge band or a corner region,
865
+ and the more specific per-leaf target should win the hover/drop hit-test there. */
866
+ z-index: calc(var(--rdd-z-base, 1000) + 9001);
863
867
  display: flex;
864
868
  align-items: center;
865
869
  justify-content: center;
@@ -902,7 +906,9 @@ body.rdd-resizing-col-active * {
902
906
  color: var(--rdd-text-secondary);
903
907
  }
904
908
 
905
- .rdd-dock-target-box:hover {
909
+ /* State-driven (activeDropZone), not :hover-driven — :hover never reliably
910
+ updates during an active drag in Safari, and doesn't exist on touch at all. */
911
+ .rdd-dock-target-box--active {
906
912
  background-color: var(--rdd-accent-color) !important;
907
913
  border-color: #ffffff !important;
908
914
  color: #090b11 !important;
@@ -979,6 +985,10 @@ body.rdd-resizing-col-active * {
979
985
  .rdd-dragging-active * {
980
986
  cursor: grabbing !important;
981
987
  }
988
+ body.rdd-dragging-active {
989
+ -webkit-user-select: none !important;
990
+ user-select: none !important;
991
+ }
982
992
 
983
993
  /* --- Theme Variables for Sidebar and Tabs --- */
984
994
  [data-color-scheme="dark"] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dockable-desktop",
3
- "version": "5.1.0",
3
+ "version": "5.1.2",
4
4
  "description": "A premium, state-of-the-art window manager and dockable layout engine for React. Supports fluid grid splits, tabbed groups, floating resizable windows, zero-unmount state preservation, context menus, and internationalization.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",