laymur 0.2.5 → 0.2.7

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.
@@ -8,8 +8,6 @@ import { UISolverWrapper } from "../wrappers/UISolverWrapper";
8
8
  * Events that can be emitted by UI layers.
9
9
  */
10
10
  export declare enum UILayerEvent {
11
- /** Emitted when the layer's orientation is about to change between horizontal and vertical. */
12
- WILL_ORIENTATION_CHANGE = "will_orientation_change",
13
11
  /** Emitted when the layer's orientation changes between horizontal and vertical. */
14
12
  ORIENTATION_CHANGE = "orientation_change",
15
13
  /** Emitted when the layer's visibility/interaction mode changes. */
@@ -2,7 +2,7 @@ import { UIExpression } from "../miscellaneous/UIExpression";
2
2
  import { UIPriority } from "../miscellaneous/UIPriority";
3
3
  import { UIRelation } from "../miscellaneous/UIRelation";
4
4
  export declare class UISolverWrapper {
5
- private solver;
5
+ private solver?;
6
6
  private recalculationRequired;
7
7
  private readonly variables;
8
8
  private lastVariableIndex;
@@ -20,10 +20,10 @@ export declare class UISolverWrapper {
20
20
  setConstraintRelation(index: number, relation: UIRelation): void;
21
21
  setConstraintPriority(index: number, priority: UIPriority): void;
22
22
  setConstraintEnabled(index: number, enabled: boolean): void;
23
- private convertExpression;
24
23
  private rebuildVariable;
25
24
  private rebuildConstraintByDescription;
26
- private rebuildRawConstraint;
25
+ private rebuildConstraint;
27
26
  private buildConstraint;
27
+ private convertExpression;
28
28
  private rebuildSolver;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "laymur",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Lightweight Three.js UI toolkit mainly for mobile ads",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",