ca-components 2.0.49 → 2.0.50

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.
Files changed (36) hide show
  1. package/assets/scss/background.scss +4 -0
  2. package/assets/scss/icons.scss +31 -0
  3. package/assets/scss/sizing.scss +2 -0
  4. package/assets/scss/spacing.scss +19 -1
  5. package/assets/theme/main.scss +124 -124
  6. package/fesm2022/ca-components.mjs +291 -446
  7. package/fesm2022/ca-components.mjs.map +1 -1
  8. package/lib/ca-components.module.d.ts +28 -28
  9. package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
  10. package/lib/components/ca-fuel-prices-range/ca-fuel-prices-range.component.d.ts +18 -0
  11. package/lib/components/ca-fuel-prices-range/interfaces/fuel-prices-range-config.interface.d.ts +6 -0
  12. package/lib/components/ca-fuel-prices-range/interfaces/index.d.ts +1 -0
  13. package/lib/components/ca-fuel-prices-range/pipes/fuel-prices-range.pipe.d.ts +16 -0
  14. package/lib/components/ca-fuel-prices-range/pipes/index.d.ts +1 -0
  15. package/lib/components/ca-fuel-prices-range/utils/constants/fuel-prices-range.constants.d.ts +4 -0
  16. package/lib/components/ca-fuel-prices-range/utils/constants/index.d.ts +1 -0
  17. package/lib/components/ca-last-fuel-price-progress/utils/helpers/last-fuel-price-progress.helper.d.ts +2 -2
  18. package/lib/components/ca-modal-items/interfaces/modal-items-config.interface.d.ts +1 -0
  19. package/lib/utils/svg-routes/shared-svg.routes.d.ts +2 -0
  20. package/package.json +1 -1
  21. package/public-api.d.ts +3 -2
  22. package/lib/components/ca-progress-range/ca-progress-range.component.d.ts +0 -23
  23. package/lib/components/ca-progress-range/enums/index.d.ts +0 -3
  24. package/lib/components/ca-progress-range/enums/progress-range-price.enum.d.ts +0 -9
  25. package/lib/components/ca-progress-range/enums/progress-range-tooltip-position.enum.d.ts +0 -4
  26. package/lib/components/ca-progress-range/enums/progress-range-unit.enum.d.ts +0 -3
  27. package/lib/components/ca-progress-range/models/index.d.ts +0 -1
  28. package/lib/components/ca-progress-range/models/progress-range-last-price-item.model.d.ts +0 -6
  29. package/lib/components/ca-progress-range/utils/constants/ca-progress-range.constants.d.ts +0 -21
  30. package/lib/components/ca-progress-range/utils/constants/index.d.ts +0 -1
  31. package/lib/components/ca-progress-range/utils/directives/index.d.ts +0 -3
  32. package/lib/components/ca-progress-range/utils/directives/progress-range-svg.directive.d.ts +0 -12
  33. package/lib/components/ca-progress-range/utils/directives/progress-range-tooltip-arrow-position.directive.d.ts +0 -14
  34. package/lib/components/ca-progress-range/utils/directives/progress-range-tooltip.directive.d.ts +0 -15
  35. package/lib/components/ca-progress-range/utils/svg-routes/ca-progress-range-svg-routes.d.ts +0 -4
  36. package/lib/components/ca-progress-range/utils/svg-routes/index.d.ts +0 -1
@@ -281,6 +281,10 @@
281
281
 
282
282
  &-light-grey {
283
283
  @include hover($ta-light-grey);
284
+
285
+ &-5 {
286
+ @include hover($ta-light-grey-5);
287
+ }
284
288
  }
285
289
 
286
290
  &-bw-9 {
@@ -7,6 +7,12 @@
7
7
  }
8
8
  }
9
9
 
