@ni/nimble-components 28.3.0 → 28.3.1

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.
@@ -16333,7 +16333,7 @@
16333
16333
 
16334
16334
  /**
16335
16335
  * Do not edit directly
16336
- * Generated on Fri, 10 May 2024 22:25:18 GMT
16336
+ * Generated on Mon, 13 May 2024 09:36:44 GMT
16337
16337
  */
16338
16338
 
16339
16339
  const Information100DarkUi = "#a46eff";
@@ -76180,9 +76180,11 @@ img.ProseMirror-separator {
76180
76180
  // this scale is used for positioning the dies on the canvas
76181
76181
  this._verticalScale = this.createVerticalScale(originLocation, gridDimensions, containerDiameter);
76182
76182
  this._invertedVerticalScale = this.createInvertedVerticalScale(originLocation, gridDimensions, containerDiameter);
76183
+ const dieWidth = this.horizontalScale.bandwidth();
76184
+ const dieHeight = this.verticalScale.bandwidth();
76183
76185
  this._dieDimensions = {
76184
- width: this.horizontalScale.bandwidth(),
76185
- height: this.verticalScale.bandwidth()
76186
+ width: isNaN(dieWidth) ? 0 : dieWidth,
76187
+ height: isNaN(dieHeight) ? 0 : dieHeight
76186
76188
  };
76187
76189
  }
76188
76190
  gridDimensionsValidAndDefined() {
@@ -76753,6 +76755,10 @@ img.ProseMirror-separator {
76753
76755
  this.renderHover();
76754
76756
  }
76755
76757
  renderHover() {
76758
+ if (this.wafermap.dataManager.dieDimensions === undefined
76759
+ || this.wafermap.transform === undefined) {
76760
+ return;
76761
+ }
76756
76762
  this.wafermap.hoverWidth = this.wafermap.dataManager.dieDimensions.width
76757
76763
  * this.wafermap.transform.k;
76758
76764
  this.wafermap.hoverHeight = this.wafermap.dataManager.dieDimensions.height
@@ -78025,6 +78031,10 @@ img.ProseMirror-separator {
78025
78031
  this.renderHover();
78026
78032
  }
78027
78033
  renderHover() {
78034
+ if (this.wafermap.experimentalDataManager.dieDimensions === undefined
78035
+ || this.wafermap.transform === undefined) {
78036
+ return;
78037
+ }
78028
78038
  this.wafermap.hoverWidth = this.wafermap.experimentalDataManager.dieDimensions.width
78029
78039
  * this.wafermap.transform.k;
78030
78040
  this.wafermap.hoverHeight = this.wafermap.experimentalDataManager.dieDimensions.height