@griddo/core 10.1.93 → 10.1.95

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,6 +1,6 @@
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, BaseTagsField, BaseTextArea, BaseTextField, BaseTimeField, BaseToggleField, BaseUniqueCheck, BaseUrlField, BaseVisualUniqueSelection, BaseWysiwyg } from "./base";
2
- import { WithAuxText, WithBackground, WithFullWidth, WithHelpText, WithHideable, WithHumanReadable, WithIndexable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithShowList, WithSlugTo, WithValidators, WithWhiteList } from "./props";
3
- type Common = WithHideable & WithIndexable & WithShowList & WithHelpText;
2
+ import { WithAuxText, WithBackground, WithFullWidth, WithHelpText, WithHumanReadable, WithIndexable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithShowList, WithSlugTo, WithValidators, WithWhiteList } from "./props";
3
+ type Common = WithIndexable & WithShowList & WithHelpText;
4
4
  export type ArrayFieldGroup = BaseArrayFieldGroup<SimpleContentTypeFields> & Common;
5
5
  export type AsyncCheckGroup = BaseAsyncCheckGroup & Common;
6
6
  export type AsyncSelect = BaseAsyncSelect & Common & WithPlaceHolder;
@@ -23,7 +23,7 @@ export type ReferenceField = BaseReferenceField & Common;
23
23
  export type RichText = BaseRichText & WithIsMockup & WithValidators & Common & WithPlaceHolder & WithHumanReadable;
24
24
  export type Select = BaseSelect & WithValidators & Common & WithPlaceHolder;
25
25
  export type SliderField = BaseSliderField & WithValidators & Common;
26
- export type TagsField = BaseTagsField & WithHideable & WithIndexable & WithShowList;
26
+ export type TagsField = BaseTagsField & WithIndexable & WithShowList;
27
27
  export type TextArea = BaseTextArea & WithIsMockup & WithValidators & Common & WithPlaceHolder & WithHumanReadable;
28
28
  export type TextField = BaseTextField & WithIsMockup & WithValidators & WithReadonly & WithSlugTo & WithPrefix & WithPlaceHolder & Common & WithHumanReadable;
29
29
  export type ToggleField = BaseToggleField & WithBackground & WithAuxText & Common;
@@ -10,4 +10,26 @@ export interface RichTextConfig {
10
10
  */
11
11
  className: string;
12
12
  }>;
13
+ /** Class names configuration for the table options */
14
+ tableStyles?: Array<{
15
+ /** The label that appears in the Griddo rich-text editor */
16
+ label: string;
17
+ /**
18
+ * The class name without the dot
19
+ * @example
20
+ * className: "big-text"
21
+ */
22
+ className: string;
23
+ }>;
24
+ /** Class names configuration for the table cell options */
25
+ tableCellStyles?: Array<{
26
+ /** The label that appears in the Griddo rich-text editor */
27
+ label: string;
28
+ /**
29
+ * The class name without the dot
30
+ * @example
31
+ * className: "big-text"
32
+ */
33
+ className: string;
34
+ }>;
13
35
  }
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": "10.1.93",
5
+ "version": "10.1.95",
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": "6823c0415d690eab17876e2d32f3cc717a01c28e"
81
+ "gitHead": "c7196fd872fc8fce4e79da30e4193bacc425a07e"
82
82
  }