@annalib/anna-core 11.2.36 → 11.2.38

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.
@@ -1,4 +1,4 @@
1
- import { ActivatedRoute, Router } from '@angular/router';
1
+ import { ActivatedRoute, Router } from "@angular/router";
2
2
  import { Subject } from "rxjs";
3
3
  import { AnnaFilterService } from "./anna-filter.service";
4
4
  import { AnnaSortService } from "./anna-sort.service";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "11.2.36",
3
+ "version": "11.2.38",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.3",
6
6
  "@angular/common": "^14.3.0",
@@ -0,0 +1,18 @@
1
+ @import "./colors";
2
+
3
+ @mixin enableDisableBtnStyle() {
4
+ background-color: white;
5
+ text-decoration: underline;
6
+ color: $primary-color;
7
+ border: none;
8
+
9
+ &:hover:enabled {
10
+ color: $charcoal;
11
+ }
12
+
13
+ &:disabled {
14
+ color: $charcoal;
15
+ opacity: 0.5;
16
+ cursor: not-allowed;
17
+ }
18
+ }
@@ -0,0 +1,37 @@
1
+ @import "./fonts", "./colors";
2
+
3
+ @mixin easy-filters() {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ align-items: flex-end;
7
+ max-width: calc(100% - 4px);
8
+ margin-bottom: 8px;
9
+
10
+ .easy-filters-btn {
11
+ border: 1px solid $primary-color;
12
+ border-radius: 12px;
13
+ background-color: white;
14
+ color: $primary-color;
15
+ @include fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.6px);
16
+ padding: 5px 8px 5px 8px;
17
+ margin: 15px 8px 0px 0px;
18
+
19
+ &:disabled {
20
+ background-color: $gray74;
21
+ color: $charcoal;
22
+ opacity: 0.5;
23
+ border: 1px solid $gray74;
24
+ cursor: not-allowed;
25
+ }
26
+ }
27
+
28
+ button.easy-filter-active {
29
+ color: white;
30
+ background: $primary-color;
31
+ }
32
+
33
+ .only-enabled-button {
34
+ cursor: default;
35
+ pointer-events: none;
36
+ }
37
+ }