From 96343bb7b567fe6e2d10a99da8d908ea3814f58b Mon Sep 17 00:00:00 2001 From: MGREMY Date: Thu, 31 Oct 2024 15:57:05 +0100 Subject: [PATCH] fix: multiple typo --- libs/flowbite-angular/core/flowbite.theme.init.ts | 4 ++-- libs/flowbite-angular/navbar/index.ts | 2 +- libs/flowbite-angular/navbar/navbar-toggle.theme.ts | 2 +- libs/flowbite-angular/scroll-top/scroll-top.theme.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/flowbite-angular/core/flowbite.theme.init.ts b/libs/flowbite-angular/core/flowbite.theme.init.ts index 804627c7..dcd4377f 100644 --- a/libs/flowbite-angular/core/flowbite.theme.init.ts +++ b/libs/flowbite-angular/core/flowbite.theme.init.ts @@ -82,8 +82,8 @@ import { NavbarItemThemeService, navbarTheme, NavbarThemeService, + navbarToggleTheme, NavbarToggleThemeService, - navbarToogleTheme, } from 'flowbite-angular/navbar'; import { FLOWBITE_SCROLL_TOP_THEME_TOKEN, @@ -341,7 +341,7 @@ export function initFlowbite(): EnvironmentProviders { }, { provide: FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN, - useValue: navbarToogleTheme, + useValue: navbarToggleTheme, }, { provide: FLOWBITE_NAVBAR_ICON_BUTTON_THEME_TOKEN, diff --git a/libs/flowbite-angular/navbar/index.ts b/libs/flowbite-angular/navbar/index.ts index 177f79cf..8448cfcb 100644 --- a/libs/flowbite-angular/navbar/index.ts +++ b/libs/flowbite-angular/navbar/index.ts @@ -41,7 +41,7 @@ export type { NavbarToggleClass, NavbarToggleProperties, } from './navbar-toggle.theme'; -export { navbarToogleTheme } from './navbar-toggle.theme'; +export { navbarToggleTheme } from './navbar-toggle.theme'; export { FLOWBITE_NAVBAR_TOGGLE_THEME_TOKEN, NavbarToggleThemeService, diff --git a/libs/flowbite-angular/navbar/navbar-toggle.theme.ts b/libs/flowbite-angular/navbar/navbar-toggle.theme.ts index bfcbc194..5f3dd1bc 100644 --- a/libs/flowbite-angular/navbar/navbar-toggle.theme.ts +++ b/libs/flowbite-angular/navbar/navbar-toggle.theme.ts @@ -20,7 +20,7 @@ export interface NavbarToggleTheme { /** * Default theme for `NavbarToggleComponent` */ -export const navbarToogleTheme: NavbarToggleTheme = createTheme({ +export const navbarToggleTheme: NavbarToggleTheme = createTheme({ root: { base: 'cursor-pointer inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600', }, diff --git a/libs/flowbite-angular/scroll-top/scroll-top.theme.ts b/libs/flowbite-angular/scroll-top/scroll-top.theme.ts index 5c77f888..39488c83 100644 --- a/libs/flowbite-angular/scroll-top/scroll-top.theme.ts +++ b/libs/flowbite-angular/scroll-top/scroll-top.theme.ts @@ -30,7 +30,7 @@ export interface ScrollTopPositions extends Omit { * Required properties for the class generation for `ScrollTopComponent` */ export interface ScrollTopProperties { - color: keyof ScrollTopPositions; + color: keyof ScrollTopColors; position: keyof ScrollTopPositions; customStyle: DeepPartial; }