@ni/ok-components 0.3.10 → 0.3.12

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.
@@ -1412,9 +1412,6 @@
1412
1412
  };
1413
1413
  }
1414
1414
 
1415
- // A singleton Range instance used to efficiently remove ranges of DOM nodes.
1416
- // See the implementation of HTMLView below for further details.
1417
- const range$1 = document.createRange();
1418
1415
  /**
1419
1416
  * The standard View implementation, which also implements ElementView and SyntheticView.
1420
1417
  * @public
@@ -1549,23 +1546,16 @@
1549
1546
  this.source = null;
1550
1547
  }
1551
1548
  /**
1552
- * Efficiently disposes of a contiguous range of synthetic view instances.
1549
+ * Disposes of a contiguous range of synthetic view instances.
1553
1550
  * @param views - A contiguous range of views to be disposed.
1554
1551
  */
1555
1552
  static disposeContiguousBatch(views) {
1556
1553
  if (views.length === 0) {
1557
1554
  return;
1558
1555
  }
1559
- range$1.setStartBefore(views[0].firstChild);
1560
- range$1.setEndAfter(views[views.length - 1].lastChild);
1561
- range$1.deleteContents();
1562
1556
  for (let i = 0, ii = views.length; i < ii; ++i) {
1563
1557
  const view = views[i];
1564
- const behaviors = view.behaviors;
1565
- const oldSource = view.source;
1566
- for (let j = 0, jj = behaviors.length; j < jj; ++j) {
1567
- behaviors[j].unbind(oldSource);
1568
- }
1558
+ view.dispose();
1569
1559
  }
1570
1560
  }
1571
1561
  }
@@ -19373,8 +19363,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
19373
19363
 
19374
19364
  const coreLabelDefaults = {
19375
19365
  popupDismissLabel: 'Close',
19376
- numericIncrementLabel: 'Increment',
19377
19366
  numericDecrementLabel: 'Decrement',
19367
+ numericIncrementLabel: 'Increment',
19378
19368
  popupIconErrorLabel: 'Error',
19379
19369
  popupIconWarningLabel: 'Warning',
19380
19370
  popupIconCompletedLabel: 'Completed',
@@ -71884,11 +71874,6 @@ focus outline in that case.
71884
71874
  /** @internal */
71885
71875
  onCellActionMenuToggle(event, column) {
71886
71876
  this.menuOpen = event.detail.newState;
71887
- // Workaround for Firefox issue when action menus opened on different rows
71888
- // See: https://github.com/ni/nimble/issues/2744
71889
- if (!event.detail.newState) {
71890
- this.currentActionMenuColumn = undefined;
71891
- }
71892
71877
  this.emitActionMenuToggleEvent('row-action-menu-toggle', event.detail, column);
71893
71878
  }
71894
71879
  /** @internal */