@liberation-data/desk 0.39.1 → 0.39.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/css/dock.css CHANGED
@@ -70,6 +70,30 @@
70
70
  height: calc(100% - var(--desk-dock-room));
71
71
  }
72
72
 
73
+ /*
74
+ * The room is where windows start, not a wall. A window dragged toward the dock goes on under it, as it would under a
75
+ * Mac's: only the dock is drawn over it, not the lane it stands in. The stage clips across that lane, and the screen
76
+ * that holds the dock clips at its own edge, so nothing scrolls.
77
+ */
78
+ :has(> .desk-dock[data-placement="overlay"]) {
79
+ overflow: hidden;
80
+ }
81
+
82
+ :has(> .desk-dock[data-placement="overlay"][data-side="left"]) > .desk-stage {
83
+ overflow: visible;
84
+ clip-path: inset(0 0 0 calc(-1 * var(--desk-dock-room)));
85
+ }
86
+
87
+ :has(> .desk-dock[data-placement="overlay"][data-side="right"]) > .desk-stage {
88
+ overflow: visible;
89
+ clip-path: inset(0 calc(-1 * var(--desk-dock-room)) 0 0);
90
+ }
91
+
92
+ :has(> .desk-dock[data-placement="overlay"][data-side="bottom"]) > .desk-stage {
93
+ overflow: visible;
94
+ clip-path: inset(0 0 calc(-1 * var(--desk-dock-room)) 0);
95
+ }
96
+
73
97
  .desk-dock-separator {
74
98
  flex: none;
75
99
  align-self: stretch;
package/dist/desk.css CHANGED
@@ -843,6 +843,30 @@
843
843
  height: calc(100% - var(--desk-dock-room));
844
844
  }
845
845
 
846
+ /*
847
+ * The room is where windows start, not a wall. A window dragged toward the dock goes on under it, as it would under a
848
+ * Mac's: only the dock is drawn over it, not the lane it stands in. The stage clips across that lane, and the screen
849
+ * that holds the dock clips at its own edge, so nothing scrolls.
850
+ */
851
+ :has(> .desk-dock[data-placement="overlay"]) {
852
+ overflow: hidden;
853
+ }
854
+
855
+ :has(> .desk-dock[data-placement="overlay"][data-side="left"]) > .desk-stage {
856
+ overflow: visible;
857
+ clip-path: inset(0 0 0 calc(-1 * var(--desk-dock-room)));
858
+ }
859
+
860
+ :has(> .desk-dock[data-placement="overlay"][data-side="right"]) > .desk-stage {
861
+ overflow: visible;
862
+ clip-path: inset(0 calc(-1 * var(--desk-dock-room)) 0 0);
863
+ }
864
+
865
+ :has(> .desk-dock[data-placement="overlay"][data-side="bottom"]) > .desk-stage {
866
+ overflow: visible;
867
+ clip-path: inset(0 0 calc(-1 * var(--desk-dock-room)) 0);
868
+ }
869
+
846
870
  .desk-dock-separator {
847
871
  flex: none;
848
872
  align-self: stretch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liberation-data/desk",
3
- "version": "0.39.1",
3
+ "version": "0.39.2",
4
4
  "description": "A desktop for the web, for React: windows, a dock, menus and commands, controls, tours and setup assistants.",
5
5
  "keywords": [
6
6
  "react",
package/src/css/dock.css CHANGED
@@ -69,6 +69,30 @@
69
69
  height: calc(100% - var(--desk-dock-room));
70
70
  }
71
71
 
72
+ /*
73
+ * The room is where windows start, not a wall. A window dragged toward the dock goes on under it, as it would under a
74
+ * Mac's: only the dock is drawn over it, not the lane it stands in. The stage clips across that lane, and the screen
75
+ * that holds the dock clips at its own edge, so nothing scrolls.
76
+ */
77
+ :has(> .desk-dock[data-placement="overlay"]) {
78
+ overflow: hidden;
79
+ }
80
+
81
+ :has(> .desk-dock[data-placement="overlay"][data-side="left"]) > .desk-stage {
82
+ overflow: visible;
83
+ clip-path: inset(0 0 0 calc(-1 * var(--desk-dock-room)));
84
+ }
85
+
86
+ :has(> .desk-dock[data-placement="overlay"][data-side="right"]) > .desk-stage {
87
+ overflow: visible;
88
+ clip-path: inset(0 calc(-1 * var(--desk-dock-room)) 0 0);
89
+ }
90
+
91
+ :has(> .desk-dock[data-placement="overlay"][data-side="bottom"]) > .desk-stage {
92
+ overflow: visible;
93
+ clip-path: inset(0 0 calc(-1 * var(--desk-dock-room)) 0);
94
+ }
95
+
72
96
  .desk-dock-separator {
73
97
  flex: none;
74
98
  align-self: stretch;