@startsimpli/ui 0.4.38 → 0.4.39
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startsimpli/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.39",
|
|
4
4
|
"description": "Shared UI components package for StartSimpli applications",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"./theme": "./src/theme/index.ts",
|
|
16
16
|
"./theme/contract": "./theme/contract.css",
|
|
17
17
|
"./blog": "./src/components/blog/index.ts",
|
|
18
|
+
"./blog/resolve": "./src/components/blog/resolveArticle.ts",
|
|
18
19
|
"./email-editor": "./src/components/email-editor/index.ts",
|
|
19
20
|
"./workflows": "./src/components/workflows/index.ts",
|
|
20
21
|
"./workflows/styles": "./src/components/workflows/workflows.css",
|
|
@@ -33,8 +34,8 @@
|
|
|
33
34
|
"next": "^14.0.0 || ^15.0.0 || ^16.0.0",
|
|
34
35
|
"react": "^18.0.0 || ^19.0.0",
|
|
35
36
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
36
|
-
"@startsimpli/
|
|
37
|
-
"@startsimpli/
|
|
37
|
+
"@startsimpli/auth": "0.4.29",
|
|
38
|
+
"@startsimpli/api": "0.5.36"
|
|
38
39
|
},
|
|
39
40
|
"peerDependenciesMeta": {
|
|
40
41
|
"@startsimpli/api": {
|
|
@@ -12,8 +12,9 @@ export { ArticleCard, type ArticleCardProps } from './ArticleCard'
|
|
|
12
12
|
export { BlogIndex, type BlogIndexProps } from './BlogIndex'
|
|
13
13
|
export { BlogPost, type BlogPostProps } from './BlogPost'
|
|
14
14
|
export { TableOfContents, extractToc, type TableOfContentsProps, type TocItem } from './TableOfContents'
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
// NOTE: `resolveArticleOrFallback` is intentionally NOT re-exported here.
|
|
16
|
+
// This barrel pulls in 'use client' components (MarkdownRenderer, …); importing
|
|
17
|
+
// a server-only util through it makes the named export resolve to `undefined`
|
|
18
|
+
// in standalone production builds (TypeError: … is not a function). Import the
|
|
19
|
+
// helper from its dedicated client-free subpath instead:
|
|
20
|
+
// import { resolveArticleOrFallback } from '@startsimpli/ui/blog/resolve'
|