@griddo/core 1.75.240 → 1.75.241
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.
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export type WithAuxText = {
|
|
2
|
+
/** Sets a label text to show besides the toggle field control */
|
|
3
|
+
auxText?: string;
|
|
4
|
+
};
|
|
1
5
|
export type WithBackground = {
|
|
2
|
-
/**
|
|
6
|
+
/** Sets a light dark background for the field */
|
|
3
7
|
background?: boolean;
|
|
4
8
|
};
|
|
5
9
|
export type WithDisabled = {
|
|
@@ -15,7 +19,7 @@ export type WithFrom = {
|
|
|
15
19
|
from: string;
|
|
16
20
|
};
|
|
17
21
|
export type WithFullWidth = {
|
|
18
|
-
/**
|
|
22
|
+
/** Sets the width of the field to the maximum of its parent container */
|
|
19
23
|
fullWidth?: boolean;
|
|
20
24
|
};
|
|
21
25
|
export type WithGroup = {
|
|
@@ -40,7 +44,7 @@ export type WithIndexable = {
|
|
|
40
44
|
};
|
|
41
45
|
/** Por defecto es false. Si ese campo se va a utilizar como índice (para poder ordenar por ese campo, etc.) */
|
|
42
46
|
export type WithIsMockup = {
|
|
43
|
-
/**
|
|
47
|
+
/** Marks the content of the default field as dummy content which forces the user editor to change it. Otherwise when trying to publish the Griddo editor will warn us to change it. */
|
|
44
48
|
isMockup?: boolean;
|
|
45
49
|
};
|
|
46
50
|
export type Option = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseArrayFieldGroup, BaseAsyncCheckGroup, BaseAsyncSelect, BaseCheckGroup, BaseColorPicker, BaseConditionalField, BaseDateField, BaseFieldGroup, BaseFieldsDivider, BaseFileField, BaseHeadingField, BaseImageField, BaseLinkField, BaseMultiCheckSelect, BaseMultiCheckSelectGroup, BaseNoteField, BaseNumberField, BaseRadioGroup, BaseReferenceField, BaseRichText, BaseSelect, BaseSliderField, BaseTextArea, BaseTextField, BaseTimeField, BaseToggleField, BaseUniqueCheck, BaseUrlField, BaseVisualUniqueSelection, BaseWysiwyg } from "./base";
|
|
2
|
-
import { WithBackground, WithFullWidth, WithHelpText, WithHideable, WithIndexable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithShowList, WithSlugTo, WithValidators, WithWhiteList } from "./props";
|
|
2
|
+
import { WithAuxText, WithBackground, WithFullWidth, WithHelpText, WithHideable, WithIndexable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithShowList, WithSlugTo, WithValidators, WithWhiteList } from "./props";
|
|
3
3
|
type Common = WithHideable & WithIndexable & WithShowList & WithHelpText;
|
|
4
4
|
export type ArrayFieldGroup = BaseArrayFieldGroup<SimpleContentTypeFields> & Common;
|
|
5
5
|
export type AsyncCheckGroup = BaseAsyncCheckGroup & Common;
|
|
@@ -25,7 +25,7 @@ export type Select = BaseSelect & WithValidators & Common & WithPlaceHolder;
|
|
|
25
25
|
export type SliderField = BaseSliderField & WithValidators & Common;
|
|
26
26
|
export type TextArea = BaseTextArea & WithIsMockup & WithValidators & Common & WithPlaceHolder;
|
|
27
27
|
export type TextField = BaseTextField & WithIsMockup & WithValidators & WithReadonly & WithSlugTo & WithPrefix & WithPlaceHolder & Common;
|
|
28
|
-
export type ToggleField = BaseToggleField & WithBackground & Common;
|
|
28
|
+
export type ToggleField = BaseToggleField & WithBackground & WithAuxText & Common;
|
|
29
29
|
export type TimeField = BaseTimeField & WithIsMockup & WithReadonly & WithPlaceHolder & Common;
|
|
30
30
|
export type UniqueCheck = BaseUniqueCheck & Common;
|
|
31
31
|
export type UrlField = BaseUrlField & WithValidators & Common & WithPlaceHolder;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseArrayFieldGroup, BaseAsyncCheckGroup, BaseAsyncSelect, BaseCheckGroup, BaseColorPicker, BaseComponentArray, BaseComponentContainer, BaseConditionalField, BaseDateField, BaseFieldGroup, BaseFieldsDivider, BaseFileField, BaseHeadingField, BaseImageField, BaseLinkField, BaseMultiCheckSelect, BaseMultiCheckSelectGroup, BaseNoteField, BaseNumberField, BaseRadioGroup, BaseReferenceField, BaseRichText, BaseSelect, BaseSliderField, BaseTextArea, BaseTextField, BaseTimeField, BaseToggleField, BaseUniqueCheck, BaseUrlField, BaseVisualUniqueSelection, BaseWysiwyg } from "./base";
|
|
2
|
-
import { WithBackground, WithFullWidth, WithHelpText, WithHideable, WithHumanReadable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithSlugTo, WithValidators, WithWhiteList } from "./props";
|
|
2
|
+
import { WithAuxText, WithBackground, WithFullWidth, WithHelpText, WithHideable, WithHumanReadable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithSlugTo, WithValidators, WithWhiteList } from "./props";
|
|
3
3
|
export type Common = WithHelpText & WithHideable;
|
|
4
4
|
export type ArrayFieldGroup = BaseArrayFieldGroup<UIFields> & Common;
|
|
5
5
|
export type AsyncCheckGroup = BaseAsyncCheckGroup & Common;
|
|
@@ -27,7 +27,7 @@ export type Select = BaseSelect & WithValidators & Common & WithPlaceHolder;
|
|
|
27
27
|
export type SliderField = BaseSliderField & WithValidators & Common;
|
|
28
28
|
export type TextArea = BaseTextArea & WithIsMockup & WithValidators & WithPlaceHolder & WithHumanReadable & Common;
|
|
29
29
|
export type TextField = BaseTextField & WithIsMockup & WithValidators & WithReadonly & WithSlugTo & WithPrefix & WithPlaceHolder & WithHumanReadable & Common;
|
|
30
|
-
export type ToggleField = BaseToggleField & WithBackground & Common;
|
|
30
|
+
export type ToggleField = BaseToggleField & WithBackground & WithAuxText & Common;
|
|
31
31
|
export type TimeField = BaseTimeField & WithIsMockup & WithReadonly & Common;
|
|
32
32
|
export type UniqueCheck = BaseUniqueCheck & Common;
|
|
33
33
|
export type UrlField = BaseUrlField & WithValidators & Common & WithPlaceHolder;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@griddo/core",
|
|
3
3
|
"description": "Reload version of Griddo Core",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
|
-
"version": "1.75.
|
|
5
|
+
"version": "1.75.241",
|
|
6
6
|
"authors": [
|
|
7
7
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
8
8
|
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"resolutions": {
|
|
79
79
|
"colors": "1.4.0"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "ed73d8fd6389ceb4f2e2dd6b95a102353b1186a4"
|
|
82
82
|
}
|