@flywheel-io/vision 21.1.2 → 21.1.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flywheel-io/vision",
3
- "version": "21.1.2",
3
+ "version": "21.1.3",
4
4
  "description": "Flywheel UI elements provided as Angular components and native web components",
5
5
  "author": "Flywheel",
6
6
  "license": "MIT",
@@ -1236,6 +1236,14 @@ declare class FwMenuItemComponent implements OnChanges, OnDestroy, AfterContentI
1236
1236
  readonly selected: _angular_core.ModelSignal<boolean>;
1237
1237
  subItems: QueryList<FwMenuSubItemComponent>;
1238
1238
  private subscriptions;
1239
+ private isDestroyed;
1240
+ /**
1241
+ * Whether this item's view has been torn down. Owners that iterate their items (`fw-menu`) have to
1242
+ * check this before writing to the item's `model()`s: neither `QueryList` nor a signal query is
1243
+ * emptied by view destruction, so an item can still be reachable from a query after the menu it
1244
+ * lives in was destroyed - writing to it then logs NG0953.
1245
+ */
1246
+ get destroyed(): boolean;
1239
1247
  scrollIntoView(options?: ScrollIntoViewOptions): void;
1240
1248
  focus(): void;
1241
1249
  isFocused(): boolean;