laymur 0.19.2 → 0.19.3

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.
@@ -1,9 +1,9 @@
1
- import type { Texture } from "three";
2
1
  import type { UILayer } from "../../layers/UILayer/UILayer";
3
2
  import { UIColor } from "../../miscellaneous/color/UIColor";
4
3
  import type { UIColorConfig } from "../../miscellaneous/color/UIColor.Internal";
5
4
  import type { UIProgressMaskFunction } from "../../miscellaneous/mask-function/UIProgressMaskFunction";
6
5
  import { UITextureView } from "../../miscellaneous/texture/UITextureView";
6
+ import type { UITextureConfig } from "../../miscellaneous/texture/UITextureView.Internal";
7
7
  import { UIElement } from "../UIElement/UIElement";
8
8
  import type { UIProgressOptions } from "./UIProgress.Internal";
9
9
  /** Progress bar with customizable fill direction */
@@ -26,7 +26,7 @@ export declare class UIProgress extends UIElement {
26
26
  * @param texture - Texture to display
27
27
  * @param options - Configuration options
28
28
  */
29
- constructor(layer: UILayer, texture: Texture, options?: Partial<UIProgressOptions>);
29
+ constructor(layer: UILayer, texture: UITextureConfig, options?: Partial<UIProgressOptions>);
30
30
  /** Multiplicative tint. Alpha channel controls opacity. */
31
31
  get color(): UIColor;
32
32
  /** Function controlling fill direction and shape */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "laymur",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "description": "Constraint-based UI library for Three.js mobile advertisements",
5
5
  "keywords": [
6
6
  "ui",