i-tech-shared-components 1.1.14 → 1.1.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i-tech-shared-components",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^18.2.14",
6
6
  "@angular/material": "^18.2.14",
@@ -0,0 +1,90 @@
1
+ @use '@angular/material' as mat;
2
+ @import "./color_themes.scss";
3
+
4
+ body {
5
+
6
+ .ag-theme-material {
7
+ --ag-header-column-separator-display: block;
8
+ --ag-header-column-separator-height: 50%;
9
+ --ag-header-column-separator-color: rgba(0, 0, 0, 0.12);
10
+ --ag-secondary-foreground-color: var(--neutral30);
11
+
12
+ // Success theme
13
+ .ag-row.success-row {
14
+ background-color: #{mat.get-theme-color($m3-light-theme, primary, 99)} !important;
15
+ }
16
+ .ag-row.success-row:hover:before {
17
+ background-color: #{mat.get-theme-color($m3-light-theme, primary, 98)} !important;
18
+ }
19
+
20
+ // Change theme
21
+ .ag-cell-changed {
22
+ background-color: #{mat.get-theme-color($m3-light-theme, secondary, 99)} !important;
23
+ &.ag-cell-focus,
24
+ &:hover {
25
+ background-color: #{mat.get-theme-color($m3-light-theme, secondary, 98)} !important;
26
+ }
27
+ }
28
+
29
+ // Error theme
30
+ .ag-row.error-row {
31
+ background-color: #{mat.get-theme-color($m3-light-theme, error, 99)} !important;
32
+ }
33
+ .ag-row.error-row:hover:before {
34
+ background-color: #{mat.get-theme-color($m3-light-theme, error, 98)} !important;
35
+ }
36
+ }
37
+
38
+ .grid-with-toolbar {
39
+ $borderRadius: 6px;
40
+
41
+ .filtration {
42
+ padding: 8px;
43
+ border: 1px solid var(--neutral90);
44
+ border-bottom: unset;
45
+ border-top-left-radius: #{$borderRadius};
46
+ border-top-right-radius: #{$borderRadius};
47
+
48
+ .search {
49
+ width: 210px;
50
+ }
51
+
52
+ background-color: #fff
53
+ }
54
+
55
+ .ag-root-wrapper {
56
+ background-color: transparent !important;
57
+ border: unset !important;
58
+ border-radius: unset !important;
59
+ --ag-border-color: var(--neutral90) !important;
60
+
61
+ .ag-root-wrapper-body {
62
+ border-bottom-left-radius: #{$borderRadius} !important;
63
+ border-bottom-right-radius: #{$borderRadius} !important;
64
+ border: 1px solid var(--neutral90) !important;
65
+ background-color: var(--white-color) !important;
66
+ }
67
+
68
+ .ag-picker-field-wrapper {
69
+ border-radius: 4px !important;
70
+ height: 40px;
71
+ border: 1px solid var(--neutral90);
72
+ box-shadow: unset !important;
73
+ .ag-picker-field-display {
74
+ color: #424954;
75
+ font-weight: 500;
76
+ font-size: 13px;
77
+ }
78
+ }
79
+
80
+ .ag-header, .ag-advanced-filter-header {
81
+ --ag-header-background-color: #{mat.get-theme-color($m3-light-theme, neutral, 99)};
82
+ }
83
+ }
84
+
85
+ .ag-paging-panel {
86
+ border-top: unset !important;
87
+ }
88
+ }
89
+
90
+ }
package/theme.scss CHANGED
@@ -11,6 +11,7 @@
11
11
  @import "./theme/form_fields.scss";
12
12
  @import "./theme/mat-selects.scss";
13
13
  @import "./theme/menu.scss";
14
+ @import "./theme/ag-grid.scss";
14
15
 
15
16
  @include mat.core();
16
17