@ethlete/core 5.0.0-next.54 → 5.0.0-next.55
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,12 @@
|
|
|
1
1
|
# @ethlete/core
|
|
2
2
|
|
|
3
|
+
## 5.0.0-next.55
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c067767`](https://github.com/ethlete-io/ethdk/commit/c06776704a32d7d78ba057389ac9efb157f0e4fc) Thanks [@TomTomB](https://github.com/TomTomB)! - An overlay opened without an `injector` or a `viewContainerRef` now reaches its own `providers` from
|
|
8
|
+
the content component, instead of resolving them against the opener's environment injector.
|
|
9
|
+
|
|
3
10
|
## 5.0.0-next.54
|
|
4
11
|
|
|
5
12
|
### Major Changes
|
|
@@ -8033,7 +8033,11 @@ const OVERLAY_RUNTIME_DEF = /* @__PURE__ */ defineRootProvider(() => {
|
|
|
8033
8033
|
const overlayEnvironmentInjector = createEnvironmentInjector(config.providers ?? [], parentEnvironmentInjector);
|
|
8034
8034
|
const elementInjector = Injector.create({
|
|
8035
8035
|
parent: parentInjector,
|
|
8036
|
-
|
|
8036
|
+
// Element DI chains to the opener, so without this the opener's environment injector answers
|
|
8037
|
+
// `EnvironmentInjector` from inside the overlay - and a component created through a
|
|
8038
|
+
// ViewContainerRef down there (the container's own content component) never sees
|
|
8039
|
+
// `config.providers`.
|
|
8040
|
+
providers: [{ provide: EnvironmentInjector, useValue: overlayEnvironmentInjector }],
|
|
8037
8041
|
});
|
|
8038
8042
|
const componentRef = createComponent(config.component, {
|
|
8039
8043
|
environmentInjector: overlayEnvironmentInjector,
|
|
@@ -10156,7 +10160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
10156
10160
|
|
|
10157
10161
|
// Generated from package.json by tools/scripts/generate-version.js - do not edit.
|
|
10158
10162
|
/** The version of `@ethlete/core` this build was cut from. */
|
|
10159
|
-
const CORE_VERSION = '5.0.0-next.
|
|
10163
|
+
const CORE_VERSION = '5.0.0-next.55';
|
|
10160
10164
|
|
|
10161
10165
|
/**
|
|
10162
10166
|
* Generated bundle index. Do not edit.
|