@beterdichtbij/component-library 0.60.1 → 0.61.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.
Files changed (67) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +628 -112
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +7401 -10460
  5. package/dist/bd-component-lib.umd.js +629 -113
  6. package/dist/components/modals/BDAttachmentUploadModal/BDAttachmentUploadModal.vue.d.ts +2 -2
  7. package/dist/components/molecules/BDFileUpload/BDFileUpload.vue.d.ts +23 -0
  8. package/dist/index.d.ts +3 -2
  9. package/dist/interfaces/{BDDropzoneProps.d.ts → BDFileUploadProps.d.ts} +7 -3
  10. package/dist/locales/en.json +10 -10
  11. package/dist/locales/nl.json +98 -98
  12. package/dist/scss/_alert.scss +11 -11
  13. package/dist/scss/_article.scss +23 -23
  14. package/dist/scss/_assign-conversation-modal.scss +13 -13
  15. package/dist/scss/_attachments.scss +107 -107
  16. package/dist/scss/_badge.scss +18 -18
  17. package/dist/scss/_base.scss +1 -1
  18. package/dist/scss/_button.scss +74 -74
  19. package/dist/scss/_card.scss +56 -56
  20. package/dist/scss/_chatcloud.scss +93 -93
  21. package/dist/scss/_collapsable-card.scss +107 -107
  22. package/dist/scss/_content-library-card-message-template.scss +131 -131
  23. package/dist/scss/_content-library-card.scss +135 -135
  24. package/dist/scss/_content-library-modal.scss +46 -46
  25. package/dist/scss/_content-library-overview.scss +4 -4
  26. package/dist/scss/_content-library-split-button.scss +19 -19
  27. package/dist/scss/_conversation-to-text-modal.scss +32 -32
  28. package/dist/scss/_dropdown.scss +113 -113
  29. package/dist/scss/_extern.scss +1 -1
  30. package/dist/scss/{_dropzone.scss → _file-upload.scss} +92 -77
  31. package/dist/scss/_form-field.scss +12 -12
  32. package/dist/scss/_form-multiple-checkbox.scss +47 -47
  33. package/dist/scss/_forms.scss +2 -2
  34. package/dist/scss/_header.scss +170 -170
  35. package/dist/scss/_icon-luscii-logo.scss +31 -31
  36. package/dist/scss/_icons.scss +57 -57
  37. package/dist/scss/_image-attachment-modal.scss +91 -91
  38. package/dist/scss/_input-group.scss +2 -2
  39. package/dist/scss/_markdown-editor.scss +98 -98
  40. package/dist/scss/_message-template-form-modal.scss +42 -42
  41. package/dist/scss/_mobile-menu.scss +91 -91
  42. package/dist/scss/_modal.scss +173 -173
  43. package/dist/scss/_notification-button.scss +29 -29
  44. package/dist/scss/_pagination.scss +40 -40
  45. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  46. package/dist/scss/_pill.scss +89 -89
  47. package/dist/scss/_profile-image.scss +34 -34
  48. package/dist/scss/_table-sort-header.scss +13 -13
  49. package/dist/scss/_table.scss +16 -16
  50. package/dist/scss/_templates.scss +323 -323
  51. package/dist/scss/_toast.scss +69 -69
  52. package/dist/scss/_user-information.scss +34 -34
  53. package/dist/scss/_video-call-toast.scss +100 -100
  54. package/dist/scss/_zoomslider.scss +77 -77
  55. package/dist/scss/base/variables.scss +210 -210
  56. package/dist/scss/component-library-styling.scss +46 -46
  57. package/dist/scss/extern/_bootstrap.scss +14 -19
  58. package/dist/scss/extern/_prime-vue.scss +551 -550
  59. package/dist/scss/forms/_form-check.scss +15 -15
  60. package/dist/scss/forms/_form-input.scss +9 -9
  61. package/dist/scss/mixins.scss +78 -78
  62. package/dist/scss/templates/_change-password-template.scss +8 -8
  63. package/dist/scss/templates/_content-library-template.scss +139 -139
  64. package/dist/scss/templates/_not-found-template.scss +5 -5
  65. package/dist/stores/SessionTimeOutStore.ts +46 -46
  66. package/package.json +127 -129
  67. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +0 -17
