@rivet-health/design-system 41.3.1 → 42.0.0

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,12 +1,11 @@
1
1
  {
2
2
  "name": "@rivet-health/design-system",
3
- "version": "41.3.1",
3
+ "version": "42.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/rivethealth/design-system.git"
7
7
  },
8
8
  "peerDependencies": {
9
- "@angular/animations": ">=22.0.0",
10
9
  "@angular/common": ">=22.0.0",
11
10
  "@angular/core": ">=22.0.0",
12
11
  "@angular/router": ">=22.0.0",
@@ -1,11 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
- import { AfterContentChecked, AfterViewInit, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, PipeTransform, Renderer2, SimpleChanges, TemplateRef, TrackByFunction } from "@angular/core";
2
+ import { AfterContentChecked, AfterViewInit, AnimationCallbackEvent, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, PipeTransform, Renderer2, SimpleChanges, TemplateRef, TrackByFunction } from "@angular/core";
3
3
  import * as i116 from "@angular/common";
4
4
  import { CurrencyPipe, KeyValue } from "@angular/common";
5
5
  import { BehaviorSubject, Connectable, Observable, Subject, Subscription } from "rxjs";
6
6
  import { FuseResultMatch, IFuseOptions, RangeTuple } from "fuse.js";
7
7
  import { DeepPartial } from "utility-types";
8
- import { style } from "@angular/animations";
9
8
  import * as i117 from "@angular/router";
10
9
  import { Params, QueryParamsHandling } from "@angular/router";
11
10
  import "d3-time";
@@ -4236,19 +4235,21 @@ declare class OverlayService {
4236
4235
  static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>;
4237
4236
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
4238
4237
  }
4239
- type AnimationConfig = {
4238
+ export declare const ANIMATION_CONSTANTS: Record<'SIDE_SHEET' | 'TOAST' | 'DIALOG' | 'MODAL', {
4240
4239
  HOOK: string;
4241
- HIDDEN: Parameters<typeof style>[0];
4242
- VISIBLE: Parameters<typeof style>[0];
4243
- };
4244
- export declare const ANIMATION_CONSTANTS: Record<'SIDE_SHEET' | 'TOAST' | 'DIALOG' | 'MODAL', AnimationConfig>;
4240
+ }>;
4245
4241
  export declare class OverlayOutletComponent {
4246
4242
  readonly overlayService: OverlayService;
4247
4243
  constructor(overlayService: OverlayService);
4248
4244
  readonly trackOverlay: TrackByFunction<KeyValue<Symbol, TemplateRef<void>>>;
4245
+ enter({ target }: AnimationCallbackEvent): void;
4246
+ leave({ target, animationComplete }: AnimationCallbackEvent): void;
4249
4247
  static ɵfac: i0.ɵɵFactoryDeclaration<OverlayOutletComponent, never>;
4250
4248
  static ɵcmp: i0.ɵɵComponentDeclaration<OverlayOutletComponent, "riv-overlay-outlet", never, {}, {}, never, never, false, never>;
4251
4249
  }
4250
+ export declare namespace OverlayOutletComponent {
4251
+ function animateHooks(overlay: Element, className: 'entering' | 'leaving'): Promise<void>;
4252
+ }
4252
4253
  export declare class OverlayDirective implements OnInit, OnDestroy {
4253
4254
  private readonly template;
4254
4255
  private readonly overlayService;