@beterdichtbij/component-library 0.72.4 → 0.72.5-beta.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.
Files changed (69) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +56 -56
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +263 -237
  5. package/dist/bd-component-lib.umd.js +67 -67
  6. package/dist/locales/en.json +79 -79
  7. package/dist/locales/nl.json +180 -180
  8. package/dist/scss/_active-filters.scss +65 -65
  9. package/dist/scss/_alert.scss +11 -11
  10. package/dist/scss/_article.scss +31 -31
  11. package/dist/scss/_assign-conversation-modal.scss +13 -13
  12. package/dist/scss/_attachments.scss +107 -107
  13. package/dist/scss/_badge.scss +18 -18
  14. package/dist/scss/_button.scss +80 -80
  15. package/dist/scss/_card.scss +62 -62
  16. package/dist/scss/_chatcloud.scss +99 -99
  17. package/dist/scss/_collapsable-card.scss +103 -103
  18. package/dist/scss/_content-library-card-message-template.scss +136 -136
  19. package/dist/scss/_content-library-card.scss +158 -158
  20. package/dist/scss/_content-library-modal.scss +8 -8
  21. package/dist/scss/_content-library-overview.scss +4 -4
  22. package/dist/scss/_content-library-split-button.scss +23 -23
  23. package/dist/scss/_conversation-to-text-modal.scss +36 -36
  24. package/dist/scss/_dropdown.scss +113 -113
  25. package/dist/scss/_extern.scss +1 -1
  26. package/dist/scss/_file-upload-preview.scss +53 -53
  27. package/dist/scss/_file-upload.scss +26 -26
  28. package/dist/scss/_filter-card.scss +64 -64
  29. package/dist/scss/_form-field.scss +12 -12
  30. package/dist/scss/_form-multiple-checkbox.scss +51 -51
  31. package/dist/scss/_forms.scss +3 -3
  32. package/dist/scss/_header.scss +170 -170
  33. package/dist/scss/_icon-luscii-logo.scss +31 -31
  34. package/dist/scss/_icons.scss +38 -38
  35. package/dist/scss/_image-attachment-modal.scss +91 -91
  36. package/dist/scss/_input-group.scss +2 -2
  37. package/dist/scss/_loader.scss +59 -59
  38. package/dist/scss/_markdown-editor.scss +114 -114
  39. package/dist/scss/_message-template-form-modal.scss +47 -47
  40. package/dist/scss/_mixins.scss +78 -78
  41. package/dist/scss/_mobile-menu.scss +91 -91
  42. package/dist/scss/_modal.scss +182 -182
  43. package/dist/scss/_notification-button.scss +29 -29
  44. package/dist/scss/_pagination.scss +56 -56
  45. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  46. package/dist/scss/_pill-container.scss +26 -26
  47. package/dist/scss/_pill.scss +63 -63
  48. package/dist/scss/_profile-image.scss +34 -34
  49. package/dist/scss/_table-sort-header.scss +13 -13
  50. package/dist/scss/_table.scss +16 -16
  51. package/dist/scss/_templates.scss +264 -264
  52. package/dist/scss/_toast.scss +69 -69
  53. package/dist/scss/_user-information.scss +34 -34
  54. package/dist/scss/_user.scss +21 -21
  55. package/dist/scss/_video-call-toast.scss +100 -100
  56. package/dist/scss/_zoomslider.scss +77 -77
  57. package/dist/scss/base/variables.scss +210 -210
  58. package/dist/scss/extern/_bootstrap.scss +14 -14
  59. package/dist/scss/extern/_prime-vue.scss +551 -551
  60. package/dist/scss/forms/_form-check.scss +16 -16
  61. package/dist/scss/forms/_form-input.scss +9 -9
  62. package/dist/scss/forms/_form-select.scss +4 -4
  63. package/dist/scss/main.scss +52 -52
  64. package/dist/scss/templates/_change-password-template.scss +8 -8
  65. package/dist/scss/templates/_content-library-template.scss +135 -135
  66. package/dist/scss/templates/_not-found-template.scss +35 -35
  67. package/dist/scss/templates/_video-call-template.scss +225 -225
  68. package/dist/stores/SessionTimeOutStore.ts +46 -46
  69. package/package.json +133 -133
