mn-angular-lib 1.0.177 → 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.177",
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
  /**