@arch-cadre/ui 0.0.10 → 0.0.15
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/build.config.ts +23 -0
- package/dist/components/.gitkeep +0 -0
- package/dist/components/accordion.cjs +62 -0
- package/dist/components/accordion.d.ts +7 -0
- package/dist/components/accordion.mjs +58 -0
- package/dist/components/alert-dialog.cjs +127 -0
- package/dist/components/alert-dialog.d.ts +14 -0
- package/dist/components/alert-dialog.mjs +144 -0
- package/dist/components/alert.cjs +58 -0
- package/dist/components/alert.d.ts +9 -0
- package/dist/components/alert.mjs +62 -0
- package/dist/components/aspect-ratio.cjs +19 -0
- package/dist/components/aspect-ratio.d.ts +4 -0
- package/dist/components/aspect-ratio.mjs +9 -0
- package/dist/components/avatar.cjs +44 -0
- package/dist/components/avatar.d.ts +6 -0
- package/dist/components/avatar.mjs +50 -0
- package/dist/components/badge.cjs +41 -0
- package/dist/components/badge.d.ts +9 -0
- package/dist/components/badge.mjs +37 -0
- package/dist/components/breadcrumb.cjs +106 -0
- package/dist/components/breadcrumb.d.ts +11 -0
- package/dist/components/breadcrumb.mjs +105 -0
- package/dist/components/button-group.cjs +65 -0
- package/dist/components/button-group.d.ts +12 -0
- package/dist/components/button-group.mjs +76 -0
- package/dist/components/button.cjs +57 -0
- package/dist/components/button.d.ts +10 -0
- package/dist/components/button.mjs +51 -0
- package/dist/components/calendar.cjs +143 -0
- package/dist/components/calendar.d.ts +8 -0
- package/dist/components/calendar.mjs +191 -0
- package/dist/components/card.cjs +86 -0
- package/dist/components/card.d.ts +9 -0
- package/dist/components/card.mjs +90 -0
- package/dist/components/checkbox.cjs +28 -0
- package/dist/components/checkbox.d.ts +4 -0
- package/dist/components/checkbox.mjs +30 -0
- package/dist/components/collapsible.cjs +37 -0
- package/dist/components/collapsible.d.ts +6 -0
- package/dist/components/collapsible.mjs +31 -0
- package/dist/components/command.cjs +125 -0
- package/dist/components/command.d.ts +18 -0
- package/dist/components/command.mjs +169 -0
- package/dist/components/context-menu.cjs +188 -0
- package/dist/components/context-menu.d.ts +25 -0
- package/dist/components/context-menu.mjs +218 -0
- package/dist/components/dialog.cjs +123 -0
- package/dist/components/dialog.d.ts +15 -0
- package/dist/components/dialog.mjs +130 -0
- package/dist/components/drawer.cjs +118 -0
- package/dist/components/drawer.d.ts +13 -0
- package/dist/components/drawer.mjs +124 -0
- package/dist/components/dropdown-menu.cjs +190 -0
- package/dist/components/dropdown-menu.d.ts +25 -0
- package/dist/components/dropdown-menu.mjs +226 -0
- package/dist/components/empty.cjs +92 -0
- package/dist/components/empty.d.ts +12 -0
- package/dist/components/empty.mjs +102 -0
- package/dist/components/field.cjs +173 -0
- package/dist/components/field.d.ts +25 -0
- package/dist/components/field.mjs +228 -0
- package/dist/components/form.cjs +143 -0
- package/dist/components/form.d.ts +23 -0
- package/dist/components/form.mjs +123 -0
- package/dist/components/hover-card.cjs +46 -0
- package/dist/components/hover-card.d.ts +6 -0
- package/dist/components/hover-card.mjs +35 -0
- package/dist/components/input-group.cjs +130 -0
- package/dist/components/input-group.d.ts +16 -0
- package/dist/components/input-group.mjs +155 -0
- package/dist/components/input-otp.cjs +69 -0
- package/dist/components/input-otp.d.ts +11 -0
- package/dist/components/input-otp.mjs +59 -0
- package/dist/components/input.cjs +22 -0
- package/dist/components/input.d.ts +3 -0
- package/dist/components/input.mjs +19 -0
- package/dist/components/item.cjs +168 -0
- package/dist/components/item.d.ts +23 -0
- package/dist/components/item.mjs +187 -0
- package/dist/components/kbd.cjs +31 -0
- package/dist/components/kbd.d.ts +4 -0
- package/dist/components/kbd.mjs +28 -0
- package/dist/components/label.cjs +22 -0
- package/dist/components/label.d.ts +4 -0
- package/dist/components/label.mjs +21 -0
- package/dist/components/language-switcher.cjs +43 -0
- package/dist/components/language-switcher.d.ts +2 -0
- package/dist/components/language-switcher.mjs +30 -0
- package/dist/components/menubar.cjs +207 -0
- package/dist/components/menubar.d.ts +26 -0
- package/dist/components/menubar.mjs +246 -0
- package/dist/components/navigation-menu.cjs +113 -0
- package/dist/components/navigation-menu.d.ts +14 -0
- package/dist/components/navigation-menu.mjs +166 -0
- package/dist/components/pagination.cjs +106 -0
- package/dist/components/pagination.d.ts +15 -0
- package/dist/components/pagination.mjs +116 -0
- package/dist/components/popover.cjs +53 -0
- package/dist/components/popover.d.ts +7 -0
- package/dist/components/popover.mjs +40 -0
- package/dist/components/progress.cjs +29 -0
- package/dist/components/progress.d.ts +4 -0
- package/dist/components/progress.mjs +30 -0
- package/dist/components/radio-group.cjs +39 -0
- package/dist/components/radio-group.d.ts +5 -0
- package/dist/components/radio-group.mjs +43 -0
- package/dist/components/scroll-area.cjs +45 -0
- package/dist/components/scroll-area.d.ts +7 -0
- package/dist/components/scroll-area.mjs +59 -0
- package/dist/components/select.cjs +140 -0
- package/dist/components/select.d.ts +15 -0
- package/dist/components/select.mjs +173 -0
- package/dist/components/separator.cjs +26 -0
- package/dist/components/separator.d.ts +4 -0
- package/dist/components/separator.mjs +25 -0
- package/dist/components/sheet.cjs +120 -0
- package/dist/components/sheet.d.ts +13 -0
- package/dist/components/sheet.mjs +119 -0
- package/dist/components/sidebar.cjs +508 -0
- package/dist/components/sidebar.d.ts +69 -0
- package/dist/components/sidebar.mjs +635 -0
- package/dist/components/skeleton.cjs +20 -0
- package/dist/components/skeleton.d.ts +3 -0
- package/dist/components/skeleton.mjs +13 -0
- package/dist/components/slider.cjs +43 -0
- package/dist/components/slider.d.ts +4 -0
- package/dist/components/slider.mjs +59 -0
- package/dist/components/sonner.cjs +49 -0
- package/dist/components/sonner.d.ts +4 -0
- package/dist/components/sonner.mjs +36 -0
- package/dist/components/spinner.cjs +22 -0
- package/dist/components/spinner.d.ts +3 -0
- package/dist/components/spinner.mjs +15 -0
- package/dist/components/switch.cjs +25 -0
- package/dist/components/switch.d.ts +4 -0
- package/dist/components/switch.mjs +30 -0
- package/dist/components/table.cjs +101 -0
- package/dist/components/table.d.ts +10 -0
- package/dist/components/table.mjs +115 -0
- package/dist/components/tabs.cjs +55 -0
- package/dist/components/tabs.d.ts +7 -0
- package/dist/components/tabs.mjs +63 -0
- package/dist/components/textarea.cjs +20 -0
- package/dist/components/textarea.d.ts +3 -0
- package/dist/components/textarea.mjs +16 -0
- package/dist/components/toggle-group.cjs +65 -0
- package/dist/components/toggle-group.d.ts +9 -0
- package/dist/components/toggle-group.mjs +65 -0
- package/dist/components/toggle.cjs +47 -0
- package/dist/components/toggle.d.ts +9 -0
- package/dist/components/toggle.mjs +41 -0
- package/dist/components/tooltip.cjs +56 -0
- package/dist/components/tooltip.d.ts +7 -0
- package/dist/components/tooltip.mjs +49 -0
- package/dist/hooks/.gitkeep +0 -0
- package/dist/hooks/use-mobile.cjs +23 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-mobile.mjs +17 -0
- package/dist/hooks/use-user.cjs +21 -0
- package/dist/hooks/use-user.d.ts +12 -0
- package/dist/hooks/use-user.mjs +12 -0
- package/dist/index.cjs +155 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.mjs +13 -0
- package/dist/lib/utils.cjs +11 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.mjs +5 -0
- package/dist/logo.cjs +49 -0
- package/dist/logo.d.ts +15 -0
- package/dist/logo.mjs +32 -0
- package/dist/postcss.config.cjs +13 -0
- package/dist/postcss.config.d.mts +3 -0
- package/dist/postcss.config.mjs +6 -0
- package/dist/providers/auth-provider.cjs +44 -0
- package/dist/providers/auth-provider.d.ts +15 -0
- package/dist/providers/auth-provider.mjs +37 -0
- package/dist/providers/index.cjs +47 -0
- package/dist/providers/index.d.ts +7 -0
- package/dist/providers/index.mjs +33 -0
- package/dist/shared/access-denied.cjs +38 -0
- package/dist/shared/access-denied.d.ts +2 -0
- package/dist/shared/access-denied.mjs +12 -0
- package/dist/shared/loader.cjs +95 -0
- package/dist/shared/loader.d.ts +11 -0
- package/dist/shared/loader.mjs +98 -0
- package/dist/shared/page-loader.cjs +23 -0
- package/dist/shared/page-loader.d.ts +7 -0
- package/dist/shared/page-loader.mjs +6 -0
- package/dist/shared/scroll-fade-effect.cjs +21 -0
- package/dist/shared/scroll-fade-effect.d.ts +4 -0
- package/dist/shared/scroll-fade-effect.mjs +20 -0
- package/dist/styles/globals.css +1 -0
- package/package.json +58 -49
- package/scripts/switchToDist.js +55 -0
- package/scripts/switchToSrc.js +52 -0
- package/src/components/accordion.tsx +2 -2
- package/src/components/alert-dialog.tsx +1 -1
- package/src/components/alert.tsx +1 -1
- package/src/components/aspect-ratio.tsx +2 -1
- package/src/components/avatar.tsx +1 -1
- package/src/components/badge.tsx +3 -3
- package/src/components/breadcrumb.tsx +5 -3
- package/src/components/button-group.tsx +4 -2
- package/src/components/button.tsx +3 -3
- package/src/components/calendar.tsx +2 -2
- package/src/components/checkbox.tsx +2 -2
- package/src/components/collapsible.tsx +2 -1
- package/src/components/command.tsx +1 -1
- package/src/components/context-menu.tsx +2 -2
- package/src/components/dialog.tsx +2 -2
- package/src/components/dropdown-menu.tsx +2 -2
- package/src/components/empty.tsx +1 -0
- package/src/components/field.tsx +5 -2
- package/src/components/form.tsx +9 -7
- package/src/components/hover-card.tsx +1 -1
- package/src/components/input-group.tsx +1 -1
- package/src/components/input-otp.tsx +1 -1
- package/src/components/item.tsx +3 -3
- package/src/components/kbd.tsx +1 -0
- package/src/components/label.tsx +1 -1
- package/src/components/language-switcher.tsx +16 -17
- package/src/components/menubar.tsx +2 -2
- package/src/components/navigation-menu.tsx +2 -2
- package/src/components/pagination.tsx +5 -2
- package/src/components/popover.tsx +1 -1
- package/src/components/progress.tsx +1 -1
- package/src/components/radio-group.tsx +2 -2
- package/src/components/scroll-area.tsx +1 -1
- package/src/components/select.tsx +2 -2
- package/src/components/separator.tsx +1 -1
- package/src/components/sheet.tsx +2 -2
- package/src/components/sidebar.tsx +6 -6
- package/src/components/skeleton.tsx +1 -0
- package/src/components/slider.tsx +1 -1
- package/src/components/sonner.tsx +1 -0
- package/src/components/spinner.tsx +1 -0
- package/src/components/switch.tsx +1 -1
- package/src/components/tabs.tsx +1 -1
- package/src/components/toggle-group.tsx +2 -2
- package/src/components/toggle.tsx +2 -2
- package/src/components/tooltip.tsx +1 -1
- package/src/hooks/use-user.ts +2 -2
- package/src/index.ts +8 -5
- package/src/logo.tsx +1 -0
- package/src/providers/auth-provider.tsx +7 -6
- package/src/providers/index.tsx +1 -0
- package/src/shared/access-denied.tsx +1 -0
- package/src/shared/loader.tsx +2 -1
- package/src/shared/page-loader.tsx +1 -0
- package/src/shared/scroll-fade-effect.tsx +1 -1
- package/src/styles/globals.css +258 -244
- package/biome.json +0 -38
- package/src/components/carousel.tsx +0 -241
- package/src/components/chart.tsx +0 -357
- package/tsconfig.build.json +0 -16
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import type { AuthSession } from "@arch-cadre/core";
|
|
4
|
+
import * as React from "react";
|
|
4
5
|
import { createContext, type ReactNode, useEffect, useState } from "react";
|
|
5
6
|
import { mutate } from "swr";
|
|
6
7
|
import { PageLoader } from "../shared/page-loader";
|
|
7
8
|
|
|
8
9
|
export const AuthContext = createContext<
|
|
9
10
|
| {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
user: AuthSession["user"] | null | undefined;
|
|
12
|
+
session: AuthSession["session"] | null | undefined;
|
|
13
|
+
kryoPrefix: string;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
refetchUser: () => Promise<void>;
|
|
16
|
+
}
|
|
16
17
|
| undefined
|
|
17
18
|
>(undefined);
|
|
18
19
|
|
package/src/providers/index.tsx
CHANGED
package/src/shared/loader.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Slot } from "@radix-ui/react-slot";
|
|
2
2
|
import type { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
+
import * as React from "react";
|
|
4
5
|
import { cn } from "../lib/utils";
|
|
5
6
|
|
|
6
7
|
const loaderVariants = cva("spinner", {
|
|
@@ -58,7 +59,7 @@ function Loader({
|
|
|
58
59
|
}
|
|
59
60
|
`}
|
|
60
61
|
</style>
|
|
61
|
-
{/** biome-ignore lint/a11y/noSvgWithoutTitle: <
|
|
62
|
+
{/** biome-ignore lint/a11y/noSvgWithoutTitle: <all> */}
|
|
62
63
|
<svg
|
|
63
64
|
xmlns="http://www.w3.org/2000/svg"
|
|
64
65
|
viewBox="0 0 24 24"
|
package/src/styles/globals.css
CHANGED
|
@@ -8,293 +8,307 @@
|
|
|
8
8
|
@custom-variant dark (&:is(.dark *));
|
|
9
9
|
|
|
10
10
|
@theme inline {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
11
|
+
--container: 1024px;
|
|
12
|
+
|
|
13
|
+
--color-background: var(--background);
|
|
14
|
+
--color-foreground: var(--foreground);
|
|
15
|
+
|
|
16
|
+
--font-sans: var(--font-syne-sans);
|
|
17
|
+
--font-mono: var(--font-syne-mono);
|
|
18
|
+
|
|
19
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
20
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
21
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
22
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
23
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
24
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
25
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
26
|
+
--color-sidebar: var(--sidebar);
|
|
27
|
+
--color-chart-5: var(--chart-5);
|
|
28
|
+
--color-chart-4: var(--chart-4);
|
|
29
|
+
--color-chart-3: var(--chart-3);
|
|
30
|
+
--color-chart-2: var(--chart-2);
|
|
31
|
+
--color-chart-1: var(--chart-1);
|
|
32
|
+
--color-ring: var(--ring);
|
|
33
|
+
--color-input: var(--input);
|
|
34
|
+
--color-border: var(--border);
|
|
35
|
+
--color-destructive: var(--destructive);
|
|
36
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
37
|
+
--color-accent: var(--accent);
|
|
38
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
39
|
+
--color-muted: var(--muted);
|
|
40
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
41
|
+
--color-secondary: var(--secondary);
|
|
42
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
43
|
+
--color-primary: var(--primary);
|
|
44
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
45
|
+
--color-popover: var(--popover);
|
|
46
|
+
--color-card-foreground: var(--card-foreground);
|
|
47
|
+
--color-card: var(--card);
|
|
48
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
49
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
50
|
+
--radius-lg: var(--radius);
|
|
51
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
52
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
53
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
54
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
:root {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
58
|
+
--radius: 0.5rem;
|
|
59
|
+
--background: oklch(0.985 0 0);
|
|
60
|
+
--foreground: oklch(0.24 0.06 245.57);
|
|
61
|
+
--card: oklch(1 0 0);
|
|
62
|
+
--card-foreground: oklch(0.24 0.06 245.57);
|
|
63
|
+
--popover: oklch(1 0 0);
|
|
64
|
+
--popover-foreground: oklch(0.24 0.06 245.57);
|
|
65
|
+
--primary: oklch(0.24 0.06 245.57);
|
|
66
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
67
|
+
--secondary: oklch(0.97 0 0);
|
|
68
|
+
--secondary-foreground: oklch(0.24 0.06 245.57);
|
|
69
|
+
--muted: oklch(0.97 0 0);
|
|
70
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
71
|
+
--accent: oklch(0.97 0 0);
|
|
72
|
+
--accent-foreground: oklch(0.24 0.06 245.57);
|
|
73
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
74
|
+
--border: oklch(0.922 0 0);
|
|
75
|
+
--input: oklch(0.922 0 0);
|
|
76
|
+
--ring: oklch(0.708 0 0);
|
|
77
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
78
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
79
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
80
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
81
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
82
|
+
--sidebar: oklch(1 0 0);
|
|
83
|
+
--sidebar-foreground: oklch(0.24 0.06 245.57);
|
|
84
|
+
--sidebar-primary: oklch(0.24 0.06 245.57);
|
|
85
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
86
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
87
|
+
--sidebar-accent-foreground: oklch(0.24 0.06 245.57);
|
|
88
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
89
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.dark {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
93
|
+
--background: oklch(0.145 0 0);
|
|
94
|
+
--foreground: oklch(0.985 0 0);
|
|
95
|
+
--card: oklch(0.205 0 0);
|
|
96
|
+
--card-foreground: oklch(0.985 0 0);
|
|
97
|
+
--popover: oklch(0.205 0 0);
|
|
98
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
99
|
+
--primary: oklch(0.922 0 0);
|
|
100
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
101
|
+
--secondary: oklch(0.269 0 0);
|
|
102
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
103
|
+
--muted: oklch(0.269 0 0);
|
|
104
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
105
|
+
--accent: oklch(0.269 0 0);
|
|
106
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
107
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
108
|
+
--border: oklch(1 0 0 / 10%);
|
|
109
|
+
--input: oklch(1 0 0 / 15%);
|
|
110
|
+
--ring: oklch(0.556 0 0);
|
|
111
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
112
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
113
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
114
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
115
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
116
|
+
--sidebar: oklch(0.205 0 0);
|
|
117
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
118
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
119
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
120
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
121
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
122
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
123
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
@layer
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
@apply bg-background text-foreground;
|
|
132
|
-
}
|
|
126
|
+
@layer utilities {
|
|
127
|
+
/* Squircle style with fallback */
|
|
128
|
+
.squircle {
|
|
129
|
+
border-radius: 1rem;
|
|
130
|
+
}
|
|
133
131
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
opacity: 0.1;
|
|
139
|
-
filter: url(#grain);
|
|
140
|
-
background: #000;
|
|
141
|
-
width: 100%;
|
|
142
|
-
height: 100%;
|
|
143
|
-
position: fixed;
|
|
144
|
-
top: 0;
|
|
145
|
-
left: 0;
|
|
132
|
+
@supports (corner-shape: squircle) {
|
|
133
|
+
.squircle {
|
|
134
|
+
border-radius: 2rem;
|
|
135
|
+
corner-shape: squircle;
|
|
146
136
|
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
147
139
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
width: 100%;
|
|
156
|
-
height: 100%;
|
|
157
|
-
position: fixed;
|
|
158
|
-
top: 0;
|
|
159
|
-
left: 0;
|
|
160
|
-
}
|
|
140
|
+
@layer base {
|
|
141
|
+
* {
|
|
142
|
+
@apply border-border outline-ring/50;
|
|
143
|
+
}
|
|
144
|
+
body {
|
|
145
|
+
@apply bg-background text-foreground;
|
|
146
|
+
}
|
|
161
147
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
148
|
+
body:before {
|
|
149
|
+
content: "";
|
|
150
|
+
z-index: 1;
|
|
151
|
+
pointer-events: none;
|
|
152
|
+
opacity: 0.1;
|
|
153
|
+
filter: url(#grain);
|
|
154
|
+
background: #000;
|
|
155
|
+
width: 100%;
|
|
156
|
+
height: 100%;
|
|
157
|
+
position: fixed;
|
|
158
|
+
top: 0;
|
|
159
|
+
left: 0;
|
|
160
|
+
}
|
|
168
161
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
162
|
+
[data-slot="sidebar-wrapper"]:before {
|
|
163
|
+
content: "";
|
|
164
|
+
z-index: 51;
|
|
165
|
+
pointer-events: none;
|
|
166
|
+
opacity: 0.1;
|
|
167
|
+
filter: url(#grain);
|
|
168
|
+
background: #000;
|
|
169
|
+
width: 100%;
|
|
170
|
+
height: 100%;
|
|
171
|
+
position: fixed;
|
|
172
|
+
top: 0;
|
|
173
|
+
left: 0;
|
|
174
|
+
}
|
|
174
175
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
svg.grain-noise {
|
|
177
|
+
z-index: -1;
|
|
178
|
+
width: 0;
|
|
179
|
+
height: 0;
|
|
180
|
+
position: absolute;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.container {
|
|
184
|
+
max-width: var(--container);
|
|
185
|
+
margin: 0 auto;
|
|
186
|
+
@apply px-4 sm:px-6 lg:px-8;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@keyframes show-top-mask {
|
|
190
|
+
to {
|
|
191
|
+
--top-mask-height: var(--mask-height);
|
|
179
192
|
}
|
|
193
|
+
}
|
|
180
194
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}
|
|
195
|
+
@keyframes hide-bottom-mask {
|
|
196
|
+
to {
|
|
197
|
+
--bottom-mask-height: 0px;
|
|
185
198
|
}
|
|
199
|
+
}
|
|
186
200
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
201
|
+
@keyframes show-left-mask {
|
|
202
|
+
to {
|
|
203
|
+
--left-mask-width: var(--mask-width);
|
|
191
204
|
}
|
|
205
|
+
}
|
|
192
206
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
207
|
+
@keyframes hide-right-mask {
|
|
208
|
+
to {
|
|
209
|
+
--right-mask-width: 0px;
|
|
197
210
|
}
|
|
211
|
+
}
|
|
198
212
|
}
|
|
199
213
|
|
|
200
214
|
@property --top-mask-height {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
215
|
+
syntax: "<length>";
|
|
216
|
+
inherits: true;
|
|
217
|
+
initial-value: 0px;
|
|
204
218
|
}
|
|
205
219
|
|
|
206
220
|
@property --bottom-mask-height {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
221
|
+
syntax: "<length>";
|
|
222
|
+
inherits: true;
|
|
223
|
+
initial-value: 64px;
|
|
210
224
|
}
|
|
211
225
|
|
|
212
226
|
@property --left-mask-width {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
227
|
+
syntax: "<length>";
|
|
228
|
+
inherits: true;
|
|
229
|
+
initial-value: 0px;
|
|
216
230
|
}
|
|
217
231
|
|
|
218
232
|
@property --right-mask-width {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
233
|
+
syntax: "<length>";
|
|
234
|
+
inherits: true;
|
|
235
|
+
initial-value: 64px;
|
|
222
236
|
}
|
|
223
237
|
|
|
224
238
|
@utility scroll-fade-effect-y {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
239
|
+
--mask-height: 64px;
|
|
240
|
+
--mask-offset-top: 0px;
|
|
241
|
+
--mask-offset-bottom: 0px;
|
|
242
|
+
--scroll-buffer: 2rem;
|
|
243
|
+
|
|
244
|
+
/* Set up the mask layers */
|
|
245
|
+
mask-image:
|
|
246
|
+
linear-gradient(to top, transparent, black 90%),
|
|
247
|
+
linear-gradient(to bottom, transparent 0%, black 100%),
|
|
248
|
+
linear-gradient(black, black);
|
|
249
|
+
|
|
250
|
+
mask-size:
|
|
251
|
+
100% var(--top-mask-height),
|
|
252
|
+
100% var(--bottom-mask-height),
|
|
253
|
+
100% 100%;
|
|
254
|
+
mask-repeat: no-repeat, no-repeat, no-repeat;
|
|
255
|
+
mask-position:
|
|
256
|
+
0 var(--mask-offset-top),
|
|
257
|
+
0 calc(100% - var(--mask-offset-bottom)),
|
|
258
|
+
0 0;
|
|
259
|
+
/* Exclude the gradient areas from the solid mask */
|
|
260
|
+
mask-composite: exclude;
|
|
261
|
+
|
|
262
|
+
animation-name: show-top-mask, hide-bottom-mask;
|
|
263
|
+
animation-timeline: scroll(self), scroll(self);
|
|
264
|
+
animation-range:
|
|
265
|
+
0 var(--scroll-buffer),
|
|
266
|
+
calc(100% - var(--scroll-buffer)) 100%;
|
|
267
|
+
animation-fill-mode: both;
|
|
254
268
|
}
|
|
255
269
|
|
|
256
270
|
@utility scroll-fade-effect-x {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
271
|
+
--mask-width: 64px;
|
|
272
|
+
--mask-offset-left: 0px;
|
|
273
|
+
--mask-offset-right: 0px;
|
|
274
|
+
--scroll-buffer: 2rem;
|
|
275
|
+
|
|
276
|
+
mask-image:
|
|
277
|
+
linear-gradient(to left, transparent, black 90%),
|
|
278
|
+
linear-gradient(to right, transparent 0%, black 100%),
|
|
279
|
+
linear-gradient(black, black);
|
|
280
|
+
|
|
281
|
+
mask-size:
|
|
282
|
+
var(--left-mask-width) 100%,
|
|
283
|
+
var(--right-mask-width) 100%,
|
|
284
|
+
100% 100%;
|
|
285
|
+
mask-repeat: no-repeat, no-repeat, no-repeat;
|
|
286
|
+
mask-position:
|
|
287
|
+
var(--mask-offset-left) 0,
|
|
288
|
+
calc(100% - var(--mask-offset-right)) 0,
|
|
289
|
+
0 0;
|
|
290
|
+
mask-composite: exclude;
|
|
291
|
+
|
|
292
|
+
animation-name: show-left-mask, hide-right-mask;
|
|
293
|
+
animation-timeline: scroll(self inline), scroll(self inline);
|
|
294
|
+
animation-range:
|
|
295
|
+
0 var(--scroll-buffer),
|
|
296
|
+
calc(100% - var(--scroll-buffer)) 100%;
|
|
297
|
+
animation-fill-mode: both;
|
|
284
298
|
}
|
|
285
299
|
|
|
286
300
|
@keyframes progress-fast {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
301
|
+
0% {
|
|
302
|
+
transform: translateX(-100%);
|
|
303
|
+
}
|
|
304
|
+
50% {
|
|
305
|
+
transform: translateX(-20%);
|
|
306
|
+
}
|
|
307
|
+
100% {
|
|
308
|
+
transform: translateX(100%);
|
|
309
|
+
}
|
|
296
310
|
}
|
|
297
311
|
|
|
298
312
|
.animate-progress-fast {
|
|
299
|
-
|
|
313
|
+
animation: progress-fast 1.5s infinite linear;
|
|
300
314
|
}
|
package/biome.json
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": false,
|
|
3
|
-
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
|
|
4
|
-
"vcs": {
|
|
5
|
-
"enabled": true,
|
|
6
|
-
"clientKind": "git",
|
|
7
|
-
"useIgnoreFile": true
|
|
8
|
-
},
|
|
9
|
-
"files": {
|
|
10
|
-
"ignoreUnknown": true,
|
|
11
|
-
"includes": ["**", "!node_modules", "!.next", "!dist", "!build"]
|
|
12
|
-
},
|
|
13
|
-
"formatter": {
|
|
14
|
-
"enabled": true,
|
|
15
|
-
"indentStyle": "space",
|
|
16
|
-
"indentWidth": 2
|
|
17
|
-
},
|
|
18
|
-
"linter": {
|
|
19
|
-
"enabled": true,
|
|
20
|
-
"rules": {
|
|
21
|
-
"recommended": true,
|
|
22
|
-
"suspicious": {
|
|
23
|
-
"noUnknownAtRules": "off"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"domains": {
|
|
27
|
-
"next": "recommended",
|
|
28
|
-
"react": "recommended"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"assist": {
|
|
32
|
-
"actions": {
|
|
33
|
-
"source": {
|
|
34
|
-
"organizeImports": "on"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|