@wix/blog 1.0.703 → 1.0.704

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.
@@ -464,7 +464,7 @@ interface LiveLikes {
464
464
  subscribe(listener: () => void): () => void;
465
465
  }
466
466
  //#endregion
467
- //#region src/extensions/post-item-context-provider/post-item-context-provider.d.ts
467
+ //#region src/extensions/post-list-item-context-provider/post-list-item-context-provider.d.ts
468
468
  /**
469
469
  * The cell's raw item plus its like state, for the Blog widgets that read a cell directly
470
470
  * (Comments, Cover Media). Elements bind the Post context this provider publishes, never this.
@@ -487,7 +487,7 @@ type PostItemContextType = PostListItem & Omit<PostLikes, 'likeCount' | 'viewCou
487
487
  * Nullable rather than throwing: the hook runs for every element inside the repeater
488
488
  * cell, including on the editor stage before the cell is populated.
489
489
  */
490
- declare function usePostItemContext(): PostItemContextType | null;
490
+ declare function usePostListItemContext(): PostItemContextType | null;
491
491
  /** Props accepted by {@link PostItemContextProvider}. */
492
492
  interface PostItemContextProviderProps extends React.PropsWithChildren {
493
493
  /**
@@ -505,4 +505,4 @@ declare function PostItemContextProvider({
505
505
  children
506
506
  }: PostItemContextProviderProps): React.ReactNode;
507
507
 
508
- export { PostItemContextProvider, type PostItemContextProviderProps, type PostItemContextType, type PostListItem, PostItemContextProvider as default, usePostItemContext };
508
+ export { PostItemContextProvider, type PostItemContextProviderProps, type PostItemContextType, type PostListItem, PostItemContextProvider as default, usePostListItemContext as usePostItemContext, usePostListItemContext };
@@ -3651,6 +3651,7 @@ export {
3651
3651
  ms as PostItemContextProvider,
3652
3652
  ms as default,
3653
3653
  hs as injectAccessTokenGetter,
3654
- fs as usePostItemContext
3654
+ fs as usePostItemContext,
3655
+ fs as usePostListItemContext
3655
3656
  };
3656
3657
  //# sourceMappingURL=context-post-item.mjs.map