@sveltia/cms 0.78.2 → 0.79.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/cms",
3
- "version": "0.78.2",
3
+ "version": "0.79.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
package/types/public.d.ts CHANGED
@@ -223,6 +223,11 @@ export type CommonFieldProps = {
223
223
  * required locale codes can be passed as an array like `[en, fr]` instead of a boolean.
224
224
  */
225
225
  required?: boolean | LocaleCode[];
226
+ /**
227
+ * Whether to make the field read-only. Default: `false`. This is
228
+ * useful when a `default` value is provided and the field should not be editable by users.
229
+ */
230
+ readonly?: boolean;
226
231
  /**
227
232
  * Validation format. The first argument is a regular
228
233
  * expression pattern for a valid input value, and the second argument is an error message. This