@directus/themes 1.0.1 → 1.0.2
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,47 +1,21 @@
|
|
|
1
1
|
import { DeepPartial } from '@directus/types';
|
|
2
2
|
import { Theme } from '../schemas/index.js';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
darkMode: boolean;
|
|
5
5
|
themeLight: string | null;
|
|
6
6
|
themeLightOverrides: DeepPartial<Theme["rules"]>;
|
|
7
7
|
themeDark: string | null;
|
|
8
8
|
themeDarkOverrides: DeepPartial<Theme["rules"]>;
|
|
9
|
-
}
|
|
10
|
-
themeLight: string;
|
|
11
|
-
themeDark: string;
|
|
12
|
-
themeLightOverrides: () => {};
|
|
13
|
-
themeDarkOverrides: () => {};
|
|
14
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
10
|
darkMode: boolean;
|
|
16
11
|
themeLight: string | null;
|
|
17
12
|
themeLightOverrides: DeepPartial<Theme["rules"]>;
|
|
18
13
|
themeDark: string | null;
|
|
19
14
|
themeDarkOverrides: DeepPartial<Theme["rules"]>;
|
|
20
|
-
}>, {
|
|
21
|
-
themeLight: string;
|
|
22
|
-
themeDark: string;
|
|
23
|
-
themeLightOverrides: () => {};
|
|
24
|
-
themeDarkOverrides: () => {};
|
|
25
|
-
}>>>, {
|
|
15
|
+
}> & Readonly<{}>, {
|
|
26
16
|
themeLight: string | null;
|
|
27
17
|
themeLightOverrides: DeepPartial<Theme["rules"]>;
|
|
28
18
|
themeDark: string | null;
|
|
29
19
|
themeDarkOverrides: DeepPartial<Theme["rules"]>;
|
|
30
|
-
}, {}>;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
21
|
export default _default;
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_TypePropsToOption<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
} : {
|
|
41
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
type __VLS_PrettifyLocal<T> = {
|
|
46
|
-
[K in keyof T]: T[K];
|
|
47
|
-
} & {};
|
package/dist/stores/theme.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from '../schemas/theme.js';
|
|
2
|
-
export declare const useThemeStore: import('pinia').StoreDefinition<"🎨 Themes",
|
|
2
|
+
export declare const useThemeStore: import('pinia').StoreDefinition<"🎨 Themes", Pick<{
|
|
3
3
|
themes: {
|
|
4
4
|
light: {
|
|
5
5
|
id: string;
|
|
@@ -527,7 +527,7 @@ export declare const useThemeStore: import('pinia').StoreDefinition<"🎨 Themes
|
|
|
527
527
|
}[];
|
|
528
528
|
};
|
|
529
529
|
registerTheme: (theme: Theme) => void;
|
|
530
|
-
}, "themes"
|
|
530
|
+
}, "themes">, Pick<{
|
|
531
531
|
themes: {
|
|
532
532
|
light: {
|
|
533
533
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@directus/themes",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Themes for Directus",
|
|
5
5
|
"homepage": "https://directus.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,24 +22,24 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@sinclair/typebox": "0.33.
|
|
25
|
+
"@sinclair/typebox": "0.33.15",
|
|
26
26
|
"decamelize": "6.0.0",
|
|
27
27
|
"flat": "6.0.1",
|
|
28
28
|
"lodash-es": "4.17.21",
|
|
29
|
-
"@directus/utils": "12.0.
|
|
29
|
+
"@directus/utils": "12.0.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/lodash-es": "4.17.12",
|
|
33
|
-
"@unhead/vue": "1.
|
|
34
|
-
"@vitejs/plugin-vue": "5.
|
|
35
|
-
"pinia": "2.2.
|
|
33
|
+
"@unhead/vue": "1.11.7",
|
|
34
|
+
"@vitejs/plugin-vue": "5.1.4",
|
|
35
|
+
"pinia": "2.2.4",
|
|
36
36
|
"rollup-plugin-node-externals": "7.1.3",
|
|
37
|
-
"typescript": "5.6.
|
|
37
|
+
"typescript": "5.6.3",
|
|
38
38
|
"vite": "5.2.11",
|
|
39
39
|
"vite-plugin-dts": "4.2.3",
|
|
40
|
-
"vue": "3.
|
|
41
|
-
"@directus/
|
|
42
|
-
"@directus/
|
|
40
|
+
"vue": "3.5.11",
|
|
41
|
+
"@directus/tsconfig": "2.0.0",
|
|
42
|
+
"@directus/types": "12.2.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@unhead/vue": "1",
|