@beterdichtbij/component-library 0.11.8 → 0.12.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 (53) hide show
  1. package/README.md +9 -9
  2. package/dist/bd-component-lib.cjs.js +4 -4
  3. package/dist/bd-component-lib.es.js +84 -83
  4. package/dist/bd-component-lib.umd.js +4 -4
  5. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts.map +1 -1
  6. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts.map +1 -1
  7. package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts.map +1 -1
  8. package/dist/components/atoms/BDButton/BDButton.vue.d.ts.map +1 -1
  9. package/dist/components/atoms/BDCard/BDCard.vue.d.ts.map +1 -1
  10. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts.map +1 -1
  11. package/dist/components/atoms/BDForm/BDForm.vue.d.ts.map +1 -1
  12. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts.map +1 -1
  13. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts.map +1 -1
  14. package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts.map +1 -1
  15. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts.map +1 -1
  16. package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts.map +1 -1
  17. package/dist/components/atoms/BDLink/BDLink.vue.d.ts.map +1 -1
  18. package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts.map +1 -1
  19. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts.map +1 -1
  20. package/dist/components/atoms/BDToast/BDToast.vue.d.ts.map +1 -1
  21. package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts.map +1 -1
  22. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts.map +1 -1
  23. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts.map +1 -1
  24. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts.map +1 -1
  25. package/dist/components/molecules/BDUser/BDUser.vue.d.ts.map +1 -1
  26. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts.map +1 -1
  27. package/dist/components/organisms/BDModal/BDModal.vue.d.ts +11 -0
  28. package/dist/components/organisms/BDModal/BDModal.vue.d.ts.map +1 -1
  29. package/dist/interfaces/BDModalProps.d.ts +1 -0
  30. package/dist/scss/_alert.scss +11 -11
  31. package/dist/scss/_article.scss +23 -23
  32. package/dist/scss/_base.scss +1 -1
  33. package/dist/scss/_button.scss +54 -54
  34. package/dist/scss/_card.scss +82 -82
  35. package/dist/scss/_collapsable-card.scss +118 -118
  36. package/dist/scss/_dropdown.scss +101 -101
  37. package/dist/scss/_dropzone.scss +71 -71
  38. package/dist/scss/_forms.scss +2 -2
  39. package/dist/scss/_icons.scss +52 -52
  40. package/dist/scss/_markdown-editor.scss +47 -47
  41. package/dist/scss/_modal.scss +15 -15
  42. package/dist/scss/_pagination.scss +41 -41
  43. package/dist/scss/_profile-image.scss +47 -47
  44. package/dist/scss/_toast.scss +83 -83
  45. package/dist/scss/_user.scss +5 -5
  46. package/dist/scss/_zoomslider.scss +77 -77
  47. package/dist/scss/base/typography.scss +15 -15
  48. package/dist/scss/base/variables.scss +162 -162
  49. package/dist/scss/component-library-styling.scss +18 -18
  50. package/dist/scss/forms/_form-check.scss +11 -11
  51. package/dist/scss/forms/_form-input.scss +3 -3
  52. package/dist/scss/mixins.scss +46 -46
  53. package/package.json +122 -122
