@sveltia/cms 0.33.0 → 0.34.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 +14 -10
- package/dist/sveltia-cms.js +159 -159
- package/dist/sveltia-cms.mjs +160 -160
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -20,9 +20,10 @@ To achieve radical improvements in UX, performance, i18n and other areas, it was
|
|
|
20
20
|
|
|
21
21
|
### Our goals
|
|
22
22
|
|
|
23
|
-
- Making Sveltia CMS a viable successor to Netlify CMS
|
|
24
|
-
- Emerging as the leading open source offering in the Git-based
|
|
23
|
+
- Making Sveltia CMS a viable, definitive successor to Netlify CMS
|
|
24
|
+
- Emerging as the leading open source offering in the Git-based CMS market
|
|
25
25
|
- Empowering small businesses and individuals who need a simple, free, yet powerful CMS solution
|
|
26
|
+
- Extending its capabilities as digital asset management (DAM) software
|
|
26
27
|
- Showcasing the vast potential of the Svelte framework
|
|
27
28
|
|
|
28
29
|
## Development status
|
|
@@ -63,9 +64,9 @@ We are working hard to create a **significantly better alternative to Netlify CM
|
|
|
63
64
|
|
|
64
65
|
### Better performance
|
|
65
66
|
|
|
66
|
-
- Built completely from scratch with Svelte instead of forking React-based Netlify/Decap CMS. The app starts fast and stays fast. The compiled code is vanilla JavaScript — you can use it with
|
|
67
|
+
- Built completely from scratch with Svelte instead of forking React-based Netlify/Decap CMS. The app starts fast and stays fast. The compiled code is vanilla JavaScript — you can use it with any framework that can load static data files while building your website or application.
|
|
67
68
|
- Small footprint: The bundle size is less than 500 KB when minified and gzipped, which is much lighter than Netlify CMS (1.5 MB), Decap CMS (1.8 MB) and Static CMS (a Netlify CMS fork, 2.6 MB), even though we haven’t implemented some features yet[^57][^64].
|
|
68
|
-
- The upcoming [Svelte 5](https://svelte.dev/blog/svelte-5-release-candidate) upgrade is anticipated to deliver further performance improvements, including accelerated speed and even smaller bundle size (
|
|
69
|
+
- The upcoming [Svelte 5](https://svelte.dev/blog/svelte-5-release-candidate) upgrade is anticipated to deliver further performance improvements, including accelerated speed and even smaller bundle size (an estimated 70 KB reduction).
|
|
69
70
|
- Sveltia CMS is free of technical debt and [virtual DOM overhead](https://svelte.dev/blog/virtual-dom-is-pure-overhead).
|
|
70
71
|
- Uses the GraphQL API for GitHub and GitLab to quickly fetch content at once, so that entries and assets can be listed and searched instantly[^32][^65]. It also avoids the slowness and potential API rate limit violations caused by hundreds of requests with Relation widgets[^14].
|
|
71
72
|
- Saving entries and assets to GitHub is also much faster thanks to the [GraphQL mutation](https://github.blog/changelog/2021-09-13-a-simpler-api-for-authoring-commits/).
|
|
@@ -94,6 +95,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
|
|
|
94
95
|
- Comprehensive [WAI-ARIA](https://w3c.github.io/aria/) support enables users who rely on screen readers such as NVDA and VoiceOver.
|
|
95
96
|
- Ensures sufficient contrast between the foreground text and background colours.
|
|
96
97
|
- Enabled and disabled buttons can be clearly distinguished[^105].
|
|
98
|
+
- Links are underlined by default to make them easier to recognize. This behaviour can be changed in the Accessibility Settings if you prefer.
|
|
97
99
|
- Honours your operating system’s [reduced motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) and [reduced transparency](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-transparency) settings.
|
|
98
100
|
- We’ll continue to test and improve the application to meet [WCAG 2.2](https://w3c.github.io/wcag/guidelines/22/).
|
|
99
101
|
|
|
@@ -265,14 +267,13 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
265
267
|
- Preview image, audio, video, text and PDF files. Check your site’s [CSP](#setting-up-content-security-policy) if the preview doesn’t work.
|
|
266
268
|
- Copy the public URL[^74], file path, text data or image data of a selected asset to clipboard. The file path starts with `/` as expected[^48].
|
|
267
269
|
- Edit a plain text asset, including SVG images.
|
|
268
|
-
- Rename an existing asset.
|
|
269
|
-
- Replace an existing asset.
|
|
270
|
+
- Rename an existing asset. If the asset is used in any entries, the File/Image fields will be automatically updated with a new file path.
|
|
271
|
+
- Replace an existing asset.
|
|
270
272
|
- Download one or more selected assets at once.
|
|
271
273
|
- Delete one or more selected assets at once.
|
|
272
274
|
- Upload multiple assets at once, including files in nested folders, by browsing or dragging and dropping them into the library[^5].
|
|
273
275
|
- Sort or filter assets by name or file type.
|
|
274
276
|
- View asset details, including size, dimensions, commit author/date and a list of entries that use the selected asset.
|
|
275
|
-
- More features are planned so that you’ll be able to utilize Sveltia CMS as digital asset management (DAM) software.
|
|
276
277
|
- PDF documents are displayed with a thumbnail image in both the Asset Library and the Select File dialog, making it easier to find the file you’re looking for[^38].
|
|
277
278
|
- Assets stored in an entry-relative media folder are automatically deleted when the associated entry is deleted because these assets are not available for other entries[^22]. When you’re [working with a local repository](#working-with-a-local-git-repository), the empty enclosing folder is also deleted.
|
|
278
279
|
- Hidden files (dot files) don’t appear in the Asset Library[^47].
|
|
@@ -306,7 +307,7 @@ These limitations are expected to be resolved before GA:
|
|
|
306
307
|
| Map | Not yet supported. |
|
|
307
308
|
| Markdown | Editor components, including built-in `image` and `code-block` as well as custom components, are not yet supported. |
|
|
308
309
|
|
|
309
|
-
Missing other features? Let us know by [filing an issue](https://github.com/sveltia/sveltia-cms/issues/new).
|
|
310
|
+
Missing any other features? Let us know by [filing an issue](https://github.com/sveltia/sveltia-cms/issues/new).
|
|
310
311
|
|
|
311
312
|
### Features not to be implemented
|
|
312
313
|
|
|
@@ -330,15 +331,16 @@ Missing other features? Let us know by [filing an issue](https://github.com/svel
|
|
|
330
331
|
- Documentation
|
|
331
332
|
- Marketing site
|
|
332
333
|
- Live demo site
|
|
333
|
-
-
|
|
334
|
+
- Official starter templates for the most popular frameworks, including SvelteKit and Next.js
|
|
334
335
|
|
|
335
336
|
### After the 1.0 release
|
|
336
337
|
|
|
337
338
|
- Compatibility with Static CMS, a community fork of Netlify CMS
|
|
338
|
-
- AI integrations
|
|
339
339
|
- Roles[^23]
|
|
340
340
|
- Config editor[^10]
|
|
341
341
|
- Mobile support[^18]
|
|
342
|
+
- AI integrations
|
|
343
|
+
- Advanced digital asset management (DAM) features, including image editing and tagging[^114]
|
|
342
344
|
- and more!
|
|
343
345
|
|
|
344
346
|
## Getting started
|
|
@@ -993,3 +995,5 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
993
995
|
[^112]: Netlify/Decap CMS [#5815](https://github.com/decaporg/decap-cms/issues/5815), [#6522](https://github.com/decaporg/decap-cms/issues/6522), [#6532](https://github.com/decaporg/decap-cms/issues/6532), [#6588](https://github.com/decaporg/decap-cms/issues/6588), [#6617](https://github.com/decaporg/decap-cms/issues/6617), [#6640](https://github.com/decaporg/decap-cms/issues/6640), [#6663](https://github.com/decaporg/decap-cms/issues/6663), [#6695](https://github.com/decaporg/decap-cms/issues/6695), [#6697](https://github.com/decaporg/decap-cms/issues/6697), [#6764](https://github.com/decaporg/decap-cms/issues/6764), [#6765](https://github.com/decaporg/decap-cms/issues/6765), [#6835](https://github.com/decaporg/decap-cms/issues/6835), [#6983](https://github.com/decaporg/decap-cms/issues/6983), [#7205](https://github.com/decaporg/decap-cms/issues/7205)
|
|
994
996
|
|
|
995
997
|
[^113]: Netlify/Decap CMS [#5656](https://github.com/decaporg/decap-cms/issues/5656), [#5837](https://github.com/decaporg/decap-cms/issues/5837), [#5972](https://github.com/decaporg/decap-cms/issues/5972), [#6476](https://github.com/decaporg/decap-cms/issues/6476), [#6516](https://github.com/decaporg/decap-cms/issues/6516), [#6930](https://github.com/decaporg/decap-cms/issues/6930), [#6965](https://github.com/decaporg/decap-cms/issues/6965), [#7080](https://github.com/decaporg/decap-cms/issues/7080), [#7105](https://github.com/decaporg/decap-cms/issues/7105), [#7106](https://github.com/decaporg/decap-cms/issues/7106), [#7119](https://github.com/decaporg/decap-cms/issues/7119), [#7176](https://github.com/decaporg/decap-cms/issues/7176), [#7194](https://github.com/decaporg/decap-cms/issues/7194) — These `removeChild` crashes are common in React apps and seem to be caused by a [browser extension](https://github.com/facebook/react/issues/17256) or [Google Translate](https://github.com/facebook/react/issues/11538).
|
|
998
|
+
|
|
999
|
+
[^114]: Netlify/Decap CMS [#5029](https://github.com/decaporg/decap-cms/issues/5029), [#5048](https://github.com/decaporg/decap-cms/issues/5048)
|