@ship-ui/core 0.14.2 → 0.14.6

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/index.d.ts CHANGED
@@ -32,10 +32,13 @@ declare class ShipAlertService {
32
32
 
33
33
  type ShipAlertType = 'error' | 'success' | 'warn' | 'primary' | 'accent' | 'question';
34
34
  declare class ShipAlertComponent {
35
+ #private;
36
+ variant: _angular_core.WritableSignal<string>;
35
37
  _el: ElementRef<any>;
36
38
  alertService: _angular_core.InputSignal<ShipAlertService | null>;
37
39
  id: _angular_core.InputSignal<string | null>;
38
- alertClasses: _angular_core.Signal<any>;
40
+ currentClasses: _angular_core.Signal<string>;
41
+ activeClass: _angular_core.Signal<string>;
39
42
  removeAlert(): void;
40
43
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipAlertComponent, never>;
41
44
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipAlertComponent, "sh-alert", never, { "alertService": { "alias": "alertService"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, ["[icon]", "sh-icon", "[title]", "*", "[content]", "p"], true, never>;
@@ -764,6 +767,7 @@ declare class ShipTooltipDirective implements OnDestroy {
764
767
 
765
768
  declare const SHIP_CONFIG: InjectionToken<ShipConfig>;
766
769
  interface ShipConfig {
770
+ alertVariant?: '' | 'simple' | 'outlined' | 'flat' | 'raised';
767
771
  cardType?: 'type-b';
768
772
  dialogType?: 'type-b';
769
773
  tableType?: 'type-b';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.14.2",
4
+ "version": "0.14.6",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=19",
7
7
  "@angular/core": ">=19"