@cloudcannon/configuration-types 0.0.11 → 0.0.12
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/build/cloudcannon-config-eleventy.json +5 -0
- package/build/cloudcannon-config-hugo.json +5 -0
- package/build/cloudcannon-config-jekyll.json +5 -0
- package/build/cloudcannon-config-reader.json +5 -0
- package/build/cloudcannon-config.json +5 -0
- package/package.json +1 -1
- package/src/configuration.d.ts +4 -0
|
@@ -7897,6 +7897,11 @@
|
|
|
7897
7897
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
7898
7898
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
7899
7899
|
},
|
|
7900
|
+
"icon": {
|
|
7901
|
+
"$ref": "#/definitions/Icon",
|
|
7902
|
+
"description": "Icon shown beside the input.",
|
|
7903
|
+
"markdownDescription": "Icon shown beside the input."
|
|
7904
|
+
},
|
|
7900
7905
|
"placeholder": {
|
|
7901
7906
|
"description": "Text shown when this input has no value.",
|
|
7902
7907
|
"markdownDescription": "Text shown when this input has no value.",
|
|
@@ -7899,6 +7899,11 @@
|
|
|
7899
7899
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
7900
7900
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
7901
7901
|
},
|
|
7902
|
+
"icon": {
|
|
7903
|
+
"$ref": "#/definitions/Icon",
|
|
7904
|
+
"description": "Icon shown beside the input.",
|
|
7905
|
+
"markdownDescription": "Icon shown beside the input."
|
|
7906
|
+
},
|
|
7902
7907
|
"placeholder": {
|
|
7903
7908
|
"description": "Text shown when this input has no value.",
|
|
7904
7909
|
"markdownDescription": "Text shown when this input has no value.",
|
|
@@ -7892,6 +7892,11 @@
|
|
|
7892
7892
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
7893
7893
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
7894
7894
|
},
|
|
7895
|
+
"icon": {
|
|
7896
|
+
"$ref": "#/definitions/Icon",
|
|
7897
|
+
"description": "Icon shown beside the input.",
|
|
7898
|
+
"markdownDescription": "Icon shown beside the input."
|
|
7899
|
+
},
|
|
7895
7900
|
"placeholder": {
|
|
7896
7901
|
"description": "Text shown when this input has no value.",
|
|
7897
7902
|
"markdownDescription": "Text shown when this input has no value.",
|
|
@@ -7938,6 +7938,11 @@
|
|
|
7938
7938
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
7939
7939
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
7940
7940
|
},
|
|
7941
|
+
"icon": {
|
|
7942
|
+
"$ref": "#/definitions/Icon",
|
|
7943
|
+
"description": "Icon shown beside the input.",
|
|
7944
|
+
"markdownDescription": "Icon shown beside the input."
|
|
7945
|
+
},
|
|
7941
7946
|
"placeholder": {
|
|
7942
7947
|
"description": "Text shown when this input has no value.",
|
|
7943
7948
|
"markdownDescription": "Text shown when this input has no value.",
|
|
@@ -7790,6 +7790,11 @@
|
|
|
7790
7790
|
"description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
|
|
7791
7791
|
"markdownDescription": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values."
|
|
7792
7792
|
},
|
|
7793
|
+
"icon": {
|
|
7794
|
+
"$ref": "#/definitions/Icon",
|
|
7795
|
+
"description": "Icon shown beside the input.",
|
|
7796
|
+
"markdownDescription": "Icon shown beside the input."
|
|
7797
|
+
},
|
|
7793
7798
|
"placeholder": {
|
|
7794
7799
|
"description": "Text shown when this input has no value.",
|
|
7795
7800
|
"markdownDescription": "Text shown when this input has no value.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcannon/configuration-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",
|
|
5
5
|
"author": "CloudCannon <support@cloudcannon.com>",
|
|
6
6
|
"license": "MIT",
|
package/src/configuration.d.ts
CHANGED
|
@@ -629,6 +629,10 @@ export interface TextInputOptions extends BaseInputOptions {
|
|
|
629
629
|
* Text shown when this input has no value.
|
|
630
630
|
*/
|
|
631
631
|
placeholder?: string;
|
|
632
|
+
/**
|
|
633
|
+
* Icon shown beside the input.
|
|
634
|
+
*/
|
|
635
|
+
icon?: Icon;
|
|
632
636
|
}
|
|
633
637
|
|
|
634
638
|
export interface TextInput extends BaseInput<TextInputOptions> {
|