easy-layout 5.0.107 → 5.1.4

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.
@@ -12,19 +12,11 @@ import { resetCursor } from "../cursor";
12
12
 
13
13
  class SplitterDiv extends Element {
14
14
  mouseOutHandler(event, element) {
15
- const disabled = this.isDisabled();
16
-
17
- if (!disabled) {
18
- resetCursor();
19
- }
15
+ resetCursor();
20
16
  }
21
17
 
22
18
  stopDragHandler(dropElement, aborted, element, done) {
23
- const disabled = this.isDisabled();
24
-
25
- if (!disabled) {
26
- resetCursor();
27
- }
19
+ resetCursor();
28
20
 
29
21
  done();
30
22
  }
@@ -13,5 +13,6 @@ class BottomSizeableDiv extends SizeableDiv {
13
13
  export default withStyle(BottomSizeableDiv)`
14
14
 
15
15
  height: 24rem;
16
+ min-height: 12rem;
16
17
 
17
18
  `;
@@ -13,6 +13,7 @@ class LeftSizeableDiv extends SizeableDiv {
13
13
  export default withStyle(LeftSizeableDiv)`
14
14
 
15
15
  width: 24rem;
16
- max-width: 48rem;
16
+ min-width: 12rem;
17
+ max-width: 36rem;
17
18
 
18
19
  `;
package/src/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ export { default as cursor } from "./cursor";
4
+
3
5
  export { default as RowDiv } from "./div/row";
4
6
  export { default as RowsDiv } from "./div/rows";
5
7
  export { default as ColumnDiv } from "./div/column";