mn-angular-lib 1.0.91 → 1.0.92

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.91",
3
+ "version": "1.0.92",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -3,3 +3,22 @@
3
3
  background-repeat: no-repeat;
4
4
  background-position: right 0.75rem center;
5
5
  }
6
+
7
+ .mn-form-row {
8
+ grid-template-columns: repeat(var(--mn-form-cols, 1), minmax(0, 1fr));
9
+ }
10
+
11
+ .mn-form-cell {
12
+ grid-column: span var(--mn-form-span, 1);
13
+ }
14
+
15
+ /* Collapse to a single column when the modal becomes a mobile bottom sheet */
16
+ @media (max-width: 639.98px) {
17
+ .mn-form-row {
18
+ grid-template-columns: 1fr;
19
+ }
20
+
21
+ .mn-form-cell {
22
+ grid-column: auto;
23
+ }
24
+ }
@@ -4462,8 +4462,6 @@ declare class MnFormBodyComponent<TModel = unknown, TResult = TModel> implements
4462
4462
  private subscribeToValueChanges;
4463
4463
  private previousFormValue;
4464
4464
  private reloadDependentDataSources;
4465
- getGridColumns(row: FormRow<TModel>): string;
4466
- getGridSpan(rowField: FormRowField<TModel>): string;
4467
4465
  /**
4468
4466
  * Invokes a FILE field's `onClear` callback when its existing image is removed.
4469
4467
  * FILE fields render {@link MnFileInput}, which owns selection/validation and