10
+ @mixin svg-fill-first-path-child($color) {
11
+ svg path:first-child {
12
+ fill: $color !important;
13
+ }
14
+ }
15
+
10
16
  @mixin svg-rect-fill($color) {
11
17
  fill: $color !important;
12
18
 
@@ -53,6 +59,9 @@
53
59
  .svg {
54
60
  // Colors
55
61
  &-fill {
62
+ &-dark-2 {
63
+ @include svg-fill($dark-2);
64
+ }
56
65
  &-black {
57
66
  @include svg-fill($black);
58
67
  &-2 {
@@ -175,6 +184,28 @@
175
184
  }
176
185
  }
177
186
 
187
+ // First Path Child
188
+ &-fill-first-path-child {
189
+ &-green {
190
+ @include svg-fill-first-path-child($ta-green);
191
+ }
192
+ &-green-6 {
193
+ @include svg-fill-first-path-child($ta-green-6);
194
+ }
195
+ &-yellow-1 {
196
+ @include svg-fill-first-path-child($ta-yellow-1);
197
+ }
198
+ &-orange-4 {
199
+ @include svg-fill-first-path-child($ta-orange-4);
200
+ }
201
+ &-red-10 {
202
+ @include svg-fill-first-path-child($ta-red-10);
203
+ }
204
+ &-light-grey-2 {
205
+ @include svg-fill-first-path-child($ta-light-grey-2);
206
+ }
207
+ }
208
+
178
209
  // Hovers
179
210
  &-hover {
180
211
  &-white {
@@ -11,6 +11,7 @@ $sizes-height: (
11
11
  22,
12
12
  24,
13
13
  26,
14
+ 28,
14
15
  30,
15
16
  34,
16
17
  37,
@@ -65,6 +66,7 @@ $sizes-width: (
65
66
  106,
66
67
  108,
67
68
  116,
69
+ 118,
68
70
  126,
69
71
  144,
70
72
  155,
@@ -1,4 +1,4 @@
1
- $padding-sizes: 1, 2, 4, 6, 9, 10, 12, 14, 15, 18, 30;
1
+ $padding-sizes: 1, 2, 4, 6, 8, 9, 10, 12, 14, 15, 18, 30;
2
2
  $padding-x-sizes: 2, 4, 5, 6, 8, 10, 12;
3
3
  $margin-sizes:
4
4
  -4,
@@ -117,3 +117,21 @@ $sizes: 1, 2, 4, 10, 14, 15, 18, 22, 26, 31, 32, 36, 116, 120;
117
117
  .w-fit-content {
118
118
  width: fit-content !important;
119
119
  }
120
+
121
+ .right {
122
+ &-100 {
123
+ right: 100%;
124
+ }
125
+ }
126
+
127
+ .left {
128
+ &-100 {
129
+ left: 100%;
130
+ }
131
+ }
132
+
133
+ .top {
134
+ &--14 {
135
+ top: -14px;
136
+ }
137
+ }
@@ -1,193 +1,193 @@
1
- @import "./variables.scss";
1
+ @import './variables.scss';
2
2
  * {
3
- font-family: $main-font, $fallback-font;
3
+ font-family: $main-font, $fallback-font;
4
4
  }
5
5
 
6
6
  p {
7
- margin: 0;
8
- padding: 0;
7
+ margin: 0;
8
+ padding: 0;
9
9
  }
10
10
 
11
11
  .form-control:focus {
12
- box-shadow: none !important;
13
- outline: none;
12
+ box-shadow: none !important;
13
+ outline: none;
14
14
  }
15
15
 
16
16
  .payment-type {
17
- &.col-12,
18
- &.col-6 {
19
- padding-left: 6px;
20
- padding-right: 6px;
21
- }
17
+ &.col-12,
18
+ &.col-6 {
19
+ padding-left: 6px;
20
+ padding-right: 6px;
21
+ }
22
22
  }
23
23
 
24
24
  .btn-primary {
25
- input {
26
- display: none;
27
- }
25
+ input {
26
+ display: none;
27
+ }
28
28
  }
29
29
 
30
30
  ::ng-deep .tooltip {
31
- .arrow::before {
32
- display: none;
33
- }
31
+ .arrow::before {
32
+ display: none;
33
+ }
34
34
  }
35
35
 
36
36
  ::ng-deep .tooltip-inner {
37
- background-color: $white;
38
- color: $muted;
39
- height: 17px;
40
- display: flex;
41
- align-items: center;
42
- border-radius: 2px;
43
- font-size: 10px;
44
- font-weight: 600;
45
- box-shadow: $box-shadow;
37
+ background-color: $white;
38
+ color: $muted;
39
+ height: 17px;
40
+ display: flex;
41
+ align-items: center;
42
+ border-radius: 2px;
43
+ font-size: 10px;
44
+ font-weight: 600;
45
+ box-shadow: $box-shadow;
46
46
  }
47
47
 
48
48
  .form-label-group {
49
- ng-select {
50
- width: 100%;
51
- }
49
+ ng-select {
50
+ width: 100%;
51
+ }
52
52
  }
53
53
 
54
54
  .btn-primary {
55
- font-size: 11px !important;
56
- border-radius: 3px;
57
- padding: 0.1rem 0.45rem !important;
58
- background-color: $bw-9 !important;
59
- transition: 0.25s;
60
- font-weight: 600;
61
- border: none;
55
+ font-size: 11px !important;
56
+ border-radius: 3px;
57
+ padding: 0.1rem 0.45rem !important;
58
+ background-color: $bw-9 !important;
59
+ transition: 0.25s;
60
+ font-weight: 600;
61
+ border: none;
62
62
  }
63
63
 
64
64
  .choice-wrapper {
65
- display: flex;
66
- align-items: center;
65
+ display: flex;
66
+ align-items: center;
67
67
  }
68
68
 
69
69
  .note-label-wrapper {
70
- background-color: $white;
71
- font-weight: 600;
72
- color: $bw6-2;
73
- margin: 0 -12px;
74
- padding: 0 12px;
75
- transition: 0.3s;
76
- cursor: pointer;
77
- height: 32px;
78
- line-height: 32px;
79
- user-select: none;
70
+ background-color: $white;
71
+ font-weight: 600;
72
+ color: $bw6-2;
73
+ margin: 0 -12px;
74
+ padding: 0 12px;
75
+ transition: 0.3s;
76
+ cursor: pointer;
77
+ height: 32px;
78
+ line-height: 32px;
79
+ user-select: none;
80
80
  }
81
81
 
82
82
  .dropzone-label-wrapper {
83
- background-color: $white;
84
- font-weight: 700;
85
- color: $bw6-2;
86
- margin: 0 -16px;
87
- padding: 6px 18px;
88
- transition: all 0.3s ease-in-out;
89
- cursor: pointer;
90
- height: 30px;
91
- user-select: none;
83
+ background-color: $white;
84
+ font-weight: 700;
85
+ color: $bw6-2;
86
+ margin: 0 -16px;
87
+ padding: 6px 18px;
88
+ transition: all 0.3s ease-in-out;
89
+ cursor: pointer;
90
+ height: 30px;
91
+ user-select: none;
92
92
  }
93
93
 
94
94
  textarea.input-custom-textarea.form-textarea {
95
- font-size: 12px;
96
- padding: 0;
97
- margin-top: 6px;
98
- resize: none;
99
- color: $bw4;
100
- width: 100% !important;
101
- border: none !important;
102
- box-shadow: none !important;
103
- outline: none !important;
104
-
105
- &::placeholder {
106
- color: $bw-9 !important;
107
- }
95
+ font-size: 12px;
96
+ padding: 0;
97
+ margin-top: 6px;
98
+ resize: none;
99
+ color: $bw4;
100
+ width: 100% !important;
101
+ border: none !important;
102
+ box-shadow: none !important;
103
+ outline: none !important;
104
+
105
+ &::placeholder {
106
+ color: $bw-9 !important;
107
+ }
108
108
  }
109
109
 
110
110
  .note-visible {
111
- max-height: 60px;
112
- transition: 0.3s;
111
+ max-height: 60px;
112
+ transition: 0.3s;
113
113
  }
114
114
 
115
115
  .note-hidden {
116
- max-height: 0;
117
- overflow: hidden;
118
- transition: 0.3s;
116
+ max-height: 0;
117
+ overflow: hidden;
118
+ transition: 0.3s;
119
119
  }
120
120
 
121
121
  .dropzone-visible {
122
- height: auto;
123
- transition: all 0.3s ease-in-out;
124
- padding-top: 12px;
125
- position: relative;
126
- right: 5px;
122
+ height: auto;
123
+ transition: all 0.3s ease-in-out;
124
+ padding-top: 12px;
125
+ position: relative;
126
+ right: 5px;
127
127
  }
128
128
 
129
129
  .dropzone-hidden {
130
- height: 0;
131
- overflow: hidden;
132
- transition: all 0.3s ease-in-out;
130
+ height: 0;
131
+ overflow: hidden;
132
+ transition: all 0.3s ease-in-out;
133
133
  }
134
134
 
135
135
  .note-label-wrapper,
136
136
  .dropzone-label-wrapper {
137
- display: flex;
138
- align-items: center;
139
- justify-content: space-between;
137
+ display: flex;
138
+ align-items: center;
139
+ justify-content: space-between;
140
140
  }
141
141
 
142
142
  .note-wrapper.hidden-note .down-icon,
143
143
  .dropzone-wrapper.hidden-dropzone .down-icon {
144
- transform: rotate(0deg);
145
- transition: 0.3s all;
144
+ transform: rotate(0deg);
145
+ transition: 0.3s all;
146
146
  }
147
147
 
148
148
  .note-wrapper.visible-note .down-icon,
149
149
  .dropzone-wrapper.visible-dropzone .down-icon {
150
- transform: rotate(180deg);
151
- transition: 0.3s all;
150
+ transform: rotate(180deg);
151
+ transition: 0.3s all;
152
152
  }
153
153
 
154
154
  .notifications-holder {
155
- margin-bottom: 28px;
156
-
157
- p {
158
- margin-right: 20px;
159
- margin-bottom: 0;
160
- }
161
-
162
- .multiple-choices-wrapper {
163
- .btn-group {
164
- position: relative;
165
- display: inline-flex;
166
- vertical-align: middle;
167
- margin-right: 6px;
168
-
169
- .btn.btn-primary:not(:disabled):not(.disabled) {
170
- background-color: $ceil-blue !important;
171
- transition: 0.25s;
172
- font-weight: 600;
173
- }
174
-
175
- .btn.btn-primary:not(:disabled):not(.disabled).active {
176
- background-color: $bw-9 !important;
177
- }
178
-
179
- .btn.btn-primary:not(:disabled):not(.disabled):hover {
180
- opacity: 1;
181
- transition: 0.25s;
182
- }
183
-
184
- .btn:not(:disabled):not(.disabled) {
185
- cursor: pointer;
186
- }
155
+ margin-bottom: 28px;
156
+
157
+ p {
158
+ margin-right: 20px;
159
+ margin-bottom: 0;
160
+ }
161
+
162
+ .multiple-choices-wrapper {
163
+ .btn-group {
164
+ position: relative;
165
+ display: inline-flex;
166
+ vertical-align: middle;
167
+ margin-right: 6px;
168
+
169
+ .btn.btn-primary:not(:disabled):not(.disabled) {
170
+ background-color: $ceil-blue !important;
171
+ transition: 0.25s;
172
+ font-weight: 600;
173
+ }
174
+
175
+ .btn.btn-primary:not(:disabled):not(.disabled).active {
176
+ background-color: $bw-9 !important;
177
+ }
178
+
179
+ .btn.btn-primary:not(:disabled):not(.disabled):hover {
180
+ opacity: 1;
181
+ transition: 0.25s;
182
+ }
183
+
184
+ .btn:not(:disabled):not(.disabled) {
185
+ cursor: pointer;
186
+ }
187
+ }
187
188
  }
188
- }
189
189
  }
190
190
 
191
191
  .choice-wrapper.twic-choice label {
192
- width: 66px;
192
+ width: 66px;
193
193
  }