narraleaf-react 0.42.3 → 0.42.4

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.
@@ -11,7 +11,18 @@ export type BlindsOrientation = "horizontal" | "vertical";
11
11
  export declare function clamp01(value: number): number;
12
12
  /** The `mask-image` triplet, mirrored to the `-webkit-` prefix for WebKit. */
13
13
  export declare function maskStyle(image: string, size?: string, repeat?: string): CSSProps;
14
- /** Full-bleed positioning for a synthetic colour overlay layer. */
14
+ /**
15
+ * Full-bleed positioning for a synthetic colour overlay layer.
16
+ *
17
+ * The box reaches {@link OVERLAY_BLEED} past the frame on every side. The stage scales by a
18
+ * non-integer factor, so the images this covers are laid out at fractional sizes and the browser
19
+ * draws their outermost row of pixels with partial coverage; a colour box that matches the frame
20
+ * exactly stops at the whole pixel inside that row and leaves it showing, as a hairline of the
21
+ * picture along the top or the bottom edge. For a fade *through* a colour - which is meant to
22
+ * reach a frame of solid colour and hand the images over behind it - that hairline is the one
23
+ * thing the frame must not have. The layer is synthetic and has no content to distort, so
24
+ * growing it costs nothing.
25
+ */
15
26
  export declare function overlayBase(color: string): CSSProps;
16
27
  /** CSS gradient direction keyword for a wipe travelling toward `direction`. */
17
28
  export declare function wipeGradientDir(direction: TransformDefinitions.WipeDirection): string;