@beacon-interactive-systems-llc/beacon-platform-ui 19.0.19 → 19.1.1

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.0.19",
3
+ "version": "19.1.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",
@@ -38,7 +38,9 @@ $platform_button_contrasts: (
38
38
  buttonDisabledText: $beacon-white,
39
39
  buttonDisabledBorder: 1px solid $beacon-gray-300,
40
40
  buttonShadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.16),
41
- buttonBorder: $beacon-gray-border
41
+ buttonBorder: $beacon-gray-border,
42
+
43
+ buttonIconColor: $beacon-dark-blue-300
42
44
  ),
43
45
  dark: (
44
46
  buttonBlue: $beacon-blue-200,
@@ -79,7 +81,9 @@ $platform_button_contrasts: (
79
81
  buttonDisabledText: $beacon-gray-600,
80
82
  buttonDisabledBorder: 1px solid $beacon-gray-600,
81
83
  buttonShadow: none,
82
- buttonBorder: $beacon-gray-border
84
+ buttonBorder: $beacon-gray-border,
85
+
86
+ buttonIconColor: $beacon-dark-blue-400
83
87
  ),
84
88
  highcontrast: (
85
89
  buttonBlue: $highcontrast-bright-blue-200,
@@ -120,7 +124,9 @@ $platform_button_contrasts: (
120
124
  buttonDisabledText: $beacon-black,
121
125
  buttonDisabledBorder: 1px solid $beacon-gray-500,
122
126
  buttonShadow: none,
123
- buttonBorder: $beacon-gray-border
127
+ buttonBorder: $beacon-gray-border,
128
+
129
+ buttonIconColor: $highcontrast-bright-blue-300
124
130
  )
125
131
  );
126
132
 
@@ -159,6 +165,16 @@ $platform_button_contrasts: (
159
165
  }
160
166
  }
161
167
 
168
+ @mixin hover-button-styles($hover, $text) {
169
+ background: apply('buttonAmbient');
170
+ color: apply('buttonAmbientText');
171
+
172
+ &:hover, &:active {
173
+ background: $hover;
174
+ color: $text;
175
+ }
176
+ }
177
+
162
178
  button.platform-btn {
163
179
  height: 32px;
164
180
  min-width: 48px;
@@ -218,18 +234,36 @@ button.platform-btn {
218
234
  }
219
235
  }
220
236
 
237
+ &--hover-blue {
238
+ @include themify($platform_button_contrasts) {
239
+ @include hover-button-styles(apply('buttonBlue'), apply('buttonBlueText'));
240
+ }
241
+ }
242
+
221
243
  &--bg-green {
222
244
  @include themify($platform_button_contrasts) {
223
245
  @include button-color-styles(apply('buttonGreen'), apply('buttonGreenHover'), apply('buttonGreenActive'), apply('buttonGreenText'));
224
246
  }
225
247
  }
226
248
 
249
+ &--hover-green {
250
+ @include themify($platform_button_contrasts) {
251
+ @include hover-button-styles(apply('buttonGreen'), apply('buttonGreenText'));
252
+ }
253
+ }
254
+
227
255
  &--bg-red {
228
256
  @include themify($platform_button_contrasts) {
229
257
  @include button-color-styles(apply('buttonRed'), apply('buttonRedHover'), apply('buttonRedActive'), apply('buttonRedText'));
230
258
  }
231
259
  }
232
260
 
