@rivet-health/design-system 42.0.0 → 42.0.2

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": "@rivet-health/design-system",
3
- "version": "42.0.0",
3
+ "version": "42.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/rivethealth/design-system.git"
@@ -22,9 +22,10 @@
22
22
  * @presenter FontFamily
23
23
  */
24
24
 
25
- --font-stack: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
26
- 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
27
- 'Segoe UI Emoji', 'Segoe UI Symbol';
25
+ --font-stack:
26
+ 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
27
+ Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
28
+ 'Segoe UI Symbol';
28
29
 
29
30
  /**
30
31
  * @tokens font-weight
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { AfterContentChecked, AfterViewInit, AnimationCallbackEvent, ApplicationRef, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, PipeTransform, Renderer2, SimpleChanges, TemplateRef, TrackByFunction } from "@angular/core";
2
+ import { AfterContentChecked, AfterViewChecked, 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";
@@ -266,13 +266,15 @@ export declare class TooltipDirective implements OnDestroy {
266
266
  };
267
267
  }, {}, never, never, false, never>;
268
268
  }
269
- export declare class SVGTextTruncateDirective extends TooltipDirective implements AfterViewInit {
269
+ export declare class SVGTextTruncateDirective extends TooltipDirective implements OnChanges, AfterViewChecked {
270
270
  protected readonly el: ElementRef;
271
271
  protected readonly applicationRef: ApplicationRef;
272
272
  text: string;
273
273
  width: number;
274
+ private truncated;
274
275
  constructor(el: ElementRef, applicationRef: ApplicationRef);
275
- ngAfterViewInit(): void;
276
+ ngOnChanges(): void;
277
+ ngAfterViewChecked(): void;
276
278
  svgTruncate(element: SVGTextContentElement): void;
277
279
  static ɵfac: i0.ɵɵFactoryDeclaration<SVGTextTruncateDirective, never>;
278
280
  static ɵdir: i0.ɵɵDirectiveDeclaration<SVGTextTruncateDirective, "svg text[rivSVGTextTruncate]", never, {
@@ -2319,7 +2321,9 @@ export declare class ValidationMessageComponent {
2319
2321
  * [expandable]="true"
2320
2322
  * [(expanded)]="open"
2321
2323
  * ></riv-card-header>
2322
- * <riv-card-content *ngIf="open">...</riv-card-content>
2324
+ * @if (open) {
2325
+ * <riv-card-content>...</riv-card-content>
2326
+ * }
2323
2327
  * </riv-card>
2324
2328
  * ```
2325
2329
  *
@@ -2666,7 +2670,9 @@ export declare class CardContentComponent implements OnInit {
2666
2670
  * [expandable]="true"
2667
2671
  * [(expanded)]="open"
2668
2672
  * ></riv-card-header>
2669
- * <riv-card-content *ngIf="open">...</riv-card-content>
2673
+ * @if (open) {
2674
+ * <riv-card-content>...</riv-card-content>
2675
+ * }
2670
2676
  * </riv-card>
2671
2677
  * ```
2672
2678
  *