@ledvance/base 1.3.65 → 1.3.66

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.3.65",
7
+ "version": "1.3.66",
8
8
  "scripts": {
9
9
  "prepublishOnly": "python update-localazy.py"
10
10
  },
@@ -236,7 +236,7 @@ export default class WhitePicker extends Component<WhiteProps, IWhite> {
236
236
  this.pickerBound = validBound;
237
237
  };
238
238
 
239
- autoTemperaturePosition(temperature: number, validBound?: any) {
239
+ autoTemperaturePosition(temperature: number, validBound: any = { width: 0, height: 0 }) {
240
240
  let position;
241
241
  if (this.pickerRef) {
242
242
  position = this.pickerRef.valueToCoor({ temperature });