@ethlete/cdk 4.50.3 → 4.51.0
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 +10 -0
- package/fesm2022/ethlete-cdk.mjs +1 -1
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @ethlete/cdk
|
|
2
2
|
|
|
3
|
+
## 4.51.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`84815e1`](https://github.com/ethlete-io/ethdk/commit/84815e11636c39e9b3bd8853a72930e1ac43556c) Thanks [@TomTomB](https://github.com/TomTomB)! - Allow passing a view container ref to `createOverlayHandler`
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`84815e1`](https://github.com/ethlete-io/ethdk/commit/84815e11636c39e9b3bd8853a72930e1ac43556c) Thanks [@TomTomB](https://github.com/TomTomB)! - Make view container injection optional in `createOverlayHandler`
|
|
12
|
+
|
|
3
13
|
## 4.50.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/fesm2022/ethlete-cdk.mjs
CHANGED
|
@@ -14101,7 +14101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
14101
14101
|
const createOverlayHandler = (rootConfig) => {
|
|
14102
14102
|
const fn = (innerConfig) => {
|
|
14103
14103
|
const overlayService = inject(OverlayService);
|
|
14104
|
-
const viewContainerRef = inject(ViewContainerRef);
|
|
14104
|
+
const viewContainerRef = rootConfig.viewContainerRef ?? inject(ViewContainerRef, { optional: true }) ?? undefined;
|
|
14105
14105
|
const destroyRef = inject(DestroyRef);
|
|
14106
14106
|
const tpl = rootConfig.component ?? rootConfig.template;
|
|
14107
14107
|
if (!tpl) {
|