@beterdichtbij/component-library 0.21.0 → 0.22.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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconAcademy.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconAcademy.vue"],"names":[],"mappings":";AA+BA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconArrowDown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconArrowDown.vue"],"names":[],"mappings":";AA6BA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconArrowUp.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconArrowUp.vue"],"names":[],"mappings":";AA4BA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconCardView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconCardView.vue"],"names":[],"mappings":";AAuBA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconEdit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconEdit.vue"],"names":[],"mappings":";AAmBA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconListView.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconListView.vue"],"names":[],"mappings":";AAyBA,wBAA4E"}
@@ -1,22 +1,28 @@
1
- import IconCheck from "./IconCheck.vue";
2
- import IconError from "./IconError.vue";
1
+ import IconAcademy from "./IconAcademy.vue";
2
+ import IconArrowDown from "./IconArrowDown.vue";
3
+ import IconArrowUp from "./IconArrowUp.vue";
3
4
  import IconAttachment from "./IconAttachment.vue";
5
+ import IconBold from "./IconBold.vue";
6
+ import IconBulletList from "./IconBulletList.vue";
4
7
  import IconCalendar from "./IconCalendar.vue";
5
- import IconInfo from "./IconInfo.vue";
6
- import IconRemove from "./IconRemove.vue";
7
- import IconFile from "./IconFile.vue";
8
+ import IconCardView from "./IconCardView.vue";
8
9
  import IconCaretDown from "./IconCaretDown.vue";
9
- import IconCaretRight from "./IconCaretRight.vue";
10
10
  import IconCaretLeft from "./IconCaretLeft.vue";
11
+ import IconCaretRight from "./IconCaretRight.vue";
12
+ import IconCheck from "./IconCheck.vue";
11
13
  import IconClose from "./IconClose.vue";
12
- import IconItalic from "./IconItalic.vue";
13
- import IconBold from "./IconBold.vue";
14
- import IconUnderline from "./IconUnderline.vue";
15
- import IconBulletList from "./IconBulletList.vue";
16
- import IconOrderedList from "./IconOrderedList.vue";
17
- import IconHyperlink from "./IconHyperlink.vue";
18
14
  import IconDownloadImage from "./IconDownloadImage.vue";
19
- import IconMenu from "./IconMenu.vue";
15
+ import IconEdit from "./IconEdit.vue";
16
+ import IconError from "./IconError.vue";
20
17
  import IconEyeShow from "./IconEyeShow.vue";
21
18
  import IconEyeSlash from "./IconEyeSlash.vue";
22
- export { IconAttachment, IconCheck, IconError, IconInfo, IconRemove, IconFile, IconCaretDown, IconCaretRight, IconCaretLeft, IconClose, IconItalic, IconBold, IconUnderline, IconBulletList, IconOrderedList, IconHyperlink, IconCalendar, IconDownloadImage, IconMenu, IconEyeShow, IconEyeSlash };
19
+ import IconFile from "./IconFile.vue";
20
+ import IconHyperlink from "./IconHyperlink.vue";
21
+ import IconInfo from "./IconInfo.vue";
22
+ import IconItalic from "./IconItalic.vue";
23
+ import IconListView from "./IconListView.vue";
24
+ import IconMenu from "./IconMenu.vue";
25
+ import IconOrderedList from "./IconOrderedList.vue";
26
+ import IconRemove from "./IconRemove.vue";
27
+ import IconUnderline from "./IconUnderline.vue";
28
+ export { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconUnderline, };
@@ -0,0 +1,29 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { BDLinkProps } from '../../../interfaces/BDLinkProps';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ active: {
5
+ type: __PropType<boolean | undefined>;
6
+ required: false;
7
+ default: undefined;
8
+ };
9
+ options: {
10
+ type: __PropType<BDLinkProps[]>;
11
+ required: true;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("signout" | "hide")[], "signout" | "hide", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ active: {
15
+ type: __PropType<boolean | undefined>;
16
+ required: false;
17
+ default: undefined;
18
+ };
19
+ options: {
20
+ type: __PropType<BDLinkProps[]>;
21
+ required: true;
22
+ };
23
+ }>> & {
24
+ onSignout?: ((...args: any[]) => any) | undefined;
25
+ onHide?: ((...args: any[]) => any) | undefined;
26
+ }, {
27
+ active: boolean | undefined;
28
+ }, {}>;
29
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDMobileMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/BDMobileMenu/BDMobileMenu.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,+GAA+G,CAAC;AACtI,cAAc,+GAA+G,CAAC;AAC9H,eAAe,SAAS,CAAC"}
@@ -0,0 +1,58 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import type { BDLinkProps } from '../../../interfaces/BDLinkProps';
3
+ import type { bootstrapSizes } from '../../../types/BootstrapSizes';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ dropdownMenuTitle: {
6
+ type: __PropType<string | undefined>;
7
+ required: false;
8
+ };
9
+ dropdownOptions: {
10
+ type: __PropType<BDLinkProps[] | undefined>;
11
+ required: false;
12
+ };
13
+ headerOptions: {
14
+ type: __PropType<BDLinkProps[] | undefined>;
15
+ required: false;
16
+ };
17
+ src: {
18
+ type: __PropType<string | null | undefined>;
19
+ required: false;
20
+ };
21
+ profileImageAlt: {
22
+ type: __PropType<string | undefined>;
23
+ required: false;
24
+ };
25
+ profileImageSize: {
26
+ type: __PropType<bootstrapSizes | undefined>;
27
+ required: false;
28
+ };
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "signout")[], "click" | "signout", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ dropdownMenuTitle: {
31
+ type: __PropType<string | undefined>;
32
+ required: false;
33
+ };
34
+ dropdownOptions: {
35
+ type: __PropType<BDLinkProps[] | undefined>;
36
+ required: false;
37
+ };
38
+ headerOptions: {
39
+ type: __PropType<BDLinkProps[] | undefined>;
40
+ required: false;
41
+ };
42
+ src: {
43
+ type: __PropType<string | null | undefined>;
44
+ required: false;
45
+ };
46
+ profileImageAlt: {
47
+ type: __PropType<string | undefined>;
48
+ required: false;
49
+ };
50
+ profileImageSize: {
51
+ type: __PropType<bootstrapSizes | undefined>;
52
+ required: false;
53
+ };
54
+ }>> & {
55
+ onClick?: ((...args: any[]) => any) | undefined;
56
+ onSignout?: ((...args: any[]) => any) | undefined;
57
+ }, {}, {}>;
58
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/BDHeader/BDHeader.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uGAAuG,CAAC;AAC9H,cAAc,uGAAuG,CAAC;AACtH,eAAe,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const vBdTooltip: {
2
+ mounted: (element: Element) => void;
3
+ };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import BDCol from "./layout/BDCol.vue";
2
2
  import BDContainer from "./layout/BDContainer.vue";