@@ -1,66 +1,66 @@
1
- .bd-active-filters {
2
- font-size: 14px;
3
- display: flex;
4
- flex-direction: column;
5
-
6
- header {
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: center;
10
- width: 100%;
11
- min-height: 40px;
12
-
13
- span {
14
- font-size: 15px;
15
- font-weight: 700;
16
- }
17
-
18
- button {
19
- padding: 10px;
20
- line-height: 19px;
21
- text-align: center;
22
- font-size: 14px;
23
- height: auto;
24
- }
25
- }
26
-
27
- .filter {
28
- display: flex;
29
- gap: 2px;
30
-
31
- label {
32
- display: flex;
33
- align-items: center;
34
- height: 25px;
35
- }
36
-
37
- .options {
38
- display: inline-block;
39
- flex: 1;
40
- min-width: 0;
41
-
42
- .p-chip {
43
- background: #fff;
44
- color: #4D5875;
45
- border: 1px solid #AFB8CC;
46
- border-radius: 18px;
47
- gap: 6px;
48
- padding: 2px 5px;
49
- margin: 0 6px 6px 0;
50
- font-weight: 700;
51
- max-width: 100%;
52
- cursor: default;
53
-
54
- .p-chip-label {
55
- white-space: nowrap;
56
- text-overflow: ellipsis;
57
- overflow: hidden;
58
- }
59
-
60
- svg path {
61
- fill: #4D5875;
62
- }
63
- }
64
- }
65
- }
1
+ .bd-active-filters {
2
+ font-size: 14px;
3
+ display: flex;
4
+ flex-direction: column;
5
+
6
+ header {
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ width: 100%;
11
+ min-height: 40px;
12
+
13
+ span {
14
+ font-size: 15px;
15
+ font-weight: 700;
16
+ }
17
+
18
+ button {
19
+ padding: 10px;
20
+ line-height: 19px;
21
+ text-align: center;
22
+ font-size: 14px;
23
+ height: auto;
24
+ }
25
+ }
26
+
27
+ .filter {
28
+ display: flex;
29
+ gap: 2px;
30
+
31
+ label {
32
+ display: flex;
33
+ align-items: center;
34
+ height: 25px;
35
+ }
36
+
37
+ .options {
38
+ display: inline-block;
39
+ flex: 1;
40
+ min-width: 0;
41
+
42
+ .p-chip {
43
+ background: #fff;
44
+ color: #4D5875;
45
+ border: 1px solid #AFB8CC;
46
+ border-radius: 18px;
47
+ gap: 6px;
48
+ padding: 2px 5px;
49
+ margin: 0 6px 6px 0;
50
+ font-weight: 700;
51
+ max-width: 100%;
52
+ cursor: default;
53
+
54
+ .p-chip-label {
55
+ white-space: nowrap;
56
+ text-overflow: ellipsis;
57
+ overflow: hidden;
58
+ }
59
+
60
+ svg path {
61
+ fill: #4D5875;
62
+ }
63
+ }
64
+ }
65
+ }
66
66
  }
@@ -1,12 +1,12 @@
1
- .alert {
2
- overflow-wrap: anywhere;
3
- hyphens: auto;
4
- }
5
-
6
- @each $variant, $color in $theme-colors {
7
- $bg-color: tint-color($color, 90%);
8
- .alert-#{$variant} {
9
- @include alert($color, $bg-color);
10
- font-size: 1rem;
11
- }
1
+ .alert {
2
+ overflow-wrap: anywhere;
3
+ hyphens: auto;
4
+ }
5
+
6
+ @each $variant, $color in $theme-colors {
7
+ $bg-color: tint-color($color, 90%);
8
+ .alert-#{$variant} {
9
+ @include alert($color, $bg-color);
10
+ font-size: 1rem;
11
+ }
12
12
  }
@@ -1,32 +1,32 @@
1
- article {
2
- &.bd-article {
3
- display:flex;
4
- flex-direction: column;
5
- padding: 1.125rem;
6
- width:100%;
7
- gap: 1rem;
8
- background-color: $white;
9
- border-radius: 8px;
10
-
11
- @media (max-width: 400px) {
12
- .bd-profile-picture {
13
- display: none;
14
- }
15
- }
16
-
17
- header{
18
- display: flex;
19
- justify-content: space-between;
20
- gap: 8px;
21
-
22
- @media (max-width: 400px) {
23
- flex-direction: column;
24
- }
25
- }
26
-
27
- footer {
28
- display:flex;
29
- justify-content: space-between;
30
- }
31
- }
1
+ article {
2
+ &.bd-article {
3
+ display:flex;
4
+ flex-direction: column;
5
+ padding: 1.125rem;
6
+ width:100%;
7
+ gap: 1rem;
8
+ background-color: $white;
9
+ border-radius: 8px;
10
+
11
+ @media (max-width: 400px) {
12
+ .bd-profile-picture {
13
+ display: none;
14
+ }
15
+ }
16
+
17
+ header{
18
+ display: flex;
19
+ justify-content: space-between;
20
+ gap: 8px;
21
+
22
+ @media (max-width: 400px) {
23
+ flex-direction: column;
24
+ }
25
+ }
26
+
27
+ footer {
28
+ display:flex;
29
+ justify-content: space-between;
30
+ }
31
+ }
32
32
  }
@@ -1,14 +1,14 @@
1
- #assign-conversation-modal {
2
- .invalid-feedback-text {
3
- color: #e0462e;
4
- margin-top: 0.25rem;
5
- font-size: 0.875em;
6
- }
7
-
8
- .form-control:disabled {
9
- color: black;
10
- background-color: green;
11
- border-color: #dee2e6;
12
- opacity: 1;
13
- }
1
+ #assign-conversation-modal {
2
+ .invalid-feedback-text {
3
+ color: #e0462e;
4
+ margin-top: 0.25rem;
5
+ font-size: 0.875em;
6
+ }
7
+
8
+ .form-control:disabled {
9
+ color: black;
10
+ background-color: green;
11
+ border-color: #dee2e6;
12
+ opacity: 1;
13
+ }
14
14
  }