@@ -1,74 +1,74 @@
1
- .btn {
2
- font-weight: 500;
3
- border: none;
4
- border-radius: $border-radius-default;
5
- text-align: center;
6
- margin: 0;
7
- transition: all 0.5s cubic-bezier(0.36, 0.03, 0.28, 0.99);
8
- }
9
-
10
- // $variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color
11
- $btn-variants:
12
- "primary" $white $blue-text $white $blue-dark none,
13
- "secondary" $font-color-primary $white $font-color-primary $gray-7 $gray 1px solid $gray,
14
- "danger" $white $red-text $white $red-dark none,
15
- "colleague" $white $green-text $white $green-dark none,
16
- "success" $white $green $white $green-text none,
17
- "outline-primary" $font-color-primary $white $white $font-color-primary $gray-primary 1px solid $gray-primary,
18
- "outline-primary-dark" $font-color-primary transparent $white $font-color-primary $gray-primary 1px solid $gray-primary,
19
- "outline-tertiary" $black $white $black $gray-7 $gray-primary 1px solid $gray-primary,
20
- "link" $primary transparent $primary transparent none,
21
- "white" $white transparent $white transparent none;
22
-
23
- @each $variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color in $btn-variants {
24
- .btn-#{$variant} {
25
- @include button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color);
26
- }
27
- }
28
-
29
- .btn-link {
30
- text-decoration: none;
31
-
32
- &:hover {
33
- text-decoration: underline;
34
- }
35
- }
36
-
37
- .btn {
38
- &.disabled, &:disabled {
39
- background-color: $white;
40
- border: 1px solid $gray-4;
41
- opacity: 0.5;
42
- color: $gray-primary;
43
- }
44
- }
45
-
46
- button {
47
- &.btn-remove {
48
- position: absolute;
49
- top: -10px;
50
- right: -10px;
51
- margin-top: 0px !important;
52
- background-color: $primary;
53
- color: $white;
54
- fill: $white;
55
- width: 21px;
56
- height: 21px;
57
- border-radius: 50%;
58
- line-height: normal;
59
- padding: 0;
60
- text-align: center;
61
- &:hover {
62
- fill: $primary;
63
- background-color: $gray-7;
64
- }
65
- }
66
- }
67
-
68
- .btn:disabled.btn-primary,
69
- .btn[disabled].btn-primary {
70
- pointer-events: none;
71
- opacity: 1;
72
- background-color: #bdc2cc;
73
- color: white;
74
- }
1
+ .btn {
2
+ font-weight: 500;
3
+ border: none;
4
+ border-radius: $border-radius-default;
5
+ text-align: center;
6
+ margin: 0;
7
+ transition: all 0.5s cubic-bezier(0.36, 0.03, 0.28, 0.99);
8
+ }
9
+
10
+ // $variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color
11
+ $btn-variants:
12
+ "primary" $white $blue-text $white $blue-dark none,
13
+ "secondary" $font-color-primary $white $font-color-primary $gray-7 $gray 1px solid $gray,
14
+ "danger" $white $red-text $white $red-dark none,
15
+ "colleague" $white $green-text $white $green-dark none,
16
+ "success" $white $green $white $green-text none,
17
+ "outline-primary" $font-color-primary $white $white $font-color-primary $gray-primary 1px solid $gray-primary,
18
+ "outline-primary-dark" $font-color-primary transparent $white $font-color-primary $gray-primary 1px solid $gray-primary,
19
+ "outline-tertiary" $black $white $black $gray-7 $gray-primary 1px solid $gray-primary,
20
+ "link" $primary transparent $primary transparent none,
21
+ "white" $white transparent $white transparent none;
22
+
23
+ @each $variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color in $btn-variants {
24
+ .btn-#{$variant} {
25
+ @include button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color);
26
+ }
27
+ }
28
+
29
+ .btn-link {
30
+ text-decoration: none;
31
+
32
+ &:hover {
33
+ text-decoration: underline;
34
+ }
35
+ }
36
+
37
+ .btn {
38
+ &.disabled, &:disabled {
39
+ background-color: $white;
40
+ border: 1px solid $gray-4;
41
+ opacity: 0.5;
42
+ color: $gray-primary;
43
+ }
44
+ }
45
+
46
+ button {
47
+ &.btn-remove {
48
+ position: absolute;
49
+ top: -10px;
50
+ right: -10px;
51
+ margin-top: 0px !important;
52
+ background-color: $primary;
53
+ color: $white;
54
+ fill: $white;
55
+ width: 21px;
56
+ height: 21px;
57
+ border-radius: 50%;
58
+ line-height: normal;
59
+ padding: 0;
60
+ text-align: center;
61
+ &:hover {
62
+ fill: $primary;
63
+ background-color: $gray-7;
64
+ }
65
+ }
66
+ }
67
+
68
+ .btn:disabled.btn-primary,
69
+ .btn[disabled].btn-primary {
70
+ pointer-events: none;
71
+ opacity: 1;
72
+ background-color: #bdc2cc;
73
+ color: white;
74
+ }
@@ -1,57 +1,57 @@
1
- .card {
2
- border: none;
3
- border-radius: $border-radius-default;
4
-
5
- .card-header {
6
- background-color: $primary;
7
- display: flex;
8
- align-items: center;
9
- justify-content: space-between;
10
- position: relative;
11
-
12
- &.danger {
13
- background-color: $red-header;
14
- }
15
-
16
- &.colleague {
17
- background-color: $color-colleague;
18
- }
19
-
20
- h2 {
21
- color: $white;
22
- font-weight: 600;
23
- margin-bottom: 0;
24
- font-size: 1.25rem;
25
- line-height: 23px;
26
- }
27
- }
28
-
29
- .card-body {
30
- padding: 20px;
31
-
32
- .alert {
33
- ul {
34
- padding-top: 10px;
35
- }
36
- }
37
-
38
- .btn-container {
39
- margin-top: 10px;
40
- }
41
- }
42
-
43
- &.no-body .card-header {
44
- background-color: $white;
45
- color: $font-color-primary;
46
- border: none;
47
- border-radius: $border-radius-default;
48
-
49
- &.danger {
50
- background-color: #dc3545;
51
- }
52
-
53
- &.colleague {
54
- background-color: $color-colleague;
55
- }
56
- }
1
+ .card {
2
+ border: none;
3
+ border-radius: $border-radius-default;
4
+
5
+ .card-header {
6
+ background-color: $primary;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: space-between;
10
+ position: relative;
11
+
12
+ &.danger {
13
+ background-color: $red-header;
14
+ }
15
+
16
+ &.colleague {
17
+ background-color: $color-colleague;
18
+ }
19
+
20
+ h2 {
21
+ color: $white;
22
+ font-weight: 600;
23
+ margin-bottom: 0;
24
+ font-size: 1.25rem;
25
+ line-height: 23px;
26
+ }
27
+ }
28
+
29
+ .card-body {
30
+ padding: 20px;
31
+
32
+ .alert {
33
+ ul {
34
+ padding-top: 10px;
35
+ }
36
+ }
37
+
38
+ .btn-container {
39
+ margin-top: 10px;
40
+ }
41
+ }
42
+
43
+ &.no-body .card-header {
44
+ background-color: $white;
45
+ color: $font-color-primary;
46
+ border: none;
47
+ border-radius: $border-radius-default;
48
+
49
+ &.danger {
50
+ background-color: #dc3545;
51
+ }
52
+
53
+ &.colleague {
54
+ background-color: $color-colleague;
55
+ }
56
+ }
57
57
  }
@@ -1,94 +1,94 @@
1
- .bd-chat-cloud {
2
- display: flex;
3
- gap: 12px;
4
- margin-bottom: 16px;
5
- padding-right: 80px;
6
-
7
- &-card {
8
- flex: 1;
9
- background-color: $color-bg;
10
- padding: 20px;
11
- border-radius: 8px;
12
- position: relative;
13
-
14
- &__header {
15
- display: flex;
16
- justify-content: space-between;
17
- margin-bottom: 12px;
18
-
19
- @include media-breakpoint-down(md) {
20
- flex-direction: column;
21
- button {
22
- width: 80px;
23
- margin-top: 12px;
24
- }
25
- }
26
- }
27
-
28
- &__body {
29
- word-break: break-word;
30
- .card-body &{
31
- ul {
32
- padding:revert;
33
- padding-left:2rem;
34
- list-style-type: revert;
35
- margin:revert;
36
- }
37
- }
38
- }
39
-
40
- &__message{
41
- p{
42
- min-height: 1rem;
43
- }
44
- p:last-of-type{
45
- margin-bottom: 0px;
46
- }
47
- }
48
-
49
- &__footer {
50
- ul {
51
- margin-bottom: 0;
52
-
53
- li {
54
- margin-bottom: 0;
55
- }
56
-
57
- .card-body & {
58
- margin-top: 1.25rem;
59
- }
60
- }
61
- }
62
-
63
- .sender & {
64
- background-color: $color-chatcloud;
65
- }
66
-
67
- @include media-breakpoint-down(md) {
68
- padding: 8px;
69
- }
70
- }
71
-
72
-
73
- &.sender {
74
- flex-direction: row-reverse;
75
- padding-right: revert;
76
- padding-left: 80px;
77
- }
78
-
79
- @include media-breakpoint-down(md) {
80
- padding-left: 6px;
81
- padding-right: 30px;
82
-
83
- &.sender {
84
- padding-left: 30px;
85
- padding-right: 6px;
86
- }
87
- }
88
-
89
- .bd-profile-picture {
90
- @include media-breakpoint-down(md) {
91
- display: none;
92
- }
93
- }
1
+ .bd-chat-cloud {
2
+ display: flex;
3
+ gap: 12px;
4
+ margin-bottom: 16px;
5
+ padding-right: 80px;
6
+
7
+ &-card {
8
+ flex: 1;
9
+ background-color: $color-bg;
10
+ padding: 20px;
11
+ border-radius: 8px;
12
+ position: relative;
13
+
14
+ &__header {
15
+ display: flex;
16
+ justify-content: space-between;
17
+ margin-bottom: 12px;
18
+
19
+ @include media-breakpoint-down(md) {
20
+ flex-direction: column;
21
+ button {
22
+ width: 80px;
23
+ margin-top: 12px;
24
+ }
25
+ }
26
+ }
27
+
28
+ &__body {
29
+ word-break: break-word;
30
+ .card-body &{
31
+ ul {
32
+ padding:revert;
33
+ padding-left:2rem;
34
+ list-style-type: revert;
35
+ margin:revert;
36
+ }
37
+ }
38
+ }
39
+
40
+ &__message{
41
+ p{
42
+ min-height: 1rem;
43
+ }
44
+ p:last-of-type{
45
+ margin-bottom: 0px;
46
+ }
47
+ }
48
+
49
+ &__footer {
50
+ ul {
51
+ margin-bottom: 0;
52
+
53
+ li {
54
+ margin-bottom: 0;
55
+ }
56
+
57
+ .card-body & {
58
+ margin-top: 1.25rem;
59
+ }
60
+ }
61
+ }
62
+
63
+ .sender & {
64
+ background-color: $color-chatcloud;
65
+ }
66
+
67
+ @include media-breakpoint-down(md) {
68
+ padding: 8px;
69
+ }
70
+ }
71
+
72
+
73
+ &.sender {
74
+ flex-direction: row-reverse;
75
+ padding-right: revert;
76
+ padding-left: 80px;
77
+ }
78
+
79
+ @include media-breakpoint-down(md) {
80
+ padding-left: 6px;
81
+ padding-right: 30px;
82
+
83
+ &.sender {
84
+ padding-left: 30px;
85
+ padding-right: 6px;
86
+ }
87
+ }
88
+
89
+ .bd-profile-picture {
90
+ @include media-breakpoint-down(md) {
91
+ display: none;
92
+ }
93
+ }
94
94
  }
@@ -1,108 +1,108 @@
1
- .bd-collapsable-card {
2
- margin-bottom: 1rem;
3
-
4
- &__actions {
5
- display: flex;
6
- gap: 8px;
7
- }
8
-
9
- .card-header {
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
- }
23
-
24
- .patient-detail-template & {
25
- &.is-disabled {
26
- border-radius: $border-radius-default;
27
- padding: 10px 20px;
28
- }
29
- }
30
-
31
- >.btn-caret.collapsed {
32
- border-radius: $border-radius-default;
33
- }
34
-
35
- &.no-title {
36
- justify-content: flex-end;
37
- }
38
-
39
- .btn-caret.btn {
40
- width: fit-content;
41
- padding: 0px 6px 0px 6px;
42
- background: transparent;
43
-
44
- svg {
45
- margin: revert;
46
- fill: $color-white;
47
- }
48
-
49
- &:focus,
50
- &:hover {
51
- border: none;
52
- box-shadow: revert;
53
- background: transparent;
54
-
55
- svg {
56
- fill: $color-white;
57
- }
58
- }
59
-
60
- &[aria-expanded="true"] {
61
- svg {
62
- transform: rotate(-180deg);
63
- }
64
- }
65
- }
66
-
67
- &.round-corners {
68
- border-radius: $border-radius-default !important;
69
- }
70
-
71
- @include media-breakpoint-down(md) {
72
- min-height: revert;
73
- height: 60px;
74
-
75
- &.round-corners-md {
76
- border-radius: $border-radius-default !important;
77
- }
78
- }
79
-
80
- @include media-breakpoint-down(sm) {
81
- &.round-corners-sm {
82
- border-radius: $border-radius-default !important;
83
- }
84
- }
85
- }
86
-
87
- .card-body {
88
- font-size: 1rem;
89
-
90
- &.display-none {
91
- display: none;
92
- }
93
-
94
- &.collapse {
95
- @include media-breakpoint-up(lg) {
96
- &.open-collapse-lg {
97
- display: block !important
98
- }
99
- }
100
-
101
- @include media-breakpoint-up(md) {
102
- &.open-collapse-md {
103
- display: block !important
104
- }
105
- }
106
- }
107
- }
1
+ .bd-collapsable-card {
2
+ margin-bottom: 1rem;
3
+
4
+ &__actions {
5
+ display: flex;
6
+ gap: 8px;
7
+ }
8
+
9
+ .card-header {
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
+ }
23
+
24
+ .patient-detail-template & {
25
+ &.is-disabled {
26
+ border-radius: $border-radius-default;
27
+ padding: 10px 20px;
28
+ }
29
+ }
30
+
31
+ >.btn-caret.collapsed {
32
+ border-radius: $border-radius-default;
33
+ }
34
+
35
+ &.no-title {
36
+ justify-content: flex-end;
37
+ }
38
+
39
+ .btn-caret.btn {
40
+ width: fit-content;
41
+ padding: 0px 6px 0px 6px;
42
+ background: transparent;
43
+
44
+ svg {
45
+ margin: revert;
46
+ fill: $color-white;
47
+ }
48
+
49
+ &:focus,
50
+ &:hover {
51
+ border: none;
52
+ box-shadow: revert;
53
+ background: transparent;
54
+
55
+ svg {
56
+ fill: $color-white;
57
+ }
58
+ }
59
+
60
+ &[aria-expanded="true"] {
61
+ svg {
62
+ transform: rotate(-180deg);
63
+ }
64
+ }
65
+ }
66
+
67
+ &.round-corners {
68
+ border-radius: $border-radius-default !important;
69
+ }
70
+
71
+ @include media-breakpoint-down(md) {
72
+ min-height: revert;
73
+ height: 60px;
74
+
75
+ &.round-corners-md {
76
+ border-radius: $border-radius-default !important;
77
+ }
78
+ }
79
+
80
+ @include media-breakpoint-down(sm) {
81
+ &.round-corners-sm {
82
+ border-radius: $border-radius-default !important;
83
+ }
84
+ }
85
+ }
86
+
87
+ .card-body {
88
+ font-size: 1rem;
89
+
90
+ &.display-none {
91
+ display: none;
92
+ }
93
+
94
+ &.collapse {
95
+ @include media-breakpoint-up(lg) {
96
+ &.open-collapse-lg {
97
+ display: block !important
98
+ }
99
+ }
100
+
101
+ @include media-breakpoint-up(md) {
102
+ &.open-collapse-md {
103
+ display: block !important
104
+ }
105
+ }
106
+ }
107
+ }
108
108
  }