From 210a4ad2890d5c0150eb55155221c1a27715b205 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Thu, 9 May 2024 11:32:51 +0100 Subject: [PATCH] Added d.ts file to theme core (1/2) --- components/lib/themes/actions/index.d.ts | 7 +++++++ components/lib/themes/config/index.d.ts | 0 components/lib/themes/helpers/index.d.ts | 0 components/lib/themes/service/index.d.ts | 0 components/lib/themes/utils/index.d.ts | 0 5 files changed, 7 insertions(+) create mode 100644 components/lib/themes/actions/index.d.ts create mode 100644 components/lib/themes/config/index.d.ts create mode 100644 components/lib/themes/helpers/index.d.ts create mode 100644 components/lib/themes/service/index.d.ts create mode 100644 components/lib/themes/utils/index.d.ts diff --git a/components/lib/themes/actions/index.d.ts b/components/lib/themes/actions/index.d.ts new file mode 100644 index 000000000..3ddb6dd48 --- /dev/null +++ b/components/lib/themes/actions/index.d.ts @@ -0,0 +1,7 @@ +/* @todo - remove any types */ +export function definePreset(...arg: any[]): any; +export function updatePreset(...arg: any[]): any; +export function updatePrimaryPalette(palette?: any): any; +export function updateSurfacePalette(palette?: any): string; +export function usePreset(...arg: any[]): any; +export function useTheme(theme: any): any; diff --git a/components/lib/themes/config/index.d.ts b/components/lib/themes/config/index.d.ts new file mode 100644 index 000000000..e69de29bb diff --git a/components/lib/themes/helpers/index.d.ts b/components/lib/themes/helpers/index.d.ts new file mode 100644 index 000000000..e69de29bb diff --git a/components/lib/themes/service/index.d.ts b/components/lib/themes/service/index.d.ts new file mode 100644 index 000000000..e69de29bb diff --git a/components/lib/themes/utils/index.d.ts b/components/lib/themes/utils/index.d.ts new file mode 100644 index 000000000..e69de29bb