@ziadshalaby/ngx-zs-component 2.0.0 → 2.0.2

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);
@@ -383,9 +384,15 @@
383
384
  .zs\:z-200 {
384
385
  z-index: 200;
385
386
  }
387
+ .zs\:z-400 {
388
+ z-index: 400;
389
+ }
386
390
  .zs\:z-600 {
387
391
  z-index: 600;
388
392
  }
393
+ .zs\:z-700 {
394
+ z-index: 700;
395
+ }
389
396
  .zs\:z-800 {
390
397
  z-index: 800;
391
398
  }
@@ -404,12 +411,18 @@
404
411
  .zs\:m-4 {
405
412
  margin: calc(var(--zs-spacing) * 4);
406
413
  }
414
+ .zs\:m-auto {
415
+ margin: auto;
416
+ }
407
417
  .zs\:mx-4 {
408
418
  margin-inline: calc(var(--zs-spacing) * 4);
409
419
  }
410
420
  .zs\:mx-auto {
411
421
  margin-inline: auto;
412
422
  }
423
+ .zs\:my-8 {
424
+ margin-block: calc(var(--zs-spacing) * 8);
425
+ }
413
426
  .zs\:ms-2 {
414
427
  margin-inline-start: calc(var(--zs-spacing) * 2);
415
428
  }
@@ -636,6 +649,9 @@
636
649
  .zs\:w-50 {
637
650
  width: calc(var(--zs-spacing) * 50);
638
651
  }
652
+ .zs\:w-56 {
653
+ width: calc(var(--zs-spacing) * 56);
654
+ }
639
655
  .zs\:w-64 {
640
656
  width: calc(var(--zs-spacing) * 64);
641
657
  }
@@ -1416,6 +1432,9 @@
1416
1432
  .zs\:text-blue-600 {
1417
1433
  color: var(--zs-color-blue-600);
1418
1434
  }
1435
+ .zs\:text-blue-700 {
1436
+ color: var(--zs-color-blue-700);
1437
+ }
1419
1438
  .zs\:text-blue-800 {
1420
1439
  color: var(--zs-color-blue-800);
1421
1440
  }
@@ -1470,9 +1489,15 @@
1470
1489
  .zs\:text-green-800 {
1471
1490
  color: var(--zs-color-green-800);
1472
1491
  }
1492
+ .zs\:text-indigo-500 {
1493
+ color: var(--zs-color-indigo-500);
1494
+ }
1473
1495
  .zs\:text-indigo-600 {
1474
1496
  color: var(--zs-color-indigo-600);
1475
1497
  }
1498
+ .zs\:text-lime-500 {
1499
+ color: var(--zs-color-lime-500);
1500
+ }
1476
1501
  .zs\:text-lime-600 {
1477
1502
  color: var(--zs-color-lime-600);
1478
1503
  }
@@ -1494,6 +1519,9 @@
1494
1519
  .zs\:text-red-600 {
1495
1520
  color: var(--zs-color-red-600);
1496
1521
  }
1522
+ .zs\:text-red-700 {
1523
+ color: var(--zs-color-red-700);
1524
+ }
1497
1525
  .zs\:text-red-800 {
1498
1526
  color: var(--zs-color-red-800);
1499
1527
  }
@@ -2037,6 +2065,13 @@
2037
2065
  }
2038
2066
  }
2039
2067
  }
2068
+ .zs\:hover\:text-red-800 {
2069
+ &:hover {
2070
+ @media (hover: hover) {
2071
+ color: var(--zs-color-red-800);
2072
+ }
2073
+ }
2074
+ }
2040
2075
  .zs\:hover\:text-slate-600 {
2041
2076
  &:hover {
2042
2077
  @media (hover: hover) {
@@ -2759,6 +2794,11 @@
2759
2794
  color: var(--zs-color-blue-400);
2760
2795
  }
2761
2796
  }
2797
+ .zs\:dark\:text-blue-500 {
2798
+ &:where(.dark, .dark *) {
2799
+ color: var(--zs-color-blue-500);
2800
+ }
2801
+ }
2762
2802
  .zs\:dark\:text-blue-700 {
2763
2803
  &:where(.dark, .dark *) {
2764
2804
  color: var(--zs-color-blue-700);
@@ -3270,6 +3310,15 @@
3270
3310
  }
3271
3311
  }
3272
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
+ }
3273
3322
  .zs\:dark\:hover\:text-red-400 {
3274
3323
  &:where(.dark, .dark *) {
3275
3324
  &:hover {
@@ -3279,6 +3328,15 @@
3279
3328
  }
3280
3329
  }
3281
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
+ }
3282
3340
  .zs\:dark\:hover\:text-slate-200 {
3283
3341
  &:where(.dark, .dark *) {
3284
3342
  &:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziadshalaby/ngx-zs-component",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0"