@beacon-interactive-systems-llc/beacon-platform-ui 17.11.1 → 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.1",
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');
@@ -118,21 +118,24 @@ $icon-container-width: 50px;
118
118
  margin-left: 20px;
119
119
  width: calc(#{$leftnav-width} - 50px - 20px);
120
120
 
121
- &:hover, &--active-secondary, &--active-level-two {
122
- @include themify($platform_leftnav_contrasts) {
123
- background: apply('navActiveBackground') !important;
124
- }
125
- }
126
-
127
121
  .level-two-option-container {
128
122
  @include themify($platform_leftnav_contrasts) {
129
- color: apply('navTextActiveSecondary');
123
+ color: apply('navText');
130
124
  }
131
125
  font-size: 14px;
132
126
  position: relative;
133
127
  top: 7px;
134
128
  }
135
129
 
130
+ &:hover, &--active-secondary, &--active-level-two {
131
+ @include themify($platform_leftnav_contrasts) {
132
+ background: apply('navActiveBackground') !important;
133
+ .level-two-option-container {
134
+ color: apply('navTextActiveSecondary');
135
+ }
136
+ }
137
+ }
138
+
136
139
  mat-icon.link-active {
137
140
  @include themify($platform_leftnav_contrasts) {
138
141
  color: apply('navActiveIcon');
@@ -214,11 +217,11 @@ $icon-container-width: 50px;
214
217
  font-size: 24px;
215
218
  height: 24px;
216
219
 
217
- &.collapsed {
220
+ &.collapsed {
218
221
  width: 20px;
219
222
  }
220
223
 
221
- &.open {
224
+ &.open {
222
225
  width: 24px;
223
226
  }
224
227
  }
@@ -282,23 +285,6 @@ $icon-container-width: 50px;
282
285
  width: $leftnav-width;
283
286
  }
284
287
 
285
- &--active {
286
- @include themify($platform_leftnav_contrasts) {
287
- background: apply('navListItemActive');
288
- color: apply('navTextActiveSecondary');
289
-
290
- &:hover {
291
- background: lighten(apply('navListItemActive'), 2%);
292
- }
293
- }
294
-
295
- .icon-container, .option-container, mat-icon.expansion-icon {
296
- @include themify($platform_leftnav_contrasts) {
297
- color: apply('navTextActiveSecondary') !important;
298
- }
299
- }
300
- }
301
-
302
288
  .icon-container {
303
289
  @include themify($platform_leftnav_contrasts) {
304
290
  color: apply('navText') !important;
@@ -343,6 +329,24 @@ $icon-container-width: 50px;
343
329
  opacity: 1.0;
344
330
  }
345
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
+ }
346
350
  }
347
351
 
348
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 {