@beacon-interactive-systems-llc/beacon-platform-ui 19.2.2 → 19.2.4

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": "19.2.2",
3
+ "version": "19.2.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",
@@ -86,6 +86,13 @@ $platform_form_contrasts: (
86
86
  }
87
87
  }
88
88
 
89
+ $control-width-options: 40px, 56px, 80px, 108px, 124px, 140px;
90
+ @each $width-opt in $control-width-options {
91
+ .width--#{$width-opt} {
92
+ width: $width-opt !important;
93
+ }
94
+ }
95
+
89
96
  .form {
90
97
  .form__group {
91
98
  position: relative;
@@ -137,6 +144,10 @@ $platform_form_contrasts: (
137
144
  @include font-color--default;
138
145
  content: "*";
139
146
  }
147
+
148
+ &.red-label {
149
+ @include font-color--red;
150
+ }
140
151
  }
141
152
 
142
153
  input.form-control {
@@ -5,7 +5,8 @@ $platform_tab_contrasts: (
5
5
  tabLabelActive: $beacon-white,
6
6
  tabBackgroundActive: $beacon-dark-blue-400,
7
7
  tabBackgroundActiveAlt: $beacon-orange-200,
8
- tabDividerBorder: $beacon-gray-300
8
+ tabDividerBorder: $beacon-gray-300,
9
+ tabRedCircleIcon: $beacon-orange-500
9
10
  ),
10
11
  dark: (
11
12
  popoverHeaderBackground: $beacon-gray-500,
@@ -13,7 +14,8 @@ $platform_tab_contrasts: (
13
14
  tabLabelActive: $beacon-gray-400,
14
15
  tabBackgroundActive: $beacon-dark-blue-700,
15
16
  tabBackgroundActiveAlt: $beacon-orange-700,
16
- tabDividerBorder: $beacon-gray-700
17
+ tabDividerBorder: $beacon-gray-700,
18
+ tabRedCircleIcon: $beacon-orange-500
17
19
  ),
18
20
  highcontrast: (
19
21
  popoverHeaderBackground: $beacon-gray-700,
@@ -21,7 +23,8 @@ $platform_tab_contrasts: (
21
23
  tabLabelActive: $beacon-white,
22
24
  tabBackgroundActive: $beacon-dark-blue-700,
23
25
  tabBackgroundActiveAlt: $highcontrast-bright-orange-200,
24
- tabDividerBorder: $beacon-gray-100
26
+ tabDividerBorder: $beacon-gray-100,
27
+ tabRedCircleIcon: $beacon-orange-500
25
28
  )
26
29
  );
27
30
 
@@ -214,6 +217,17 @@ $platform_tab_contrasts: (
214
217
  .mat-mdc-tab-labels {
215
218
  .mat-mdc-tab {
216
219
  @include platform-alt-tab-common-styles();
220
+
221
+ &.tab-with-circle-icon {
222
+ &.red::after {
223
+ @include material-icons-circle-sm();
224
+ top: -13px;
225
+ left: 40px;
226
+ @include themify($platform_tab_contrasts) {
227
+ color: apply('tabRedCircleIcon');
228
+ }
229
+ }
230
+ }
217
231
  }
218
232
  }
219
233
  }
@@ -1,27 +1,36 @@
1
- @import "theming";
2
-
3
- @mixin inset-shadow {
4
- box-shadow: inset 0 0px 10px 0px $platform-blue-300;
5
- }
6
-
7
- @mixin card-shadow {
8
- box-shadow: 0px 3px 5px rgba(100,100,100, 0.2);
9
- }
10
-
11
- @mixin placeholder-color($color) {
12
- &::placeholder {
13
- color: $color !important;
14
- }
15
- &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
16
- color: $color !important;
17
- }
18
- &::-moz-placeholder { /* Firefox 19+ */
19
- color: $color !important;
20
- }
21
- &:-ms-input-placeholder { /* IE 10+ */
22
- color: $color !important;
23
- }
24
- &:-moz-placeholder { /* Firefox 18- */
25
- color: $color !important;
26
- }
27
- }
1
+ @import "theming";
2
+
3
+ @mixin inset-shadow {
4
+ box-shadow: inset 0 0px 10px 0px $platform-blue-300;
5
+ }
6
+
7
+ @mixin card-shadow {
8
+ box-shadow: 0px 3px 5px rgba(100,100,100, 0.2);
9
+ }
10
+
11
+ @mixin placeholder-color($color) {
12
+ &::placeholder {
13
+ color: $color !important;
14
+ }
15
+ &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
16
+ color: $color !important;
17
+ }
18
+ &::-moz-placeholder { /* Firefox 19+ */
19
+ color: $color !important;
20
+ }
21
+ &:-ms-input-placeholder { /* IE 10+ */
22
+ color: $color !important;
23
+ }
24
+ &:-moz-placeholder { /* Firefox 18- */
25
+ color: $color !important;
26
+ }
27
+ }
28
+
29
+ @mixin material-icons-circle-sm {
30
+ font-family: "Material Icons";
31
+ content: "circle";
32
+ font-size: 6px;
33
+ height: 6px;
34
+ width: 6px;
35
+ position: absolute;
36
+ }
@@ -1,5 +1,4 @@
1
1
  @import "theming";
2
-
3
2
  $platform_widget_contrasts: (
4
3
  light: (
5
4
  widgetText: $beacon-black,
@@ -12,6 +11,7 @@ $platform_widget_contrasts: (
12
11
  widgetTitle: $beacon-dark-blue-300,
13
12
  widgetTitleDark: $beacon-dark-blue-500,
14
13
  widgetInfoBox: $beacon-gray-50,
14
+ widgetInfoBoxBorder: $beacon-dark-blue-200,
15
15
  pendingNotificationBackground: $beacon-gray-100,
16
16
  eventContainerBg: $beacon-gray-300,
17
17
  loginContainerBackground: $beacon-dark-blue-500,
@@ -23,7 +23,8 @@ $platform_widget_contrasts: (
23
23
  widgetSummarySelectionText: $beacon-black,
24
24
  widgetDropShadow: 0 0 4px 0 rgba(0, 0, 0, 0.12),
25
25
  selectedFilterBackground: $beacon-gray-100,
26
- widgetLineChartText: $beacon-gray-500
26
+ widgetLineChartText: $beacon-gray-500,
27
+ widgetCircleIconRed: $beacon-orange-500
27
28
  ),
28
29
  dark: (
29
30
  widgetText: $beacon-gray-200,
@@ -36,6 +37,7 @@ $platform_widget_contrasts: (
36
37
  widgetTitle: $beacon-gray-300,
37
38
  widgetTitleDark: $beacon-dark-blue-300,
38
39
  widgetInfoBox: $beacon-gray-600,
40
+ widgetInfoBoxBorder: $beacon-gray-700,
39
41
  pendingNotificationBackground: $beacon-gray-700,
40
42
  eventContainerBg: $beacon-gray-400,
41
43
  loginContainerBackground: $beacon-dark-blue-500,
@@ -47,7 +49,8 @@ $platform_widget_contrasts: (
47
49
  widgetSummarySelectionText: $beacon-gray-300,
48
50
  widgetDropShadow: none,
49
51
  selectedFilterBackground: $beacon-gray-700,
50
- widgetLineChartText: $beacon-gray-700
52
+ widgetLineChartText: $beacon-gray-700,
53
+ widgetCircleIconRed: $beacon-orange-500
51
54
  ),
52
55
  highcontrast: (
53
56
  widgetText: $beacon-white,
@@ -60,6 +63,7 @@ $platform_widget_contrasts: (
60
63
  widgetTitle: $beacon-white,
61
64
  widgetTitleDark: $highcontrast-bright-blue-200,
62
65
  widgetInfoBox: $beacon-gray-700,
66
+ widgetInfoBoxBorder: $beacon-gray-500,
63
67
  pendingNotificationBackground: $beacon-gray-700,
64
68
  eventContainerBg: $beacon-gray-400,
65
69
  loginContainerBackground: $beacon-dark-blue-500,
@@ -71,10 +75,20 @@ $platform_widget_contrasts: (
71
75
  widgetSummarySelectionText: $beacon-white,
72
76
  widgetDropShadow: none,
73
77
  selectedFilterBackground: $beacon-gray-600,
74
- widgetLineChartText: $beacon-white
78
+ widgetLineChartText: $beacon-white,
79
+ widgetCircleIconRed: $beacon-orange-500
75
80
  )
76
81
  );
77
82
 
83
+ .platform-widget-subcontainer {
84
+ @include themify($platform_widget_contrasts) {
85
+ background: apply('widgetInfoBox') !important;
86
+ border: 1px solid apply('widgetInfoBoxBorder');
87
+ }
88
+ border-radius: 5px;
89
+ padding: 12px;
90
+ }
91
+
78
92
  .platform-widget {
79
93
  @include themify($platform_widget_contrasts) {
80
94
  background: apply('widgetBackground') !important;
@@ -660,6 +674,18 @@ $platform_widget_contrasts: (
660
674
  height: 310px !important;
661
675
  }
662
676
  }
677
+
678
+ .with-circle-icon {
679
+ &.red::after {
680
+ @include material-icons-circle-sm();
681
+ top: 0px;
682
+ right: 0px;
683
+ transform: translate(-157%, 139%);
684
+ @include themify($platform_widget_contrasts) {
685
+ color: apply('widgetCircleIconRed');
686
+ }
687
+ }
688
+ }
663
689
  }
664
690
 
665
691
  /*
@@ -265,3 +265,12 @@ $border-radii: 3px, 5px, 8px, 10px, 12px;
265
265
  right: 0;
266
266
  z-index: 1050;
267
267
  }
268
+
269
+ .text-align {
270
+ &-right {
271
+ text-align: right;
272
+ }
273
+ &-center {
274
+ text-align: center;
275
+ }
276
+ }