@ziadshalaby/ngx-zs-component 3.2.0 → 3.2.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
@@ -19,7 +19,7 @@ declare class AlertService {
19
19
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AlertService>;
20
20
  }
21
21
 
22
- type KeyType = 'alert' | 'spinner' | 'modal' | 'themeToggle' | 'navbar' | 'sideBar' | 'scrollToTop' | 'navItemDropdown' | 'selectDropdown';
22
+ type KeyType = 'alert' | 'spinner' | 'modal' | 'themeToggle' | 'navbar' | 'navbarOverlay' | 'sideBar' | 'scrollToTop' | 'navItemDropdown' | 'selectDropdown';
23
23
  type ZIndicesType = Record<KeyType, `zs:z-${number}`>;
24
24
 
25
25
  interface AlertType {
@@ -978,9 +978,10 @@ declare class Sidebar {
978
978
  readonly zIndices: ZIndicesType;
979
979
  readonly header: _angular_core.InputSignal<string>;
980
980
  readonly openSide: _angular_core.ModelSignal<boolean>;
981
+ readonly floating: _angular_core.InputSignal<boolean>;
981
982
  toggleSide(): void;
982
983
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Sidebar, never>;
983
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Sidebar, "ZS-sidebar", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "openSide": { "alias": "openSide"; "required": false; "isSignal": true; }; }, { "openSide": "openSideChange"; }, never, ["[main]"], true, never>;
984
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<Sidebar, "ZS-sidebar", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "openSide": { "alias": "openSide"; "required": false; "isSignal": true; }; "floating": { "alias": "floating"; "required": false; "isSignal": true; }; }, { "openSide": "openSideChange"; }, never, ["[main]"], true, never>;
984
985
  }
985
986
 
986
987
  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, Sidebar, Spinner, ThemeToggle, Toggle, buttonOutlinePaletteMap, buttonSolidPaletteMap, cardPaletteMap, checkboxTextPaletteMap, inputPaletteMap, modalPaletteMap, page404PaletteMap, ringPaletteMap, selectPaletteMap, unifiedPaletteMap };
package/output.css CHANGED
@@ -16,6 +16,7 @@
16
16
  --zs-color-red-700: oklch(50.5% 0.213 27.518);
17
17
  --zs-color-red-800: oklch(44.4% 0.177 26.899);
18
18
  --zs-color-orange-400: oklch(75% 0.183 55.934);
19
+ --zs-color-orange-500: oklch(70.5% 0.213 47.604);
19
20
  --zs-color-orange-600: oklch(64.6% 0.222 41.116);
20
21
  --zs-color-amber-200: oklch(92.4% 0.12 95.746);
21
22
  --zs-color-amber-300: oklch(87.9% 0.169 91.605);
@@ -43,6 +44,7 @@
43
44
  --zs-color-green-700: oklch(52.7% 0.154 150.069);
44
45
  --zs-color-green-800: oklch(44.8% 0.119 151.328);
45
46
  --zs-color-emerald-400: oklch(76.5% 0.177 163.223);
47
+ --zs-color-emerald-500: oklch(69.6% 0.17 162.48);
46
48
  --zs-color-emerald-600: oklch(59.6% 0.145 163.225);
47
49
  --zs-color-teal-200: oklch(91% 0.096 180.426);
48
50
  --zs-color-teal-300: oklch(85.5% 0.138 181.071);
@@ -58,9 +60,11 @@
58
60
  --zs-color-cyan-600: oklch(60.9% 0.126 221.723);
59
61
  --zs-color-cyan-700: oklch(52% 0.105 223.128);
60
62
  --zs-color-cyan-800: oklch(45% 0.085 224.283);
63
+ --zs-color-sky-100: oklch(95.1% 0.026 236.824);
61
64
  --zs-color-sky-400: oklch(74.6% 0.16 232.661);
62
65
  --zs-color-sky-500: oklch(68.5% 0.169 237.323);
63
66
  --zs-color-sky-600: oklch(58.8% 0.158 241.966);
67
+ --zs-color-sky-700: oklch(50% 0.134 242.749);
64
68
  --zs-color-blue-100: oklch(93.2% 0.032 255.585);
65
69
  --zs-color-blue-200: oklch(88.2% 0.059 254.128);
66
70
  --zs-color-blue-300: oklch(80.9% 0.105 251.813);
@@ -81,6 +85,7 @@
81
85
  --zs-color-violet-700: oklch(49.1% 0.27 292.581);
82
86
  --zs-color-violet-800: oklch(43.2% 0.232 292.759);
