@ziadshalaby/ngx-zs-component 2.0.1 → 2.0.3

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
@@ -123,14 +123,22 @@ interface FormPaletteEntry {
123
123
  btnBGHover: string;
124
124
  text: string;
125
125
  textHover: string;
126
- checkBoxText?: string;
127
- checkBoxTextHover?: string;
126
+ checkBoxText: string;
127
+ checkBoxTextHover: string;
128
128
  }
129
129
  declare const FormPaletteMap: Map<FormStyle, FormPaletteEntry>;
130
130
  type BaseColors = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'rose' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink';
131
131
  type BaseColorPrefixes = 'text' | 'bg' | 'border';
132
132
  declare const ColorMapping: Map<BaseColors, Record<BaseColorPrefixes, string>>;
133
133
 
134
+ declare class VisibilityObserverService {
135
+ private observer;
136
+ constructor();
137
+ observe(el: HTMLElement, visibleSignal: any): void;
138
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<VisibilityObserverService, never>;
139
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<VisibilityObserverService>;
140
+ }
141
+
134
142
  interface VariantType {
135
143
  border?: boolean;
136
144
  border_hover?: boolean;
@@ -138,6 +146,7 @@ interface VariantType {
138
146
  }
139
147
  type AnimationType = 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'none';
140
148
  declare class Card {
149
+ readonly visibility: VisibilityObserverService;
141
150
  readonly cardStyle: _angular_core.InputSignal<FormStyle>;
142
151
  readonly variant: _angular_core.InputSignal<VariantType | undefined>;
143
152
  readonly clickable: _angular_core.InputSignal<boolean>;
@@ -405,12 +414,18 @@ declare class Page404 {
405
414
  readonly title: _angular_core.InputSignal<string>;
406
415
  readonly message: _angular_core.InputSignal<string>;
407
416
  readonly icon: _angular_core.InputSignal<string>;
417
+ readonly pageStyle: _angular_core.InputSignal<FormStyle | "normal">;
408
418
  readonly showButton: _angular_core.InputSignal<boolean>;
409
419
  readonly buttonText: _angular_core.InputSignal<string>;
410
420
  readonly routerLink: _angular_core.InputSignal<string>;
421
+ readonly style: _angular_core.Signal<{
422
+ btnBG: string;
423
+ btnBgHover: string;
424
+ iconText: string;
425
+ }>;
411
426
  readonly onAction: _angular_core.OutputEmitterRef<void>;
412
427
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Page404, never>;
413
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Page404, "ZS-page404", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showButton": { "alias": "showButton"; "required": false; "isSignal": true; }; "buttonText": { "alias": "buttonText"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
428
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Page404, "ZS-page404", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "pageStyle": { "alias": "pageStyle"; "required": false; "isSignal": true; }; "showButton": { "alias": "showButton"; "required": false; "isSignal": true; }; "buttonText": { "alias": "buttonText"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
414
429
  }
415
430
 
416
431
  declare class Pagination {
package/output.css CHANGED
@@ -31,6 +31,7 @@
31
31
  --zs-color-yellow-600: oklch(68.1% 0.162 75.834);
32
32
  --zs-color-yellow-800: oklch(47.6% 0.114 61.907);
33
33
  --zs-color-lime-400: oklch(84.1% 0.238 128.85);
34
+ --zs-color-lime-500: oklch(76.8% 0.233 130.85);
34
35
  --zs-color-lime-600: oklch(64.8% 0.2 131.684);
35
36
  --zs-color-green-100: oklch(96.2% 0.044 156.743);
36
37
  --zs-color-green-200: oklch(92.5% 0.084 155.995);
@@ -410,12 +411,18 @@
410
411
  .zs\:m-4 {
411
412
  margin: calc(var(--zs-spacing) * 4);
412
413
  }
414
+ .zs\:m-auto {
415
+ margin: auto;
416
+ }
413
417
  .zs\:mx-4 {
414
418
  margin-inline: calc(var(--zs-spacing) * 4);
415
419
  }
416
420
  .zs\:mx-auto {
417
421
  margin-inline: auto;
418
422
  }
423
+ .zs\:my-8 {
424
+ margin-block: calc(var(--zs-spacing) * 8);
425
+ }
419
426
  .zs\:ms-2 {
420
427
  margin-inline-start: calc(var(--zs-spacing) * 2);
421
428
  }
@@ -642,6 +649,9 @@
642
649
  .zs\:w-50 {
643
650
  width: calc(var(--zs-spacing) * 50);
644
651
  }
652
+ .zs\:w-56 {
653
+ width: calc(var(--zs-spacing) * 56);
654
+ }
645
655
  .zs\:w-64 {
646
656
  width: calc(var(--zs-spacing) * 64);
647
657
  }
@@ -1422,6 +1432,9 @@
1422
1432
  .zs\:text-blue-600 {
1423
1433
  color: var(--zs-color-blue-600);
1424
1434
  }
1435
+ .zs\:text-blue-700 {
1436
+ color: var(--zs-color-blue-700);
1437
+ }
1425
1438
  .zs\:text-blue-800 {
1426
1439
  color: var(--zs-color-blue-800);
1427
1440
  }
@@ -1476,9 +1489,15 @@
1476
1489
  .zs\:text-green-800 {
1477
1490
  color: var(--zs-color-green-800);
1478
1491
  }
1492
+ .zs\:text-indigo-500 {
1493
+ color: var(--zs-color-indigo-500);
1494
+ }
1479
1495
  .zs\:text-indigo-600 {
1480
1496
  color: var(--zs-color-indigo-600);
1481
1497
  }
1498
+ .zs\:text-lime-500 {
1499
+ color: var(--zs-color-lime-500);
1500
+ }
1482
1501
  .zs\:text-lime-600 {
1483
1502
  color: var(--zs-color-lime-600);
1484
1503
  }
@@ -1500,6 +1519,9 @@
1500
1519
  .zs\:text-red-600 {
1501
1520
  color: var(--zs-color-red-600);
1502
1521
  }
1522
+ .zs\:text-red-700 {
1523
+ color: var(--zs-color-red-700);
1524
+ }
1503
1525
  .zs\:text-red-800 {
1504
1526
  color: var(--zs-color-red-800);
1505
1527
  }
@@ -2043,6 +2065,13 @@
2043
2065
  }
2044
2066
  }
2045
2067
  }
2068
+ .zs\:hover\:text-red-800 {
2069
+ &:hover {
2070
+ @media (hover: hover) {
2071
+ color: var(--zs-color-red-800);
2072
+ }
2073
+ }
2074
+ }
2046
2075
  .zs\:hover\:text-slate-600 {
2047
2076
  &:hover {
2048
2077
  @media (hover: hover) {
@@ -2765,6 +2794,11 @@
2765
2794
  color: var(--zs-color-blue-400);
2766
2795
  }
2767
2796
  }
2797
+ .zs\:dark\:text-blue-500 {
2798
+ &:where(.dark, .dark *) {
2799
+ color: var(--zs-color-blue-500);
2800
+ }
2801
+ }
2768
2802
  .zs\:dark\:text-blue-700 {
2769
2803
  &:where(.dark, .dark *) {
2770
2804
  color: var(--zs-color-blue-700);
@@ -3276,6 +3310,15 @@
3276
3310
  }
3277
3311
  }
3278
3312
  }
3313
+ .zs\:dark\:hover\:text-green-500 {
3314
+ &:where(.dark, .dark *) {
3315
+ &:hover {
3316
+ @media (hover: hover) {
3317
+ color: var(--zs-color-green-500);
3318
+ }
3319
+ }
3320
+ }
3321
+ }
3279
3322
  .zs\:dark\:hover\:text-red-400 {
3280
3323
  &:where(.dark, .dark *) {
3281
3324
  &:hover {
@@ -3285,6 +3328,15 @@
3285
3328
  }
3286
3329
  }
3287
3330
  }
3331
+ .zs\:dark\:hover\:text-red-600 {
3332
+ &:where(.dark, .dark *) {
3333
+ &:hover {
3334
+ @media (hover: hover) {
3335
+ color: var(--zs-color-red-600);
3336
+ }
3337
+ }
3338
+ }
3339
+ }
3288
3340
  .zs\:dark\:hover\:text-slate-200 {
3289
3341
  &:where(.dark, .dark *) {
3290
3342
  &:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziadshalaby/ngx-zs-component",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0"