@vonaffenfels/slate-editor 1.1.31 → 1.1.32
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/BlockEditor.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/ElementAutocomplete.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonaffenfels/slate-editor",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"cssnano": "^5.0.1",
|
|
73
73
|
"escape-html": "^1.0.3"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "2580259ce68220072e2ed08afae7dec37f573dee",
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
}
|
|
@@ -21,7 +21,7 @@ export const ElementAutocomplete = ({
|
|
|
21
21
|
})) || []), ...customStories]).map(story => {
|
|
22
22
|
let storyTitleSplit = String(story.title || "").split("/");
|
|
23
23
|
let storyName = story.label || storyTitleSplit.at(-1);
|
|
24
|
-
let storyGroup = storyTitleSplit.length > 1 ? storyTitleSplit.slice(0, -1).join("/") :
|
|
24
|
+
let storyGroup = storyTitleSplit.length > 1 ? storyTitleSplit.slice(0, -1).join("/") : "Weitere Elemente";
|
|
25
25
|
|
|
26
26
|
if (story.type === "storybook") {
|
|
27
27
|
if (!story.id) {
|
|
@@ -116,8 +116,7 @@ export const ElementAutocomplete = ({
|
|
|
116
116
|
placeholder={'Element hinzufügen'}
|
|
117
117
|
emptyListMessage={'Keine Elemente gefunden'}
|
|
118
118
|
noMatchesMessage={'Keine Elemente gefunden'}
|
|
119
|
-
|
|
120
|
-
maxHeight={300}
|
|
119
|
+
listMaxHeight={500}
|
|
121
120
|
onSelectItem={handleOnChange}
|
|
122
121
|
width="medium"
|
|
123
122
|
itemToString={(item) => ""}
|