mn-angular-lib 1.0.74 → 1.0.76

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.74",
3
+ "version": "1.0.76",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -270,6 +270,9 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
270
270
  true: string;
271
271
  false: string;
272
272
  };
273
+ hover: {
274
+ true: string;
275
+ };
273
276
  }, undefined, "inline-flex items-center justify-center hover:cursor-pointer transition-all duration-300 ease-in-out", {
274
277
  size: {
275
278
  sm: string;
@@ -309,6 +312,9 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
309
312
  true: string;
310
313
  false: string;
311
314
  };
315
+ hover: {
316
+ true: string;
317
+ };
312
318
  }, undefined, tailwind_variants.TVReturnType<{
313
319
  size: {
314
320
  sm: string;
@@ -348,6 +354,9 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
348
354
  true: string;
349
355
  false: string;
350
356
  };
357
+ hover: {
358
+ true: string;
359
+ };
351
360
  }, undefined, "inline-flex items-center justify-center hover:cursor-pointer transition-all duration-300 ease-in-out", unknown, unknown, undefined>>;
352
361
  type MnButtonVariants = VariantProps<typeof mnButtonVariants>;
353
362
 
@@ -358,6 +367,7 @@ type MnButtonTypes = {
358
367
  color: MnButtonVariants['color'];
359
368
  disabled?: MnButtonVariants['disabled'];
360
369
  wrap?: MnButtonVariants['wrap'];
370
+ hover?: MnButtonVariants['hover'];
361
371
  };
362
372
 
363
373
  declare class MnButton {
@@ -3423,9 +3433,11 @@ declare class MnModalShellComponent<TResult = unknown> implements OnInit, AfterV
3423
3433
  private dragStartY;
3424
3434
  /** Whether the sheet can be dismissed at all (drives whether the swipe is armed). */
3425
3435
  private get canClose();
3426
- onGrabberPointerDown(event: PointerEvent): void;
3427
- onGrabberPointerMove(event: PointerEvent): void;
3428
- onGrabberPointerUp(): Promise<void>;
3436
+ /** Tailwind's `sm` breakpoint — below this the modal renders as a bottom sheet. */
3437
+ private static readonly SHEET_MAX_WIDTH;
3438
+ onSheetPointerDown(event: PointerEvent): void;
3439
+ onSheetPointerMove(event: PointerEvent): void;
3440
+ onSheetPointerUp(): Promise<void>;
3429
3441
  /** Attempts to dismiss the modal. Resolves true if it was actually dismissed,
3430
3442
  * false if blocked by a DISABLED close mode or a rejected close guard. */
3431
3443
  private handleClose;