@mesob/ui 0.2.0 → 0.2.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/dist/components/alert-dialog.js +22 -22
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/alert.js.map +1 -1
- package/dist/components/animated-tabs.js +1 -1
- package/dist/components/animated-tabs.js.map +1 -1
- package/dist/components/app-header-actions.js +118 -103
- package/dist/components/app-header-actions.js.map +1 -1
- package/dist/components/app-sidebar.js +69 -69
- package/dist/components/app-sidebar.js.map +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/button-group.js.map +1 -1
- package/dist/components/button.d.ts +6 -3
- package/dist/components/button.js +16 -8
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar.js +24 -16
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/card.js +1 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/carousel.js +28 -20
- package/dist/components/carousel.js.map +1 -1
- package/dist/components/command.js +5 -5
- package/dist/components/command.js.map +1 -1
- package/dist/components/context-menu.js +2 -2
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/data-table/index.js +162 -153
- package/dist/components/data-table/index.js.map +1 -1
- package/dist/components/dialog.js +2 -2
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/entity/index.js +261 -256
- package/dist/components/entity/index.js.map +1 -1
- package/dist/components/hover-card.js +1 -1
- package/dist/components/hover-card.js.map +1 -1
- package/dist/components/input-group.js +27 -19
- package/dist/components/input-group.js.map +1 -1
- package/dist/components/item.d.ts +1 -1
- package/dist/components/menubar.js +3 -3
- package/dist/components/menubar.js.map +1 -1
- package/dist/components/navigation-menu.js +1 -1
- package/dist/components/navigation-menu.js.map +1 -1
- package/dist/components/page/index.js +36 -28
- package/dist/components/page/index.js.map +1 -1
- package/dist/components/pagination.js +20 -20
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popover.js.map +1 -1
- package/dist/components/section/index.js +29 -21
- package/dist/components/section/index.js.map +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/select.js.map +1 -1
- package/dist/components/sheet.js +2 -2
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/shell.js +44 -36
- package/dist/components/shell.js.map +1 -1
- package/dist/components/sidebar.js +83 -75
- package/dist/components/sidebar.js.map +1 -1
- package/dist/components/spotlight-search.js +67 -59
- package/dist/components/spotlight-search.js.map +1 -1
- package/dist/components/theme-toggle.js +21 -13
- package/dist/components/theme-toggle.js.map +1 -1
- package/dist/hooks/use-translation.js +3 -2
- package/dist/hooks/use-translation.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +94 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/theme-schema.d.ts +21 -0
- package/dist/lib/theme-schema.js +95 -0
- package/dist/lib/theme-schema.js.map +1 -0
- package/package.json +2 -5
- package/src/styles/globals.css +0 -130
package/src/styles/globals.css
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
@import "tailwindcss";
|
|
2
|
-
@import "tw-animate-css";
|
|
3
|
-
@source "../../../../apps/**/*.{ts,tsx}";
|
|
4
|
-
@source "../../../../demos/**/*.{ts,tsx}";
|
|
5
|
-
@source "../**/*.{ts,tsx}";
|
|
6
|
-
@source "../../../auth-react/src/**/*.{ts,tsx}";
|
|
7
|
-
|
|
8
|
-
@custom-variant dark (&:is(.dark *));
|
|
9
|
-
|
|
10
|
-
:root {
|
|
11
|
-
--background: oklch(1 0 0);
|
|
12
|
-
--foreground: oklch(0.145 0 0);
|
|
13
|
-
--card: oklch(1 0 0);
|
|
14
|
-
--card-foreground: oklch(0.145 0 0);
|
|
15
|
-
--popover: oklch(1 0 0);
|
|
16
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
17
|
-
--primary: oklch(0.205 0 0);
|
|
18
|
-
--primary-foreground: oklch(0.985 0 0);
|
|
19
|
-
--secondary: oklch(0.97 0 0);
|
|
20
|
-
--secondary-foreground: oklch(0.205 0 0);
|
|
21
|
-
--muted: oklch(0.97 0 0);
|
|
22
|
-
--muted-foreground: oklch(0.556 0 0);
|
|
23
|
-
--accent: oklch(0.97 0 0);
|
|
24
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
25
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
26
|
-
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
27
|
-
--border: oklch(0.922 0 0);
|
|
28
|
-
--input: oklch(0.922 0 0);
|
|
29
|
-
--ring: oklch(0.708 0 0);
|
|
30
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
31
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
32
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
33
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
34
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
35
|
-
--radius: 0.625rem;
|
|
36
|
-
--sidebar: oklch(0.985 0 0);
|
|
37
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
|
38
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
39
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
40
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
41
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
42
|
-
--sidebar-active: oklch(0.94 0.04 250);
|
|
43
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
44
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.dark {
|
|
48
|
-
--background: oklch(0.145 0 0);
|
|
49
|
-
--foreground: oklch(0.985 0 0);
|
|
50
|
-
--card: oklch(0.145 0 0);
|
|
51
|
-
--card-foreground: oklch(0.985 0 0);
|
|
52
|
-
--popover: oklch(0.145 0 0);
|
|
53
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
54
|
-
--primary: oklch(0.985 0 0);
|
|
55
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
56
|
-
--secondary: oklch(0.269 0 0);
|
|
57
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
58
|
-
--muted: oklch(0.269 0 0);
|
|
59
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
60
|
-
--accent: oklch(0.269 0 0);
|
|
61
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
62
|
-
--destructive: oklch(0.396 0.141 25.723);
|
|
63
|
-
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
64
|
-
--border: oklch(0.269 0 0);
|
|
65
|
-
--input: oklch(0.269 0 0);
|
|
66
|
-
--ring: oklch(0.556 0 0);
|
|
67
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
|
68
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
69
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
70
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
71
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
72
|
-
--sidebar: oklch(0.205 0 0);
|
|
73
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
|
74
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
75
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
76
|
-
--sidebar-accent: oklch(0.269 0 0);
|
|
77
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
78
|
-
--sidebar-active: oklch(0.28 0.06 264);
|
|
79
|
-
--sidebar-border: oklch(0.269 0 0);
|
|
80
|
-
--sidebar-ring: oklch(0.439 0 0);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@theme inline {
|
|
84
|
-
--color-background: var(--background);
|
|
85
|
-
--color-foreground: var(--foreground);
|
|
86
|
-
--color-card: var(--card);
|
|
87
|
-
--color-card-foreground: var(--card-foreground);
|
|
88
|
-
--color-popover: var(--popover);
|
|
89
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
90
|
-
--color-primary: var(--primary);
|
|
91
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
92
|
-
--color-secondary: var(--secondary);
|
|
93
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
94
|
-
--color-muted: var(--muted);
|
|
95
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
96
|
-
--color-accent: var(--accent);
|
|
97
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
98
|
-
--color-destructive: var(--destructive);
|
|
99
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
100
|
-
--color-border: var(--border);
|
|
101
|
-
--color-input: var(--input);
|
|
102
|
-
--color-ring: var(--ring);
|
|
103
|
-
--color-chart-1: var(--chart-1);
|
|
104
|
-
--color-chart-2: var(--chart-2);
|
|
105
|
-
--color-chart-3: var(--chart-3);
|
|
106
|
-
--color-chart-4: var(--chart-4);
|
|
107
|
-
--color-chart-5: var(--chart-5);
|
|
108
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
109
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
110
|
-
--radius-lg: var(--radius);
|
|
111
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
112
|
-
--color-sidebar: var(--sidebar);
|
|
113
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
114
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
115
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
116
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
117
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
118
|
-
--color-sidebar-active: var(--sidebar-active);
|
|
119
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
120
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@layer base {
|
|
124
|
-
* {
|
|
125
|
-
@apply border-border outline-ring/50;
|
|
126
|
-
}
|
|
127
|
-
body {
|
|
128
|
-
@apply bg-background text-foreground;
|
|
129
|
-
}
|
|
130
|
-
}
|