@sciol/xyzen 0.3.14 → 0.3.16

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.
@@ -0,0 +1,20 @@
1
+ import { SheetCloseProps as SheetClosePrimitiveProps, SheetContentProps as SheetContentPrimitiveProps, SheetDescriptionProps as SheetDescriptionPrimitiveProps, SheetFooterProps as SheetFooterPrimitiveProps, SheetHeaderProps as SheetHeaderPrimitiveProps, SheetProps as SheetPrimitiveProps, SheetTitleProps as SheetTitlePrimitiveProps, SheetTriggerProps as SheetTriggerPrimitiveProps } from '../../primitives/radix/sheet';
2
+ type SheetProps = SheetPrimitiveProps;
3
+ declare function Sheet(props: SheetProps): import("react/jsx-runtime").JSX.Element;
4
+ type SheetTriggerProps = SheetTriggerPrimitiveProps;
5
+ declare function SheetTrigger(props: SheetTriggerProps): import("react/jsx-runtime").JSX.Element;
6
+ type SheetCloseProps = SheetClosePrimitiveProps;
7
+ declare function SheetClose(props: SheetCloseProps): import("react/jsx-runtime").JSX.Element;
8
+ type SheetContentProps = SheetContentPrimitiveProps & {
9
+ showCloseButton?: boolean;
10
+ };
11
+ declare function SheetContent({ className, children, side, showCloseButton, ...props }: SheetContentProps): import("react/jsx-runtime").JSX.Element;
12
+ type SheetHeaderProps = SheetHeaderPrimitiveProps;
13
+ declare function SheetHeader({ className, ...props }: SheetHeaderProps): import("react/jsx-runtime").JSX.Element;
14
+ type SheetFooterProps = SheetFooterPrimitiveProps;
15
+ declare function SheetFooter({ className, ...props }: SheetFooterProps): import("react/jsx-runtime").JSX.Element;
16
+ type SheetTitleProps = SheetTitlePrimitiveProps;
17
+ declare function SheetTitle({ className, ...props }: SheetTitleProps): import("react/jsx-runtime").JSX.Element;
18
+ type SheetDescriptionProps = SheetDescriptionPrimitiveProps;
19
+ declare function SheetDescription({ className, ...props }: SheetDescriptionProps): import("react/jsx-runtime").JSX.Element;
20
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, type SheetCloseProps, type SheetContentProps, type SheetDescriptionProps, type SheetFooterProps, type SheetHeaderProps, type SheetProps, type SheetTitleProps, type SheetTriggerProps, };
@@ -0,0 +1,32 @@
1
+ import { Dialog as SheetPrimitive } from 'radix-ui';
2
+ import { HTMLMotionProps } from 'motion/react';
3
+ import * as React from "react";
4
+ type SheetContextType = {
5
+ isOpen: boolean;
6
+ setIsOpen: (isOpen: boolean) => void;
7
+ };
8
+ declare const useSheet: () => SheetContextType;
9
+ type SheetProps = React.ComponentProps<typeof SheetPrimitive.Root>;
10
+ declare function Sheet(props: SheetProps): import("react/jsx-runtime").JSX.Element;
11
+ type SheetTriggerProps = React.ComponentProps<typeof SheetPrimitive.Trigger>;
12
+ declare function SheetTrigger(props: SheetTriggerProps): import("react/jsx-runtime").JSX.Element;
13
+ type SheetCloseProps = React.ComponentProps<typeof SheetPrimitive.Close>;
14
+ declare function SheetClose(props: SheetCloseProps): import("react/jsx-runtime").JSX.Element;
15
+ type SheetPortalProps = React.ComponentProps<typeof SheetPrimitive.Portal>;
16
+ declare function SheetPortal(props: SheetPortalProps): import("react/jsx-runtime").JSX.Element;
17
+ type SheetOverlayProps = Omit<React.ComponentProps<typeof SheetPrimitive.Overlay>, "asChild" | "forceMount"> & HTMLMotionProps<"div">;
18
+ declare function SheetOverlay({ transition, ...props }: SheetOverlayProps): import("react/jsx-runtime").JSX.Element;
19
+ type Side = "top" | "bottom" | "left" | "right";
20
+ type SheetContentProps = React.ComponentProps<typeof SheetPrimitive.Content> & HTMLMotionProps<"div"> & {
21
+ side?: Side;
22
+ };
23
+ declare function SheetContent({ side, transition, style, ...props }: SheetContentProps): import("react/jsx-runtime").JSX.Element;
24
+ type SheetHeaderProps = React.ComponentProps<"div">;
25
+ declare function SheetHeader(props: SheetHeaderProps): import("react/jsx-runtime").JSX.Element;
26
+ type SheetFooterProps = React.ComponentProps<"div">;
27
+ declare function SheetFooter(props: SheetFooterProps): import("react/jsx-runtime").JSX.Element;
28
+ type SheetTitleProps = React.ComponentProps<typeof SheetPrimitive.Title>;
29
+ declare function SheetTitle(props: SheetTitleProps): import("react/jsx-runtime").JSX.Element;
30
+ type SheetDescriptionProps = React.ComponentProps<typeof SheetPrimitive.Description>;
31
+ declare function SheetDescription(props: SheetDescriptionProps): import("react/jsx-runtime").JSX.Element;
32
+ export { useSheet, Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, type SheetProps, type SheetPortalProps, type SheetOverlayProps, type SheetTriggerProps, type SheetCloseProps, type SheetContentProps, type SheetHeaderProps, type SheetFooterProps, type SheetTitleProps, type SheetDescriptionProps, };
@@ -4,5 +4,6 @@ interface SessionHistoryProps {
4
4
  onClose: () => void;
5
5
  onSelectTopic?: (topicId: string) => void;
6
6
  }
7
- export default function SessionHistory({ context, isOpen, onClose, onSelectTopic, }: SessionHistoryProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
7
+ declare function SessionHistory({ context, isOpen, onClose, onSelectTopic, }: SessionHistoryProps): import("react/jsx-runtime").JSX.Element;
8
+ declare const _default: import('react').MemoExoticComponent<typeof SessionHistory>;
9
+ export default _default;
@@ -37,6 +37,7 @@ export interface ChatChannel {
37
37
  }
38
38
  export interface ChatHistoryItem {
39
39
  id: string;
40
+ sessionId: string;
40
41
  title: string;
41
42
  updatedAt: string;
42
43
  assistantTitle: string;