laymur 0.4.0 → 0.5.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.
- package/dist/elements/UIAnchor.d.ts +2 -2
- package/dist/elements/UIDummy.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import type { UILayer } from "../layers/UILayer";
|
|
|
3
3
|
import type { UIPointElement } from "../miscellaneous/asserts";
|
|
4
4
|
import type { UISolverWrapper } from "../wrappers/UISolverWrapper";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Base class representing a minimal UI element as a point in 2D space.
|
|
7
7
|
*
|
|
8
8
|
* A UIAnchor serves as the fundamental building block for UI layout systems,
|
|
9
9
|
* representing a single point with x and y coordinates. It provides constraint-based
|
|
@@ -14,7 +14,7 @@ import type { UISolverWrapper } from "../wrappers/UISolverWrapper";
|
|
|
14
14
|
* @see {@link UILayer} - Container layer for UI elements
|
|
15
15
|
* @see {@link UISolverWrapper} - Constraint solver integration
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
17
|
+
export declare class UIAnchor extends Eventail implements UIPointElement {
|
|
18
18
|
readonly layer: UILayer;
|
|
19
19
|
/** Optional name identifier for the anchor. */
|
|
20
20
|
name: string;
|
|
@@ -8,7 +8,7 @@ export interface UIDummyOptions {
|
|
|
8
8
|
height: number;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* UI element that extends UIAnchor with dimensions but without rendering.
|
|
12
12
|
*
|
|
13
13
|
* UIDummy represents a rectangular area in the UI layout system that has position
|
|
14
14
|
* and dimensions (width and height) but does not perform any visual rendering.
|
|
@@ -19,7 +19,7 @@ export interface UIDummyOptions {
|
|
|
19
19
|
* @see {@link UIPlaneElement} - Interface defining dimensional element behavior
|
|
20
20
|
* @see {@link UILayer} - Container layer for UI elements
|
|
21
21
|
*/
|
|
22
|
-
export declare
|
|
22
|
+
export declare class UIDummy extends UIAnchor implements UIPlaneElement {
|
|
23
23
|
/**
|
|
24
24
|
* Solver variable descriptor for the width dimension.
|
|
25
25
|
* This variable is managed by the constraint solver system.
|
package/dist/index.js
CHANGED
|
@@ -4256,7 +4256,7 @@ class UICustomConstraint extends UISingleParameterConstraint {
|
|
|
4256
4256
|
}
|
|
4257
4257
|
|
|
4258
4258
|
/**
|
|
4259
|
-
*
|
|
4259
|
+
* Base class representing a minimal UI element as a point in 2D space.
|
|
4260
4260
|
*
|
|
4261
4261
|
* A UIAnchor serves as the fundamental building block for UI layout systems,
|
|
4262
4262
|
* representing a single point with x and y coordinates. It provides constraint-based
|
|
@@ -5139,7 +5139,7 @@ class UIAnimatedImage extends UIElement {
|
|
|
5139
5139
|
/** Default width and height value for UIDummy elements. */
|
|
5140
5140
|
const DEFAULT_SIZE = 100;
|
|
5141
5141
|
/**
|
|
5142
|
-
*
|
|
5142
|
+
* UI element that extends UIAnchor with dimensions but without rendering.
|
|
5143
5143
|
*
|
|
5144
5144
|
* UIDummy represents a rectangular area in the UI layout system that has position
|
|
5145
5145
|
* and dimensions (width and height) but does not perform any visual rendering.
|