@annalib/anna-core 11.3.1 → 11.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "11.3.1",
3
+ "version": "11.3.2",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.4",
6
6
  "@angular/common": "^15.2.9",
@@ -1,4 +1,4 @@
1
- @import "./fonts", "./colors", "./ng-select";
1
+ @import "./fonts", "./colors";
2
2
 
3
3
  .input-group-append {
4
4
  margin: auto;
@@ -78,7 +78,7 @@ input.form-control:disabled {
78
78
  background-color: #fff !important;
79
79
  }
80
80
 
81
- ::ng-deep app-single-select-dropdown ng-select.custom-dropdown {
81
+ ::ng-deep app-single-select-dropdown {
82
82
  width: 19.5rem !important;
83
83
  }
84
84
 
@@ -1,176 +0,0 @@
1
- /***COMMON NG-SELECT STYLING FOR ALL SIZES **/
2
- ::ng-deep .ng-select {
3
- & .ng-arrow,
4
- & .ng-arrow:hover {
5
- border-color: black transparent transparent !important;
6
- opacity: 1 !important;
7
- }
8
-
9
- &.ng-select-opened .ng-arrow,
10
- &.ng-select-opened .ng-arrow:hover {
11
- border-color: transparent transparent black !important;
12
- opacity: 1 !important;
13
- padding-top: 2px;
14
- }
15
-
16
- & .ng-select-container {
17
- border: 1px solid #b7b7b7 !important;
18
- border-radius: 2px;
19
- &:hover {
20
- box-shadow: none;
21
- }
22
- }
23
-
24
- &.custom-error-ng-select .ng-select-container {
25
- border: 1px solid #f86c6b;
26
- }
27
-
28
- &.ng-select-disabled > .ng-select-container {
29
- background-color: #bdbdbd;
30
- opacity: 0.5;
31
- cursor: not-allowed;
32
-
33
- }
34
-
35
- & .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
36
- & .ng-option-label {
37
- font-weight: normal !important;
38
- }
39
- &:hover {
40
- background-color: #ebebeb;
41
- color: #4a4a4a;
42
- }
43
- &:not(:hover){
44
- background-color: #fff;
45
- }
46
- &.ng-option-selected {
47
- background-color: #268bff;
48
- color: #fff;
49
- }
50
- }
51
-
52
- &.ng-select-focused:not(.ng-select-opened) > .ng-select-container {
53
- border-color: lightgray;
54
- box-shadow: none;
55
- }
56
-
57
- }
58
-
59
- /*****EXTRA SMALL NG STYLE******/
60
- ::ng-deep .ng-select.custom-xs-ng-select {
61
- & .ng-select-container {
62
- min-height: 22px !important;
63
- font-size: 12px !important;
64
- }
65
-
66
- &.ng-select-single .ng-select-container {
67
- height: 22px !important;
68
- }
69
-
70
- & .ng-dropdown-panel .scroll-host {
71
- font-size: 12px !important;
72
- }
73
-
74
- & .ng-arrow-wrapper {
75
- padding-top: 2px !important;
76
- }
77
-
78
- &.ng-select-opened,
79
- &.ng-select-bottom,
80
- &.ng-select-top {
81
- & .ng-select-container {
82
- padding-top: 6px !important;
83
- }
84
- }
85
- &.non-searchable {
86
- &.ng-select-opened,
87
- &.ng-select-bottom,
88
- &.ng-select-top {
89
- & .ng-select-container {
90
- padding-top: 4px !important;
91
- }
92
- }
93
- }
94
- & .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
95
- padding: 3px 10px;
96
- }
97
- }
98
-
99
- /**SMALL NG SELECT STYLE***/
100
- ::ng-deep .ng-select.custom-sm-ng-select {
101
- & .ng-select-container {
102
- min-height: 1.5625rem !important;
103
- }
104
-
105
- &.ng-select-single .ng-select-container {
106
- height: 1.5625rem !important;
107
- }
108
-
109
- &.ng-select-opened,
110
- &.ng-select-bottom,
111
- &.ng-select-top {
112
- & .ng-select-container {
113
- padding-top: 8px !important;
114
- }
115
- }
116
- &.non-searchable {
117
- &.ng-select-opened,
118
- &.ng-select-bottom,
119
- &.ng-select-top {
120
- & .ng-select-container {
121
- padding-top: 8px !important;
122
- }
123
- }
124
- }
125
- & .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
126
- padding: 4px 10px;
127
- }
128
- }
129
-
130
- /**MEDIUM NG SELECT STYLE***/
131
- ::ng-deep .ng-select.custom-md-ng-select {
132
- & .ng-select-container {
133
- min-height: 30px !important;
134
- }
135
-
136
- &.ng-select-single .ng-select-container {
137
- height: 1.875rem !important;
138
- }
139
- }
140
-
141
- /**MEDIUM NG SELECT STYLE -2 !!! with 32px height !!!***/
142
- ::ng-deep .ng-select.custom-md-32-ng-select {
143
- & .ng-select-container {
144
- min-height: 32px !important;
145
- }
146
-
147
- &.ng-select-single .ng-select-container {
148
- height: 32px !important;
149
- }
150
- }
151
-
152
- /**LARGE NG SELECT STYLE***/
153
- ::ng-deep .ng-select.custom-lg-ng-select {
154
- & .ng-select-container {
155
- min-height: 2.8125rem !important;
156
- }
157
-
158
- &.ng-select-single .ng-select-container {
159
- height: 2.8125rem !important;
160
- }
161
- }
162
-
163
-
164
- :host::ng-deep .custom-arrow.ng-select.ng-select-opened>.ng-select-container{
165
- .ng-arrow{
166
- border-width: 0 4px 4px;
167
- position: relative;
168
- bottom: 1px;
169
- }
170
- }
171
-
172
- :host::ng-deep .custom-arrow.ng-select .ng-arrow-wrapper .ng-arrow{
173
- border-width: 4px 4px 2.5px;
174
- position: relative;
175
- bottom: 1px;
176
- }