@beterdichtbij/component-library 0.31.5 → 0.32.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.
@@ -1,10 +1,9 @@
1
1
  .card {
2
- border:none;
2
+ border: none;
3
3
  border-radius: $border-radius-default;
4
4
 
5
5
  .card-header {
6
- background-color:$primary;
7
- color:$white;
6
+ background-color: $primary;
8
7
  display: flex;
9
8
  align-items: center;
10
9
  justify-content: space-between;
@@ -13,6 +12,18 @@
13
12
  &.colleague {
14
13
  background-color: $color-colleague;
15
14
  }
15
+
16
+ h2 {
17
+ color: $white;
18
+ font-weight: 600;
19
+ margin-bottom: 0;
20
+ font-size: 1.25rem;
21
+ line-height: 23px;
22
+ }
23
+
24
+ .btn-primary {
25
+ background: #2272C4;
26
+ }
16
27
  }
17
28
 
18
29
  .card-body {
@@ -7,13 +7,9 @@
7
7
  &-card {
8
8
  flex: 1;
9
9
  background-color: $color-bg;
10
- padding: 30px;
11
- border-radius: 0px 8px 8px 8px;
10
+ padding: 20px;
11
+ border-radius: 8px;
12
12
  position: relative;
13
-
14
- .sender & {
15
- border-radius: 8px 0px 8px 8px;
16
- }
17
13
 
18
14
  &__header {
19
15
  display: flex;
@@ -58,8 +54,8 @@
58
54
  margin-bottom: 0;
59
55
  }
60
56
 
61
- .card-body &{
62
- margin-top: 1.25rem;
57
+ .card-body & {
58
+ margin-top: 1.25rem;
63
59
  }
64
60
  }
65
61
  }
@@ -68,32 +64,9 @@
68
64
  background-color: $color-chatcloud;
69
65
  }
70
66
 
71
- &::before {
72
- content: "";
73
- position: absolute;
74
- border-left: 8px solid transparent;
75
- border-right: 8px solid $color-bg;
76
- border-top: 8px solid $color-bg;
77
- border-bottom: 8px solid transparent;
78
- left: -14px;
79
- top: 0px;
80
- border-radius: 4px;
81
- transform: scaleZ(-1);
82
-
83
- .sender & {
84
- border-right: 8px solid transparent;
85
- border-top: 8px solid $color-chatcloud;
86
- border-left: 8px solid $color-chatcloud;
87
- transform: revert;
88
- right: -12px;
89
- left: revert;
90
- }
91
- }
92
-
93
67
  @include media-breakpoint-down(md) {
94
68
  padding: 8px;
95
69
  }
96
-
97
70
  }
98
71
 
99
72
 
@@ -117,9 +90,5 @@
117
90
  @include media-breakpoint-down(md) {
118
91
  display: none;
119
92
  }
120
-
121
93
  }
122
- }
123
-
124
-
125
-
94
+ }
@@ -7,10 +7,22 @@
7
7
  }
8
8
 
9
9
  .card-header {
10
- border-radius: $border-radius-default;
10
+ border-radius: $border-radius-default $border-radius-default 0 0;
11
+ align-items: center;
12
+ border-bottom: none;
13
+ padding: 0 16px;
14
+ height: 60px;
15
+
16
+ h2 {
17
+ color: #fff;
18
+ font-weight: 600;
19
+ margin-bottom: 0;
20
+ font-size: 1.25rem;
21
+ line-height: 23px;
22
+ }
11
23
 
12
- .patient-detail-template &{
13
- &.is-disabled{
24
+ .patient-detail-template & {
25
+ &.is-disabled {
14
26
  border-radius: $border-radius-default;
15
27
  padding: 10px 20px;
16
28
  }
@@ -73,6 +85,8 @@
73
85
  }
74
86
 
75
87
  .card-body {
88
+ font-size: 1rem;
89
+
76
90
  &.display-none {
77
91
  display: none;
78
92
  }
@@ -36,7 +36,7 @@
36
36
 
37
37
  .bd-btn {
38
38
  line-height: unset;
39
- padding: 6px 12px;
39
+ padding: 6px 8px;
40
40
 
41
41
  svg {
42
42
  margin: unset;
@@ -53,4 +53,12 @@
53
53
  }
54
54
  }
55
55
  }
56
+
57
+ button {
58
+ background-color: transparent;
59
+
60
+ &:hover {
61
+ background-color: $gray-200;
62
+ }
63
+ }
56
64
  }
@@ -61,10 +61,11 @@ $light:$gray-200;
61
61
  $dark:$gray-900;
62
62
 
63
63
  $grid-breakpoints: (xs: 0,
64
- sm: 576px,
65
- md: 768px,
66
- lg: 850px,
67
- xl: 1200px);
64
+ sm: 576px, // Small screen / phone
65
+ md: 768px, // Medium screen / tablet
66
+ lg: 850px, // Large screen / desktop
67
+ xl: 1200px // Extra large screen / wide desktop
68
+ );
68
69
 
69
70
  $container-max-widths: (
70
71
  sm: 540px,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.31.5",
4
+ "version": "0.32.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"