@se-studio/core-ui 1.0.105 → 1.0.106
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @se-studio/core-ui
|
|
2
2
|
|
|
3
|
+
## 1.0.106
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Bulk version bump: patch for all packages
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @se-studio/contentful-rest-api@1.0.106
|
|
10
|
+
- @se-studio/core-data-types@1.0.106
|
|
11
|
+
|
|
3
12
|
## 1.0.105
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -49,14 +49,14 @@ Self-contained documentation of every component and collection: layout, fields,
|
|
|
49
49
|
behaviour, typography, colours, and impact of content changes.
|
|
50
50
|
Intended for LLMs creating or editing pages — does not require code access.
|
|
51
51
|
|
|
52
|
-
URL: /cms/guidelines
|
|
52
|
+
URL: /cms/guidelines.md
|
|
53
53
|
Type: Text/Markdown (full guidelines document)
|
|
54
54
|
|
|
55
55
|
Single component or collection (smaller context):
|
|
56
56
|
|
|
57
|
-
URL: /cms/guidelines?component=<TypeName>
|
|
58
|
-
URL: /cms/guidelines?collection=<TypeName>
|
|
59
|
-
Example: /cms/guidelines?component=Hero
|
|
57
|
+
URL: /cms/guidelines.md?component=<TypeName>
|
|
58
|
+
URL: /cms/guidelines.md?collection=<TypeName>
|
|
59
|
+
Example: /cms/guidelines.md?component=Hero
|
|
60
60
|
|
|
61
61
|
The guidelines are generated periodically and committed to the repository.
|
|
62
62
|
For components not yet documented, the document notes they are pending.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@se-studio/core-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.106",
|
|
4
4
|
"description": "Shared React UI component library with Tailwind CSS v4 for SE Studio applications",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"mustache": "4.2.0",
|
|
69
69
|
"server-only": "0.0.1",
|
|
70
70
|
"tailwind-merge": "^3.5.0",
|
|
71
|
-
"@se-studio/contentful-rest-api": "1.0.
|
|
72
|
-
"@se-studio/core-data-types": "1.0.
|
|
71
|
+
"@se-studio/contentful-rest-api": "1.0.106",
|
|
72
|
+
"@se-studio/core-data-types": "1.0.106"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@biomejs/biome": "^2.4.7",
|
package/src/showcase/README.md
CHANGED
|
@@ -66,14 +66,14 @@ To add a CMS Showcase to a project:
|
|
|
66
66
|
rendererConfig={projectRendererConfig}
|
|
67
67
|
componentFieldsMap={componentFieldsMap}
|
|
68
68
|
collectionFieldsMap={collectionFieldsMap}
|
|
69
|
-
basePath="/cms
|
|
69
|
+
basePath="/cms/showcase"
|
|
70
70
|
// ... project-specific color options
|
|
71
71
|
/>
|
|
72
72
|
);
|
|
73
73
|
}
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
2. Create a separate route for the preview iframe (e.g., `/cms
|
|
76
|
+
2. Create a separate route for the preview iframe (e.g., `/cms/showcase/render/page.tsx`):
|
|
77
77
|
```tsx
|
|
78
78
|
import { ShowcaseRenderPage } from '@se-studio/core-ui';
|
|
79
79
|
import {
|
|
@@ -119,7 +119,7 @@ To add a CMS Showcase to a project:
|
|
|
119
119
|
collectionCardMockMap
|
|
120
120
|
} = buildCollectionMaps(collectionRegistrations);
|
|
121
121
|
|
|
122
|
-
// Export maps for cms
|
|
122
|
+
// Export maps for cms/showcase
|
|
123
123
|
export {
|
|
124
124
|
componentFieldsMap,
|
|
125
125
|
collectionFieldsMap,
|