mn-angular-lib 1.0.99 → 1.0.101

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.99",
3
+ "version": "1.0.101",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -266,6 +266,9 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
266
266
  disabled: {
267
267
  true: string;
268
268
  };
269
+ loading: {
270
+ true: string;
271
+ };
269
272
  wrap: {
270
273
  true: string;
271
274
  false: string;
@@ -308,6 +311,9 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
308
311
  disabled: {
309
312
  true: string;
310
313
  };
314
+ loading: {
315
+ true: string;
316
+ };
311
317
  wrap: {
312
318
  true: string;
313
319
  false: string;
@@ -350,6 +356,9 @@ declare const mnButtonVariants: tailwind_variants.TVReturnType<{
350
356
  disabled: {
351
357
  true: string;
352
358
  };
359
+ loading: {
360
+ true: string;
361
+ };
353
362
  wrap: {
354
363
  true: string;
355
364
  false: string;
@@ -366,6 +375,7 @@ type MnButtonTypes = {
366
375
  borderRadius: MnButtonVariants['borderRadius'];
367
376
  color: MnButtonVariants['color'];
368
377
  disabled?: MnButtonVariants['disabled'];
378
+ loading?: MnButtonVariants['loading'];
369
379
  wrap?: MnButtonVariants['wrap'];
370
380
  hover?: MnButtonVariants['hover'];
371
381
  };
@@ -373,9 +383,11 @@ type MnButtonTypes = {
373
383
  declare class MnButton {
374
384
  data: Partial<MnButtonTypes>;
375
385
  get hostClasses(): string;
386
+ get ariaBusy(): "true" | null;
376
387
  get ariaDisabled(): "true" | null;
377
388
  get disabledAttr(): "" | null;
378
389
  get tabIndex(): "-1" | null;
390
+ private get isBlocked();
379
391
  static ɵfac: i0.ɵɵFactoryDeclaration<MnButton, never>;
380
392
  static ɵcmp: i0.ɵɵComponentDeclaration<MnButton, "button[mnButton], a[mnButton]", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, ["*"], true, never>;
381
393
  }
@@ -4307,7 +4319,14 @@ declare class MnModalShellComponent<TResult = unknown> implements OnInit, AfterV
4307
4319
  config: ModalConfig<TResult>;
4308
4320
  modalRef: MnModalRef<TResult>;
4309
4321
  isClosing: boolean;
4310
- isStacked: boolean;
4322
+ /**
4323
+ * Whether another modal is stacked on top of this one. Set imperatively by
4324
+ * `MnModalService` on the already-rendered shell below the newly opened one, so it must
4325
+ * be a signal: mutating a plain field there changes the host `[class]` after the view was
4326
+ * checked (NG0100 ExpressionChangedAfterItHasBeenChecked) and does not schedule change
4327
+ * detection in a zoneless app. A signal write both notifies the host binding and schedules CD.
4328
+ */
4329
+ readonly isStacked: i0.WritableSignal<boolean>;
4311
4330
  readonly ModalKind: typeof ModalKind;
4312
4331
  private previouslyFocusedElement;
4313
4332
  private focusTrapListener;