@orangelogic/design-system 2.229.0 → 2.230.0
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.
|
@@ -32,7 +32,7 @@ let i = class extends m {
|
|
|
32
32
|
super.connectedCallback(), this.slot === "left" ? this.side = "left" : this.slot === "right" && (this.side = "right"), this.collapsible || (this.open = !0);
|
|
33
33
|
}
|
|
34
34
|
handleDrag(e) {
|
|
35
|
-
this.resizable
|
|
35
|
+
!this.resizable || !this.open || (e.cancelable && e.preventDefault(), this.state = "dragging", y(this, {
|
|
36
36
|
initialEvent: e,
|
|
37
37
|
onMove: (o) => {
|
|
38
38
|
let t = o;
|
|
@@ -70,7 +70,8 @@ let i = class extends m {
|
|
|
70
70
|
sidebar: !0,
|
|
71
71
|
"sidebar--left": this.side === "left",
|
|
72
72
|
"sidebar--no-header": !e,
|
|
73
|
-
|
|
73
|
+
// A collapsed sidebar has nothing to resize: its divider takes no pointer events.
|
|
74
|
+
"sidebar--not-resizable": !this.resizable || !this.open,
|
|
74
75
|
"sidebar--opened": this.open,
|
|
75
76
|
"sidebar--right": this.side === "right"
|
|
76
77
|
})}><div class=${h({
|
package/library/package.json
CHANGED