@griddo/core 10.4.32 → 10.4.33
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,9 +1,29 @@
|
|
|
1
|
+
import __AT__ from "@autoTypes";
|
|
2
|
+
interface ThemeElements {
|
|
3
|
+
datapacks?: Array<__AT__.Datapacks>;
|
|
4
|
+
templates?: Array<Exclude<__AT__.Templates, "BasicTemplate">>;
|
|
5
|
+
modules?: Array<__AT__.Modules>;
|
|
6
|
+
}
|
|
7
|
+
interface ExcludedElements {
|
|
8
|
+
/** Indicates which elements from the entire design system are excluded theme */
|
|
9
|
+
exclude: ThemeElements;
|
|
10
|
+
include?: never;
|
|
11
|
+
}
|
|
12
|
+
interface IncludeElements {
|
|
13
|
+
/** Indicates which elements from the entire design system are included theme */
|
|
14
|
+
include: ThemeElements;
|
|
15
|
+
exclude?: never;
|
|
16
|
+
}
|
|
17
|
+
type ElementsSet = IncludeElements | ExcludedElements;
|
|
1
18
|
export interface ThemeEntry {
|
|
2
19
|
/** Text with which the theme will be shown in the selector. */
|
|
3
20
|
label: string;
|
|
4
21
|
/** Value equivalent to the id of the theme within the instance. */
|
|
5
|
-
value:
|
|
22
|
+
value: __AT__.Themes;
|
|
6
23
|
/** Indicates if it is the default theme to be used for example in the global data pages (since these do not have a default site assigned and therefore do not have a theme). */
|
|
7
24
|
default?: boolean;
|
|
25
|
+
/** Indicates which elements from the entire design system are included or excluded theme */
|
|
26
|
+
elements?: ElementsSet;
|
|
8
27
|
}
|
|
9
28
|
export type Themes = Array<ThemeEntry>;
|
|
29
|
+
export {};
|
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.4.
|
|
5
|
+
"version": "10.4.33",
|
|
6
6
|
"authors": [
|
|
7
7
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
8
8
|
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "36f47708ec6c65b528e1079a353fb657beb54887"
|
|
78
78
|
}
|