@griddo/core 11.0.20 → 11.0.21
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/dist/autotypes-legacy.js +1 -1
- package/dist/autotypes-legacy.js.map +1 -1
- package/dist/autotypes.js +1 -1
- package/dist/autotypes.js.map +1 -1
- package/dist/components/CloudinaryBackgroundImage/index.d.ts +1 -0
- package/dist/components/Component/ComponentWrapper/index.d.ts +1 -0
- package/dist/components/Component/index.d.ts +1 -0
- package/dist/components/GriddoImageExp/types.d.ts +1 -0
- package/dist/components/LdJson/index.d.ts +1 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Preview/index.d.ts +1 -0
- package/dist/functions/index.d.ts +1 -1
- package/dist/hooks/__mocks__/page-provider-props.d.ts +1 -1
- package/dist/hooks/themes/useThemeColors.d.ts +20 -20
- package/dist/hooks/themes/useThemeFont.d.ts +20 -20
- package/dist/hooks/themes/useThemePrimitives.d.ts +20 -20
- package/dist/hooks/themes/utils.d.ts +40 -40
- package/dist/hooks/useLink.d.ts +1 -0
- package/dist/hooks/usePageRelatedContent.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-svg-library.js +1 -1
- package/dist/react-svg-library.js.map +1 -1
- package/dist/types/core/index.d.ts +1 -0
- package/package.json +46 -39
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentProps } from "../components/Component";
|
|
2
2
|
import type { FC } from "react";
|
|
3
3
|
declare const getComponent: (components: Record<string, FC<Omit<ComponentProps, "libComponents">>>, props: {
|
|
4
|
-
component: string;
|
|
5
4
|
[key: string]: unknown;
|
|
5
|
+
component: string;
|
|
6
6
|
}) => FC<Omit<ComponentProps, "libComponents">> | null;
|
|
7
7
|
export { getComponent };
|
|
@@ -14,23 +14,23 @@ declare function useThemeColors(themeFile: Theme.GriddoTheme, props?: UseThemeCo
|
|
|
14
14
|
id: string;
|
|
15
15
|
name: string;
|
|
16
16
|
selector: string;
|
|
17
|
-
description?: string;
|
|
17
|
+
description?: string | undefined;
|
|
18
18
|
} | {
|
|
19
19
|
primitives: Theme.Primitives;
|
|
20
|
-
preferColorScheme?: false;
|
|
20
|
+
preferColorScheme?: false | undefined;
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
selector: string;
|
|
24
|
-
description?: string;
|
|
24
|
+
description?: string | undefined;
|
|
25
25
|
})[];
|
|
26
26
|
preferColorScheme: true;
|
|
27
27
|
id: string;
|
|
28
28
|
name: string;
|
|
29
29
|
selector: string;
|
|
30
|
-
description?: string;
|
|
30
|
+
description?: string | undefined;
|
|
31
31
|
customMedia?: {
|
|
32
32
|
[key: `--${string}`]: string;
|
|
33
|
-
};
|
|
33
|
+
} | undefined;
|
|
34
34
|
} | {
|
|
35
35
|
primitives: Theme.Primitives;
|
|
36
36
|
subthemes: ({
|
|
@@ -39,23 +39,23 @@ declare function useThemeColors(themeFile: Theme.GriddoTheme, props?: UseThemeCo
|
|
|
39
39
|
id: string;
|
|
40
40
|
name: string;
|
|
41
41
|
selector: string;
|
|
42
|
-
description?: string;
|
|
42
|
+
description?: string | undefined;
|
|
43
43
|
} | {
|
|
44
44
|
primitives: Theme.Primitives;
|
|
45
|
-
preferColorScheme?: false;
|
|
45
|
+
preferColorScheme?: false | undefined;
|
|
46
46
|
id: string;
|
|
47
47
|
name: string;
|
|
48
48
|
selector: string;
|
|
49
|
-
description?: string;
|
|
49
|
+
description?: string | undefined;
|
|
50
50
|
})[];
|
|
51
|
-
preferColorScheme?: false;
|
|
51
|
+
preferColorScheme?: false | undefined;
|
|
52
52
|
id: string;
|
|
53
53
|
name: string;
|
|
54
54
|
selector: string;
|
|
55
|
-
description?: string;
|
|
55
|
+
description?: string | undefined;
|
|
56
56
|
customMedia?: {
|
|
57
57
|
[key: `--${string}`]: string;
|
|
58
|
-
};
|
|
58
|
+
} | undefined;
|
|
59
59
|
} | {
|
|
60
60
|
primitives: Theme.Primitives;
|
|
61
61
|
subthemes: ({
|
|
@@ -64,20 +64,20 @@ declare function useThemeColors(themeFile: Theme.GriddoTheme, props?: UseThemeCo
|
|
|
64
64
|
id: string;
|
|
65
65
|
name: string;
|
|
66
66
|
selector: string;
|
|
67
|
-
description?: string;
|
|
67
|
+
description?: string | undefined;
|
|
68
68
|
} | {
|
|
69
69
|
primitives: Theme.Primitives;
|
|
70
|
-
preferColorScheme?: false;
|
|
70
|
+
preferColorScheme?: false | undefined;
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
73
|
selector: string;
|
|
74
|
-
description?: string;
|
|
74
|
+
description?: string | undefined;
|
|
75
75
|
})[];
|
|
76
76
|
preferColorScheme: true;
|
|
77
77
|
id: string;
|
|
78
78
|
name: string;
|
|
79
79
|
selector: string;
|
|
80
|
-
description?: string;
|
|
80
|
+
description?: string | undefined;
|
|
81
81
|
} | {
|
|
82
82
|
primitives: Theme.Primitives;
|
|
83
83
|
subthemes: ({
|
|
@@ -86,19 +86,19 @@ declare function useThemeColors(themeFile: Theme.GriddoTheme, props?: UseThemeCo
|
|
|
86
86
|
id: string;
|
|
87
87
|
name: string;
|
|
88
88
|
selector: string;
|
|
89
|
-
description?: string;
|
|
89
|
+
description?: string | undefined;
|
|
90
90
|
} | {
|
|
91
91
|
primitives: Theme.Primitives;
|
|
92
|
-
preferColorScheme?: false;
|
|
92
|
+
preferColorScheme?: false | undefined;
|
|
93
93
|
id: string;
|
|
94
94
|
name: string;
|
|
95
95
|
selector: string;
|
|
96
|
-
description?: string;
|
|
96
|
+
description?: string | undefined;
|
|
97
97
|
})[];
|
|
98
|
-
preferColorScheme?: false;
|
|
98
|
+
preferColorScheme?: false | undefined;
|
|
99
99
|
id: string;
|
|
100
100
|
name: string;
|
|
101
101
|
selector: string;
|
|
102
|
-
description?: string;
|
|
102
|
+
description?: string | undefined;
|
|
103
103
|
})[];
|
|
104
104
|
export { useThemeColors };
|
|
@@ -14,23 +14,23 @@ declare function useThemeFont(themeFile: Theme.GriddoTheme, props?: UseThemeFont
|
|
|
14
14
|
id: string;
|
|
15
15
|
name: string;
|
|
16
16
|
selector: string;
|
|
17
|
-
description?: string;
|
|
17
|
+
description?: string | undefined;
|
|
18
18
|
} | {
|
|
19
19
|
primitives: Theme.Primitives;
|
|
20
|
-
preferColorScheme?: false;
|
|
20
|
+
preferColorScheme?: false | undefined;
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
selector: string;
|
|
24
|
-
description?: string;
|
|
24
|
+
description?: string | undefined;
|
|
25
25
|
})[];
|
|
26
26
|
preferColorScheme: true;
|
|
27
27
|
id: string;
|
|
28
28
|
name: string;
|
|
29
29
|
selector: string;
|
|
30
|
-
description?: string;
|
|
30
|
+
description?: string | undefined;
|
|
31
31
|
customMedia?: {
|
|
32
32
|
[key: `--${string}`]: string;
|
|
33
|
-
};
|
|
33
|
+
} | undefined;
|
|
34
34
|
} | {
|
|
35
35
|
primitives: Theme.Primitives;
|
|
36
36
|
subthemes: ({
|
|
@@ -39,23 +39,23 @@ declare function useThemeFont(themeFile: Theme.GriddoTheme, props?: UseThemeFont
|
|
|
39
39
|
id: string;
|
|
40
40
|
name: string;
|
|
41
41
|
selector: string;
|
|
42
|
-
description?: string;
|
|
42
|
+
description?: string | undefined;
|
|
43
43
|
} | {
|
|
44
44
|
primitives: Theme.Primitives;
|
|
45
|
-
preferColorScheme?: false;
|
|
45
|
+
preferColorScheme?: false | undefined;
|
|
46
46
|
id: string;
|
|
47
47
|
name: string;
|
|
48
48
|
selector: string;
|
|
49
|
-
description?: string;
|
|
49
|
+
description?: string | undefined;
|
|
50
50
|
})[];
|
|
51
|
-
preferColorScheme?: false;
|
|
51
|
+
preferColorScheme?: false | undefined;
|
|
52
52
|
id: string;
|
|
53
53
|
name: string;
|
|
54
54
|
selector: string;
|
|
55
|
-
description?: string;
|
|
55
|
+
description?: string | undefined;
|
|
56
56
|
customMedia?: {
|
|
57
57
|
[key: `--${string}`]: string;
|
|
58
|
-
};
|
|
58
|
+
} | undefined;
|
|
59
59
|
} | {
|
|
60
60
|
primitives: Theme.Primitives;
|
|
61
61
|
subthemes: ({
|
|
@@ -64,20 +64,20 @@ declare function useThemeFont(themeFile: Theme.GriddoTheme, props?: UseThemeFont
|
|
|
64
64
|
id: string;
|
|
65
65
|
name: string;
|
|
66
66
|
selector: string;
|
|
67
|
-
description?: string;
|
|
67
|
+
description?: string | undefined;
|
|
68
68
|
} | {
|
|
69
69
|
primitives: Theme.Primitives;
|
|
70
|
-
preferColorScheme?: false;
|
|
70
|
+
preferColorScheme?: false | undefined;
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
73
|
selector: string;
|
|
74
|
-
description?: string;
|
|
74
|
+
description?: string | undefined;
|
|
75
75
|
})[];
|
|
76
76
|
preferColorScheme: true;
|
|
77
77
|
id: string;
|
|
78
78
|
name: string;
|
|
79
79
|
selector: string;
|
|
80
|
-
description?: string;
|
|
80
|
+
description?: string | undefined;
|
|
81
81
|
} | {
|
|
82
82
|
primitives: Theme.Primitives;
|
|
83
83
|
subthemes: ({
|
|
@@ -86,19 +86,19 @@ declare function useThemeFont(themeFile: Theme.GriddoTheme, props?: UseThemeFont
|
|
|
86
86
|
id: string;
|
|
87
87
|
name: string;
|
|
88
88
|
selector: string;
|
|
89
|
-
description?: string;
|
|
89
|
+
description?: string | undefined;
|
|
90
90
|
} | {
|
|
91
91
|
primitives: Theme.Primitives;
|
|
92
|
-
preferColorScheme?: false;
|
|
92
|
+
preferColorScheme?: false | undefined;
|
|
93
93
|
id: string;
|
|
94
94
|
name: string;
|
|
95
95
|
selector: string;
|
|
96
|
-
description?: string;
|
|
96
|
+
description?: string | undefined;
|
|
97
97
|
})[];
|
|
98
|
-
preferColorScheme?: false;
|
|
98
|
+
preferColorScheme?: false | undefined;
|
|
99
99
|
id: string;
|
|
100
100
|
name: string;
|
|
101
101
|
selector: string;
|
|
102
|
-
description?: string;
|
|
102
|
+
description?: string | undefined;
|
|
103
103
|
})[];
|
|
104
104
|
export { useThemeFont };
|
|
@@ -14,23 +14,23 @@ declare function useThemePrimitives(themeFile: Theme.GriddoTheme, props: UseThem
|
|
|
14
14
|
id: string;
|
|
15
15
|
name: string;
|
|
16
16
|
selector: string;
|
|
17
|
-
description?: string;
|
|
17
|
+
description?: string | undefined;
|
|
18
18
|
} | {
|
|
19
19
|
primitives: Theme.Primitives;
|
|
20
|
-
preferColorScheme?: false;
|
|
20
|
+
preferColorScheme?: false | undefined;
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
selector: string;
|
|
24
|
-
description?: string;
|
|
24
|
+
description?: string | undefined;
|
|
25
25
|
})[];
|
|
26
26
|
preferColorScheme: true;
|
|
27
27
|
id: string;
|
|
28
28
|
name: string;
|
|
29
29
|
selector: string;
|
|
30
|
-
description?: string;
|
|
30
|
+
description?: string | undefined;
|
|
31
31
|
customMedia?: {
|
|
32
32
|
[key: `--${string}`]: string;
|
|
33
|
-
};
|
|
33
|
+
} | undefined;
|
|
34
34
|
} | {
|
|
35
35
|
primitives: Theme.Primitives;
|
|
36
36
|
subthemes: ({
|
|
@@ -39,23 +39,23 @@ declare function useThemePrimitives(themeFile: Theme.GriddoTheme, props: UseThem
|
|
|
39
39
|
id: string;
|
|
40
40
|
name: string;
|
|
41
41
|
selector: string;
|
|
42
|
-
description?: string;
|
|
42
|
+
description?: string | undefined;
|
|
43
43
|
} | {
|
|
44
44
|
primitives: Theme.Primitives;
|
|
45
|
-
preferColorScheme?: false;
|
|
45
|
+
preferColorScheme?: false | undefined;
|
|
46
46
|
id: string;
|
|
47
47
|
name: string;
|
|
48
48
|
selector: string;
|
|
49
|
-
description?: string;
|
|
49
|
+
description?: string | undefined;
|
|
50
50
|
})[];
|
|
51
|
-
preferColorScheme?: false;
|
|
51
|
+
preferColorScheme?: false | undefined;
|
|
52
52
|
id: string;
|
|
53
53
|
name: string;
|
|
54
54
|
selector: string;
|
|
55
|
-
description?: string;
|
|
55
|
+
description?: string | undefined;
|
|
56
56
|
customMedia?: {
|
|
57
57
|
[key: `--${string}`]: string;
|
|
58
|
-
};
|
|
58
|
+
} | undefined;
|
|
59
59
|
} | {
|
|
60
60
|
primitives: Theme.Primitives;
|
|
61
61
|
subthemes: ({
|
|
@@ -64,20 +64,20 @@ declare function useThemePrimitives(themeFile: Theme.GriddoTheme, props: UseThem
|
|
|
64
64
|
id: string;
|
|
65
65
|
name: string;
|
|
66
66
|
selector: string;
|
|
67
|
-
description?: string;
|
|
67
|
+
description?: string | undefined;
|
|
68
68
|
} | {
|
|
69
69
|
primitives: Theme.Primitives;
|
|
70
|
-
preferColorScheme?: false;
|
|
70
|
+
preferColorScheme?: false | undefined;
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
73
|
selector: string;
|
|
74
|
-
description?: string;
|
|
74
|
+
description?: string | undefined;
|
|
75
75
|
})[];
|
|
76
76
|
preferColorScheme: true;
|
|
77
77
|
id: string;
|
|
78
78
|
name: string;
|
|
79
79
|
selector: string;
|
|
80
|
-
description?: string;
|
|
80
|
+
description?: string | undefined;
|
|
81
81
|
} | {
|
|
82
82
|
primitives: Theme.Primitives;
|
|
83
83
|
subthemes: ({
|
|
@@ -86,19 +86,19 @@ declare function useThemePrimitives(themeFile: Theme.GriddoTheme, props: UseThem
|
|
|
86
86
|
id: string;
|
|
87
87
|
name: string;
|
|
88
88
|
selector: string;
|
|
89
|
-
description?: string;
|
|
89
|
+
description?: string | undefined;
|
|
90
90
|
} | {
|
|
91
91
|
primitives: Theme.Primitives;
|
|
92
|
-
preferColorScheme?: false;
|
|
92
|
+
preferColorScheme?: false | undefined;
|
|
93
93
|
id: string;
|
|
94
94
|
name: string;
|
|
95
95
|
selector: string;
|
|
96
|
-
description?: string;
|
|
96
|
+
description?: string | undefined;
|
|
97
97
|
})[];
|
|
98
|
-
preferColorScheme?: false;
|
|
98
|
+
preferColorScheme?: false | undefined;
|
|
99
99
|
id: string;
|
|
100
100
|
name: string;
|
|
101
101
|
selector: string;
|
|
102
|
-
description?: string;
|
|
102
|
+
description?: string | undefined;
|
|
103
103
|
})[];
|
|
104
104
|
export { useThemePrimitives };
|
|
@@ -7,23 +7,23 @@ export declare const filterThemePrimitivesByType: (themes: Array<Theme.GlobalThe
|
|
|
7
7
|
id: string;
|
|
8
8
|
name: string;
|
|
9
9
|
selector: string;
|
|
10
|
-
description?: string;
|
|
10
|
+
description?: string | undefined;
|
|
11
11
|
} | {
|
|
12
12
|
primitives: Theme.Primitives;
|
|
13
|
-
preferColorScheme?: false;
|
|
13
|
+
preferColorScheme?: false | undefined;
|
|
14
14
|
id: string;
|
|
15
15
|
name: string;
|
|
16
16
|
selector: string;
|
|
17
|
-
description?: string;
|
|
17
|
+
description?: string | undefined;
|
|
18
18
|
})[];
|
|
19
19
|
preferColorScheme: true;
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
selector: string;
|
|
23
|
-
description?: string;
|
|
23
|
+
description?: string | undefined;
|
|
24
24
|
customMedia?: {
|
|
25
25
|
[key: `--${string}`]: string;
|
|
26
|
-
};
|
|
26
|
+
} | undefined;
|
|
27
27
|
} | {
|
|
28
28
|
primitives: Theme.Primitives;
|
|
29
29
|
subthemes: ({
|
|
@@ -32,23 +32,23 @@ export declare const filterThemePrimitivesByType: (themes: Array<Theme.GlobalThe
|
|
|
32
32
|
id: string;
|
|
33
33
|
name: string;
|
|
34
34
|
selector: string;
|
|
35
|
-
description?: string;
|
|
35
|
+
description?: string | undefined;
|
|
36
36
|
} | {
|
|
37
37
|
primitives: Theme.Primitives;
|
|
38
|
-
preferColorScheme?: false;
|
|
38
|
+
preferColorScheme?: false | undefined;
|
|
39
39
|
id: string;
|
|
40
40
|
name: string;
|
|
41
41
|
selector: string;
|
|
42
|
-
description?: string;
|
|
42
|
+
description?: string | undefined;
|
|
43
43
|
})[];
|
|
44
|
-
preferColorScheme?: false;
|
|
44
|
+
preferColorScheme?: false | undefined;
|
|
45
45
|
id: string;
|
|
46
46
|
name: string;
|
|
47
47
|
selector: string;
|
|
48
|
-
description?: string;
|
|
48
|
+
description?: string | undefined;
|
|
49
49
|
customMedia?: {
|
|
50
50
|
[key: `--${string}`]: string;
|
|
51
|
-
};
|
|
51
|
+
} | undefined;
|
|
52
52
|
} | {
|
|
53
53
|
primitives: Theme.Primitives;
|
|
54
54
|
subthemes: ({
|
|
@@ -57,20 +57,20 @@ export declare const filterThemePrimitivesByType: (themes: Array<Theme.GlobalThe
|
|
|
57
57
|
id: string;
|
|
58
58
|
name: string;
|
|
59
59
|
selector: string;
|
|
60
|
-
description?: string;
|
|
60
|
+
description?: string | undefined;
|
|
61
61
|
} | {
|
|
62
62
|
primitives: Theme.Primitives;
|
|
63
|
-
preferColorScheme?: false;
|
|
63
|
+
preferColorScheme?: false | undefined;
|
|
64
64
|
id: string;
|
|
65
65
|
name: string;
|
|
66
66
|
selector: string;
|
|
67
|
-
description?: string;
|
|
67
|
+
description?: string | undefined;
|
|
68
68
|
})[];
|
|
69
69
|
preferColorScheme: true;
|
|
70
70
|
id: string;
|
|
71
71
|
name: string;
|
|
72
72
|
selector: string;
|
|
73
|
-
description?: string;
|
|
73
|
+
description?: string | undefined;
|
|
74
74
|
} | {
|
|
75
75
|
primitives: Theme.Primitives;
|
|
76
76
|
subthemes: ({
|
|
@@ -79,20 +79,20 @@ export declare const filterThemePrimitivesByType: (themes: Array<Theme.GlobalThe
|
|
|
79
79
|
id: string;
|
|
80
80
|
name: string;
|
|
81
81
|
selector: string;
|
|
82
|
-
description?: string;
|
|
82
|
+
description?: string | undefined;
|
|
83
83
|
} | {
|
|
84
84
|
primitives: Theme.Primitives;
|
|
85
|
-
preferColorScheme?: false;
|
|
85
|
+
preferColorScheme?: false | undefined;
|
|
86
86
|
id: string;
|
|
87
87
|
name: string;
|
|
88
88
|
selector: string;
|
|
89
|
-
description?: string;
|
|
89
|
+
description?: string | undefined;
|
|
90
90
|
})[];
|
|
91
|
-
preferColorScheme?: false;
|
|
91
|
+
preferColorScheme?: false | undefined;
|
|
92
92
|
id: string;
|
|
93
93
|
name: string;
|
|
94
94
|
selector: string;
|
|
95
|
-
description?: string;
|
|
95
|
+
description?: string | undefined;
|
|
96
96
|
})[];
|
|
97
97
|
export declare const filterThemePrimitivesByColor: (themes: Array<Theme.GlobalTheme | Theme.Theme>, subtheme?: string) => ({
|
|
98
98
|
primitives: Theme.Primitives;
|
|
@@ -102,23 +102,23 @@ export declare const filterThemePrimitivesByColor: (themes: Array<Theme.GlobalTh
|
|
|
102
102
|
id: string;
|
|
103
103
|
name: string;
|
|
104
104
|
selector: string;
|
|
105
|
-
description?: string;
|
|
105
|
+
description?: string | undefined;
|
|
106
106
|
} | {
|
|
107
107
|
primitives: Theme.Primitives;
|
|
108
|
-
preferColorScheme?: false;
|
|
108
|
+
preferColorScheme?: false | undefined;
|
|
109
109
|
id: string;
|
|
110
110
|
name: string;
|
|
111
111
|
selector: string;
|
|
112
|
-
description?: string;
|
|
112
|
+
description?: string | undefined;
|
|
113
113
|
})[];
|
|
114
114
|
preferColorScheme: true;
|
|
115
115
|
id: string;
|
|
116
116
|
name: string;
|
|
117
117
|
selector: string;
|
|
118
|
-
description?: string;
|
|
118
|
+
description?: string | undefined;
|
|
119
119
|
customMedia?: {
|
|
120
120
|
[key: `--${string}`]: string;
|
|
121
|
-
};
|
|
121
|
+
} | undefined;
|
|
122
122
|
} | {
|
|
123
123
|
primitives: Theme.Primitives;
|
|
124
124
|
subthemes: ({
|
|
@@ -127,23 +127,23 @@ export declare const filterThemePrimitivesByColor: (themes: Array<Theme.GlobalTh
|
|
|
127
127
|
id: string;
|
|
128
128
|
name: string;
|
|
129
129
|
selector: string;
|
|
130
|
-
description?: string;
|
|
130
|
+
description?: string | undefined;
|
|
131
131
|
} | {
|
|
132
132
|
primitives: Theme.Primitives;
|
|
133
|
-
preferColorScheme?: false;
|
|
133
|
+
preferColorScheme?: false | undefined;
|
|
134
134
|
id: string;
|
|
135
135
|
name: string;
|
|
136
136
|
selector: string;
|
|
137
|
-
description?: string;
|
|
137
|
+
description?: string | undefined;
|
|
138
138
|
})[];
|
|
139
|
-
preferColorScheme?: false;
|
|
139
|
+
preferColorScheme?: false | undefined;
|
|
140
140
|
id: string;
|
|
141
141
|
name: string;
|
|
142
142
|
selector: string;
|
|
143
|
-
description?: string;
|
|
143
|
+
description?: string | undefined;
|
|
144
144
|
customMedia?: {
|
|
145
145
|
[key: `--${string}`]: string;
|
|
146
|
-
};
|
|
146
|
+
} | undefined;
|
|
147
147
|
} | {
|
|
148
148
|
primitives: Theme.Primitives;
|
|
149
149
|
subthemes: ({
|
|
@@ -152,20 +152,20 @@ export declare const filterThemePrimitivesByColor: (themes: Array<Theme.GlobalTh
|
|
|
152
152
|
id: string;
|
|
153
153
|
name: string;
|
|
154
154
|
selector: string;
|
|
155
|
-
description?: string;
|
|
155
|
+
description?: string | undefined;
|
|
156
156
|
} | {
|
|
157
157
|
primitives: Theme.Primitives;
|
|
158
|
-
preferColorScheme?: false;
|
|
158
|
+
preferColorScheme?: false | undefined;
|
|
159
159
|
id: string;
|
|
160
160
|
name: string;
|
|
161
161
|
selector: string;
|
|
162
|
-
description?: string;
|
|
162
|
+
description?: string | undefined;
|
|
163
163
|
})[];
|
|
164
164
|
preferColorScheme: true;
|
|
165
165
|
id: string;
|
|
166
166
|
name: string;
|
|
167
167
|
selector: string;
|
|
168
|
-
description?: string;
|
|
168
|
+
description?: string | undefined;
|
|
169
169
|
} | {
|
|
170
170
|
primitives: Theme.Primitives;
|
|
171
171
|
subthemes: ({
|
|
@@ -174,18 +174,18 @@ export declare const filterThemePrimitivesByColor: (themes: Array<Theme.GlobalTh
|
|
|
174
174
|
id: string;
|
|
175
175
|
name: string;
|
|
176
176
|
selector: string;
|
|
177
|
-
description?: string;
|
|
177
|
+
description?: string | undefined;
|
|
178
178
|
} | {
|
|
179
179
|
primitives: Theme.Primitives;
|
|
180
|
-
preferColorScheme?: false;
|
|
180
|
+
preferColorScheme?: false | undefined;
|
|
181
181
|
id: string;
|
|
182
182
|
name: string;
|
|
183
183
|
selector: string;
|
|
184
|
-
description?: string;
|
|
184
|
+
description?: string | undefined;
|
|
185
185
|
})[];
|
|
186
|
-
preferColorScheme?: false;
|
|
186
|
+
preferColorScheme?: false | undefined;
|
|
187
187
|
id: string;
|
|
188
188
|
name: string;
|
|
189
189
|
selector: string;
|
|
190
|
-
description?: string;
|
|
190
|
+
description?: string | undefined;
|
|
191
191
|
})[];
|
package/dist/hooks/useLink.d.ts
CHANGED