@unciatech/file-manager 0.0.26 → 0.0.28

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/dist/styles.css CHANGED
@@ -34,30 +34,7 @@
34
34
  --radius: 0.5rem;
35
35
  }
36
36
 
37
- /* ── Dark mode (system preference + manual .dark class) ───────── */
38
- @media (prefers-color-scheme: dark) {
39
- :root {
40
- --color-background: #09090b; /* zinc-950 */
41
- --color-foreground: #fafafa; /* zinc-50 */
42
- --color-card: #09090b;
43
- --color-card-foreground: #fafafa;
44
- --color-popover: #09090b;
45
- --color-popover-foreground:#fafafa;
46
- --color-primary: #2563eb; /* blue-600 */
47
- --color-primary-foreground:#ffffff;
48
- --color-secondary: #27272a; /* zinc-800 */
49
- --color-secondary-foreground:#fafafa;
50
- --color-muted: #18181b; /* zinc-900 */
51
- --color-muted-foreground: #71717a;
52
- --color-accent: #18181b;
53
- --color-accent-foreground: #fafafa;
54
- --color-destructive: #dc2626;
55
- --color-destructive-foreground:#ffffff;
56
- --color-border: #27272a; /* zinc-800 */
57
- --color-input: #27272a;
58
- --color-ring: #52525b; /* zinc-600 */
59
- }
60
- }
37
+
61
38
 
62
39
  /* Manual .dark class (toggle button override) */
63
40
  .dark {
@@ -82,32 +59,4 @@
82
59
  --color-ring: #52525b;
83
60
  }
84
61
 
85
- /* ── Border base reset ────────────────────────────────────────── */
86
- *, *::before, *::after {
87
- border-color: var(--color-border);
88
- }
89
-
90
- /* ── Focus ring ───────────────────────────────────────────────── */
91
- /* Suppress the thick native browser outline on all elements */
92
- *:focus-visible {
93
- outline: 2px solid var(--color-ring);
94
- outline-offset: 2px;
95
- box-shadow: none;
96
- }
97
62
 
98
- /* ── Scrollbar ────────────────────────────────────────────────── */
99
- ::-webkit-scrollbar { width: 5px; }
100
- ::-webkit-scrollbar-track { background: transparent; }
101
- ::-webkit-scrollbar-thumb {
102
- background: var(--color-input);
103
- border-radius: 5px;
104
- }
105
- * {
106
- scrollbar-width: thin;
107
- scrollbar-color: var(--color-input) transparent;
108
- }
109
-
110
- /* ── Smooth scroll ────────────────────────────────────────────── */
111
- html {
112
- scroll-behavior: smooth;
113
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unciatech/file-manager",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "Modern file manager component for React and Next.js",
5
5
  "author": "Avi",
6
6
  "license": "MIT",
@@ -53,7 +53,7 @@
53
53
  "build": "next build",
54
54
  "build:pkg": "tsup && cp styles.css dist/styles.css",
55
55
  "clean": "rm -rf dist .next",
56
- "prepublishOnly": "npm run build:pkg",
56
+ "prepublish": "npm run build:pkg",
57
57
  "release": "npm run build:pkg && npm publish",
58
58
  "lint": "next lint"
59
59
  },
package/styles.css CHANGED
@@ -34,30 +34,7 @@
34
34
  --radius: 0.5rem;
35
35
  }
36
36
 
37
- /* ── Dark mode (system preference + manual .dark class) ───────── */
38
- @media (prefers-color-scheme: dark) {
39
- :root {
40
- --color-background: #09090b; /* zinc-950 */
41
- --color-foreground: #fafafa; /* zinc-50 */
42
- --color-card: #09090b;
43
- --color-card-foreground: #fafafa;
44
- --color-popover: #09090b;
45
- --color-popover-foreground:#fafafa;
46
- --color-primary: #2563eb; /* blue-600 */
47
- --color-primary-foreground:#ffffff;
48
- --color-secondary: #27272a; /* zinc-800 */
49
- --color-secondary-foreground:#fafafa;
50
- --color-muted: #18181b; /* zinc-900 */
51
- --color-muted-foreground: #71717a;
52
- --color-accent: #18181b;
53
- --color-accent-foreground: #fafafa;
54
- --color-destructive: #dc2626;
55
- --color-destructive-foreground:#ffffff;
56
- --color-border: #27272a; /* zinc-800 */
57
- --color-input: #27272a;
58
- --color-ring: #52525b; /* zinc-600 */
59
- }
60
- }
37
+
61
38
 
62
39
  /* Manual .dark class (toggle button override) */
63
40
  .dark {
@@ -82,32 +59,4 @@
82
59
  --color-ring: #52525b;
83
60
  }
84
61
 
85
- /* ── Border base reset ────────────────────────────────────────── */
86
- *, *::before, *::after {
87
- border-color: var(--color-border);
88
- }
89
-
90
- /* ── Focus ring ───────────────────────────────────────────────── */
91
- /* Suppress the thick native browser outline on all elements */
92
- *:focus-visible {
93
- outline: 2px solid var(--color-ring);
94
- outline-offset: 2px;
95
- box-shadow: none;
96
- }
97
62
 
98
- /* ── Scrollbar ────────────────────────────────────────────────── */
99
- ::-webkit-scrollbar { width: 5px; }
100
- ::-webkit-scrollbar-track { background: transparent; }
101
- ::-webkit-scrollbar-thumb {
102
- background: var(--color-input);
103
- border-radius: 5px;
104
- }
105
- * {
106
- scrollbar-width: thin;
107
- scrollbar-color: var(--color-input) transparent;
108
- }
109
-
110
- /* ── Smooth scroll ────────────────────────────────────────────── */
111
- html {
112
- scroll-behavior: smooth;
113
- }