@ethlete/cdk 5.0.0-next.6 → 5.0.0-next.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ethlete/cdk
2
2
 
3
+ ## 5.0.0-next.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f0a47a0`](https://github.com/ethlete-io/ethdk/commit/f0a47a08b9e178c9317f28d1f4ae7daa5e3a3901) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix angular throwing NG0602 if a overlay gets opened from within a effect
8
+
3
9
  ## 5.0.0-next.6
4
10
 
5
11
  ### Minor Changes
@@ -6295,8 +6295,8 @@ const [provideOverlayManager, injectOverlayManager] = createRootProvider(() => {
6295
6295
  const overlayPaneEl = cdkRef.overlayRef.overlayElement;
6296
6296
  const backdropEl = cdkRef.overlayRef.backdropElement;
6297
6297
  const overlayWrapper = cdkRef.overlayRef.hostElement;
6298
- const strategyBreakpoints = runInInjectionContext(childInjector, () => config.strategies?.() ?? []);
6299
- const breakpointMatchResults = runInInjectionContext(childInjector, () => strategyBreakpoints.map((breakpointEntry) => breakpointEntry.breakpoint
6298
+ const strategyBreakpoints = untracked(() => runInInjectionContext(childInjector, () => config.strategies?.() ?? []));
6299
+ const breakpointMatchResults = untracked(() => runInInjectionContext(childInjector, () => strategyBreakpoints.map((breakpointEntry) => breakpointEntry.breakpoint
6300
6300
  ? {
6301
6301
  isActive: breakpointObserver.observeBreakpoint({ min: breakpointEntry.breakpoint }),
6302
6302
  strategy: breakpointEntry.strategy,
@@ -6310,7 +6310,7 @@ const [provideOverlayManager, injectOverlayManager] = createRootProvider(() => {
6310
6310
  isActive: signal(true),
6311
6311
  strategy: breakpointEntry.strategy,
6312
6312
  size: 0,
6313
- }));
6313
+ })));
6314
6314
  const getHighestMatchedStrategy = () => {
6315
6315
  const activeBreakpoints = breakpointMatchResults.filter((entry) => entry.isActive());
6316
6316
  return activeBreakpoints.reduce((prev, curr) => (prev.size > curr.size ? prev : curr)).strategy;