@operato/property-panel 10.29.103 → 10.29.105

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.
@@ -213,7 +213,7 @@ export class PropertyScene3D extends AbstractProperty {
213
213
  `;
214
214
  }
215
215
  _renderRenderer(value) {
216
- var _a;
216
+ var _a, _b, _c;
217
217
  const exposure = Number((_a = value.exposure) !== null && _a !== void 0 ? _a : 1.2);
218
218
  return html `
219
219
  <fieldset>
@@ -245,6 +245,19 @@ export class PropertyScene3D extends AbstractProperty {
245
245
  />
246
246
  <span>${exposure.toFixed(2)}</span>
247
247
  </div>
248
+
249
+ <label>Environment Light</label>
250
+ <div class="range-with-value">
251
+ <input
252
+ type="range"
253
+ min="0"
254
+ max="1.5"
255
+ step="0.05"
256
+ value-key="environmentIntensity"
257
+ .value=${String((_b = value.environmentIntensity) !== null && _b !== void 0 ? _b : 1)}
258
+ />
259
+ <span>${Number((_c = value.environmentIntensity) !== null && _c !== void 0 ? _c : 1).toFixed(2)}</span>
260
+ </div>
248
261
  </div>
249
262
  </fieldset>
250
263
  `;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/property-panel",
3
3
  "description": "Webcomponent property-panel following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "10.29.103",
5
+ "version": "10.29.105",
6
6
  "type": "module",
7
7
  "main": "dist/src/index.js",
8
8
  "module": "dist/src/index.js",
@@ -128,5 +128,5 @@
128
128
  "prettier --write"
129
129
  ]
130
130
  },
131
- "gitHead": "0701cedf56745cf52cd99539b75d0159f269db39"
131
+ "gitHead": "1ea7fe9913ad043c9a345f8e96e4546faa6d412c"
132
132
  }