@rlucan/ui 20.0.8 → 20.0.10

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/index.d.ts CHANGED
@@ -420,6 +420,7 @@ declare class ForceVisibilityDirective implements OnInit, OnChanges {
420
420
  visibilityEmitChange: boolean;
421
421
  visibilityFromTop: number;
422
422
  visibilityCheckEnabled: boolean;
423
+ noSmoothScrolling: boolean;
423
424
  visibilityChanged: EventEmitter<boolean>;
424
425
  private visible;
425
426
  constructor(el: ElementRef);
@@ -429,12 +430,12 @@ declare class ForceVisibilityDirective implements OnInit, OnChanges {
429
430
  private isVisible;
430
431
  forceVisibility(): void;
431
432
  static ɵfac: i0.ɵɵFactoryDeclaration<ForceVisibilityDirective, never>;
432
- static ɵdir: i0.ɵɵDirectiveDeclaration<ForceVisibilityDirective, "[uiForceVisibility]", ["ForceVisibilityDirective"], { "visibilityWithin": { "alias": "visibilityWithin"; "required": false; }; "visibilityPadding": { "alias": "visibilityPadding"; "required": false; }; "visibilityOnRequestOnly": { "alias": "visibilityOnRequestOnly"; "required": false; }; "visibilityEmitChange": { "alias": "visibilityEmitChange"; "required": false; }; "visibilityFromTop": { "alias": "visibilityFromTop"; "required": false; }; "visibilityCheckEnabled": { "alias": "visibilityCheckEnabled"; "required": false; }; }, { "visibilityChanged": "visibilityChanged"; }, never, never, false, never>;
433
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ForceVisibilityDirective, "[uiForceVisibility]", ["ForceVisibilityDirective"], { "visibilityWithin": { "alias": "visibilityWithin"; "required": false; }; "visibilityPadding": { "alias": "visibilityPadding"; "required": false; }; "visibilityOnRequestOnly": { "alias": "visibilityOnRequestOnly"; "required": false; }; "visibilityEmitChange": { "alias": "visibilityEmitChange"; "required": false; }; "visibilityFromTop": { "alias": "visibilityFromTop"; "required": false; }; "visibilityCheckEnabled": { "alias": "visibilityCheckEnabled"; "required": false; }; "noSmoothScrolling": { "alias": "noSmoothScrolling"; "required": false; }; }, { "visibilityChanged": "visibilityChanged"; }, never, never, false, never>;
433
434
  }
434
435
 
435
436
  interface MessageBoxButton {
436
437
  id: string;
437
- text: string;
438
+ text: string | (() => string);
438
439
  kind?: 'basic' | 'flat' | 'stroked';
439
440
  color?: 'primary' | 'accent' | 'warn';
440
441
  process?: () => Promise<any>;
@@ -453,6 +454,7 @@ declare class MessageBoxModalComponent {
453
454
  hideCloseButton: boolean;
454
455
  processing: MessageBoxButton;
455
456
  constructor(dialogRef: MatDialogRef<MessageBoxModalComponent>, sanitizer: DomSanitizer, data: any);
457
+ labelText(b: MessageBoxButton): string;
456
458
  close(result: any): void;
457
459
  buttonClick(b: MessageBoxButton): void;
458
460
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxModalComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlucan/ui",
3
- "version": "20.0.8",
3
+ "version": "20.0.10",
4
4
  "description": "My UI Components",
5
5
  "author": "rlucan@gmail.com",
6
6
  "peerDependencies": {