@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.
package/dist/scss/_dropdown.scss
CHANGED
|
@@ -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,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 {
|
|
32
|
+
export {};
|