laymur 0.1.13 → 0.1.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "laymur",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "tiny ui three js library",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",
@@ -1,62 +0,0 @@
1
- import type { UIConstraintPower } from "../Constraints/UIConstraintPower";
2
- import type { UIConstraintRule } from "../Constraints/UIConstraintRule";
3
- import type { UIHeightConstraint } from "../Constraints/UIHeightConstraint";
4
- import type { UIHorizontalDistanceConstraint } from "../Constraints/UIHorizontalDistanceConstraint";
5
- import type { UIHorizontalProportionConstraint } from "../Constraints/UIHorizontalProportionConstraint";
6
- import type { UIVerticalDistanceConstraint } from "../Constraints/UIVerticalDistanceConstraint";
7
- import type { UIVerticalProportionConstraint } from "../Constraints/UIVerticalProportionConstraint";
8
- import type { UIWidthConstraint } from "../Constraints/UIWidthConstraint";
9
- import type { UIElement } from "../Elements/UIElement";
10
- import type { UILayer } from "../Layers/UILayer";
11
- import type { UIOrientation } from "../Miscellaneous/UIOrientation";
12
- export interface UISize2DConstraintParameters {
13
- element: UIElement;
14
- width: number;
15
- height: number;
16
- powerHorizontal?: UIConstraintPower;
17
- powerVertical?: UIConstraintPower;
18
- ruleHorizontal?: UIConstraintRule;
19
- ruleVertical?: UIConstraintRule;
20
- orientationHorizontal?: UIOrientation;
21
- orientationVertical?: UIOrientation;
22
- }
23
- export interface UIDistance2DConstraintParameters {
24
- elementOne: UIElement | UILayer;
25
- elementTwo: UIElement;
26
- anchorHorizontalOne?: number;
27
- anchorVerticalOne?: number;
28
- anchorHorizontalTwo?: number;
29
- anchorVerticalTwo?: number;
30
- distanceHorizontal?: number;
31
- distanceVertical?: number;
32
- powerHorizontal?: UIConstraintPower;
33
- powerVertical?: UIConstraintPower;
34
- ruleHorizontal?: UIConstraintRule;
35
- ruleVertical?: UIConstraintRule;
36
- orientationHorizontal?: UIOrientation;
37
- orientationVertical?: UIOrientation;
38
- }
39
- export interface UIProportion2DConstraintParameters {
40
- elementOne: UIElement | UILayer;
41
- elementTwo: UIElement;
42
- proportionHorizontal?: number;
43
- proportionVertical?: number;
44
- powerHorizontal?: UIConstraintPower;
45
- powerVertical?: UIConstraintPower;
46
- ruleHorizontal?: UIConstraintRule;
47
- ruleVertical?: UIConstraintRule;
48
- orientationHorizontal?: UIOrientation;
49
- orientationVertical?: UIOrientation;
50
- }
51
- export interface UISize2DConstraint {
52
- width: UIWidthConstraint;
53
- height: UIHeightConstraint;
54
- }
55
- export interface UIDistance2DConstraint {
56
- horizontal: UIHorizontalDistanceConstraint;
57
- vertical: UIVerticalDistanceConstraint;
58
- }
59
- export interface UIProprtion2DConstraint {
60
- horizontal: UIHorizontalProportionConstraint;
61
- vertical: UIVerticalProportionConstraint;
62
- }