@space-man/react-theme-animation 1.1.0 → 1.1.1
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/README.md +2 -2
- package/dist/cjs/index.d.ts +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,8 +5,8 @@ https://github.com/user-attachments/assets/2819cf70-c474-478e-b821-6b26457c8d4a
|
|
|
5
5
|
React theme switching with smooth view transition animations, multi-theme support, and synchronized state management.
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<img width="
|
|
9
|
-
<img width="
|
|
8
|
+
<img width="48%" src="https://github.com/user-attachments/assets/67e51f74-57fe-4f26-b9e3-200375effcc9" />
|
|
9
|
+
<img width="48%" src="https://github.com/user-attachments/assets/24c30513-8acd-4299-98d5-ee2158c020e9" />
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
## Live Demo
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { ThemeSwitcher } from './components/ThemeSwitcher';
|
|
|
3
3
|
export { ThemeSelector } from './components/ThemeSelector';
|
|
4
4
|
export { SpacemanThemeProvider, useSpacemanTheme } from './components/SpacemanThemeProvider';
|
|
5
5
|
export { ViteThemeProvider, useViteTheme } from './components/ViteThemeProvider';
|
|
6
|
-
export type { UseThemeAnimationProps, UseThemeAnimationReturn, ThemeSwitcherProps, ThemeSelectorProps, Theme, ColorTheme, } from './types';
|
|
6
|
+
export type { UseThemeAnimationProps, UseThemeAnimationReturn, ThemeSwitcherProps, ThemeSelectorProps, Theme, ColorTheme, SlideDirection, } from './types';
|
|
7
7
|
export type { ViteThemeContextType } from './components/ViteThemeProvider';
|
|
8
8
|
export { ThemeAnimationType } from './types';
|
|
9
9
|
export { injectBaseStyles, getSystemTheme, resolveTheme, supportsViewTransitions, prefersReducedMotion, } from './utils/animations';
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { ThemeSwitcher } from './components/ThemeSwitcher';
|
|
|
3
3
|
export { ThemeSelector } from './components/ThemeSelector';
|
|
4
4
|
export { SpacemanThemeProvider, useSpacemanTheme } from './components/SpacemanThemeProvider';
|
|
5
5
|
export { ViteThemeProvider, useViteTheme } from './components/ViteThemeProvider';
|
|
6
|
-
export type { UseThemeAnimationProps, UseThemeAnimationReturn, ThemeSwitcherProps, ThemeSelectorProps, Theme, ColorTheme, } from './types';
|
|
6
|
+
export type { UseThemeAnimationProps, UseThemeAnimationReturn, ThemeSwitcherProps, ThemeSelectorProps, Theme, ColorTheme, SlideDirection, } from './types';
|
|
7
7
|
export type { ViteThemeContextType } from './components/ViteThemeProvider';
|
|
8
8
|
export { ThemeAnimationType } from './types';
|
|
9
9
|
export { injectBaseStyles, getSystemTheme, resolveTheme, supportsViewTransitions, prefersReducedMotion, } from './utils/animations';
|