@beacon-interactive-systems-llc/beacon-platform-ui 19.1.12 → 19.2.0

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.1.12",
3
+ "version": "19.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",
@@ -150,6 +150,11 @@ $platform_form_contrasts: (
150
150
  &--sm {
151
151
  height: 24px !important;
152
152
  }
153
+
154
+ &--timepicker {
155
+ padding-right: 0.15rem !important;
156
+ padding-left: 0.72rem !important;
157
+ }
153
158
  }
154
159
 
155
160
  mat-icon.input-inline-icon {
@@ -28,7 +28,16 @@ $platform_layout_contrasts: (
28
28
  connectivityYellow: $beacon-yellow-500,
29
29
  detailWidgetBackground: $beacon-gray-100,
30
30
  widgetCheckColor: $beacon-green-300,
31
- widgetUnCheckedColor: $beacon-gray-200
31
+ widgetUnCheckedColor: $beacon-gray-200,
32
+ fullDetailParentBackground: $beacon-dark-blue-200,
33
+ fullDetailParentText: $beacon-gray-500,
34
+ fullDetailTitleBackground: $beacon-dark-blue-600,
35
+ fullDetailTitleText: $beacon-white,
36
+ fullDetailStatusBackground: $beacon-white,
37
+ fullDetailScroller: $beacon-dark-blue-200,
38
+ fullDetailScrollerBorder: none,
39
+ fullDetailScrollerIcon: $beacon-dark-blue-400,
40
+ fullDetailContentsBackground: $beacon-white
32
41
  ),
33
42
  dark: (
34
43
  detailBackground: $beacon-gray-700,
@@ -59,7 +68,16 @@ $platform_layout_contrasts: (
59
68
  connectivityYellow: $beacon-yellow-600,
60
69
  detailWidgetBackground: $beacon-gray-500,
61
70
  widgetCheckColor: $beacon-green-600,
62
- widgetUnCheckedColor: $beacon-gray-500
71
+ widgetUnCheckedColor: $beacon-gray-500,
72
+ fullDetailParentBackground: $beacon-gray-700,
73
+ fullDetailParentText: $beacon-gray-400,
74
+ fullDetailTitleBackground: $beacon-dark-blue-600,
75
+ fullDetailTitleText: $beacon-white,
76
+ fullDetailStatusBackground: $beacon-gray-600,
77
+ fullDetailScroller: $beacon-dark-blue-500,
78
+ fullDetailScrollerBorder: none,
79
+ fullDetailScrollerIcon: $beacon-dark-blue-200,
80
+ fullDetailContentsBackground: $beacon-gray-700
63
81
  ),
64
82
  highcontrast: (
65
83
  detailBackground: $beacon-black,
@@ -90,7 +108,16 @@ $platform_layout_contrasts: (
90
108
  connectivityYellow: $highcontrast-bright-yellow-200,
91
109
  detailWidgetBackground: $beacon-gray-700,
92
110
  widgetCheckColor: $highcontrast-bright-green-200,
93
- widgetUnCheckedColor: $beacon-white
111
+ widgetUnCheckedColor: $beacon-white,
112
+ fullDetailParentBackground: $beacon-black,
113
+ fullDetailParentText: $beacon-white,
114
+ fullDetailTitleBackground: $beacon-gray-700,
115
+ fullDetailTitleText: $highcontrast-bright-blue-300,
116
+ fullDetailStatusBackground: $beacon-black,
117
+ fullDetailScroller: $beacon-black,
118
+ fullDetailScrollerBorder: $beacon-white,
119
+ fullDetailScrollerIcon: $highcontrast-bright-blue-100,
120
+ fullDetailContentsBackground: $beacon-black
94
121
  )
95
122
  );
96
123
 
@@ -548,9 +575,13 @@ $detail-view-width-expanded: calc(100vw - $leftnav-collapsed-width);
548
575
  box-shadow: none;
549
576
  margin-top: 0px !important;
550
577
  padding: 0px !important;
551
- height: calc(100vh - ($header-height + $detail-header-height + 1rem)); // Container fluid padding: 1rem
578
+ height: calc(100vh - $header-height - $detail-tab-body-offset) !important;
552
579
  width: 100%;
553
580
  transition: none;
581
+
582
+ &.under-xl-header {
583
+ height: calc(100vh - $header-height - $detail-tab-body-xl-offset) !important;
584
+ }
554
585
  }
555
586
  }
556
587
 
@@ -567,6 +598,110 @@ $detail-view-width-expanded: calc(100vw - $leftnav-collapsed-width);
567
598
  transition: all 0.5s ease-in-out;
568
599
  }
569
600
 
