@griddo/core 10.1.38 → 10.1.39
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,3 +1,4 @@
|
|
|
1
|
+
import { ImagePosition } from "../core";
|
|
1
2
|
import { HTMLHeadingTag } from "../global";
|
|
2
3
|
export type FieldsDivider = string;
|
|
3
4
|
export type ArrayFieldGroup<Fields> = Array<Fields>;
|
|
@@ -78,6 +79,8 @@ export type Image = {
|
|
|
78
79
|
orientation?: "P" | "L" | "S";
|
|
79
80
|
/** Site to which image belongs */
|
|
80
81
|
site?: number;
|
|
82
|
+
/** The alignment in a 3x3 grid for the image, for example to use in <GriddoImage> with the `position` prop */
|
|
83
|
+
position?: Extract<ImagePosition, "bottom" | "center" | "left-bottom" | "left-top" | "left" | "right-bottom" | "right-top" | "right" | "top">;
|
|
81
84
|
};
|
|
82
85
|
interface LinkCommon {
|
|
83
86
|
/** Link text */
|
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.
|
|
5
|
+
"version": "10.1.39",
|
|
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": "24a3e311a21a9b93feb84eefc3019de36a609c0b"
|
|
82
82
|
}
|