organify-ui 0.3.2 → 0.3.3
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-GQZMW7XN.js → chunk-Z7OW3K7Y.js} +20 -37
- package/dist/chunk-Z7OW3K7Y.js.map +1 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +69 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunk-GQZMW7XN.js.map +0 -1
|
@@ -175,12 +175,12 @@ var buttonVariants = cva(
|
|
|
175
175
|
{
|
|
176
176
|
variants: {
|
|
177
177
|
variant: {
|
|
178
|
-
default: "bg-primary text-white hover:bg-primary/90",
|
|
179
|
-
destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20",
|
|
180
|
-
outline: "border bg-background border-input text-
|
|
181
|
-
secondary: "bg-secondary text-
|
|
182
|
-
ghost: "text-
|
|
183
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
178
|
+
default: "bg-primary !text-white hover:bg-primary/90",
|
|
179
|
+
destructive: "!bg-destructive !text-white hover:bg-destructive/90 focus-visible:ring-destructive/20",
|
|
180
|
+
outline: "border bg-background border-input !text-white hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:text-white dark:hover:bg-input/50",
|
|
181
|
+
secondary: "bg-secondary !text-white hover:bg-secondary/80 !dark:text-white",
|
|
182
|
+
ghost: "!text-white hover:bg-accent hover:text-accent-foreground !dark:text-white dark:hover:bg-accent/50",
|
|
183
|
+
link: "!text-primary underline-offset-4 hover:underline"
|
|
184
184
|
},
|
|
185
185
|
size: {
|
|
186
186
|
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
@@ -1687,9 +1687,8 @@ function DialogContent({
|
|
|
1687
1687
|
{
|
|
1688
1688
|
"data-slot": "dialog-content",
|
|
1689
1689
|
className: cn(
|
|
1690
|
-
"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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-2xl border
|
|
1691
|
-
"bg-
|
|
1692
|
-
"dark:shadow-[0_24px_80px_-15px_rgba(0,0,0,0.8)]",
|
|
1690
|
+
"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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-2xl border p-6 shadow-2xl duration-[400ms] sm:max-w-lg",
|
|
1691
|
+
"[background:var(--org-bg-elevated)] [color:var(--org-text)] [border-color:var(--org-glass-border)]",
|
|
1693
1692
|
className
|
|
1694
1693
|
),
|
|
1695
1694
|
...props,
|
|
@@ -1805,7 +1804,7 @@ function DrawerContent({
|
|
|
1805
1804
|
},
|
|
1806
1805
|
className: cn(
|
|
1807
1806
|
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border-2",
|
|
1808
|
-
"
|
|
1807
|
+
"[background:var(--org-bg-elevated)] [color:var(--org-text)] [border-color:var(--org-glass-border)]",
|
|
1809
1808
|
className
|
|
1810
1809
|
),
|
|
1811
1810
|
children: [
|
|
@@ -1891,13 +1890,7 @@ function ResponsiveDialog({
|
|
|
1891
1890
|
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(
|
|
1892
1891
|
DialogContent,
|
|
1893
1892
|
{
|
|
1894
|
-
className: cn(
|
|
1895
|
-
"max-w-2xl max-h-[85vh] overflow-y-auto",
|
|
1896
|
-
"border-2 bg-white text-gray-900 border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-white",
|
|
1897
|
-
"dark:shadow-[0_24px_80px_-15px_rgba(0,0,0,0.8)]",
|
|
1898
|
-
"shadow-xl",
|
|
1899
|
-
contentClassName
|
|
1900
|
-
),
|
|
1893
|
+
className: cn("max-w-2xl max-h-[85vh] overflow-y-auto", contentClassName),
|
|
1901
1894
|
children: [
|
|
1902
1895
|
(title || description) && /* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
1903
1896
|
title && /* @__PURE__ */ jsx(DialogTitle, { className: "text-lg", children: title }),
|
|
@@ -1909,24 +1902,14 @@ function ResponsiveDialog({
|
|
|
1909
1902
|
}
|
|
1910
1903
|
) });
|
|
1911
1904
|
}
|
|
1912
|
-
return /* @__PURE__ */ jsx(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs(
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
className:
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
children: [
|
|
1921
|
-
(title || description) && /* @__PURE__ */ jsxs(DrawerHeader, { className: "text-left", children: [
|
|
1922
|
-
title && /* @__PURE__ */ jsx(DrawerTitle, { className: "text-lg", children: title }),
|
|
1923
|
-
description && /* @__PURE__ */ jsx(DrawerDescription, { className: "text-muted-foreground text-sm", children: description })
|
|
1924
|
-
] }),
|
|
1925
|
-
/* @__PURE__ */ jsx("div", { className: cn("overflow-y-auto px-4 pb-4", className), children }),
|
|
1926
|
-
footer && /* @__PURE__ */ jsx(DrawerFooter, { children: footer })
|
|
1927
|
-
]
|
|
1928
|
-
}
|
|
1929
|
-
) });
|
|
1905
|
+
return /* @__PURE__ */ jsx(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DrawerContent, { className: cn("max-h-[90vh]", contentClassName), children: [
|
|
1906
|
+
(title || description) && /* @__PURE__ */ jsxs(DrawerHeader, { className: "text-left", children: [
|
|
1907
|
+
title && /* @__PURE__ */ jsx(DrawerTitle, { className: "text-lg", children: title }),
|
|
1908
|
+
description && /* @__PURE__ */ jsx(DrawerDescription, { className: "text-muted-foreground text-sm", children: description })
|
|
1909
|
+
] }),
|
|
1910
|
+
/* @__PURE__ */ jsx("div", { className: cn("overflow-y-auto px-4 pb-4", className), children }),
|
|
1911
|
+
footer && /* @__PURE__ */ jsx(DrawerFooter, { children: footer })
|
|
1912
|
+
] }) });
|
|
1930
1913
|
}
|
|
1931
1914
|
ResponsiveDialog.displayName = "ResponsiveDialog";
|
|
1932
1915
|
var Tabs = TabsPrimitive.Root;
|
|
@@ -4138,5 +4121,5 @@ function OrganifyChat({
|
|
|
4138
4121
|
}
|
|
4139
4122
|
|
|
4140
4123
|
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, MentionPopover, MessageBubble, MessageInput, 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 };
|
|
4141
|
-
//# sourceMappingURL=chunk-
|
|
4142
|
-
//# sourceMappingURL=chunk-
|
|
4124
|
+
//# sourceMappingURL=chunk-Z7OW3K7Y.js.map
|
|
4125
|
+
//# sourceMappingURL=chunk-Z7OW3K7Y.js.map
|