@storyblok/react 4.3.1 → 4.3.3

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.
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import type { StoryblokRichTextProps } from './types';
1
+ import { default as React } from 'react';
2
+ import { StoryblokRichTextProps } from './types';
3
3
  declare const StoryblokRichText: React.ForwardRefExoticComponent<StoryblokRichTextProps & React.RefAttributes<HTMLDivElement>>;
4
4
  export default StoryblokRichText;
5
5
  //# sourceMappingURL=storyblok-rich-text.d.ts.map
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type React from 'react';
2
- import type { ISbStoryData, SbSDKOptions, StoryblokBridgeConfigV2, StoryblokRichTextNode, StoryblokRichTextResolvers } from '@storyblok/js';
1
+ import { default as React } from 'react';
2
+ import { ISbStoryData, SbSDKOptions, StoryblokBridgeConfigV2, StoryblokRichTextNode, StoryblokRichTextResolvers } from '@storyblok/js';
3
3
  export interface SbReactComponentsMap {
4
4
  [key: string]: React.ElementType;
5
5
  }
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  /**
3
3
  * Recursively converts HTML attributes in a React element tree to their JSX property names.
4
4
  *
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@storyblok/react",
3
3
  "type": "module",
4
- "version": "4.3.1",
4
+ "version": "4.3.3",
5
5
  "private": false,
6
- "packageManager": "pnpm@9.13.2",
6
+ "packageManager": "pnpm@9.15.1",
7
7
  "description": "SDK to integrate Storyblok into your project using React.",
8
8
  "author": "Storyblok",
9
9
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "scripts": {
36
36
  "dev": "vite build --watch",
37
- "build": "vite build && tsc --project tsconfig.json",
37
+ "build": "vite build",
38
38
  "test": "pnpm run test:unit:ci && pnpm run test:e2e",
39
39
  "test:unit": "vitest",
40
40
  "test:unit:ci": "vitest run",
@@ -58,32 +58,33 @@
58
58
  "react-dom": "^17 || ^18 || ^19"
59
59
  },
60
60
  "dependencies": {
61
- "@storyblok/js": "3.1.9"
61
+ "@storyblok/js": "3.2.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@babel/core": "^7.26.0",
65
65
  "@babel/preset-env": "^7.26.0",
66
- "@commitlint/cli": "^19.6.0",
66
+ "@commitlint/cli": "^19.6.1",
67
67
  "@commitlint/config-conventional": "^19.6.0",
68
68
  "@cypress/react": "^8.0.2",
69
69
  "@cypress/vite-dev-server": "^5.2.1",
70
70
  "@storyblok/eslint-config": "^0.3.0",
71
71
  "@tsconfig/recommended": "^1.0.8",
72
- "@types/node": "^22.10.1",
72
+ "@types/node": "^20.17.10",
73
73
  "@types/react": "18.3.12",
74
74
  "@vitejs/plugin-react": "^4.3.4",
75
75
  "babel-jest": "^29.7.0",
76
- "cypress": "^13.16.1",
77
- "eslint": "^9.16.0",
76
+ "cypress": "^13.17.0",
77
+ "eslint": "^9.17.0",
78
78
  "eslint-plugin-cypress": "^4.1.0",
79
- "eslint-plugin-jest": "^28.9.0",
79
+ "eslint-plugin-jest": "^28.10.0",
80
80
  "react": "^18.3.1",
81
81
  "react-dom": "^18.3.1",
82
82
  "rollup-plugin-preserve-directives": "^0.4.0",
83
83
  "simple-git-hooks": "^2.11.1",
84
- "start-server-and-test": "^2.0.8",
84
+ "start-server-and-test": "^2.0.9",
85
85
  "typescript": "5.6.3",
86
- "vite": "^5.4.11",
86
+ "vite": "^6.0.6",
87
+ "vite-plugin-dts": "^4.4.0",
87
88
  "vitest": "^2.1.8"
88
89
  },
89
90
  "babel": {