@idetik/core 0.22.1 → 0.23.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/index.d.ts CHANGED
@@ -375,7 +375,6 @@ type LayerState = "initialized" | "loading" | "ready";
375
375
  type BlendMode = "none" | "normal" | "additive" | "subtractive" | "multiply" | "premultiplied";
376
376
  type StateChangeCallback = (newState: LayerState, prevState?: LayerState) => void;
377
377
  interface LayerOptions {
378
- transparent?: boolean;
379
378
  opacity?: number;
380
379
  blendMode?: BlendMode;
381
380
  }
@@ -387,10 +386,9 @@ declare abstract class Layer {
387
386
  private objects_;
388
387
  private state_;
389
388
  private readonly callbacks_;
390
- transparent: boolean;
391
389
  private opacity_;
392
390
  blendMode: BlendMode;
393
- constructor({ transparent, opacity, blendMode, }?: LayerOptions);
391
+ constructor({ opacity, blendMode }?: LayerOptions);
394
392
  get opacity(): number;
395
393
  set opacity(value: number);
396
394
  abstract update(context?: RenderContext): void;
@@ -753,6 +751,7 @@ type ChannelProps = {
753
751
  visible?: boolean;
754
752
  color?: ColorLike;
755
753
  contrastLimits?: [number, number];
754
+ opacity?: number;
756
755
  };
757
756
  /** Layer that exposes channel controls. */
758
757
  interface ChannelsEnabled {