@beterdichtbij/component-library 0.24.2 → 0.26.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,17 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ label?: any;
3
+ active?: any;
4
+ sortDesc?: any;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sortDesc" | "sortAsc")[], "sortDesc" | "sortAsc", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
6
+ label?: any;
7
+ active?: any;
8
+ sortDesc?: any;
9
+ }>>> & {
10
+ onSortDesc?: ((...args: any[]) => any) | undefined;
11
+ onSortAsc?: ((...args: any[]) => any) | undefined;
12
+ }, {
13
+ readonly label?: any;
14
+ readonly active?: any;
15
+ readonly sortDesc?: any;
16
+ }, {}>;
17
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDTableSortHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/BDTableSortHeader/BDTableSortHeader.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qHAAqH,CAAC;AAC5I,cAAc,qHAAqH,CAAC;AACpI,eAAe,SAAS,CAAC"}
@@ -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":"IconSort.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSort.vue"],"names":[],"mappings":";AAoBA,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":"IconSortAsc.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSortAsc.vue"],"names":[],"mappings":";AAoBA,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":"IconSortDesc.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSortDesc.vue"],"names":[],"mappings":";AAoBA,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":"IconSortNone.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSortNone.vue"],"names":[],"mappings":";AAoBA,wBAA4E"}
@@ -24,6 +24,10 @@ import IconListView from "./IconListView.vue";
24
24
  import IconMenu from "./IconMenu.vue";
25
25
  import IconOrderedList from "./IconOrderedList.vue";
26
26
  import IconRemove from "./IconRemove.vue";
27
- import IconUnderline from "./IconUnderline.vue";
27
+ import IconSort from "./IconSort.vue";
28
+ import IconSortAsc from "./IconSortAsc.vue";
29
+ import IconSortDesc from "./IconSortDesc.vue";
30
+ import IconSortNone from "./IconSortNone.vue";
28
31
  import IconTriangleExclamation from "./IconTriangleExclamation.vue";
29
- 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, IconTriangleExclamation };
32
+ import IconUnderline from "./IconUnderline.vue";
33
+ 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, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, };
@@ -0,0 +1,26 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ fields?: any;
3
+ items?: any;
4
+ sortBy?: any;
5
+ sortDesc?: any;
6
+ tbodyTrClass?: any;
7
+ emptyText?: any;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("row-click" | "sort-changed")[], "row-click" | "sort-changed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
9
+ fields?: any;
10
+ items?: any;
11
+ sortBy?: any;
12
+ sortDesc?: any;
13
+ tbodyTrClass?: any;
14
+ emptyText?: any;
15
+ }>>> & {
16
+ "onRow-click"?: ((...args: any[]) => any) | undefined;
17
+ "onSort-changed"?: ((...args: any[]) => any) | undefined;
18
+ }, {
19
+ readonly fields?: any;
20
+ readonly items?: any;
21
+ readonly sortBy?: any;
22
+ readonly sortDesc?: any;
23
+ readonly tbodyTrClass?: any;
24
+ readonly emptyText?: any;
25
+ }, {}>;
26
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/BDTable/BDTable.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qGAAqG,CAAC;AAC5H,cAAc,qGAAqG,CAAC;AACpH,eAAe,SAAS,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { PropType as __PropType } from 'vue';
2
2
  import type { BDLinkProps } from '../../../interfaces/BDLinkProps';
3
- import type { bootstrapSizes } from '../../../types/BootstrapSizes';
4
3
  declare const _sfc_main: import("vue").DefineComponent<{
5
4
  dropdownMenuTitle: {
6
5
  type: __PropType<string | undefined>;
@@ -14,7 +13,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
14
13
  type: __PropType<BDLinkProps[] | undefined>;
15
14
  required: false;
16
15
  };
17
- src: {
16
+ profileImageSrc: {
18
17
  type: __PropType<string | null | undefined>;
19
18
  required: false;
20
19
  };
@@ -22,8 +21,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
22
21
  type: __PropType<string | undefined>;
23
22
  required: false;
24
23
  };
25
- profileImageSize: {
26
- type: __PropType<bootstrapSizes | undefined>;
24
+ organizationLogoSrc: {
25
+ type: __PropType<string | undefined>;
26
+ required: false;
27
+ };
28
+ organizationLogoAlt: {
29
+ type: __PropType<string | undefined>;
27
30
  required: false;
28
31
  };
29
32
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "signout")[], "click" | "signout", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -39,7 +42,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
39
42
  type: __PropType<BDLinkProps[] | undefined>;
40
43
  required: false;
41
44
  };
42
- src: {
45
+ profileImageSrc: {
43
46
  type: __PropType<string | null | undefined>;
44
47
  required: false;
45
48
  };
@@ -47,8 +50,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
47
50
  type: __PropType<string | undefined>;
48
51
  required: false;
49
52
  };