83
87
  --zs-color-purple-400: oklch(71.4% 0.203 305.504);
88
+ --zs-color-purple-500: oklch(62.7% 0.265 303.9);
84
89
  --zs-color-purple-600: oklch(55.8% 0.288 302.321);
85
90
  --zs-color-fuchsia-400: oklch(74% 0.238 322.16);
86
91
  --zs-color-fuchsia-600: oklch(59.1% 0.293 322.896);
@@ -395,14 +400,11 @@
395
400
  .zs\:z-600 {
396
401
  z-index: 600;
397
402
  }
398
- .zs\:z-700 {
399
- z-index: 700;
400
- }
401
403
  .zs\:z-800 {
402
404
  z-index: 800;
403
405
  }
404
- .zs\:z-1000 {
405
- z-index: 1000;
406
+ .zs\:z-1100 {
407
+ z-index: 1100;
406
408
  }
407
409
  .zs\:z-1200 {
408
410
  z-index: 1200;
@@ -416,6 +418,9 @@
416
418
  .zs\:z-1800 {
417
419
  z-index: 1800;
418
420
  }
421
+ .zs\:z-2000 {
422
+ z-index: 2000;
423
+ }
419
424
  .zs\:m-4 {
420
425
  margin: calc(var(--zs-spacing) * 4);
421
426
  }
@@ -600,15 +605,15 @@
600
605
  .zs\:h-16 {
601
606
  height: calc(var(--zs-spacing) * 16);
602
607
  }
608
+ .zs\:h-\[85vh\] {
609
+ height: 85vh;
610
+ }
603
611
  .zs\:h-\[calc\(100\%-52px\)\] {
604
612
  height: calc(100% - 52px);
605
613
  }
606
614
  .zs\:h-full {
607
615
  height: 100%;
608
616
  }
609
- .zs\:h-screen {
610
- height: 100vh;
611
- }
612
617
  .zs\:max-h-60 {
613
618
  max-height: calc(var(--zs-spacing) * 60);
614
619
  }
@@ -666,9 +671,6 @@
666
671
  .zs\:w-\[75vw\] {
667
672
  width: 75vw;
668
673
  }
669
- .zs\:w-\[360px\] {
670
- width: 360px;
671
- }
672
674
  .zs\:w-auto {
673
675
  width: auto;
674
676
  }
@@ -678,9 +680,15 @@
678
680
  .zs\:w-full {
679
681
  width: 100%;
680
682
  }
683
+ .zs\:max-w-0 {
684
+ max-width: calc(var(--zs-spacing) * 0);
685
+ }
681
686
  .zs\:max-w-7xl {
682
687
  max-width: var(--zs-container-7xl);
683
688
  }
689
+ .zs\:max-w-\[75vw\] {
690
+ max-width: 75vw;
691
+ }
684
692
  .zs\:max-w-\[140px\] {
685
693
  max-width: 140px;
686
694
  }
@@ -1191,6 +1199,9 @@
1191
1199
  .zs\:bg-green-200 {
1192
1200
  background-color: var(--zs-color-green-200);
1193
1201
  }
1202
+ .zs\:bg-green-300 {
1203
+ background-color: var(--zs-color-green-300);
1204
+ }
1194
1205
  .zs\:bg-green-500 {
1195
1206
  background-color: var(--zs-color-green-500);
1196
1207
  }
@@ -1284,12 +1295,6 @@
1284
1295
  .zs\:bg-white {
1285
1296
  background-color: var(--zs-color-white);
1286
1297
  }
1287
- .zs\:bg-white\/90 {
1288
- background-color: var(--zs-color-white);
1289
- @supports (color: color-mix(in lab, red, red)) {
1290
- background-color: color-mix(in oklab, var(--zs-color-white) 90%, transparent);
1291
- }
1292
- }
1293
1298
  .zs\:bg-yellow-100 {
1294
1299
  background-color: var(--zs-color-yellow-100);
1295
1300
  }
@@ -1434,12 +1439,18 @@
1434
1439
  .zs\:pr-2 {
1435
1440
  padding-right: calc(var(--zs-spacing) * 2);
1436
1441
  }
1442
+ .zs\:pr-3 {
1443
+ padding-right: calc(var(--zs-spacing) * 3);
1444
+ }
1437
1445
  .zs\:pb-3 {
1438
1446
  padding-bottom: calc(var(--zs-spacing) * 3);
1439
1447
  }
1440
1448
  .zs\:pb-4 {
1441
1449
  padding-bottom: calc(var(--zs-spacing) * 4);
1442
1450
  }
1451
+ .zs\:pb-5 {
1452
+ padding-bottom: calc(var(--zs-spacing) * 5);
1453
+ }
1443
1454
  .zs\:pl-3 {
1444
1455
  padding-left: calc(var(--zs-spacing) * 3);
1445
1456
  }
@@ -1573,6 +1584,9 @@
1573
1584
  .zs\:text-cyan-800 {
1574
1585
  color: var(--zs-color-cyan-800);
1575
1586
  }
1587
+ .zs\:text-emerald-500 {
1588
+ color: var(--zs-color-emerald-500);
1589
+ }
1576
1590
  .zs\:text-emerald-600 {
1577
1591
  color: var(--zs-color-emerald-600);
1578
1592
  }
@@ -1627,12 +1641,18 @@
1627
1641
  .zs\:text-neutral-600 {
1628
1642
  color: var(--zs-color-neutral-600);
1629
1643
  }
1644
+ .zs\:text-orange-500 {
1645
+ color: var(--zs-color-orange-500);
1646
+ }
1630
1647
  .zs\:text-orange-600 {
1631
1648
  color: var(--zs-color-orange-600);
1632
1649
  }
1633
1650
  .zs\:text-pink-600 {
1634
1651
  color: var(--zs-color-pink-600);
1635
1652
  }
1653
+ .zs\:text-purple-500 {
1654
+ color: var(--zs-color-purple-500);
1655
+ }
1636
1656
  .zs\:text-purple-600 {
1637
1657
  color: var(--zs-color-purple-600);
1638
1658
  }
@@ -1657,6 +1677,9 @@
1657
1677
  color: color-mix(in oklab, var(--zs-color-rose-600) 80%, transparent);
1658
1678
  }
1659
1679
  }