601
+ .focused-detail-container {
602
+ display: flex;
603
+ flex-direction: column;
604
+ height: 100vh;
605
+ width: 100%;
606
+
607
+ .parent-row {
608
+ @include themify($platform_layout_contrasts) {
609
+ background: apply('fullDetailParentBackground');
610
+ color: apply('fullDetailParentText');
611
+ }
612
+ display: flex;
613
+ align-items: center;
614
+ justify-content: space-between;
615
+ height: 32px;
616
+ padding: 0px 12px 0px 16px;
617
+ }
618
+
619
+ .title-row {
620
+ @include themify($platform_layout_contrasts) {
621
+ background: apply('fullDetailTitleBackground');
622
+ color: apply('fullDetailTitleText');
623
+ }
624
+ display: flex;
625
+ align-items: center;
626
+ justify-content: space-between;
627
+ height: 40px;
628
+ padding: 0px 16px;
629
+
630
+ .controls {
631
+ display: flex;
632
+ align-items: center;
633
+
634
+ .detail-scroll-btn {
635
+ @include themify($platform_layout_contrasts) {
636
+ background: apply('fullDetailScroller');
637
+ border: apply('fullDetailScrollerBorder');
638
+
639
+ mat-icon {
640
+ color: apply('fullDetailScrollerIcon');
641
+ }
642
+ }
643
+ border-radius: 5px;
644
+ font-size: 24px;
645
+ height: 30px;
646
+ padding: 0px;
647
+ width: 32px;
648
+
649
+ }
650
+
651
+ .three-dot-menu-trigger {
652
+ margin-left: 12px;
653
+ margin-right: 12px;
654
+ }
655
+ }
656
+ }
657
+
658
+ .status-row {
659
+ @include themify($platform_layout_contrasts) {
660
+ background: apply('fullDetailStatusBackground');
661
+ box-shadow: apply('headerShadow');
662
+ }
663
+ display: flex;
664
+ align-items: center;
665
+ justify-content: space-between;
666
+ height: 48px;
667
+ padding: 0px 16px;
668
+ }
669
+
670
+ .detail-contents {
671
+ @include themify($platform_layout_contrasts) {
672
+ background: apply('fullDetailContentsBackground');
673
+ }
674
+ flex-grow: 1;
675
+ padding: 8px 16px;
676
+
677
+ .focused-detail-widget {
678
+ @include themify($platform_layout_contrasts) {
679
+ background: apply('containerBackground');
680
+ border: 1px solid apply('containerBorder');
681
+ }
682
+ border-radius: 5px;
683
+ margin-bottom: 12px;
684
+ min-height: 160px;
685
+ padding: 12px;
686
+ width: 100%;
687
+
688
+ mat-icon.widget-check {
689
+ margin-top: 3px;
690
+ &-complete {
691
+ @include themify($platform_layout_contrasts) {
692
+ color: apply('widgetCheckColor');
693
+ }
694
+ }
695
+ &-pending {
696
+ @include themify($platform_layout_contrasts) {
697
+ color: apply('widgetUnCheckedColor');
698
+ }
699
+ }
700
+ }
701
+ }
702
+ }
703
+ }
704
+
570
705
  .platform-link {
571
706
  @include font-weight--semibold;
572
707
 
@@ -116,6 +116,29 @@ $platform_tab_contrasts: (
116
116
  }
117
117
  }
118
118
 
119
+ @mixin platform-tab-label-styles() {
120
+ .mat-mdc-tab-labels {
121
+ .mat-mdc-tab {
122
+ @include themify($platform_tab_contrasts) {
123
+ &.mdc-tab--active {
124
+ background-color: apply('tabBackgroundActive');
125
+
126
+ .mdc-tab__text-label {
127
+ color: apply('tabLabelActive') !important;
128
+ @include font-weight--bold;
129
+ }
130
+ }
131
+ }
132
+
133
+ .mdc-tab__text-label {
134
+ margin: 4px 11.5px;
135
+ @include font-weight--semibold;
136
+ }
137
+ height: 28px;
138
+ }
139
+ }
140
+ }
141
+
119
142
  // Entity detail pages
120
143
  .detail__tabs {
121
144
  .mat-mdc-tab-group {
@@ -127,26 +150,7 @@ $platform_tab_contrasts: (
127
150
  margin-top: -79.5px;
128
151
  position: fixed;
129
152
 
130
- .mat-mdc-tab-labels {
131
- .mat-mdc-tab {
132
- @include themify($platform_tab_contrasts) {
133
- &.mdc-tab--active {
134
- background-color: apply('tabBackgroundActive');
135
-
136
- .mdc-tab__text-label {
137
- color: apply('tabLabelActive') !important;
138
- @include font-weight--bold;
139
- }
140
- }
141
- }
142
-
143
- .mdc-tab__text-label {
144
- margin: 4px 11.5px;
145
- @include font-weight--semibold;
146
- }
147
- height: 28px;
148
- }
149
- }
153
+ @include platform-tab-label-styles();
150
154
  }
151
155
  }
152
156
 
@@ -156,6 +160,19 @@ $platform_tab_contrasts: (
156
160
  }
157
161
  }
158
162
 
163
+ // Focused Detail Pages
164
+ .focused-detail-container .detail-contents {
165
+ .mat-mdc-tab-group {
166
+ @include platform-tab-common-styles();
167
+
168
+ .mat-mdc-tab-header {
169
+ @include platform-tab-label-styles();
170
+
171
+ margin-bottom: 12px;
172
+ }
173
+ }
174
+ }
175
+
159
176
  // Notification popover
160
177
  .popover__tabs {
161
178
  .mat-mdc-tab-group {