@licheff/dark-mode-switch 0.1.0

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.
@@ -0,0 +1,2 @@
1
+ import { ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
package/dist/main.d.ts ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "@licheff/dark-mode-switch",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "license": "MIT",
6
+ "author": "Todor Lichev",
7
+ "description": "Animated dark mode toggle components for React — ripple, bulb, and CRT variants",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/licheff/dark-mode-switch.git"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "keywords": [
16
+ "react",
17
+ "dark-mode",
18
+ "theme-toggle",
19
+ "animation",
20
+ "tailwind"
21
+ ],
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "main": "./dist/index.cjs.js",
26
+ "module": "./dist/index.es.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "import": "./dist/index.es.js",
31
+ "require": "./dist/index.cjs.js",
32
+ "types": "./dist/index.d.ts"
33
+ },
34
+ "./style.css": "./dist/dark-mode-switch.css"
35
+ },
36
+ "scripts": {
37
+ "dev": "vite",
38
+ "build": "tsc -b && vite build",
39
+ "lint": "eslint .",
40
+ "preview": "vite preview",
41
+ "test": "vitest run",
42
+ "test:watch": "vitest"
43
+ },
44
+ "peerDependencies": {
45
+ "lucide-react": ">=0.400",
46
+ "next-themes": ">=0.3",
47
+ "react": ">=18",
48
+ "react-dom": ">=18"
49
+ },
50
+ "dependencies": {
51
+ "clsx": "^2.1.1",
52
+ "tailwind-merge": "^3.5.0"
53
+ },
54
+ "devDependencies": {
55
+ "@base-ui/react": "^1.3.0",
56
+ "@eslint/js": "^9.39.4",
57
+ "@fontsource-variable/geist": "^5.2.8",
58
+ "@tailwindcss/vite": "^4.2.2",
59
+ "class-variance-authority": "^0.7.1",
60
+ "tailwindcss": "^4.2.2",
61
+ "tw-animate-css": "^1.4.0",
62
+ "@testing-library/jest-dom": "^6.9.1",
63
+ "@testing-library/react": "^16.3.2",
64
+ "@testing-library/user-event": "^14.6.1",
65
+ "@types/node": "^24.12.0",
66
+ "@types/react": "^19.2.14",
67
+ "@types/react-dom": "^19.2.3",
68
+ "@vitejs/plugin-react": "^6.0.1",
69
+ "eslint": "^9.39.4",
70
+ "eslint-plugin-react-hooks": "^7.0.1",
71
+ "eslint-plugin-react-refresh": "^0.5.2",
72
+ "globals": "^17.4.0",
73
+ "jsdom": "^29.0.1",
74
+ "lucide-react": ">=0.400",
75
+ "next-themes": ">=0.3",
76
+ "react": ">=18",
77
+ "react-dom": ">=18",
78
+ "shadcn": "^4.1.1",
79
+ "typescript": "~5.9.3",
80
+ "typescript-eslint": "^8.57.0",
81
+ "vite": "^8.0.1",
82
+ "vite-plugin-dts": "^4.5.4",
83
+ "vitest": "^4.1.2"
84
+ }
85
+ }