1680
+ .zs\:text-sky-500 {
1681
+ color: var(--zs-color-sky-500);
1682
+ }
1660
1683
  .zs\:text-sky-600 {
1661
1684
  color: var(--zs-color-sky-600);
1662
1685
  }
@@ -1779,6 +1802,21 @@
1779
1802
  transition-timing-function: var(--tw-ease, var(--zs-default-transition-timing-function));
1780
1803
  transition-duration: var(--tw-duration, var(--zs-default-transition-duration));
1781
1804
  }
1805
+ .zs\:transition-\[max-width\] {
1806
+ transition-property: max-width;
1807
+ transition-timing-function: var(--tw-ease, var(--zs-default-transition-timing-function));
1808
+ transition-duration: var(--tw-duration, var(--zs-default-transition-duration));
1809
+ }
1810
+ .zs\:transition-\[translate\] {
1811
+ transition-property: translate;
1812
+ transition-timing-function: var(--tw-ease, var(--zs-default-transition-timing-function));
1813
+ transition-duration: var(--tw-duration, var(--zs-default-transition-duration));
1814
+ }
1815
+ .zs\:transition-\[width\,opacity\,color\,background-color\] {
1816
+ transition-property: width,opacity,color,background-color;
1817
+ transition-timing-function: var(--tw-ease, var(--zs-default-transition-timing-function));
1818
+ transition-duration: var(--tw-duration, var(--zs-default-transition-duration));
1819
+ }
1782
1820
  .zs\:transition-\[width\] {
1783
1821
  transition-property: width;
1784
1822
  transition-timing-function: var(--tw-ease, var(--zs-default-transition-timing-function));
@@ -1804,6 +1842,12 @@
1804
1842
  transition-timing-function: var(--tw-ease, var(--zs-default-transition-timing-function));
1805
1843
  transition-duration: var(--tw-duration, var(--zs-default-transition-duration));
1806
1844
  }
1845
+ .zs\:delay-0 {
1846
+ transition-delay: 0ms;
1847
+ }
1848
+ .zs\:delay-300 {
1849
+ transition-delay: 300ms;
1850
+ }
1807
1851
  .zs\:duration-100 {
1808
1852
  --tw-duration: 100ms;
1809
1853
  transition-duration: 100ms;
@@ -1824,6 +1868,10 @@
1824
1868
  --tw-duration: 500ms;
1825
1869
  transition-duration: 500ms;
1826
1870
  }
1871
+ .zs\:duration-600 {
1872
+ --tw-duration: 600ms;
1873
+ transition-duration: 600ms;
1874
+ }
1827
1875
  .zs\:ease-in-out {
1828
1876
  --tw-ease: var(--zs-ease-in-out);
1829
1877
  transition-timing-function: var(--zs-ease-in-out);
@@ -2146,6 +2194,13 @@
2146
2194
  }
