@progressio_resources/gravity-design-system 4.0.27 → 4.0.28

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@progressio_resources/gravity-design-system",
3
3
  "description": "Gravity Design System",
4
- "version": "4.0.27",
4
+ "version": "4.0.28",
5
5
  "license": "SEE LICENSE IN LIBRARY-LICENSE",
6
6
  "peerDependencies": {
7
7
  "@angular/common": "^21.1.4",
@@ -966,11 +966,13 @@ declare class GravityNetworkPillComponent {
966
966
  }
967
967
 
968
968
  interface GravityNotificationContent {
969
- state: 'error' | 'success' | 'warning';
970
- title: string;
971
969
  text: string;
970
+ title: string;
972
971
  details?: string;
973
972
  errorCode?: number;
973
+ buttonText?: string;
974
+ buttonAction?: () => void;
975
+ state: 'error' | 'success' | 'warning';
974
976
  }
975
977
 
976
978
  declare class GravityNotificationComponent {
@@ -979,6 +981,7 @@ declare class GravityNotificationComponent {
979
981
  constructor(ngbActiveModal: NgbActiveModal);
980
982
  get iconByState(): "check" | "unsuccess" | "warning-circle";
981
983
  closeModal(): void;
984
+ onCustomAction(): void;
982
985
  static ɵfac: i0.ɵɵFactoryDeclaration<GravityNotificationComponent, never>;
983
986
  static ɵcmp: i0.ɵɵComponentDeclaration<GravityNotificationComponent, "ng-component", never, { "notificationContent": { "alias": "notificationContent"; "required": false; }; }, {}, never, never, true, never>;
984
987
  }