@ziadshalaby/ngx-zs-component 3.0.4 → 3.0.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
@@ -39,17 +39,17 @@ interface AlertFullType extends AlertType {
39
39
  }
40
40
  type OldAlertsType = Set<number | string>;
41
41
  declare const ALERT_CONFIG: Record<AlertType['type'], Omit<AlertFullType, keyof AlertType>>;
42
- type PositionClassType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
42
+ type DirectionType = 'top' | 'bottom';
43
43
  declare class Alert {
44
44
  readonly zIndices: ZIndicesType;
45
45
  readonly alertService: AlertService;
46
- readonly positionClass: _angular_core.InputSignal<PositionClassType>;
46
+ readonly positionClass: _angular_core.InputSignal<string>;
47
+ readonly direction: _angular_core.InputSignal<DirectionType>;
48
+ readonly maxh: _angular_core.InputSignal<string>;
47
49
  readonly defaultShowCloseButton: _angular_core.InputSignal<boolean>;
48
50
  readonly defaultAutoClose: _angular_core.InputSignal<boolean>;
49
51
  readonly defaultDuration: _angular_core.InputSignal<number>;
50
52
  private readonly oldAlerts;
51
- private readonly direction;
52
- readonly positionClasses: _angular_core.Signal<string>;
53
53
  readonly alerts: _angular_core.Signal<AlertType[]>;
54
54
  readonly alertConfig: ReturnType<typeof computed<AlertFullType[]>>;
55
55
  private activeIntervals;
@@ -58,7 +58,7 @@ declare class Alert {
58
58
  private registerAlert;
59
59
  closeAlert(id: string | number): void;
60
60
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Alert, never>;
61
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Alert, "ZS-alert", never, { "positionClass": { "alias": "positionClass"; "required": false; "isSignal": true; }; "defaultShowCloseButton": { "alias": "defaultShowCloseButton"; "required": false; "isSignal": true; }; "defaultAutoClose": { "alias": "defaultAutoClose"; "required": false; "isSignal": true; }; "defaultDuration": { "alias": "defaultDuration"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
61
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Alert, "ZS-alert", never, { "positionClass": { "alias": "positionClass"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "maxh": { "alias": "maxh"; "required": false; "isSignal": true; }; "defaultShowCloseButton": { "alias": "defaultShowCloseButton"; "required": false; "isSignal": true; }; "defaultAutoClose": { "alias": "defaultAutoClose"; "required": false; "isSignal": true; }; "defaultDuration": { "alias": "defaultDuration"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
62
62
  }
63
63
 
64
64
  interface NavbarItem {
@@ -338,7 +338,7 @@ declare class Button {
338
338
  readonly size: _angular_core.InputSignal<BtnSizeType>;
339
339
  readonly disabled: _angular_core.InputSignal<boolean>;
340
340
  readonly icon: _angular_core.InputSignal<string | null>;
341
- readonly type: _angular_core.InputSignal<"button" | "reset" | "submit">;
341
+ readonly type: _angular_core.InputSignal<"reset" | "submit" | "button">;
342
342
  readonly clickedEv: _angular_core.OutputEmitterRef<Event>;
343
343
  readonly solidTextColor: _angular_core.Signal<string>;
344
344
  readonly baseClasses: _angular_core.Signal<string>;
@@ -962,4 +962,4 @@ declare class Footer {
962
962
  }
963
963
 
964
964
  export { ALERT_CONFIG, Alert, AlertService, Button, Card, Carousel, Checkbox, ColorMapping, Connection, ExtractorService, FileInput, Footer, Form, Input, InputErrors, Label, Modal, NavItem, NavItemService, Navbar, NgxZsComponent, Page404, Pagination, Range, ScrollToTop, Select, Spinner, ThemeToggle, Toggle, buttonOutlinePaletteMap, buttonSolidPaletteMap, cardPaletteMap, checkboxTextPaletteMap, inputPaletteMap, modalPaletteMap, page404PaletteMap, ringPaletteMap, selectPaletteMap, unifiedPaletteMap };
965
- export type { AlertFullType, AlertType, AnimationType, AuthButtonsType, BaseColorPrefixes, BaseColors, BaseSize, BtnSizeType, BtnType, BtnTypeDefault, BulkAlert, ButtonVariant, CarouselItem, ChVariantType, ChangeEventType, DateType, DropdownItem, FileData, FilesType, FormStyle, FormatterFn, InputType, ItemShapeType, LoaderType, NavbarItem, NavbarItemExport, NewAlert, OldAlertsType, PagesType, Position, PositionClassType, PositionType, ShapeType, SiteNameConfigType, UserProfile, ValidatorFn, VariantType, ZFormField, ZFormFieldMap, navItemsType, themeTypes };
965
+ export type { AlertFullType, AlertType, AnimationType, AuthButtonsType, BaseColorPrefixes, BaseColors, BaseSize, BtnSizeType, BtnType, BtnTypeDefault, BulkAlert, ButtonVariant, CarouselItem, ChVariantType, ChangeEventType, DateType, DirectionType, DropdownItem, FileData, FilesType, FormStyle, FormatterFn, InputType, ItemShapeType, LoaderType, NavbarItem, NavbarItemExport, NewAlert, OldAlertsType, PagesType, Position, PositionType, ShapeType, SiteNameConfigType, UserProfile, ValidatorFn, VariantType, ZFormField, ZFormFieldMap, navItemsType, themeTypes };
package/output.css CHANGED
@@ -605,8 +605,11 @@
605
605
  .zs\:max-h-\[75vh\] {
606
606
  max-height: 75vh;
607
607
  }
608
- .zs\:max-h-\[calc\(100vh-1rem\)\] {
609
- max-height: calc(100vh - 1rem);
608
+ .zs\:max-h-\[80vh\] {
609
+ max-height: 80vh;
610
+ }
611
+ .zs\:max-h-\[calc\(100vh-1\.2rem\)\] {
612
+ max-height: calc(100vh - 1.2rem);
610
613
  }
611
614
  .zs\:min-h-14 {
612
615
  min-height: calc(var(--zs-spacing) * 14);
@@ -632,9 +635,6 @@
632
635
  .zs\:w-6 {
633
636
  width: calc(var(--zs-spacing) * 6);
634
637
  }
635
- .zs\:w-8 {
636
- width: calc(var(--zs-spacing) * 8);
637
- }
638
638
  .zs\:w-12 {
639
639
  width: calc(var(--zs-spacing) * 12);
640
640
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziadshalaby/ngx-zs-component",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0"