@@ -1,102 +1,102 @@
1
-
2
- .bd-dropdown.dropdown {
3
- &.show {
4
-
5
- &:after {
6
- transform: rotate(180deg);
7
- }
8
- }
9
-
10
- ul.dropdown-menu {
11
- border: 0px;
12
- box-shadow: $dropdown-box-shadow;
13
- margin-top: 0.125rem;
14
-
15
- &.dropdown-menu-action {
16
- border: 1px solid rgba(0,0,0,.15);
17
- border-radius: $border-radius-default;
18
-
19
- .dropdown-item{
20
- width:100%;
21
- padding: 0.25rem 1.5rem;
22
- white-space: nowrap;
23
- line-height: revert;
24
-
25
- &:hover{
26
- background-color: #4d5875;
27
- color: #f5f5f5;
28
- text-decoration: none;
29
- }
30
- }
31
- }
32
-
33
-
34
- .dropdown-item {
35
- font-size: 1rem;
36
- letter-spacing: 0;
37
- line-height: 2.75rem;
38
-
39
- &:not(:last-child) {
40
- border-bottom: 1px solid $color-lightblue;
41
- }
42
-
43
- &:active,
44
- &:focus {
45
- text-decoration: underline;
46
- background-color: transparent;
47
- }
48
-
49
- @include media-breakpoint-up(md) {
50
- &:hover {
51
- text-decoration: underline;
52
- background-color: transparent;
53
- }
54
- }
55
- }
56
-
57
- }
58
-
59
- .dropdown-toggle {
60
- display: flex;
61
- align-items: center;
62
- font-weight: $font-bold;
63
- font-size: 16px;
64
- letter-spacing: 0;
65
- line-height: 24px;
66
- margin-right: 21px;
67
-
68
- &:after {
69
- border: 0px;
70
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Cpath d='M8.828 6.207L14.632.404a1 1 0 0 1 1.414 0l.707.707a1 1 0 0 1 0 1.414L9.682 9.596a.999.999 0 0 1-.854.282.999.999 0 0 1-.853-.282L.904 2.526a1 1 0 0 1 0-1.415L1.61.404a1 1 0 0 1 1.414 0l5.803 5.803z' fill='%23AFB8CC'/%3E%3C/svg%3E");
71
- background-repeat: no-repeat;
72
- background-size: contain;
73
- background-position: 50%;
74
- width: 14px;
75
- height: 10px;
76
- transition: 0.2s all ease-in;
77
- }
78
-
79
- &-action {
80
- font-size: calc(13px/16px) * 1rem;
81
- font-weight: $font-medium;
82
- padding: 0 10px;
83
-
84
- &:after{
85
- background-image:url('data:image/svg+xml, <svg class="icon icon-triangle-down" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" ><path d="M11.071 2.414L6.414 7.071a1 1 0 0 1-1.414 0L.343 2.414A1 1 0 0 1 1.05.707h9.314a1 1 0 0 1 .707 1.707z" /></svg>');
86
- border: 0;
87
- box-shadow: none;
88
- width: 9px;
89
- height: 7px;
90
- margin-left: 5px;
91
- }
92
- }
93
- }
94
-
95
- a.dropdown-toggle{
96
- color: $color-darkblue;
97
- }
98
- }
99
-
100
- .bd-dropdown-item {
101
- list-style-type: none;
1
+
2
+ .bd-dropdown.dropdown {
3
+ &.show {
4
+
5
+ &:after {
6
+ transform: rotate(180deg);
7
+ }
8
+ }
9
+
10
+ ul.dropdown-menu {
11
+ border: 0px;
12
+ box-shadow: $dropdown-box-shadow;
13
+ margin-top: 0.125rem;
14
+
15
+ &.dropdown-menu-action {
16
+ border: 1px solid rgba(0,0,0,.15);
17
+ border-radius: $border-radius-default;
18
+
19
+ .dropdown-item{
20
+ width:100%;
21
+ padding: 0.25rem 1.5rem;
22
+ white-space: nowrap;
23
+ line-height: revert;
24
+
25
+ &:hover{
26
+ background-color: #4d5875;
27
+ color: #f5f5f5;
28
+ text-decoration: none;
29
+ }
30
+ }
31
+ }
32
+
33
+
34
+ .dropdown-item {
35
+ font-size: 1rem;
36
+ letter-spacing: 0;
37
+ line-height: 2.75rem;
38
+
39
+ &:not(:last-child) {
40
+ border-bottom: 1px solid $color-lightblue;
41
+ }
42
+
43
+ &:active,
44
+ &:focus {
45
+ text-decoration: underline;
46
+ background-color: transparent;
47
+ }
48
+
49
+ @include media-breakpoint-up(md) {
50
+ &:hover {
51
+ text-decoration: underline;
52
+ background-color: transparent;
53
+ }
54
+ }
55
+ }
56
+
57
+ }
58
+
59
+ .dropdown-toggle {
60
+ display: flex;
61
+ align-items: center;
62
+ font-weight: $font-bold;
63
+ font-size: 16px;
64
+ letter-spacing: 0;
65
+ line-height: 24px;
66
+ margin-right: 21px;
67
+
68
+ &:after {
69
+ border: 0px;
70
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Cpath d='M8.828 6.207L14.632.404a1 1 0 0 1 1.414 0l.707.707a1 1 0 0 1 0 1.414L9.682 9.596a.999.999 0 0 1-.854.282.999.999 0 0 1-.853-.282L.904 2.526a1 1 0 0 1 0-1.415L1.61.404a1 1 0 0 1 1.414 0l5.803 5.803z' fill='%23AFB8CC'/%3E%3C/svg%3E");
71
+ background-repeat: no-repeat;
72
+ background-size: contain;
73
+ background-position: 50%;
74
+ width: 14px;
75
+ height: 10px;
76
+ transition: 0.2s all ease-in;
77
+ }
78
+
79
+ &-action {
80
+ font-size: calc(13px/16px) * 1rem;
81
+ font-weight: $font-medium;
82
+ padding: 0 10px;
83
+
84
+ &:after{
85
+ background-image:url('data:image/svg+xml, <svg class="icon icon-triangle-down" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" ><path d="M11.071 2.414L6.414 7.071a1 1 0 0 1-1.414 0L.343 2.414A1 1 0 0 1 1.05.707h9.314a1 1 0 0 1 .707 1.707z" /></svg>');
86
+ border: 0;
87
+ box-shadow: none;
88
+ width: 9px;
89
+ height: 7px;
90
+ margin-left: 5px;
91
+ }
92
+ }
93
+ }
94
+
95
+ a.dropdown-toggle{
96
+ color: $color-darkblue;
97
+ }
98
+ }
99
+
100
+ .bd-dropdown-item {
101
+ list-style-type: none;
102
102
  }
@@ -1,72 +1,72 @@
1
- @use "sass:math";
2
-
3
- .dropzone.bd-dropzone, .dropzone.bd-dropzone * {
4
- box-sizing: border-box;
5
- }
6
- .dropzone.bd-dropzone {
7
- position: relative;
8
- color: $color-darkblue;
9
- font-family: $font-family-base;
10
- width:fit-content;
11
-
12
- .dz-message{
13
- margin-bottom: 1.25rem;
14
- }
15
-
16
- .dz-preview {
17
- position: relative;
18
- display: inline-block;
19
-
20
- text-align: center;
21
-
22
- .dz-image{
23
- min-width: 150px;
24
- height: 88px;
25
- object-fit: contain;
26
- }
27
-
28
- .dz-error-message,.dz-success-mark {
29
- display: none;
30
- }
31
-
32
- &.dz-error {
33
- .dz-error-message, .dz-error-mark {
34
- display: block;
35
- }
36
- }
37
- &.dz-success {
38
- .dz-success-mark {
39
- display: block;
40
- background-color: $green;
41
- border-radius: 50%;
42
- width:21px;
43
- height:21px;
44
- margin: 0px auto;
45
- svg{
46
- transform: translateY(-2px);
47
- }
48
- }
49
- }
50
-
51
- &.dz-complete {
52
- .dz-progress {
53
- display: none;
54
- }
55
- }
56
-
57
- .dz-remove {
58
- position: absolute;
59
- top: -10px;
60
- right: -10px;
61
- margin: 0;
62
- width: 21px;
63
- height: 21px;
64
- border-radius: 50%;
65
- padding: 0px;
66
- background-color: $primary;
67
- display: flex;
68
- justify-content: center;
69
- align-items: center;
70
- }
71
- }
1
+ @use "sass:math";
2
+
3
+ .dropzone.bd-dropzone, .dropzone.bd-dropzone * {
4
+ box-sizing: border-box;
5
+ }
6
+ .dropzone.bd-dropzone {
7
+ position: relative;
8
+ color: $color-darkblue;
9
+ font-family: $font-family-base;
10
+ width:fit-content;
11
+
12
+ .dz-message{
13
+ margin-bottom: 1.25rem;
14
+ }
15
+
16
+ .dz-preview {
17
+ position: relative;
18
+ display: inline-block;
19
+
20
+ text-align: center;
21
+
22
+ .dz-image{
23
+ min-width: 150px;
24
+ height: 88px;
25
+ object-fit: contain;
26
+ }
27
+
28
+ .dz-error-message,.dz-success-mark {
29
+ display: none;
30
+ }
31
+
32
+ &.dz-error {
33
+ .dz-error-message, .dz-error-mark {
34
+ display: block;
35
+ }
36
+ }
37
+ &.dz-success {
38
+ .dz-success-mark {
39
+ display: block;
40
+ background-color: $green;
41
+ border-radius: 50%;
42
+ width:21px;
43
+ height:21px;
44
+ margin: 0px auto;
45
+ svg{
46
+ transform: translateY(-2px);
47
+ }
48
+ }
49
+ }
50
+
51
+ &.dz-complete {
52
+ .dz-progress {
53
+ display: none;
54
+ }
55
+ }
56
+
57
+ .dz-remove {
58
+ position: absolute;
59
+ top: -10px;
60
+ right: -10px;
61
+ margin: 0;
62
+ width: 21px;
63
+ height: 21px;
64
+ border-radius: 50%;
65
+ padding: 0px;
66
+ background-color: $primary;
67
+ display: flex;
68
+ justify-content: center;
69
+ align-items: center;
70
+ }
71
+ }
72
72
  }
@@ -1,2 +1,2 @@
1
- @import "forms/form-check";
2
- @import "forms/form-input";
1
+ @import "forms/form-check";
2
+ @import "forms/form-input";
@@ -1,53 +1,53 @@
1
- .icon{
2
- display: inline-block;
3
- height: 18px;
4
- width: 17px;
5
- position: relative;
6
-
7
- &.icon-check{
8
- .bd-dropzone &{
9
- height: 16px;
10
- width: 11px;
11
- fill: $color-white;
12
- }
13
- }
14
- &.icon-remove {
15
- width: 11px;
16
- height: 11px;
17
-
18
- .dz-remove &{
19
- fill: $color-white;
20
- }
21
- }
22
-
23
- &.icon-file{
24
- fill: $color-darkblue;
25
- .dz-details &{
26
- height: 88px;
27
- min-width: 150px;
28
- }
29
-
30
- .dz-error &{
31
- fill: $color-red;
32
- }
33
- }
34
-
35
- &.icon-error{
36
- .dz-error-mark & , .dz-error-message &, .bd-invalid-feedback &{
37
- path {
38
- fill: $color-red;
39
- }
40
- }
41
- }
42
- &.icon-loading{
43
- width:25px;
44
- height:25px;
45
- }
46
-
47
- &.icon-close{
48
- border-radius: 50%;
49
- width: 24px;
50
- height: 24px;
51
- fill: white;
52
- }
1
+ .icon{
2
+ display: inline-block;
3
+ height: 18px;
4
+ width: 17px;
5
+ position: relative;
6
+
7
+ &.icon-check{
8
+ .bd-dropzone &{
9
+ height: 16px;
10
+ width: 11px;
11
+ fill: $color-white;
12
+ }
13
+ }
14
+ &.icon-remove {
15
+ width: 11px;
16
+ height: 11px;
17
+
18
+ .dz-remove &{
19
+ fill: $color-white;
20
+ }
21
+ }
22
+
23
+ &.icon-file{
24
+ fill: $color-darkblue;
25
+ .dz-details &{
26
+ height: 88px;
27
+ min-width: 150px;
28
+ }
29
+
30
+ .dz-error &{
31
+ fill: $color-red;
32
+ }
33
+ }
34
+
35
+ &.icon-error{
36
+ .dz-error-mark & , .dz-error-message &, .bd-invalid-feedback &{
37
+ path {
38
+ fill: $color-red;
39
+ }
40
+ }
41
+ }
42
+ &.icon-loading{
43
+ width:25px;
44
+ height:25px;
45
+ }
46
+
47
+ &.icon-close{
48
+ border-radius: 50%;
49
+ width: 24px;
50
+ height: 24px;
51
+ fill: white;
52
+ }
53
53
  }
@@ -1,48 +1,48 @@
1
- .bd-markdown-editor {
2
- padding: 0.5rem;
3
- border: 1px solid $gray-500;
4
- background-color: $white;
5
- border-radius: 0.5rem;
6
-
7
-
8
- &.is-invalid {
9
- border: 1px solid $color-red;
10
-
11
- +.invalid-feedback {
12
- display: block;
13
- }
14
- }
15
-
16
- .ProseMirror {
17
- padding: 8px;
18
-
19
- &-focused {
20
- outline: none;
21
- }
22
-
23
- p {
24
- &.is-editor-empty:first-child::before {
25
- content: attr(data-placeholder);
26
- float: left;
27
- color: #adb5bd;
28
- pointer-events: none;
29
- height: 0;
30
- }
31
- }
32
- }
33
-
34
- &__menu-bottom {
35
- display: flex;
36
- gap: 0.5rem;
37
-
38
- .popover-body {
39
- padding h3 {
40
- margin-bottom: 5px;
41
- }
42
-
43
- fieldset.form-group {
44
- margin: 0px;
45
- }
46
- }
47
- }
1
+ .bd-markdown-editor {
2
+ padding: 0.5rem;
3
+ border: 1px solid $gray-500;
4
+ background-color: $white;
5
+ border-radius: 0.5rem;
6
+
7
+
8
+ &.is-invalid {
9
+ border: 1px solid $color-red;
10
+
11
+ +.invalid-feedback {
12
+ display: block;
13
+ }
14
+ }
15
+
16
+ .ProseMirror {
17
+ padding: 8px;
18
+
19
+ &-focused {
20
+ outline: none;
21
+ }
22
+
23
+ p {
24
+ &.is-editor-empty:first-child::before {
25
+ content: attr(data-placeholder);
26
+ float: left;
27
+ color: #adb5bd;
28
+ pointer-events: none;
29
+ height: 0;
30
+ }
31
+ }
32
+ }
33
+
34
+ &__menu-bottom {
35
+ display: flex;
36
+ gap: 0.5rem;
37
+
38
+ .popover-body {
39
+ padding h3 {
40
+ margin-bottom: 5px;
41
+ }
42
+
43
+ fieldset.form-group {
44
+ margin: 0px;
45
+ }
46
+ }
47
+ }
48
48
  }
@@ -1,16 +1,16 @@
1
- .modal.bd-modal{
2
- .modal-footer {
3
- justify-content: flex-start;
4
- }
5
-
6
- @include media-breakpoint-up(md) {
7
- .modal-footer {
8
- padding-left: 1.75rem;
9
- padding-bottom:1rem;
10
- }
11
- }
12
-
13
- .btn-close{
14
- align-self: baseline;
15
- }
1
+ .modal.bd-modal{
2
+ .modal-footer {
3
+ justify-content: flex-start;
4
+ }
5
+
6
+ @include media-breakpoint-up(md) {
7
+ .modal-footer {
8
+ padding-left: 1.75rem;
9
+ padding-bottom:1rem;
10
+ }
11
+ }
12
+
13
+ .btn-close{
14
+ align-self: baseline;
15
+ }
16
16
  }
@@ -1,42 +1,42 @@
1
- .page-link, .page-link:hover {
2
- width: 40px;
3
- height: 40px;
4
- border:$pagination-border-width solid $pagination-border-color;
5
- border-radius: $pagination-border-radius;
6
- font-weight: $font-semibold;
7
- color: $pagination-color;
8
- background-color: $white;
9
- cursor: pointer;
10
- user-select: none;
11
-
12
- .active &{
13
- border-color: $primary;
14
- background-color: $white;
15
- color: $font-color-primary;
16
-
17
- .colleague & {
18
- border-color: $color-colleague;
19
- }
20
-
21
- }
22
-
23
- .disabled &{
24
- border:none;
25
- width: 20px;
26
- background-color: transparent;
27
- }
28
- }
29
-
30
- .bd-pagination {
31
- .pagination {
32
- display: block;
33
- text-align: center;
34
- margin-bottom: 0px;
35
-
36
- .page-item {
37
- display: inline-block;
38
- margin: 4px;
39
- vertical-align: top;
40
- }
41
- }
1
+ .page-link, .page-link:hover {
2
+ width: 40px;
3
+ height: 40px;
4
+ border:$pagination-border-width solid $pagination-border-color;
5
+ border-radius: $pagination-border-radius;
6
+ font-weight: $font-semibold;
7
+ color: $pagination-color;
8
+ background-color: $white;
9
+ cursor: pointer;
10
+ user-select: none;
11
+
12
+ .active &{
13
+ border-color: $primary;
14
+ background-color: $white;
15
+ color: $font-color-primary;
16
+
17
+ .colleague & {
18
+ border-color: $color-colleague;
19
+ }
20
+
21
+ }
22
+
23
+ .disabled &{
24
+ border:none;
25
+ width: 20px;
26
+ background-color: transparent;
27
+ }
28
+ }
29
+
30
+ .bd-pagination {
31
+ .pagination {
32
+ display: block;
33
+ text-align: center;
34
+ margin-bottom: 0px;
35
+
36
+ .page-item {
37
+ display: inline-block;
38
+ margin: 4px;
39
+ vertical-align: top;
40
+ }
41
+ }
42
42
  }