mn-angular-lib 1.0.156 → 1.0.158

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": "1.0.156",
3
+ "version": "1.0.158",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3",
@@ -2826,8 +2826,6 @@ type MnMultiSelectUIConfig = {
2826
2826
  errorMessages?: Record<string, string>;
2827
2827
  /** Text shown when no options match the search filter */
2828
2828
  noOptionsFound?: string;
2829
- /** Accessible label for the mobile sheet's close button (falls back to 'Close') */
2830
- closeLabel?: string;
2831
2829
  };
2832
2830
 
2833
2831
  declare const MN_MULTI_SELECT_CONFIG: InjectionToken<MnMultiSelectUIConfig>;
@@ -3292,8 +3290,6 @@ type MnDropdownUIConfig = {
3292
3290
  ariaLabel?: string;
3293
3291
  /** Default heading for the menu/sheet. */
3294
3292
  menuLabel?: string;
3295
- /** Accessible label for the mobile sheet's close button (falls back to "Close"). */
3296
- closeLabel?: string;
3297
3293
  /** Default placeholder for the search input (falls back to "Search..."). */
3298
3294
  searchPlaceholder?: string;
3299
3295
  /** Default empty-state text when the filter matches nothing (falls back to "No results"). */
@@ -3502,8 +3498,6 @@ declare class MnDropdown implements OnInit {
3502
3498
  } | null;
3503
3499
  /** Heading shown above the menu/sheet, or null when none is configured. */
3504
3500
  get menuLabel(): string | null;
3505
- /** Accessible label for the sheet's close button. */
3506
- get closeLabel(): string;
3507
3501
  /** Placeholder shown in the search input, preferring a resolved translation key. */
3508
3502
  get searchPlaceholder(): string;
3509
3503
  /** Text shown in place of the list when the filter matches no actions. */
@@ -6709,6 +6703,16 @@ type FormFieldView<TModel> = FormFieldConfig<TModel> & {
6709
6703
  };
6710
6704
  declare class MnFormBodyComponent<TModel = unknown, TResult = TModel> implements OnInit, OnDestroy, AfterViewInit {
6711
6705
  private fb;
6706
+ /**
6707
+ * Change detector used to announce state this component mutates outside an Angular
6708
+ * event handler — after an `await`, or from an RxJS subscription. Consuming apps run
6709
+ * zoneless, where such a write notifies nothing: the view is never marked dirty, so it
6710
+ * keeps rendering the stale value and `checkNoChanges` then reports it as NG0100
6711
+ * (e.g. the submit button staying disabled on "Submitting..." after a failed submit).
6712
+ * Every async mutation of {@link isSubmitting}, {@link fieldLoading}, {@link fieldOptions}
6713
+ * and {@link formErrors} must be followed by `markForCheck()`.
6714
+ */
6715
+ private readonly cdr;
6712
6716
  config: FormModalConfig<TModel, TResult>;
6713
6717
  modalRef: MnModalRef<TResult>;
6714
6718
  hideFooter: boolean;