@storyblok/react 4.3.0 → 4.3.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.
@@ -1,7 +1,7 @@
1
1
  import type { SbBlokData } from '@/types';
2
- interface StoryblokComponentProps {
2
+ interface StoryblokComponentProps extends Omit<Record<string, unknown>, 'blok'> {
3
3
  blok: SbBlokData;
4
4
  }
5
- declare const StoryblokComponent: import("react").ForwardRefExoticComponent<StoryblokComponentProps & import("react").RefAttributes<HTMLElement>>;
5
+ declare const StoryblokComponent: import("react").ForwardRefExoticComponent<Omit<StoryblokComponentProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
6
6
  export default StoryblokComponent;
7
7
  //# sourceMappingURL=storyblok-component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storyblok-component.d.ts","sourceRoot":"","sources":["../../src/common/storyblok-component.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,UAAU,uBAAuB;IAC/B,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,QAAA,MAAM,kBAAkB,iHAuCvB,CAAC;AAIF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"storyblok-component.d.ts","sourceRoot":"","sources":["../../src/common/storyblok-component.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,UAAU,uBAAwB,SAAQ,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAC7E,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,QAAA,MAAM,kBAAkB,8HAuCvB,CAAC;AAIF,eAAe,kBAAkB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { SbBlokData } from '@/types';
2
- interface SbServerComponentProps {
2
+ interface SbServerComponentProps extends Omit<Record<string, unknown>, 'blok'> {
3
3
  blok: SbBlokData;
4
4
  }
5
- declare const StoryblokServerComponent: import("react").ForwardRefExoticComponent<SbServerComponentProps & import("react").RefAttributes<HTMLElement>>;
5
+ declare const StoryblokServerComponent: import("react").ForwardRefExoticComponent<Omit<SbServerComponentProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
6
6
  export default StoryblokServerComponent;
7
7
  //# sourceMappingURL=server-component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-component.d.ts","sourceRoot":"","sources":["../../src/rsc/server-component.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,UAAU,sBAAsB;IAC9B,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,QAAA,MAAM,wBAAwB,gHAuC7B,CAAC;AAIF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"server-component.d.ts","sourceRoot":"","sources":["../../src/rsc/server-component.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,UAAU,sBAAuB,SAAQ,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAC5E,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,QAAA,MAAM,wBAAwB,6HAuC7B,CAAC;AAIF,eAAe,wBAAwB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { ISbStoryData, StoryblokBridgeConfigV2 } from '@/types';
2
- interface StoryblokStoryProps {
2
+ interface StoryblokStoryProps extends Omit<Record<string, unknown>, 'story' | 'bridgeOptions'> {
3
3
  story: ISbStoryData;
4
4
  bridgeOptions?: StoryblokBridgeConfigV2;
5
5
  }
6
- declare const StoryblokStory: import("react").ForwardRefExoticComponent<StoryblokStoryProps & import("react").RefAttributes<HTMLElement>>;
6
+ declare const StoryblokStory: import("react").ForwardRefExoticComponent<Omit<StoryblokStoryProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
7
7
  export default StoryblokStory;
8
8
  //# sourceMappingURL=story.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../src/rsc/story.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAIrE,UAAU,mBAAmB;IAC3B,KAAK,EAAE,YAAY,CAAC;IACpB,aAAa,CAAC,EAAE,uBAAuB,CAAC;CACzC;AAED,QAAA,MAAM,cAAc,6GAiCnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../src/rsc/story.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAIrE,UAAU,mBAAoB,SAAQ,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC;IAC5F,KAAK,EAAE,YAAY,CAAC;IACpB,aAAa,CAAC,EAAE,uBAAuB,CAAC;CACzC;AAED,QAAA,MAAM,cAAc,0HAiCnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@storyblok/react",
3
3
  "type": "module",
4
- "version": "4.3.0",
4
+ "version": "4.3.1",
5
5
  "private": false,
6
6
  "packageManager": "pnpm@9.13.2",
7
7
  "description": "SDK to integrate Storyblok into your project using React.",
@@ -101,7 +101,14 @@
101
101
  "commitlint": {
102
102
  "extends": [
103
103
  "@commitlint/config-conventional"
104
- ]
104
+ ],
105
+ "rules": {
106
+ "body-max-line-length": [
107
+ 2,
108
+ "always",
109
+ 200
110
+ ]
111
+ }
105
112
  },
106
113
  "release": {
107
114
  "branches": [