3
3
  import BDRow from "./layout/BDRow.vue";
4
- import { IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEyeShow, IconEyeSlash } from "./components/atoms/icons/index";
4
+ import { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEdit, IconCardView, IconListView, IconEyeShow, IconEyeSlash } from "./components/atoms/icons/index";
5
5
  import BDButton from "./components/atoms/BDButton/BDButton.vue";
6
6
  import BDLogo from "./components/atoms/BDLogo/BDLogo.vue";
7
7
  import BDLink from "./components/atoms/BDLink/BDLink.vue";
@@ -23,12 +23,15 @@ import BDToast from "./components/atoms/BDToast/BDToast.vue";
23
23
  import BDDropdownItem from "./components/molecules/BDDropdownItem/BDDropdownItem.vue";
24
24
  import BDDropzone from "./components/molecules/BDDropzone/BDDropzone.vue";
25
25
  import BDMarkdownEditor from "./components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue";
26
+ import BDMobileMenu from "./components/molecules/BDMobileMenu/BDMobileMenu.vue";
26
27
  import BDUser from "./components/molecules/BDUser/BDUser.vue";
27
28
  import BDAttachmentPreviewList from "./components/molecules/BDAttachmentPreviewList/BDAttachmentPreviewList.vue";
28
29
  import BDImageAttachmentPreviewList from "./components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue";
29
30
  import BDChatCloud from "./components/molecules/BDChatCloud/BDChatCloud.vue";
30
31
  import BDDropdown from "./components/organisms/BDDropdown/BDDropdown.vue";
32
+ import BDHeader from "./components/organisms/BDHeader/BDHeader.vue";
31
33
  import BDModal from "./components/organisms/BDModal/BDModal.vue";
32
34
  import { useModal } from "./composables/useModal";
33
35
  import { useToaster } from "./composables/useToaster";
