@sqlrooms/ui 0.0.0 → 0.0.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/CHANGELOG.md +6 -0
- package/package.json +6 -11
- package/.turbo/turbo-build.log +0 -8
- package/.turbo/turbo-lint.log +0 -10
- package/dist/components/DefaultErrorBoundary.d.ts +0 -2
- package/dist/components/DefaultErrorBoundary.d.ts.map +0 -1
- package/dist/components/DefaultErrorBoundary.js +0 -1
- package/dist/components/ProgressModal.d.ts +0 -10
- package/dist/components/ProgressModal.d.ts.map +0 -1
- package/dist/components/ProgressModal.js +0 -7
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/eslint.config.js +0 -4
- package/src/components/accordion.tsx +0 -55
- package/src/components/alert.tsx +0 -59
- package/src/components/badge.tsx +0 -34
- package/src/components/breadcrumb.tsx +0 -115
- package/src/components/button.tsx +0 -55
- package/src/components/card.tsx +0 -76
- package/src/components/checkbox.tsx +0 -28
- package/src/components/dialog.tsx +0 -120
- package/src/components/dropdown-menu.tsx +0 -199
- package/src/components/editable-text.tsx +0 -199
- package/src/components/error-boundary.tsx +0 -48
- package/src/components/error-pane.tsx +0 -81
- package/src/components/form.tsx +0 -176
- package/src/components/input.tsx +0 -22
- package/src/components/label.tsx +0 -24
- package/src/components/popover.tsx +0 -31
- package/src/components/progress-modal.tsx +0 -33
- package/src/components/progress.tsx +0 -26
- package/src/components/resizable.tsx +0 -43
- package/src/components/select.tsx +0 -157
- package/src/components/skeleton-pane.tsx +0 -45
- package/src/components/skeleton.tsx +0 -12
- package/src/components/spinner-pane.tsx +0 -44
- package/src/components/spinner.tsx +0 -16
- package/src/components/switch.tsx +0 -27
- package/src/components/table.tsx +0 -136
- package/src/components/tabs.tsx +0 -53
- package/src/components/textarea.tsx +0 -21
- package/src/components/toast.tsx +0 -127
- package/src/components/toaster.tsx +0 -33
- package/src/components/tooltip.tsx +0 -29
- package/src/hooks/use-toast.ts +0 -191
- package/src/hooks/useDisclosure.ts +0 -26
- package/src/index.ts +0 -35
- package/src/lib/utils.ts +0 -6
- package/src/tailwind-preset.css +0 -68
- package/src/tailwind-preset.ts +0 -55
- package/tsconfig.json +0 -12
package/src/tailwind-preset.css
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
@tailwind base;
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
@layer base {
|
|
6
|
-
:root {
|
|
7
|
-
--background: 0 0% 100%;
|
|
8
|
-
--foreground: 240 10% 3.9%;
|
|
9
|
-
--card: 0 0% 100%;
|
|
10
|
-
--card-foreground: 240 10% 3.9%;
|
|
11
|
-
--popover: 0 0% 100%;
|
|
12
|
-
--popover-foreground: 240 10% 3.9%;
|
|
13
|
-
--primary: 240 5.9% 10%;
|
|
14
|
-
--primary-foreground: 0 0% 98%;
|
|
15
|
-
--secondary: 240 4.8% 95.9%;
|
|
16
|
-
--secondary-foreground: 240 5.9% 10%;
|
|
17
|
-
--muted: 240 4.8% 95.9%;
|
|
18
|
-
--muted-foreground: 240 3.8% 46.1%;
|
|
19
|
-
--accent: 240 4.8% 95.9%;
|
|
20
|
-
--accent-foreground: 240 5.9% 10%;
|
|
21
|
-
--destructive: 0 84.2% 60.2%;
|
|
22
|
-
--destructive-foreground: 0 0% 98%;
|
|
23
|
-
--border: 240 5.9% 90%;
|
|
24
|
-
--input: 240 5.9% 90%;
|
|
25
|
-
--ring: 240 10% 3.9%;
|
|
26
|
-
--chart-1: 12 76% 61%;
|
|
27
|
-
--chart-2: 173 58% 39%;
|
|
28
|
-
--chart-3: 197 37% 24%;
|
|
29
|
-
--chart-4: 43 74% 66%;
|
|
30
|
-
--chart-5: 27 87% 67%;
|
|
31
|
-
--radius: 0.5rem;
|
|
32
|
-
}
|
|
33
|
-
.dark {
|
|
34
|
-
--background: 240 10% 3.9%;
|
|
35
|
-
--foreground: 0 0% 98%;
|
|
36
|
-
--card: 240 10% 3.9%;
|
|
37
|
-
--card-foreground: 0 0% 98%;
|
|
38
|
-
--popover: 240 10% 3.9%;
|
|
39
|
-
--popover-foreground: 0 0% 98%;
|
|
40
|
-
--primary: 0 0% 98%;
|
|
41
|
-
--primary-foreground: 240 5.9% 10%;
|
|
42
|
-
--secondary: 240 3.7% 15.9%;
|
|
43
|
-
--secondary-foreground: 0 0% 98%;
|
|
44
|
-
--muted: 240 3.7% 15.9%;
|
|
45
|
-
--muted-foreground: 240 5% 64.9%;
|
|
46
|
-
--accent: 240 3.7% 15.9%;
|
|
47
|
-
--accent-foreground: 0 0% 98%;
|
|
48
|
-
--destructive: 0 62.8% 30.6%;
|
|
49
|
-
--destructive-foreground: 0 0% 98%;
|
|
50
|
-
--border: 240 3.7% 15.9%;
|
|
51
|
-
--input: 240 3.7% 15.9%;
|
|
52
|
-
--ring: 240 4.9% 83.9%;
|
|
53
|
-
--chart-1: 220 70% 50%;
|
|
54
|
-
--chart-2: 160 60% 45%;
|
|
55
|
-
--chart-3: 30 80% 55%;
|
|
56
|
-
--chart-4: 280 65% 60%;
|
|
57
|
-
--chart-5: 340 75% 55%;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@layer base {
|
|
62
|
-
* {
|
|
63
|
-
@apply border-border;
|
|
64
|
-
}
|
|
65
|
-
body {
|
|
66
|
-
@apply bg-background text-foreground;
|
|
67
|
-
}
|
|
68
|
-
}
|
package/src/tailwind-preset.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import {Config} from 'tailwindcss';
|
|
2
|
-
import tailwindAnimate from 'tailwindcss-animate';
|
|
3
|
-
export const sqlroomsTailwindPreset = ({
|
|
4
|
-
prefix = '',
|
|
5
|
-
}: {
|
|
6
|
-
prefix?: string;
|
|
7
|
-
}): Partial<Config> => ({
|
|
8
|
-
prefix,
|
|
9
|
-
darkMode: ['class'],
|
|
10
|
-
theme: {
|
|
11
|
-
extend: {
|
|
12
|
-
colors: {
|
|
13
|
-
border: 'hsl(var(--border))',
|
|
14
|
-
input: 'hsl(var(--input))',
|
|
15
|
-
ring: 'hsl(var(--ring))',
|
|
16
|
-
background: 'hsl(var(--background))',
|
|
17
|
-
foreground: 'hsl(var(--foreground))',
|
|
18
|
-
primary: {
|
|
19
|
-
DEFAULT: 'hsl(var(--primary))',
|
|
20
|
-
foreground: 'hsl(var(--primary-foreground))',
|
|
21
|
-
},
|
|
22
|
-
secondary: {
|
|
23
|
-
DEFAULT: 'hsl(var(--secondary))',
|
|
24
|
-
foreground: 'hsl(var(--secondary-foreground))',
|
|
25
|
-
},
|
|
26
|
-
destructive: {
|
|
27
|
-
DEFAULT: 'hsl(var(--destructive))',
|
|
28
|
-
foreground: 'hsl(var(--destructive-foreground))',
|
|
29
|
-
},
|
|
30
|
-
muted: {
|
|
31
|
-
DEFAULT: 'hsl(var(--muted))',
|
|
32
|
-
foreground: 'hsl(var(--muted-foreground))',
|
|
33
|
-
},
|
|
34
|
-
accent: {
|
|
35
|
-
DEFAULT: 'hsl(var(--accent))',
|
|
36
|
-
foreground: 'hsl(var(--accent-foreground))',
|
|
37
|
-
},
|
|
38
|
-
popover: {
|
|
39
|
-
DEFAULT: 'hsl(var(--popover))',
|
|
40
|
-
foreground: 'hsl(var(--popover-foreground))',
|
|
41
|
-
},
|
|
42
|
-
card: {
|
|
43
|
-
DEFAULT: 'hsl(var(--card))',
|
|
44
|
-
foreground: 'hsl(var(--card-foreground))',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
borderRadius: {
|
|
48
|
-
lg: `var(--radius)`,
|
|
49
|
-
md: `calc(var(--radius) - 2px)`,
|
|
50
|
-
sm: 'calc(var(--radius) - 4px)',
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
plugins: [tailwindAnimate],
|
|
55
|
-
});
|
package/tsconfig.json
DELETED