2147
2195
  }
2148
2196
  }
2197
+ .zs\:hover\:bg-sky-100 {
2198
+ &:hover {
2199
+ @media (hover: hover) {
2200
+ background-color: var(--zs-color-sky-100);
2201
+ }
2202
+ }
2203
+ }
2149
2204
  .zs\:hover\:bg-sky-600 {
2150
2205
  &:hover {
2151
2206
  @media (hover: hover) {
@@ -2244,13 +2299,6 @@
2244
2299
  }
2245
2300
  }
2246
2301
  }
2247
- .zs\:hover\:text-green-700 {
2248
- &:hover {
2249
- @media (hover: hover) {
2250
- color: var(--zs-color-green-700);
2251
- }
2252
- }
2253
- }
2254
2302
  .zs\:hover\:text-red-600 {
2255
2303
  &:hover {
2256
2304
  @media (hover: hover) {
@@ -2480,6 +2528,11 @@
2480
2528
  line-height: var(--tw-leading, var(--zs-text-xs--line-height));
2481
2529
  }
2482
2530
  }
2531
+ .zs\:md\:relative {
2532
+ @media (width >= 48rem) {
2533
+ position: relative;
2534
+ }
2535
+ }
2483
2536
  .zs\:md\:w-\[40vw\] {
2484
2537
  @media (width >= 48rem) {
2485
2538
  width: 40vw;
@@ -2970,6 +3023,11 @@
2970
3023
  background-color: var(--zs-color-sky-600);
2971
3024
  }
2972
3025
  }
3026
+ .zs\:dark\:bg-sky-700 {
3027
+ &:where(.dark, .dark *) {
3028
+ background-color: var(--zs-color-sky-700);
3029
+ }
3030
+ }
2973
3031
  .zs\:dark\:bg-slate-400 {
2974
3032
  &:where(.dark, .dark *) {
2975
3033
  background-color: var(--zs-color-slate-400);
@@ -2985,14 +3043,6 @@
2985
3043
  background-color: var(--zs-color-slate-800);
2986
3044
  }
2987
3045
  }
2988
- .zs\:dark\:bg-slate-800\/90 {
2989
- &:where(.dark, .dark *) {
2990
- background-color: var(--zs-color-slate-800);
2991
- @supports (color: color-mix(in lab, red, red)) {
2992
- background-color: color-mix(in oklab, var(--zs-color-slate-800) 90%, transparent);
2993
- }
2994
- }
2995
- }
2996
3046
  .zs\:dark\:bg-slate-900 {
2997
3047
  &:where(.dark, .dark *) {
2998
3048
  background-color: var(--zs-color-slate-900);
@@ -3308,6 +3358,11 @@
3308
3358
  color: var(--zs-color-sky-500);
3309
3359
  }
3310
3360
  }
3361
+ .zs\:dark\:text-sky-600 {
3362
+ &:where(.dark, .dark *) {
3363
+ color: var(--zs-color-sky-600);
3364
+ }
3365
+ }
3311
3366
  .zs\:dark\:text-slate-100 {
3312
3367
  &:where(.dark, .dark *) {
3313
3368
  color: var(--zs-color-slate-100);
@@ -3692,6 +3747,18 @@
3692
3747
  }
3693
3748
  }
3694
3749
  }
3750
+ .zs\:dark\:hover\:bg-sky-700\/50 {
3751
+ &:where(.dark, .dark *) {
3752
+ &:hover {
3753
+ @media (hover: hover) {
3754
+ background-color: var(--zs-color-sky-700);
3755
+ @supports (color: color-mix(in lab, red, red)) {
3756
+ background-color: color-mix(in oklab, var(--zs-color-sky-700) 50%, transparent);
3757
+ }
3758
+ }
3759
+ }
3760
+ }
3761
+ }
3695
3762
  .zs\:dark\:hover\:bg-slate-600 {
3696
3763
  &:where(.dark, .dark *) {
3697
3764
  &:hover {
@@ -3767,15 +3834,6 @@
3767
3834
  }
3768
3835
  }
3769
3836
  }
3770
- .zs\:dark\:hover\:text-green-500 {
3771
- &:where(.dark, .dark *) {
3772
- &:hover {
3773
- @media (hover: hover) {
3774
- color: var(--zs-color-green-500);
3775
- }
3776
- }
3777
- }
3778
- }
3779
3837
  .zs\:dark\:hover\:text-red-300 {
3780
3838
  &:where(.dark, .dark *) {
3781
3839
  &:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziadshalaby/ngx-zs-component",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0"