50
- profileImageSize: {
51
- type: __PropType<bootstrapSizes | undefined>;
53
+ organizationLogoSrc: {
54
+ type: __PropType<string | undefined>;
55
+ required: false;
56
+ };
57
+ organizationLogoAlt: {
58
+ type: __PropType<string | undefined>;
52
59
  required: false;
53
60
  };
54
61
  }>> & {
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 { 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, IconTriangleExclamation } 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, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation } 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";
@@ -28,10 +28,11 @@ import BDUser from "./components/molecules/BDUser/BDUser.vue";
28
28
  import BDAttachmentPreviewList from "./components/molecules/BDAttachmentPreviewList/BDAttachmentPreviewList.vue";
29
29
  import BDImageAttachmentPreviewList from "./components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue";
30
30
  import BDChatCloud from "./components/molecules/BDChatCloud/BDChatCloud.vue";
31
+ import BDTable from "./components/molecules/BDTable/BDTable.vue";
31
32
  import BDDropdown from "./components/organisms/BDDropdown/BDDropdown.vue";
32
33
  import BDHeader from "./components/organisms/BDHeader/BDHeader.vue";
33
34
  import BDModal from "./components/organisms/BDModal/BDModal.vue";
34
35
  import { useModal } from "./composables/useModal";
35
36
  import { useToaster } from "./composables/useToaster";
36
37
  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, IconTriangleExclamation, useModal, useToaster, vBdTooltip, };
38
+ 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, BDTable, 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, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, useModal, useToaster, vBdTooltip, };
@@ -1,4 +1,4 @@
1
- .header-navbar {
1
+ .bd-header {
2
2
  height: 64px;
3
3
  display: flex;
4
4
  justify-content: space-between;
@@ -7,29 +7,45 @@
7
7
  background-color: white;
8
8
  position: fixed;
9
9
  top: 0;
10
- width: 100%;
10
+ left: 0;
11
+ right: 0;
11
12
  z-index: 1000;
12
13
 
14
+ .col {
15
+ white-space: nowrap;
16
+ }
17
+
13
18
  .bd-hamburger {
14
19
  display: none;
15
20
  font-size: .9375rem;
16
21
  font-family: $font-secondary;
17
22
  align-items: center;
18
23
  width: 58px;
19
- justify-content: space-between;
24
+ justify-content: right;
20
25
  font-weight: $font-bold;
21
26
  cursor: pointer;
22
27
  user-select: none;
28
+ gap: 4px;
23
29
 
24
30
  .icon-menu {
25
31
  width: 14px;
26
32
  font-weight: 900;
27
33
  }
28
34
  }
29
-
30
- .bd-logo {
31
- cursor: pointer;
32
- width: 169px;
35
+
36
+ .logo-mix {
37
+ .logo {
38
+ cursor: pointer;
39
+ height: 30px;
40
+ }
41
+
42
+ .organization-logo {
43
+ margin-left: 24px;
44
+ }
45
+ }
46
+
47
+ .header-options {
48
+ text-align: center;
33
49
  }
34
50
 
35
51
  // css verwijderen als variant button is opgenomen BDButton
@@ -51,6 +67,10 @@
51
67
  .bd-btn-settings {
52
68
  height: 56px;
53
69
  user-select: none;
70
+ display: flex;
71
+ justify-content: right;
72
+ align-items: center;
73
+ gap: 5px;
54
74
 
55
75
  .bd-profile-picture {
56
76
  width: 40px;
@@ -99,12 +119,22 @@
99
119
  display: flex;
100
120
  }
101
121
 
102
- .bd-logo {
103
- width: 134px;
122
+ .logo-mix .logo {
123
+ height: 20px;
124
+
125
+ &.organization-logo {
126
+ margin-left: 16px;
127
+ }
104
128
  }
105
129
 
106
130
  .bd-btn-settings, .btn-header {
107
131
  display: none !important;
108
132
  }
109
133
  }
134
+
135
+ @media (max-width: 400px) {
136
+ .logo-mix .logo.organization-logo {
137
+ display: none;
138
+ }
139
+ }
110
140
  }
@@ -0,0 +1,14 @@
1
+ .bd-table-sort {
2
+ user-select: none;
3
+ cursor: pointer;
4
+ font-weight: 400;
5
+ color: $color-blue;
6
+
7
+ &.active {
8
+ font-weight: 700;
9
+ }
10
+
11
+ span {
12
+ margin-right: 4px;
13
+ }
14
+ }
@@ -0,0 +1,13 @@
1
+ .bd-table {
2
+ thead {
3
+ user-select: none;
4
+
5
+ th {
6
+ word-wrap: nowrap;
7
+ }
8
+ }
9
+
10
+ .empty-text {
11
+ text-align: center;
12
+ }
13
+ }
@@ -12,11 +12,15 @@
12
12
  @import "icons";
13
13
  @import "pagination";
14
14
  @import "forms";
15
+ @import "header";
15
16
  @import "toast";
16
17
  @import "dropdown";
17
18
  @import "dropzone";
18
19
  @import "user";
19
20
  @import "markdown-editor";
21
+ @import "mobile-menu";
20
22
  @import "modal";
21
23
  @import "attachments";
22
- @import "chatcloud";
24
+ @import "chatcloud";
25
+ @import "table";
26
+ @import "table-sort-header";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.24.2",
4
+ "version": "0.26.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"