@beterdichtbij/component-library 0.70.0 → 0.71.0-alpha.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.
@@ -3,8 +3,4 @@
3
3
  .alert-#{$variant} {
4
4
  @include alert($color, $bg-color);
5
5
  }
6
- }
7
-
8
- .alert {
9
- color: $color-darkblue;
10
6
  }
@@ -17,10 +17,5 @@ article {
17
17
  display:flex;
18
18
  justify-content: space-between;
19
19
  }
20
-
21
- a {
22
- color: #1e66ae;
23
- text-decoration: underline;
24
- }
25
20
  }
26
21
  }
@@ -29,9 +29,6 @@ $btn-variants:
29
29
  .btn-link {
30
30
  text-decoration: none;
31
31
 
32
- // Ensure WCAG AA contrast for the reset link button on white background.
33
- color: #1e66ae;
34
-
35
32
  &:hover {
36
33
  text-decoration: underline;
37
34
  }
@@ -3,7 +3,7 @@
3
3
  border-radius: $border-radius-default;
4
4
 
5
5
  .card-header {
6
- background-color: #1f6cae;
6
+ background-color: $primary;
7
7
  display: flex;
8
8
  align-items: center;
9
9
  justify-content: space-between;
@@ -32,11 +32,26 @@
32
32
  text-align: center;
33
33
  margin-bottom: 0px;
34
34
 
35
+ &.colleague {
36
+ .page-item:not(.active) .page-link {
37
+ color: $color-colleague;
38
+ }
39
+ }
40
+
35
41
  .page-item {
36
42
  background-color: $white;
37
43
  display: inline-block;
38
44
  margin: 4px;
39
45
  vertical-align: top;
46
+
47
+ .page-link {
48
+ color: $blue;
49
+
50
+ svg {
51
+ color: $color-darkblue;
52
+ margin: 0;
53
+ }
54
+ }
40
55
  }
41
56
  }
42
57
  }
@@ -1,6 +1,7 @@
1
1
  @import "templates/change-password-template";
2
2
  @import "templates/content-library-template";
3
3
  @import "templates/not-found-template";
4
+ @import "templates/video-call-template";
4
5
  // TODO split up per template component
5
6
 
6
7
  .template {
@@ -233,10 +234,10 @@
233
234
  }
234
235
 
235
236
  .bd-article.is-unread {
236
- border-right: 4px solid #1e66ae;
237
+ border-right: 4px solid $primary;
237
238
 
238
239
  .bd-date {
239
- color: #1e66ae;
240
+ color: $primary;
240
241
  font-weight: 500;
241
242
  }
242
243
 
@@ -245,7 +246,7 @@
245
246
  width: 20px;
246
247
  height: 20px;
247
248
  border-radius: 12px;
248
- background-color: #1e66ae;
249
+ background-color: $primary;
249
250
  margin-top:6px;
250
251
  }
251
252
  }
