mn-angular-lib 0.0.49 → 0.0.50

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.49",
3
+ "version": "0.0.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -418,6 +418,11 @@ interface MnInputFieldUIConfig {
418
418
  placeholder?: string;
419
419
  /** ARIA label for screen readers (falls back to label if not provided) */
420
420
  ariaLabel?: string;
421
+ /**
422
+ * Error messages resolved from config (supports $translate markers).
423
+ * These override built-in error messages but are overridden by props.errorMessages.
424
+ */
425
+ errorMessages?: Record<string, string>;
421
426
  }
422
427
  /**
423
428
  * Properties for standard input fields (text, email, password, tel, url, number, search).
@@ -1085,6 +1090,11 @@ interface MnTextareaUIConfig {
1085
1090
  placeholder?: string;
1086
1091
  /** ARIA label for screen readers (falls back to label if not provided) */
1087
1092
  ariaLabel?: string;
1093
+ /**
1094
+ * Error messages resolved from config (supports $translate markers).
1095
+ * These override built-in error messages but are overridden by props.errorMessages.
1096
+ */
1097
+ errorMessages?: Record<string, string>;
1088
1098
  }
1089
1099
 
1090
1100
  declare const MN_TEXTAREA_CONFIG: InjectionToken<MnTextareaUIConfig>;
@@ -1312,6 +1322,11 @@ interface MnCheckboxUIConfig {
1312
1322
  label?: string;
1313
1323
  /** ARIA label for screen readers (falls back to label if not provided) */
1314
1324
  ariaLabel?: string;
1325
+ /**
1326
+ * Error messages resolved from config (supports $translate markers).
1327
+ * These override built-in error messages but are overridden by props.errorMessages.
1328
+ */
1329
+ errorMessages?: Record<string, string>;
1315
1330
  }
1316
1331
 
1317
1332
  declare const MN_CHECKBOX_CONFIG: InjectionToken<MnCheckboxUIConfig>;
@@ -1476,6 +1491,11 @@ interface MnDatetimeUIConfig {
1476
1491
  placeholder?: string;
1477
1492
  /** ARIA label for screen readers (falls back to label if not provided) */
1478
1493
  ariaLabel?: string;
1494
+ /**
1495
+ * Error messages resolved from config (supports $translate markers).
1496
+ * These override built-in error messages but are overridden by props.errorMessages.
1497
+ */
1498
+ errorMessages?: Record<string, string>;
1479
1499
  }
1480
1500
 
1481
1501
  declare const MN_DATETIME_CONFIG: InjectionToken<MnDatetimeUIConfig>;
@@ -1642,6 +1662,11 @@ interface MnMultiSelectUIConfig {
1642
1662
  placeholder?: string;
1643
1663
  /** ARIA label for screen readers (falls back to label if not provided) */
1644
1664
  ariaLabel?: string;
1665
+ /**
1666
+ * Error messages resolved from config (supports $translate markers).
1667
+ * These override built-in error messages but are overridden by props.errorMessages.
1668
+ */
1669
+ errorMessages?: Record<string, string>;
1645
1670
  }
1646
1671
 
1647
1672
  declare const MN_MULTI_SELECT_CONFIG: InjectionToken<MnMultiSelectUIConfig>;