@@ -1,107 +1,107 @@
1
-
2
- .attachment-list {
3
- display: flex;
4
- justify-content: flex-start;
5
- flex-flow: wrap;
6
- margin-top: 20px;
7
- list-style: none;
8
- padding: 0px;
9
-
10
- &__item {
11
- margin-bottom: 10px;
12
-
13
- @include media-breakpoint-up(md) {
14
- margin-bottom: 25px;
15
- }
16
-
17
- &:not(:last-child) {
18
- margin-right: 10px;
19
-
20
- @include media-breakpoint-up(md) {
21
- margin-right: 20px;
22
- }
23
- }
24
- }
25
-
26
- .attachment {
27
- .img-preview {
28
- cursor: zoom-in;
29
- border-radius: 8px;
30
- border: 1px solid #abb0be;
31
- }
32
-
33
- .download-button-image {
34
- position: absolute;
35
- top: 3px;
36
- right: 3px;
37
- padding: 5px;
38
- width: 30px;
39
- height: 34px;
40
- text-align: center;
41
- display: none;
42
- cursor: pointer;
43
- background-color: white;
44
- border-radius: 8px;
45
-
46
- &.btn{
47
- border:1px solid #abb0be;
48
- }
49
-
50
- svg {
51
- margin-right: 0px;
52
- stroke: $color-stroke-gray;
53
- }
54
-
55
- &:hover {
56
- svg {
57
- stroke: $color-darkblue;
58
- }
59
- }
60
- }
61
-
62
- &:hover {
63
- .download-button-image {
64
- display: block;
65
- }
66
- }
67
- }
68
- }
69
-
70
-
71
-
72
- .attachment-link {
73
- color: $primary;
74
- text-decoration: none;
75
- font-weight: $font-normal;
76
- position: relative;
77
- fill: $primary;
78
- .icon-attachment {
79
- margin-right: 5px;
80
- }
81
-
82
- .icon-external {
83
- fill: $color-border;
84
- margin-left: 10px;
85
- }
86
-
87
- .icon-file-added {
88
- fill: $color-blue;
89
- margin-right: 10px;
90
- }
91
- &:hover{
92
- fill:#2a76a6;
93
- }
94
- }
95
-
96
- .attachment {
97
- position: relative;
98
- width: fit-content;
99
-
100
- img {
101
- object-fit: contain;
102
- min-height: 40px;
103
- max-height: 120px;
104
- width: auto;
105
- }
106
- }
107
-
1
+
2
+ .attachment-list {
3
+ display: flex;
4
+ justify-content: flex-start;
5
+ flex-flow: wrap;
6
+ margin-top: 20px;
7
+ list-style: none;
8
+ padding: 0px;
9
+
10
+ &__item {
11
+ margin-bottom: 10px;
12
+
13
+ @include media-breakpoint-up(md) {
14
+ margin-bottom: 25px;
15
+ }
16
+
17
+ &:not(:last-child) {
18
+ margin-right: 10px;
19
+
20
+ @include media-breakpoint-up(md) {
21
+ margin-right: 20px;
22
+ }
23
+ }
24
+ }
25
+
26
+ .attachment {
27
+ .img-preview {
28
+ cursor: zoom-in;
29
+ border-radius: 8px;
30
+ border: 1px solid #abb0be;
31
+ }
32
+
33
+ .download-button-image {
34
+ position: absolute;
35
+ top: 3px;
36
+ right: 3px;
37
+ padding: 5px;
38
+ width: 30px;
39
+ height: 34px;
40
+ text-align: center;
41
+ display: none;
42
+ cursor: pointer;
43
+ background-color: white;
44
+ border-radius: 8px;
45
+
46
+ &.btn{
47
+ border:1px solid #abb0be;
48
+ }
49
+
50
+ svg {
51
+ margin-right: 0px;
52
+ stroke: $color-stroke-gray;
53
+ }
54
+
55
+ &:hover {
56
+ svg {
57
+ stroke: $color-darkblue;
58
+ }
59
+ }
60
+ }
61
+
62
+ &:hover {
63
+ .download-button-image {
64
+ display: block;
65
+ }
66
+ }
67
+ }
68
+ }
69
+
70
+
71
+
72
+ .attachment-link {
73
+ color: $primary;
74
+ text-decoration: none;
75
+ font-weight: $font-normal;
76
+ position: relative;
77
+ fill: $primary;
78
+ .icon-attachment {
79
+ margin-right: 5px;
80
+ }
81
+
82
+ .icon-external {
83
+ fill: $color-border;
84
+ margin-left: 10px;
85
+ }
86
+
87
+ .icon-file-added {
88
+ fill: $color-blue;
89
+ margin-right: 10px;
90
+ }
91
+ &:hover{
92
+ fill:#2a76a6;
93
+ }
94
+ }
95
+
96
+ .attachment {
97
+ position: relative;
98
+ width: fit-content;
99
+
100
+ img {
101
+ object-fit: contain;
102
+ min-height: 40px;
103
+ max-height: 120px;
104
+ width: auto;
105
+ }
106
+ }
107
+
@@ -1,19 +1,19 @@
1
- .bd-badge {
2
- margin: 1.5px;
3
- }
4
-
5
- @each $variant, $color in $theme-colors {
6
- $bg-color: tint-color($color, 90%);
7
-
8
- .bd-badge-#{$variant} {
9
- @include badge($color, $bg-color);
10
- }
11
- }
12
-
13
- .bd-badge-warning {
14
- color: $color-darkblue;
15
- }
16
-
17
- .bd-badge-warning {
18
- color: $color-darkblue;
1
+ .bd-badge {
2
+ margin: 1.5px;
3
+ }
4
+
5
+ @each $variant, $color in $theme-colors {
6
+ $bg-color: tint-color($color, 90%);
7
+
8
+ .bd-badge-#{$variant} {
9
+ @include badge($color, $bg-color);
10
+ }
11
+ }
12
+
13
+ .bd-badge-warning {
14
+ color: $color-darkblue;
15
+ }
16
+
17
+ .bd-badge-warning {
18
+ color: $color-darkblue;
19
19
  }
