@praxisui/dialog 8.0.0-beta.27 → 8.0.0-beta.28

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.
@@ -1115,7 +1115,14 @@ function applySurfaceHostInputs(ref, hostInputs) {
1115
1115
  const apply = () => {
1116
1116
  if (!ref.componentInstance)
1117
1117
  return false;
1118
- Object.assign(ref.componentInstance, hostInputs);
1118
+ if (typeof ref.componentRef?.setInput === 'function') {
1119
+ for (const [key, value] of Object.entries(hostInputs)) {
1120
+ ref.componentRef.setInput(key, value);
1121
+ }
1122
+ }
1123
+ else {
1124
+ Object.assign(ref.componentInstance, hostInputs);
1125
+ }
1119
1126
  try {
1120
1127
  ref.componentRef?.changeDetectorRef?.detectChanges();
1121
1128
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@praxisui/dialog",
3
- "version": "8.0.0-beta.27",
3
+ "version": "8.0.0-beta.28",
4
4
  "description": "Dialog helpers and components for Praxis UI with Angular Material integration.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
7
7
  "@angular/core": "^20.0.0",
8
8
  "@angular/cdk": "^20.0.0",
9
9
  "@angular/forms": "^20.0.0",
10
- "@praxisui/core": "^8.0.0-beta.27",
10
+ "@praxisui/core": "^8.0.0-beta.28",
11
11
  "@angular/material": "^20.0.0",
12
12
  "@angular/platform-browser": "^20.0.0",
13
13
  "rxjs": "~7.8.0"