@beterdichtbij/component-library 0.68.0 → 0.69.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.
@@ -16,11 +16,11 @@ declare const __VLS_component: import('vue').DefineComponent<BDChatCloudProps, {
16
16
  }>, {
17
17
  message: string;
18
18
  src: string;
19
+ pills: import('../../../interfaces/BDPillProps').BDPillProps[];
19
20
  username: string | null;
20
21
  files: import('../../../types/ApiAttachment').ApiAttachment[];
21
22
  headerTitle: string;
22
23
  isSender: boolean;
23
- pills: Object[];
24
24
  apiUrl: string;
25
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
26
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,5 @@
1
+ import { BDPillContainerProps } from '../../../interfaces/BDPillContainerProps';
2
+ declare const _default: import('vue').DefineComponent<BDPillContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BDPillContainerProps> & Readonly<{}>, {
3
+ pills: import('../../../interfaces/BDPillProps').BDPillProps[];
4
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -15,8 +15,8 @@ declare const __VLS_component: import('vue').DefineComponent<BDMarkdownEditorPro
15
15
  variant: import('../../../types/tiptapVariants').TiptapVariants;
16
16
  placeholder: string;
17
17
  state: boolean | null;
18
+ pills: import('../../../interfaces/BDPillProps').BDPillProps[];
18
19
  files: import('../../../types/ApiAttachment').ApiAttachment[];
19
- pills: Object[];
20
20
  apiUrl: string;
21
21
  errorText: string;
22
22
  tokens: Token[];
package/dist/index.d.ts CHANGED
@@ -19,6 +19,7 @@ import { default as BDLoader } from './components/feedback/BDLoader/BDLoader.vue
19
19
  import { default as BDLogo } from './components/media/BDLogo/BDLogo.vue';
20
20
  import { default as BDPagination } from './components/navigation/BDPagination/BDPagination.vue';
21
21
  import { default as BDPill } from './components/feedback/BDPill/BDPill.vue';
22
+ import { default as BDPillContainer } from './components/feedback/BDPillContainer/BDPillContainer.vue';
22
23
  import { default as BDProfileImage } from './components/data-display/BDProfileImage/BDProfileImage.vue';
23
24
  import { default as BDToast } from './components/feedback/BDToast/BDToast.vue';
24
25
  import { default as BDUserInformation } from './components/communication/BDUserInformation/BDUserInformation.vue';
@@ -78,4 +79,4 @@ declare const _default: {
78
79
  install: (app: App) => void;
79
80
  };
80
81
  export default _default;
81
- export { BDAlert, BDArticle, BDAssignConversationModal, BDAttachmentPreviewList, BDAttachmentUploadModal, BDBadge, BDButton, BDCard, BDChangePasswordTemplate, BDChatCloud, BDCol, BDCollapsableCard, BDConfirmationModal, BDContainer, BDContentLibraryModal, BDContentLibrarySplitButton, BDContentLibraryTemplate, BDConversationToTextModal, BDDate, BDDropdown, BDDropdownItem, BDFileUpload, BDForm, BDFormCheckbox, BDFormInput, BDFormInvalidFeedback, BDFormMultipleCheckbox, BDFormSelect, BDHeader, BDImageAttachmentModal, BDImageAttachmentPreviewList, BDInputGroup, BDLink, BDLoader, BDLogo, BDMarkdownEditor, BDMessageTemplateFormModal, BDMobileMenu, BDModal, BDNotFoundTemplate, BDPagination, BDPhoneNumberEditModal, BDPill, BDPractitionerHeader, BDProfileImage, BDRow, BDSessionTimeOutModal, BDSmallConversationCard, BDTable, BDToast, BDUser, BDUserInformation, BDVideoCallConfirmationModal, BDVideoCallTemplate, BDVideoCallToast, BDZoomslider, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCall, IconCallReject, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClipboard, IconClose, IconComment, IconCommentActive, IconCommentStatic, IconCommonFileEmpty, IconCommonFileWarning, IconContactPerson, IconCopy, IconDelete, IconDoubleCheck, IconDownloadImage, IconEdit, IconEndCall, IconError, IconExternal, IconEyeShow, IconEyeSlash, IconFile, IconFileAdded, IconForward, IconHix, IconHyperlink, IconImageFileLandscape, IconImageFileWarning, IconInbox, IconInfo, IconInformationCircle, IconItalic, IconListView, IconLock, IconLusciiEscalated, IconLusciiLogo, IconLusciiOpen, IconLusciiPriorityHigh, IconLusciiPriorityLow, IconLusciiPriorityMedium, IconMenu, IconMessage, IconMessageForward, IconMicrophoneSlash, IconMicrosoftTeams, IconMin, IconOrderedList, IconPlus, IconRefresh, IconRemove, IconSananetLogo, IconService, IconShareScreen, IconSingleNeutral, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleDown, IconTriangleExclamation, IconUnderline, IconVideoDisabled, IconVideocall, IconWarning, IconZorgkaart, ChangePasswordData, ConfirmPhoneNumberUpdateData, StartPhoneNumberUpdateData, ValidationChangePasswordData, useModal, usePopover, useServerErrors, useSessionTimeOut, useToaster, useValidation, useWindow, useZoom, vBdTooltip, CopyChatMessageToClipboard, CopyChatMessagesToClipboard, CopyHl7MessagesToClipboard, CreateHyperlinkParagraph, CreateThumbnailUri, MapAttachmentsForApi, MapToAttachmentObjects, TransformHyperlinks, ValidateUrl, getDisplayDateNumeric, getDisplayDateTextual, getDisplayDateTimeNumeric, getDisplayDateTimeTextual, AttachedFile, AttachedFiles, };
82
+ export { BDAlert, BDArticle, BDAssignConversationModal, BDAttachmentPreviewList, BDAttachmentUploadModal, BDBadge, BDButton, BDCard, BDChangePasswordTemplate, BDChatCloud, BDCol, BDCollapsableCard, BDConfirmationModal, BDContainer, BDContentLibraryModal, BDContentLibrarySplitButton, BDContentLibraryTemplate, BDConversationToTextModal, BDDate, BDDropdown, BDDropdownItem, BDFileUpload, BDForm, BDFormCheckbox, BDFormInput, BDFormInvalidFeedback, BDFormMultipleCheckbox, BDFormSelect, BDHeader, BDImageAttachmentModal, BDImageAttachmentPreviewList, BDInputGroup, BDLink, BDLoader, BDLogo, BDMarkdownEditor, BDMessageTemplateFormModal, BDMobileMenu, BDModal, BDNotFoundTemplate, BDPagination, BDPhoneNumberEditModal, BDPill, BDPillContainer, BDPractitionerHeader, BDProfileImage, BDRow, BDSessionTimeOutModal, BDSmallConversationCard, BDTable, BDToast, BDUser, BDUserInformation, BDVideoCallConfirmationModal, BDVideoCallTemplate, BDVideoCallToast, BDZoomslider, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCall, IconCallReject, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClipboard, IconClose, IconComment, IconCommentActive, IconCommentStatic, IconCommonFileEmpty, IconCommonFileWarning, IconContactPerson, IconCopy, IconDelete, IconDoubleCheck, IconDownloadImage, IconEdit, IconEndCall, IconError, IconExternal, IconEyeShow, IconEyeSlash, IconFile, IconFileAdded, IconForward, IconHix, IconHyperlink, IconImageFileLandscape, IconImageFileWarning, IconInbox, IconInfo, IconInformationCircle, IconItalic, IconListView, IconLock, IconLusciiEscalated, IconLusciiLogo, IconLusciiOpen, IconLusciiPriorityHigh, IconLusciiPriorityLow, IconLusciiPriorityMedium, IconMenu, IconMessage, IconMessageForward, IconMicrophoneSlash, IconMicrosoftTeams, IconMin, IconOrderedList, IconPlus, IconRefresh, IconRemove, IconSananetLogo, IconService, IconShareScreen, IconSingleNeutral, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleDown, IconTriangleExclamation, IconUnderline, IconVideoDisabled, IconVideocall, IconWarning, IconZorgkaart, ChangePasswordData, ConfirmPhoneNumberUpdateData, StartPhoneNumberUpdateData, ValidationChangePasswordData, useModal, usePopover, useServerErrors, useSessionTimeOut, useToaster, useValidation, useWindow, useZoom, vBdTooltip, CopyChatMessageToClipboard, CopyChatMessagesToClipboard, CopyHl7MessagesToClipboard, CreateHyperlinkParagraph, CreateThumbnailUri, MapAttachmentsForApi, MapToAttachmentObjects, TransformHyperlinks, ValidateUrl, getDisplayDateNumeric, getDisplayDateTextual, getDisplayDateTimeNumeric, getDisplayDateTimeTextual, AttachedFile, AttachedFiles, };
@@ -1,4 +1,5 @@
1
1
  import { ApiAttachment } from '../types/ApiAttachment';
2
+ import { BDPillProps } from './BDPillProps';
2
3
  export interface BDChatCloudProps {
3
4
  headerTitle: string;
4
5
  src?: string;
@@ -6,6 +7,6 @@ export interface BDChatCloudProps {
6
7
  message: string;
7
8
  isSender: boolean;
8
9
  files?: ApiAttachment[];
9
- pills?: Object[];
10
+ pills?: BDPillProps[];
10
11
  apiUrl: string;
11
12
  }
@@ -1,6 +1,7 @@
1
1
  import { ModelValueString } from '../types/ModelValue';
2
2
  import { TiptapVariants } from '../types/tiptapVariants';
3
3
  import { ApiAttachment } from '../types/ApiAttachment';
4
+ import { BDPillProps } from './BDPillProps';
4
5
  export interface Token {
5
6
  id: string;
6
7
  label: string;
@@ -11,7 +12,7 @@ export interface BDMarkdownEditorProps extends ModelValueString {
11
12
  state?: boolean | null;
12
13
  variant: TiptapVariants;
13
14
  files?: ApiAttachment[];
14
- pills?: Object[];
15
+ pills?: BDPillProps[];
15
16
  apiUrl?: string;
16
17
  tokens?: Token[];
17
18
  }
@@ -0,0 +1,4 @@
1
+ import { BDPillProps } from './BDPillProps';
2
+ export interface BDPillContainerProps {
3
+ pills?: BDPillProps[];
4
+ }
@@ -4,6 +4,10 @@
4
4
  display: none;
5
5
  }
6
6
 
7
+ &.p-splitbutton .p-button-outlined.p-button-secondary:hover svg {
8
+ fill: currentColor;
9
+ }
10
+
7
11
  .menu-item {
8
12
  display: flex;
9
13
  align-items: center;
@@ -12,6 +12,10 @@
12
12
  padding: 30px;
13
13
  border-radius: 8px;
14
14
 
15
+ p:last-of-type {
16
+ margin-bottom: 0;
17
+ }
18
+
15
19
  &.is-sender {
16
20
  margin: 0 20px 10px 80px;
17
21
  }
@@ -22,13 +22,19 @@
22
22
  outline: none;
23
23
  }
24
24
 
25
- li {
26
- p:last-of-type {
27
- margin-bottom: 0;
25
+ ul, ol, dl {
26
+ margin-bottom: 1rem;
27
+
28
+ li {
29
+ p:last-of-type {
30
+ margin-bottom: 0;
31
+ }
28
32
  }
29
33
  }
30
34
 
31
35
  p {
36
+ margin-bottom: 1rem;
37
+
32
38
  &.is-editor-empty:first-child::before {
33
39
  content: attr(data-placeholder);
34
40
  float: left;
@@ -41,7 +41,7 @@
41
41
  list-style-type: none;
42
42
  }
43
43
 
44
- .pills-list__li {
44
+ .bd-pill-container__item {
45
45
  list-style-type: none;
46
46
  }
47
47
  }
@@ -99,7 +99,7 @@
99
99
  padding: 15px 65px 30px 65px;
100
100
  }
101
101
 
102
- p:last-of-type {
102
+ > p:last-of-type {
103
103
  margin-bottom: 0;
104
104
  }
105
105
  }
@@ -0,0 +1,26 @@
1
+ .bd-pill-container {
2
+ margin-bottom: 20px;
3
+
4
+ .bd-chat-cloud-card__footer &{
5
+ margin-bottom: 0px;
6
+ }
7
+
8
+ &__list {
9
+ display: flex;
10
+ justify-content: flex-start;
11
+ flex-flow: wrap;
12
+ list-style: none;
13
+ gap: 8px;
14
+ padding: 5px 0px;
15
+
16
+ .bd-chat-cloud-card__footer &{
17
+ padding: 0px;
18
+ }
19
+ }
20
+
21
+ &__item {
22
+ max-width: 300px;
23
+ overflow: auto;
24
+ margin: 5px 5px 0px 0px;
25
+ }
26
+ }
@@ -1,33 +1,3 @@
1
- .pills-list {
2
- &__wrapper {
3
- margin-bottom: 20px;
4
-
5
- .bd-chat-cloud-card__footer &{
6
- margin-bottom: 0px;
7
- }
8
-
9
- }
10
-
11
- &__ul {
12
- display: flex;
13
- justify-content: flex-start;
14
- flex-flow: wrap;
15
- list-style: none;
16
- gap: 8px;
17
- padding: 5px 0px;
18
-
19
- .bd-chat-cloud-card__footer &{
20
- padding: 0px;
21
- }
22
- }
23
-
24
- &__li {
25
- max-width: 300px;
26
- overflow: auto;
27
- margin: 5px 5px 0px 0px;
28
- }
29
- }
30
-
31
1
  .bd-pill {
32
2
  display: flex;
33
3
  height: 72px;
@@ -49,22 +19,28 @@
49
19
  padding: 8px 16px;
50
20
  display: flex;
51
21
  flex-direction: column;
22
+ white-space: nowrap;
52
23
  overflow: hidden;
24
+ text-overflow: ellipsis;
53
25
  }
54
26
 
55
27
  &__link {
56
28
  font-size: 12px;
57
29
  line-height: 14px;
58
30
  text-decoration: none;
31
+ white-space: nowrap;
32
+ overflow: hidden;
33
+ text-overflow: ellipsis;
34
+
59
35
  svg.icon {
60
36
  fill: $blue;
61
37
  display: inline-block;
62
38
  position: relative;
63
39
  }
40
+
64
41
  &:hover {
65
42
  text-decoration: underline;
66
43
  }
67
-
68
44
  }
69
45
 
70
46
  &__title {
@@ -80,10 +56,9 @@
80
56
  font-size: 13px;
81
57
  line-height: 15px;
82
58
  font-weight: 400;
83
-
84
59
  color: hsla(221, 13%, 48%, 1);
85
60
  overflow: hidden;
86
61
  white-space: nowrap;
87
62
  text-overflow: ellipsis;
88
- }
89
- }
63
+ }
64
+ }
@@ -41,6 +41,7 @@
41
41
  @import "pagination";
42
42
  @import "phone-number-edit-modal";
43
43
  @import "pill";
44
+ @import "pill-container";
44
45
  @import "profile-image";
45
46
  @import "table";
46
47
  @import "table-sort-header";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "description": "Component library voor BeterDichtbij design system",
4
4
  "private": false,
5
- "version": "0.68.0",
5
+ "version": "0.69.0",
6
6
  "engines": {
7
7
  "node": "24.x",
8
8
  "npm": "11.x"