@wix/blog 1.0.702 → 1.0.703

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.
Files changed (48) hide show
  1. package/_sdk-exports/context-blog-feed/runtime.js +2 -2
  2. package/_sdk-exports/context-post/runtime.d.ts +195 -115
  3. package/_sdk-exports/context-post/runtime.js +2 -5
  4. package/_sdk-exports/context-post-by-id/runtime.js +3 -3
  5. package/_sdk-exports/context-post-by-slug/runtime.d.ts +18 -0
  6. package/_sdk-exports/context-post-by-slug/runtime.js +5 -0
  7. package/_sdk-exports/context-post-item/runtime.d.ts +2 -3
  8. package/_sdk-exports/context-post-item/runtime.js +4 -4
  9. package/_sdk-exports/context-related-posts/runtime.js +2 -2
  10. package/build/cjs/context-blog-feed.js +1 -1
  11. package/build/cjs/context-blog-feed.js.map +1 -1
  12. package/build/cjs/context-post-by-id.js +534 -496
  13. package/build/cjs/context-post-by-id.js.map +1 -1
  14. package/build/cjs/context-post-by-slug.d.ts +18 -0
  15. package/build/cjs/context-post-by-slug.js +5455 -0
  16. package/build/cjs/context-post-by-slug.js.map +1 -0
  17. package/build/cjs/context-post-item.d.ts +2 -3
  18. package/build/cjs/context-post-item.js +801 -787
  19. package/build/cjs/context-post-item.js.map +1 -1
  20. package/build/cjs/context-post.d.ts +195 -115
  21. package/build/cjs/context-post.js +342 -5175
  22. package/build/cjs/context-post.js.map +1 -1
  23. package/build/cjs/context-related-posts.js +1 -1
  24. package/build/cjs/context-related-posts.js.map +1 -1
  25. package/build/es/context-blog-feed.mjs +1 -1
  26. package/build/es/context-blog-feed.mjs.map +1 -1
  27. package/build/es/context-post-by-id.mjs +534 -496
  28. package/build/es/context-post-by-id.mjs.map +1 -1
  29. package/build/es/context-post-by-slug.d.mts +18 -0
  30. package/build/es/context-post-by-slug.mjs +5415 -0
  31. package/build/es/context-post-by-slug.mjs.map +1 -0
  32. package/build/es/context-post-item.d.mts +2 -3
  33. package/build/es/context-post-item.mjs +802 -798
  34. package/build/es/context-post-item.mjs.map +1 -1
  35. package/build/es/context-post.d.mts +195 -115
  36. package/build/es/context-post.mjs +341 -5173
  37. package/build/es/context-post.mjs.map +1 -1
  38. package/build/es/context-related-posts.mjs +1 -1
  39. package/build/es/context-related-posts.mjs.map +1 -1
  40. package/build/internal/cjs/context-post-by-slug.d.ts +18 -0
  41. package/build/internal/cjs/context-post-item.d.ts +2 -3
  42. package/build/internal/cjs/context-post.d.ts +195 -115
  43. package/build/internal/es/context-post-by-slug.d.mts +18 -0
  44. package/build/internal/es/context-post-item.d.mts +2 -3
  45. package/build/internal/es/context-post.d.mts +195 -115
  46. package/context/post-by-slug/package.json +3 -0
  47. package/package.json +14 -2
  48. package/post-by-slug-context-provider/package.json +3 -0
@@ -466,9 +466,8 @@ interface LiveLikes {
466
466
  //#endregion
467
467
  //#region src/extensions/post-item-context-provider/post-item-context-provider.d.ts
468
468
  /**
469
- * The context value IS the item — its `item*` keys sit top-level because the runtime
470
- * resolves an element's binding by looking the manifest item key up on this hook's
471
- * return value (through `contextSpecifier.hook`).
469
+ * The cell's raw item plus its like state, for the Blog widgets that read a cell directly
470
+ * (Comments, Cover Media). Elements bind the Post context this provider publishes, never this.
472
471
  */
473
472
  type PostItemContextType = PostListItem & Omit<PostLikes, 'likeCount' | 'viewCount' | 'commentCount'> & {
474
473
  /**