@@ -0,0 +1,207 @@
1
+ .video-call-template {
2
+ $small-text: 14px;
3
+
4
+ .bd-conversation-card {
5
+ margin-bottom: 20px;
6
+ }
7
+
8
+ .incoming,
9
+ .outgoing {
10
+ .card {
11
+ padding: 20px;
12
+ row-gap: 20px;
13
+ }
14
+
15
+ &__video {
16
+ display: block;
17
+ }
18
+
19
+ &__screenshare {
20
+ display: none;
21
+ }
22
+
23
+ &__video,
24
+ &__screenshare {
25
+ justify-content: center;
26
+ align-items: center;
27
+ width: 100%;
28
+ border-radius: 4px;
29
+ background-color: $color-bg;
30
+ overflow: hidden;
31
+ font-size: 0;
32
+
33
+ div {
34
+ width: 100%;
35
+ height: 100%;
36
+ display: flex;
37
+ align-items: center;
38
+ justify-content: center;
39
+
40
+ video {
41
+ width: 100%;
42
+ object-fit: contain !important;
43
+ }
44
+ }
45
+ }
46
+
47
+ &__available-cameras-count {
48
+ font-size: $small-text;
49
+ margin: 0;
50
+ }
51
+ }
52
+
53
+ .incoming {
54
+ &--loading,
55
+ &--declined,
56
+ &--hangup {
57
+ .card {
58
+ justify-content: center;
59
+ align-items: center;
60
+ }
61
+ }
62
+
63
+ .card {
64
+ height: 680px;
65
+
66
+ @include media-breakpoint-down(sm) {
67
+ height: unset;
68
+ }
69
+
70
+ button {
71
+ width: fit-content;
72
+ }
73
+
74
+ .permissions-denied__audio,
75
+ .permissions-denied__video {
76
+ display: flex;
77
+ gap: 16px;
78
+ align-items: baseline;
79
+ justify-content: center;
80
+ }
81
+ }
82
+
83
+ &__video,
84
+ &__screenshare {
85
+ height: 580px;
86
+
87
+ @include media-breakpoint-down(sm) {
88
+ height: 200px;
89
+ }
90
+ }
91
+
92
+ &__settings {
93
+ display: flex;
94
+ justify-content: center;
95
+ align-items: center;
96
+ gap: 8px;
97
+ }
98
+ }
99
+
100
+ .side {
101
+ display: flex;
102
+ flex-direction: column;
103
+ justify-content: space-between;
104
+ height: 100%;
105
+ gap: 20px;
106
+ }
107
+
108
+ .outgoing {
109
+ margin-bottom: 20px;
110
+
111
+ &__video {
112
+ height: 200px;
113
+ }
114
+
115
+ .permissions-denied__video {
116
+ display: flex;
117
+ align-items: center;
118
+ flex-direction: column;
119
+ }
120
+ }
121
+
122
+ .settings {
123
+ border: 1px solid $color-border-light;
124
+ padding: 20px;
125
+ border-radius: 8px;
126
+
127
+ p {
128
+ color: $color-gray-secondary;
129
+ }
130
+
131
+ &__signal {
132
+ display: flex;
133
+ align-items: center;
134
+ padding-bottom: 20px;
135
+ gap: 12px;
136
+ border-bottom: 1px solid $color-border-light;
137
+
138
+ &.weak {
139
+ .indicator li:nth-child(1) {
140
+ background-color: $brand-danger;
141
+ }
142
+ }
143
+
144
+ &.steady {
145
+ .indicator li:nth-child(1),
146
+ .indicator li:nth-child(2) {
147
+ background-color: $brand-warning;
148
+ }
149
+ }
150
+
151
+ &.strong {
152
+ .indicator li {
153
+ background-color: $brand-success;
154
+ }
155
+ }
156
+
157
+ .indicator {
158
+ list-style: none;
159
+ display: flex;
160
+ align-items: flex-end;
161
+ margin: 0;
162
+ padding: 0;
163
+ gap: 2px;
164
+
165
+ li {
166
+ width: 6px;
167
+ border-radius: 1.6px;
168
+ background-color: $color-border-light;
169
+
170
+ &:nth-child(1) {
171
+ height: 7px;
172
+ }
173
+
174
+ &:nth-child(2) {
175
+ height: 13px;
176
+ }
177
+
178
+ &:nth-child(3) {
179
+ height: 20px;
180
+ }
181
+ }
182
+ }
183
+
184
+ p {
185
+ margin-bottom: 0;
186
+ line-height: 20px;
187
+ }
188
+ }
189
+
190
+ &__help {
191
+ padding-top: 20px;
192
+
193
+ p {
194
+ font-size: $small-text;
195
+ line-height: 21px;
196
+
197
+ &:last-of-type {
198
+ margin-bottom: 0;
199
+ }
200
+
201
+ b {
202
+ font-weight: 600;
203
+ }
204
+ }
205
+ }
206
+ }
207
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "description": "Component library voor BeterDichtbij design system",
4
4
  "private": false,
5
- "version": "0.70.0",
5
+ "version": "0.71.0-alpha.0",
6
6
  "engines": {
7
7
  "node": "24.x",
8
8
  "npm": "11.x"