@ascentgl/ads-ui 0.0.70 → 0.0.72

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.
@@ -1,21 +1,31 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
1
2
  import { MatSnackBarRef } from '@angular/material/snack-bar';
2
3
  import { Variant } from '../../buttons/button';
3
4
  import * as i0 from "@angular/core";
4
5
  export type SnackBarData = {
6
+ id?: string;
5
7
  title?: string;
6
8
  message: string;
7
9
  hideActionButton?: boolean;
8
10
  buttonCaption?: string;
9
11
  closeOnClick?: boolean;
10
12
  };
11
- export declare class AdsSnackbarComponent {
13
+ export declare class AdsSnackbarComponent implements AfterViewInit {
14
+ private elementRef;
12
15
  data: SnackBarData;
13
16
  snackBarRef: MatSnackBarRef<any>;
14
17
  readonly defaultButtonCaption = "Close";
15
18
  protected readonly PanelClass: typeof PanelClass;
19
+ /** @ignore */
20
+ constructor(elementRef: ElementRef<HTMLElement>);
16
21
  get buttonPanelClass(): Variant;
17
22
  /** @ignore */
23
+ get id(): string;
24
+ /** @ignore */
25
+ ngAfterViewInit(): void;
26
+ /** @ignore */
18
27
  onSnackbarClick(): void;
28
+ protected readonly indexedDB: IDBFactory;
19
29
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsSnackbarComponent, never>;
20
30
  static ɵcmp: i0.ɵɵComponentDeclaration<AdsSnackbarComponent, "ads-snackbar", never, {}, {}, never, never, false, never>;
21
31
  }
@@ -7,4 +7,5 @@ export type VerticalStep = {
7
7
  status: VerticalStepStatus;
8
8
  onClick?: (step: VerticalStep) => void;
9
9
  tooltip?: string;
10
+ id?: string;
10
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascentgl/ads-ui",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "peerDependencies": {
5
5
  "@ascentgl/ads-icons": ">=0.0.0",
6
6
  "@ascentgl/ads-utils": ">=0.0.0",
@@ -72,10 +72,6 @@
72
72
  "types": "./src/lib/components/logo/primary-logo/index.d.ts",
73
73
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs"
74
74
  },
75
- "./src/lib/components/progress-indicators/progress-indicator-spinner": {
76
- "types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
77
- "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
78
- },
79
75
  "./src/lib/components/progress-indicators/progress-bar": {
80
76
  "types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
81
77
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
@@ -84,6 +80,10 @@
84
80
  "types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
85
81
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
86
82
  },
83
+ "./src/lib/components/progress-indicators/progress-indicator-spinner": {
84
+ "types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
85
+ "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
86
+ },
87
87
  "./src/lib/components/tags/tag-container": {
88
88
  "types": "./src/lib/components/tags/tag-container/index.d.ts",
89
89
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs"