@infuro/cms-core 1.0.5 → 1.0.7

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/admin.css CHANGED
@@ -1,10 +1,7 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
1
  /* Admin only: design tokens (sidebar, UI). No public-site tokens. */
2
+
6
3
  @layer base {
7
- :root {
4
+ :root {
8
5
  --background: 0 0% 100%;
9
6
  --foreground: 0 0% 3.9%;
10
7
  --card: 0 0% 100%;
@@ -33,8 +30,8 @@
33
30
  --sidebar-accent-foreground: 240 5.9% 10%;
34
31
  --sidebar-border: 220 13% 91%;
35
32
  --sidebar-ring: 217.2 91.2% 59.8%;
36
- }
37
- .dark {
33
+ }
34
+ .dark {
38
35
  --background: 0 0% 3.9%;
39
36
  --foreground: 0 0% 98%;
40
37
  --card: 0 0% 3.9%;
@@ -62,14 +59,14 @@
62
59
  --sidebar-accent-foreground: 240 4.8% 95.9%;
63
60
  --sidebar-border: 240 3.7% 15.9%;
64
61
  --sidebar-ring: 217.2 91.2% 59.8%;
65
- }
66
62
  }
67
63
 
68
- @layer base {
69
- * {
70
- @apply border-border outline-ring/50;
71
- }
72
- body {
73
- @apply bg-background text-foreground;
74
- }
64
+ * {
65
+ border-color: hsl(var(--border));
66
+ outline-color: hsl(var(--ring) / 0.5);
67
+ }
68
+ body {
69
+ background-color: hsl(var(--background));
70
+ color: hsl(var(--foreground));
71
+ }
75
72
  }
package/dist/admin.d.cts CHANGED
@@ -95,7 +95,10 @@ declare function AdminShell({ children }: {
95
95
 
96
96
  declare function AdminHeader(): react_jsx_runtime.JSX.Element;
97
97
 
98
- declare function AdminSidebar(): react_jsx_runtime.JSX.Element;
98
+ interface AdminSidebarProps {
99
+ variant?: 'sidebar' | 'drawer';
100
+ }
101
+ declare function AdminSidebar({ variant }: AdminSidebarProps): react_jsx_runtime.JSX.Element;
99
102
 
100
103
  type CrudFilterOption = {
101
104
  value: string;
package/dist/admin.d.ts CHANGED
@@ -95,7 +95,10 @@ declare function AdminShell({ children }: {
95
95
 
96
96
  declare function AdminHeader(): react_jsx_runtime.JSX.Element;
97
97
 
98
- declare function AdminSidebar(): react_jsx_runtime.JSX.Element;
98
+ interface AdminSidebarProps {
99
+ variant?: 'sidebar' | 'drawer';
100
+ }
101
+ declare function AdminSidebar({ variant }: AdminSidebarProps): react_jsx_runtime.JSX.Element;
99
102
 
100
103
  type CrudFilterOption = {
101
104
  value: string;