34
- export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconEyeShow, IconEyeSlash, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, IconDownloadImage, BDImageAttachmentPreviewList, IconMenu, useModal, useToaster, };
36
+ import { vBdTooltip } from "./directives/BDTooltip";
37
+ export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, BDImageAttachmentPreviewList, BDHeader, BDMobileMenu, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconUnderline, useModal, useToaster, vBdTooltip, };
@@ -0,0 +1,106 @@
1
+ .header-navbar {
2
+ height: 64px;
3
+ display: flex;
4
+ justify-content: space-between;
5
+ align-items: center;
6
+ padding: 0px 15px;
7
+ background-color: white;
8
+ position: fixed;
9
+ top: 0;
10
+ width: 100%;
11
+ z-index: 1000;
12
+
13
+ .bd-hamburger {
14
+ display: none;
15
+ font-size: .9375rem;
16
+ font-family: $font-secondary;
17
+ align-items: center;
18
+ width: 58px;
19
+ justify-content: space-between;
20
+ font-weight: $font-bold;
21
+ cursor: pointer;
22
+ user-select: none;
23
+
24
+ .icon-menu {
25
+ width: 14px;
26
+ font-weight: 900;
27
+ }
28
+ }
29
+
30
+ .bd-logo {
31
+ cursor: pointer;
32
+ width: 169px;
33
+ }
34
+
35
+ // css verwijderen als variant button is opgenomen BDButton
36
+ .btn-header {
37
+ color: #394156;
38
+ background-color: transparent;
39
+ font-weight: 400;
40
+ border-radius: 24px;
41
+ padding-left: 16px;
42
+ padding-right: 16px;
43
+ text-decoration: none;
44
+ margin: 0px 4px;
45
+
46
+ &.router-link-active {
47
+ background-color: #f1f2f4;
48
+ }
49
+ }
50
+
51
+ .bd-btn-settings {
52
+ height: 56px;
53
+ user-select: none;
54
+
55
+ .bd-profile-picture {
56
+ width: 40px;
57
+ height: 40px;
58
+ }
59
+
60
+ .bd-dropdown.dropdown {
61
+ height: 100%;
62
+
63
+ .dropdown-toggle {
64
+ height: 100%;
65
+ margin-right: 0px;
66
+ text-decoration: none;
67
+ font-weight: $font-medium;
68
+ font-family: $headings-font-family;
69
+
70
+ span {
71
+ white-space: nowrap;
72
+ overflow-x: hidden;
73
+ text-overflow: ellipsis;
74
+ max-width: 250px;
75
+ letter-spacing: 0;
76
+ }
77
+
78
+ &:hover {
79
+ text-decoration: underline;
80
+ }
81
+ }
82
+
83
+ .dropdown-menu {
84
+ margin-top: 0px;
85
+
86
+ .dropdown-item:active {
87
+ color: var(--bs-dropdown-link-color);
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ @media (max-width: map-get($grid-breakpoints, md)) {
94
+ .bd-hamburger {
95
+ display: flex;
96
+ }
97
+
98
+ .bd-logo {
99
+ width: 134px;
100
+ }
101
+
102
+ .bd-btn-settings, .btn-header {
103
+ display: none !important;
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,83 @@
1
+ .bd-mobile-menu {
2
+ position: fixed;
3
+ height: 100%;
4
+ width: 100%;
5
+ top: 0px;
6
+ right: -100%;
7
+ background: #fff;
8
+ z-index: 1000;
9
+ animation-duration: .5s;
10
+ padding: 0px 30px;
11
+ user-select: none;
12
+ display: none;
13
+
14
+ &.inactive {
15
+ animation-name: slideout;
16
+ }
17
+
18
+ &.active {
19
+ animation-name: slidein;
20
+ right: 0px;
21
+ }
22
+
23
+ .header {
24
+ height: 66px;
25
+ width: 100%;
26
+ display: flex;
27
+ justify-content: space-between;
28
+ align-items: center;
29
+ border-bottom: 1px solid $color-lightblue;
30
+ color: $color-blue;
31
+ font-family: $font-secondary;
32
+ font-weight: $font-bold;
33
+ font-size: 1rem;
34
+
35
+ .icon-close-wrapper {
36
+ width: 44px;
37
+ height: 66px;
38
+ cursor: pointer;
39
+ display: flex;
40
+ justify-content: right;
41
+ align-items: center;
42
+
43
+ .icon-close {
44
+ fill: $color-blue;
45
+ }
46
+ }
47
+ }
48
+
49
+ .navbar {
50
+ padding: 0px;
51
+
52
+ .nav-item {
53
+ border-bottom: 1px solid $color-lightblue;
54
+ font-size: 1rem;
55
+ }
56
+ }
57
+ }
58
+
59
+ @keyframes slidein {
60
+ from {
61
+ right: -100%;
62
+ }
63
+
64
+ to {
65
+ right: 0px;
66
+ }
67
+ }
68
+
69
+ @keyframes slideout {
70
+ from {
71
+ right: 0px;
72
+ }
73
+
74
+ to {
75
+ right: -100%;
76
+ }
77
+ }
78
+
79
+ @media (max-width: map-get($grid-breakpoints, md)) {
80
+ .bd-mobile-menu {
81
+ display: block;
82
+ }
83
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.21.0",
4
+ "version": "0.22.0",
5
5
  "author": "Ralph van der Neut <rvanderneut@beterdichtbij.nl>",
6
6
  "type": "module",
7
7
  "files": [