@beterdichtbij/component-library 0.11.0 → 0.11.2

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 (139) hide show
  1. package/README.md +10 -5
  2. package/dist/bd-component-lib.cjs.js +32 -32
  3. package/dist/bd-component-lib.css +5 -0
  4. package/dist/bd-component-lib.es.js +4401 -4612
  5. package/dist/bd-component-lib.umd.js +37 -32
  6. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts +19 -7
  7. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts.map +1 -1
  8. package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts +6 -5
  9. package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts.map +1 -1
  10. package/dist/components/atoms/BDButton/BDButton.vue.d.ts +29 -22
  11. package/dist/components/atoms/BDButton/BDButton.vue.d.ts.map +1 -1
  12. package/dist/components/atoms/BDCard/BDCard.vue.d.ts.map +1 -1
  13. package/dist/components/atoms/BDForm/BDForm.vue.d.ts +20 -2
  14. package/dist/components/atoms/BDForm/BDForm.vue.d.ts.map +1 -1
  15. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts +3 -33
  16. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts.map +1 -1
  17. package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts +9 -8
  18. package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts.map +1 -1
  19. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts +8 -16
  20. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts.map +1 -1
  21. package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts +2 -28
  22. package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts.map +1 -1
  23. package/dist/components/atoms/BDLink/BDLink.vue.d.ts +8 -6
  24. package/dist/components/atoms/BDLink/BDLink.vue.d.ts.map +1 -1
  25. package/dist/components/atoms/BDLogo/BDLogo.vue.d.ts.map +1 -1
  26. package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts +15 -5
  27. package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts.map +1 -1
  28. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts +6 -5
  29. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts.map +1 -1
  30. package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts +18 -4
  31. package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts.map +1 -1
  32. package/dist/components/atoms/icons/IconAttachment.vue.d.ts.map +1 -1
  33. package/dist/components/atoms/icons/IconBold.vue.d.ts.map +1 -1
  34. package/dist/components/atoms/icons/IconBulletList.vue.d.ts.map +1 -1
  35. package/dist/components/atoms/icons/IconCaretLeft.vue.d.ts.map +1 -1
  36. package/dist/components/atoms/icons/IconCaretRight.vue.d.ts.map +1 -1
  37. package/dist/components/atoms/icons/IconCheck.vue.d.ts.map +1 -1
  38. package/dist/components/atoms/icons/IconClose.vue.d.ts.map +1 -1
  39. package/dist/components/atoms/icons/IconError.vue.d.ts.map +1 -1
  40. package/dist/components/atoms/icons/IconFile.vue.d.ts.map +1 -1
  41. package/dist/components/atoms/icons/IconHyperlink.vue.d.ts.map +1 -1
  42. package/dist/components/atoms/icons/IconInfo.vue.d.ts.map +1 -1
  43. package/dist/components/atoms/icons/IconItalic.vue.d.ts.map +1 -1
  44. package/dist/components/atoms/icons/IconOrderedList.vue.d.ts.map +1 -1
  45. package/dist/components/atoms/icons/IconRemove.vue.d.ts.map +1 -1
  46. package/dist/components/atoms/icons/IconUnderline.vue.d.ts.map +1 -1
  47. package/dist/components/atoms/icons/index.d.ts +1 -2
  48. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts +9 -14
  49. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts.map +1 -1
  50. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +1 -26
  51. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts.map +1 -1
  52. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts +6 -14
  53. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts.map +1 -1
  54. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts +26 -25
  55. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts.map +1 -1
  56. package/dist/components/organisms/BDHeader/BDHeader.vue.d.ts +37 -0
  57. package/dist/components/organisms/BDHeader/BDHeader.vue.d.ts.map +1 -0
  58. package/dist/components/organisms/BDModal/BDModal.vue.d.ts +0 -6
  59. package/dist/components/organisms/BDModal/BDModal.vue.d.ts.map +1 -1
  60. package/dist/enums/bootstrap.d.ts +15 -0
  61. package/dist/enums/tiptapVariants.d.ts +4 -0
  62. package/dist/enums/variants.d.ts +12 -0
  63. package/dist/index.d.ts +3 -10
  64. package/dist/layout/BDContainer.vue.d.ts +4 -4
  65. package/dist/types/BDAlert.d.ts +5 -0
  66. package/dist/types/BDButton.d.ts +8 -0
  67. package/dist/types/BDDropDown.d.ts +11 -0
  68. package/dist/{interfaces/BDFormInputProps.d.ts → types/BDFormInput.d.ts} +2 -3
  69. package/dist/types/BDFormSelect.d.ts +10 -0
  70. package/dist/types/BDHeader.d.ts +7 -0
  71. package/dist/{interfaces → types}/BDImage.d.ts +2 -2
  72. package/dist/types/BDLink.d.ts +13 -0
  73. package/dist/types/BDMarkdownEditor.d.ts +8 -0
  74. package/dist/types/BootstrapButtonVariants.d.ts +4 -0
  75. package/dist/types/BootstrapSize.d.ts +4 -0
  76. package/dist/types/BootstrapVariant.d.ts +4 -0
  77. package/package.json +122 -122
  78. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts +0 -60
  79. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts.map +0 -1
  80. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts +0 -50
  81. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts.map +0 -1
  82. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts +0 -54
  83. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts.map +0 -1
  84. package/dist/components/atoms/BDToast/BDToast.vue.d.ts +0 -75
  85. package/dist/components/atoms/BDToast/BDToast.vue.d.ts.map +0 -1
  86. package/dist/components/atoms/icons/IconCaretDown.vue.d.ts +0 -2
  87. package/dist/components/atoms/icons/IconCaretDown.vue.d.ts.map +0 -1
  88. package/dist/components/molecules/BDUser/BDUser.vue.d.ts +0 -56
  89. package/dist/components/molecules/BDUser/BDUser.vue.d.ts.map +0 -1
  90. package/dist/interfaces/BDAlertProps.d.ts +0 -5
  91. package/dist/interfaces/BDArticleProps.d.ts +0 -7
  92. package/dist/interfaces/BDBadgeProps.d.ts +0 -4
  93. package/dist/interfaces/BDButtonProps.d.ts +0 -9
  94. package/dist/interfaces/BDCardProps.d.ts +0 -10
  95. package/dist/interfaces/BDCollapsableCardProps.d.ts +0 -7
  96. package/dist/interfaces/BDDropDownProps.d.ts +0 -13
  97. package/dist/interfaces/BDFormCheckboxProps.d.ts +0 -7
  98. package/dist/interfaces/BDFormInvalidFeedbackProps.d.ts +0 -4
  99. package/dist/interfaces/BDFormSelectProps.d.ts +0 -10
  100. package/dist/interfaces/BDInputGroupProps.d.ts +0 -4
  101. package/dist/interfaces/BDLinkProps.d.ts +0 -12
  102. package/dist/interfaces/BDMarkdownEditorProps.d.ts +0 -8
  103. package/dist/interfaces/BDPaginationProps.d.ts +0 -6
  104. package/dist/interfaces/BDToastProps.d.ts +0 -10
  105. package/dist/interfaces/BDUserProps.d.ts +0 -7
  106. package/dist/interfaces/BDZoomSliderProps.d.ts +0 -4
  107. package/dist/scss/_alert.scss +0 -11
  108. package/dist/scss/_article.scss +0 -24
  109. package/dist/scss/_base.scss +0 -2
  110. package/dist/scss/_button.scss +0 -54
  111. package/dist/scss/_card.scss +0 -83
  112. package/dist/scss/_collapsable-card.scss +0 -119
  113. package/dist/scss/_dropdown.scss +0 -102
  114. package/dist/scss/_dropzone.scss +0 -72
  115. package/dist/scss/_forms.scss +0 -2
  116. package/dist/scss/_icons.scss +0 -53
  117. package/dist/scss/_markdown-editor.scss +0 -48
  118. package/dist/scss/_modal.scss +0 -16
  119. package/dist/scss/_pagination.scss +0 -29
  120. package/dist/scss/_profile-image.scss +0 -47
  121. package/dist/scss/_toast.scss +0 -84
  122. package/dist/scss/_user.scss +0 -6
  123. package/dist/scss/_zoomslider.scss +0 -72
  124. package/dist/scss/base/typography.scss +0 -16
  125. package/dist/scss/base/variables.scss +0 -162
  126. package/dist/scss/component-library-styling.scss +0 -18
  127. package/dist/scss/forms/_form-check.scss +0 -12
  128. package/dist/scss/forms/_form-input.scss +0 -4
  129. package/dist/scss/mixins.scss +0 -46
  130. package/dist/types/BootstrapSizes.d.ts +0 -8
  131. package/dist/types/BootstrapVariants.d.ts +0 -10
  132. package/dist/types/ButtonColorVariants.d.ts +0 -14
  133. package/dist/types/Identifier.d.ts +0 -3
  134. package/dist/types/ToastVariants.d.ts +0 -8
  135. package/dist/types/tiptapVariants.d.ts +0 -6
  136. package/dist/utils/type.d.ts +0 -1
  137. /package/dist/composables/{useUniqueIdentifier.d.ts → uniqueIdentifier.d.ts} +0 -0
  138. /package/dist/{interfaces/BDDropzoneProps.d.ts → types/BDDropzone.d.ts} +0 -0
  139. /package/dist/{interfaces/BDModalProps.d.ts → types/BDModal.d.ts} +0 -0
