@storyblok/vue 10.1.9 → 10.1.10
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,7 @@
|
|
|
1
|
+
import { Directive, GlobalDirectives } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Compile-time regression test for https://github.com/storyblok/monoblok/issues/620
|
|
4
|
+
* `v-editable` must be declared in Vue's `GlobalDirectives` so that
|
|
5
|
+
* vue-tsc/Volar recognize it in templates under `strictTemplates`.
|
|
6
|
+
*/
|
|
7
|
+
export type VEditableIsGloballyDeclared = GlobalDirectives['vEditable'] extends Directive<HTMLElement> ? true : never;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { SbBlokData, SbSDKOptions, StoryblokRichTextDocumentNode, StoryblokRichTextOptions } from '@storyblok/js';
|
|
2
2
|
import { default as StoryblokComponent } from './components/StoryblokComponent.vue';
|
|
3
|
-
import { VNode } from 'vue';
|
|
3
|
+
import { Directive, VNode } from 'vue';
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
StoryblokComponent: typeof StoryblokComponent;
|
|
7
7
|
}
|
|
8
|
+
interface GlobalDirectives {
|
|
9
|
+
vEditable: Directive<HTMLElement>;
|
|
10
|
+
}
|
|
8
11
|
}
|
|
9
12
|
export type { ArrayFn, AsyncFn, ISbAlternateObject, ISbCache, ISbConfig, ISbContentMangmntAPI, ISbDimensions, ISbError, ISbManagmentApiResult, ISbResponse, ISbResult, ISbSchema, ISbStories, ISbStoriesParams, ISbStory, ISbStoryData, ISbStoryParams, SbBlokData, SbBlokKeyDataTypes, SbSDKOptions, StoryblokBridgeConfigV2, StoryblokBridgeV2, StoryblokClient, StoryblokComponentType, StoryblokRichTextDocumentNode, StoryblokRichTextImageOptimizationOptions, StoryblokRichTextNode, StoryblokRichTextNodeTypes, } from '@storyblok/js';
|
|
10
13
|
export interface SbVueSDKOptions extends SbSDKOptions {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storyblok/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "10.1.
|
|
4
|
+
"version": "10.1.10",
|
|
5
5
|
"description": "SDK to integrate Storyblok into your project using Vue.",
|
|
6
6
|
"author": "Storyblok",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"vue": ">=3.4"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@storyblok/js": "5.1.
|
|
34
|
+
"@storyblok/js": "5.1.10"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"vue": "^3.5.13",
|
|
52
52
|
"vue-router": "^4.5.0",
|
|
53
53
|
"vue-tsc": "^2.2.0",
|
|
54
|
-
"@storyblok/eslint-config": "0.5.
|
|
54
|
+
"@storyblok/eslint-config": "0.5.1"
|
|
55
55
|
},
|
|
56
56
|
"release": {
|
|
57
57
|
"branches": [
|