@sonordev/site-kit 2.1.6 → 2.1.8

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,110 +1,8 @@
1
+ export { BlogList, BlogListServerProps, BlogListStyles, BlogPost, BlogPostServerProps, BlogPostStyles } from './server-ui.mjs';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import React__default from 'react';
3
- import { B as BlogPost$1, T as TocItem, A as AuthorCardProps, d as AuthorPageProps, e as TableOfContentsProps } from '../types-DuvkNnu0.mjs';
4
- export { l as BlogAnalytics, a as BlogAuthor, c as BlogCategory, g as BlogListOptions, j as BlogListProps, k as BlogListRenderProps, b as BlogListResult, h as BlogPostProps, i as BlogPostRenderProps, f as BlogTag, R as RelatedPostsProps } from '../types-DuvkNnu0.mjs';
5
- export { B as BlogList, a as BlogListServerProps, b as BlogListStyles } from '../BlogList-CjmiemfZ.mjs';
6
-
7
- interface BlogPostStyles {
8
- /** Article wrapper */
9
- article?: string;
10
- /** Header section */
11
- header?: string;
12
- /** Breadcrumb navigation */
13
- breadcrumb?: string;
14
- /** Breadcrumb link */
15
- breadcrumbLink?: string;
16
- /** Post title (h1) */
17
- title?: string;
18
- /** Post subtitle */
19
- subtitle?: string;
20
- /** Meta info row */
21
- meta?: string;
22
- /** Meta item */
23
- metaItem?: string;
24
- /** Featured image wrapper */
25
- featuredImageWrapper?: string;
26
- /** Featured image */
27
- featuredImage?: string;
28
- /** Content layout (grid with TOC) */
29
- contentLayout?: string;
30
- /** Main content wrapper */
31
- content?: string;
32
- /** Table of contents sidebar */
33
- tocSidebar?: string;
34
- /** TOC title */
35
- tocTitle?: string;
36
- /** TOC list */
37
- tocList?: string;
38
- /** TOC list item */
39
- tocItem?: string;
40
- /** TOC link */
41
- tocLink?: string;
42
- /** Tags container */
43
- tags?: string;
44
- /** Individual tag */
45
- tag?: string;
46
- /** FAQ section */
47
- faqSection?: string;
48
- /** FAQ title */
49
- faqTitle?: string;
50
- /** FAQ item container */
51
- faqItem?: string;
52
- /** FAQ question (summary) */
53
- faqQuestion?: string;
54
- /** FAQ answer */
55
- faqAnswer?: string;
56
- /** Author card section */
57
- authorCard?: string;
58
- /** Related posts section */
59
- relatedSection?: string;
60
- /** Related posts title */
61
- relatedTitle?: string;
62
- /** Related posts grid */
63
- relatedGrid?: string;
64
- /** Related post card */
65
- relatedCard?: string;
66
- /** Not found state */
67
- notFound?: string;
68
- }
69
- interface BlogPostServerProps {
70
- /** Portal API URL */
71
- apiUrl?: string;
72
- /** Project API key */
73
- apiKey?: string;
74
- /** Blog post slug */
75
- slug: string;
76
- /** Show table of contents sidebar */
77
- showToc?: boolean;
78
- /** Show related posts */
79
- showRelated?: boolean;
80
- /** Number of related posts */
81
- relatedCount?: number;
82
- /** Show author card */
83
- showAuthor?: boolean;
84
- /** Base URL for blog links */
85
- basePath?: string;
86
- /** Custom class name (applied to article) */
87
- className?: string;
88
- /**
89
- * Custom Tailwind/CSS classes for each element.
90
- * When provided, inline styles are disabled for that element.
91
- */
92
- styles?: BlogPostStyles;
93
- /** Use CSS classes only (no inline styles) - set to true for Tailwind sites */
94
- unstyled?: boolean;
95
- /**
96
- * Canonical site URL (e.g. https://example.com) for classifying internal vs external links in post body and FAQ HTML.
97
- * Defaults to NEXT_PUBLIC_SITE_URL, SITE_URL, or VERCEL_URL.
98
- */
99
- siteUrl?: string;
100
- /** Custom render function */
101
- children?: (props: {
102
- post: BlogPost$1;
103
- tableOfContents: TocItem[];
104
- relatedPosts: BlogPost$1[];
105
- }) => React__default.ReactNode;
106
- }
107
- declare function BlogPost({ apiUrl, apiKey, slug, showToc, showRelated, relatedCount, showAuthor, basePath, className, styles, unstyled, siteUrl, children, }: BlogPostServerProps): Promise<string | number | bigint | boolean | Iterable<React__default.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined>;
4
+ import { A as AuthorCardProps, c as AuthorPageProps, B as BlogPost, T as TableOfContentsProps } from '../types-DWMpAtGy.mjs';
5
+ export { l as BlogAnalytics, a as BlogAuthor, b as BlogCategory, e as BlogListOptions, i as BlogListProps, j as BlogListRenderProps, f as BlogListResult, g as BlogPostProps, h as BlogPostRenderProps, d as BlogTag, R as RelatedPostsProps, k as TocItem } from '../types-DWMpAtGy.mjs';
108
6
 
