organify-ui 0.2.16 → 0.3.2
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/{chunk-I47BBGVI.js → chunk-A2H2TBSV.js} +16 -34
- package/dist/chunk-A2H2TBSV.js.map +1 -0
- package/dist/{chunk-INKNHHKT.js → chunk-GQZMW7XN.js} +212 -217
- package/dist/chunk-GQZMW7XN.js.map +1 -0
- package/dist/{chunk-HY7M3VZM.js → chunk-MZKEDV5W.js} +9 -9
- package/dist/{chunk-HY7M3VZM.js.map → chunk-MZKEDV5W.js.map} +1 -1
- package/dist/{chunk-5L6BWKVA.js → chunk-RFOKENE3.js} +7 -6
- package/dist/chunk-RFOKENE3.js.map +1 -0
- package/dist/chunk-UGX6D3AO.js +327 -0
- package/dist/chunk-UGX6D3AO.js.map +1 -0
- package/dist/{chunk-ERFN2H75.js → chunk-VHQZS77G.js} +9 -9
- package/dist/chunk-VHQZS77G.js.map +1 -0
- package/dist/components/chat/index.js +3 -3
- package/dist/components/notifications/index.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +23 -33
- package/dist/index.js +176 -187
- package/dist/index.js.map +1 -1
- package/dist/providers/theme-provider.d.ts +2 -2
- package/dist/providers/theme-provider.js +1 -1
- package/dist/tailwind-preset.js +77 -28
- package/dist/tailwind-preset.js.map +1 -1
- package/dist/tokens/index.d.ts +181 -99
- package/dist/tokens/index.js +1 -1
- package/package.json +2 -2
- package/src/globals.css +1007 -366
- package/dist/chunk-5L6BWKVA.js.map +0 -1
- package/dist/chunk-ERFN2H75.js.map +0 -1
- package/dist/chunk-HZXKUGFH.js +0 -271
- package/dist/chunk-HZXKUGFH.js.map +0 -1
- package/dist/chunk-I47BBGVI.js.map +0 -1
- package/dist/chunk-INKNHHKT.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { I18nProvider, createTranslator, useI18n } from './chunk-FQA33MF4.js';
|
|
2
|
-
export { ThemeProvider, useTheme } from './chunk-
|
|
3
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription, Separator, ResponsiveDialog, Label, Input, Textarea, Button, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-
|
|
4
|
-
export { Alert, Button, ChatMessages, ChatSidebar, CreateRoomDialog, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Input, Label, MOCK_PROJECTS, MOCK_USERS, OrgLoader, OrgLoaderInline, OrganifyChat, ResponsiveDialog, RoomManagementPanel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TypingIndicatorMock, alertVariants, buttonVariants, generateAutoReplies, getMockMentionOptions, getRoomPermissions, inputVariants, orgLoaderVariants, typingIndicator, useChat } from './chunk-
|
|
5
|
-
import { Popover, PopoverTrigger, PopoverContent } from './chunk-
|
|
6
|
-
export { NotificationBell, NotificationItem, NotificationList, OrganifyNotifications, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceAvatarStack, PresenceIndicator, useNotifications, usePresence } from './chunk-
|
|
7
|
-
import { cn, Avatar, AvatarImage, AvatarFallback, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Skeleton, useOrganify, useOrganifyGql, ScrollArea, useOrganifyUser, useOrganifyApi, Badge, useOrganifyWorkspace, useOrganifyNavigation, useOrganifyProject } from './chunk-
|
|
8
|
-
export { Avatar, AvatarFallback, AvatarImage, Badge, OrganifyContext, OrganifyProvider, ScrollArea, ScrollBar, Skeleton, SkeletonCard, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, avatarVariants, badgeVariants, cn, useOrganify, useOrganifyApi, useOrganifyGql, useOrganifyNavigation, useOrganifyProject, useOrganifyRest, useOrganifyUser, useOrganifyWorkspace } from './chunk-
|
|
9
|
-
import { OrgDiamond, OrgPlus, OrgComment, OrgEdit, OrgTrash, OrgCheckCircle, OrgAttachment, OrgCalendar, OrgMail, OrgBoard, OrgSprint, OrgRocket, OrgWarning, OrgFlag, OrgShield, OrgZap, OrgStar } from './chunk-
|
|
10
|
-
export { OrgAI, OrgActivity, OrgArrowLeft, OrgArrowRight, OrgAttachment, OrgBell, OrgBoard, OrgCalendar, OrgCelebrate, OrgChart, OrgChat, OrgCheck, OrgCheckCircle, OrgChevronDown, OrgChevronLeft, OrgChevronRight, OrgChevronUp, OrgClock, OrgClose, OrgComment, OrgCopy, OrgCreditCard, OrgDeveloper, OrgDiamond, OrgDoor, OrgDownload, OrgEdit, OrgError, OrgExecutive, OrgEye, OrgEyeOff, OrgFile, OrgFilter, OrgFlag, OrgFolder, OrgGauge, OrgGlobe, OrgGrid, OrgHeart, OrgHome, OrgInfo, OrgIntegration, OrgLink, OrgList, OrgLock, OrgLogo, OrgLogout, OrgMail, OrgMention, OrgMenu, OrgMoon, OrgPMO, OrgPause, OrgPlay, OrgPlus, OrgProjectManager, OrgReport, OrgRocket, OrgSearch, OrgSettings, OrgShield, OrgSort, OrgSprint, OrgStakeholder, OrgStar, OrgSun, OrgTag, OrgTarget, OrgTeam, OrgTrash, OrgTutorial, OrgUnlock, OrgUpload, OrgUser, OrgWarning, OrgWave, OrgWordmark, OrgWorkflow, OrgWorkspace, OrgZap } from './chunk-
|
|
2
|
+
export { ThemeProvider, useTheme } from './chunk-RFOKENE3.js';
|
|
3
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription, Separator, ResponsiveDialog, Label, Input, Textarea, Button, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-GQZMW7XN.js';
|
|
4
|
+
export { Alert, Button, ChatMessages, ChatSidebar, CreateRoomDialog, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Input, Label, MOCK_PROJECTS, MOCK_USERS, OrgLoader, OrgLoaderInline, OrganifyChat, ResponsiveDialog, RoomManagementPanel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TypingIndicatorMock, alertVariants, buttonVariants, generateAutoReplies, getMockMentionOptions, getRoomPermissions, inputVariants, orgLoaderVariants, typingIndicator, useChat } from './chunk-GQZMW7XN.js';
|
|
5
|
+
import { Popover, PopoverTrigger, PopoverContent } from './chunk-A2H2TBSV.js';
|
|
6
|
+
export { NotificationBell, NotificationItem, NotificationList, OrganifyNotifications, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceAvatarStack, PresenceIndicator, useNotifications, usePresence } from './chunk-A2H2TBSV.js';
|
|
7
|
+
import { cn, Avatar, AvatarImage, AvatarFallback, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Skeleton, useOrganify, useOrganifyGql, ScrollArea, useOrganifyUser, useOrganifyApi, Badge, useOrganifyWorkspace, useOrganifyNavigation, useOrganifyProject } from './chunk-VHQZS77G.js';
|
|
8
|
+
export { Avatar, AvatarFallback, AvatarImage, Badge, OrganifyContext, OrganifyProvider, ScrollArea, ScrollBar, Skeleton, SkeletonCard, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, avatarVariants, badgeVariants, cn, useOrganify, useOrganifyApi, useOrganifyGql, useOrganifyNavigation, useOrganifyProject, useOrganifyRest, useOrganifyUser, useOrganifyWorkspace } from './chunk-VHQZS77G.js';
|
|
9
|
+
import { OrgDiamond, OrgPlus, OrgComment, OrgEdit, OrgTrash, OrgCheckCircle, OrgAttachment, OrgCalendar, OrgMail, OrgBoard, OrgSprint, OrgRocket, OrgWarning, OrgFlag, OrgShield, OrgZap, OrgStar } from './chunk-MZKEDV5W.js';
|
|
10
|
+
export { OrgAI, OrgActivity, OrgArrowLeft, OrgArrowRight, OrgAttachment, OrgBell, OrgBoard, OrgCalendar, OrgCelebrate, OrgChart, OrgChat, OrgCheck, OrgCheckCircle, OrgChevronDown, OrgChevronLeft, OrgChevronRight, OrgChevronUp, OrgClock, OrgClose, OrgComment, OrgCopy, OrgCreditCard, OrgDeveloper, OrgDiamond, OrgDoor, OrgDownload, OrgEdit, OrgError, OrgExecutive, OrgEye, OrgEyeOff, OrgFile, OrgFilter, OrgFlag, OrgFolder, OrgGauge, OrgGlobe, OrgGrid, OrgHeart, OrgHome, OrgInfo, OrgIntegration, OrgLink, OrgList, OrgLock, OrgLogo, OrgLogout, OrgMail, OrgMention, OrgMenu, OrgMoon, OrgPMO, OrgPause, OrgPlay, OrgPlus, OrgProjectManager, OrgReport, OrgRocket, OrgSearch, OrgSettings, OrgShield, OrgSort, OrgSprint, OrgStakeholder, OrgStar, OrgSun, OrgTag, OrgTarget, OrgTeam, OrgTrash, OrgTutorial, OrgUnlock, OrgUpload, OrgUser, OrgWarning, OrgWave, OrgWordmark, OrgWorkflow, OrgWorkspace, OrgZap } from './chunk-MZKEDV5W.js';
|
|
11
11
|
import * as React4 from 'react';
|
|
12
12
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
13
13
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -29,7 +29,7 @@ var Toggle = React4.forwardRef(({ className, label, description, ...props }, ref
|
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
className: cn(
|
|
32
|
-
"flex items-center justify-between border border-
|
|
32
|
+
"flex items-center justify-between border border-white/10 bg-white/[0.03] rounded-xl p-4 transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]",
|
|
33
33
|
className
|
|
34
34
|
),
|
|
35
35
|
children: [
|
|
@@ -42,7 +42,7 @@ var Toggle = React4.forwardRef(({ className, label, description, ...props }, ref
|
|
|
42
42
|
{
|
|
43
43
|
id,
|
|
44
44
|
ref,
|
|
45
|
-
className: "peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border border-
|
|
45
|
+
className: "peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border border-white/10 bg-black/40 transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] data-[state=checked]:border-primary-light data-[state=checked]:bg-primary/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-light",
|
|
46
46
|
...props,
|
|
47
47
|
children: /* @__PURE__ */ jsx(SwitchPrimitive.Thumb, { className: "pointer-events-none block h-4 w-4 border border-white/10 bg-white/20 transition-transform data-[state=checked]:translate-x-5 data-[state=checked]:border-white data-[state=checked]:bg-white data-[state=unchecked]:translate-x-0" })
|
|
48
48
|
}
|
|
@@ -56,7 +56,7 @@ var Toggle = React4.forwardRef(({ className, label, description, ...props }, ref
|
|
|
56
56
|
{
|
|
57
57
|
ref,
|
|
58
58
|
className: cn(
|
|
59
|
-
"peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border border-
|
|
59
|
+
"peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border border-white/10 bg-black/40 transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] data-[state=checked]:border-primary-light data-[state=checked]:bg-primary/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-light",
|
|
60
60
|
className
|
|
61
61
|
),
|
|
62
62
|
...props,
|
|
@@ -139,7 +139,7 @@ function UserAvatar({
|
|
|
139
139
|
{
|
|
140
140
|
side: "top",
|
|
141
141
|
className: cn(
|
|
142
|
-
"flex items-center gap-3 rounded-
|
|
142
|
+
"flex items-center gap-3 rounded-xl border border-theme-subtle",
|
|
143
143
|
"bg-card-surface/95 px-4 py-3 shadow-glass-xl backdrop-blur-2xl",
|
|
144
144
|
"max-w-xs"
|
|
145
145
|
),
|
|
@@ -178,7 +178,7 @@ var Progress = React4.forwardRef(({ className, value, showLabel, label, variant
|
|
|
178
178
|
ref,
|
|
179
179
|
className: cn(
|
|
180
180
|
"relative h-1 w-full overflow-hidden",
|
|
181
|
-
variant === "default" ? "bg-
|
|
181
|
+
variant === "default" ? "bg-white/[0.05] rounded-full" : "bg-black/5 rounded-full",
|
|
182
182
|
className
|
|
183
183
|
),
|
|
184
184
|
...props,
|
|
@@ -187,7 +187,7 @@ var Progress = React4.forwardRef(({ className, value, showLabel, label, variant
|
|
|
187
187
|
{
|
|
188
188
|
className: cn(
|
|
189
189
|
"h-full transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]",
|
|
190
|
-
variant === "default" ? "bg-primary-light shadow-[0_0_15px_rgba(
|
|
190
|
+
variant === "default" ? "bg-primary-light shadow-[0_0_15px_rgba(99,102,241,0.8)]" : "bg-primary rounded-full opacity-80"
|
|
191
191
|
),
|
|
192
192
|
style: { width: `${value || 0}%` },
|
|
193
193
|
children: variant === "default" && /* @__PURE__ */ jsx("div", { className: "absolute bottom-0 right-0 top-0 w-1 bg-white" })
|
|
@@ -198,15 +198,15 @@ var Progress = React4.forwardRef(({ className, value, showLabel, label, variant
|
|
|
198
198
|
] }));
|
|
199
199
|
Progress.displayName = "Progress";
|
|
200
200
|
var toastVariants = cva(
|
|
201
|
-
"relative flex w-full min-w-[
|
|
201
|
+
"relative flex w-full min-w-[380px] max-w-md items-start gap-4 backdrop-blur-xl border px-5 py-4 transition-all duration-300 rounded-2xl shadow-2xl bg-white dark:bg-gray-900",
|
|
202
202
|
{
|
|
203
203
|
variants: {
|
|
204
204
|
variant: {
|
|
205
|
-
default: "
|
|
206
|
-
info: "
|
|
207
|
-
success: "
|
|
208
|
-
warning: "
|
|
209
|
-
error: "
|
|
205
|
+
default: "border-gray-200 dark:border-gray-700",
|
|
206
|
+
info: "border-blue-200 dark:border-blue-800/50",
|
|
207
|
+
success: "border-emerald-200 dark:border-emerald-800/50",
|
|
208
|
+
warning: "border-amber-200 dark:border-amber-800/50",
|
|
209
|
+
error: "border-rose-200 dark:border-rose-800/50"
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
defaultVariants: {
|
|
@@ -215,15 +215,15 @@ var toastVariants = cva(
|
|
|
215
215
|
}
|
|
216
216
|
);
|
|
217
217
|
var toastIconVariants = cva(
|
|
218
|
-
"flex h-
|
|
218
|
+
"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full",
|
|
219
219
|
{
|
|
220
220
|
variants: {
|
|
221
221
|
variant: {
|
|
222
|
-
default: "bg-
|
|
223
|
-
info: "bg-blue-
|
|
224
|
-
success: "bg-emerald-
|
|
225
|
-
warning: "bg-amber-
|
|
226
|
-
error: "bg-rose-
|
|
222
|
+
default: "bg-indigo-100 text-indigo-600 dark:bg-indigo-600/20 dark:text-indigo-400",
|
|
223
|
+
info: "bg-blue-100 text-blue-600 dark:bg-blue-600/20 dark:text-blue-400",
|
|
224
|
+
success: "bg-emerald-100 text-emerald-600 dark:bg-emerald-600/20 dark:text-emerald-400",
|
|
225
|
+
warning: "bg-amber-100 text-amber-600 dark:bg-amber-600/20 dark:text-amber-400",
|
|
226
|
+
error: "bg-rose-100 text-rose-600 dark:bg-rose-600/20 dark:text-rose-400"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
defaultVariants: {
|
|
@@ -232,11 +232,11 @@ var toastIconVariants = cva(
|
|
|
232
232
|
}
|
|
233
233
|
);
|
|
234
234
|
var defaultIcons = {
|
|
235
|
-
default: /* @__PURE__ */ jsx(Sparkles, { className: "h-
|
|
236
|
-
info: /* @__PURE__ */ jsx(Info, { className: "h-
|
|
237
|
-
success: /* @__PURE__ */ jsx(CheckCircle2, { className: "h-
|
|
238
|
-
warning: /* @__PURE__ */ jsx(AlertTriangle, { className: "h-
|
|
239
|
-
error: /* @__PURE__ */ jsx(AlertCircle, { className: "h-
|
|
235
|
+
default: /* @__PURE__ */ jsx(Sparkles, { className: "h-5 w-5" }),
|
|
236
|
+
info: /* @__PURE__ */ jsx(Info, { className: "h-5 w-5" }),
|
|
237
|
+
success: /* @__PURE__ */ jsx(CheckCircle2, { className: "h-5 w-5" }),
|
|
238
|
+
warning: /* @__PURE__ */ jsx(AlertTriangle, { className: "h-5 w-5" }),
|
|
239
|
+
error: /* @__PURE__ */ jsx(AlertCircle, { className: "h-5 w-5" })
|
|
240
240
|
};
|
|
241
241
|
function Toast({
|
|
242
242
|
className,
|
|
@@ -254,14 +254,14 @@ function Toast({
|
|
|
254
254
|
return /* @__PURE__ */ jsx("div", { className: "group relative", role: "status", "aria-live": "polite", children: /* @__PURE__ */ jsxs("div", { className: cn(toastVariants({ variant }), className), ...props, children: [
|
|
255
255
|
/* @__PURE__ */ jsx("div", { className: cn(toastIconVariants({ variant })), children: displayIcon }),
|
|
256
256
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
257
|
-
title && /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold text-
|
|
258
|
-
description && /* @__PURE__ */ jsx("p", { className: "text-
|
|
257
|
+
title && /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold text-gray-900 dark:text-white mb-1 leading-tight", children: title }),
|
|
258
|
+
description && /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 leading-relaxed", children: description }),
|
|
259
259
|
children,
|
|
260
260
|
action && /* @__PURE__ */ jsx(
|
|
261
261
|
"button",
|
|
262
262
|
{
|
|
263
263
|
onClick: action.onClick,
|
|
264
|
-
className: "mt-2 text-
|
|
264
|
+
className: "mt-3 px-4 py-2 text-sm font-medium text-white bg-primary hover:bg-primary/90 rounded-lg transition-colors",
|
|
265
265
|
children: action.label
|
|
266
266
|
}
|
|
267
267
|
)
|
|
@@ -270,27 +270,26 @@ function Toast({
|
|
|
270
270
|
"button",
|
|
271
271
|
{
|
|
272
272
|
onClick: onClose,
|
|
273
|
-
className: "flex-shrink-0 p-1 text-
|
|
273
|
+
className: "absolute top-4 right-4 flex-shrink-0 p-1 text-gray-400 dark:text-gray-500 transition-colors hover:text-gray-600 dark:hover:text-gray-300",
|
|
274
274
|
"aria-label": "Dismiss",
|
|
275
|
-
children: /* @__PURE__ */ jsx(X, { className: "h-
|
|
275
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
276
276
|
}
|
|
277
|
-
)
|
|
278
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 rounded-sm shadow-inner-light" })
|
|
277
|
+
)
|
|
279
278
|
] }) });
|
|
280
279
|
}
|
|
281
280
|
function ToastProgress({ value, label, className, ...props }) {
|
|
282
281
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex-1 mt-2", className), ...props, children: [
|
|
283
282
|
label && /* @__PURE__ */ jsxs("div", { className: "mb-1.5 flex items-center justify-between", children: [
|
|
284
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs font-medium text-
|
|
285
|
-
/* @__PURE__ */ jsxs("span", { className: "text-xs font-bold text-
|
|
283
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs font-medium text-gray-900 dark:text-white", children: label }),
|
|
284
|
+
/* @__PURE__ */ jsxs("span", { className: "text-xs font-bold text-gray-500 dark:text-gray-400", children: [
|
|
286
285
|
value,
|
|
287
286
|
"%"
|
|
288
287
|
] })
|
|
289
288
|
] }),
|
|
290
|
-
/* @__PURE__ */ jsx("div", { className: "h-1 w-full overflow-hidden bg-
|
|
289
|
+
/* @__PURE__ */ jsx("div", { className: "h-1 w-full overflow-hidden bg-gray-200 dark:bg-gray-700 rounded-full", children: /* @__PURE__ */ jsx(
|
|
291
290
|
"div",
|
|
292
291
|
{
|
|
293
|
-
className: "h-full bg-gradient-to-r from-primary to-primary-light transition-all duration-
|
|
292
|
+
className: "h-full bg-gradient-to-r from-primary to-primary-light transition-all duration-300",
|
|
294
293
|
style: { width: `${value}%` }
|
|
295
294
|
}
|
|
296
295
|
) })
|
|
@@ -375,8 +374,8 @@ function TaskDetailPanel({
|
|
|
375
374
|
{
|
|
376
375
|
className: cn(
|
|
377
376
|
"max-w-2xl max-h-[85vh] overflow-y-auto",
|
|
378
|
-
"border border-
|
|
379
|
-
"shadow-
|
|
377
|
+
"border border-white/20 bg-white/[0.03] backdrop-blur-[40px]",
|
|
378
|
+
"shadow-[0_24px_80px_-15px_rgba(0,0,0,0.5)] rounded-2xl"
|
|
380
379
|
),
|
|
381
380
|
children: [
|
|
382
381
|
(title || subtitle) && /* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
@@ -393,7 +392,7 @@ function TaskDetailPanel({
|
|
|
393
392
|
{
|
|
394
393
|
className: cn(
|
|
395
394
|
"max-h-[90vh]",
|
|
396
|
-
"border-t border-
|
|
395
|
+
"border-t border-white/20 bg-white/[0.03] backdrop-blur-[40px]"
|
|
397
396
|
),
|
|
398
397
|
children: [
|
|
399
398
|
(title || subtitle) && /* @__PURE__ */ jsxs(DrawerHeader, { className: "text-left", children: [
|
|
@@ -452,7 +451,7 @@ function BoardSkeleton({ className, columns = 4 }) {
|
|
|
452
451
|
Array.from({ length: 2 + Math.floor(Math.random() * 3) }).map((_2, cardIdx) => /* @__PURE__ */ jsxs(
|
|
453
452
|
"div",
|
|
454
453
|
{
|
|
455
|
-
className: "p-4 rounded-
|
|
454
|
+
className: "p-4 rounded-xl border border-theme-subtle bg-theme-subtle space-y-3",
|
|
456
455
|
children: [
|
|
457
456
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-3/4" }),
|
|
458
457
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-full" }),
|
|
@@ -508,9 +507,9 @@ function ProjectListSkeleton({ className, items = 4 }) {
|
|
|
508
507
|
}
|
|
509
508
|
function SprintSkeleton({ className }) {
|
|
510
509
|
return /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", className), children: [
|
|
511
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between p-4 rounded-
|
|
510
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between p-4 rounded-xl border border-theme-subtle bg-theme-subtle", children: [
|
|
512
511
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
513
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-
|
|
512
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-xl" }),
|
|
514
513
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
515
514
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-28" }),
|
|
516
515
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-40 opacity-60" })
|
|
@@ -518,10 +517,10 @@ function SprintSkeleton({ className }) {
|
|
|
518
517
|
] }),
|
|
519
518
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
520
519
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-16 rounded-full" }),
|
|
521
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-24 rounded-
|
|
520
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-24 rounded-xl" })
|
|
522
521
|
] })
|
|
523
522
|
] }),
|
|
524
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 gap-3", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "p-3 rounded-
|
|
523
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 gap-3", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "p-3 rounded-xl border border-theme-subtle bg-theme-subtle space-y-2", children: [
|
|
525
524
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-2.5 w-16 opacity-60" }),
|
|
526
525
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-10" })
|
|
527
526
|
] }, i)) }),
|
|
@@ -533,7 +532,7 @@ function DashboardSkeleton({ className }) {
|
|
|
533
532
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "glass-panel p-5 space-y-3", children: [
|
|
534
533
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
535
534
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-20 opacity-60" }),
|
|
536
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-
|
|
535
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-xl" })
|
|
537
536
|
] }),
|
|
538
537
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-16" }),
|
|
539
538
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-2 w-full rounded-full" })
|
|
@@ -541,7 +540,7 @@ function DashboardSkeleton({ className }) {
|
|
|
541
540
|
/* @__PURE__ */ jsxs("div", { className: "grid md:grid-cols-3 gap-4", children: [
|
|
542
541
|
/* @__PURE__ */ jsxs("div", { className: "md:col-span-2 glass-panel p-5 space-y-4", children: [
|
|
543
542
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-32" }),
|
|
544
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-48 w-full rounded-
|
|
543
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-48 w-full rounded-xl" })
|
|
545
544
|
] }),
|
|
546
545
|
/* @__PURE__ */ jsxs("div", { className: "glass-panel p-5 space-y-4", children: [
|
|
547
546
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" }),
|
|
@@ -555,7 +554,7 @@ function DashboardSkeleton({ className }) {
|
|
|
555
554
|
] });
|
|
556
555
|
}
|
|
557
556
|
function MemberListSkeleton({ className, rows = 5 }) {
|
|
558
|
-
return /* @__PURE__ */ jsx("div", { className: cn("space-y-1", className), children: Array.from({ length: rows }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 rounded-
|
|
557
|
+
return /* @__PURE__ */ jsx("div", { className: cn("space-y-1", className), children: Array.from({ length: rows }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 rounded-xl", children: [
|
|
559
558
|
/* @__PURE__ */ jsx(Skeleton, { variant: "circular", className: "h-10 w-10 shrink-0" }),
|
|
560
559
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-1.5", children: [
|
|
561
560
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3.5 w-28" }),
|
|
@@ -569,9 +568,9 @@ function ChatSkeleton({ className }) {
|
|
|
569
568
|
/* @__PURE__ */ jsxs("div", { className: "border-r border-theme-subtle p-3 space-y-3", children: [
|
|
570
569
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-1", children: [
|
|
571
570
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-12" }),
|
|
572
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-7 w-7 rounded-
|
|
571
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-7 w-7 rounded-xl" })
|
|
573
572
|
] }),
|
|
574
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-full rounded-
|
|
573
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-full rounded-xl" }),
|
|
575
574
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5 p-2", children: [
|
|
576
575
|
/* @__PURE__ */ jsx(Skeleton, { variant: "rounded", className: "h-7 w-7 shrink-0" }),
|
|
577
576
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-24" })
|
|
@@ -579,7 +578,7 @@ function ChatSkeleton({ className }) {
|
|
|
579
578
|
] }),
|
|
580
579
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col p-4 space-y-4", children: [
|
|
581
580
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 pb-3 border-b border-theme-subtle", children: [
|
|
582
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-
|
|
581
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-xl" }),
|
|
583
582
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" })
|
|
584
583
|
] }),
|
|
585
584
|
/* @__PURE__ */ jsx("div", { className: "flex-1 space-y-4", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "flex gap-3", children: [
|
|
@@ -590,7 +589,7 @@ function ChatSkeleton({ className }) {
|
|
|
590
589
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-2/3" })
|
|
591
590
|
] })
|
|
592
591
|
] }, i)) }),
|
|
593
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full rounded-
|
|
592
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full rounded-xl" })
|
|
594
593
|
] })
|
|
595
594
|
] });
|
|
596
595
|
}
|
|
@@ -600,7 +599,7 @@ function SettingsSkeleton({ className }) {
|
|
|
600
599
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-64 opacity-60" }),
|
|
601
600
|
/* @__PURE__ */ jsx("div", { className: "space-y-4 pt-2", children: Array.from({ length: 3 }).map((_2, fieldIdx) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
602
601
|
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-20" }),
|
|
603
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full rounded-
|
|
602
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full rounded-xl" })
|
|
604
603
|
] }, fieldIdx)) })
|
|
605
604
|
] }, sectionIdx)) });
|
|
606
605
|
}
|
|
@@ -611,7 +610,7 @@ var glassPanelVariants = cva("relative transition-all duration-[400ms] ease-[cub
|
|
|
611
610
|
highlight: "glass-panel-highlight",
|
|
612
611
|
alt: "glass-panel-alt",
|
|
613
612
|
cream: "glass-panel-cream",
|
|
614
|
-
flat: "rounded-
|
|
613
|
+
flat: "rounded-2xl border border-[rgba(167,139,250,0.12)] bg-[rgba(124,58,237,0.06)] shadow-[0_24px_80px_-15px_rgba(13,10,26,0.5)] backdrop-blur-[40px] [backdrop-filter:blur(40px)_saturate(180%)]"
|
|
615
614
|
},
|
|
616
615
|
corners: {
|
|
617
616
|
none: "",
|
|
@@ -664,9 +663,9 @@ function Dock({ items, position = "bottom", className, ...props }) {
|
|
|
664
663
|
"nav",
|
|
665
664
|
{
|
|
666
665
|
className: cn(
|
|
667
|
-
"flex items-center gap-1 rounded-
|
|
668
|
-
"bg-
|
|
669
|
-
"transition-shadow duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]
|
|
666
|
+
"flex items-center gap-1 rounded-2xl border border-white/20",
|
|
667
|
+
"bg-white/[0.03] px-3 py-2 shadow-[0_24px_80px_-15px_rgba(0,0,0,0.5)] backdrop-blur-[40px]",
|
|
668
|
+
"transition-shadow duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]"
|
|
670
669
|
),
|
|
671
670
|
children: items.map((entry, i) => {
|
|
672
671
|
if (isDockSeparator(entry)) {
|
|
@@ -696,12 +695,12 @@ function DockButton({ item }) {
|
|
|
696
695
|
"aria-label": label,
|
|
697
696
|
"aria-current": active ? "page" : void 0,
|
|
698
697
|
className: cn(
|
|
699
|
-
"relative flex h-10 w-10 items-center justify-center rounded-
|
|
698
|
+
"relative flex h-10 w-10 items-center justify-center rounded-xl",
|
|
700
699
|
"text-theme-muted transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]",
|
|
701
700
|
"hover:bg-theme-subtle hover:text-theme",
|
|
702
701
|
active && [
|
|
703
702
|
"bg-primary/15 text-primary-light",
|
|
704
|
-
"shadow-[0_0_12px_rgba(
|
|
703
|
+
"shadow-[0_0_12px_rgba(99,102,241,0.3)]"
|
|
705
704
|
]
|
|
706
705
|
),
|
|
707
706
|
children: [
|
|
@@ -725,14 +724,14 @@ function DockButton({ item }) {
|
|
|
725
724
|
{
|
|
726
725
|
className: cn(
|
|
727
726
|
"pointer-events-none absolute -top-10 left-1/2 -translate-x-1/2",
|
|
728
|
-
"whitespace-nowrap rounded-
|
|
729
|
-
"text-xs font-medium text-
|
|
727
|
+
"whitespace-nowrap rounded-xl bg-white/[0.05] px-2.5 py-1",
|
|
728
|
+
"text-xs font-medium text-white/90 shadow-[0_24px_80px_-15px_rgba(0,0,0,0.5)] backdrop-blur-[40px]",
|
|
730
729
|
"opacity-0 transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]",
|
|
731
730
|
"group-hover:-top-11 group-hover:opacity-100"
|
|
732
731
|
),
|
|
733
732
|
children: [
|
|
734
733
|
label,
|
|
735
|
-
/* @__PURE__ */ jsx("span", { className: "absolute -bottom-1 left-1/2 h-2 w-2 -translate-x-1/2 rotate-45 bg-
|
|
734
|
+
/* @__PURE__ */ jsx("span", { className: "absolute -bottom-1 left-1/2 h-2 w-2 -translate-x-1/2 rotate-45 bg-white/[0.05]" })
|
|
736
735
|
]
|
|
737
736
|
}
|
|
738
737
|
)
|
|
@@ -742,7 +741,7 @@ function isSeparator(entry) {
|
|
|
742
741
|
return "type" in entry && entry.type === "separator";
|
|
743
742
|
}
|
|
744
743
|
var sidebarVariants = cva(
|
|
745
|
-
"fixed left-0 top-0 z-40 flex h-full flex-col border-r border-
|
|
744
|
+
"fixed left-0 top-0 z-40 flex h-full flex-col border-r border-white/10 bg-white/[0.02] backdrop-blur-[40px] motion-safe:transition-all motion-safe:duration-[400ms] ease-in-out",
|
|
746
745
|
{
|
|
747
746
|
variants: {
|
|
748
747
|
state: {
|
|
@@ -777,7 +776,7 @@ function DockSidebar({
|
|
|
777
776
|
onMouseLeave: () => hoverExpand && onExpandedChange?.(false),
|
|
778
777
|
...props,
|
|
779
778
|
children: [
|
|
780
|
-
/* @__PURE__ */ jsxs("div", { className: cn("flex items-center px-3 h-16 border-b border-
|
|
779
|
+
/* @__PURE__ */ jsxs("div", { className: cn("flex items-center px-3 h-16 border-b border-white/10", expanded ? "justify-between" : "justify-center"), children: [
|
|
781
780
|
header,
|
|
782
781
|
/* @__PURE__ */ jsx(
|
|
783
782
|
"button",
|
|
@@ -786,8 +785,8 @@ function DockSidebar({
|
|
|
786
785
|
onClick: handleToggle,
|
|
787
786
|
"aria-label": expanded ? "Collapse sidebar" : "Expand sidebar",
|
|
788
787
|
className: cn(
|
|
789
|
-
"flex h-7 w-7 items-center justify-center rounded-
|
|
790
|
-
"text-org-text-muted transition-all hover:bg-
|
|
788
|
+
"flex h-7 w-7 items-center justify-center rounded-xl",
|
|
789
|
+
"text-org-text-muted transition-all hover:bg-white/[0.05] hover:text-org-text"
|
|
791
790
|
),
|
|
792
791
|
children: /* @__PURE__ */ jsx(
|
|
793
792
|
"svg",
|
|
@@ -815,7 +814,7 @@ function DockSidebar({
|
|
|
815
814
|
},
|
|
816
815
|
isSeparator(entry) ? `sep-${i}` : entry.id
|
|
817
816
|
)) }),
|
|
818
|
-
bottomItems && bottomItems.length > 0 && /* @__PURE__ */ jsx("div", { className: "border-t border-
|
|
817
|
+
bottomItems && bottomItems.length > 0 && /* @__PURE__ */ jsx("div", { className: "border-t border-white/10 py-2 px-2 space-y-0.5", children: bottomItems.map((entry, i) => /* @__PURE__ */ jsx(
|
|
819
818
|
SidebarEntry,
|
|
820
819
|
{
|
|
821
820
|
entry,
|
|
@@ -835,7 +834,7 @@ function SidebarEntry({
|
|
|
835
834
|
}) {
|
|
836
835
|
if (isSeparator(entry)) {
|
|
837
836
|
return /* @__PURE__ */ jsxs("div", { className: "py-2", children: [
|
|
838
|
-
/* @__PURE__ */ jsx("div", { className: "h-px bg-
|
|
837
|
+
/* @__PURE__ */ jsx("div", { className: "h-px bg-white/10" }),
|
|
839
838
|
expanded && entry.label && /* @__PURE__ */ jsx("span", { className: "block px-3 pt-2 text-[10px] font-semibold uppercase tracking-widest text-org-text-muted", children: entry.label })
|
|
840
839
|
] });
|
|
841
840
|
}
|
|
@@ -855,7 +854,7 @@ function SidebarButton({
|
|
|
855
854
|
}) {
|
|
856
855
|
const { icon, label, href, onClick, active, badge, disabled } = item;
|
|
857
856
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
858
|
-
/* @__PURE__ */ jsx("span", { className: "flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-
|
|
857
|
+
/* @__PURE__ */ jsx("span", { className: "flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl transition-all", children: icon }),
|
|
859
858
|
/* @__PURE__ */ jsx(
|
|
860
859
|
"span",
|
|
861
860
|
{
|
|
@@ -872,19 +871,19 @@ function SidebarButton({
|
|
|
872
871
|
className: cn(
|
|
873
872
|
"flex h-5 min-w-5 items-center justify-center rounded-full px-1.5",
|
|
874
873
|
"text-[10px] font-semibold transition-opacity duration-[400ms]",
|
|
875
|
-
typeof badge === "number" && badge > 0 ? "bg-primary/20 text-primary-light" : "bg-
|
|
874
|
+
typeof badge === "number" && badge > 0 ? "bg-primary/20 text-primary-light" : "bg-white/[0.05] text-org-text-muted",
|
|
876
875
|
expanded ? "opacity-100" : "opacity-0"
|
|
877
876
|
),
|
|
878
877
|
children: typeof badge === "number" && badge > 99 ? "99+" : badge
|
|
879
878
|
}
|
|
880
879
|
),
|
|
881
|
-
badge != null && !expanded && typeof badge === "number" && badge > 0 && /* @__PURE__ */ jsx("span", { className: "absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-primary shadow-[0_0_6px_rgba(
|
|
880
|
+
badge != null && !expanded && typeof badge === "number" && badge > 0 && /* @__PURE__ */ jsx("span", { className: "absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-primary shadow-[0_0_6px_rgba(99,102,241,0.5)]" })
|
|
882
881
|
] });
|
|
883
882
|
const sharedClass = cn(
|
|
884
|
-
"group relative flex items-center rounded-
|
|
885
|
-
"text-org-text-muted hover:bg-
|
|
883
|
+
"group relative flex items-center rounded-xl px-1 py-0.5 transition-all duration-[400ms]",
|
|
884
|
+
"text-org-text-muted hover:bg-white/[0.05] hover:text-org-text",
|
|
886
885
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50",
|
|
887
|
-
active && "bg-primary/10 text-primary-light shadow-[0_0_12px_rgba(
|
|
886
|
+
active && "bg-primary/10 text-primary-light shadow-[0_0_12px_rgba(99,102,241,0.15)]",
|
|
888
887
|
disabled && "pointer-events-none opacity-40",
|
|
889
888
|
!expanded && "justify-center"
|
|
890
889
|
);
|
|
@@ -906,8 +905,8 @@ function SidebarButton({
|
|
|
906
905
|
{
|
|
907
906
|
className: cn(
|
|
908
907
|
"pointer-events-none absolute left-full ml-3 whitespace-nowrap",
|
|
909
|
-
"rounded-
|
|
910
|
-
"shadow-
|
|
908
|
+
"rounded-xl bg-white/[0.05] px-2.5 py-1.5 text-xs font-medium text-white/90",
|
|
909
|
+
"shadow-[0_24px_80px_-15px_rgba(0,0,0,0.5)] backdrop-blur-[40px]",
|
|
911
910
|
"opacity-0 transition-all duration-[400ms] -translate-x-1",
|
|
912
911
|
"group-hover:opacity-100 group-hover:translate-x-0"
|
|
913
912
|
),
|
|
@@ -1077,7 +1076,7 @@ function WorkspaceSwitcher({ compact = false, onCreateWorkspace, className }) {
|
|
|
1077
1076
|
{
|
|
1078
1077
|
onClick: () => setIsOpen(!isOpen),
|
|
1079
1078
|
className: cn(
|
|
1080
|
-
"flex items-center gap-2.5 rounded-
|
|
1079
|
+
"flex items-center gap-2.5 rounded-xl transition-colors hover:bg-theme-subtle",
|
|
1081
1080
|
compact ? "justify-center p-1" : "w-full px-2 py-2",
|
|
1082
1081
|
isOpen && "bg-theme-subtle"
|
|
1083
1082
|
),
|
|
@@ -1185,8 +1184,8 @@ function SwitcherDropdown({
|
|
|
1185
1184
|
onEditClick,
|
|
1186
1185
|
onDeleteClick
|
|
1187
1186
|
}) {
|
|
1188
|
-
return /* @__PURE__ */ jsxs("div", { className: "absolute top-full left-0 right-0 mt-1 rounded-
|
|
1189
|
-
/* @__PURE__ */ jsx("div", { className: "px-3 py-2 text-xs font-medium uppercase tracking-wider text-theme-muted border-b border-
|
|
1187
|
+
return /* @__PURE__ */ jsxs("div", { className: "absolute top-full left-0 right-0 mt-1 rounded-xl border border-white/20 bg-white/[0.03] backdrop-blur-[40px] shadow-[0_24px_80px_-15px_rgba(0,0,0,0.5)] z-50 overflow-hidden min-w-52", children: [
|
|
1188
|
+
/* @__PURE__ */ jsx("div", { className: "px-3 py-2 text-xs font-medium uppercase tracking-wider text-theme-muted border-b border-white/10", children: "Workspaces" }),
|
|
1190
1189
|
/* @__PURE__ */ jsx(ScrollArea, { className: "max-h-64", children: /* @__PURE__ */ jsx("div", { className: "py-1", children: loading ? /* @__PURE__ */ jsx("div", { className: "space-y-1 px-3 py-2", children: [1, 2, 3].map((i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5 py-2", children: [
|
|
1191
1190
|
/* @__PURE__ */ jsx(Skeleton, { className: "w-7 h-7", variant: "rounded" }),
|
|
1192
1191
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-1.5", children: [
|
|
@@ -1512,7 +1511,7 @@ function DeleteWorkspaceDialog({
|
|
|
1512
1511
|
)
|
|
1513
1512
|
] }),
|
|
1514
1513
|
children: /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
1515
|
-
/* @__PURE__ */ jsx("div", { className: "p-3 rounded-
|
|
1514
|
+
/* @__PURE__ */ jsx("div", { className: "p-3 rounded-xl bg-rose-500/10 border border-rose-500/20", children: /* @__PURE__ */ jsxs("p", { className: "text-sm text-rose-300", children: [
|
|
1516
1515
|
"Voc\xEA est\xE1 prestes a excluir o workspace ",
|
|
1517
1516
|
/* @__PURE__ */ jsx("strong", { className: "text-rose-200", children: workspace?.name }),
|
|
1518
1517
|
". Todos os projetos, tarefas, membros e dados associados ser\xE3o removidos permanentemente."
|
|
@@ -1564,11 +1563,11 @@ function Logo({ size = "default", variant = "default", animated = false, classNa
|
|
|
1564
1563
|
className: cn(
|
|
1565
1564
|
"relative flex items-center justify-center",
|
|
1566
1565
|
s.container,
|
|
1567
|
-
"rounded-
|
|
1566
|
+
"rounded-xl border-2 border-primary/30",
|
|
1568
1567
|
"bg-gradient-to-br from-primary/10 to-transparent",
|
|
1569
|
-
"shadow-[0_0_20px_rgba(
|
|
1568
|
+
"shadow-[0_0_20px_rgba(99,102,241,0.15)]",
|
|
1570
1569
|
"transition-all duration-500",
|
|
1571
|
-
animated && "hover:border-primary/50 hover:shadow-[0_0_30px_rgba(
|
|
1570
|
+
animated && "hover:border-primary/50 hover:shadow-[0_0_30px_rgba(99,102,241,0.3)]"
|
|
1572
1571
|
),
|
|
1573
1572
|
children: [
|
|
1574
1573
|
/* @__PURE__ */ jsx(
|
|
@@ -1576,8 +1575,8 @@ function Logo({ size = "default", variant = "default", animated = false, classNa
|
|
|
1576
1575
|
{
|
|
1577
1576
|
className: cn(
|
|
1578
1577
|
s.diamond,
|
|
1579
|
-
"rotate-45 rounded-
|
|
1580
|
-
"shadow-[0_0_12px_rgba(
|
|
1578
|
+
"rotate-45 rounded-xl bg-gradient-to-br from-primary to-primary-light",
|
|
1579
|
+
"shadow-[0_0_12px_rgba(99,102,241,0.5)]",
|
|
1581
1580
|
"transition-transform duration-500",
|
|
1582
1581
|
animated && "hover:rotate-[135deg]"
|
|
1583
1582
|
)
|
|
@@ -1612,8 +1611,8 @@ var geometricIconVariants = cva(
|
|
|
1612
1611
|
{
|
|
1613
1612
|
variants: {
|
|
1614
1613
|
variant: {
|
|
1615
|
-
default: "border-2 border-primary/30 bg-primary/10 shadow-[0_0_16px_rgba(
|
|
1616
|
-
filled: "bg-gradient-to-br from-primary to-primary-light shadow-[0_0_20px_rgba(
|
|
1614
|
+
default: "border-2 border-primary/30 bg-primary/10 shadow-[0_0_16px_rgba(99,102,241,0.2)]",
|
|
1615
|
+
filled: "bg-gradient-to-br from-primary to-primary-light shadow-[0_0_20px_rgba(99,102,241,0.4)]",
|
|
1617
1616
|
outline: "border-2 border-theme-subtle-20 bg-transparent",
|
|
1618
1617
|
success: "border-2 border-success/30 bg-success/10 shadow-[0_0_16px_rgba(16,185,129,0.2)]",
|
|
1619
1618
|
warning: "border-2 border-warning/30 bg-warning/10 shadow-[0_0_16px_rgba(245,158,11,0.2)]",
|
|
@@ -1621,10 +1620,10 @@ var geometricIconVariants = cva(
|
|
|
1621
1620
|
cream: "border-2 border-primary/20 bg-cream-card shadow-cream-sm"
|
|
1622
1621
|
},
|
|
1623
1622
|
size: {
|
|
1624
|
-
sm: "h-8 w-8 rounded-
|
|
1625
|
-
default: "h-10 w-10 rounded-
|
|
1626
|
-
lg: "h-14 w-14 rounded-
|
|
1627
|
-
xl: "h-20 w-20 rounded-
|
|
1623
|
+
sm: "h-8 w-8 rounded-xl",
|
|
1624
|
+
default: "h-10 w-10 rounded-xl",
|
|
1625
|
+
lg: "h-14 w-14 rounded-xl",
|
|
1626
|
+
xl: "h-20 w-20 rounded-xl"
|
|
1628
1627
|
}
|
|
1629
1628
|
},
|
|
1630
1629
|
defaultVariants: {
|
|
@@ -1666,7 +1665,7 @@ function GeometricIcon({
|
|
|
1666
1665
|
}
|
|
1667
1666
|
var metricCardVariants = cva(
|
|
1668
1667
|
[
|
|
1669
|
-
"relative overflow-hidden rounded-
|
|
1668
|
+
"relative overflow-hidden rounded-xl border p-6",
|
|
1670
1669
|
"transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]"
|
|
1671
1670
|
],
|
|
1672
1671
|
{
|
|
@@ -1678,7 +1677,7 @@ var metricCardVariants = cva(
|
|
|
1678
1677
|
],
|
|
1679
1678
|
highlight: [
|
|
1680
1679
|
"border-primary/20 bg-gradient-to-br from-primary/5 to-transparent backdrop-blur-2xl",
|
|
1681
|
-
"shadow-glass-lg hover:shadow-
|
|
1680
|
+
"shadow-glass-lg hover:shadow-glass-xl"
|
|
1682
1681
|
],
|
|
1683
1682
|
cream: [
|
|
1684
1683
|
"border-cream-border bg-cream-card",
|
|
@@ -1710,7 +1709,7 @@ function MetricCard({
|
|
|
1710
1709
|
"div",
|
|
1711
1710
|
{
|
|
1712
1711
|
className: cn(
|
|
1713
|
-
"flex h-10 w-10 items-center justify-center rounded-
|
|
1712
|
+
"flex h-10 w-10 items-center justify-center rounded-xl",
|
|
1714
1713
|
variant === "cream" ? "bg-primary/10 text-primary" : "bg-theme-subtle text-theme-muted"
|
|
1715
1714
|
),
|
|
1716
1715
|
children: icon
|
|
@@ -1788,7 +1787,7 @@ function MetricCard({
|
|
|
1788
1787
|
}
|
|
1789
1788
|
)
|
|
1790
1789
|
] }),
|
|
1791
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 rounded-
|
|
1790
|
+
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 rounded-xl shadow-inner-light" })
|
|
1792
1791
|
] });
|
|
1793
1792
|
}
|
|
1794
1793
|
function MetricCardSkeleton({ className }) {
|
|
@@ -1796,11 +1795,11 @@ function MetricCardSkeleton({ className }) {
|
|
|
1796
1795
|
"div",
|
|
1797
1796
|
{
|
|
1798
1797
|
className: cn(
|
|
1799
|
-
"relative overflow-hidden rounded-
|
|
1798
|
+
"relative overflow-hidden rounded-xl border border-theme-subtle bg-theme-card p-5 animate-pulse",
|
|
1800
1799
|
className
|
|
1801
1800
|
),
|
|
1802
1801
|
children: [
|
|
1803
|
-
/* @__PURE__ */ jsx("div", { className: "h-10 w-10 rounded-
|
|
1802
|
+
/* @__PURE__ */ jsx("div", { className: "h-10 w-10 rounded-xl bg-theme-subtle mb-4" }),
|
|
1804
1803
|
/* @__PURE__ */ jsx("div", { className: "h-8 w-20 rounded bg-theme-subtle-10 mb-2" }),
|
|
1805
1804
|
/* @__PURE__ */ jsx("div", { className: "h-3 w-24 rounded bg-theme-subtle mb-1" }),
|
|
1806
1805
|
/* @__PURE__ */ jsx("div", { className: "h-3 w-16 rounded bg-theme-subtle" }),
|
|
@@ -1942,11 +1941,11 @@ function StepCircle({
|
|
|
1942
1941
|
"text-sm font-semibold transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]",
|
|
1943
1942
|
status === "completed" && [
|
|
1944
1943
|
"bg-gradient-to-br from-primary to-primary-light text-cream-base",
|
|
1945
|
-
variant !== "cream" && "shadow-[0_0_12px_rgba(
|
|
1944
|
+
variant !== "cream" && "shadow-[0_0_12px_rgba(99,102,241,0.3)]"
|
|
1946
1945
|
],
|
|
1947
1946
|
status === "active" && [
|
|
1948
1947
|
"border-2 border-primary bg-primary/15 text-primary-light",
|
|
1949
|
-
variant !== "cream" && "shadow-[0_0_20px_rgba(
|
|
1948
|
+
variant !== "cream" && "shadow-[0_0_20px_rgba(99,102,241,0.4)]"
|
|
1950
1949
|
],
|
|
1951
1950
|
status === "pending" && [
|
|
1952
1951
|
variant === "cream" ? "border-2 border-cream-border bg-cream-card text-cream-muted" : "border-2 border-theme-subtle-10 bg-theme-surface text-theme-muted"
|
|
@@ -2004,24 +2003,11 @@ var statusPillVariants = cva(
|
|
|
2004
2003
|
sm: "rounded-pill-asym px-2.5 py-0.5 text-xs",
|
|
2005
2004
|
default: "rounded-pill-asym px-3.5 py-1 text-sm",
|
|
2006
2005
|
lg: "rounded-pill-asym px-5 py-1.5 text-base"
|
|
2007
|
-
},
|
|
2008
|
-
glow: {
|
|
2009
|
-
true: "",
|
|
2010
|
-
false: ""
|
|
2011
2006
|
}
|
|
2012
2007
|
},
|
|
2013
|
-
compoundVariants: [
|
|
2014
|
-
{ variant: "primary", glow: true, class: "shadow-[0_0_12px_rgba(79,57,246,0.3)]" },
|
|
2015
|
-
{ variant: "success", glow: true, class: "shadow-[0_0_12px_rgba(16,185,129,0.3)]" },
|
|
2016
|
-
{ variant: "warning", glow: true, class: "shadow-[0_0_12px_rgba(245,158,11,0.3)]" },
|
|
2017
|
-
{ variant: "error", glow: true, class: "shadow-[0_0_12px_rgba(224,17,95,0.3)]" },
|
|
2018
|
-
{ variant: "info", glow: true, class: "shadow-[0_0_12px_rgba(59,130,246,0.3)]" },
|
|
2019
|
-
{ variant: "in-flow", glow: true, class: "shadow-[0_0_12px_rgba(79,57,246,0.25)]" }
|
|
2020
|
-
],
|
|
2021
2008
|
defaultVariants: {
|
|
2022
2009
|
variant: "default",
|
|
2023
|
-
size: "default"
|
|
2024
|
-
glow: false
|
|
2010
|
+
size: "default"
|
|
2025
2011
|
}
|
|
2026
2012
|
}
|
|
2027
2013
|
);
|
|
@@ -2042,7 +2028,6 @@ var dotColors = {
|
|
|
2042
2028
|
function StatusPill({
|
|
2043
2029
|
variant = "default",
|
|
2044
2030
|
size,
|
|
2045
|
-
glow,
|
|
2046
2031
|
dot = true,
|
|
2047
2032
|
pulse = false,
|
|
2048
2033
|
icon,
|
|
@@ -2053,7 +2038,7 @@ function StatusPill({
|
|
|
2053
2038
|
return /* @__PURE__ */ jsxs(
|
|
2054
2039
|
"span",
|
|
2055
2040
|
{
|
|
2056
|
-
className: cn(statusPillVariants({ variant, size
|
|
2041
|
+
className: cn(statusPillVariants({ variant, size }), className),
|
|
2057
2042
|
...props,
|
|
2058
2043
|
children: [
|
|
2059
2044
|
dot && /* @__PURE__ */ jsxs("span", { className: "relative flex h-2 w-2", children: [
|
|
@@ -4115,11 +4100,12 @@ function SheetContent({
|
|
|
4115
4100
|
{
|
|
4116
4101
|
"data-slot": "sheet-content",
|
|
4117
4102
|
className: cn(
|
|
4118
|
-
"
|
|
4119
|
-
|
|
4120
|
-
side === "
|
|
4121
|
-
side === "
|
|
4122
|
-
side === "
|
|
4103
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-xl dark:shadow-[0_24px_80px_-15px_rgba(0,0,0,0.8)] transition ease-[cubic-bezier(0.25,1,0.5,1)] data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
4104
|
+
"border-gray-300 bg-white text-gray-900 dark:border-gray-700 dark:bg-gray-900 dark:text-white",
|
|
4105
|
+
side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l-2 sm:max-w-sm",
|
|
4106
|
+
side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r-2 sm:max-w-sm",
|
|
4107
|
+
side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b-2",
|
|
4108
|
+
side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t-2",
|
|
4123
4109
|
className
|
|
4124
4110
|
),
|
|
4125
4111
|
...props,
|
|
@@ -4251,7 +4237,7 @@ function CommentItem({
|
|
|
4251
4237
|
{
|
|
4252
4238
|
value: editContent,
|
|
4253
4239
|
onChange: (e) => setEditContent(e.target.value),
|
|
4254
|
-
className: "w-full min-h-[60px] text-[13px] text-theme bg-theme-subtle border border-theme-subtle-10 rounded-
|
|
4240
|
+
className: "w-full min-h-[60px] text-[13px] text-theme bg-theme-subtle border border-theme-subtle-10 rounded-xl px-3 py-2 outline-none focus:border-primary/50 resize-none",
|
|
4255
4241
|
autoFocus: true
|
|
4256
4242
|
}
|
|
4257
4243
|
),
|
|
@@ -4318,7 +4304,7 @@ function CommentItem({
|
|
|
4318
4304
|
children: "\u{1F60A}"
|
|
4319
4305
|
}
|
|
4320
4306
|
),
|
|
4321
|
-
showReactions && /* @__PURE__ */ jsx("div", { className: "absolute bottom-full left-0 mb-1 flex gap-0.5 p-1 rounded-
|
|
4307
|
+
showReactions && /* @__PURE__ */ jsx("div", { className: "absolute bottom-full left-0 mb-1 flex gap-0.5 p-1 rounded-xl bg-theme-surface border border-theme-subtle-10 shadow-lg animate-in zoom-in-95 duration-[400ms] z-10", children: QUICK_REACTIONS.map((emoji) => /* @__PURE__ */ jsx(
|
|
4322
4308
|
"button",
|
|
4323
4309
|
{
|
|
4324
4310
|
onClick: () => {
|
|
@@ -4414,7 +4400,7 @@ function CommentInput({
|
|
|
4414
4400
|
rows: compact ? 2 : 2,
|
|
4415
4401
|
className: cn(
|
|
4416
4402
|
"flex-1 min-h-[48px] text-[13px] resize-none",
|
|
4417
|
-
"bg-theme-subtle border border-theme-subtle rounded-
|
|
4403
|
+
"bg-theme-subtle border border-theme-subtle rounded-xl px-3 py-2",
|
|
4418
4404
|
"text-theme placeholder:text-theme-muted",
|
|
4419
4405
|
"outline-none focus:border-primary/50 transition-colors"
|
|
4420
4406
|
)
|
|
@@ -4856,7 +4842,7 @@ function CommentThread({
|
|
|
4856
4842
|
/* @__PURE__ */ jsx(CommentSkeleton, {})
|
|
4857
4843
|
] }),
|
|
4858
4844
|
!loading && topLevelComments.length === 0 && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center py-6 text-center", children: [
|
|
4859
|
-
/* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-
|
|
4845
|
+
/* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-xl bg-theme-subtle flex items-center justify-center mb-3", children: /* @__PURE__ */ jsx(OrgComment, { className: "w-5 h-5 text-theme-muted" }) }),
|
|
4860
4846
|
/* @__PURE__ */ jsx("p", { className: "text-xs text-theme-muted", children: "Sem coment\xE1rios ainda." }),
|
|
4861
4847
|
/* @__PURE__ */ jsx("p", { className: "text-[11px] text-theme-muted mt-0.5", children: "Seja o primeiro a comentar." })
|
|
4862
4848
|
] }),
|
|
@@ -4929,8 +4915,8 @@ var presetColors = [
|
|
|
4929
4915
|
// cyan
|
|
4930
4916
|
"#3b82f6",
|
|
4931
4917
|
// blue
|
|
4932
|
-
"#
|
|
4933
|
-
//
|
|
4918
|
+
"#7c3aed",
|
|
4919
|
+
// violet (primary)
|
|
4934
4920
|
"#8b5cf6",
|
|
4935
4921
|
// violet
|
|
4936
4922
|
"#a855f7",
|
|
@@ -5253,7 +5239,7 @@ function EditableField({
|
|
|
5253
5239
|
onKeyDown: handleKeyDown,
|
|
5254
5240
|
placeholder,
|
|
5255
5241
|
className: cn(
|
|
5256
|
-
"w-full bg-theme-subtle backdrop-blur-md border border-theme-subtle px-3 py-2 text-sm font-light text-theme transition-all rounded-
|
|
5242
|
+
"w-full bg-theme-subtle backdrop-blur-md border border-theme-subtle px-3 py-2 text-sm font-light text-theme transition-all rounded-xl focus:outline-none focus:shadow-[0_0_0_3px_rgba(99,102,241,0.10),0_0_20px_rgba(99,102,241,0.08)] focus:border-primary-light/50",
|
|
5257
5243
|
inputClassName
|
|
5258
5244
|
)
|
|
5259
5245
|
}
|
|
@@ -5293,7 +5279,7 @@ function EditableDate({ value, onSave, placeholder = "Adicionar data" }) {
|
|
|
5293
5279
|
defaultValue: value ? value.split("T")[0] : "",
|
|
5294
5280
|
onChange: handleChange,
|
|
5295
5281
|
onBlur: () => setEditing(false),
|
|
5296
|
-
className: "w-full bg-theme-subtle backdrop-blur-md border border-theme-subtle px-3 py-2 text-sm font-light text-theme transition-all rounded-
|
|
5282
|
+
className: "w-full bg-theme-subtle backdrop-blur-md border border-theme-subtle px-3 py-2 text-sm font-light text-theme transition-all rounded-xl focus:outline-none focus:shadow-[0_0_0_3px_rgba(99,102,241,0.10),0_0_20px_rgba(99,102,241,0.08)] focus:border-primary-light/50"
|
|
5297
5283
|
}
|
|
5298
5284
|
);
|
|
5299
5285
|
}
|
|
@@ -5917,7 +5903,7 @@ function TaskDetailSheet({
|
|
|
5917
5903
|
"button",
|
|
5918
5904
|
{
|
|
5919
5905
|
onClick: () => onOpenChange(false),
|
|
5920
|
-
className: "p-2 rounded-
|
|
5906
|
+
className: "p-2 rounded-xl hover:bg-theme-highlight text-theme-muted",
|
|
5921
5907
|
children: /* @__PURE__ */ jsx(X, { className: "w-5 h-5" })
|
|
5922
5908
|
}
|
|
5923
5909
|
)
|
|
@@ -6031,9 +6017,9 @@ function TaskCard({
|
|
|
6031
6017
|
className: cn(
|
|
6032
6018
|
// Glass geometric style
|
|
6033
6019
|
"group relative flex flex-col gap-2 p-3 cursor-pointer",
|
|
6034
|
-
"bg-
|
|
6035
|
-
"transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] rounded-
|
|
6036
|
-
"hover:border-primary-light/30
|
|
6020
|
+
"bg-white/[0.05] backdrop-blur-md border border-primary dark:border-white/10",
|
|
6021
|
+
"transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] rounded-xl",
|
|
6022
|
+
"hover:border-primary-light/30",
|
|
6037
6023
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50",
|
|
6038
6024
|
// State modifiers
|
|
6039
6025
|
isDragging && "opacity-50 scale-95",
|
|
@@ -6135,14 +6121,14 @@ function TaskCard({
|
|
|
6135
6121
|
src: assignee.avatarUrl,
|
|
6136
6122
|
size: "sm",
|
|
6137
6123
|
showHoverInfo: true,
|
|
6138
|
-
className: "h-5 w-5 border border-
|
|
6124
|
+
className: "h-5 w-5 border border-white/10"
|
|
6139
6125
|
},
|
|
6140
6126
|
assignee.id
|
|
6141
6127
|
)),
|
|
6142
6128
|
task.assignees.length > 2 && /* @__PURE__ */ jsxs(
|
|
6143
6129
|
"div",
|
|
6144
6130
|
{
|
|
6145
|
-
className: "w-5 h-5 rounded-full bg-
|
|
6131
|
+
className: "w-5 h-5 rounded-full bg-white/[0.05] flex items-center justify-center text-[10px] font-bold text-theme-muted border border-white/10",
|
|
6146
6132
|
title: task.assignees.slice(2).map((a) => a.name).join(", "),
|
|
6147
6133
|
children: [
|
|
6148
6134
|
"+",
|
|
@@ -6157,7 +6143,7 @@ function TaskCard({
|
|
|
6157
6143
|
/* @__PURE__ */ jsx("span", { className: "text-xs text-theme-muted truncate max-w-24", children: task.assignee.name })
|
|
6158
6144
|
] }) : null,
|
|
6159
6145
|
!compact && task.dueDate && /* @__PURE__ */ jsx("div", { className: "mt-1", children: /* @__PURE__ */ jsx(DueDateBadge, { date: task.dueDate }) }),
|
|
6160
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute bottom-0 right-0 h-3 w-3 border-b border-r border-
|
|
6146
|
+
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute bottom-0 right-0 h-3 w-3 border-b border-r border-white/20" })
|
|
6161
6147
|
]
|
|
6162
6148
|
}
|
|
6163
6149
|
),
|
|
@@ -6193,7 +6179,7 @@ function DueDateBadge({ date }) {
|
|
|
6193
6179
|
"inline-flex items-center gap-1 text-[10px] px-1.5 py-0.5 border",
|
|
6194
6180
|
isOverdue && "bg-rose-500/15 text-rose-400 border-rose-500/30",
|
|
6195
6181
|
isSoon && !isOverdue && "bg-amber-500/15 text-amber-400 border-amber-500/30",
|
|
6196
|
-
!isOverdue && !isSoon && "bg-
|
|
6182
|
+
!isOverdue && !isSoon && "bg-white/[0.05] text-theme-muted border-white/10"
|
|
6197
6183
|
),
|
|
6198
6184
|
children: [
|
|
6199
6185
|
/* @__PURE__ */ jsx(OrgCalendar, { className: "w-3 h-3" }),
|
|
@@ -6210,7 +6196,7 @@ function TaskCardSkeleton({ compact, className }) {
|
|
|
6210
6196
|
{
|
|
6211
6197
|
className: cn(
|
|
6212
6198
|
"relative flex flex-col gap-2 animate-pulse",
|
|
6213
|
-
"bg-
|
|
6199
|
+
"bg-white/[0.02] backdrop-blur-md border border-white/10 rounded-xl",
|
|
6214
6200
|
compact ? "p-2" : "p-3",
|
|
6215
6201
|
className
|
|
6216
6202
|
),
|
|
@@ -6230,7 +6216,7 @@ function TaskCardSkeleton({ compact, className }) {
|
|
|
6230
6216
|
/* @__PURE__ */ jsx("div", { className: "h-3 w-16 rounded bg-glass-border/50" })
|
|
6231
6217
|
] })
|
|
6232
6218
|
] }),
|
|
6233
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute bottom-0 right-0 h-3 w-3 border-b border-r border-
|
|
6219
|
+
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute bottom-0 right-0 h-3 w-3 border-b border-r border-white/20" })
|
|
6234
6220
|
]
|
|
6235
6221
|
}
|
|
6236
6222
|
);
|
|
@@ -6292,7 +6278,7 @@ function TaskDetailDialog({
|
|
|
6292
6278
|
/* @__PURE__ */ jsx(Separator, {}),
|
|
6293
6279
|
(hasGroup || assigneesList.length > 0) && /* @__PURE__ */ jsxs("div", { children: [
|
|
6294
6280
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-semibold text-muted-foreground mb-3", children: hasGroup ? "Grupo Atribu\xEDdo" : "Atribu\xEDdo para" }),
|
|
6295
|
-
hasGroup ? /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 bg-blue-500/10 rounded-
|
|
6281
|
+
hasGroup ? /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 p-3 bg-blue-500/10 rounded-xl border border-blue-500/20", children: [
|
|
6296
6282
|
/* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-full bg-blue-500/20 flex items-center justify-center text-sm font-bold text-blue-400", children: task.assigneeGroup.name[0] }),
|
|
6297
6283
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
6298
6284
|
/* @__PURE__ */ jsx("p", { className: "font-medium", children: task.assigneeGroup.name }),
|
|
@@ -6350,7 +6336,7 @@ function TaskDetailDialog({
|
|
|
6350
6336
|
] })
|
|
6351
6337
|
] })
|
|
6352
6338
|
] }),
|
|
6353
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-3 gap-4 text-center py-4 bg-muted/50 rounded-
|
|
6339
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-3 gap-4 text-center py-4 bg-muted/50 rounded-xl", children: [
|
|
6354
6340
|
task.commentCount !== void 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
6355
6341
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold", children: task.commentCount }),
|
|
6356
6342
|
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: "Coment\xE1rios" })
|
|
@@ -6445,8 +6431,8 @@ function TaskCard2({
|
|
|
6445
6431
|
className: cn(
|
|
6446
6432
|
"group relative flex flex-col gap-2 p-3 cursor-pointer",
|
|
6447
6433
|
"bg-theme-subtle backdrop-blur-md border border-theme-subtle",
|
|
6448
|
-
"transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] rounded-
|
|
6449
|
-
"hover:border-primary-light/30
|
|
6434
|
+
"transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] rounded-xl",
|
|
6435
|
+
"hover:border-primary-light/30",
|
|
6450
6436
|
isDragging && "opacity-50 scale-95"
|
|
6451
6437
|
),
|
|
6452
6438
|
children: [
|
|
@@ -6555,9 +6541,9 @@ function Column({
|
|
|
6555
6541
|
onDrop: !externalDnD ? (e) => onDrop?.(e, column.id) : void 0,
|
|
6556
6542
|
className: cn(
|
|
6557
6543
|
"flex flex-col w-72 shrink-0 h-full",
|
|
6558
|
-
"bg-theme-glass backdrop-blur-md border border-theme-subtle rounded-
|
|
6544
|
+
"bg-theme-glass backdrop-blur-md border border-theme-subtle rounded-xl",
|
|
6559
6545
|
"transition-all duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)]",
|
|
6560
|
-
isDropTarget && "border-primary-light/50 bg-primary/5
|
|
6546
|
+
isDropTarget && "border-primary-light/50 bg-primary/5"
|
|
6561
6547
|
),
|
|
6562
6548
|
children: [
|
|
6563
6549
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 px-3 py-3 border-b border-theme-subtle", children: [
|
|
@@ -6619,7 +6605,7 @@ function Column({
|
|
|
6619
6605
|
task.id
|
|
6620
6606
|
);
|
|
6621
6607
|
}),
|
|
6622
|
-
isAddingTask && /* @__PURE__ */ jsxs("div", { className: "p-2 bg-theme-subtle border border-theme-subtle rounded-
|
|
6608
|
+
isAddingTask && /* @__PURE__ */ jsxs("div", { className: "p-2 bg-theme-subtle border border-theme-subtle rounded-xl animate-in slide-in-from-top-2 duration-[400ms]", children: [
|
|
6623
6609
|
/* @__PURE__ */ jsx(
|
|
6624
6610
|
"input",
|
|
6625
6611
|
{
|
|
@@ -6791,7 +6777,7 @@ function KanbanBoard({
|
|
|
6791
6777
|
},
|
|
6792
6778
|
column.id
|
|
6793
6779
|
)),
|
|
6794
|
-
onAddColumn && /* @__PURE__ */ jsx("div", { className: "w-72 shrink-0", children: isAddingColumn ? /* @__PURE__ */ jsxs("div", { className: "p-3 bg-theme-glass backdrop-blur-md border border-theme-subtle rounded-
|
|
6780
|
+
onAddColumn && /* @__PURE__ */ jsx("div", { className: "w-72 shrink-0", children: isAddingColumn ? /* @__PURE__ */ jsxs("div", { className: "p-3 bg-theme-glass backdrop-blur-md border border-theme-subtle rounded-xl animate-in slide-in-from-left-2 duration-[400ms]", children: [
|
|
6795
6781
|
/* @__PURE__ */ jsx(
|
|
6796
6782
|
"input",
|
|
6797
6783
|
{
|
|
@@ -6962,7 +6948,7 @@ function PlanBadgeCompact({
|
|
|
6962
6948
|
"div",
|
|
6963
6949
|
{
|
|
6964
6950
|
className: cn(
|
|
6965
|
-
"flex items-center gap-3 px-3 py-2 rounded-
|
|
6951
|
+
"flex items-center gap-3 px-3 py-2 rounded-xl border",
|
|
6966
6952
|
config.bgColor,
|
|
6967
6953
|
config.borderColor,
|
|
6968
6954
|
className
|
|
@@ -7020,7 +7006,7 @@ function PlanBadgeFull({
|
|
|
7020
7006
|
"div",
|
|
7021
7007
|
{
|
|
7022
7008
|
className: cn(
|
|
7023
|
-
"rounded-
|
|
7009
|
+
"rounded-xl border p-5 space-y-4",
|
|
7024
7010
|
config.bgColor,
|
|
7025
7011
|
config.borderColor,
|
|
7026
7012
|
className
|
|
@@ -7032,7 +7018,7 @@ function PlanBadgeFull({
|
|
|
7032
7018
|
"div",
|
|
7033
7019
|
{
|
|
7034
7020
|
className: cn(
|
|
7035
|
-
"flex items-center justify-center w-9 h-9 rounded-
|
|
7021
|
+
"flex items-center justify-center w-9 h-9 rounded-xl border",
|
|
7036
7022
|
config.bgColor,
|
|
7037
7023
|
config.borderColor
|
|
7038
7024
|
),
|
|
@@ -7109,7 +7095,7 @@ function Card({ className, ...props }) {
|
|
|
7109
7095
|
"div",
|
|
7110
7096
|
{
|
|
7111
7097
|
"data-slot": "card",
|
|
7112
|
-
className: cn("rounded-
|
|
7098
|
+
className: cn("rounded-2xl border border-[rgba(167,139,250,0.12)] bg-[rgba(124,58,237,0.06)] backdrop-blur-2xl text-theme shadow-inner-light", className),
|
|
7113
7099
|
...props
|
|
7114
7100
|
}
|
|
7115
7101
|
);
|
|
@@ -7174,7 +7160,7 @@ function DropdownMenuSubTrigger({
|
|
|
7174
7160
|
{
|
|
7175
7161
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
7176
7162
|
className: cn(
|
|
7177
|
-
"flex cursor-default select-none items-center gap-2 rounded-
|
|
7163
|
+
"flex cursor-default select-none items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-none transition-colors duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] focus:bg-white/[0.05] data-[state=open]:bg-white/[0.05] [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
7178
7164
|
inset && "pl-8",
|
|
7179
7165
|
className
|
|
7180
7166
|
),
|
|
@@ -7195,7 +7181,7 @@ function DropdownMenuSubContent({
|
|
|
7195
7181
|
{
|
|
7196
7182
|
"data-slot": "dropdown-menu-sub-content",
|
|
7197
7183
|
className: cn(
|
|
7198
|
-
"z-50 min-w-[8rem] overflow-hidden rounded-
|
|
7184
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-xl border border-white/20 bg-white/[0.03] backdrop-blur-[40px] p-1 text-theme shadow-[0_24px_80px_-15px_rgba(0,0,0,0.5)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
7199
7185
|
className
|
|
7200
7186
|
),
|
|
7201
7187
|
...props
|
|
@@ -7213,7 +7199,7 @@ function DropdownMenuContent({
|
|
|
7213
7199
|
"data-slot": "dropdown-menu-content",
|
|
7214
7200
|
sideOffset,
|
|
7215
7201
|
className: cn(
|
|
7216
|
-
"z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-
|
|
7202
|
+
"z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-xl border border-white/20 bg-white/[0.03] backdrop-blur-[40px] p-1 text-theme shadow-[0_24px_80px_-15px_rgba(0,0,0,0.5)]",
|
|
7217
7203
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
7218
7204
|
className
|
|
7219
7205
|
),
|
|
@@ -7231,7 +7217,7 @@ function DropdownMenuItem({
|
|
|
7231
7217
|
{
|
|
7232
7218
|
"data-slot": "dropdown-menu-item",
|
|
7233
7219
|
className: cn(
|
|
7234
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-
|
|
7220
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-none transition-colors duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] focus:bg-white/[0.05] focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
7235
7221
|
inset && "pl-8",
|
|
7236
7222
|
className
|
|
7237
7223
|
),
|
|
@@ -7250,7 +7236,7 @@ function DropdownMenuCheckboxItem({
|
|
|
7250
7236
|
{
|
|
7251
7237
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
7252
7238
|
className: cn(
|
|
7253
|
-
"relative flex cursor-default select-none items-center rounded-
|
|
7239
|
+
"relative flex cursor-default select-none items-center rounded-lg py-1.5 pl-8 pr-2 text-sm outline-none transition-colors duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] focus:bg-white/[0.05] focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
7254
7240
|
className
|
|
7255
7241
|
),
|
|
7256
7242
|
checked,
|
|
@@ -7272,7 +7258,7 @@ function DropdownMenuRadioItem({
|
|
|
7272
7258
|
{
|
|
7273
7259
|
"data-slot": "dropdown-menu-radio-item",
|
|
7274
7260
|
className: cn(
|
|
7275
|
-
"relative flex cursor-default select-none items-center rounded-
|
|
7261
|
+
"relative flex cursor-default select-none items-center rounded-lg py-1.5 pl-8 pr-2 text-sm outline-none transition-colors duration-[400ms] ease-[cubic-bezier(0.25,1,0.5,1)] focus:bg-white/[0.05] focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
7276
7262
|
className
|
|
7277
7263
|
),
|
|
7278
7264
|
...props,
|
|
@@ -7341,12 +7327,14 @@ var Switch = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
7341
7327
|
SwitchPrimitive.Root,
|
|
7342
7328
|
{
|
|
7343
7329
|
className: cn(
|
|
7344
|
-
"peer inline-flex h-
|
|
7345
|
-
"border-2
|
|
7346
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
7330
|
+
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full",
|
|
7331
|
+
"border-2 shadow-sm transition-all duration-300",
|
|
7332
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-2",
|
|
7347
7333
|
"focus-visible:ring-offset-background",
|
|
7348
7334
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
7349
|
-
"data-[state=checked]:bg-primary data-[state=
|
|
7335
|
+
"data-[state=checked]:bg-primary data-[state=checked]:border-primary",
|
|
7336
|
+
"data-[state=unchecked]:bg-gray-200 data-[state=unchecked]:border-gray-300",
|
|
7337
|
+
"dark:data-[state=unchecked]:bg-gray-700 dark:data-[state=unchecked]:border-gray-600",
|
|
7350
7338
|
className
|
|
7351
7339
|
),
|
|
7352
7340
|
...props,
|
|
@@ -7355,8 +7343,9 @@ var Switch = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
7355
7343
|
SwitchPrimitive.Thumb,
|
|
7356
7344
|
{
|
|
7357
7345
|
className: cn(
|
|
7358
|
-
"pointer-events-none block h-
|
|
7359
|
-
"transition-transform
|
|
7346
|
+
"pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0",
|
|
7347
|
+
"transition-transform duration-300",
|
|
7348
|
+
"data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
7360
7349
|
)
|
|
7361
7350
|
}
|
|
7362
7351
|
)
|
|
@@ -7375,7 +7364,7 @@ function Command({
|
|
|
7375
7364
|
{
|
|
7376
7365
|
"data-slot": "command",
|
|
7377
7366
|
className: cn(
|
|
7378
|
-
"flex h-full w-full flex-col overflow-hidden rounded-
|
|
7367
|
+
"flex h-full w-full flex-col overflow-hidden rounded-xl bg-white/[0.03] text-popover-foreground",
|
|
7379
7368
|
className
|
|
7380
7369
|
),
|
|
7381
7370
|
...props
|
|
@@ -7389,14 +7378,14 @@ function CommandInput({
|
|
|
7389
7378
|
className,
|
|
7390
7379
|
...props
|
|
7391
7380
|
}) {
|
|
7392
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
7381
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b border-white/10 px-3", "cmdk-input-wrapper": "", children: [
|
|
7393
7382
|
/* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
7394
7383
|
/* @__PURE__ */ jsx(
|
|
7395
7384
|
Command$1.Input,
|
|
7396
7385
|
{
|
|
7397
7386
|
"data-slot": "command-input",
|
|
7398
7387
|
className: cn(
|
|
7399
|
-
"flex h-10 w-full rounded-
|
|
7388
|
+
"flex h-10 w-full rounded-xl bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
7400
7389
|
className
|
|
7401
7390
|
),
|
|
7402
7391
|
...props
|
|
@@ -7458,7 +7447,7 @@ function CommandItem({
|
|
|
7458
7447
|
{
|
|
7459
7448
|
"data-slot": "command-item",
|
|
7460
7449
|
className: cn(
|
|
7461
|
-
"relative flex cursor-default gap-2 select-none items-center rounded-
|
|
7450
|
+
"relative flex cursor-default gap-2 select-none items-center rounded-lg px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-white/[0.05] data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
7462
7451
|
className
|
|
7463
7452
|
),
|
|
7464
7453
|
...props
|
|
@@ -7570,7 +7559,7 @@ function Empty({ className, ...props }) {
|
|
|
7570
7559
|
{
|
|
7571
7560
|
"data-slot": "empty",
|
|
7572
7561
|
className: cn(
|
|
7573
|
-
"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 text-balance rounded-
|
|
7562
|
+
"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 text-balance rounded-xl border-dashed p-6 text-center md:p-12",
|
|
7574
7563
|
className
|
|
7575
7564
|
),
|
|
7576
7565
|
...props
|
|
@@ -7593,7 +7582,7 @@ var emptyMediaVariants = cva(
|
|
|
7593
7582
|
variants: {
|
|
7594
7583
|
variant: {
|
|
7595
7584
|
default: "bg-transparent",
|
|
7596
|
-
icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-
|
|
7585
|
+
icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-xl [&_svg:not([class*='size-'])]:size-6"
|
|
7597
7586
|
}
|
|
7598
7587
|
},
|
|
7599
7588
|
defaultVariants: {
|
|
@@ -7663,15 +7652,15 @@ function Toaster({ ...props }) {
|
|
|
7663
7652
|
richColors: false,
|
|
7664
7653
|
toastOptions: {
|
|
7665
7654
|
classNames: {
|
|
7666
|
-
toast: "group toast group-[.toaster]:bg-
|
|
7667
|
-
description: "group-[.toast]:text-
|
|
7668
|
-
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-white group-[.toast]:px-
|
|
7669
|
-
cancelButton: "group-[.toast]:bg-transparent group-[.toast]:text-
|
|
7670
|
-
closeButton: "group-[.toast]:!bg-transparent group-[.toast]:!border-0 group-[.toast]:text-
|
|
7671
|
-
success: "group-[.toaster]
|
|
7672
|
-
error: "group-[.toaster]
|
|
7673
|
-
warning: "group-[.toaster]
|
|
7674
|
-
info: "group-[.toaster]
|
|
7655
|
+
toast: "group toast group-[.toaster]:bg-white dark:group-[.toaster]:bg-gray-900 group-[.toaster]:backdrop-blur-xl group-[.toaster]:text-gray-900 dark:group-[.toaster]:text-white group-[.toaster]:border group-[.toaster]:border-gray-200 dark:group-[.toaster]:border-gray-700 group-[.toaster]:shadow-2xl group-[.toaster]:p-4 group-[.toaster]:rounded-2xl group-[.toaster]:min-w-[380px]",
|
|
7656
|
+
description: "group-[.toast]:text-gray-500 dark:group-[.toast]:text-gray-400 group-[.toast]:text-sm group-[.toast]:leading-relaxed",
|
|
7657
|
+
actionButton: "group-[.toast]:bg-primary group-[.toast]:border-0 group-[.toast]:text-white group-[.toast]:px-4 group-[.toast]:py-2 group-[.toast]:text-sm group-[.toast]:font-medium hover:group-[.toast]:bg-primary/90 group-[.toast]:transition-all group-[.toast]:rounded-lg",
|
|
7658
|
+
cancelButton: "group-[.toast]:bg-transparent group-[.toast]:text-gray-500 dark:group-[.toast]:text-gray-400 group-[.toast]:px-4 group-[.toast]:py-2 group-[.toast]:text-sm group-[.toast]:font-medium hover:group-[.toast]:bg-gray-100 dark:hover:group-[.toast]:bg-white/10 group-[.toast]:transition-all group-[.toast]:rounded-lg",
|
|
7659
|
+
closeButton: "group-[.toast]:!bg-transparent group-[.toast]:!border-0 group-[.toast]:text-gray-400 dark:group-[.toast]:text-gray-500 hover:group-[.toast]:text-gray-600 dark:hover:group-[.toast]:text-gray-300 group-[.toast]:transition-colors",
|
|
7660
|
+
success: "group-[.toaster]:border-emerald-200 dark:group-[.toaster]:border-emerald-800/50",
|
|
7661
|
+
error: "group-[.toaster]:border-rose-200 dark:group-[.toaster]:border-rose-800/50",
|
|
7662
|
+
warning: "group-[.toaster]:border-amber-200 dark:group-[.toaster]:border-amber-800/50",
|
|
7663
|
+
info: "group-[.toaster]:border-blue-200 dark:group-[.toaster]:border-blue-800/50"
|
|
7675
7664
|
}
|
|
7676
7665
|
},
|
|
7677
7666
|
...props
|
|
@@ -7783,7 +7772,7 @@ function CreateProjectDialog({
|
|
|
7783
7772
|
type: "button",
|
|
7784
7773
|
onClick: () => setType(t.value),
|
|
7785
7774
|
className: cn(
|
|
7786
|
-
"p-3 rounded-
|
|
7775
|
+
"p-3 rounded-xl border text-left transition-all",
|
|
7787
7776
|
type === t.value ? "bg-theme-subtle-10 border-primary ring-1 ring-primary/30" : "bg-theme-card border-theme-subtle hover:border-theme-medium"
|
|
7788
7777
|
),
|
|
7789
7778
|
children: [
|
|
@@ -8031,7 +8020,7 @@ var CREATE_EPIC_MUTATION = `
|
|
|
8031
8020
|
}
|
|
8032
8021
|
`;
|
|
8033
8022
|
var EPIC_COLORS = [
|
|
8034
|
-
"#
|
|
8023
|
+
"#7c3aed",
|
|
8035
8024
|
"#8b5cf6",
|
|
8036
8025
|
"#a855f7",
|
|
8037
8026
|
"#d946ef",
|
|
@@ -8266,7 +8255,7 @@ function CreateTaskDialog({
|
|
|
8266
8255
|
type: "button",
|
|
8267
8256
|
onClick: () => setPriority(p.value),
|
|
8268
8257
|
className: cn(
|
|
8269
|
-
"px-3 py-1.5 rounded-
|
|
8258
|
+
"px-3 py-1.5 rounded-xl text-sm font-medium border transition-all",
|
|
8270
8259
|
p.color,
|
|
8271
8260
|
priority === p.value ? "ring-2 ring-brand-primary ring-offset-1 ring-offset-surface-primary" : "opacity-60 hover:opacity-100"
|
|
8272
8261
|
),
|
|
@@ -8401,7 +8390,7 @@ function InviteMemberDialog({
|
|
|
8401
8390
|
type: "button",
|
|
8402
8391
|
onClick: () => setRole(r.value),
|
|
8403
8392
|
className: cn(
|
|
8404
|
-
"w-full flex items-center gap-3 p-2.5 rounded-
|
|
8393
|
+
"w-full flex items-center gap-3 p-2.5 rounded-xl border text-left transition-all",
|
|
8405
8394
|
role === r.value ? "bg-theme-subtle-10 border-primary ring-1 ring-primary/30" : "bg-theme-card border-theme-subtle hover:border-theme-medium"
|
|
8406
8395
|
),
|
|
8407
8396
|
children: [
|