@beacon-interactive-systems-llc/beacon-platform-ui 17.11.2 → 17.11.3

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": "@beacon-interactive-systems-llc/beacon-platform-ui",
3
- "version": "17.11.2",
3
+ "version": "17.11.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",
@@ -1,6 +1,6 @@
1
1
  $platform_filter_contrasts: (
2
2
  light: (
3
- filterBackground: $beacon-dark-blue-100,
3
+ filterBackground: $beacon-dark-blue-50,
4
4
  filterBorder: $beacon-gray-border,
5
5
  filterShadow: 0px 3px 3px $beacon-black,
6
6
  filterSearchIcon: $beacon-gray-400,
@@ -9,7 +9,9 @@ $platform_filter_contrasts: (
9
9
  filterDropdownFocus: $beacon-dark-blue-200,
10
10
  filterDropdownText: $beacon-cyan-600,
11
11
  showingRowBg: $beacon-white,
12
- showingRowColor: $beacon-green-500
12
+ showingRowColor: $beacon-green-500,
13
+ superTitleBg: $beacon-white,
14
+ superTitleColor: $beacon-dark-blue-300,
13
15
  ),
14
16
  dark: (
15
17
  filterBackground: $beacon-gray-700,
@@ -21,7 +23,9 @@ $platform_filter_contrasts: (
21
23
  filterDropdownFocus: $beacon-gray-600,
22
24
  filterDropdownText: $beacon-green-650,
23
25
  showingRowBg: $beacon-gray-700,
24
- showingRowColor: $beacon-green-650
26
+ showingRowColor: $beacon-green-650,
27
+ superTitleBg: $beacon-gray-700,
28
+ superTitleColor: $beacon-gray-300,
25
29
  ),
26
30
  highcontrast: (
27
31
  filterBackground: $beacon-black,
@@ -33,7 +37,9 @@ $platform_filter_contrasts: (
33
37
  filterDropdownFocus: $highcontrast-bright-blue-200,
34
38
  filterDropdownText: $highcontrast-bright-green-200,
35
39
  showingRowBg: $beacon-black,
36
- showingRowColor: $highcontrast-bright-green-200
40
+ showingRowColor: $highcontrast-bright-green-200,
41
+ superTitleBg: $beacon-black,
42
+ superTitleColor: $beacon-white,
37
43
  )
38
44
  );
39
45
 
@@ -68,6 +74,28 @@ $date-filter-width: calc(1em * 8);
68
74
  border-top-right-radius: 5px;
69
75
  height: auto;
70
76
 
77
+ // Optional row with larger title and some extra filter/list actions above the filter form
78
+ .supertitle-row {
79
+ @include themify($platform_filter_contrasts) {
80
+ background: apply('superTitleBg');
81
+ border-bottom: 0.5px solid apply('filterBorder');
82
+
83
+ .supertitle {
84
+ color: apply('superTitleColor');
85
+ }
86
+ }
87
+ border-top-left-radius: inherit;
88
+ border-top-right-radius: inherit;
89
+ display: flex;
90
+ height: auto;
91
+ min-height: 48px;
92
+ padding: 12px 16px;
93
+
94
+ .supertitle {
95
+ @include font-size--md;
96
+ }
97
+ }
98
+
71
99
  .form-row {
72
100
  @include themify($platform_filter_contrasts) {
73
101
  background: apply('filterBackground');
@@ -285,23 +285,6 @@ $icon-container-width: 50px;
285
285
  width: $leftnav-width;
286
286
  }
287
287
 
288
- &--active {
289
- @include themify($platform_leftnav_contrasts) {
290
- background: apply('navListItemActive');
291
- color: apply('navTextActiveSecondary');
292
-
293
- &:hover {
294
- background: lighten(apply('navListItemActive'), 2%);
295
- }
296
- }
297
-
298
- .icon-container, .option-container, mat-icon.expansion-icon {
299
- @include themify($platform_leftnav_contrasts) {
300
- color: apply('navTextActiveSecondary') !important;
301
- }
302
- }
303
- }
304
-
305
288
  .icon-container {
306
289
  @include themify($platform_leftnav_contrasts) {
307
290
  color: apply('navText') !important;
@@ -346,6 +329,24 @@ $icon-container-width: 50px;
346
329
  opacity: 1.0;
347
330
  }
348
331
  }
332
+
333
+ // Placed after the general styles for icon-container, option-container, etc so the active style is applied correctly
334
+ &--active {
335
+ @include themify($platform_leftnav_contrasts) {
336
+ background: apply('navListItemActive');
337
+ color: apply('navTextActiveSecondary');
338
+
339
+ &:hover {
340
+ background: lighten(apply('navListItemActive'), 2%);
341
+ }
342
+ }
343
+
344
+ .icon-container, .option-container, mat-icon.expansion-icon {
345
+ @include themify($platform_leftnav_contrasts) {
346
+ color: apply('navTextActiveSecondary') !important;
347
+ }
348
+ }
349
+ }
349
350
  }
350
351
 
351
352
  .brand-icon img {
@@ -4,10 +4,12 @@ $platform_widget_contrasts: (
4
4
  light: (
5
5
  widgetText: $beacon-black,
6
6
  widgetBackground: $beacon-dark-blue-50,
7
- widgetBackgroundSecondary: $beacon-dark-blue-50,
7
+ widgetBackgroundSecondary: $beacon-white,
8
+ widgetBackgroundMenu: $beacon-white,
8
9
  widgetBorder: $beacon-dark-blue-200,
9
10
  widgetHighlight: $beacon-dark-blue-200,
10
11
  widgetHeaderColor: $beacon-black,
12
+ widgetInfoBox: $beacon-gray-50,
11
13
  eventContainerBg: $beacon-gray-300,
12
14
  loginContainerBackground: $beacon-dark-blue-500,
13
15
  loginFormBackground: $beacon-white,
@@ -17,9 +19,11 @@ $platform_widget_contrasts: (
17
19
  widgetText: $beacon-gray-200,
18
20
  widgetBackground: $beacon-gray-600,
19
21
  widgetBackgroundSecondary: $beacon-gray-700,
22
+ widgetBackgroundMenu: $beacon-gray-600,
20
23
  widgetBorder: $beacon-gray-400,
21
24
  widgetHighlight: $beacon-gray-700,
22
25
  widgetHeaderColor: $beacon-gray-300,
26
+ widgetInfoBox: $beacon-gray-600,
23
27
  eventContainerBg: $beacon-gray-400,
24
28
  loginContainerBackground: $beacon-dark-blue-500,
25
29
  loginFormBackground: $beacon-gray-600,
@@ -29,9 +33,11 @@ $platform_widget_contrasts: (
29
33
  widgetText: $beacon-white,
30
34
  widgetBackground: $beacon-black,
31
35
  widgetBackgroundSecondary: $beacon-black,
36
+ widgetBackgroundMenu: $beacon-black,
32
37
  widgetBorder: $beacon-white,
33
38
  widgetHighlight: $beacon-gray-700,
34
39
  widgetHeaderColor: $beacon-white,
40
+ widgetInfoBox: $beacon-gray-700,
35
41
  eventContainerBg: $beacon-gray-400,
36
42
  loginContainerBackground: $beacon-dark-blue-500,
37
43
  loginFormBackground: $beacon-black,
@@ -53,12 +59,8 @@ $platform_widget_contrasts: (
53
59
  background: transparent !important;
54
60
  }
55
61
 
56
- &.bg-primary {
57
- background: $beacon-white;
58
- }
59
-
60
- &.bg-secondary {
61
- background: $beacon-gray-50;
62
+ &.item-row-widget {
63
+ background: apply('widgetBackgroundSecondary') !important;
62
64
  }
63
65
  }
64
66
 
@@ -245,6 +247,12 @@ $platform_widget_contrasts: (
245
247
  padding: 3px;
246
248
  }
247
249
  }
250
+
251
+ .widget-infobar {
252
+ @include themify($platform_widget_contrasts) {
253
+ background: apply('widgetInfoBox') !important;
254
+ }
255
+ }
248
256
  }
249
257
 
250
258
  /*
@@ -338,7 +346,7 @@ $platform_widget_contrasts: (
338
346
 
339
347
  .mat-mdc-menu-panel {
340
348
  @include themify($platform_widget_contrasts) {
341
- background: apply('widgetBackground');
349
+ background: apply('widgetBackgroundMenu');
342
350
  border: 0.5px solid apply('widgetBorder');
343
351
 
344
352
  .mat-mdc-menu-item-text {