@sveltia/cms 0.119.0 → 0.119.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 +9 -5
- package/dist/sveltia-cms.js +275 -275
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +225 -225
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +3 -3
- package/schema/sveltia-cms.json +1 -1
- package/types/public.d.ts +6 -6
package/README.md
CHANGED
|
@@ -377,7 +377,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
377
377
|
- A nested field can be specified using dot notation, e.g. `heroImage.src`.
|
|
378
378
|
- A wildcard in the field name is also supported, e.g. `images.*.src`.
|
|
379
379
|
- Multiple field names can be specified as an array for fallback purpose, e.g. `[thumbnail, cover]`.
|
|
380
|
-
- Occasionally, you may not have suitable images for thumbnails. For example, your images may have subtle differences or varied aspect ratios. In that case, you can disable the thumbnail with `thumbnail:
|
|
380
|
+
- Occasionally, you may not have suitable images for thumbnails. For example, your images may have subtle differences or varied aspect ratios. In that case, you can disable the thumbnail with `thumbnail: false`.
|
|
381
381
|
- If this option is omitted, any non-nested, non-empty Image or File field will be used.[^173] Sveltia CMS doesn’t have [hardcoded inference fields](https://github.com/decaporg/decap-cms/blob/899dba82d1f396260e0f84c6977c1d2aee809b59/packages/decap-cms-core/src/constants/fieldInference.tsx#L64-L72).[^130]
|
|
382
382
|
- `limit`: Specify the maximum number of entries that can be created in a folder collection.[^185]
|
|
383
383
|
- `divider`: [Add dividers to the collection list](#adding-dividers-to-the-collection-list).
|
|
@@ -724,7 +724,7 @@ The following Netlify/Decap CMS features will not be added to Sveltia CMS, prima
|
|
|
724
724
|
- Global: [`search`](https://decapcms.org/docs/configuration-options/#search)
|
|
725
725
|
- Backend: [`use_graphql`](https://decapcms.org/docs/github-backend/#graphql-api)
|
|
726
726
|
- Relation widget: `options_length`
|
|
727
|
-
- Local proxy server: As [mentioned above](#better-productivity), our [local repository workflow](#working-with-a-local-git-repository) eliminates the need for a proxy server. For security and performance reasons, we don’t support `netlify-cms-proxy-server
|
|
727
|
+
- Local proxy server: As [mentioned above](#better-productivity), our [local repository workflow](#working-with-a-local-git-repository) eliminates the need for a proxy server. For security and performance reasons, we don’t support `netlify-cms-proxy-server` or `decap-server`. The `local_backend` option is ignored.
|
|
728
728
|
- The global [`locale`](https://decapcms.org/docs/configuration-options/#locale) option and `CMS.registerLocale()` method: Sveltia CMS automatically detects the user’s preferred language and changes the UI locale as [mentioned above](#better-localization).
|
|
729
729
|
- [Undocumented methods](https://github.com/sveltia/sveltia-cms/blob/c69446da7bb0bab7405be741c0f92850c5dddfa8/src/main.js#L14-L37) exposed on the `CMS` object: This includes custom backends and custom media libraries, if any. We may support these features in the future, but our implementation would likely be incompatible with Netlify/Decap CMS.
|
|
730
730
|
- Any other undocumented features and options. Exceptions apply.
|
|
@@ -908,6 +908,12 @@ If you use VS Code, you can enable it for the YAML configuration file by install
|
|
|
908
908
|
# yaml-language-server: $schema=https://unpkg.com/@sveltia/cms/schema/sveltia-cms.json
|
|
909
909
|
```
|
|
910
910
|
|
|
911
|
+
For TOML files, install the [Even Better TOML extension](https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml) and add the following comment to the top of `config.toml`:
|
|
912
|
+
|
|
913
|
+
```toml
|
|
914
|
+
#:schema https://unpkg.com/@sveltia/cms/schema/sveltia-cms.json
|
|
915
|
+
```
|
|
916
|
+
|
|
911
917
|
If your configuration is in JSON format (see the [next section](#providing-a-json-configuration-file)), no extension is needed. Just add the following line to the top of `config.json`, within the curly braces:
|
|
912
918
|
|
|
913
919
|
```json
|
|
@@ -1993,7 +1999,6 @@ Due early 2026
|
|
|
1993
1999
|
- Accessibility audit
|
|
1994
2000
|
- [Localization](https://github.com/sveltia/sveltia-cms/blob/main/src/lib/locales/README.md)
|
|
1995
2001
|
- [Developer documentation](https://github.com/sveltia/sveltia-cms/issues/485) (implementation guide)
|
|
1996
|
-
- Marketing site
|
|
1997
2002
|
- [Live demo site](https://github.com/sveltia/sveltia-cms/issues/1)
|
|
1998
2003
|
|
|
1999
2004
|
See also the [1.0 RC](https://github.com/sveltia/sveltia-cms/milestone/1) and [1.0](https://github.com/sveltia/sveltia-cms/milestone/2) milestones for a list of issues planned for v1.0.
|
|
@@ -2004,11 +2009,10 @@ Due mid-2026
|
|
|
2004
2009
|
|
|
2005
2010
|
- Implementing [a few deferred Netlify/Decap CMS features](#current-limitations), including editorial workflow and nested collections, while addressing a number of bugs in their implementations
|
|
2006
2011
|
- They will probably first be included as beta features in v1.x releases
|
|
2007
|
-
- Tackling even more Netlify/Decap CMS issues:
|
|
2012
|
+
- Tackling even more Netlify/Decap CMS issues, including:
|
|
2008
2013
|
- [Manual entry sorting](https://github.com/sveltia/sveltia-cms/issues/214)[^125]
|
|
2009
2014
|
- [Directory navigation in the Asset Library](https://github.com/sveltia/sveltia-cms/issues/420)[^240]
|
|
2010
2015
|
- [Asset collections](https://github.com/sveltia/sveltia-cms/issues/301)[^271]
|
|
2011
|
-
- and a few more from the TBD list below
|
|
2012
2016
|
|
|
2013
2017
|
See also the [2.0](https://github.com/sveltia/sveltia-cms/milestone/3) milestone.
|
|
2014
2018
|
|