@beterdichtbij/component-library 0.58.0 → 0.58.1

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.
@@ -100,4 +100,15 @@
100
100
 
101
101
  .bd-dropdown-item {
102
102
  list-style-type: none;
103
+ }
104
+
105
+ .placeholder-tokens-menu {
106
+ .dropdown-item {
107
+ color: $color-darkblue;
108
+ border-left: 1px solid $color-lightblue;
109
+ border-right: 1px solid $color-lightblue;
110
+ &.active {
111
+ color:$white;
112
+ }
113
+ }
103
114
  }
@@ -1,4 +1,5 @@
1
1
  .bd-markdown-editor {
2
+ position: relative;
2
3
  padding: 0.5rem;
3
4
  border: 1px solid $gray-500;
4
5
  background-color: $white;
@@ -1,5 +1,6 @@
1
1
  import { Editor } from '@tiptap/core';
2
2
  import { Token } from '../../interfaces/BDMarkdownEditorProps';
3
+ import { Ref } from 'vue';
3
4
  interface QueryParams {
4
5
  query: string;
5
6
  }
@@ -18,7 +19,7 @@ interface SuggestionProps {
18
19
  event?: KeyboardEvent;
19
20
  [key: string]: any;
20
21
  }
21
- declare const createSuggestion: (tokens?: Token[]) => {
22
+ export declare const createSuggestion: (tokens?: Token[], wrapperRef?: Ref<HTMLElement | null>) => {
22
23
  items: ({ query }: QueryParams) => Token[];
23
24
  command: ({ editor, range, props }: CommandParams) => void;
24
25
  render: () => {
@@ -28,4 +29,4 @@ declare const createSuggestion: (tokens?: Token[]) => {
28
29
  onExit(): void;
29
30
  };
30
31
  };
31
- export { createSuggestion };
32
+ export {};
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.58.0",
5
+ "version": "0.58.1",
6
6
  "engines": {
7
7
  "node": "24.x",
8
8
  "npm": "11.x"