@rivet-health/design-system 28.2.0 → 28.2.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.
@@ -12,6 +12,8 @@ export declare class CalloutComponent implements AfterViewInit, OnChanges {
12
12
  theme: CalloutComponent.Theme;
13
13
  content: ElementRef<HTMLDivElement> | null;
14
14
  scrim: ElementRef<HTMLElement> | null;
15
+ private mouseDownInsideContent;
16
+ scrimMouseDown(evt: MouseEvent): void;
15
17
  scrimClick(evt: MouseEvent): void;
16
18
  left: number;
17
19
  top: number;
@@ -87,11 +87,12 @@ import * as i85 from "./visualization/trend/trend.component";
87
87
  import * as i86 from "./format/truncate/truncate.component";
88
88
  import * as i87 from "./navigation/views/view-menu/view-menu.component";
89
89
  import * as i88 from "./navigation/views/views/views.component";
90
- import * as i89 from "./visualization/zero-state/zero-state.component";
91
- import * as i90 from "@angular/common";
92
- import * as i91 from "@angular/router";
90
+ import * as i89 from "./visibility/visibility.directive";
91
+ import * as i90 from "./visualization/zero-state/zero-state.component";
92
+ import * as i91 from "@angular/common";
93
+ import * as i92 from "@angular/router";
93
94
  export declare class RivModule {
94
95
  static ɵfac: i0.ɵɵFactoryDeclaration<RivModule, never>;
95
- static ɵmod: i0.ɵɵNgModuleDeclaration<RivModule, [typeof i1.AllViewsModalComponent, typeof i2.AlphabeticFieldComponent, typeof i3.AutoFocusDirective, typeof i4.BadgeComponent, typeof i5.BannerActionComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i8.ButtonGroupComponent, typeof i9.CalendarComponent, typeof i10.CalloutComponent, typeof i11.CardCheckboxComponent, typeof i12.ChartComponent, typeof i13.CheckboxComponent, typeof i14.CurrencyFieldComponent, typeof i15.DataTableCellComponent, typeof i16.DataTableComponent, typeof i17.DataTableHeaderCellComponent, typeof i18.DataTableRowComponent, typeof i19.DateComponent, typeof i20.DatePipe, typeof i21.DateRangeComponent, typeof i22.DaysPipe, typeof i23.DialogComponent, typeof i24.DollarsPipe, typeof i25.DonutComponent, typeof i26.EditViewComponent, typeof i27.FunnelChartComponent, typeof i28.HelpComponent, typeof i29.HighlightComponent, typeof i30.IconComponent, typeof i31.InputLabelComponent, typeof i32.IssueComponent, typeof i33.LegendItemComponent, typeof i34.LinkComponent, typeof i35.LoadingComponent, typeof i36.LoadingCoverComponent, typeof i37.LockedTooltipDirective, typeof i38.LockScrollDirective, typeof i39.MenuComponent, typeof i40.MenuDividerComponent, typeof i41.MenuItemComponent, typeof i42.MetricComponent, typeof i43.ModalComponent, typeof i44.NotificationBadgeComponent, typeof i45.NumberFieldComponent, typeof i46.NumberPipe, typeof i47.OptionGroupPipe, typeof i48.OverlayDirective, typeof i49.OverlayOutletComponent, typeof i50.PercentageFieldComponent, typeof i51.PercentagePipe, typeof i52.ProgressComponent, typeof i53.RadioComponent, typeof i54.SearchComponent, typeof i55.SelectComponent, typeof i56.SelectNodeComponent, typeof i57.SideSheetComponent, typeof i58.SimpleSelectComponent, typeof i59.SimpleTableCellComponent, typeof i60.SimpleTableComponent, typeof i61.SimpleTableHeaderCellComponent, typeof i62.SimpleTableRowComponent, typeof i63.SizeDirective, typeof i64.SmallCurrencyPipe, typeof i65.StackedColumnComponent, typeof i66.StackedRowComponent, typeof i67.SVGTextTruncateDirective, typeof i68.SwitchCheckboxComponent, typeof i69.TabComponent, typeof i70.TableColumnSettingsComponent, typeof i71.TableColumnSettingsSideSheetComponent, typeof i72.TableComponent, typeof i73.TableCsvExportComponent, typeof i74.TableHeaderResizeHandleComponent, typeof i75.TableSearchColumnsComponent, typeof i76.TableSearchComponent, typeof i77.TabsComponent, typeof i78.TextareaFieldComponent, typeof i79.TextFieldComponent, typeof i80.TimeSeriesComponent, typeof i81.ToastActionComponent, typeof i82.ToastComponent, typeof i83.TooltipComponent, typeof i84.TooltipDirective, typeof i85.TrendComponent, typeof i86.TruncateComponent, typeof i87.ViewMenuComponent, typeof i88.ViewsComponent, typeof i89.ZeroStateComponent], [typeof i90.CommonModule, typeof i91.RouterModule], [typeof i1.AllViewsModalComponent, typeof i2.AlphabeticFieldComponent, typeof i3.AutoFocusDirective, typeof i4.BadgeComponent, typeof i5.BannerActionComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i8.ButtonGroupComponent, typeof i10.CalloutComponent, typeof i11.CardCheckboxComponent, typeof i12.ChartComponent, typeof i13.CheckboxComponent, typeof i14.CurrencyFieldComponent, typeof i15.DataTableCellComponent, typeof i16.DataTableComponent, typeof i17.DataTableHeaderCellComponent, typeof i18.DataTableRowComponent, typeof i19.DateComponent, typeof i20.DatePipe, typeof i21.DateRangeComponent, typeof i22.DaysPipe, typeof i23.DialogComponent, typeof i24.DollarsPipe, typeof i25.DonutComponent, typeof i26.EditViewComponent, typeof i27.FunnelChartComponent, typeof i28.HelpComponent, typeof i29.HighlightComponent, typeof i30.IconComponent, typeof i31.InputLabelComponent, typeof i32.IssueComponent, typeof i33.LegendItemComponent, typeof i34.LinkComponent, typeof i35.LoadingComponent, typeof i36.LoadingCoverComponent, typeof i37.LockedTooltipDirective, typeof i39.MenuComponent, typeof i40.MenuDividerComponent, typeof i41.MenuItemComponent, typeof i42.MetricComponent, typeof i43.ModalComponent, typeof i44.NotificationBadgeComponent, typeof i45.NumberFieldComponent, typeof i46.NumberPipe, typeof i47.OptionGroupPipe, typeof i48.OverlayDirective, typeof i49.OverlayOutletComponent, typeof i50.PercentageFieldComponent, typeof i51.PercentagePipe, typeof i52.ProgressComponent, typeof i53.RadioComponent, typeof i54.SearchComponent, typeof i55.SelectComponent, typeof i57.SideSheetComponent, typeof i58.SimpleSelectComponent, typeof i59.SimpleTableCellComponent, typeof i60.SimpleTableComponent, typeof i61.SimpleTableHeaderCellComponent, typeof i62.SimpleTableRowComponent, typeof i63.SizeDirective, typeof i64.SmallCurrencyPipe, typeof i65.StackedColumnComponent, typeof i66.StackedRowComponent, typeof i67.SVGTextTruncateDirective, typeof i68.SwitchCheckboxComponent, typeof i69.TabComponent, typeof i70.TableColumnSettingsComponent, typeof i71.TableColumnSettingsSideSheetComponent, typeof i72.TableComponent, typeof i73.TableCsvExportComponent, typeof i75.TableSearchColumnsComponent, typeof i76.TableSearchComponent, typeof i77.TabsComponent, typeof i78.TextareaFieldComponent, typeof i79.TextFieldComponent, typeof i80.TimeSeriesComponent, typeof i81.ToastActionComponent, typeof i82.ToastComponent, typeof i83.TooltipComponent, typeof i84.TooltipDirective, typeof i85.TrendComponent, typeof i86.TruncateComponent, typeof i87.ViewMenuComponent, typeof i88.ViewsComponent, typeof i89.ZeroStateComponent]>;
96
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RivModule, [typeof i1.AllViewsModalComponent, typeof i2.AlphabeticFieldComponent, typeof i3.AutoFocusDirective, typeof i4.BadgeComponent, typeof i5.BannerActionComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i8.ButtonGroupComponent, typeof i9.CalendarComponent, typeof i10.CalloutComponent, typeof i11.CardCheckboxComponent, typeof i12.ChartComponent, typeof i13.CheckboxComponent, typeof i14.CurrencyFieldComponent, typeof i15.DataTableCellComponent, typeof i16.DataTableComponent, typeof i17.DataTableHeaderCellComponent, typeof i18.DataTableRowComponent, typeof i19.DateComponent, typeof i20.DatePipe, typeof i21.DateRangeComponent, typeof i22.DaysPipe, typeof i23.DialogComponent, typeof i24.DollarsPipe, typeof i25.DonutComponent, typeof i26.EditViewComponent, typeof i27.FunnelChartComponent, typeof i28.HelpComponent, typeof i29.HighlightComponent, typeof i30.IconComponent, typeof i31.InputLabelComponent, typeof i32.IssueComponent, typeof i33.LegendItemComponent, typeof i34.LinkComponent, typeof i35.LoadingComponent, typeof i36.LoadingCoverComponent, typeof i37.LockedTooltipDirective, typeof i38.LockScrollDirective, typeof i39.MenuComponent, typeof i40.MenuDividerComponent, typeof i41.MenuItemComponent, typeof i42.MetricComponent, typeof i43.ModalComponent, typeof i44.NotificationBadgeComponent, typeof i45.NumberFieldComponent, typeof i46.NumberPipe, typeof i47.OptionGroupPipe, typeof i48.OverlayDirective, typeof i49.OverlayOutletComponent, typeof i50.PercentageFieldComponent, typeof i51.PercentagePipe, typeof i52.ProgressComponent, typeof i53.RadioComponent, typeof i54.SearchComponent, typeof i55.SelectComponent, typeof i56.SelectNodeComponent, typeof i57.SideSheetComponent, typeof i58.SimpleSelectComponent, typeof i59.SimpleTableCellComponent, typeof i60.SimpleTableComponent, typeof i61.SimpleTableHeaderCellComponent, typeof i62.SimpleTableRowComponent, typeof i63.SizeDirective, typeof i64.SmallCurrencyPipe, typeof i65.StackedColumnComponent, typeof i66.StackedRowComponent, typeof i67.SVGTextTruncateDirective, typeof i68.SwitchCheckboxComponent, typeof i69.TabComponent, typeof i70.TableColumnSettingsComponent, typeof i71.TableColumnSettingsSideSheetComponent, typeof i72.TableComponent, typeof i73.TableCsvExportComponent, typeof i74.TableHeaderResizeHandleComponent, typeof i75.TableSearchColumnsComponent, typeof i76.TableSearchComponent, typeof i77.TabsComponent, typeof i78.TextareaFieldComponent, typeof i79.TextFieldComponent, typeof i80.TimeSeriesComponent, typeof i81.ToastActionComponent, typeof i82.ToastComponent, typeof i83.TooltipComponent, typeof i84.TooltipDirective, typeof i85.TrendComponent, typeof i86.TruncateComponent, typeof i87.ViewMenuComponent, typeof i88.ViewsComponent, typeof i89.VisibilityDirective, typeof i90.ZeroStateComponent], [typeof i91.CommonModule, typeof i92.RouterModule], [typeof i1.AllViewsModalComponent, typeof i2.AlphabeticFieldComponent, typeof i3.AutoFocusDirective, typeof i4.BadgeComponent, typeof i5.BannerActionComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i8.ButtonGroupComponent, typeof i10.CalloutComponent, typeof i11.CardCheckboxComponent, typeof i12.ChartComponent, typeof i13.CheckboxComponent, typeof i14.CurrencyFieldComponent, typeof i15.DataTableCellComponent, typeof i16.DataTableComponent, typeof i17.DataTableHeaderCellComponent, typeof i18.DataTableRowComponent, typeof i19.DateComponent, typeof i20.DatePipe, typeof i21.DateRangeComponent, typeof i22.DaysPipe, typeof i23.DialogComponent, typeof i24.DollarsPipe, typeof i25.DonutComponent, typeof i26.EditViewComponent, typeof i27.FunnelChartComponent, typeof i28.HelpComponent, typeof i29.HighlightComponent, typeof i30.IconComponent, typeof i31.InputLabelComponent, typeof i32.IssueComponent, typeof i33.LegendItemComponent, typeof i34.LinkComponent, typeof i35.LoadingComponent, typeof i36.LoadingCoverComponent, typeof i37.LockedTooltipDirective, typeof i39.MenuComponent, typeof i40.MenuDividerComponent, typeof i41.MenuItemComponent, typeof i42.MetricComponent, typeof i43.ModalComponent, typeof i44.NotificationBadgeComponent, typeof i45.NumberFieldComponent, typeof i46.NumberPipe, typeof i47.OptionGroupPipe, typeof i48.OverlayDirective, typeof i49.OverlayOutletComponent, typeof i50.PercentageFieldComponent, typeof i51.PercentagePipe, typeof i52.ProgressComponent, typeof i53.RadioComponent, typeof i54.SearchComponent, typeof i55.SelectComponent, typeof i57.SideSheetComponent, typeof i58.SimpleSelectComponent, typeof i59.SimpleTableCellComponent, typeof i60.SimpleTableComponent, typeof i61.SimpleTableHeaderCellComponent, typeof i62.SimpleTableRowComponent, typeof i63.SizeDirective, typeof i64.SmallCurrencyPipe, typeof i65.StackedColumnComponent, typeof i66.StackedRowComponent, typeof i67.SVGTextTruncateDirective, typeof i68.SwitchCheckboxComponent, typeof i69.TabComponent, typeof i70.TableColumnSettingsComponent, typeof i71.TableColumnSettingsSideSheetComponent, typeof i72.TableComponent, typeof i73.TableCsvExportComponent, typeof i75.TableSearchColumnsComponent, typeof i76.TableSearchComponent, typeof i77.TabsComponent, typeof i78.TextareaFieldComponent, typeof i79.TextFieldComponent, typeof i80.TimeSeriesComponent, typeof i81.ToastActionComponent, typeof i82.ToastComponent, typeof i83.TooltipComponent, typeof i84.TooltipDirective, typeof i85.TrendComponent, typeof i86.TruncateComponent, typeof i87.ViewMenuComponent, typeof i88.ViewsComponent, typeof i89.VisibilityDirective, typeof i90.ZeroStateComponent]>;
96
97
  static ɵinj: i0.ɵɵInjectorDeclaration<RivModule>;
97
98
  }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class VisibilityDirective implements OnInit, OnDestroy {
4
+ private readonly elementRef;
5
+ private intersectionObserver;
6
+ rivVisibility: EventEmitter<boolean>;
7
+ constructor(elementRef: ElementRef<HTMLElement>, zone: NgZone);
8
+ ngOnInit(): void;
9
+ ngOnDestroy(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityDirective, "[rivVisibility]", never, {}, { "rivVisibility": "rivVisibility"; }, never, never, false>;
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivet-health/design-system",
3
- "version": "28.2.0",
3
+ "version": "28.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^14.0.0",
6
6
  "@angular/common": "^14.0.0",
package/public-api.d.ts CHANGED
@@ -72,6 +72,7 @@ export * from './lib/table/table/table-csv-export/table-csv-export.component';
72
72
  export * from './lib/table/table/table-search-columns/table-search-columns.component';
73
73
  export * from './lib/table/table/table-search/table-search.component';
74
74
  export * from './lib/table/table/table/table.component';
75
+ export * from './lib/visibility/visibility.directive';
75
76
  export * from './lib/visualization/chart/chart';
76
77
  export * from './lib/visualization/chart/chart.component';
77
78
  export * from './lib/visualization/data-table/data-table-cell.component';