261
+ &--hover-red {
262
+ @include themify($platform_button_contrasts) {
263
+ @include hover-button-styles(apply('buttonRed'), apply('buttonRedText'));
264
+ }
265
+ }
266
+
233
267
  &--bg-ambient {
234
268
  @include themify($platform_button_contrasts) {
235
269
  background: apply('buttonAmbient');
@@ -264,15 +298,6 @@ button.platform-btn {
264
298
  }
265
299
  }
266
300
 
267
- &:disabled {
268
- @include themify($platform_button_contrasts) {
269
- background: apply('buttonDisabled');
270
- color: apply('buttonDisabledText');
271
- border: apply('buttonDisabledBorder');
272
- box-shadow: none !important;
273
- }
274
- }
275
-
276
301
  mat-icon {
277
302
  font-size: 12px;
278
303
  height: 12px;
@@ -282,6 +307,26 @@ button.platform-btn {
282
307
  width: 12px;
283
308
  }
284
309
 
310
+ &--icon {
311
+ @include themify($platform_button_contrasts) {
312
+ color: apply('buttonIconColor');
313
+ }
314
+ border: none;
315
+ border-radius: 4px;
316
+ min-width: unset;
317
+ padding: 2px 4px;
318
+ top: 4px;
319
+ }
320
+
321
+ &:disabled {
322
+ @include themify($platform_button_contrasts) {
323
+ background: apply('buttonDisabled');
324
+ color: apply('buttonDisabledText');
325
+ border: apply('buttonDisabledBorder');
326
+ box-shadow: none !important;
327
+ }
328
+ }
329
+
285
330
  span.text {
286
331
  position: relative;
287
332
  left: 2px;
@@ -44,6 +44,7 @@ $platform_filter_contrasts: (
44
44
  );
45
45
 
46
46
  $min-filter-input-width: calc(1em * 11);
47
+ $min-filter-input-width-wide: calc(1.2em * 12.3);
47
48
  $max-filter-input-width: calc(1em * 13.2);
48
49
  $date-filter-min-width: calc(1em * 5);
49
50
  $date-filter-width: calc(1em * 8);
@@ -74,6 +75,10 @@ $date-filter-width: calc(1em * 8);
74
75
  border-top-right-radius: 5px;
75
76
  height: auto;
76
77
 
78
+ &.standalone {
79
+ border-radius: 10px;
80
+ }
81
+
77
82
  // Optional row with larger title and some extra filter/list actions above the filter form
78
83
  .supertitle-row {
79
84
  @include themify($platform_filter_contrasts) {
@@ -104,8 +109,7 @@ $date-filter-width: calc(1em * 8);
104
109
  height: auto;
105
110
  min-height: 48px;
106
111
  padding: 8px 16px;
107
- border-top-left-radius: inherit;
108
- border-top-right-radius: inherit;
112
+ border-radius: inherit;
109
113
 
110
114
  .form {
111
115
  display: flex;
@@ -187,6 +191,10 @@ $date-filter-width: calc(1em * 8);
187
191
  min-width: $min-filter-input-width;
188
192
  max-width: $max-filter-input-width;
189
193
  padding-left: 26px;
194
+
195
+ &.wide {
196
+ min-width: $min-filter-input-width-wide !important;
197
+ }
190
198
  }
191
199
 
192
200
  .date-filter {
@@ -1,18 +1,113 @@
1
1
  $platform_note_contrasts: (
2
2
  light: (
3
3
  letterCircleBackground: $beacon-gray-400,
4
- letterCircleText: $beacon-gray-100
4
+ letterCircleText: $beacon-gray-100,
5
+ noteSubjectRowBorder: $beacon-dark-blue-200,
6
+ noteSubjectRowBackground: $beacon-dark-blue-50,
7
+ noteInfoText: $beacon-dark-blue-400,
5
8
  ),
6
9
  dark: (
7
10
  letterCircleBackground: $beacon-gray-500,
8
- letterCircleText: $beacon-gray-200
11
+ letterCircleText: $beacon-gray-200,
12
+ noteSubjectRowBorder: $beacon-gray-400,
13
+ noteSubjectRowBackground: $beacon-dark-blue-700,
14
+ noteInfoText: $beacon-dark-blue-300,
9
15
  ),
10
16
  highcontrast: (
11
17
  letterCircleBackground: $beacon-gray-600,
12
- letterCircleText: $beacon-white
18
+ letterCircleText: $beacon-white,
19
+ noteSubjectRowBorder: $beacon-white,
20
+ noteSubjectRowBackground: $beacon-black,
21
+ noteInfoText: $highcontrast-bright-blue-300,
13
22
  )
14
23
  );
15
24
 
25
+ .note-widget {
26
+ border-radius: 10px !important;
27
+ margin-top: 16px;
28
+ padding: 0px !important;
29
+
30
+ .note-subject-row {
31
+ @include themify($platform_note_contrasts) {
32
+ background: apply('noteSubjectRowBackground');
33
+ border-bottom: 1px solid apply('noteSubjectRowBorder');
34
+ }
35
+ border-top-left-radius: 9px;
36
+ border-top-right-radius: 9px;
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: space-between;
40
+ padding: 16px;
41
+
42
+ .note-subject {
43
+ @include font-weight--bold;
44
+ width: auto;
45
+ }
46
+
47
+ .note-subject-input {
48
+ flex-grow: 1;
49
+ padding-right: 16px;
50
+
51
+ .note-subject-control {
52
+ @include font-color--default;
53
+ @include font-weight--bold;
54
+ border: none;
55
+ background: transparent;
56
+ width: 100%;
57
+ }
58
+ }
59
+
60
+ .note-info {
61
+ @include themify($platform_note_contrasts) {
62
+ color: apply('noteInfoText');
63
+ }
64
+ display: flex;
65
+ align-items: center;
66
+ width: auto;
67
+
68
+ .note-actions {
69
+ display: inline;
70
+ margin-left: 32px;
71
+ }
72
+
73
+ ng-select, ng-dropdown-panel {
74
+ width: 175px !important;
75
+ min-width: unset;
76
+ }
77
+ }
78
+ }
79
+
80
+ .note-content-row {
81
+ padding: 16px;
82
+ position: relative;
83
+
84
+ &.editing-note {
85
+ padding: 0px;
86
+ }
87
+
88
+ .note-editor-buttons {
89
+ display: flex;
90
+ gap: 8px;
91
+ justify-content: space-between;
92
+ position: absolute;
93
+ top: 8px;
94
+ right: 10px;
95
+ }
96
+
97
+ quill-editor.note-form-editor {
98
+ .ql-toolbar, .ql-container {
99
+ border: none;
100
+ }
101
+
102
+ &:has(.ql-editor:focus) {
103
+ .ql-toolbar {
104
+ border: none !important;
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+
16
111
  .note {
17
112
  &__initials {
18
113
  display: inline;
@@ -82,6 +82,14 @@ quill-editor {
82
82
  min-height: 80px;
83
83
  }
84
84
  }
85
+
86
+ &.tall-editor .ql-container .ql-editor {
87
+ min-height: 500px;
88
+
89
+ @media (min-width: 1024px) and (max-width: 1024px) {
90
+ min-height: 330px;
91
+ }
92
+ }
85
93
  }
86
94
 
87
95
  &.inline-editor {