@wix/blog 1.0.704 → 1.0.706

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 (58) hide show
  1. package/_sdk-exports/context-blog-feed/runtime.d.ts +8 -8
  2. package/_sdk-exports/context-category-item/runtime.d.ts +4 -4
  3. package/_sdk-exports/context-post/runtime.d.ts +27 -13
  4. package/_sdk-exports/context-post-by-slug/runtime.js +4 -4
  5. package/_sdk-exports/context-post-list-item/runtime.d.ts +8 -8
  6. package/_sdk-exports/context-post-list-item/runtime.js +2 -2
  7. package/_sdk-exports/context-related-posts/runtime.d.ts +5 -5
  8. package/_sdk-exports/context-related-posts/runtime.js +2 -2
  9. package/_sdk-exports/context-tag-item/runtime.d.ts +4 -4
  10. package/build/cjs/context-blog-feed.d.ts +8 -8
  11. package/build/cjs/context-category-item.d.ts +4 -4
  12. package/build/cjs/context-post-by-slug.js +1455 -1988
  13. package/build/cjs/context-post-by-slug.js.map +1 -1
  14. package/build/cjs/context-post-list-item.d.ts +8 -8
  15. package/build/cjs/context-post-list-item.js +0 -2
  16. package/build/cjs/context-post-list-item.js.map +1 -1
  17. package/build/cjs/context-post.d.ts +27 -13
  18. package/build/cjs/context-related-posts.d.ts +5 -5
  19. package/build/cjs/context-related-posts.js +10 -3
  20. package/build/cjs/context-related-posts.js.map +1 -1
  21. package/build/cjs/context-tag-item.d.ts +4 -4
  22. package/build/es/context-blog-feed.d.mts +8 -8
  23. package/build/es/context-category-item.d.mts +4 -4
  24. package/build/es/context-post-by-slug.mjs +1455 -1988
  25. package/build/es/context-post-by-slug.mjs.map +1 -1
  26. package/build/es/context-post-list-item.d.mts +8 -8
  27. package/build/es/context-post-list-item.mjs +0 -1
  28. package/build/es/context-post-list-item.mjs.map +1 -1
  29. package/build/es/context-post.d.mts +27 -13
  30. package/build/es/context-related-posts.d.mts +5 -5
  31. package/build/es/context-related-posts.mjs +10 -3
  32. package/build/es/context-related-posts.mjs.map +1 -1
  33. package/build/es/context-tag-item.d.mts +4 -4
  34. package/build/internal/cjs/context-blog-feed.d.ts +8 -8
  35. package/build/internal/cjs/context-category-item.d.ts +4 -4
  36. package/build/internal/cjs/context-post-list-item.d.ts +8 -8
  37. package/build/internal/cjs/context-post.d.ts +27 -13
  38. package/build/internal/cjs/context-related-posts.d.ts +5 -5
  39. package/build/internal/cjs/context-tag-item.d.ts +4 -4
  40. package/build/internal/es/context-blog-feed.d.mts +8 -8
  41. package/build/internal/es/context-category-item.d.mts +4 -4
  42. package/build/internal/es/context-post-list-item.d.mts +8 -8
  43. package/build/internal/es/context-post.d.mts +27 -13
  44. package/build/internal/es/context-related-posts.d.mts +5 -5
  45. package/build/internal/es/context-tag-item.d.mts +4 -4
  46. package/package.json +2 -14
  47. package/_sdk-exports/context-post-item/runtime.d.ts +0 -508
  48. package/_sdk-exports/context-post-item/runtime.js +0 -5
  49. package/build/cjs/context-post-item.d.ts +0 -508
  50. package/build/cjs/context-post-item.js +0 -3698
  51. package/build/cjs/context-post-item.js.map +0 -1
  52. package/build/es/context-post-item.d.mts +0 -508
  53. package/build/es/context-post-item.mjs +0 -3657
  54. package/build/es/context-post-item.mjs.map +0 -1
  55. package/build/internal/cjs/context-post-item.d.ts +0 -508
  56. package/build/internal/es/context-post-item.d.mts +0 -508
  57. package/context/post-item/package.json +0 -3
  58. package/post-item-context-provider/package.json +0 -3
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- //#region ../../node_modules/type-fest/source/observable-like.d.ts
3
+ //#region ../../node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/observable-like.d.ts
4
4
  declare global {
5
5
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
6
6
  interface SymbolConstructor {
@@ -18,7 +18,7 @@ As well, some guidance on making an `Observable` to not include `closed` propert
18
18
  @category Observable
19
19
  */
20
20
  //#endregion
21
- //#region ../../node_modules/@wix/sdk-types/build/index.d.ts
21
+ //#region ../../node_modules/.pnpm/@wix+sdk-types@1.17.12/node_modules/@wix/sdk-types/build/index.d.ts
22
22
  declare global {
23
23
  interface ContextualClient {}
24
24
  }
@@ -65,7 +65,7 @@ declare global {
65
65
  interface SDKTypeMode {}
66
66
  }
67
67
  //#endregion
68
- //#region ../../node_modules/@wix/editor-react-types/dist/links.d.ts
68
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/links.d.ts
69
69
  type LinkTarget = '_self' | '_blank';
70
70
  /**
71
71
  * A link to a URL, used for navigation within components.
@@ -101,7 +101,7 @@ type Link = {
101
101
  pageRole?: string;
102
102
  };
103
103
  //#endregion
104
- //#region ../../node_modules/@wix/editor-react-types/dist/base.d.ts
104
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/base.d.ts
105
105
  /**
106
106
  * Rich text content with resolved links.
107
107
  *
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- //#region ../../node_modules/@wix/editor-react-types/dist/links.d.ts
3
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/links.d.ts
4
4
  type LinkTarget = '_self' | '_blank';
5
5
  /**
6
6
  * A link to a URL, used for navigation within components.
@@ -36,7 +36,7 @@ type Link = {
36
36
  pageRole?: string;
37
37
  };
38
38
  //#endregion
39
- //#region ../../node_modules/@wix/editor-react-types/dist/image.d.ts
39
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/image.d.ts
40
40
  type Point = {
41
41
  x: number;
42
42
  y: number;
@@ -73,7 +73,7 @@ type Image = {
73
73
  alt?: string;
74
74
  };
75
75
  //#endregion
76
- //#region ../../node_modules/@wix/editor-react-types/dist/base.d.ts
76
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/base.d.ts
77
77
  /**
78
78
  * A standard email address according to RFC 5321, section 4.1.2.
79
79
  *
@@ -127,7 +127,7 @@ type RichText = {
127
127
  linkList: Array<Link>;
128
128
  };
129
129
  //#endregion
130
- //#region ../../node_modules/@wix/editor-react-types/dist/visualMedia.d.ts
130
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/visualMedia.d.ts
131
131
  interface VisualMediaBase {
132
132
  /** The URL of the media file */
133
133
  src: string;
@@ -191,7 +191,7 @@ interface EmptyStateLabels {
191
191
  description: string;
192
192
  }
193
193
  //#endregion
194
- //#region ../../node_modules/type-fest/source/observable-like.d.ts
194
+ //#region ../../node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/observable-like.d.ts
195
195
  declare global {
196
196
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
197
197
  interface SymbolConstructor {
@@ -209,7 +209,7 @@ As well, some guidance on making an `Observable` to not include `closed` propert
209
209
  @category Observable
210
210
  */
211
211
  //#endregion
212
- //#region ../../node_modules/@wix/sdk-types/build/index.d.ts
212
+ //#region ../../node_modules/.pnpm/@wix+sdk-types@1.17.12/node_modules/@wix/sdk-types/build/index.d.ts
213
213
  declare global {
214
214
  interface ContextualClient {}
215
215
  }
@@ -569,7 +569,7 @@ interface PostListContextType {
569
569
  *
570
570
  * @example Add a button that loads more posts
571
571
  * ```tsx
572
- * import { useBlogFeedContext } from '@wix/blog/blog-feed-context-provider';
572
+ * import { useBlogFeedContext } from '@wix/blog/context/blog-feed';
573
573
  *
574
574
  * function LoadMoreButton() {
575
575
  * const { hasMorePosts, isLoadingPosts, loadMorePosts } = useBlogFeedContext();
@@ -596,7 +596,7 @@ interface PostListContextType {
596
596
  *
597
597
  * @example Show the category's or tag's name above the posts
598
598
  * ```tsx
599
- * import { useBlogFeedContext } from '@wix/blog/blog-feed-context-provider';
599
+ * import { useBlogFeedContext } from '@wix/blog/context/blog-feed';
600
600
  *
601
601
  * function FeedHeading() {
602
602
  * const { filteredView } = useBlogFeedContext();
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- //#region ../../node_modules/type-fest/source/observable-like.d.ts
3
+ //#region ../../node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/observable-like.d.ts
4
4
  declare global {
5
5
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
6
6
  interface SymbolConstructor {
@@ -18,7 +18,7 @@ As well, some guidance on making an `Observable` to not include `closed` propert
18
18
  @category Observable
19
19
  */
20
20
  //#endregion
21
- //#region ../../node_modules/@wix/sdk-types/build/index.d.ts
21
+ //#region ../../node_modules/.pnpm/@wix+sdk-types@1.17.12/node_modules/@wix/sdk-types/build/index.d.ts
22
22
  declare global {
23
23
  interface ContextualClient {}
24
24
  }
@@ -65,7 +65,7 @@ declare global {
65
65
  interface SDKTypeMode {}
66
66
  }
67
67
  //#endregion
68
- //#region ../../node_modules/@wix/editor-react-types/dist/links.d.ts
68
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/links.d.ts
69
69
  type LinkTarget = '_self' | '_blank';
70
70
  /**
71
71
  * A link to a URL, used for navigation within components.
@@ -101,7 +101,7 @@ type Link = {
101
101
  pageRole?: string;
102
102
  };
103
103
  //#endregion
104
- //#region ../../node_modules/@wix/editor-react-types/dist/base.d.ts
104
+ //#region ../../node_modules/.pnpm/@wix+editor-react-types@1.0.110/node_modules/@wix/editor-react-types/dist/base.d.ts
105
105
  /**
106
106
  * Rich text content with resolved links.
107
107
  *