@directus/themes 0.3.7 → 0.3.8

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,5 +1,5 @@
1
- import { Theme } from '../schemas/index.js';
2
1
  import { DeepPartial } from '@directus/types';
2
+ import { Theme } from '../schemas/index.js';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
5
  darkMode: boolean;
@@ -1,5 +1,5 @@
1
- import { Theme } from '../schemas/theme.js';
2
1
  import { MaybeRef } from 'vue';
2
+ import { Theme } from '../schemas/theme.js';
3
3
 
4
4
  export declare const useFonts: (theme: MaybeRef<Theme>) => {
5
5
  googleFonts: import('vue').ComputedRef<string[]>;
@@ -1,6 +1,6 @@
1
- import { Theme } from '../schemas/theme.js';
2
- import { MaybeRef } from 'vue';
3
1
  import { DeepPartial } from '@directus/types';
2
+ import { MaybeRef } from 'vue';
3
+ import { Theme } from '../schemas/theme.js';
4
4
 
5
5
  export declare const useTheme: (darkMode: MaybeRef<boolean>, themeLight: MaybeRef<string | null>, themeDark: MaybeRef<string | null>, themeLightOverrides: MaybeRef<DeepPartial<Theme['rules']>>, themeDarkOverrides: MaybeRef<DeepPartial<Theme['rules']>>) => {
6
6
  theme: import('vue').ComputedRef<{
@@ -1,4 +1,4 @@
1
- import { Theme } from '../schemas/index.js';
2
1
  import { DeepPartial } from '@directus/types';
2
+ import { Theme } from '../schemas/index.js';
3
3
 
4
4
  export declare const rulesToCssVars: (rules: DeepPartial<Theme['rules']>) => Record<string, string | number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directus/themes",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Themes for Directus",
5
5
  "homepage": "https://directus.io",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@sinclair/typebox": "0.32.27",
25
+ "@sinclair/typebox": "0.32.29",
26
26
  "decamelize": "6.0.0",
27
27
  "flat": "6.0.1",
28
28
  "lodash-es": "4.17.21",
@@ -36,10 +36,10 @@
36
36
  "rollup-plugin-node-externals": "7.1.2",
37
37
  "typescript": "5.4.5",
38
38
  "vite": "5.2.11",
39
- "vite-plugin-dts": "3.9.0",
39
+ "vite-plugin-dts": "3.9.1",
40
40
  "vue": "3.4.27",
41
- "@directus/tsconfig": "1.0.1",
42
- "@directus/types": "11.1.1"
41
+ "@directus/types": "11.1.1",
42
+ "@directus/tsconfig": "1.0.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@unhead/vue": "1",