softbox 4.14.0 → 4.15.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.cts CHANGED
@@ -425,6 +425,16 @@ export declare interface RendererOptions {
425
425
  vignette?: boolean;
426
426
  /** Opt-in subtle photographic film grain. */
427
427
  filmGrain?: boolean;
428
+ /**
429
+ * Opt-in contrast + saturation grade applied after tone mapping — adds punch
430
+ * (a more "hero" read) while keeping the tone-mapping operator's hue. Pass
431
+ * `true` for a balanced default, or an object to tune each amount (roughly
432
+ * `-1..1`, `0` = no change). Off by default.
433
+ */
434
+ colorGrade?: boolean | {
435
+ contrast?: number;
436
+ saturation?: number;
437
+ };
428
438
  }
429
439
 
430
440
  /**
package/dist/index.d.ts CHANGED
@@ -425,6 +425,16 @@ export declare interface RendererOptions {
425
425
  vignette?: boolean;
426
426
  /** Opt-in subtle photographic film grain. */
427
427
  filmGrain?: boolean;
428
+ /**
429
+ * Opt-in contrast + saturation grade applied after tone mapping — adds punch
430
+ * (a more "hero" read) while keeping the tone-mapping operator's hue. Pass
431
+ * `true` for a balanced default, or an object to tune each amount (roughly
432
+ * `-1..1`, `0` = no change). Off by default.
433
+ */
434
+ colorGrade?: boolean | {
435
+ contrast?: number;
436
+ saturation?: number;
437
+ };
428
438
  }
429
439
 
430
440
  /**
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BW9wb96V.cjs");exports.ControlType=e.ControlType;exports.ErrorCode=e.ErrorCode;exports.Hotspot=e.Hotspot;exports.SimpleViewer=e.SimpleViewerWrapper;exports.ThreeViewerError=e.ThreeViewerError;exports.TypedEventEmitter=e.TypedEventEmitter;exports.VIEWER_PRESETS=e.VIEWER_PRESETS;exports.defaultOptions=e.defaultOptions;exports.resolvePreset=e.resolvePreset;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-B03eGw0q.cjs");exports.ControlType=e.ControlType;exports.ErrorCode=e.ErrorCode;exports.Hotspot=e.Hotspot;exports.SimpleViewer=e.SimpleViewerWrapper;exports.ThreeViewerError=e.ThreeViewerError;exports.TypedEventEmitter=e.TypedEventEmitter;exports.VIEWER_PRESETS=e.VIEWER_PRESETS;exports.defaultOptions=e.defaultOptions;exports.resolvePreset=e.resolvePreset;
@@ -1,4 +1,4 @@
1
- import { f as s, E as o, H as a, h as t, e as E, T as i, V as p, i as T, r as l } from "./index-CiNsCOOs.js";
1
+ import { f as s, E as o, H as a, h as t, e as E, T as i, V as p, i as T, r as l } from "./index-0AEVL2vy.js";
2
2
  export {
3
3
  s as ControlType,
4
4
  o as ErrorCode,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "softbox",
3
3
  "private": false,
4
- "version": "4.14.0",
4
+ "version": "4.15.0",
5
5
  "homepage": "https://leming.github.io/softbox/",
6
6
  "type": "module",
7
7
  "description": "Batteries-included React 3D viewer — any GLB looks studio-shot in one line",