@ship-ui/core 0.16.3 → 0.16.6

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/index.d.ts CHANGED
@@ -124,7 +124,11 @@ declare class ShipDialogService {
124
124
  open<T extends {
125
125
  data?: InputSignal<any>;
126
126
  closed?: OutputEmitterRef<any>;
127
- }, K = ComponentDataType<T>, U = ComponentClosedType<T>, _Options extends ShipDialogServiceOptions<K, U | undefined> = ShipDialogServiceOptions<K, U | undefined>>(component: Type<T>, options?: _Options): ShipDialogInstance<T>;
127
+ } | {
128
+ data?: InputSignal<any>;
129
+ } | {
130
+ closed?: OutputEmitterRef<any>;
131
+ } | {}, K = ComponentDataType<T>, U = ComponentClosedType<T>, _Options extends ShipDialogServiceOptions<K, U | undefined> = ShipDialogServiceOptions<K, U | undefined>>(component: Type<T>, options?: _Options): ShipDialogInstance<T>;
128
132
  ngOnDestroy(): void;
129
133
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipDialogService, never>;
130
134
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ShipDialogService>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.16.3",
4
+ "version": "0.16.6",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=20",
7
7
  "@angular/core": ">=20"
@@ -163,7 +163,8 @@ $shipMenu: true !default;
163
163
  flex-direction: column;
164
164
  justify-content: center;
165
165
  text-align: left;
166
- min-height: p2r(32);
166
+ // min-height: p2r(32);
167
+ height: min-content;
167
168
  margin: p2r(0 8);
168
169
  padding: p2r(4 8);
169
170
  gap: p2r(0 8);