109
7
  interface BlogSidebarProps {
110
8
  /** Portal API URL */
@@ -205,7 +103,7 @@ interface RelatedPostsServerProps {
205
103
  currentPostId: string;
206
104
  limit?: number;
207
105
  className?: string;
208
- renderItem?: (post: BlogPost$1) => React__default.ReactNode;
106
+ renderItem?: (post: BlogPost) => React__default.ReactNode;
209
107
  }
210
108
  declare function RelatedPosts({ apiUrl, apiKey, currentPostId, limit, className, renderItem, }: RelatedPostsServerProps): Promise<react_jsx_runtime.JSX.Element | null>;
211
109
 
@@ -326,4 +224,4 @@ declare function resolveBlogSiteUrl(explicit?: string): string;
326
224
  */
327
225
  declare function addExternalLinkTargets(html: string, siteUrl: string): string;
328
226
 
329
- export { AuthorCard, AuthorCardProps, AuthorPage, AuthorPageProps, BlogFAQ, type BlogFAQProps, BlogLayout, type BlogLayoutProps, BlogPage, type BlogPageProps, BlogPost, BlogPostPage, type BlogPostPageProps, type BlogPostServerProps, type BlogPostStyles, BlogSidebar, type BlogSidebarProps, CategoryPage, type CategoryPageProps, type FaqItem, NewsletterWidget, type NewsletterWidgetProps, RelatedPosts, ServiceCallout, type ServiceCalloutProps, ServiceCallouts, TableOfContents, TableOfContentsProps, TocItem, addExternalLinkTargets, normalizeSiteHost, resolveBlogSiteUrl };
227
+ export { AuthorCard, AuthorCardProps, AuthorPage, AuthorPageProps, BlogFAQ, type BlogFAQProps, BlogLayout, type BlogLayoutProps, BlogPage, type BlogPageProps, BlogPostPage, type BlogPostPageProps, BlogSidebar, type BlogSidebarProps, CategoryPage, type CategoryPageProps, type FaqItem, NewsletterWidget, type NewsletterWidgetProps, RelatedPosts, ServiceCallout, type ServiceCalloutProps, ServiceCallouts, TableOfContents, TableOfContentsProps, addExternalLinkTargets, normalizeSiteHost, resolveBlogSiteUrl };
@@ -1,110 +1,8 @@
1
+ export { BlogList, BlogListServerProps, BlogListStyles, BlogPost, BlogPostServerProps, BlogPostStyles } from './server-ui.js';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import React__default from 'react';
3
- import { B as BlogPost$1, T as TocItem, A as AuthorCardProps, d as AuthorPageProps, e as TableOfContentsProps } from '../types-DuvkNnu0.js';
4
- export { l as BlogAnalytics, a as BlogAuthor, c as BlogCategory, g as BlogListOptions, j as BlogListProps, k as BlogListRenderProps, b as BlogListResult, h as BlogPostProps, i as BlogPostRenderProps, f as BlogTag, R as RelatedPostsProps } from '../types-DuvkNnu0.js';
5
- export { B as BlogList, a as BlogListServerProps, b as BlogListStyles } from '../BlogList-C7drq3EI.js';
6
-
7
- interface BlogPostStyles {
8
- /** Article wrapper */
9
- article?: string;
10
- /** Header section */
11
- header?: string;
12
- /** Breadcrumb navigation */
13
- breadcrumb?: string;
14
- /** Breadcrumb link */
15
- breadcrumbLink?: string;
16
- /** Post title (h1) */
17
- title?: string;
18
- /** Post subtitle */
19
- subtitle?: string;
20
- /** Meta info row */
21
- meta?: string;
22
- /** Meta item */
23
- metaItem?: string;
24
- /** Featured image wrapper */
25
- featuredImageWrapper?: string;
26
- /** Featured image */
27
- featuredImage?: string;
28
- /** Content layout (grid with TOC) */
29
- contentLayout?: string;
30
- /** Main content wrapper */
31
- content?: string;
32
- /** Table of contents sidebar */
33
- tocSidebar?: string;
34
- /** TOC title */
35
- tocTitle?: string;
36
- /** TOC list */
37
- tocList?: string;
38
- /** TOC list item */
39
- tocItem?: string;
40
- /** TOC link */
41
- tocLink?: string;
42
- /** Tags container */
43
- tags?: string;
44
- /** Individual tag */
45
- tag?: string;
46
- /** FAQ section */
47
- faqSection?: string;
48
- /** FAQ title */
49
- faqTitle?: string;
50
- /** FAQ item container */
51
- faqItem?: string;
52
- /** FAQ question (summary) */
53
- faqQuestion?: string;
54
- /** FAQ answer */
55
- faqAnswer?: string;
56
- /** Author card section */
57
- authorCard?: string;
58
- /** Related posts section */
59
- relatedSection?: string;
60
- /** Related posts title */
61
- relatedTitle?: string;
62
- /** Related posts grid */
63
- relatedGrid?: string;
64
- /** Related post card */
65
- relatedCard?: string;
66
- /** Not found state */
67
- notFound?: string;
68
- }
69
- interface BlogPostServerProps {
70
- /** Portal API URL */
71
- apiUrl?: string;
72
- /** Project API key */
73
- apiKey?: string;
74
- /** Blog post slug */
75
- slug: string;
76
- /** Show table of contents sidebar */
77
- showToc?: boolean;
78
- /** Show related posts */
79
- showRelated?: boolean;
80
- /** Number of related posts */
81
- relatedCount?: number;
82
- /** Show author card */
83
- showAuthor?: boolean;
84
- /** Base URL for blog links */
85
- basePath?: string;
86
- /** Custom class name (applied to article) */
87
- className?: string;
88
- /**
89
- * Custom Tailwind/CSS classes for each element.
90
- * When provided, inline styles are disabled for that element.
91
- */
92
- styles?: BlogPostStyles;
93
- /** Use CSS classes only (no inline styles) - set to true for Tailwind sites */
94
- unstyled?: boolean;
95
- /**
96
- * Canonical site URL (e.g. https://example.com) for classifying internal vs external links in post body and FAQ HTML.
97
- * Defaults to NEXT_PUBLIC_SITE_URL, SITE_URL, or VERCEL_URL.
98
- */
99
- siteUrl?: string;
100
- /** Custom render function */
101
- children?: (props: {
102
- post: BlogPost$1;
103
- tableOfContents: TocItem[];
104
- relatedPosts: BlogPost$1[];
105
- }) => React__default.ReactNode;
106
- }
107
- declare function BlogPost({ apiUrl, apiKey, slug, showToc, showRelated, relatedCount, showAuthor, basePath, className, styles, unstyled, siteUrl, children, }: BlogPostServerProps): Promise<string | number | bigint | boolean | Iterable<React__default.ReactNode> | react_jsx_runtime.JSX.Element | null | undefined>;
4
+ import { A as AuthorCardProps, c as AuthorPageProps, B as BlogPost, T as TableOfContentsProps } from '../types-DWMpAtGy.js';
5
+ export { l as BlogAnalytics, a as BlogAuthor, b as BlogCategory, e as BlogListOptions, i as BlogListProps, j as BlogListRenderProps, f as BlogListResult, g as BlogPostProps, h as BlogPostRenderProps, d as BlogTag, R as RelatedPostsProps, k as TocItem } from '../types-DWMpAtGy.js';
108
6
 
109
7
  interface BlogSidebarProps {
110
8
  /** Portal API URL */
@@ -205,7 +103,7 @@ interface RelatedPostsServerProps {
205
103
  currentPostId: string;
206
104
  limit?: number;
207
105
  className?: string;
208
- renderItem?: (post: BlogPost$1) => React__default.ReactNode;
106
+ renderItem?: (post: BlogPost) => React__default.ReactNode;
209
107
  }
210
108
  declare function RelatedPosts({ apiUrl, apiKey, currentPostId, limit, className, renderItem, }: RelatedPostsServerProps): Promise<react_jsx_runtime.JSX.Element | null>;
211
109
 
@@ -326,4 +224,4 @@ declare function resolveBlogSiteUrl(explicit?: string): string;
326
224
  */
327
225
  declare function addExternalLinkTargets(html: string, siteUrl: string): string;
328
226
 
329
- export { AuthorCard, AuthorCardProps, AuthorPage, AuthorPageProps, BlogFAQ, type BlogFAQProps, BlogLayout, type BlogLayoutProps, BlogPage, type BlogPageProps, BlogPost, BlogPostPage, type BlogPostPageProps, type BlogPostServerProps, type BlogPostStyles, BlogSidebar, type BlogSidebarProps, CategoryPage, type CategoryPageProps, type FaqItem, NewsletterWidget, type NewsletterWidgetProps, RelatedPosts, ServiceCallout, type ServiceCalloutProps, ServiceCallouts, TableOfContents, TableOfContentsProps, TocItem, addExternalLinkTargets, normalizeSiteHost, resolveBlogSiteUrl };
227
+ export { AuthorCard, AuthorCardProps, AuthorPage, AuthorPageProps, BlogFAQ, type BlogFAQProps, BlogLayout, type BlogLayoutProps, BlogPage, type BlogPageProps, BlogPostPage, type BlogPostPageProps, BlogSidebar, type BlogSidebarProps, CategoryPage, type CategoryPageProps, type FaqItem, NewsletterWidget, type NewsletterWidgetProps, RelatedPosts, ServiceCallout, type ServiceCalloutProps, ServiceCallouts, TableOfContents, TableOfContentsProps, addExternalLinkTargets, normalizeSiteHost, resolveBlogSiteUrl };