organify-ui 0.3.45 → 0.3.46

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.
@@ -1921,7 +1921,7 @@ function DialogContent({
1921
1921
  {
1922
1922
  "data-slot": "dialog-content",
1923
1923
  className: cn(
1924
- "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 border-gray-200 dark:!border-gray-800 !bg-white dark:!bg-[#0D0A1A] !text-gray-900 dark:!text-gray-100 p-6 shadow-2xl dark:shadow-[0_0_40px_rgba(124,58,237,0.15)] duration-[400ms] sm:max-w-lg",
1924
+ "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 border-theme-subtle bg-theme-surface text-theme p-6 shadow-2xl dark:shadow-[0_0_40px_rgba(124,58,237,0.15)] duration-[400ms] sm:max-w-lg",
1925
1925
  className
1926
1926
  ),
1927
1927
  ...props,
@@ -2016,25 +2016,26 @@ function ResponsiveDialog({
2016
2016
  return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(
2017
2017
  DialogContent,
2018
2018
  {
2019
- className: cn("max-w-2xl max-h-[85vh] overflow-y-auto", contentClassName),
2019
+ style: { display: "flex", flexDirection: "column", overflow: "hidden" },
2020
+ className: cn("max-w-2xl max-h-[85vh] p-0", contentClassName),
2020
2021
  children: [
2021
- (title || description) && /* @__PURE__ */ jsxs(DialogHeader, { children: [
2022
+ (title || description) && /* @__PURE__ */ jsxs(DialogHeader, { className: "px-6 pt-6 pb-0 shrink-0", children: [
2022
2023
  title && /* @__PURE__ */ jsx(DialogTitle, { className: "text-lg", children: title }),
2023
2024
  description && /* @__PURE__ */ jsx(DialogDescription, { className: "text-theme-muted text-sm", children: description })
2024
2025
  ] }),
2025
- /* @__PURE__ */ jsx("div", { className: cn("text-theme", className), children }),
2026
- footer && /* @__PURE__ */ jsx(DialogFooter, { children: footer })
2026
+ /* @__PURE__ */ jsx("div", { className: cn("flex-1 overflow-y-auto px-6 py-4 text-theme min-h-0", className), children }),
2027
+ footer && /* @__PURE__ */ jsx(DialogFooter, { className: "px-6 pb-5 pt-3 shrink-0 border-t border-theme-subtle/50", children: footer })
2027
2028
  ]
2028
2029
  }
2029
2030
  ) });
2030
2031
  }
2031
- return /* @__PURE__ */ jsx(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DrawerContent, { className: cn("max-h-[90vh]", contentClassName), children: [
2032
- (title || description) && /* @__PURE__ */ jsxs(DrawerHeader, { className: "text-left", children: [
2032
+ return /* @__PURE__ */ jsx(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DrawerContent, { className: cn("flex flex-col max-h-[92vh]", contentClassName), children: [
2033
+ (title || description) && /* @__PURE__ */ jsxs(DrawerHeader, { className: "text-left shrink-0", children: [
2033
2034
  title && /* @__PURE__ */ jsx(DrawerTitle, { className: "text-lg", children: title }),
2034
2035
  description && /* @__PURE__ */ jsx(DrawerDescription, { className: "text-theme-muted text-sm", children: description })
2035
2036
  ] }),
2036
- /* @__PURE__ */ jsx("div", { className: cn("overflow-y-auto px-4 pb-4 text-theme", className), children }),
2037
- footer && /* @__PURE__ */ jsx(DrawerFooter, { children: footer })
2037
+ /* @__PURE__ */ jsx("div", { className: cn("flex-1 overflow-y-auto px-4 pb-4 text-theme min-h-0", className), children }),
2038
+ footer && /* @__PURE__ */ jsx(DrawerFooter, { className: "shrink-0 border-t border-theme-subtle/50 pb-6", children: footer })
2038
2039
  ] }) });
2039
2040
  }
2040
2041
  ResponsiveDialog.displayName = "ResponsiveDialog";
@@ -4843,5 +4844,5 @@ function useAiInline({ gatewayUrl, workspaceId, projectId }) {
4843
4844
  }
4844
4845
 
4845
4846
  export { AiChatSidebar, Alert, Button, ChatMessages, ChatSidebar, CommandBar, CreateRoomDialog, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, InlineAiButton, 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, UserAvatar, UserDisplayName, alertVariants, buttonVariants, generateAutoReplies, getMockMentionOptions, getRoomPermissions, inputVariants, invalidateUserCache, orgLoaderVariants, resolveUser, seedUserCache, typingIndicator, useAiInline, useChat, useResolvedUser };
4846
- //# sourceMappingURL=chunk-YZNM4JPJ.js.map
4847
- //# sourceMappingURL=chunk-YZNM4JPJ.js.map
4847
+ //# sourceMappingURL=chunk-PINTA6JY.js.map
4848
+ //# sourceMappingURL=chunk-PINTA6JY.js.map