@@ -1,80 +1,80 @@
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
- &:focus-visible {
46
- outline: 3px solid $blue-dark;
47
- outline-offset: 2px;
48
- border-radius: 4px;
49
- }
50
- }
51
-
52
- button {
53
- &.btn-remove {
54
- position: absolute;
55
- top: -10px;
56
- right: -10px;
57
- margin-top: 0px !important;
58
- background-color: $primary;
59
- color: $white;
60
- fill: $white;
61
- width: 21px;
62
- height: 21px;
63
- border-radius: 50%;
64
- line-height: normal;
65
- padding: 0;
66
- text-align: center;
67
- &:hover {
68
- fill: $primary;
69
- background-color: $gray-7;
70
- }
71
- }
72
- }
73
-
74
- .btn:disabled.btn-primary,
75
- .btn[disabled].btn-primary {
76
- pointer-events: none;
77
- opacity: 1;
78
- background-color: #bdc2cc;
79
- color: white;
80
- }
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
+ &:focus-visible {
46
+ outline: 3px solid $blue-dark;
47
+ outline-offset: 2px;
48
+ border-radius: 4px;
49
+ }
50
+ }
51
+
52
+ button {
53
+ &.btn-remove {
54
+ position: absolute;
55
+ top: -10px;
56
+ right: -10px;
57
+ margin-top: 0px !important;
58
+ background-color: $primary;
59
+ color: $white;
60
+ fill: $white;
61
+ width: 21px;
62
+ height: 21px;
63
+ border-radius: 50%;
64
+ line-height: normal;
65
+ padding: 0;
66
+ text-align: center;
67
+ &:hover {
68
+ fill: $primary;
69
+ background-color: $gray-7;
70
+ }
71
+ }
72
+ }
73
+
74
+ .btn:disabled.btn-primary,
75
+ .btn[disabled].btn-primary {
76
+ pointer-events: none;
77
+ opacity: 1;
78
+ background-color: #bdc2cc;
79
+ color: white;
80
+ }