@storyblok/react 4.6.1 → 5.0.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.
- package/README.md +0 -59
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common.js +1 -1
- package/dist/common.mjs +12 -14
- package/dist/index.js +1 -1
- package/dist/index.mjs +37 -39
- package/dist/index2.js +1 -1
- package/dist/index2.mjs +18 -20
- package/dist/richtext.mjs +5 -5
- package/dist/rsc/common.d.ts +1 -1
- package/dist/rsc/common.d.ts.map +1 -1
- package/dist/rsc.js +1 -1
- package/dist/rsc.mjs +17 -19
- package/dist/storyblok-js.js +1 -24
- package/dist/storyblok-js.mjs +503 -836
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +22 -22
package/dist/types.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export interface StoryblokRichTextProps {
|
|
|
13
13
|
doc: StoryblokRichTextNode<React.ReactElement>;
|
|
14
14
|
resolvers?: StoryblokRichTextResolvers<React.ReactElement>;
|
|
15
15
|
}
|
|
16
|
-
export type { ArrayFn, AsyncFn, ISbAlternateObject, ISbCache, ISbConfig, ISbContentMangmntAPI, ISbDimensions, ISbError, ISbManagmentApiResult,
|
|
16
|
+
export type { ArrayFn, AsyncFn, ISbAlternateObject, ISbCache, ISbConfig, ISbContentMangmntAPI, ISbDimensions, ISbError, ISbManagmentApiResult, ISbResponse, ISbResult, ISbSchema, ISbStories, ISbStoriesParams, ISbStory, ISbStoryData, ISbStoryParams, ISbThrottle, SbBlokData, SbBlokKeyDataTypes, SbSDKOptions, StoryblokBridgeConfigV2, StoryblokBridgeV2, StoryblokClient, StoryblokComponentType, useStoryblokBridge, } from '@storyblok/js';
|
|
17
17
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources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WAAW,CAAC;CAClC;AAED,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,uBAAuB,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC7C;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,GAAG,IAAI,EACxC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,EACpC,aAAa,CAAC,EAAE,uBAAuB,KACpC,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;AAE5B,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,qBAAqB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,0BAA0B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;CAC5D;AAED,YAAY,EACV,OAAO,EACP,OAAO,EACP,kBAAkB,EAClB,QAAQ,EACR,SAAS,EACT,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storyblok/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.0",
|
|
5
5
|
"private": false,
|
|
6
|
-
"packageManager": "pnpm@10.
|
|
6
|
+
"packageManager": "pnpm@10.10.0",
|
|
7
7
|
"description": "SDK to integrate Storyblok into your project using React.",
|
|
8
8
|
"author": "Storyblok",
|
|
9
9
|
"license": "MIT",
|
|
@@ -59,35 +59,35 @@
|
|
|
59
59
|
"react-dom": "^17 || ^18 || ^19"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@storyblok/js": "
|
|
62
|
+
"@storyblok/js": "4.0.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@babel/core": "^7.
|
|
66
|
-
"@babel/preset-env": "^7.
|
|
67
|
-
"@commitlint/cli": "^19.
|
|
68
|
-
"@commitlint/config-conventional": "^19.
|
|
69
|
-
"@cypress/react": "^
|
|
70
|
-
"@cypress/vite-dev-server": "^
|
|
65
|
+
"@babel/core": "^7.27.1",
|
|
66
|
+
"@babel/preset-env": "^7.27.2",
|
|
67
|
+
"@commitlint/cli": "^19.8.1",
|
|
68
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
69
|
+
"@cypress/react": "^9.0.1",
|
|
70
|
+
"@cypress/vite-dev-server": "^6.0.3",
|
|
71
71
|
"@storyblok/eslint-config": "^0.3.0",
|
|
72
72
|
"@tsconfig/recommended": "^1.0.8",
|
|
73
|
-
"@types/node": "^20.17.
|
|
74
|
-
"@types/react": "
|
|
75
|
-
"@vitejs/plugin-react": "^4.
|
|
73
|
+
"@types/node": "^20.17.47",
|
|
74
|
+
"@types/react": "19.1.4",
|
|
75
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
76
76
|
"babel-jest": "^29.7.0",
|
|
77
|
-
"cypress": "^
|
|
78
|
-
"eslint": "^9.
|
|
79
|
-
"eslint-plugin-cypress": "^4.
|
|
77
|
+
"cypress": "^14.3.3",
|
|
78
|
+
"eslint": "^9.26.0",
|
|
79
|
+
"eslint-plugin-cypress": "^4.3.0",
|
|
80
80
|
"eslint-plugin-jest": "^28.11.0",
|
|
81
81
|
"license-checker": "^25.0.1",
|
|
82
|
-
"react": "^
|
|
83
|
-
"react-dom": "^
|
|
82
|
+
"react": "^19.1.0",
|
|
83
|
+
"react-dom": "^19.1.0",
|
|
84
84
|
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
85
|
-
"simple-git-hooks": "^2.
|
|
86
|
-
"start-server-and-test": "^2.0.
|
|
85
|
+
"simple-git-hooks": "^2.13.0",
|
|
86
|
+
"start-server-and-test": "^2.0.11",
|
|
87
87
|
"typescript": "5.8.3",
|
|
88
|
-
"vite": "^
|
|
89
|
-
"vite-plugin-dts": "^4.5.
|
|
90
|
-
"vitest": "^3.
|
|
88
|
+
"vite": "^6.3.5",
|
|
89
|
+
"vite-plugin-dts": "^4.5.3",
|
|
90
|
+
"vitest": "^3.1.3"
|
|
91
91
|
},
|
|
92
92
|
"pnpm": {
|
|
93
93
|
"onlyBuiltDependencies": [
|