mn-angular-lib 0.0.80 → 0.0.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -2407,7 +2407,10 @@ interface BaseModalConfig<TResult = unknown> {
2407
2407
  title?: string;
2408
2408
  subtitle?: string;
2409
2409
  description?: string;
2410
- size?: ModalSize;
2410
+ /** Width of the modal (uses ModalSize enum) */
2411
+ sizeWidth?: ModalSize;
2412
+ /** Height of the modal (e.g. '400px', '50vh', '90vh') */
2413
+ sizeHeight?: string;
2411
2414
  closeMode?: CloseMode;
2412
2415
  closeGuard?: () => Promise<boolean> | boolean;
2413
2416
  backdrop?: BackdropMode;
@@ -2678,7 +2681,10 @@ declare abstract class BaseModalBuilder<TConfig extends BaseModalConfig<TResult>
2678
2681
  subtitle(subtitle: string): this;
2679
2682
  description(description: string): this;
2680
2683
  closeGuard(guard: () => Promise<boolean> | boolean): this;
2681
- size(size: ModalSize): this;
2684
+ /** Set the width of the modal */
2685
+ sizeWidth(size: ModalSize): this;
2686
+ /** Set the height of the modal (e.g. '400px', '50vh', '90vh') */
2687
+ sizeHeight(height: string): this;
2682
2688
  closeMode(mode: CloseMode): this;
2683
2689
  backdrop(mode: BackdropMode): this;
2684
2690
  keyboard(mode: KeyboardMode): this;
@@ -2873,6 +2879,7 @@ declare class MnModalShellComponent<TResult = any> implements OnInit, AfterViewI
2873
2879
  private handleClose;
2874
2880
  get showBackdrop(): boolean;
2875
2881
  get containerSizeClass(): string;
2882
+ get containerHeightStyle(): string | null;
2876
2883
  get showCloseButton(): boolean;
2877
2884
  get animationClass(): string;
2878
2885
  get hasCustomFooterActions(): boolean;