@stokelp/ui 2.73.0 → 2.74.0

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,18 @@
1
+ import { FC, ReactElement, ForwardRefExoticComponent, ClassAttributes, HTMLAttributes } from 'react';
2
+ import { chat, ChatRecipe, ChatMessageVariantProps } from '@stokelp/styled-system/recipes';
3
+ import { ChatMessageProps } from './ChatMessage.tsx';
4
+ import { HTMLStyledProps, RecipeVariantProps, StyledComponent } from '@stokelp/styled-system/types';
5
+ import { ComponentVariants } from '../../utils/slots.tsx';
6
+ import { PolymorphicProps } from '@ark-ui/react';
7
+
8
+ export declare const MessageContainer: ComponentVariants<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatRecipe>;
9
+ export declare const Message: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatMessageVariantProps>, ChatRecipe>;
10
+ export type RootProps = {
11
+ messages?: {
12
+ side?: 'left' | 'right' | 'center';
13
+ children: ReactElement;
14
+ }[];
15
+ } & HTMLStyledProps<'div'> & RecipeVariantProps<typeof chat>;
16
+ export interface MessageProps extends ChatMessageProps {
17
+ }
18
+ export declare const Root: FC<RootProps>;
@@ -0,0 +1,8 @@
1
+ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, HTMLAttributes } from 'react';
2
+ import { StyledComponent } from '@stokelp/styled-system/types';
3
+ import { PolymorphicProps } from '@ark-ui/react';
4
+ import { ChatMessageVariantProps } from '@stokelp/styled-system/recipes';
5
+
6
+ export declare const ChatMessage: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatMessageVariantProps>;
7
+ export interface ChatMessageProps extends ComponentProps<typeof ChatMessage> {
8
+ }
@@ -0,0 +1,2 @@
1
+ export * as Chat from './Chat';
2
+ export * from './ChatMessage';
@@ -38,4 +38,5 @@ export * from './dialog';
38
38
  export * from './avatar';
39
39
  export * from './menu';
40
40
  export * from './flag';
41
+ export * from './chat';
41
42
  export * from './app';