@@ -1,162 +0,0 @@
1
- //gray scale
2
- $white: #fff;
3
- $gray-100: #f8f9fa;
4
- $gray-200: #e9ecef;
5
- $gray-300: #dee2e6;
6
- $gray-400: #ced4da;
7
- $gray-500: #adb5bd;
8
- $gray-600: #6c757d;
9
- $gray-700: #495057;
10
- $gray-800: #343a40;
11
- $gray-900: #212529;
12
- $black: #000;
13
-
14
- // colors
15
- $blue: #3594CF; // BD-blue
16
- $indigo: #6610f2;
17
- $purple: #6f42c1;
18
- $pink: #d63384;
19
- $red: #e0452c; // BD-red
20
- $orange: #fd7e14;
21
- $yellow: hsl(48, 100%, 47%); // BD-yellow
22
- $green: #00BF6F; // BD-green
23
- $teal: #20c997;
24
- $cyan: #0dcaf0;
25
-
26
- // theme colors
27
- $danger:$red;
28
- $primary:$blue;
29
- $success:$green;
30
- $warning:$yellow;
31
- $secondary:$gray-600;
32
- $info:$blue;
33
- $light:$white;
34
- $dark:$gray-900;
35
-
36
- $grid-breakpoints: (xs: 0,
37
- sm: 576px,
38
- md: 768px,
39
- lg: 850px,
40
- xl: 1200px,
41
- xxl: 1400px);
42
-
43
- // mapping
44
- $theme-colors: (
45
- "primary": $primary,
46
- "secondary": $secondary,
47
- "info": $info,
48
- "warning": $warning,
49
- "danger": $danger,
50
- "success": $success,
51
- "light": $light,
52
- "dark" : $dark
53
- );
54
-
55
- //variables
56
- $font-family-base: 'Work Sans',
57
- sans-serif;
58
- $headings-font-family: $font-family-base;
59
-
60
- //Old BD variables
61
- $color-blue :#4D5875; // is een donkerdere kleur dan BD-blauw
62
- $color-red:#e0462e;
63
- $color-darkblue:#394156;
64
- $color-lightblue: #EBF3F8;
65
- $color-bg:#F5F5F5;
66
-
67
- $color-white : #ffffff;
68
- $color-black : #000000;
69
-
70
- $color-colleague : $green;
71
-
72
- //variables font
73
- $font-family-base: 'Work Sans',
74
- sans-serif;
75
- $font-secondary : 'Quicksand',
76
- sans-serif;
77
-
78
- $font-light : 300;
79
- $font-normal : 400;
80
- $font-medium : 500;
81
- $font-semibold : 600;
82
- $font-bold : 700;
83
- $font-black : 900;
84
-
85
- $font-color-primary : $color-darkblue;
86
-
87
-
88
-
89
- //dropdown item vars
90
- $dropdown-bg: #fff;
91
- $dropdown-color: $color-blue;
92
- $dropdown-border-radius: 0px;
93
- $dropdown-border-width: 0px;
94
- $dropdown-box-shadow: 0 2px 5px 0 rgba(77,88,117,.2);
95
- $dropdown-item-padding-y: 0.25rem;
96
- $dropdown-item-padding-x: 1.5rem;
97
-
98
- //caret
99
- $caret-width: 0.5rem;
100
-
101
- //border
102
- $border-radius-default: 8px;
103
-
104
-
105
- // scss-docs-start form-label-variables
106
- $form-label-font-size: 15px;
107
- $form-label-font-weight:700;
108
- $form-label-color:$color-darkblue;
109
- $form-label-margin-bottom: 0;
110
- // scss-docs-end form-label-variables
111
-
112
- // scss-docs-start form-input-variables
113
- $input-color: $color-blue;
114
- $input-border-color: #abb1bf;
115
- $input-border-width:1px;
116
- $input-disabled-color: $gray-300;
117
- $input-disabled-bg: $color-bg;
118
- $input-disabled-border-color: $gray-300;
119
- $form-feedback-icon-invalid: none;
120
- $form-feedback-icon-valid: none;
121
- // scss-docs-end form-input-variables
122
-
123
- //checkbox
124
- $form-check-input-width: calc(22px/16px * 1em) ;
125
- $form-check-input-border: 1px solid $gray-500;
126
- $form-check-input-checked-bg-color: $white;
127
- $form-check-input-checked-border-color: $primary;
128
- $form-check-input-checked-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="15" viewBox="0 0 20 15"><g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"><g id="form/checkbox-checked" stroke="%233594CF" stroke-width="3" transform="translate(-1 -3)"><polyline id="Shape" points="19 5 8 16 3 11"/></g></g></svg>');
129
-
130
- //badge
131
- $badge-padding-y: 8px;
132
- $badge-padding-x: 4px;
133
- $badge-border-radius: $border-radius-default;
134
-
135
- //badge
136
- $badge-padding-y: 8px;
137
- $badge-padding-x: 4px;
138
- $badge-border-radius: $border-radius-default;
139
-
140
- //bdmodal
141
- $modal-header-border-width: 0px;
142
- $modal-footer-border-width: 0px;
143
- $modal-inner-padding: 1rem 2rem;
144
- $modal-header-padding: 1rem 2rem;
145
-
146
- //btn-close
147
- $btn-close-opacity:1;
148
-
149
- //toast
150
- $toast-background-color: $color-white;
151
- $toast-color: $color-darkblue;
152
- $toast-padding-x: 1.25rem;
153
- $toast-border-radius: $border-radius-default;
154
- $toast-header-background-color : $color-white;
155
- $toast-header-color:$color-darkblue;
156
-
157
- // pagination variables
158
-
159
- $pagination-color: $gray-600;
160
- $pagination-border-color:$gray-500;
161
- $pagination-border-radius: 4px;
162
- $pagination-border-width: 1px;
@@ -1,18 +0,0 @@
1
- @import "mixins";
2
- @import "base";
3
- @import "button";
4
- @import "article";
5
- @import "alert";
6
- @import "zoomslider";
7
- @import "card";
8
- @import "collapsable-card";
9
- @import "profile-image";
10
- @import "icons";
11
- @import "pagination";
12
- @import "forms";
13
- @import "toast";
14
- @import "dropdown";
15
- @import "dropzone";
16
- @import "user";
17
- @import "markdown-editor";
18
- @import "modal";
@@ -1,12 +0,0 @@
1
- .form-check.bd-form-checkbox{
2
- input {
3
- background-size: 16px 11px;
4
- background-repeat: no-repeat;
5
- background-position: 50%;
6
-
7
- &.form-check-input.is-invalid{
8
- border-color: $gray-500;
9
- background-color: revert;
10
- }
11
- }
12
- }
@@ -1,4 +0,0 @@
1
- .form-label {
2
- line-height: 33px;
3
- padding:0;
4
- }
@@ -1,46 +0,0 @@
1
- @mixin alert($color, $bg-color) {
2
- border-radius: 8px;
3
- padding: 15px;
4
- font-size: 16px;
5
- background-color: $bg-color;
6
- color: $color;
7
- border: 1px solid $color;
8
- svg {
9
- fill: $color;
10
- &.icon{
11
- margin-right:8px;
12
- }
13
- }
14
- }
15
-
16
- @mixin button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color) {
17
- color: $color;
18
- background-color: $bg-color;
19
- border:$border $solid $border-color;
20
-
21
- svg {
22
- fill: $color;
23
- path{
24
- fill:$color
25
- }
26
- }
27
-
28
- &:hover, &:focus{
29
- color: $hover-color;
30
- background-color: $hover-bg-color;
31
- border:$border $solid $border-color;
32
-
33
- svg {
34
- fill: $hover-color;
35
- path{
36
- fill:$hover-color;
37
- }
38
- }
39
- }
40
-
41
- &.disabled{
42
- opacity: 0.5;
43
- color: $color;
44
- background-color: $bg-color;
45
- }
46
- }
@@ -1,8 +0,0 @@
1
- import { GenericEnum } from '../utils/type';
2
- export declare const BOOTSTRAP_SIZES: {
3
- readonly XS: "xs";
4
- readonly SM: "sm";
5
- readonly MD: "md";
6
- readonly LG: "lg";
7
- };
8
- export type bootstrapSizes = GenericEnum<typeof BOOTSTRAP_SIZES>;
@@ -1,10 +0,0 @@
1
- import { GenericEnum } from '../utils/type';
2
- export declare const BOOTSTRAP_VARIANTS: {
3
- readonly PRIMARY: "primary";
4
- readonly SECONDARY: "secondary";
5
- readonly DANGER: "danger";
6
- readonly WARNING: "warning";
7
- readonly INFO: "info";
8
- readonly SUCCESS: "success";
9
- };
10
- export type bootstrapVariants = GenericEnum<typeof BOOTSTRAP_VARIANTS>;
@@ -1,14 +0,0 @@
1
- import { GenericEnum } from '../utils/type';
2
- export declare const BTN_COLOR_VARIANTS: {
3
- readonly PRIMARY: "primary";
4
- readonly SECONDARY: "secondary";
5
- readonly COLLEAGUE: "colleague";
6
- readonly DANGER: "danger";
7
- readonly OUT_PRIMARY: "outline-primary";
8
- readonly OUT_PRIMARY_DARK: "outline-primary-dark";
9
- readonly OUT_TERTIARY: "outline-tertiary";
10
- readonly OUT_LINK: "link";
11
- readonly LIGHT: "light";
12
- readonly DARK: "dark";
13
- };
14
- export type btnColorVariants = GenericEnum<typeof BTN_COLOR_VARIANTS>;
@@ -1,3 +0,0 @@
1
- export interface identifierProp {
2
- identifier: string | number;
3
- }
@@ -1,8 +0,0 @@
1
- import { GenericEnum } from '../utils/type';
2
- export declare const TOAST_VARIANTS: {
3
- readonly DANGER: "danger";
4
- readonly WARNING: "warning";
5
- readonly INFO: "info";
6
- readonly SUCCESS: "success";
7
- };
8
- export type toastVariants = GenericEnum<typeof TOAST_VARIANTS>;
@@ -1,6 +0,0 @@
1
- import { GenericEnum } from '../utils/type';
2
- export declare const TIPTAP_VARIANTS: {
3
- readonly BASIC: "basic";
4
- readonly FULL: "full";
5
- };
6
- export type TiptapVariants = GenericEnum<typeof TIPTAP_VARIANTS>;
@@ -1 +0,0 @@
1
- export type GenericEnum<T> = T[keyof T];