@sveltia/cms 0.129.0 → 0.129.1
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/README.md +4 -4
- package/dist/sveltia-cms.js +215 -215
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +219 -219
- package/dist/sveltia-cms.mjs.map +1 -1
- package/main.d.ts +1 -0
- package/package.json +2 -2
- package/schema/sveltia-cms.json +1 -1
- package/types/public.d.ts +13 -9
package/main.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ declare function registerPreviewStyle(style: string, { raw }?: {
|
|
|
80
80
|
* Register a custom preview template.
|
|
81
81
|
* @param {string} name Template name.
|
|
82
82
|
* @param {ComponentType<CustomPreviewTemplateProps>} component React component.
|
|
83
|
+
* @throws {TypeError} If `name` is not a string or `component` is not a function.
|
|
83
84
|
* @see https://decapcms.org/docs/customization/#registerpreviewtemplate
|
|
84
85
|
* @see https://sveltiacms.app/en/docs/api/preview-templates
|
|
85
86
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/cms",
|
|
3
|
-
"version": "0.129.
|
|
3
|
+
"version": "0.129.1",
|
|
4
4
|
"description": "Sveltia CMS is a modern, lightweight, Git-based headless content management system.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@types/react": "^19.2.
|
|
16
|
+
"@types/react": "^19.2.10",
|
|
17
17
|
"immutable": "^5.1.4"
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|