ca-components 2.0.14 → 2.0.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.
Files changed (34) hide show
  1. package/assets/scss/background.scss +9 -0
  2. package/assets/scss/icons.scss +62 -0
  3. package/assets/scss/sizing.scss +1 -0
  4. package/assets/scss/text-selection.scss +15 -0
  5. package/assets/theme/variables.scss +1 -0
  6. package/fesm2022/ca-components.mjs +637 -284
  7. package/fesm2022/ca-components.mjs.map +1 -1
  8. package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
  9. package/lib/components/ca-load-pickup-delivery/ca-load-pickup-delivery.component.d.ts +9 -1
  10. package/lib/components/ca-load-pickup-delivery/interfaces/load-pickup-delivery.interface.d.ts +32 -0
  11. package/lib/components/ca-map/utils/constants/map-options.constants.d.ts +1 -0
  12. package/lib/components/ca-map/utils/helpers/map-marker-icon.helper.d.ts +9 -0
  13. package/lib/components/ca-map/utils/services/map-marker-icon.service.d.ts +2 -0
  14. package/lib/components/ca-progress-bar/ca-progress-bar.component.d.ts +15 -20
  15. package/lib/components/ca-progress-bar/enums/progress-bar-string.enum.d.ts +1 -1
  16. package/lib/components/ca-progress-bar/interfaces/gps-heading-info.interface.d.ts +6 -0
  17. package/lib/components/ca-progress-bar/{models/gps-progress.model.d.ts → interfaces/gps-progress.interface.d.ts} +2 -1
  18. package/lib/components/ca-progress-bar/interfaces/index.d.ts +3 -0
  19. package/lib/components/ca-progress-bar/interfaces/progress-bar-data.interface.d.ts +17 -0
  20. package/lib/enums/gps-heading-direction.enum.d.ts +10 -0
  21. package/lib/enums/gps-motion-status.enum.d.ts +7 -0
  22. package/lib/enums/index.d.ts +2 -0
  23. package/lib/enums/shared-string.enum.d.ts +3 -1
  24. package/lib/enums/string-placeholder.enum.d.ts +1 -0
  25. package/lib/interfaces/gps-current-location/gps-current-location.interface.d.ts +20 -0
  26. package/lib/interfaces/index.d.ts +1 -0
  27. package/lib/utils/constants/gps-location.constants.d.ts +19 -0
  28. package/lib/utils/constants/index.d.ts +1 -0
  29. package/lib/utils/helpers/gps-location.helper.d.ts +13 -0
  30. package/lib/utils/helpers/index.d.ts +1 -0
  31. package/lib/utils/svg-routes/shared-svg.routes.d.ts +1 -0
  32. package/package.json +1 -1
  33. package/public-api.d.ts +3 -0
  34. package/lib/components/ca-progress-bar/models/index.d.ts +0 -1
@@ -35,9 +35,15 @@
35
35
  &-2 {
36
36
  background-color: $grey-2;
37
37
  }
38
+ &-7 {
39
+ background-color: $grey-7;
40
+ }
38
41
  &-12 {
39
42
  background-color: $grey-12;
40
43
  }
44
+ &-20 {
45
+ background-color: $grey-20;
46
+ }
41
47
  }
42
48
 
43
49
  &-light-gray {
@@ -110,6 +116,9 @@
110
116
  &-2 {
111
117
  background-color: $dark-2;
112
118
  }
119
+ &-3 {
120
+ background-color: $dark-3;
121
+ }
113
122
  }
114
123
 
115
124
  &-red {
@@ -7,6 +7,14 @@
7
7
  }
8
8
  }
9
9
 
10
+ @mixin svg-rect-fill($color) {
11
+ fill: $color !important;
12
+
13
+ svg rect {
14
+ fill: $color !important;
15
+ }
16
+ }
17
+
10
18
  @mixin svg-hover($color) {
11
19
  svg path {
12
20
  transition: fill 0.3s ease-in-out;
@@ -19,6 +27,22 @@
19
27
  }
20
28
  }
21
29
 
30
+ @mixin svg-rect-hover($color) {
31
+ transition: fill 0.3s ease-in-out;
32
+
33
+ svg rect {
34
+ transition: fill 0.3s ease-in-out;
35
+ }
36
+
37
+ &:hover {
38
+ fill: $color !important;
39
+
40
+ svg rect {
41
+ fill: $color !important;
42
+ }
43
+ }
44
+ }
45
+
22
46
  @mixin svg-size($width, $height) {
23
47
  svg {
24
48
  width: $width;
@@ -245,4 +269,42 @@
245
269
  @include svg-size(90px, 90px);
246
270
  }
247
271
  }
272
+
273
+ &-rect {
274
+ &-fill {
275
+ &-blue-8 {
276
+ @include svg-rect-fill($blue-8);
277
+ }
278
+ &-yellow-1 {
279
+ @include svg-rect-fill($ta-yellow-1);
280
+ }
281
+ &-red-10 {
282
+ @include svg-rect-fill($ta-red-10);
283
+ }
284
+ &-muted {
285
+ @include svg-rect-fill($muted);
286
+ }
287
+ &-dark-2 {
288
+ @include svg-rect-fill($dark-2);
289
+ }
290
+ }
291
+
292
+ &-hover {
293
+ &-blue-14 {
294
+ @include svg-rect-hover($ta-blue-14);
295
+ }
296
+ &-yellow-5 {
297
+ @include svg-rect-hover($ta-yellow-5);
298
+ }
299
+ &-red-11 {
300
+ @include svg-rect-hover($ta-red-11);
301
+ }
302
+ &-bw6-2 {
303
+ @include svg-rect-hover($bw6-2);
304
+ }
305
+ &-dark-2 {
306
+ @include svg-rect-hover($dark-2);
307
+ }
308
+ }
309
+ }
248
310
  }
@@ -2,6 +2,7 @@ $sizes-height: (
2
2
  7,
3
3
  8,
4
4
  10,
5
+ 11,
5
6
  12,
6
7
  14,
7
8
  15,
@@ -43,6 +43,11 @@
43
43
  @include text-selection($ta-blue-13);
44
44
  }
45
45
 
46
+ &-blue-14 {
47
+ color: $ta-blue-14 !important;
48
+ @include text-selection($ta-blue-14);
49
+ }
50
+
46
51
  &-blue-16 {
47
52
  color: $ta-blue-16 !important;
48
53
  @include text-selection($ta-blue-16);
@@ -78,6 +83,16 @@
78
83
  @include text-selection($ta-yellow-1);
79
84
  }
80
85
 
86
+ &-yellow-4 {
87
+ color: $ta-yellow-4 !important;
88
+ @include text-selection($ta-yellow-4);
89
+ }
90
+
91
+ &-yellow-5 {
92
+ color: $ta-yellow-5 !important;
93
+ @include text-selection($ta-yellow-5);
94
+ }
95
+
81
96
  &-purple {
82
97
  color: $ta-purple-1 !important;
83
98
  @include text-selection($ta-purple-1);
@@ -328,6 +328,7 @@ $grey-16: #919191b3;
328
328
  $grey-17: #6c6c6c66;
329
329
  $grey-18: #9191911a;
330
330
  $grey-19: #e2e2e2;
331
+ $grey-20: #c9c9c9;
331
332
 
332
333
  $green: #4db6a240;
333
334
  $green-2: #80cbba;