mn-angular-lib 1.0.176 → 1.0.178

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.176",
3
+ "version": "1.0.178",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3",
@@ -4126,9 +4126,11 @@ declare class MnSelect implements OnInit {
4126
4126
  triggerRef: ElementRef<HTMLElement>;
4127
4127
  /** Layout classes for the anchored popover panel. The mobile sheet is rendered by
4128
4128
  * mn-bottom-sheet instead, so it no longer needs a branch here. */
4129
- readonly panelClasses = "fixed z-9999 bg-base-100 border border-base-300 rounded-md shadow-lg max-h-60 overflow-auto";
4129
+ readonly panelClasses = "fixed z-9999 w-max bg-base-100 border border-base-300 rounded-md shadow-lg max-h-60 overflow-auto";
4130
4130
  /** The panel's own height cap in pixels: the `max-h-60` above, restated for the placement maths. */
4131
4131
  static readonly PANEL_MAX_HEIGHT_PX = 240;
4132
+ /** Space kept between a widened panel and the viewport's right edge. */
4133
+ static readonly PANEL_EDGE_GAP_PX = 8;
4132
4134
  /** Layout classes for the invisible click shield rendered under the anchored panel.
4133
4135
  * One step below the panel's z-index so the panel itself stays clickable, and above
4134
4136
  * any modal/drawer chrome (which tops out well under 9998). */
@@ -4176,7 +4178,8 @@ declare class MnSelect implements OnInit {
4176
4178
  top: string;
4177
4179
  bottom: string;
4178
4180
  left: string;
4179
- width: string;
4181
+ minWidth: string;
4182
+ maxWidth: string;
4180
4183
  maxHeight: string | null;
4181
4184
  };
4182
4185
  private onChange;
@@ -4337,6 +4340,9 @@ declare class MnSelect implements OnInit {
4337
4340
  /**
4338
4341
  * Calculates the fixed position for the dropdown based on the trigger element: below it
4339
4342
  * while the viewport has room, above it otherwise, never past the viewport's edge.
4343
+ * The panel is never narrower than the trigger but grows to its widest option, so a compact
4344
+ * trigger (the collection page-size picker) cannot squeeze the selected row's check mark
4345
+ * over its label. It stops at the viewport's right edge, where long labels truncate.
4340
4346
  */
4341
4347
  private updateDropdownPosition;
4342
4348
  /**
@@ -4880,6 +4886,8 @@ declare abstract class MnCollectionBase<T, DS extends MnCollectionDataSource<T>>
4880
4886
  get collectionState(): MnCollectionState;
4881
4887
  /** Whether the collection is currently loading (skeleton placeholders shown). */
4882
4888
  get isLoadingState(): boolean;
4889
+ /** Accessible name for the loading placeholder, and the text the status region announces. */
4890
+ get loadingLabel(): string;
4883
4891
  /** Whether loading failed (the error placeholder is shown instead of rows/empty). */
4884
4892
  get isErrorState(): boolean;
4885
4893
  /** Whether the component delegates search to the consumer (server-side). */
@@ -7730,8 +7738,6 @@ declare class MnGrid<T = unknown> extends MnCollectionBase<T, GridDataSource<T>>
7730
7738
  protected applyFilter(searchForItems: boolean): void;
7731
7739
  /** Accessible name for the scrollable grid region. */
7732
7740
  get gridRegionLabel(): string;
7733
- /** Accessible name for the loading placeholder. */
7734
- get loadingLabel(): string;
7735
7741
  static ɵfac: i0.ɵɵFactoryDeclaration<MnGrid<any>, never>;
7736
7742
  static ɵcmp: i0.ɵɵComponentDeclaration<MnGrid<any>, "mn-grid", never, {}, { "itemClick": "itemClick"; }, never, never, true, never>;
7737
7743
  }